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
);
345 SWIGSTATIC(PyObject
*)
346 SWIG_PyObj_FromBool(bool value
)
348 PyObject
*obj
= value
? Py_True
: Py_False
;
355 SWIG_PyObj_AsBool(PyObject
*obj
)
357 return PyObject_IsTrue(obj
) ? true : false;
361 SWIGSTATIC(unsigned char)
362 SWIG_PyObj_AsUnsignedChar(PyObject
*obj
)
364 return numeric_cast(unsigned char,
365 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned char", UCHAR_MAX
));
368 PyObject
*wxColour_Get(wxColour
*self
){
369 PyObject
* rv
= PyTuple_New(3);
375 green
= self
->Green();
378 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
379 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
380 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
385 SWIG_PyObj_AsInt(PyObject
*obj
)
387 return numeric_cast(int,
388 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
392 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
398 } else if (target
== Py_None
) {
402 if (!PyTuple_Check(target
)) {
404 target
= PyTuple_New(1);
405 PyTuple_SetItem(target
, 0, o2
);
408 PyTuple_SetItem(o3
, 0, o
);
411 target
= PySequence_Concat(o2
, o3
);
418 PyObject
*wxPen_GetDashes(wxPen
*self
){
420 int count
= self
->GetDashes(&dashes
);
421 wxPyBeginBlockThreads();
422 PyObject
* retval
= PyList_New(0);
423 for (int x
=0; x
<count
; x
++)
424 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
425 wxPyEndBlockThreads();
435 void wxPyPen::SetDashes(int nb_dashes
, const wxDash
*dash
)
439 m_dash
= new wxDash
[nb_dashes
];
440 for (int i
=0; i
<nb_dashes
; i
++) {
443 wxPen::SetDashes(nb_dashes
, m_dash
);
447 #include <wx/image.h>
449 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
450 char** cArray
= NULL
;
453 if (!PyList_Check(listOfStrings
)) {
454 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
457 count
= PyList_Size(listOfStrings
);
458 cArray
= new char*[count
];
460 for(int x
=0; x
<count
; x
++) {
461 // TODO: Need some validation and error checking here
462 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
468 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
469 char** cArray
= NULL
;
472 cArray
= ConvertListOfStrings(listOfStrings
);
475 bmp
= new wxBitmap(cArray
);
479 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
482 PyString_AsStringAndSize(bits
, &buf
, &length
);
483 return new wxBitmap(buf
, width
, height
, depth
);
485 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
486 wxMask
*mask
= new wxMask(*self
, colour
);
490 #include <wx/iconbndl.h>
492 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
493 wxIcon
* icon
= new wxIcon();
494 icon
->CopyFromBitmap(bmp
);
497 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
498 char** cArray
= NULL
;
501 cArray
= ConvertListOfStrings(listOfStrings
);
504 icon
= new wxIcon(cArray
);
508 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
512 return new wxIconLocation(*filename
);
515 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
522 int wxIconLocation_GetIndex(wxIconLocation
*self
){
531 SWIG_PyObj_AsLong(PyObject
* obj
)
533 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
536 wxCursor
*new_wxCursor(wxString
const *cursorName
,long flags
,int hotSpotX
,int hotSpotY
){
538 wxCHECK_MSG(False
, NULL
,
539 wxT("wxCursor constructor not implemented for wxGTK, use wxStockCursor, wxCursorFromImage, or wxCursorFromBits instead."));
544 wxCursor
*new_wxCursor(PyObject
*bits
,int width
,int height
,int hotSpotX
,int hotSpotY
,PyObject
*maskBits
){
546 char* maskbuf
= NULL
;
548 PyString_AsStringAndSize(bits
, &bitsbuf
, &length
);
550 PyString_AsStringAndSize(maskBits
, &maskbuf
, &length
);
551 return new wxCursor(bitsbuf
, width
, height
, hotSpotX
, hotSpotY
, maskbuf
);
555 void wxRegionIterator_Next(wxRegionIterator
*self
){
558 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
559 return self
->operator bool();
562 #include <wx/fontutil.h>
563 #include <wx/fontmap.h>
564 #include <wx/fontenum.h>
566 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
567 return self
->ToString();
570 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
571 static wxNativeEncodingInfo info
;
572 if ( wxGetNativeFontEncoding(encoding
, &info
) )
579 SWIGSTATIC(PyObject
* )
580 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
582 return (value
> (unsigned long)(LONG_MAX
)) ?
583 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
586 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
587 wxFontEncoding alt_enc
;
588 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
589 return PyInt_FromLong(alt_enc
);
595 wxFont
*new_wxFont(wxString
const &info
){
596 wxNativeFontInfo nfi
;
597 nfi
.FromString(info
);
598 return new wxFont(nfi
);
600 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
601 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
604 class wxPyFontEnumerator
: public wxFontEnumerator
{
606 wxPyFontEnumerator() {}
607 ~wxPyFontEnumerator() {}
609 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
610 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
615 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
616 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
619 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
620 wxArrayString
* arr
= self
->GetEncodings();
621 return wxArrayString2PyList_helper(*arr
);
623 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
624 wxArrayString
* arr
= self
->GetFacenames();
625 return wxArrayString2PyList_helper(*arr
);
630 #include "wx/wxPython/pydrawxxx.h"
632 wxColour
wxDC_GetPixelXY(wxDC
*self
,int x
,int y
){
634 self
->GetPixel(x
, y
, &col
);
637 wxColour
wxDC_GetPixel(wxDC
*self
,wxPoint
const &pt
){
639 self
->GetPixel(pt
, &col
);
644 SWIG_PyObj_AsDouble(PyObject
*obj
)
646 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
648 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
650 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
652 if (PyErr_Occurred()) {
654 PyErr_SetString(PyExc_TypeError
, "a double is expected");
658 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
660 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
663 wxRect
wxDC_GetClippingRect(wxDC
*self
){
665 self
->GetClippingBox(rect
);
668 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
669 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
671 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
672 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
674 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
675 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
677 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
678 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
680 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
681 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
683 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
684 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
687 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
698 class wxMetaFile
: public wxObject
{
700 wxMetaFile(const wxString
&)
701 { wxPyRaiseNotImplemented(); }
704 class wxMetaFileDC
: public wxClientDC
{
706 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
707 { wxPyRaiseNotImplemented(); }
712 class wxPrinterDC
: public wxClientDC
{
714 wxPrinterDC(const wxPrintData
&)
715 { wxPyRaiseNotImplemented(); }
717 // wxPrinterDC(const wxString&, const wxString&, const wxString&, bool, int)
718 // { wxPyRaiseNotImplemented(); }
723 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
724 self
->AddColour(name
, wxColour(red
, green
, blue
));
727 #include <wx/effects.h>
732 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
742 result
= (wxGDIObject
*)new wxGDIObject();
744 wxPyEndAllowThreads(__tstate
);
745 if (PyErr_Occurred()) SWIG_fail
;
747 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGDIObject
, 1);
754 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
756 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
757 PyObject
* obj0
= 0 ;
759 (char *) "self", NULL
762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
768 wxPyEndAllowThreads(__tstate
);
769 if (PyErr_Occurred()) SWIG_fail
;
771 Py_INCREF(Py_None
); resultobj
= Py_None
;
778 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
780 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
782 PyObject
* obj0
= 0 ;
784 (char *) "self", NULL
787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
791 result
= (bool)(arg1
)->GetVisible();
793 wxPyEndAllowThreads(__tstate
);
794 if (PyErr_Occurred()) SWIG_fail
;
796 resultobj
= SWIG_PyObj_FromBool((bool)result
);
803 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
805 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
807 PyObject
* obj0
= 0 ;
808 PyObject
* obj1
= 0 ;
810 (char *) "self",(char *) "visible", NULL
813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
816 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
817 if (PyErr_Occurred()) SWIG_fail
;
820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
821 (arg1
)->SetVisible(arg2
);
823 wxPyEndAllowThreads(__tstate
);
824 if (PyErr_Occurred()) SWIG_fail
;
826 Py_INCREF(Py_None
); resultobj
= Py_None
;
833 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
835 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
837 PyObject
* obj0
= 0 ;
839 (char *) "self", NULL
842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
846 result
= (bool)(arg1
)->IsNull();
848 wxPyEndAllowThreads(__tstate
);
849 if (PyErr_Occurred()) SWIG_fail
;
851 resultobj
= SWIG_PyObj_FromBool((bool)result
);
858 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
861 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
863 return Py_BuildValue((char *)"");
865 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
867 unsigned char arg1
= (unsigned char) 0 ;
868 unsigned char arg2
= (unsigned char) 0 ;
869 unsigned char arg3
= (unsigned char) 0 ;
871 PyObject
* obj0
= 0 ;
872 PyObject
* obj1
= 0 ;
873 PyObject
* obj2
= 0 ;
875 (char *) "red",(char *) "green",(char *) "blue", NULL
878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
881 arg1
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj0
);
882 if (PyErr_Occurred()) SWIG_fail
;
887 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
888 if (PyErr_Occurred()) SWIG_fail
;
893 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
894 if (PyErr_Occurred()) SWIG_fail
;
898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
899 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
901 wxPyEndAllowThreads(__tstate
);
902 if (PyErr_Occurred()) SWIG_fail
;
904 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
911 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
913 wxColour
*arg1
= (wxColour
*) 0 ;
914 PyObject
* obj0
= 0 ;
916 (char *) "self", NULL
919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
925 wxPyEndAllowThreads(__tstate
);
926 if (PyErr_Occurred()) SWIG_fail
;
928 Py_INCREF(Py_None
); resultobj
= Py_None
;
935 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
940 PyObject
* obj0
= 0 ;
942 (char *) "colorName", NULL
945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
947 arg1
= wxString_in_helper(obj0
);
948 if (arg1
== NULL
) SWIG_fail
;
952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
953 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
955 wxPyEndAllowThreads(__tstate
);
956 if (PyErr_Occurred()) SWIG_fail
;
958 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
973 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
977 PyObject
* obj0
= 0 ;
979 (char *) "colRGB", NULL
982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
984 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
985 if (PyErr_Occurred()) SWIG_fail
;
988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
989 result
= (wxColour
*)new wxColour(arg1
);
991 wxPyEndAllowThreads(__tstate
);
992 if (PyErr_Occurred()) SWIG_fail
;
994 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
1001 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1002 PyObject
*resultobj
;
1003 wxColour
*arg1
= (wxColour
*) 0 ;
1004 unsigned char result
;
1005 PyObject
* obj0
= 0 ;
1007 (char *) "self", NULL
1010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1014 result
= (unsigned char)(arg1
)->Red();
1016 wxPyEndAllowThreads(__tstate
);
1017 if (PyErr_Occurred()) SWIG_fail
;
1019 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
1026 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1027 PyObject
*resultobj
;
1028 wxColour
*arg1
= (wxColour
*) 0 ;
1029 unsigned char result
;
1030 PyObject
* obj0
= 0 ;
1032 (char *) "self", NULL
1035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1039 result
= (unsigned char)(arg1
)->Green();
1041 wxPyEndAllowThreads(__tstate
);
1042 if (PyErr_Occurred()) SWIG_fail
;
1044 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
1051 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1052 PyObject
*resultobj
;
1053 wxColour
*arg1
= (wxColour
*) 0 ;
1054 unsigned char result
;
1055 PyObject
* obj0
= 0 ;
1057 (char *) "self", NULL
1060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1064 result
= (unsigned char)(arg1
)->Blue();
1066 wxPyEndAllowThreads(__tstate
);
1067 if (PyErr_Occurred()) SWIG_fail
;
1069 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
1076 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1077 PyObject
*resultobj
;
1078 wxColour
*arg1
= (wxColour
*) 0 ;
1080 PyObject
* obj0
= 0 ;
1082 (char *) "self", NULL
1085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1089 result
= (bool)(arg1
)->Ok();
1091 wxPyEndAllowThreads(__tstate
);
1092 if (PyErr_Occurred()) SWIG_fail
;
1094 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1101 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1102 PyObject
*resultobj
;
1103 wxColour
*arg1
= (wxColour
*) 0 ;
1104 unsigned char arg2
;
1105 unsigned char arg3
;
1106 unsigned char arg4
;
1107 PyObject
* obj0
= 0 ;
1108 PyObject
* obj1
= 0 ;
1109 PyObject
* obj2
= 0 ;
1110 PyObject
* obj3
= 0 ;
1112 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1118 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
1119 if (PyErr_Occurred()) SWIG_fail
;
1122 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
1123 if (PyErr_Occurred()) SWIG_fail
;
1126 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
1127 if (PyErr_Occurred()) SWIG_fail
;
1130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1131 (arg1
)->Set(arg2
,arg3
,arg4
);
1133 wxPyEndAllowThreads(__tstate
);
1134 if (PyErr_Occurred()) SWIG_fail
;
1136 Py_INCREF(Py_None
); resultobj
= Py_None
;
1143 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1144 PyObject
*resultobj
;
1145 wxColour
*arg1
= (wxColour
*) 0 ;
1146 unsigned long arg2
;
1147 PyObject
* obj0
= 0 ;
1148 PyObject
* obj1
= 0 ;
1150 (char *) "self",(char *) "colRGB", NULL
1153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1156 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
1157 if (PyErr_Occurred()) SWIG_fail
;
1160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1163 wxPyEndAllowThreads(__tstate
);
1164 if (PyErr_Occurred()) SWIG_fail
;
1166 Py_INCREF(Py_None
); resultobj
= Py_None
;
1173 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1174 PyObject
*resultobj
;
1175 wxColour
*arg1
= (wxColour
*) 0 ;
1176 wxColour
*arg2
= 0 ;
1179 PyObject
* obj0
= 0 ;
1180 PyObject
* obj1
= 0 ;
1182 (char *) "self",(char *) "colour", NULL
1185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1189 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1193 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1195 wxPyEndAllowThreads(__tstate
);
1196 if (PyErr_Occurred()) SWIG_fail
;
1198 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1205 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1206 PyObject
*resultobj
;
1207 wxColour
*arg1
= (wxColour
*) 0 ;
1208 wxColour
*arg2
= 0 ;
1211 PyObject
* obj0
= 0 ;
1212 PyObject
* obj1
= 0 ;
1214 (char *) "self",(char *) "colour", NULL
1217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1221 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1225 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1227 wxPyEndAllowThreads(__tstate
);
1228 if (PyErr_Occurred()) SWIG_fail
;
1230 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1237 static PyObject
*_wrap_Colour_InitFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1238 PyObject
*resultobj
;
1239 wxColour
*arg1
= (wxColour
*) 0 ;
1240 wxString
*arg2
= 0 ;
1241 bool temp2
= False
;
1242 PyObject
* obj0
= 0 ;
1243 PyObject
* obj1
= 0 ;
1245 (char *) "self",(char *) "colourName", NULL
1248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_InitFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1251 arg2
= wxString_in_helper(obj1
);
1252 if (arg2
== NULL
) SWIG_fail
;
1256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1257 (arg1
)->InitFromName((wxString
const &)*arg2
);
1259 wxPyEndAllowThreads(__tstate
);
1260 if (PyErr_Occurred()) SWIG_fail
;
1262 Py_INCREF(Py_None
); resultobj
= Py_None
;
1277 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1278 PyObject
*resultobj
;
1279 wxColour
*arg1
= (wxColour
*) 0 ;
1281 PyObject
* obj0
= 0 ;
1283 (char *) "self", NULL
1286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1290 result
= (PyObject
*)wxColour_Get(arg1
);
1292 wxPyEndAllowThreads(__tstate
);
1293 if (PyErr_Occurred()) SWIG_fail
;
1302 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1305 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1307 return Py_BuildValue((char *)"");
1309 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1310 PyObject
*resultobj
;
1312 unsigned char *arg2
= (unsigned char *) 0 ;
1313 unsigned char *arg3
= (unsigned char *) 0 ;
1314 unsigned char *arg4
= (unsigned char *) 0 ;
1316 PyObject
* obj0
= 0 ;
1317 PyObject
* obj1
= 0 ;
1318 PyObject
* obj2
= 0 ;
1319 PyObject
* obj3
= 0 ;
1321 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1326 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
1327 if (PyErr_Occurred()) SWIG_fail
;
1329 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1330 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1331 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1334 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1336 wxPyEndAllowThreads(__tstate
);
1337 if (PyErr_Occurred()) SWIG_fail
;
1339 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPalette
, 1);
1346 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1347 PyObject
*resultobj
;
1348 wxPalette
*arg1
= (wxPalette
*) 0 ;
1349 PyObject
* obj0
= 0 ;
1351 (char *) "self", NULL
1354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1360 wxPyEndAllowThreads(__tstate
);
1361 if (PyErr_Occurred()) SWIG_fail
;
1363 Py_INCREF(Py_None
); resultobj
= Py_None
;
1370 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1371 PyObject
*resultobj
;
1372 wxPalette
*arg1
= (wxPalette
*) 0 ;
1377 PyObject
* obj0
= 0 ;
1378 PyObject
* obj1
= 0 ;
1379 PyObject
* obj2
= 0 ;
1380 PyObject
* obj3
= 0 ;
1382 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1388 arg2
= (byte
) SWIG_PyObj_AsUnsignedChar(obj1
);
1389 if (PyErr_Occurred()) SWIG_fail
;
1392 arg3
= (byte
) SWIG_PyObj_AsUnsignedChar(obj2
);
1393 if (PyErr_Occurred()) SWIG_fail
;
1396 arg4
= (byte
) SWIG_PyObj_AsUnsignedChar(obj3
);
1397 if (PyErr_Occurred()) SWIG_fail
;
1400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1401 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1403 wxPyEndAllowThreads(__tstate
);
1404 if (PyErr_Occurred()) SWIG_fail
;
1406 resultobj
= SWIG_PyObj_FromInt((int)result
);
1413 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1414 PyObject
*resultobj
;
1415 wxPalette
*arg1
= (wxPalette
*) 0 ;
1417 byte
*arg3
= (byte
*) 0 ;
1418 byte
*arg4
= (byte
*) 0 ;
1419 byte
*arg5
= (byte
*) 0 ;
1424 PyObject
* obj0
= 0 ;
1425 PyObject
* obj1
= 0 ;
1427 (char *) "self",(char *) "pixel", NULL
1433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1436 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1437 if (PyErr_Occurred()) SWIG_fail
;
1440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1441 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1443 wxPyEndAllowThreads(__tstate
);
1444 if (PyErr_Occurred()) SWIG_fail
;
1446 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1448 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1449 resultobj
= t_output_helper(resultobj
,o
);
1452 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1453 resultobj
= t_output_helper(resultobj
,o
);
1456 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1457 resultobj
= t_output_helper(resultobj
,o
);
1465 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1466 PyObject
*resultobj
;
1467 wxPalette
*arg1
= (wxPalette
*) 0 ;
1469 PyObject
* obj0
= 0 ;
1471 (char *) "self", NULL
1474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1478 result
= (bool)(arg1
)->Ok();
1480 wxPyEndAllowThreads(__tstate
);
1481 if (PyErr_Occurred()) SWIG_fail
;
1483 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1490 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1493 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1495 return Py_BuildValue((char *)"");
1497 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1498 PyObject
*resultobj
;
1499 wxColour
*arg1
= 0 ;
1500 int arg2
= (int) 1 ;
1501 int arg3
= (int) wxSOLID
;
1504 PyObject
* obj0
= 0 ;
1505 PyObject
* obj1
= 0 ;
1506 PyObject
* obj2
= 0 ;
1508 (char *) "colour",(char *) "width",(char *) "style", NULL
1511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1514 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1518 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1519 if (PyErr_Occurred()) SWIG_fail
;
1524 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1525 if (PyErr_Occurred()) SWIG_fail
;
1529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1530 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1532 wxPyEndAllowThreads(__tstate
);
1533 if (PyErr_Occurred()) SWIG_fail
;
1535 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 1);
1542 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1543 PyObject
*resultobj
;
1544 wxPen
*arg1
= (wxPen
*) 0 ;
1545 PyObject
* obj0
= 0 ;
1547 (char *) "self", NULL
1550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1556 wxPyEndAllowThreads(__tstate
);
1557 if (PyErr_Occurred()) SWIG_fail
;
1559 Py_INCREF(Py_None
); resultobj
= Py_None
;
1566 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1567 PyObject
*resultobj
;
1568 wxPen
*arg1
= (wxPen
*) 0 ;
1570 PyObject
* obj0
= 0 ;
1572 (char *) "self", NULL
1575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1579 result
= (int)(arg1
)->GetCap();
1581 wxPyEndAllowThreads(__tstate
);
1582 if (PyErr_Occurred()) SWIG_fail
;
1584 resultobj
= SWIG_PyObj_FromInt((int)result
);
1591 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1592 PyObject
*resultobj
;
1593 wxPen
*arg1
= (wxPen
*) 0 ;
1595 PyObject
* obj0
= 0 ;
1597 (char *) "self", NULL
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1604 result
= (arg1
)->GetColour();
1606 wxPyEndAllowThreads(__tstate
);
1607 if (PyErr_Occurred()) SWIG_fail
;
1610 wxColour
* resultptr
;
1611 resultptr
= new wxColour((wxColour
&) result
);
1612 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1620 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1621 PyObject
*resultobj
;
1622 wxPen
*arg1
= (wxPen
*) 0 ;
1624 PyObject
* obj0
= 0 ;
1626 (char *) "self", NULL
1629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1633 result
= (int)(arg1
)->GetJoin();
1635 wxPyEndAllowThreads(__tstate
);
1636 if (PyErr_Occurred()) SWIG_fail
;
1638 resultobj
= SWIG_PyObj_FromInt((int)result
);
1645 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1646 PyObject
*resultobj
;
1647 wxPen
*arg1
= (wxPen
*) 0 ;
1649 PyObject
* obj0
= 0 ;
1651 (char *) "self", NULL
1654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1658 result
= (int)(arg1
)->GetStyle();
1660 wxPyEndAllowThreads(__tstate
);
1661 if (PyErr_Occurred()) SWIG_fail
;
1663 resultobj
= SWIG_PyObj_FromInt((int)result
);
1670 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1671 PyObject
*resultobj
;
1672 wxPen
*arg1
= (wxPen
*) 0 ;
1674 PyObject
* obj0
= 0 ;
1676 (char *) "self", NULL
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1683 result
= (int)(arg1
)->GetWidth();
1685 wxPyEndAllowThreads(__tstate
);
1686 if (PyErr_Occurred()) SWIG_fail
;
1688 resultobj
= SWIG_PyObj_FromInt((int)result
);
1695 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1696 PyObject
*resultobj
;
1697 wxPen
*arg1
= (wxPen
*) 0 ;
1699 PyObject
* obj0
= 0 ;
1701 (char *) "self", NULL
1704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1708 result
= (bool)(arg1
)->Ok();
1710 wxPyEndAllowThreads(__tstate
);
1711 if (PyErr_Occurred()) SWIG_fail
;
1713 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1720 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1721 PyObject
*resultobj
;
1722 wxPen
*arg1
= (wxPen
*) 0 ;
1724 PyObject
* obj0
= 0 ;
1725 PyObject
* obj1
= 0 ;
1727 (char *) "self",(char *) "cap_style", NULL
1730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1733 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1734 if (PyErr_Occurred()) SWIG_fail
;
1737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1738 (arg1
)->SetCap(arg2
);
1740 wxPyEndAllowThreads(__tstate
);
1741 if (PyErr_Occurred()) SWIG_fail
;
1743 Py_INCREF(Py_None
); resultobj
= Py_None
;
1750 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
*resultobj
;
1752 wxPen
*arg1
= (wxPen
*) 0 ;
1753 wxColour
*arg2
= 0 ;
1755 PyObject
* obj0
= 0 ;
1756 PyObject
* obj1
= 0 ;
1758 (char *) "self",(char *) "colour", NULL
1761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1765 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1769 (arg1
)->SetColour(*arg2
);
1771 wxPyEndAllowThreads(__tstate
);
1772 if (PyErr_Occurred()) SWIG_fail
;
1774 Py_INCREF(Py_None
); resultobj
= Py_None
;
1781 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
*resultobj
;
1783 wxPen
*arg1
= (wxPen
*) 0 ;
1785 PyObject
* obj0
= 0 ;
1786 PyObject
* obj1
= 0 ;
1788 (char *) "self",(char *) "join_style", NULL
1791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
1792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1794 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1795 if (PyErr_Occurred()) SWIG_fail
;
1798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1799 (arg1
)->SetJoin(arg2
);
1801 wxPyEndAllowThreads(__tstate
);
1802 if (PyErr_Occurred()) SWIG_fail
;
1804 Py_INCREF(Py_None
); resultobj
= Py_None
;
1811 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1812 PyObject
*resultobj
;
1813 wxPen
*arg1
= (wxPen
*) 0 ;
1815 PyObject
* obj0
= 0 ;
1816 PyObject
* obj1
= 0 ;
1818 (char *) "self",(char *) "style", NULL
1821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
1822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1824 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1825 if (PyErr_Occurred()) SWIG_fail
;
1828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1829 (arg1
)->SetStyle(arg2
);
1831 wxPyEndAllowThreads(__tstate
);
1832 if (PyErr_Occurred()) SWIG_fail
;
1834 Py_INCREF(Py_None
); resultobj
= Py_None
;
1841 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1842 PyObject
*resultobj
;
1843 wxPen
*arg1
= (wxPen
*) 0 ;
1845 PyObject
* obj0
= 0 ;
1846 PyObject
* obj1
= 0 ;
1848 (char *) "self",(char *) "width", NULL
1851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
1852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1854 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1855 if (PyErr_Occurred()) SWIG_fail
;
1858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1859 (arg1
)->SetWidth(arg2
);
1861 wxPyEndAllowThreads(__tstate
);
1862 if (PyErr_Occurred()) SWIG_fail
;
1864 Py_INCREF(Py_None
); resultobj
= Py_None
;
1871 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1872 PyObject
*resultobj
;
1873 wxPen
*arg1
= (wxPen
*) 0 ;
1875 wxDash
*arg3
= (wxDash
*) 0 ;
1876 PyObject
* obj0
= 0 ;
1877 PyObject
* obj1
= 0 ;
1879 (char *) "self",(char *) "dashes", NULL
1882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
1883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1885 arg2
= PyList_Size(obj1
);
1886 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
1887 if (arg3
== NULL
) SWIG_fail
;
1890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1891 (arg1
)->SetDashes(arg2
,arg3
);
1893 wxPyEndAllowThreads(__tstate
);
1894 if (PyErr_Occurred()) SWIG_fail
;
1896 Py_INCREF(Py_None
); resultobj
= Py_None
;
1898 if (arg3
) delete [] arg3
;
1903 if (arg3
) delete [] arg3
;
1909 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1910 PyObject
*resultobj
;
1911 wxPen
*arg1
= (wxPen
*) 0 ;
1913 PyObject
* obj0
= 0 ;
1915 (char *) "self", NULL
1918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
1919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1922 result
= (PyObject
*)wxPen_GetDashes(arg1
);
1924 wxPyEndAllowThreads(__tstate
);
1925 if (PyErr_Occurred()) SWIG_fail
;
1934 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
*resultobj
;
1936 wxPen
*arg1
= (wxPen
*) 0 ;
1938 PyObject
* obj0
= 0 ;
1940 (char *) "self", NULL
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
1944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1947 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
1949 wxPyEndAllowThreads(__tstate
);
1950 if (PyErr_Occurred()) SWIG_fail
;
1952 resultobj
= SWIG_PyObj_FromInt((int)result
);
1959 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
1961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1962 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
1964 return Py_BuildValue((char *)"");
1966 static PyObject
*_wrap_new_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1967 PyObject
*resultobj
;
1968 wxColour
*arg1
= 0 ;
1969 int arg2
= (int) 1 ;
1970 int arg3
= (int) wxSOLID
;
1973 PyObject
* obj0
= 0 ;
1974 PyObject
* obj1
= 0 ;
1975 PyObject
* obj2
= 0 ;
1977 (char *) "colour",(char *) "width",(char *) "style", NULL
1980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_PyPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1983 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1987 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1988 if (PyErr_Occurred()) SWIG_fail
;
1993 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1994 if (PyErr_Occurred()) SWIG_fail
;
1998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1999 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
2001 wxPyEndAllowThreads(__tstate
);
2002 if (PyErr_Occurred()) SWIG_fail
;
2004 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPen
, 1);
2011 static PyObject
*_wrap_delete_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2012 PyObject
*resultobj
;
2013 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2014 PyObject
* obj0
= 0 ;
2016 (char *) "self", NULL
2019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
2020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2025 wxPyEndAllowThreads(__tstate
);
2026 if (PyErr_Occurred()) SWIG_fail
;
2028 Py_INCREF(Py_None
); resultobj
= Py_None
;
2035 static PyObject
*_wrap_PyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2036 PyObject
*resultobj
;
2037 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2039 wxDash
*arg3
= (wxDash
*) 0 ;
2040 PyObject
* obj0
= 0 ;
2041 PyObject
* obj1
= 0 ;
2043 (char *) "self",(char *) "dashes", NULL
2046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2049 arg2
= PyList_Size(obj1
);
2050 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2051 if (arg3
== NULL
) SWIG_fail
;
2054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2055 (arg1
)->SetDashes(arg2
,arg3
);
2057 wxPyEndAllowThreads(__tstate
);
2058 if (PyErr_Occurred()) SWIG_fail
;
2060 Py_INCREF(Py_None
); resultobj
= Py_None
;
2062 if (arg3
) delete [] arg3
;
2067 if (arg3
) delete [] arg3
;
2073 static PyObject
* PyPen_swigregister(PyObject
*self
, PyObject
*args
) {
2075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2076 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
2078 return Py_BuildValue((char *)"");
2080 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2081 PyObject
*resultobj
;
2082 wxColour
*arg1
= 0 ;
2083 int arg2
= (int) wxSOLID
;
2086 PyObject
* obj0
= 0 ;
2087 PyObject
* obj1
= 0 ;
2089 (char *) "colour",(char *) "style", NULL
2092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2095 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2099 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2100 if (PyErr_Occurred()) SWIG_fail
;
2104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2105 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2107 wxPyEndAllowThreads(__tstate
);
2108 if (PyErr_Occurred()) SWIG_fail
;
2110 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 1);
2117 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
*resultobj
;
2119 wxBrush
*arg1
= (wxBrush
*) 0 ;
2120 PyObject
* obj0
= 0 ;
2122 (char *) "self", NULL
2125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2131 wxPyEndAllowThreads(__tstate
);
2132 if (PyErr_Occurred()) SWIG_fail
;
2134 Py_INCREF(Py_None
); resultobj
= Py_None
;
2141 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
*resultobj
;
2143 wxBrush
*arg1
= (wxBrush
*) 0 ;
2144 wxColour
*arg2
= 0 ;
2146 PyObject
* obj0
= 0 ;
2147 PyObject
* obj1
= 0 ;
2149 (char *) "self",(char *) "col", NULL
2152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2156 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2160 (arg1
)->SetColour((wxColour
const &)*arg2
);
2162 wxPyEndAllowThreads(__tstate
);
2163 if (PyErr_Occurred()) SWIG_fail
;
2165 Py_INCREF(Py_None
); resultobj
= Py_None
;
2172 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2173 PyObject
*resultobj
;
2174 wxBrush
*arg1
= (wxBrush
*) 0 ;
2176 PyObject
* obj0
= 0 ;
2177 PyObject
* obj1
= 0 ;
2179 (char *) "self",(char *) "style", NULL
2182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2185 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2186 if (PyErr_Occurred()) SWIG_fail
;
2189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2190 (arg1
)->SetStyle(arg2
);
2192 wxPyEndAllowThreads(__tstate
);
2193 if (PyErr_Occurred()) SWIG_fail
;
2195 Py_INCREF(Py_None
); resultobj
= Py_None
;
2202 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
*resultobj
;
2204 wxBrush
*arg1
= (wxBrush
*) 0 ;
2205 wxBitmap
*arg2
= 0 ;
2206 PyObject
* obj0
= 0 ;
2207 PyObject
* obj1
= 0 ;
2209 (char *) "self",(char *) "stipple", NULL
2212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2214 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2216 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2220 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2222 wxPyEndAllowThreads(__tstate
);
2223 if (PyErr_Occurred()) SWIG_fail
;
2225 Py_INCREF(Py_None
); resultobj
= Py_None
;
2232 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2233 PyObject
*resultobj
;
2234 wxBrush
*arg1
= (wxBrush
*) 0 ;
2236 PyObject
* obj0
= 0 ;
2238 (char *) "self", NULL
2241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2245 result
= ((wxBrush
const *)arg1
)->GetColour();
2247 wxPyEndAllowThreads(__tstate
);
2248 if (PyErr_Occurred()) SWIG_fail
;
2251 wxColour
* resultptr
;
2252 resultptr
= new wxColour((wxColour
&) result
);
2253 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
2261 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2262 PyObject
*resultobj
;
2263 wxBrush
*arg1
= (wxBrush
*) 0 ;
2265 PyObject
* obj0
= 0 ;
2267 (char *) "self", NULL
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2274 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2276 wxPyEndAllowThreads(__tstate
);
2277 if (PyErr_Occurred()) SWIG_fail
;
2279 resultobj
= SWIG_PyObj_FromInt((int)result
);
2286 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2287 PyObject
*resultobj
;
2288 wxBrush
*arg1
= (wxBrush
*) 0 ;
2290 PyObject
* obj0
= 0 ;
2292 (char *) "self", NULL
2295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2299 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2301 wxPyEndAllowThreads(__tstate
);
2302 if (PyErr_Occurred()) SWIG_fail
;
2304 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
2311 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
*resultobj
;
2313 wxBrush
*arg1
= (wxBrush
*) 0 ;
2315 PyObject
* obj0
= 0 ;
2317 (char *) "self", NULL
2320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2324 result
= (bool)(arg1
)->Ok();
2326 wxPyEndAllowThreads(__tstate
);
2327 if (PyErr_Occurred()) SWIG_fail
;
2329 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2336 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2339 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2341 return Py_BuildValue((char *)"");
2343 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2344 PyObject
*resultobj
;
2345 wxString
*arg1
= 0 ;
2346 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2348 bool temp1
= False
;
2349 PyObject
* obj0
= 0 ;
2350 PyObject
* obj1
= 0 ;
2352 (char *) "name",(char *) "type", NULL
2355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2357 arg1
= wxString_in_helper(obj0
);
2358 if (arg1
== NULL
) SWIG_fail
;
2363 arg2
= (wxBitmapType
) SWIG_PyObj_AsInt(obj1
);
2364 if (PyErr_Occurred()) SWIG_fail
;
2368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2369 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2371 wxPyEndAllowThreads(__tstate
);
2372 if (PyErr_Occurred()) SWIG_fail
;
2374 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2389 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
*resultobj
;
2391 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2392 PyObject
* obj0
= 0 ;
2394 (char *) "self", NULL
2397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2403 wxPyEndAllowThreads(__tstate
);
2404 if (PyErr_Occurred()) SWIG_fail
;
2406 Py_INCREF(Py_None
); resultobj
= Py_None
;
2413 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2414 PyObject
*resultobj
;
2417 int arg3
= (int) -1 ;
2419 PyObject
* obj0
= 0 ;
2420 PyObject
* obj1
= 0 ;
2421 PyObject
* obj2
= 0 ;
2423 (char *) "width",(char *) "height",(char *) "depth", NULL
2426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2428 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
2429 if (PyErr_Occurred()) SWIG_fail
;
2432 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2433 if (PyErr_Occurred()) SWIG_fail
;
2437 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2438 if (PyErr_Occurred()) SWIG_fail
;
2442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2443 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2445 wxPyEndAllowThreads(__tstate
);
2446 if (PyErr_Occurred()) SWIG_fail
;
2448 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2455 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
*resultobj
;
2459 PyObject
* obj0
= 0 ;
2461 (char *) "icon", NULL
2464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2467 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2471 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2473 wxPyEndAllowThreads(__tstate
);
2474 if (PyErr_Occurred()) SWIG_fail
;
2476 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2483 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
*resultobj
;
2486 int arg2
= (int) -1 ;
2488 PyObject
* obj0
= 0 ;
2489 PyObject
* obj1
= 0 ;
2491 (char *) "image",(char *) "depth", NULL
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2497 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2501 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2502 if (PyErr_Occurred()) SWIG_fail
;
2506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2507 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2509 wxPyEndAllowThreads(__tstate
);
2510 if (PyErr_Occurred()) SWIG_fail
;
2512 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2519 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2520 PyObject
*resultobj
;
2521 PyObject
*arg1
= (PyObject
*) 0 ;
2523 PyObject
* obj0
= 0 ;
2525 (char *) "listOfStrings", NULL
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2532 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2534 wxPyEndAllowThreads(__tstate
);
2535 if (PyErr_Occurred()) SWIG_fail
;
2537 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2544 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2545 PyObject
*resultobj
;
2546 PyObject
*arg1
= (PyObject
*) 0 ;
2549 int arg4
= (int) 1 ;
2551 PyObject
* obj0
= 0 ;
2552 PyObject
* obj1
= 0 ;
2553 PyObject
* obj2
= 0 ;
2554 PyObject
* obj3
= 0 ;
2556 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2562 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2563 if (PyErr_Occurred()) SWIG_fail
;
2566 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2567 if (PyErr_Occurred()) SWIG_fail
;
2571 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2572 if (PyErr_Occurred()) SWIG_fail
;
2576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2577 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2579 wxPyEndAllowThreads(__tstate
);
2580 if (PyErr_Occurred()) SWIG_fail
;
2582 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2589 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2590 PyObject
*resultobj
;
2591 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2593 PyObject
* obj0
= 0 ;
2595 (char *) "self", NULL
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2602 result
= (bool)(arg1
)->Ok();
2604 wxPyEndAllowThreads(__tstate
);
2605 if (PyErr_Occurred()) SWIG_fail
;
2607 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2614 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
*resultobj
;
2616 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2618 PyObject
* obj0
= 0 ;
2620 (char *) "self", NULL
2623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2627 result
= (int)(arg1
)->GetWidth();
2629 wxPyEndAllowThreads(__tstate
);
2630 if (PyErr_Occurred()) SWIG_fail
;
2632 resultobj
= SWIG_PyObj_FromInt((int)result
);
2639 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2640 PyObject
*resultobj
;
2641 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2643 PyObject
* obj0
= 0 ;
2645 (char *) "self", NULL
2648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2652 result
= (int)(arg1
)->GetHeight();
2654 wxPyEndAllowThreads(__tstate
);
2655 if (PyErr_Occurred()) SWIG_fail
;
2657 resultobj
= SWIG_PyObj_FromInt((int)result
);
2664 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2665 PyObject
*resultobj
;
2666 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2668 PyObject
* obj0
= 0 ;
2670 (char *) "self", NULL
2673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2677 result
= (int)(arg1
)->GetDepth();
2679 wxPyEndAllowThreads(__tstate
);
2680 if (PyErr_Occurred()) SWIG_fail
;
2682 resultobj
= SWIG_PyObj_FromInt((int)result
);
2689 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2690 PyObject
*resultobj
;
2691 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2692 SwigValueWrapper
< wxImage
> result
;
2693 PyObject
* obj0
= 0 ;
2695 (char *) "self", NULL
2698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
2699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2702 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
2704 wxPyEndAllowThreads(__tstate
);
2705 if (PyErr_Occurred()) SWIG_fail
;
2708 wxImage
* resultptr
;
2709 resultptr
= new wxImage((wxImage
&) result
);
2710 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
2718 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2719 PyObject
*resultobj
;
2720 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2722 PyObject
* obj0
= 0 ;
2724 (char *) "self", NULL
2727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
2728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2736 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 0);
2743 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
*resultobj
;
2745 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2746 wxMask
*arg2
= (wxMask
*) 0 ;
2747 PyObject
* obj0
= 0 ;
2748 PyObject
* obj1
= 0 ;
2750 (char *) "self",(char *) "mask", NULL
2753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
2754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2755 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2758 (arg1
)->SetMask(arg2
);
2760 wxPyEndAllowThreads(__tstate
);
2761 if (PyErr_Occurred()) SWIG_fail
;
2763 Py_INCREF(Py_None
); resultobj
= Py_None
;
2770 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2771 PyObject
*resultobj
;
2772 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2773 wxColour
*arg2
= 0 ;
2775 PyObject
* obj0
= 0 ;
2776 PyObject
* obj1
= 0 ;
2778 (char *) "self",(char *) "colour", NULL
2781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2785 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2789 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
2791 wxPyEndAllowThreads(__tstate
);
2792 if (PyErr_Occurred()) SWIG_fail
;
2794 Py_INCREF(Py_None
); resultobj
= Py_None
;
2801 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2802 PyObject
*resultobj
;
2803 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2805 SwigValueWrapper
< wxBitmap
> result
;
2807 PyObject
* obj0
= 0 ;
2808 PyObject
* obj1
= 0 ;
2810 (char *) "self",(char *) "rect", NULL
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2817 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2821 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
2823 wxPyEndAllowThreads(__tstate
);
2824 if (PyErr_Occurred()) SWIG_fail
;
2827 wxBitmap
* resultptr
;
2828 resultptr
= new wxBitmap((wxBitmap
&) result
);
2829 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
2837 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2838 PyObject
*resultobj
;
2839 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2840 wxString
*arg2
= 0 ;
2842 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
2844 bool temp2
= False
;
2845 PyObject
* obj0
= 0 ;
2846 PyObject
* obj1
= 0 ;
2847 PyObject
* obj2
= 0 ;
2848 PyObject
* obj3
= 0 ;
2850 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
2853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2856 arg2
= wxString_in_helper(obj1
);
2857 if (arg2
== NULL
) SWIG_fail
;
2861 arg3
= (wxBitmapType
) SWIG_PyObj_AsInt(obj2
);
2862 if (PyErr_Occurred()) SWIG_fail
;
2865 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2869 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
2871 wxPyEndAllowThreads(__tstate
);
2872 if (PyErr_Occurred()) SWIG_fail
;
2874 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2889 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2890 PyObject
*resultobj
;
2891 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2892 wxString
*arg2
= 0 ;
2895 bool temp2
= False
;
2896 PyObject
* obj0
= 0 ;
2897 PyObject
* obj1
= 0 ;
2898 PyObject
* obj2
= 0 ;
2900 (char *) "self",(char *) "name",(char *) "type", NULL
2903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2906 arg2
= wxString_in_helper(obj1
);
2907 if (arg2
== NULL
) SWIG_fail
;
2911 arg3
= (wxBitmapType
) SWIG_PyObj_AsInt(obj2
);
2912 if (PyErr_Occurred()) SWIG_fail
;
2915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2916 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
2918 wxPyEndAllowThreads(__tstate
);
2919 if (PyErr_Occurred()) SWIG_fail
;
2921 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2936 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2937 PyObject
*resultobj
;
2938 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2941 PyObject
* obj0
= 0 ;
2942 PyObject
* obj1
= 0 ;
2944 (char *) "self",(char *) "icon", NULL
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2949 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2951 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2955 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
2957 wxPyEndAllowThreads(__tstate
);
2958 if (PyErr_Occurred()) SWIG_fail
;
2960 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2967 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
*resultobj
;
2969 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2971 PyObject
* obj0
= 0 ;
2972 PyObject
* obj1
= 0 ;
2974 (char *) "self",(char *) "height", NULL
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2980 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2981 if (PyErr_Occurred()) SWIG_fail
;
2984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2985 (arg1
)->SetHeight(arg2
);
2987 wxPyEndAllowThreads(__tstate
);
2988 if (PyErr_Occurred()) SWIG_fail
;
2990 Py_INCREF(Py_None
); resultobj
= Py_None
;
2997 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2998 PyObject
*resultobj
;
2999 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3001 PyObject
* obj0
= 0 ;
3002 PyObject
* obj1
= 0 ;
3004 (char *) "self",(char *) "width", NULL
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3010 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3011 if (PyErr_Occurred()) SWIG_fail
;
3014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3015 (arg1
)->SetWidth(arg2
);
3017 wxPyEndAllowThreads(__tstate
);
3018 if (PyErr_Occurred()) SWIG_fail
;
3020 Py_INCREF(Py_None
); resultobj
= Py_None
;
3027 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3028 PyObject
*resultobj
;
3029 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3031 PyObject
* obj0
= 0 ;
3032 PyObject
* obj1
= 0 ;
3034 (char *) "self",(char *) "depth", NULL
3037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3040 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3041 if (PyErr_Occurred()) SWIG_fail
;
3044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3045 (arg1
)->SetDepth(arg2
);
3047 wxPyEndAllowThreads(__tstate
);
3048 if (PyErr_Occurred()) SWIG_fail
;
3050 Py_INCREF(Py_None
); resultobj
= Py_None
;
3057 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3060 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3062 return Py_BuildValue((char *)"");
3064 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3065 PyObject
*resultobj
;
3066 wxBitmap
*arg1
= 0 ;
3068 PyObject
* obj0
= 0 ;
3070 (char *) "bitmap", NULL
3073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Mask",kwnames
,&obj0
)) goto fail
;
3074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3076 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3080 result
= (wxMask
*)new wxMask((wxBitmap
const &)*arg1
);
3082 wxPyEndAllowThreads(__tstate
);
3083 if (PyErr_Occurred()) SWIG_fail
;
3085 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 1);
3092 static PyObject
*_wrap_new_MaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3093 PyObject
*resultobj
;
3094 wxBitmap
*arg1
= 0 ;
3095 wxColour
*arg2
= 0 ;
3098 PyObject
* obj0
= 0 ;
3099 PyObject
* obj1
= 0 ;
3101 (char *) "bitmap",(char *) "colour", NULL
3104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3107 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3111 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3115 result
= (wxMask
*)new wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3117 wxPyEndAllowThreads(__tstate
);
3118 if (PyErr_Occurred()) SWIG_fail
;
3120 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 1);
3127 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3130 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3132 return Py_BuildValue((char *)"");
3134 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3135 PyObject
*resultobj
;
3136 wxString
*arg1
= 0 ;
3138 int arg3
= (int) -1 ;
3139 int arg4
= (int) -1 ;
3141 bool temp1
= False
;
3142 PyObject
* obj0
= 0 ;
3143 PyObject
* obj1
= 0 ;
3144 PyObject
* obj2
= 0 ;
3145 PyObject
* obj3
= 0 ;
3147 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3152 arg1
= wxString_in_helper(obj0
);
3153 if (arg1
== NULL
) SWIG_fail
;
3157 arg2
= (wxBitmapType
) SWIG_PyObj_AsInt(obj1
);
3158 if (PyErr_Occurred()) SWIG_fail
;
3162 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3163 if (PyErr_Occurred()) SWIG_fail
;
3168 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
3169 if (PyErr_Occurred()) SWIG_fail
;
3173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3174 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3176 wxPyEndAllowThreads(__tstate
);
3177 if (PyErr_Occurred()) SWIG_fail
;
3179 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3194 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3195 PyObject
*resultobj
;
3196 wxIcon
*arg1
= (wxIcon
*) 0 ;
3197 PyObject
* obj0
= 0 ;
3199 (char *) "self", NULL
3202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3208 wxPyEndAllowThreads(__tstate
);
3209 if (PyErr_Occurred()) SWIG_fail
;
3211 Py_INCREF(Py_None
); resultobj
= Py_None
;
3218 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3219 PyObject
*resultobj
;
3225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3228 result
= (wxIcon
*)new wxIcon();
3230 wxPyEndAllowThreads(__tstate
);
3231 if (PyErr_Occurred()) SWIG_fail
;
3233 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3240 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
*resultobj
;
3242 wxIconLocation
*arg1
= 0 ;
3244 PyObject
* obj0
= 0 ;
3246 (char *) "loc", NULL
3249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3252 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3256 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3258 wxPyEndAllowThreads(__tstate
);
3259 if (PyErr_Occurred()) SWIG_fail
;
3261 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3268 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3269 PyObject
*resultobj
;
3270 wxBitmap
*arg1
= 0 ;
3272 PyObject
* obj0
= 0 ;
3274 (char *) "bmp", NULL
3277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3280 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) SWIG_fail
;
3289 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3296 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
*resultobj
;
3298 PyObject
*arg1
= (PyObject
*) 0 ;
3300 PyObject
* obj0
= 0 ;
3302 (char *) "listOfStrings", NULL
3305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3309 result
= (wxIcon
*)new_wxIcon(arg1
);
3311 wxPyEndAllowThreads(__tstate
);
3312 if (PyErr_Occurred()) SWIG_fail
;
3314 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3321 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3322 PyObject
*resultobj
;
3323 wxIcon
*arg1
= (wxIcon
*) 0 ;
3324 wxString
*arg2
= 0 ;
3327 bool temp2
= False
;
3328 PyObject
* obj0
= 0 ;
3329 PyObject
* obj1
= 0 ;
3330 PyObject
* obj2
= 0 ;
3332 (char *) "self",(char *) "name",(char *) "type", NULL
3335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3338 arg2
= wxString_in_helper(obj1
);
3339 if (arg2
== NULL
) SWIG_fail
;
3343 arg3
= (wxBitmapType
) SWIG_PyObj_AsInt(obj2
);
3344 if (PyErr_Occurred()) SWIG_fail
;
3347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3348 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3350 wxPyEndAllowThreads(__tstate
);
3351 if (PyErr_Occurred()) SWIG_fail
;
3353 resultobj
= SWIG_PyObj_FromBool((bool)result
);
3368 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
*resultobj
;
3370 wxIcon
*arg1
= (wxIcon
*) 0 ;
3372 PyObject
* obj0
= 0 ;
3374 (char *) "self", NULL
3377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 result
= (bool)(arg1
)->Ok();
3383 wxPyEndAllowThreads(__tstate
);
3384 if (PyErr_Occurred()) SWIG_fail
;
3386 resultobj
= SWIG_PyObj_FromBool((bool)result
);
3393 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3394 PyObject
*resultobj
;
3395 wxIcon
*arg1
= (wxIcon
*) 0 ;
3397 PyObject
* obj0
= 0 ;
3399 (char *) "self", NULL
3402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3406 result
= (int)(arg1
)->GetWidth();
3408 wxPyEndAllowThreads(__tstate
);
3409 if (PyErr_Occurred()) SWIG_fail
;
3411 resultobj
= SWIG_PyObj_FromInt((int)result
);
3418 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3419 PyObject
*resultobj
;
3420 wxIcon
*arg1
= (wxIcon
*) 0 ;
3422 PyObject
* obj0
= 0 ;
3424 (char *) "self", NULL
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3431 result
= (int)(arg1
)->GetHeight();
3433 wxPyEndAllowThreads(__tstate
);
3434 if (PyErr_Occurred()) SWIG_fail
;
3436 resultobj
= SWIG_PyObj_FromInt((int)result
);
3443 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
*resultobj
;
3445 wxIcon
*arg1
= (wxIcon
*) 0 ;
3447 PyObject
* obj0
= 0 ;
3449 (char *) "self", NULL
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3456 result
= (int)(arg1
)->GetDepth();
3458 wxPyEndAllowThreads(__tstate
);
3459 if (PyErr_Occurred()) SWIG_fail
;
3461 resultobj
= SWIG_PyObj_FromInt((int)result
);
3468 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3469 PyObject
*resultobj
;
3470 wxIcon
*arg1
= (wxIcon
*) 0 ;
3472 PyObject
* obj0
= 0 ;
3473 PyObject
* obj1
= 0 ;
3475 (char *) "self",(char *) "w", NULL
3478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3481 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3482 if (PyErr_Occurred()) SWIG_fail
;
3485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3486 (arg1
)->SetWidth(arg2
);
3488 wxPyEndAllowThreads(__tstate
);
3489 if (PyErr_Occurred()) SWIG_fail
;
3491 Py_INCREF(Py_None
); resultobj
= Py_None
;
3498 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
*resultobj
;
3500 wxIcon
*arg1
= (wxIcon
*) 0 ;
3502 PyObject
* obj0
= 0 ;
3503 PyObject
* obj1
= 0 ;
3505 (char *) "self",(char *) "h", NULL
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3511 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3512 if (PyErr_Occurred()) SWIG_fail
;
3515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3516 (arg1
)->SetHeight(arg2
);
3518 wxPyEndAllowThreads(__tstate
);
3519 if (PyErr_Occurred()) SWIG_fail
;
3521 Py_INCREF(Py_None
); resultobj
= Py_None
;
3528 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
*resultobj
;
3530 wxIcon
*arg1
= (wxIcon
*) 0 ;
3532 PyObject
* obj0
= 0 ;
3533 PyObject
* obj1
= 0 ;
3535 (char *) "self",(char *) "d", NULL
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3541 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3542 if (PyErr_Occurred()) SWIG_fail
;
3545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3546 (arg1
)->SetDepth(arg2
);
3548 wxPyEndAllowThreads(__tstate
);
3549 if (PyErr_Occurred()) SWIG_fail
;
3551 Py_INCREF(Py_None
); resultobj
= Py_None
;
3558 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
*resultobj
;
3560 wxIcon
*arg1
= (wxIcon
*) 0 ;
3561 wxBitmap
*arg2
= 0 ;
3562 PyObject
* obj0
= 0 ;
3563 PyObject
* obj1
= 0 ;
3565 (char *) "self",(char *) "bmp", NULL
3568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3570 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3572 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3576 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3578 wxPyEndAllowThreads(__tstate
);
3579 if (PyErr_Occurred()) SWIG_fail
;
3581 Py_INCREF(Py_None
); resultobj
= Py_None
;
3588 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
3590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3591 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3593 return Py_BuildValue((char *)"");
3595 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
*resultobj
;
3597 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3598 int arg2
= (int) 0 ;
3599 wxIconLocation
*result
;
3600 bool temp1
= False
;
3601 PyObject
* obj0
= 0 ;
3602 PyObject
* obj1
= 0 ;
3604 (char *) "filename",(char *) "num", NULL
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
3610 arg1
= wxString_in_helper(obj0
);
3611 if (arg1
== NULL
) SWIG_fail
;
3617 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3618 if (PyErr_Occurred()) SWIG_fail
;
3622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3623 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3625 wxPyEndAllowThreads(__tstate
);
3626 if (PyErr_Occurred()) SWIG_fail
;
3628 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconLocation
, 1);
3643 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3644 PyObject
*resultobj
;
3645 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3646 PyObject
* obj0
= 0 ;
3648 (char *) "self", NULL
3651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
3652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3657 wxPyEndAllowThreads(__tstate
);
3658 if (PyErr_Occurred()) SWIG_fail
;
3660 Py_INCREF(Py_None
); resultobj
= Py_None
;
3667 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3668 PyObject
*resultobj
;
3669 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3671 PyObject
* obj0
= 0 ;
3673 (char *) "self", NULL
3676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
3677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3680 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
3682 wxPyEndAllowThreads(__tstate
);
3683 if (PyErr_Occurred()) SWIG_fail
;
3685 resultobj
= SWIG_PyObj_FromBool((bool)result
);
3692 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3693 PyObject
*resultobj
;
3694 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3695 wxString
*arg2
= 0 ;
3696 bool temp2
= False
;
3697 PyObject
* obj0
= 0 ;
3698 PyObject
* obj1
= 0 ;
3700 (char *) "self",(char *) "filename", NULL
3703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
3704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3706 arg2
= wxString_in_helper(obj1
);
3707 if (arg2
== NULL
) SWIG_fail
;
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 (arg1
)->SetFileName((wxString
const &)*arg2
);
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 Py_INCREF(Py_None
); resultobj
= Py_None
;
3732 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3733 PyObject
*resultobj
;
3734 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3736 PyObject
* obj0
= 0 ;
3738 (char *) "self", NULL
3741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
3742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3746 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
3747 result
= (wxString
*) &_result_ref
;
3750 wxPyEndAllowThreads(__tstate
);
3751 if (PyErr_Occurred()) SWIG_fail
;
3755 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
3757 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
3766 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
*resultobj
;
3768 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3770 PyObject
* obj0
= 0 ;
3771 PyObject
* obj1
= 0 ;
3773 (char *) "self",(char *) "num", NULL
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
3777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3779 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3780 if (PyErr_Occurred()) SWIG_fail
;
3783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3784 wxIconLocation_SetIndex(arg1
,arg2
);
3786 wxPyEndAllowThreads(__tstate
);
3787 if (PyErr_Occurred()) SWIG_fail
;
3789 Py_INCREF(Py_None
); resultobj
= Py_None
;
3796 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3797 PyObject
*resultobj
;
3798 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3800 PyObject
* obj0
= 0 ;
3802 (char *) "self", NULL
3805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
3806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3809 result
= (int)wxIconLocation_GetIndex(arg1
);
3811 wxPyEndAllowThreads(__tstate
);
3812 if (PyErr_Occurred()) SWIG_fail
;
3814 resultobj
= SWIG_PyObj_FromInt((int)result
);
3821 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
3823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3824 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
3826 return Py_BuildValue((char *)"");
3828 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3829 PyObject
*resultobj
;
3830 wxIconBundle
*result
;
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
3837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3838 result
= (wxIconBundle
*)new wxIconBundle();
3840 wxPyEndAllowThreads(__tstate
);
3841 if (PyErr_Occurred()) SWIG_fail
;
3843 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3850 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3851 PyObject
*resultobj
;
3852 wxString
*arg1
= 0 ;
3854 wxIconBundle
*result
;
3855 bool temp1
= False
;
3856 PyObject
* obj0
= 0 ;
3857 PyObject
* obj1
= 0 ;
3859 (char *) "file",(char *) "type", NULL
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
3864 arg1
= wxString_in_helper(obj0
);
3865 if (arg1
== NULL
) SWIG_fail
;
3869 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3870 if (PyErr_Occurred()) SWIG_fail
;
3873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3874 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
3876 wxPyEndAllowThreads(__tstate
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3879 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3894 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
*resultobj
;
3897 wxIconBundle
*result
;
3898 PyObject
* obj0
= 0 ;
3900 (char *) "icon", NULL
3903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
3904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3906 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3910 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
3912 wxPyEndAllowThreads(__tstate
);
3913 if (PyErr_Occurred()) SWIG_fail
;
3915 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3922 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
*resultobj
;
3924 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3925 PyObject
* obj0
= 0 ;
3927 (char *) "self", NULL
3930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
3931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3936 wxPyEndAllowThreads(__tstate
);
3937 if (PyErr_Occurred()) SWIG_fail
;
3939 Py_INCREF(Py_None
); resultobj
= Py_None
;
3946 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
*resultobj
;
3948 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3950 PyObject
* obj0
= 0 ;
3951 PyObject
* obj1
= 0 ;
3953 (char *) "self",(char *) "icon", NULL
3956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3958 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3960 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3964 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
3966 wxPyEndAllowThreads(__tstate
);
3967 if (PyErr_Occurred()) SWIG_fail
;
3969 Py_INCREF(Py_None
); resultobj
= Py_None
;
3976 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3977 PyObject
*resultobj
;
3978 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3979 wxString
*arg2
= 0 ;
3981 bool temp2
= False
;
3982 PyObject
* obj0
= 0 ;
3983 PyObject
* obj1
= 0 ;
3984 PyObject
* obj2
= 0 ;
3986 (char *) "self",(char *) "file",(char *) "type", NULL
3989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3992 arg2
= wxString_in_helper(obj1
);
3993 if (arg2
== NULL
) SWIG_fail
;
3997 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3998 if (PyErr_Occurred()) SWIG_fail
;
4001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4002 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4004 wxPyEndAllowThreads(__tstate
);
4005 if (PyErr_Occurred()) SWIG_fail
;
4007 Py_INCREF(Py_None
); resultobj
= Py_None
;
4022 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4023 PyObject
*resultobj
;
4024 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4028 PyObject
* obj0
= 0 ;
4029 PyObject
* obj1
= 0 ;
4031 (char *) "self",(char *) "size", NULL
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4038 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4043 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4044 result
= (wxIcon
*) &_result_ref
;
4047 wxPyEndAllowThreads(__tstate
);
4048 if (PyErr_Occurred()) SWIG_fail
;
4050 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 0);
4057 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4060 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4062 return Py_BuildValue((char *)"");
4064 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4065 PyObject
*resultobj
;
4066 wxString
*arg1
= (wxString
*) 0 ;
4068 int arg3
= (int) 0 ;
4069 int arg4
= (int) 0 ;
4071 bool temp1
= False
;
4072 PyObject
* obj0
= 0 ;
4073 PyObject
* obj1
= 0 ;
4074 PyObject
* obj2
= 0 ;
4075 PyObject
* obj3
= 0 ;
4077 (char *) "cursorName",(char *) "flags",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4082 arg1
= wxString_in_helper(obj0
);
4083 if (arg1
== NULL
) SWIG_fail
;
4087 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4092 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4098 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4099 if (PyErr_Occurred()) SWIG_fail
;
4103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4104 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4109 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4124 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
*resultobj
;
4126 wxCursor
*arg1
= (wxCursor
*) 0 ;
4127 PyObject
* obj0
= 0 ;
4129 (char *) "self", NULL
4132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4138 wxPyEndAllowThreads(__tstate
);
4139 if (PyErr_Occurred()) SWIG_fail
;
4141 Py_INCREF(Py_None
); resultobj
= Py_None
;
4148 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4149 PyObject
*resultobj
;
4152 PyObject
* obj0
= 0 ;
4157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4159 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
4160 if (PyErr_Occurred()) SWIG_fail
;
4163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4164 result
= (wxCursor
*)new wxCursor(arg1
);
4166 wxPyEndAllowThreads(__tstate
);
4167 if (PyErr_Occurred()) SWIG_fail
;
4169 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4176 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4177 PyObject
*resultobj
;
4180 PyObject
* obj0
= 0 ;
4182 (char *) "image", NULL
4185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4188 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4194 wxPyEndAllowThreads(__tstate
);
4195 if (PyErr_Occurred()) SWIG_fail
;
4197 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4204 static PyObject
*_wrap_new_CursorFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
*resultobj
;
4206 PyObject
*arg1
= (PyObject
*) 0 ;
4209 int arg4
= (int) -1 ;
4210 int arg5
= (int) -1 ;
4211 PyObject
*arg6
= (PyObject
*) 0 ;
4213 PyObject
* obj0
= 0 ;
4214 PyObject
* obj1
= 0 ;
4215 PyObject
* obj2
= 0 ;
4216 PyObject
* obj3
= 0 ;
4217 PyObject
* obj4
= 0 ;
4218 PyObject
* obj5
= 0 ;
4220 (char *) "bits",(char *) "width",(char *) "height",(char *) "hotSpotX",(char *) "hotSpotY",(char *) "maskBits", NULL
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_CursorFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4226 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4230 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4235 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4241 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4242 if (PyErr_Occurred()) SWIG_fail
;
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4250 result
= (wxCursor
*)new_wxCursor(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4262 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
*resultobj
;
4264 wxCursor
*arg1
= (wxCursor
*) 0 ;
4266 PyObject
* obj0
= 0 ;
4268 (char *) "self", NULL
4271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 result
= (bool)(arg1
)->Ok();
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4280 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4287 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4290 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4292 return Py_BuildValue((char *)"");
4294 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
;
4296 int arg1
= (int) 0 ;
4297 int arg2
= (int) 0 ;
4298 int arg3
= (int) 0 ;
4299 int arg4
= (int) 0 ;
4301 PyObject
* obj0
= 0 ;
4302 PyObject
* obj1
= 0 ;
4303 PyObject
* obj2
= 0 ;
4304 PyObject
* obj3
= 0 ;
4306 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4312 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
4313 if (PyErr_Occurred()) SWIG_fail
;
4318 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4319 if (PyErr_Occurred()) SWIG_fail
;
4324 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4330 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4331 if (PyErr_Occurred()) SWIG_fail
;
4335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4336 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4338 wxPyEndAllowThreads(__tstate
);
4339 if (PyErr_Occurred()) SWIG_fail
;
4341 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4348 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
*resultobj
;
4350 wxBitmap
*arg1
= 0 ;
4351 wxColour
const &arg2_defvalue
= wxNullColour
;
4352 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4353 int arg3
= (int) 0 ;
4356 PyObject
* obj0
= 0 ;
4357 PyObject
* obj1
= 0 ;
4358 PyObject
* obj2
= 0 ;
4360 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4366 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4371 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4376 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4382 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4384 wxPyEndAllowThreads(__tstate
);
4385 if (PyErr_Occurred()) SWIG_fail
;
4387 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4394 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
*resultobj
;
4397 wxPoint
*arg2
= (wxPoint
*) 0 ;
4398 int arg3
= (int) wxWINDING_RULE
;
4400 PyObject
* obj0
= 0 ;
4401 PyObject
* obj1
= 0 ;
4403 (char *) "points",(char *) "fillStyle", NULL
4406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4408 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4409 if (arg2
== NULL
) SWIG_fail
;
4413 arg3
= (int) SWIG_PyObj_AsInt(obj1
);
4414 if (PyErr_Occurred()) SWIG_fail
;
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4424 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4426 if (arg2
) delete [] arg2
;
4431 if (arg2
) delete [] arg2
;
4437 static PyObject
*_wrap_delete_Region(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:delete_Region",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_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
*resultobj
;
4463 wxRegion
*arg1
= (wxRegion
*) 0 ;
4464 PyObject
* obj0
= 0 ;
4466 (char *) "self", NULL
4469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4478 Py_INCREF(Py_None
); resultobj
= Py_None
;
4485 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4486 PyObject
*resultobj
;
4487 wxRegion
*arg1
= (wxRegion
*) 0 ;
4491 PyObject
* obj0
= 0 ;
4492 PyObject
* obj1
= 0 ;
4493 PyObject
* obj2
= 0 ;
4495 (char *) "self",(char *) "x",(char *) "y", NULL
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4501 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4502 if (PyErr_Occurred()) SWIG_fail
;
4505 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4510 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
4512 wxPyEndAllowThreads(__tstate
);
4513 if (PyErr_Occurred()) SWIG_fail
;
4515 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4522 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
*resultobj
;
4524 wxRegion
*arg1
= (wxRegion
*) 0 ;
4528 PyObject
* obj0
= 0 ;
4529 PyObject
* obj1
= 0 ;
4530 PyObject
* obj2
= 0 ;
4532 (char *) "self",(char *) "x",(char *) "y", NULL
4535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4538 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4539 if (PyErr_Occurred()) SWIG_fail
;
4542 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4543 if (PyErr_Occurred()) SWIG_fail
;
4546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4547 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4549 wxPyEndAllowThreads(__tstate
);
4550 if (PyErr_Occurred()) SWIG_fail
;
4552 resultobj
= SWIG_PyObj_FromInt((int)result
);
4559 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4560 PyObject
*resultobj
;
4561 wxRegion
*arg1
= (wxRegion
*) 0 ;
4565 PyObject
* obj0
= 0 ;
4566 PyObject
* obj1
= 0 ;
4568 (char *) "self",(char *) "pt", NULL
4571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4575 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4584 resultobj
= SWIG_PyObj_FromInt((int)result
);
4591 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4592 PyObject
*resultobj
;
4593 wxRegion
*arg1
= (wxRegion
*) 0 ;
4597 PyObject
* obj0
= 0 ;
4598 PyObject
* obj1
= 0 ;
4600 (char *) "self",(char *) "rect", NULL
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4607 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4611 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4613 wxPyEndAllowThreads(__tstate
);
4614 if (PyErr_Occurred()) SWIG_fail
;
4616 resultobj
= SWIG_PyObj_FromInt((int)result
);
4623 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
*resultobj
;
4625 wxRegion
*arg1
= (wxRegion
*) 0 ;
4631 PyObject
* obj0
= 0 ;
4632 PyObject
* obj1
= 0 ;
4633 PyObject
* obj2
= 0 ;
4634 PyObject
* obj3
= 0 ;
4635 PyObject
* obj4
= 0 ;
4637 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4643 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4644 if (PyErr_Occurred()) SWIG_fail
;
4647 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4651 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4655 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4660 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4662 wxPyEndAllowThreads(__tstate
);
4663 if (PyErr_Occurred()) SWIG_fail
;
4665 resultobj
= SWIG_PyObj_FromInt((int)result
);
4672 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4673 PyObject
*resultobj
;
4674 wxRegion
*arg1
= (wxRegion
*) 0 ;
4676 PyObject
* obj0
= 0 ;
4678 (char *) "self", NULL
4681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
4682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4685 result
= (arg1
)->GetBox();
4687 wxPyEndAllowThreads(__tstate
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4692 resultptr
= new wxRect((wxRect
&) result
);
4693 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
4701 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4702 PyObject
*resultobj
;
4703 wxRegion
*arg1
= (wxRegion
*) 0 ;
4709 PyObject
* obj0
= 0 ;
4710 PyObject
* obj1
= 0 ;
4711 PyObject
* obj2
= 0 ;
4712 PyObject
* obj3
= 0 ;
4713 PyObject
* obj4
= 0 ;
4715 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4721 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4725 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4729 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4730 if (PyErr_Occurred()) SWIG_fail
;
4733 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4734 if (PyErr_Occurred()) SWIG_fail
;
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4743 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4750 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
*resultobj
;
4752 wxRegion
*arg1
= (wxRegion
*) 0 ;
4756 PyObject
* obj0
= 0 ;
4757 PyObject
* obj1
= 0 ;
4759 (char *) "self",(char *) "rect", NULL
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4766 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4770 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
4772 wxPyEndAllowThreads(__tstate
);
4773 if (PyErr_Occurred()) SWIG_fail
;
4775 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4782 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
*resultobj
;
4784 wxRegion
*arg1
= (wxRegion
*) 0 ;
4785 wxRegion
*arg2
= 0 ;
4787 PyObject
* obj0
= 0 ;
4788 PyObject
* obj1
= 0 ;
4790 (char *) "self",(char *) "region", NULL
4793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4795 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4797 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) SWIG_fail
;
4806 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4813 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4814 PyObject
*resultobj
;
4815 wxRegion
*arg1
= (wxRegion
*) 0 ;
4817 PyObject
* obj0
= 0 ;
4819 (char *) "self", NULL
4822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
4823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4826 result
= (bool)(arg1
)->IsEmpty();
4828 wxPyEndAllowThreads(__tstate
);
4829 if (PyErr_Occurred()) SWIG_fail
;
4831 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4838 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4839 PyObject
*resultobj
;
4840 wxRegion
*arg1
= (wxRegion
*) 0 ;
4846 PyObject
* obj0
= 0 ;
4847 PyObject
* obj1
= 0 ;
4848 PyObject
* obj2
= 0 ;
4849 PyObject
* obj3
= 0 ;
4850 PyObject
* obj4
= 0 ;
4852 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4858 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4862 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4863 if (PyErr_Occurred()) SWIG_fail
;
4866 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4867 if (PyErr_Occurred()) SWIG_fail
;
4870 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4871 if (PyErr_Occurred()) SWIG_fail
;
4874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4875 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
4877 wxPyEndAllowThreads(__tstate
);
4878 if (PyErr_Occurred()) SWIG_fail
;
4880 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4887 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4888 PyObject
*resultobj
;
4889 wxRegion
*arg1
= (wxRegion
*) 0 ;
4893 PyObject
* obj0
= 0 ;
4894 PyObject
* obj1
= 0 ;
4896 (char *) "self",(char *) "rect", NULL
4899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4903 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4907 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
4909 wxPyEndAllowThreads(__tstate
);
4910 if (PyErr_Occurred()) SWIG_fail
;
4912 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4919 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
*resultobj
;
4921 wxRegion
*arg1
= (wxRegion
*) 0 ;
4922 wxRegion
*arg2
= 0 ;
4924 PyObject
* obj0
= 0 ;
4925 PyObject
* obj1
= 0 ;
4927 (char *) "self",(char *) "region", NULL
4930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4932 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4934 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4938 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
4940 wxPyEndAllowThreads(__tstate
);
4941 if (PyErr_Occurred()) SWIG_fail
;
4943 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4950 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4951 PyObject
*resultobj
;
4952 wxRegion
*arg1
= (wxRegion
*) 0 ;
4958 PyObject
* obj0
= 0 ;
4959 PyObject
* obj1
= 0 ;
4960 PyObject
* obj2
= 0 ;
4961 PyObject
* obj3
= 0 ;
4962 PyObject
* obj4
= 0 ;
4964 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4970 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4974 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4975 if (PyErr_Occurred()) SWIG_fail
;
4978 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4979 if (PyErr_Occurred()) SWIG_fail
;
4982 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
4989 wxPyEndAllowThreads(__tstate
);
4990 if (PyErr_Occurred()) SWIG_fail
;
4992 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4999 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
*resultobj
;
5001 wxRegion
*arg1
= (wxRegion
*) 0 ;
5005 PyObject
* obj0
= 0 ;
5006 PyObject
* obj1
= 0 ;
5008 (char *) "self",(char *) "rect", NULL
5011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5015 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5019 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5021 wxPyEndAllowThreads(__tstate
);
5022 if (PyErr_Occurred()) SWIG_fail
;
5024 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5031 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
*resultobj
;
5033 wxRegion
*arg1
= (wxRegion
*) 0 ;
5034 wxRegion
*arg2
= 0 ;
5036 PyObject
* obj0
= 0 ;
5037 PyObject
* obj1
= 0 ;
5039 (char *) "self",(char *) "region", NULL
5042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5044 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5046 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5055 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5062 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
;
5064 wxRegion
*arg1
= (wxRegion
*) 0 ;
5070 PyObject
* obj0
= 0 ;
5071 PyObject
* obj1
= 0 ;
5072 PyObject
* obj2
= 0 ;
5073 PyObject
* obj3
= 0 ;
5074 PyObject
* obj4
= 0 ;
5076 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5082 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5083 if (PyErr_Occurred()) SWIG_fail
;
5086 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5090 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5094 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) SWIG_fail
;
5104 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5111 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
*resultobj
;
5113 wxRegion
*arg1
= (wxRegion
*) 0 ;
5117 PyObject
* obj0
= 0 ;
5118 PyObject
* obj1
= 0 ;
5120 (char *) "self",(char *) "rect", NULL
5123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5127 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5131 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) SWIG_fail
;
5136 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5143 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
*resultobj
;
5145 wxRegion
*arg1
= (wxRegion
*) 0 ;
5146 wxRegion
*arg2
= 0 ;
5148 PyObject
* obj0
= 0 ;
5149 PyObject
* obj1
= 0 ;
5151 (char *) "self",(char *) "region", NULL
5154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5156 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5158 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5167 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5174 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5175 PyObject
*resultobj
;
5176 wxRegion
*arg1
= (wxRegion
*) 0 ;
5177 SwigValueWrapper
< wxBitmap
> result
;
5178 PyObject
* obj0
= 0 ;
5180 (char *) "self", NULL
5183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5187 result
= (arg1
)->ConvertToBitmap();
5189 wxPyEndAllowThreads(__tstate
);
5190 if (PyErr_Occurred()) SWIG_fail
;
5193 wxBitmap
* resultptr
;
5194 resultptr
= new wxBitmap((wxBitmap
&) result
);
5195 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
5203 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
*resultobj
;
5205 wxRegion
*arg1
= (wxRegion
*) 0 ;
5206 wxBitmap
*arg2
= 0 ;
5207 wxColour
const &arg3_defvalue
= wxNullColour
;
5208 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
5209 int arg4
= (int) 0 ;
5212 PyObject
* obj0
= 0 ;
5213 PyObject
* obj1
= 0 ;
5214 PyObject
* obj2
= 0 ;
5215 PyObject
* obj3
= 0 ;
5217 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5222 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5224 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5229 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5234 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5245 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5252 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5255 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5257 return Py_BuildValue((char *)"");
5259 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5260 PyObject
*resultobj
;
5261 wxRegion
*arg1
= 0 ;
5262 wxRegionIterator
*result
;
5263 PyObject
* obj0
= 0 ;
5265 (char *) "region", NULL
5268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5271 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5275 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5277 wxPyEndAllowThreads(__tstate
);
5278 if (PyErr_Occurred()) SWIG_fail
;
5280 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegionIterator
, 1);
5287 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
*resultobj
;
5289 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5290 PyObject
* obj0
= 0 ;
5292 (char *) "self", NULL
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5304 Py_INCREF(Py_None
); resultobj
= Py_None
;
5311 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
*resultobj
;
5313 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5315 PyObject
* obj0
= 0 ;
5317 (char *) "self", NULL
5320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5324 result
= (int)(arg1
)->GetX();
5326 wxPyEndAllowThreads(__tstate
);
5327 if (PyErr_Occurred()) SWIG_fail
;
5329 resultobj
= SWIG_PyObj_FromInt((int)result
);
5336 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
*resultobj
;
5338 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5340 PyObject
* obj0
= 0 ;
5342 (char *) "self", NULL
5345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5349 result
= (int)(arg1
)->GetY();
5351 wxPyEndAllowThreads(__tstate
);
5352 if (PyErr_Occurred()) SWIG_fail
;
5354 resultobj
= SWIG_PyObj_FromInt((int)result
);
5361 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
*resultobj
;
5363 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5365 PyObject
* obj0
= 0 ;
5367 (char *) "self", NULL
5370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5374 result
= (int)(arg1
)->GetW();
5376 wxPyEndAllowThreads(__tstate
);
5377 if (PyErr_Occurred()) SWIG_fail
;
5379 resultobj
= SWIG_PyObj_FromInt((int)result
);
5386 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5387 PyObject
*resultobj
;
5388 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5390 PyObject
* obj0
= 0 ;
5392 (char *) "self", NULL
5395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5399 result
= (int)(arg1
)->GetWidth();
5401 wxPyEndAllowThreads(__tstate
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5404 resultobj
= SWIG_PyObj_FromInt((int)result
);
5411 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
*resultobj
;
5413 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5415 PyObject
* obj0
= 0 ;
5417 (char *) "self", NULL
5420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 result
= (int)(arg1
)->GetH();
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5429 resultobj
= SWIG_PyObj_FromInt((int)result
);
5436 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
*resultobj
;
5438 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5440 PyObject
* obj0
= 0 ;
5442 (char *) "self", NULL
5445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5449 result
= (int)(arg1
)->GetHeight();
5451 wxPyEndAllowThreads(__tstate
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5454 resultobj
= SWIG_PyObj_FromInt((int)result
);
5461 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
*resultobj
;
5463 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5465 PyObject
* obj0
= 0 ;
5467 (char *) "self", NULL
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5474 result
= (arg1
)->GetRect();
5476 wxPyEndAllowThreads(__tstate
);
5477 if (PyErr_Occurred()) SWIG_fail
;
5481 resultptr
= new wxRect((wxRect
&) result
);
5482 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
5490 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
*resultobj
;
5492 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5494 PyObject
* obj0
= 0 ;
5496 (char *) "self", NULL
5499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 result
= (bool)(arg1
)->HaveRects();
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) SWIG_fail
;
5508 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5515 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5516 PyObject
*resultobj
;
5517 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5518 PyObject
* obj0
= 0 ;
5520 (char *) "self", NULL
5523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5529 wxPyEndAllowThreads(__tstate
);
5530 if (PyErr_Occurred()) SWIG_fail
;
5532 Py_INCREF(Py_None
); resultobj
= Py_None
;
5539 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5540 PyObject
*resultobj
;
5541 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5542 PyObject
* obj0
= 0 ;
5544 (char *) "self", NULL
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 wxRegionIterator_Next(arg1
);
5553 wxPyEndAllowThreads(__tstate
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5556 Py_INCREF(Py_None
); resultobj
= Py_None
;
5563 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
*resultobj
;
5565 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5567 PyObject
* obj0
= 0 ;
5569 (char *) "self", NULL
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5576 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5581 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5588 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
5590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5591 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
5593 return Py_BuildValue((char *)"");
5595 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
*resultobj
;
5597 wxNativeFontInfo
*result
;
5602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
5604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5605 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
5607 wxPyEndAllowThreads(__tstate
);
5608 if (PyErr_Occurred()) SWIG_fail
;
5610 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 1);
5617 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5618 PyObject
*resultobj
;
5619 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5620 PyObject
* obj0
= 0 ;
5622 (char *) "self", NULL
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
5626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5634 Py_INCREF(Py_None
); resultobj
= Py_None
;
5641 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
*resultobj
;
5643 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5644 PyObject
* obj0
= 0 ;
5646 (char *) "self", NULL
5649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
5650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 wxPyEndAllowThreads(__tstate
);
5656 if (PyErr_Occurred()) SWIG_fail
;
5658 Py_INCREF(Py_None
); resultobj
= Py_None
;
5665 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
*resultobj
;
5667 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5669 PyObject
* obj0
= 0 ;
5670 PyObject
* obj1
= 0 ;
5672 (char *) "self",(char *) "font", NULL
5675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
5676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5677 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5679 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5683 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
5685 wxPyEndAllowThreads(__tstate
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5688 Py_INCREF(Py_None
); resultobj
= Py_None
;
5695 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
*resultobj
;
5697 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5699 PyObject
* obj0
= 0 ;
5701 (char *) "self", NULL
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
5705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5708 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
5710 wxPyEndAllowThreads(__tstate
);
5711 if (PyErr_Occurred()) SWIG_fail
;
5713 resultobj
= SWIG_PyObj_FromInt((int)result
);
5720 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5721 PyObject
*resultobj
;
5722 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5724 PyObject
* obj0
= 0 ;
5726 (char *) "self", NULL
5729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
5730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5738 resultobj
= SWIG_PyObj_FromInt((int)result
);
5745 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5749 PyObject
* obj0
= 0 ;
5751 (char *) "self", NULL
5754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
5755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5763 resultobj
= SWIG_PyObj_FromInt((int)result
);
5770 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
*resultobj
;
5772 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5774 PyObject
* obj0
= 0 ;
5776 (char *) "self", NULL
5779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
5780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5788 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5795 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5796 PyObject
*resultobj
;
5797 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5799 PyObject
* obj0
= 0 ;
5801 (char *) "self", NULL
5804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
5805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5808 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
5810 wxPyEndAllowThreads(__tstate
);
5811 if (PyErr_Occurred()) SWIG_fail
;
5815 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5817 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5826 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5827 PyObject
*resultobj
;
5828 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5830 PyObject
* obj0
= 0 ;
5832 (char *) "self", NULL
5835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
5836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5839 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
5841 wxPyEndAllowThreads(__tstate
);
5842 if (PyErr_Occurred()) SWIG_fail
;
5844 resultobj
= SWIG_PyObj_FromInt((int)result
);
5851 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
*resultobj
;
5853 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5855 PyObject
* obj0
= 0 ;
5857 (char *) "self", NULL
5860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
5861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5864 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
5866 wxPyEndAllowThreads(__tstate
);
5867 if (PyErr_Occurred()) SWIG_fail
;
5869 resultobj
= SWIG_PyObj_FromInt((int)result
);
5876 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
*resultobj
;
5878 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5880 PyObject
* obj0
= 0 ;
5881 PyObject
* obj1
= 0 ;
5883 (char *) "self",(char *) "pointsize", NULL
5886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5889 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5894 (arg1
)->SetPointSize(arg2
);
5896 wxPyEndAllowThreads(__tstate
);
5897 if (PyErr_Occurred()) SWIG_fail
;
5899 Py_INCREF(Py_None
); resultobj
= Py_None
;
5906 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5907 PyObject
*resultobj
;
5908 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5910 PyObject
* obj0
= 0 ;
5911 PyObject
* obj1
= 0 ;
5913 (char *) "self",(char *) "style", NULL
5916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
5917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5919 arg2
= (wxFontStyle
) SWIG_PyObj_AsInt(obj1
);
5920 if (PyErr_Occurred()) SWIG_fail
;
5923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 (arg1
)->SetStyle((wxFontStyle
)arg2
);
5926 wxPyEndAllowThreads(__tstate
);
5927 if (PyErr_Occurred()) SWIG_fail
;
5929 Py_INCREF(Py_None
); resultobj
= Py_None
;
5936 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5937 PyObject
*resultobj
;
5938 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5940 PyObject
* obj0
= 0 ;
5941 PyObject
* obj1
= 0 ;
5943 (char *) "self",(char *) "weight", NULL
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5949 arg2
= (wxFontWeight
) SWIG_PyObj_AsInt(obj1
);
5950 if (PyErr_Occurred()) SWIG_fail
;
5953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 (arg1
)->SetWeight((wxFontWeight
)arg2
);
5956 wxPyEndAllowThreads(__tstate
);
5957 if (PyErr_Occurred()) SWIG_fail
;
5959 Py_INCREF(Py_None
); resultobj
= Py_None
;
5966 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
*resultobj
;
5968 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5970 PyObject
* obj0
= 0 ;
5971 PyObject
* obj1
= 0 ;
5973 (char *) "self",(char *) "underlined", NULL
5976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
5977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5979 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
5980 if (PyErr_Occurred()) SWIG_fail
;
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5984 (arg1
)->SetUnderlined(arg2
);
5986 wxPyEndAllowThreads(__tstate
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5989 Py_INCREF(Py_None
); resultobj
= Py_None
;
5996 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5997 PyObject
*resultobj
;
5998 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6000 PyObject
* obj0
= 0 ;
6001 PyObject
* obj1
= 0 ;
6003 (char *) "self",(char *) "facename", NULL
6006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6009 wxString
* sptr
= wxString_in_helper(obj1
);
6010 if (sptr
== NULL
) SWIG_fail
;
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 (arg1
)->SetFaceName(arg2
);
6018 wxPyEndAllowThreads(__tstate
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6021 Py_INCREF(Py_None
); resultobj
= Py_None
;
6028 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
*resultobj
;
6030 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6032 PyObject
* obj0
= 0 ;
6033 PyObject
* obj1
= 0 ;
6035 (char *) "self",(char *) "family", NULL
6038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6041 arg2
= (wxFontFamily
) SWIG_PyObj_AsInt(obj1
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6051 Py_INCREF(Py_None
); resultobj
= Py_None
;
6058 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6059 PyObject
*resultobj
;
6060 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6062 PyObject
* obj0
= 0 ;
6063 PyObject
* obj1
= 0 ;
6065 (char *) "self",(char *) "encoding", NULL
6068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6071 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6078 wxPyEndAllowThreads(__tstate
);
6079 if (PyErr_Occurred()) SWIG_fail
;
6081 Py_INCREF(Py_None
); resultobj
= Py_None
;
6088 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
*resultobj
;
6090 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6091 wxString
*arg2
= 0 ;
6093 bool temp2
= False
;
6094 PyObject
* obj0
= 0 ;
6095 PyObject
* obj1
= 0 ;
6097 (char *) "self",(char *) "s", NULL
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6103 arg2
= wxString_in_helper(obj1
);
6104 if (arg2
== NULL
) SWIG_fail
;
6108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6109 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6111 wxPyEndAllowThreads(__tstate
);
6112 if (PyErr_Occurred()) SWIG_fail
;
6114 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6129 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
*resultobj
;
6131 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6133 PyObject
* obj0
= 0 ;
6135 (char *) "self", NULL
6138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6142 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6144 wxPyEndAllowThreads(__tstate
);
6145 if (PyErr_Occurred()) SWIG_fail
;
6149 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6151 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6160 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6161 PyObject
*resultobj
;
6162 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6164 PyObject
* obj0
= 0 ;
6166 (char *) "self", NULL
6169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 result
= wxNativeFontInfo___str__(arg1
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6180 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6182 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6191 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
*resultobj
;
6193 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6194 wxString
*arg2
= 0 ;
6196 bool temp2
= False
;
6197 PyObject
* obj0
= 0 ;
6198 PyObject
* obj1
= 0 ;
6200 (char *) "self",(char *) "s", NULL
6203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6206 arg2
= wxString_in_helper(obj1
);
6207 if (arg2
== NULL
) SWIG_fail
;
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6212 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6217 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6232 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6233 PyObject
*resultobj
;
6234 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6236 PyObject
* obj0
= 0 ;
6238 (char *) "self", NULL
6241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6245 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6247 wxPyEndAllowThreads(__tstate
);
6248 if (PyErr_Occurred()) SWIG_fail
;
6252 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6254 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6263 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6266 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6268 return Py_BuildValue((char *)"");
6270 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6271 PyObject
*resultobj
;
6272 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6273 wxString
*arg2
= (wxString
*) 0 ;
6274 bool temp2
= False
;
6275 PyObject
* obj0
= 0 ;
6276 PyObject
* obj1
= 0 ;
6278 (char *) "self",(char *) "facename", NULL
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6284 arg2
= wxString_in_helper(obj1
);
6285 if (arg2
== NULL
) SWIG_fail
;
6288 if (arg1
) (arg1
)->facename
= *arg2
;
6290 Py_INCREF(Py_None
); resultobj
= Py_None
;
6305 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6306 PyObject
*resultobj
;
6307 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6309 PyObject
* obj0
= 0 ;
6311 (char *) "self", NULL
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6316 result
= (wxString
*)& ((arg1
)->facename
);
6320 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6322 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6331 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
;
6333 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6335 PyObject
* obj0
= 0 ;
6336 PyObject
* obj1
= 0 ;
6338 (char *) "self",(char *) "encoding", NULL
6341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6344 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6347 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6349 Py_INCREF(Py_None
); resultobj
= Py_None
;
6356 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6357 PyObject
*resultobj
;
6358 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6360 PyObject
* obj0
= 0 ;
6362 (char *) "self", NULL
6365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6367 result
= (int) ((arg1
)->encoding
);
6369 resultobj
= SWIG_PyObj_FromInt((int)result
);
6376 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
;
6378 wxNativeEncodingInfo
*result
;
6383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6386 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) SWIG_fail
;
6391 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6398 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
*resultobj
;
6400 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6401 PyObject
* obj0
= 0 ;
6403 (char *) "self", NULL
6406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 wxPyEndAllowThreads(__tstate
);
6413 if (PyErr_Occurred()) SWIG_fail
;
6415 Py_INCREF(Py_None
); resultobj
= Py_None
;
6422 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6423 PyObject
*resultobj
;
6424 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6425 wxString
*arg2
= 0 ;
6427 bool temp2
= False
;
6428 PyObject
* obj0
= 0 ;
6429 PyObject
* obj1
= 0 ;
6431 (char *) "self",(char *) "s", NULL
6434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6437 arg2
= wxString_in_helper(obj1
);
6438 if (arg2
== NULL
) SWIG_fail
;
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6448 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6463 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
*resultobj
;
6465 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6467 PyObject
* obj0
= 0 ;
6469 (char *) "self", NULL
6472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6476 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6478 wxPyEndAllowThreads(__tstate
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6483 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6485 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6494 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6497 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6499 return Py_BuildValue((char *)"");
6501 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
*resultobj
;
6504 wxNativeEncodingInfo
*result
;
6505 PyObject
* obj0
= 0 ;
6507 (char *) "encoding", NULL
6510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
6512 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6519 wxPyEndAllowThreads(__tstate
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6522 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6529 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6530 PyObject
*resultobj
;
6531 wxNativeEncodingInfo
*arg1
= 0 ;
6533 PyObject
* obj0
= 0 ;
6535 (char *) "info", NULL
6538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6541 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) SWIG_fail
;
6550 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6557 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
*resultobj
;
6559 wxFontMapper
*result
;
6564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
6566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6567 result
= (wxFontMapper
*)new wxFontMapper();
6569 wxPyEndAllowThreads(__tstate
);
6570 if (PyErr_Occurred()) SWIG_fail
;
6572 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 1);
6579 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6580 PyObject
*resultobj
;
6581 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6582 PyObject
* obj0
= 0 ;
6584 (char *) "self", NULL
6587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
6588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 wxPyEndAllowThreads(__tstate
);
6594 if (PyErr_Occurred()) SWIG_fail
;
6596 Py_INCREF(Py_None
); resultobj
= Py_None
;
6603 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
*resultobj
;
6605 wxFontMapper
*result
;
6610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
6612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6613 result
= (wxFontMapper
*)wxFontMapper::Get();
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6618 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
6625 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
*resultobj
;
6627 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6628 wxFontMapper
*result
;
6629 PyObject
* obj0
= 0 ;
6631 (char *) "mapper", NULL
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
6635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6638 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
6640 wxPyEndAllowThreads(__tstate
);
6641 if (PyErr_Occurred()) SWIG_fail
;
6643 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
6650 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
*resultobj
;
6652 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6653 wxString
*arg2
= 0 ;
6654 bool arg3
= (bool) True
;
6656 bool temp2
= False
;
6657 PyObject
* obj0
= 0 ;
6658 PyObject
* obj1
= 0 ;
6659 PyObject
* obj2
= 0 ;
6661 (char *) "self",(char *) "charset",(char *) "interactive", NULL
6664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6667 arg2
= wxString_in_helper(obj1
);
6668 if (arg2
== NULL
) SWIG_fail
;
6673 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6679 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6684 resultobj
= SWIG_PyObj_FromInt((int)result
);
6699 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
*resultobj
;
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
6708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6709 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6714 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
6721 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6722 PyObject
*resultobj
;
6725 PyObject
* obj0
= 0 ;
6730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
6732 arg1
= (size_t) SWIG_PyObj_AsUnsignedLong(obj0
);
6733 if (PyErr_Occurred()) SWIG_fail
;
6736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6737 result
= (int)wxFontMapper::GetEncoding(arg1
);
6739 wxPyEndAllowThreads(__tstate
);
6740 if (PyErr_Occurred()) SWIG_fail
;
6742 resultobj
= SWIG_PyObj_FromInt((int)result
);
6749 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6750 PyObject
*resultobj
;
6753 PyObject
* obj0
= 0 ;
6755 (char *) "encoding", NULL
6758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
6760 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
6761 if (PyErr_Occurred()) SWIG_fail
;
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6772 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6774 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6783 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6784 PyObject
*resultobj
;
6787 PyObject
* obj0
= 0 ;
6789 (char *) "encoding", NULL
6792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
6794 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
6795 if (PyErr_Occurred()) SWIG_fail
;
6798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6799 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
6801 wxPyEndAllowThreads(__tstate
);
6802 if (PyErr_Occurred()) SWIG_fail
;
6806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6817 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
*resultobj
;
6819 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6820 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
6821 PyObject
* obj0
= 0 ;
6822 PyObject
* obj1
= 0 ;
6824 (char *) "self",(char *) "config", NULL
6827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
6828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6829 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6832 (arg1
)->SetConfig(arg2
);
6834 wxPyEndAllowThreads(__tstate
);
6835 if (PyErr_Occurred()) SWIG_fail
;
6837 Py_INCREF(Py_None
); resultobj
= Py_None
;
6844 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6845 PyObject
*resultobj
;
6846 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6847 wxString
*arg2
= 0 ;
6848 bool temp2
= False
;
6849 PyObject
* obj0
= 0 ;
6850 PyObject
* obj1
= 0 ;
6852 (char *) "self",(char *) "prefix", NULL
6855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
6856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6858 arg2
= wxString_in_helper(obj1
);
6859 if (arg2
== NULL
) SWIG_fail
;
6863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6864 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6869 Py_INCREF(Py_None
); resultobj
= Py_None
;
6884 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
;
6891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 result
= wxFontMapper::GetDefaultConfigPath();
6896 wxPyEndAllowThreads(__tstate
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6912 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6913 PyObject
*resultobj
;
6914 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6916 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6917 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6918 bool arg4
= (bool) True
;
6920 bool temp3
= False
;
6921 PyObject
* obj0
= 0 ;
6922 PyObject
* obj1
= 0 ;
6923 PyObject
* obj2
= 0 ;
6924 PyObject
* obj3
= 0 ;
6926 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6932 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6937 arg3
= wxString_in_helper(obj2
);
6938 if (arg3
== NULL
) SWIG_fail
;
6944 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
6945 if (PyErr_Occurred()) SWIG_fail
;
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6970 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
;
6972 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6974 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6975 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6977 bool temp3
= False
;
6978 PyObject
* obj0
= 0 ;
6979 PyObject
* obj1
= 0 ;
6980 PyObject
* obj2
= 0 ;
6982 (char *) "self",(char *) "encoding",(char *) "facename", NULL
6985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6988 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
6989 if (PyErr_Occurred()) SWIG_fail
;
6993 arg3
= wxString_in_helper(obj2
);
6994 if (arg3
== NULL
) SWIG_fail
;
6999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7000 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7002 wxPyEndAllowThreads(__tstate
);
7003 if (PyErr_Occurred()) SWIG_fail
;
7005 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7020 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
*resultobj
;
7022 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7023 wxWindow
*arg2
= (wxWindow
*) 0 ;
7024 PyObject
* obj0
= 0 ;
7025 PyObject
* obj1
= 0 ;
7027 (char *) "self",(char *) "parent", NULL
7030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7032 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7035 (arg1
)->SetDialogParent(arg2
);
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7040 Py_INCREF(Py_None
); resultobj
= Py_None
;
7047 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
*resultobj
;
7049 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7050 wxString
*arg2
= 0 ;
7051 bool temp2
= False
;
7052 PyObject
* obj0
= 0 ;
7053 PyObject
* obj1
= 0 ;
7055 (char *) "self",(char *) "title", NULL
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7061 arg2
= wxString_in_helper(obj1
);
7062 if (arg2
== NULL
) SWIG_fail
;
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7072 Py_INCREF(Py_None
); resultobj
= Py_None
;
7087 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7090 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7092 return Py_BuildValue((char *)"");
7094 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7095 PyObject
*resultobj
;
7100 bool arg5
= (bool) False
;
7101 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7102 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7103 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7105 bool temp6
= False
;
7106 PyObject
* obj0
= 0 ;
7107 PyObject
* obj1
= 0 ;
7108 PyObject
* obj2
= 0 ;
7109 PyObject
* obj3
= 0 ;
7110 PyObject
* obj4
= 0 ;
7111 PyObject
* obj5
= 0 ;
7112 PyObject
* obj6
= 0 ;
7114 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7119 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7120 if (PyErr_Occurred()) SWIG_fail
;
7123 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7124 if (PyErr_Occurred()) SWIG_fail
;
7127 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7131 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
7132 if (PyErr_Occurred()) SWIG_fail
;
7136 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
7137 if (PyErr_Occurred()) SWIG_fail
;
7142 arg6
= wxString_in_helper(obj5
);
7143 if (arg6
== NULL
) SWIG_fail
;
7149 arg7
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj6
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7155 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7160 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7175 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
*resultobj
;
7177 wxFont
*arg1
= (wxFont
*) 0 ;
7178 PyObject
* obj0
= 0 ;
7180 (char *) "self", NULL
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 wxPyEndAllowThreads(__tstate
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7192 Py_INCREF(Py_None
); resultobj
= Py_None
;
7199 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
*resultobj
;
7201 wxNativeFontInfo
*arg1
= 0 ;
7203 PyObject
* obj0
= 0 ;
7205 (char *) "info", NULL
7208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7211 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7215 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7217 wxPyEndAllowThreads(__tstate
);
7218 if (PyErr_Occurred()) SWIG_fail
;
7220 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7227 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7228 PyObject
*resultobj
;
7229 wxString
*arg1
= 0 ;
7231 bool temp1
= False
;
7232 PyObject
* obj0
= 0 ;
7234 (char *) "info", NULL
7237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7239 arg1
= wxString_in_helper(obj0
);
7240 if (arg1
== NULL
) SWIG_fail
;
7244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7245 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7247 wxPyEndAllowThreads(__tstate
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7250 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7265 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
*resultobj
;
7269 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7270 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7271 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7272 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7274 bool temp4
= False
;
7275 PyObject
* obj0
= 0 ;
7276 PyObject
* obj1
= 0 ;
7277 PyObject
* obj2
= 0 ;
7278 PyObject
* obj3
= 0 ;
7279 PyObject
* obj4
= 0 ;
7281 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7286 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7290 arg2
= (wxFontFamily
) SWIG_PyObj_AsInt(obj1
);
7291 if (PyErr_Occurred()) SWIG_fail
;
7295 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7296 if (PyErr_Occurred()) SWIG_fail
;
7301 arg4
= wxString_in_helper(obj3
);
7302 if (arg4
== NULL
) SWIG_fail
;
7308 arg5
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj4
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7314 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7316 wxPyEndAllowThreads(__tstate
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7319 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7334 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7335 PyObject
*resultobj
;
7336 wxFont
*arg1
= (wxFont
*) 0 ;
7338 PyObject
* obj0
= 0 ;
7340 (char *) "self", NULL
7343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 result
= (bool)((wxFont
const *)arg1
)->Ok();
7349 wxPyEndAllowThreads(__tstate
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7352 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7359 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
*resultobj
;
7361 wxFont
*arg1
= (wxFont
*) 0 ;
7364 PyObject
* obj0
= 0 ;
7365 PyObject
* obj1
= 0 ;
7367 (char *) "self",(char *) "font", NULL
7370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7372 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7374 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7378 result
= (bool)((wxFont
const *)arg1
)->operator ==((wxFont
const &)*arg2
);
7380 wxPyEndAllowThreads(__tstate
);
7381 if (PyErr_Occurred()) SWIG_fail
;
7383 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7390 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7391 PyObject
*resultobj
;
7392 wxFont
*arg1
= (wxFont
*) 0 ;
7395 PyObject
* obj0
= 0 ;
7396 PyObject
* obj1
= 0 ;
7398 (char *) "self",(char *) "font", NULL
7401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7403 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7405 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7409 result
= (bool)((wxFont
const *)arg1
)->operator !=((wxFont
const &)*arg2
);
7411 wxPyEndAllowThreads(__tstate
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7414 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7421 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7422 PyObject
*resultobj
;
7423 wxFont
*arg1
= (wxFont
*) 0 ;
7425 PyObject
* obj0
= 0 ;
7427 (char *) "self", NULL
7430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7436 wxPyEndAllowThreads(__tstate
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7439 resultobj
= SWIG_PyObj_FromInt((int)result
);
7446 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
*resultobj
;
7448 wxFont
*arg1
= (wxFont
*) 0 ;
7450 PyObject
* obj0
= 0 ;
7452 (char *) "self", NULL
7455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7464 resultobj
= SWIG_PyObj_FromInt((int)result
);
7471 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
*resultobj
;
7473 wxFont
*arg1
= (wxFont
*) 0 ;
7475 PyObject
* obj0
= 0 ;
7477 (char *) "self", NULL
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
7481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7484 result
= (int)((wxFont
const *)arg1
)->GetStyle();
7486 wxPyEndAllowThreads(__tstate
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7489 resultobj
= SWIG_PyObj_FromInt((int)result
);
7496 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
*resultobj
;
7498 wxFont
*arg1
= (wxFont
*) 0 ;
7500 PyObject
* obj0
= 0 ;
7502 (char *) "self", NULL
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
7506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 result
= (int)((wxFont
const *)arg1
)->GetWeight();
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7514 resultobj
= SWIG_PyObj_FromInt((int)result
);
7521 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
*resultobj
;
7523 wxFont
*arg1
= (wxFont
*) 0 ;
7525 PyObject
* obj0
= 0 ;
7527 (char *) "self", NULL
7530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7539 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7546 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7547 PyObject
*resultobj
;
7548 wxFont
*arg1
= (wxFont
*) 0 ;
7550 PyObject
* obj0
= 0 ;
7552 (char *) "self", NULL
7555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
7556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 result
= ((wxFont
const *)arg1
)->GetFaceName();
7561 wxPyEndAllowThreads(__tstate
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7577 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
;
7579 wxFont
*arg1
= (wxFont
*) 0 ;
7581 PyObject
* obj0
= 0 ;
7583 (char *) "self", NULL
7586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
7587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7590 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
7592 wxPyEndAllowThreads(__tstate
);
7593 if (PyErr_Occurred()) SWIG_fail
;
7595 resultobj
= SWIG_PyObj_FromInt((int)result
);
7602 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7603 PyObject
*resultobj
;
7604 wxFont
*arg1
= (wxFont
*) 0 ;
7605 wxNativeFontInfo
*result
;
7606 PyObject
* obj0
= 0 ;
7608 (char *) "self", NULL
7611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
7612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7620 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 0);
7627 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
*resultobj
;
7629 wxFont
*arg1
= (wxFont
*) 0 ;
7631 PyObject
* obj0
= 0 ;
7633 (char *) "self", NULL
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
7637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7640 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
7642 wxPyEndAllowThreads(__tstate
);
7643 if (PyErr_Occurred()) SWIG_fail
;
7645 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7652 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7653 PyObject
*resultobj
;
7654 wxFont
*arg1
= (wxFont
*) 0 ;
7656 PyObject
* obj0
= 0 ;
7658 (char *) "self", NULL
7661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
7662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7665 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
7667 wxPyEndAllowThreads(__tstate
);
7668 if (PyErr_Occurred()) SWIG_fail
;
7672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7683 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7684 PyObject
*resultobj
;
7685 wxFont
*arg1
= (wxFont
*) 0 ;
7687 PyObject
* obj0
= 0 ;
7689 (char *) "self", NULL
7692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
7693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7696 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
7698 wxPyEndAllowThreads(__tstate
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7703 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7705 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7714 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7715 PyObject
*resultobj
;
7716 wxFont
*arg1
= (wxFont
*) 0 ;
7718 PyObject
* obj0
= 0 ;
7719 PyObject
* obj1
= 0 ;
7721 (char *) "self",(char *) "pointSize", NULL
7724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7727 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7732 (arg1
)->SetPointSize(arg2
);
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7737 Py_INCREF(Py_None
); resultobj
= Py_None
;
7744 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7745 PyObject
*resultobj
;
7746 wxFont
*arg1
= (wxFont
*) 0 ;
7748 PyObject
* obj0
= 0 ;
7749 PyObject
* obj1
= 0 ;
7751 (char *) "self",(char *) "family", NULL
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
7755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7757 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 (arg1
)->SetFamily(arg2
);
7764 wxPyEndAllowThreads(__tstate
);
7765 if (PyErr_Occurred()) SWIG_fail
;
7767 Py_INCREF(Py_None
); resultobj
= Py_None
;
7774 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7775 PyObject
*resultobj
;
7776 wxFont
*arg1
= (wxFont
*) 0 ;
7778 PyObject
* obj0
= 0 ;
7779 PyObject
* obj1
= 0 ;
7781 (char *) "self",(char *) "style", NULL
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7787 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 (arg1
)->SetStyle(arg2
);
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7797 Py_INCREF(Py_None
); resultobj
= Py_None
;
7804 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
;
7806 wxFont
*arg1
= (wxFont
*) 0 ;
7808 PyObject
* obj0
= 0 ;
7809 PyObject
* obj1
= 0 ;
7811 (char *) "self",(char *) "weight", NULL
7814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7817 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7818 if (PyErr_Occurred()) SWIG_fail
;
7821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7822 (arg1
)->SetWeight(arg2
);
7824 wxPyEndAllowThreads(__tstate
);
7825 if (PyErr_Occurred()) SWIG_fail
;
7827 Py_INCREF(Py_None
); resultobj
= Py_None
;
7834 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
*resultobj
;
7836 wxFont
*arg1
= (wxFont
*) 0 ;
7837 wxString
*arg2
= 0 ;
7838 bool temp2
= False
;
7839 PyObject
* obj0
= 0 ;
7840 PyObject
* obj1
= 0 ;
7842 (char *) "self",(char *) "faceName", NULL
7845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
7846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7848 arg2
= wxString_in_helper(obj1
);
7849 if (arg2
== NULL
) SWIG_fail
;
7853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7854 (arg1
)->SetFaceName((wxString
const &)*arg2
);
7856 wxPyEndAllowThreads(__tstate
);
7857 if (PyErr_Occurred()) SWIG_fail
;
7859 Py_INCREF(Py_None
); resultobj
= Py_None
;
7874 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7875 PyObject
*resultobj
;
7876 wxFont
*arg1
= (wxFont
*) 0 ;
7878 PyObject
* obj0
= 0 ;
7879 PyObject
* obj1
= 0 ;
7881 (char *) "self",(char *) "underlined", NULL
7884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
7885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7887 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7888 if (PyErr_Occurred()) SWIG_fail
;
7891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7892 (arg1
)->SetUnderlined(arg2
);
7894 wxPyEndAllowThreads(__tstate
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7897 Py_INCREF(Py_None
); resultobj
= Py_None
;
7904 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7905 PyObject
*resultobj
;
7906 wxFont
*arg1
= (wxFont
*) 0 ;
7908 PyObject
* obj0
= 0 ;
7909 PyObject
* obj1
= 0 ;
7911 (char *) "self",(char *) "encoding", NULL
7914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
7915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7917 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
7918 if (PyErr_Occurred()) SWIG_fail
;
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7927 Py_INCREF(Py_None
); resultobj
= Py_None
;
7934 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7935 PyObject
*resultobj
;
7936 wxFont
*arg1
= (wxFont
*) 0 ;
7937 wxNativeFontInfo
*arg2
= 0 ;
7938 PyObject
* obj0
= 0 ;
7939 PyObject
* obj1
= 0 ;
7941 (char *) "self",(char *) "info", NULL
7944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
7945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7946 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7948 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7952 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
7954 wxPyEndAllowThreads(__tstate
);
7955 if (PyErr_Occurred()) SWIG_fail
;
7957 Py_INCREF(Py_None
); resultobj
= Py_None
;
7964 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7965 PyObject
*resultobj
;
7966 wxFont
*arg1
= (wxFont
*) 0 ;
7967 wxString
*arg2
= 0 ;
7968 bool temp2
= False
;
7969 PyObject
* obj0
= 0 ;
7970 PyObject
* obj1
= 0 ;
7972 (char *) "self",(char *) "info", NULL
7975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7978 arg2
= wxString_in_helper(obj1
);
7979 if (arg2
== NULL
) SWIG_fail
;
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7989 Py_INCREF(Py_None
); resultobj
= Py_None
;
8004 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8005 PyObject
*resultobj
;
8006 wxFont
*arg1
= (wxFont
*) 0 ;
8007 wxString
*arg2
= 0 ;
8008 bool temp2
= False
;
8009 PyObject
* obj0
= 0 ;
8010 PyObject
* obj1
= 0 ;
8012 (char *) "self",(char *) "info", NULL
8015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8018 arg2
= wxString_in_helper(obj1
);
8019 if (arg2
== NULL
) SWIG_fail
;
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8029 Py_INCREF(Py_None
); resultobj
= Py_None
;
8044 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8045 PyObject
*resultobj
;
8046 wxFont
*arg1
= (wxFont
*) 0 ;
8048 PyObject
* obj0
= 0 ;
8050 (char *) "self", NULL
8053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8057 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8059 wxPyEndAllowThreads(__tstate
);
8060 if (PyErr_Occurred()) SWIG_fail
;
8064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8075 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8076 PyObject
*resultobj
;
8077 wxFont
*arg1
= (wxFont
*) 0 ;
8079 PyObject
* obj0
= 0 ;
8081 (char *) "self", NULL
8084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8088 result
= ((wxFont
const *)arg1
)->GetStyleString();
8090 wxPyEndAllowThreads(__tstate
);
8091 if (PyErr_Occurred()) SWIG_fail
;
8095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8106 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8107 PyObject
*resultobj
;
8108 wxFont
*arg1
= (wxFont
*) 0 ;
8110 PyObject
* obj0
= 0 ;
8112 (char *) "self", NULL
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8119 result
= ((wxFont
const *)arg1
)->GetWeightString();
8121 wxPyEndAllowThreads(__tstate
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8126 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8128 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8137 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8138 PyObject
*resultobj
;
8139 wxFont
*arg1
= (wxFont
*) 0 ;
8140 bool arg2
= (bool) True
;
8141 PyObject
* obj0
= 0 ;
8142 PyObject
* obj1
= 0 ;
8144 (char *) "self",(char *) "no", NULL
8147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8151 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8157 (arg1
)->SetNoAntiAliasing(arg2
);
8159 wxPyEndAllowThreads(__tstate
);
8160 if (PyErr_Occurred()) SWIG_fail
;
8162 Py_INCREF(Py_None
); resultobj
= Py_None
;
8169 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8170 PyObject
*resultobj
;
8171 wxFont
*arg1
= (wxFont
*) 0 ;
8173 PyObject
* obj0
= 0 ;
8175 (char *) "self", NULL
8178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8182 result
= (bool)(arg1
)->GetNoAntiAliasing();
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8187 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8194 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8195 PyObject
*resultobj
;
8201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8204 result
= (int)wxFont::GetDefaultEncoding();
8206 wxPyEndAllowThreads(__tstate
);
8207 if (PyErr_Occurred()) SWIG_fail
;
8209 resultobj
= SWIG_PyObj_FromInt((int)result
);
8216 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8217 PyObject
*resultobj
;
8219 PyObject
* obj0
= 0 ;
8221 (char *) "encoding", NULL
8224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8226 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8236 Py_INCREF(Py_None
); resultobj
= Py_None
;
8243 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
8245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8246 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8248 return Py_BuildValue((char *)"");
8250 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8251 PyObject
*resultobj
;
8252 wxPyFontEnumerator
*result
;
8257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8260 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8262 wxPyEndAllowThreads(__tstate
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8265 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFontEnumerator
, 1);
8272 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8273 PyObject
*resultobj
;
8274 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8275 PyObject
* obj0
= 0 ;
8277 (char *) "self", NULL
8280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8286 wxPyEndAllowThreads(__tstate
);
8287 if (PyErr_Occurred()) SWIG_fail
;
8289 Py_INCREF(Py_None
); resultobj
= Py_None
;
8296 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
*resultobj
;
8298 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8299 PyObject
*arg2
= (PyObject
*) 0 ;
8300 PyObject
*arg3
= (PyObject
*) 0 ;
8302 PyObject
* obj0
= 0 ;
8303 PyObject
* obj1
= 0 ;
8304 PyObject
* obj2
= 0 ;
8305 PyObject
* obj3
= 0 ;
8307 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8315 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8320 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8322 wxPyEndAllowThreads(__tstate
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8325 Py_INCREF(Py_None
); resultobj
= Py_None
;
8332 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8333 PyObject
*resultobj
;
8334 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8335 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8336 bool arg3
= (bool) False
;
8338 PyObject
* obj0
= 0 ;
8339 PyObject
* obj1
= 0 ;
8340 PyObject
* obj2
= 0 ;
8342 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8349 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
8350 if (PyErr_Occurred()) SWIG_fail
;
8355 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
8356 if (PyErr_Occurred()) SWIG_fail
;
8360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8361 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8363 wxPyEndAllowThreads(__tstate
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8366 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8373 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8374 PyObject
*resultobj
;
8375 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8376 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8377 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8379 bool temp2
= False
;
8380 PyObject
* obj0
= 0 ;
8381 PyObject
* obj1
= 0 ;
8383 (char *) "self",(char *) "facename", NULL
8386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8390 arg2
= wxString_in_helper(obj1
);
8391 if (arg2
== NULL
) SWIG_fail
;
8396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8397 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8399 wxPyEndAllowThreads(__tstate
);
8400 if (PyErr_Occurred()) SWIG_fail
;
8402 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8417 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
*resultobj
;
8419 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8421 PyObject
* obj0
= 0 ;
8423 (char *) "self", NULL
8426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8430 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8432 wxPyEndAllowThreads(__tstate
);
8433 if (PyErr_Occurred()) SWIG_fail
;
8442 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8443 PyObject
*resultobj
;
8444 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8446 PyObject
* obj0
= 0 ;
8448 (char *) "self", NULL
8451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8455 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
8457 wxPyEndAllowThreads(__tstate
);
8458 if (PyErr_Occurred()) SWIG_fail
;
8467 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
8469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8470 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
8472 return Py_BuildValue((char *)"");
8474 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8475 PyObject
*resultobj
;
8476 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8478 PyObject
* obj0
= 0 ;
8479 PyObject
* obj1
= 0 ;
8481 (char *) "self",(char *) "Language", NULL
8484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8487 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8488 if (PyErr_Occurred()) SWIG_fail
;
8490 if (arg1
) (arg1
)->Language
= arg2
;
8492 Py_INCREF(Py_None
); resultobj
= Py_None
;
8499 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8500 PyObject
*resultobj
;
8501 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8503 PyObject
* obj0
= 0 ;
8505 (char *) "self", NULL
8508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
8509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8510 result
= (int) ((arg1
)->Language
);
8512 resultobj
= SWIG_PyObj_FromInt((int)result
);
8519 static PyObject
*_wrap_LanguageInfo_CanonicalName_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 *) "CanonicalName", NULL
8530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_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
)->CanonicalName
= *arg2
;
8539 Py_INCREF(Py_None
); resultobj
= Py_None
;
8554 static PyObject
*_wrap_LanguageInfo_CanonicalName_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_CanonicalName_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
)->CanonicalName
);
8569 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8571 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8580 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8581 PyObject
*resultobj
;
8582 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8583 wxString
*arg2
= (wxString
*) 0 ;
8584 bool temp2
= False
;
8585 PyObject
* obj0
= 0 ;
8586 PyObject
* obj1
= 0 ;
8588 (char *) "self",(char *) "Description", NULL
8591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8594 arg2
= wxString_in_helper(obj1
);
8595 if (arg2
== NULL
) SWIG_fail
;
8598 if (arg1
) (arg1
)->Description
= *arg2
;
8600 Py_INCREF(Py_None
); resultobj
= Py_None
;
8615 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8616 PyObject
*resultobj
;
8617 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8619 PyObject
* obj0
= 0 ;
8621 (char *) "self", NULL
8624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
8625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8626 result
= (wxString
*)& ((arg1
)->Description
);
8630 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8632 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8641 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
8643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8644 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
8646 return Py_BuildValue((char *)"");
8648 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8649 PyObject
*resultobj
;
8650 int arg1
= (int) wxLANGUAGE_DEFAULT
;
8651 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
8653 PyObject
* obj0
= 0 ;
8654 PyObject
* obj1
= 0 ;
8656 (char *) "language",(char *) "flags", NULL
8659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
8662 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8663 if (PyErr_Occurred()) SWIG_fail
;
8668 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8674 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8679 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLocale
, 1);
8686 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8687 PyObject
*resultobj
;
8688 wxLocale
*arg1
= (wxLocale
*) 0 ;
8689 PyObject
* obj0
= 0 ;
8691 (char *) "self", NULL
8694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
8695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8700 wxPyEndAllowThreads(__tstate
);
8701 if (PyErr_Occurred()) SWIG_fail
;
8703 Py_INCREF(Py_None
); resultobj
= Py_None
;
8710 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8711 PyObject
*resultobj
;
8712 wxLocale
*arg1
= (wxLocale
*) 0 ;
8713 wxString
*arg2
= 0 ;
8714 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8715 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8716 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8717 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8718 bool arg5
= (bool) True
;
8719 bool arg6
= (bool) False
;
8721 bool temp2
= False
;
8722 bool temp3
= False
;
8723 bool temp4
= False
;
8724 PyObject
* obj0
= 0 ;
8725 PyObject
* obj1
= 0 ;
8726 PyObject
* obj2
= 0 ;
8727 PyObject
* obj3
= 0 ;
8728 PyObject
* obj4
= 0 ;
8729 PyObject
* obj5
= 0 ;
8731 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8737 arg2
= wxString_in_helper(obj1
);
8738 if (arg2
== NULL
) SWIG_fail
;
8743 arg3
= wxString_in_helper(obj2
);
8744 if (arg3
== NULL
) SWIG_fail
;
8750 arg4
= wxString_in_helper(obj3
);
8751 if (arg4
== NULL
) SWIG_fail
;
8757 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8763 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
8764 if (PyErr_Occurred()) SWIG_fail
;
8768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8769 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
8771 wxPyEndAllowThreads(__tstate
);
8772 if (PyErr_Occurred()) SWIG_fail
;
8774 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8805 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8806 PyObject
*resultobj
;
8807 wxLocale
*arg1
= (wxLocale
*) 0 ;
8808 int arg2
= (int) wxLANGUAGE_DEFAULT
;
8809 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
8811 PyObject
* obj0
= 0 ;
8812 PyObject
* obj1
= 0 ;
8813 PyObject
* obj2
= 0 ;
8815 (char *) "self",(char *) "language",(char *) "flags", NULL
8818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8822 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8828 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8829 if (PyErr_Occurred()) SWIG_fail
;
8833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8834 result
= (bool)(arg1
)->Init(arg2
,arg3
);
8836 wxPyEndAllowThreads(__tstate
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8839 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8846 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8847 PyObject
*resultobj
;
8853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
8855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8856 result
= (int)wxLocale::GetSystemLanguage();
8858 wxPyEndAllowThreads(__tstate
);
8859 if (PyErr_Occurred()) SWIG_fail
;
8861 resultobj
= SWIG_PyObj_FromInt((int)result
);
8868 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8869 PyObject
*resultobj
;
8875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
8877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8878 result
= (int)wxLocale::GetSystemEncoding();
8880 wxPyEndAllowThreads(__tstate
);
8881 if (PyErr_Occurred()) SWIG_fail
;
8883 resultobj
= SWIG_PyObj_FromInt((int)result
);
8890 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8891 PyObject
*resultobj
;
8897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 result
= wxLocale::GetSystemEncodingName();
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8918 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8919 PyObject
*resultobj
;
8920 wxLocale
*arg1
= (wxLocale
*) 0 ;
8922 PyObject
* obj0
= 0 ;
8924 (char *) "self", NULL
8927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
8928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8931 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
8933 wxPyEndAllowThreads(__tstate
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8936 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8943 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8944 PyObject
*resultobj
;
8945 wxLocale
*arg1
= (wxLocale
*) 0 ;
8947 PyObject
* obj0
= 0 ;
8949 (char *) "self", NULL
8952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
8953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 result
= ((wxLocale
const *)arg1
)->GetLocale();
8958 wxPyEndAllowThreads(__tstate
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8963 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8965 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8974 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8975 PyObject
*resultobj
;
8976 wxLocale
*arg1
= (wxLocale
*) 0 ;
8978 PyObject
* obj0
= 0 ;
8980 (char *) "self", NULL
8983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
8984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8987 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
8989 wxPyEndAllowThreads(__tstate
);
8990 if (PyErr_Occurred()) SWIG_fail
;
8992 resultobj
= SWIG_PyObj_FromInt((int)result
);
8999 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9000 PyObject
*resultobj
;
9001 wxLocale
*arg1
= (wxLocale
*) 0 ;
9003 PyObject
* obj0
= 0 ;
9005 (char *) "self", NULL
9008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9012 result
= ((wxLocale
const *)arg1
)->GetSysName();
9014 wxPyEndAllowThreads(__tstate
);
9015 if (PyErr_Occurred()) SWIG_fail
;
9019 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9021 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9030 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9031 PyObject
*resultobj
;
9032 wxLocale
*arg1
= (wxLocale
*) 0 ;
9034 PyObject
* obj0
= 0 ;
9036 (char *) "self", NULL
9039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9043 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9045 wxPyEndAllowThreads(__tstate
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9050 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9052 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9061 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
*resultobj
;
9063 wxString
*arg1
= 0 ;
9064 bool temp1
= False
;
9065 PyObject
* obj0
= 0 ;
9067 (char *) "prefix", NULL
9070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9072 arg1
= wxString_in_helper(obj0
);
9073 if (arg1
== NULL
) SWIG_fail
;
9077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9078 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9080 wxPyEndAllowThreads(__tstate
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9083 Py_INCREF(Py_None
); resultobj
= Py_None
;
9098 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
;
9100 wxLocale
*arg1
= (wxLocale
*) 0 ;
9101 wxString
*arg2
= 0 ;
9103 bool temp2
= False
;
9104 PyObject
* obj0
= 0 ;
9105 PyObject
* obj1
= 0 ;
9107 (char *) "self",(char *) "szDomain", NULL
9110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9113 arg2
= wxString_in_helper(obj1
);
9114 if (arg2
== NULL
) SWIG_fail
;
9118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9119 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9121 wxPyEndAllowThreads(__tstate
);
9122 if (PyErr_Occurred()) SWIG_fail
;
9124 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9139 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9140 PyObject
*resultobj
;
9141 wxLocale
*arg1
= (wxLocale
*) 0 ;
9142 wxString
*arg2
= 0 ;
9144 bool temp2
= False
;
9145 PyObject
* obj0
= 0 ;
9146 PyObject
* obj1
= 0 ;
9148 (char *) "self",(char *) "szDomain", NULL
9151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9154 arg2
= wxString_in_helper(obj1
);
9155 if (arg2
== NULL
) SWIG_fail
;
9159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9160 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9162 wxPyEndAllowThreads(__tstate
);
9163 if (PyErr_Occurred()) SWIG_fail
;
9165 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9180 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9181 PyObject
*resultobj
;
9183 wxLanguageInfo
*result
;
9184 PyObject
* obj0
= 0 ;
9186 (char *) "lang", NULL
9189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9191 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9192 if (PyErr_Occurred()) SWIG_fail
;
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9198 wxPyEndAllowThreads(__tstate
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9201 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLanguageInfo
, 0);
9208 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9209 PyObject
*resultobj
;
9212 PyObject
* obj0
= 0 ;
9214 (char *) "lang", NULL
9217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9219 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9220 if (PyErr_Occurred()) SWIG_fail
;
9223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9224 result
= wxLocale::GetLanguageName(arg1
);
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9231 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9233 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9242 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9243 PyObject
*resultobj
;
9244 wxString
*arg1
= 0 ;
9245 wxLanguageInfo
*result
;
9246 bool temp1
= False
;
9247 PyObject
* obj0
= 0 ;
9249 (char *) "locale", NULL
9252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9254 arg1
= wxString_in_helper(obj0
);
9255 if (arg1
== NULL
) SWIG_fail
;
9259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9260 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9262 wxPyEndAllowThreads(__tstate
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9265 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLanguageInfo
, 0);
9280 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9281 PyObject
*resultobj
;
9282 wxLanguageInfo
*arg1
= 0 ;
9283 PyObject
* obj0
= 0 ;
9285 (char *) "info", NULL
9288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9291 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9295 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9300 Py_INCREF(Py_None
); resultobj
= Py_None
;
9307 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9308 PyObject
*resultobj
;
9309 wxLocale
*arg1
= (wxLocale
*) 0 ;
9310 wxString
*arg2
= 0 ;
9311 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9312 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9314 bool temp2
= False
;
9315 bool temp3
= False
;
9316 PyObject
* obj0
= 0 ;
9317 PyObject
* obj1
= 0 ;
9318 PyObject
* obj2
= 0 ;
9320 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9326 arg2
= wxString_in_helper(obj1
);
9327 if (arg2
== NULL
) SWIG_fail
;
9332 arg3
= wxString_in_helper(obj2
);
9333 if (arg3
== NULL
) SWIG_fail
;
9338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9339 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9341 wxPyEndAllowThreads(__tstate
);
9342 if (PyErr_Occurred()) SWIG_fail
;
9346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9373 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9374 PyObject
*resultobj
;
9375 wxLocale
*arg1
= (wxLocale
*) 0 ;
9377 PyObject
* obj0
= 0 ;
9379 (char *) "self", NULL
9382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9387 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9388 result
= (wxString
*) &_result_ref
;
9391 wxPyEndAllowThreads(__tstate
);
9392 if (PyErr_Occurred()) SWIG_fail
;
9396 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9398 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9407 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
9409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9410 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9412 return Py_BuildValue((char *)"");
9414 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9415 PyObject
*resultobj
;
9421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 result
= (wxLocale
*)wxGetLocale();
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9429 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLocale
, 0);
9436 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
9437 PyObject
*resultobj
;
9438 wxString
*arg1
= 0 ;
9440 bool temp1
= False
;
9441 PyObject
* obj0
= 0 ;
9443 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9445 arg1
= wxString_in_helper(obj0
);
9446 if (arg1
== NULL
) SWIG_fail
;
9450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9451 result
= wxGetTranslation((wxString
const &)*arg1
);
9453 wxPyEndAllowThreads(__tstate
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9477 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
9478 PyObject
*resultobj
;
9479 wxString
*arg1
= 0 ;
9480 wxString
*arg2
= 0 ;
9483 bool temp1
= False
;
9484 bool temp2
= False
;
9485 PyObject
* obj0
= 0 ;
9486 PyObject
* obj1
= 0 ;
9487 PyObject
* obj2
= 0 ;
9489 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
9491 arg1
= wxString_in_helper(obj0
);
9492 if (arg1
== NULL
) SWIG_fail
;
9496 arg2
= wxString_in_helper(obj1
);
9497 if (arg2
== NULL
) SWIG_fail
;
9501 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9540 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
9545 argc
= PyObject_Length(args
);
9546 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9547 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9553 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
9561 return _wrap_GetTranslation__SWIG_0(self
,args
);
9568 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
9578 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
9587 SWIG_PyObj_AsUnsignedLong(argv
[2]);
9588 if (PyErr_Occurred()) {
9596 return _wrap_GetTranslation__SWIG_1(self
,args
);
9602 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
9607 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9608 PyObject
*resultobj
;
9609 wxEncodingConverter
*result
;
9614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 result
= (wxEncodingConverter
*)new wxEncodingConverter();
9619 wxPyEndAllowThreads(__tstate
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9622 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEncodingConverter
, 1);
9629 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9630 PyObject
*resultobj
;
9631 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9632 PyObject
* obj0
= 0 ;
9634 (char *) "self", NULL
9637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
9638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9646 Py_INCREF(Py_None
); resultobj
= Py_None
;
9653 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9654 PyObject
*resultobj
;
9655 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9658 int arg4
= (int) wxCONVERT_STRICT
;
9660 PyObject
* obj0
= 0 ;
9661 PyObject
* obj1
= 0 ;
9662 PyObject
* obj2
= 0 ;
9663 PyObject
* obj3
= 0 ;
9665 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
9668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9671 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9675 arg3
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj2
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9680 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9681 if (PyErr_Occurred()) SWIG_fail
;
9685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
9688 wxPyEndAllowThreads(__tstate
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9691 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9698 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9699 PyObject
*resultobj
;
9700 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9701 wxString
*arg2
= 0 ;
9703 bool temp2
= False
;
9704 PyObject
* obj0
= 0 ;
9705 PyObject
* obj1
= 0 ;
9707 (char *) "self",(char *) "input", NULL
9710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
9711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9713 arg2
= wxString_in_helper(obj1
);
9714 if (arg2
== NULL
) SWIG_fail
;
9718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9719 result
= (arg1
)->Convert((wxString
const &)*arg2
);
9721 wxPyEndAllowThreads(__tstate
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9745 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9746 PyObject
*resultobj
;
9748 int arg2
= (int) wxPLATFORM_CURRENT
;
9749 wxFontEncodingArray result
;
9750 PyObject
* obj0
= 0 ;
9751 PyObject
* obj1
= 0 ;
9753 (char *) "enc",(char *) "platform", NULL
9756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
9758 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9763 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9764 if (PyErr_Occurred()) SWIG_fail
;
9768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9769 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
9771 wxPyEndAllowThreads(__tstate
);
9772 if (PyErr_Occurred()) SWIG_fail
;
9775 resultobj
= PyList_New(0);
9776 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
9777 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
9778 PyList_Append(resultobj
, number
);
9788 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
*resultobj
;
9791 wxFontEncodingArray result
;
9792 PyObject
* obj0
= 0 ;
9794 (char *) "enc", NULL
9797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
9799 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
9800 if (PyErr_Occurred()) SWIG_fail
;
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9810 resultobj
= PyList_New(0);
9811 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
9812 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
9813 PyList_Append(resultobj
, number
);
9823 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9824 PyObject
*resultobj
;
9828 PyObject
* obj0
= 0 ;
9829 PyObject
* obj1
= 0 ;
9831 (char *) "encIn",(char *) "encOut", NULL
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
9836 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9840 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9845 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) SWIG_fail
;
9850 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9857 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
9859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9860 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
9862 return Py_BuildValue((char *)"");
9864 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9865 PyObject
*resultobj
;
9866 wxDC
*arg1
= (wxDC
*) 0 ;
9867 PyObject
* obj0
= 0 ;
9869 (char *) "self", NULL
9872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
9873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9878 wxPyEndAllowThreads(__tstate
);
9879 if (PyErr_Occurred()) SWIG_fail
;
9881 Py_INCREF(Py_None
); resultobj
= Py_None
;
9888 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9889 PyObject
*resultobj
;
9890 wxDC
*arg1
= (wxDC
*) 0 ;
9891 PyObject
* obj0
= 0 ;
9893 (char *) "self", NULL
9896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
9897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9900 (arg1
)->BeginDrawing();
9902 wxPyEndAllowThreads(__tstate
);
9903 if (PyErr_Occurred()) SWIG_fail
;
9905 Py_INCREF(Py_None
); resultobj
= Py_None
;
9912 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9913 PyObject
*resultobj
;
9914 wxDC
*arg1
= (wxDC
*) 0 ;
9915 PyObject
* obj0
= 0 ;
9917 (char *) "self", NULL
9920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
9921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9924 (arg1
)->EndDrawing();
9926 wxPyEndAllowThreads(__tstate
);
9927 if (PyErr_Occurred()) SWIG_fail
;
9929 Py_INCREF(Py_None
); resultobj
= Py_None
;
9936 static PyObject
*_wrap_DC_FloodFillXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9937 PyObject
*resultobj
;
9938 wxDC
*arg1
= (wxDC
*) 0 ;
9941 wxColour
*arg4
= 0 ;
9942 int arg5
= (int) wxFLOOD_SURFACE
;
9945 PyObject
* obj0
= 0 ;
9946 PyObject
* obj1
= 0 ;
9947 PyObject
* obj2
= 0 ;
9948 PyObject
* obj3
= 0 ;
9949 PyObject
* obj4
= 0 ;
9951 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
9954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFillXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9957 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9958 if (PyErr_Occurred()) SWIG_fail
;
9961 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9962 if (PyErr_Occurred()) SWIG_fail
;
9966 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
9970 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
9971 if (PyErr_Occurred()) SWIG_fail
;
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) SWIG_fail
;
9981 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9988 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9989 PyObject
*resultobj
;
9990 wxDC
*arg1
= (wxDC
*) 0 ;
9992 wxColour
*arg3
= 0 ;
9993 int arg4
= (int) wxFLOOD_SURFACE
;
9997 PyObject
* obj0
= 0 ;
9998 PyObject
* obj1
= 0 ;
9999 PyObject
* obj2
= 0 ;
10000 PyObject
* obj3
= 0 ;
10001 char *kwnames
[] = {
10002 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10009 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10013 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10017 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10018 if (PyErr_Occurred()) SWIG_fail
;
10022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10023 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10025 wxPyEndAllowThreads(__tstate
);
10026 if (PyErr_Occurred()) SWIG_fail
;
10028 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10035 static PyObject
*_wrap_DC_GetPixelXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10036 PyObject
*resultobj
;
10037 wxDC
*arg1
= (wxDC
*) 0 ;
10041 PyObject
* obj0
= 0 ;
10042 PyObject
* obj1
= 0 ;
10043 PyObject
* obj2
= 0 ;
10044 char *kwnames
[] = {
10045 (char *) "self",(char *) "x",(char *) "y", NULL
10048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixelXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10051 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10052 if (PyErr_Occurred()) SWIG_fail
;
10055 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10056 if (PyErr_Occurred()) SWIG_fail
;
10059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10060 result
= wxDC_GetPixelXY(arg1
,arg2
,arg3
);
10062 wxPyEndAllowThreads(__tstate
);
10063 if (PyErr_Occurred()) SWIG_fail
;
10066 wxColour
* resultptr
;
10067 resultptr
= new wxColour((wxColour
&) result
);
10068 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10076 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10077 PyObject
*resultobj
;
10078 wxDC
*arg1
= (wxDC
*) 0 ;
10079 wxPoint
*arg2
= 0 ;
10082 PyObject
* obj0
= 0 ;
10083 PyObject
* obj1
= 0 ;
10084 char *kwnames
[] = {
10085 (char *) "self",(char *) "pt", NULL
10088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
;
10089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10092 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10096 result
= wxDC_GetPixel(arg1
,(wxPoint
const &)*arg2
);
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10102 wxColour
* resultptr
;
10103 resultptr
= new wxColour((wxColour
&) result
);
10104 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10112 static PyObject
*_wrap_DC_DrawLineXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10113 PyObject
*resultobj
;
10114 wxDC
*arg1
= (wxDC
*) 0 ;
10119 PyObject
* obj0
= 0 ;
10120 PyObject
* obj1
= 0 ;
10121 PyObject
* obj2
= 0 ;
10122 PyObject
* obj3
= 0 ;
10123 PyObject
* obj4
= 0 ;
10124 char *kwnames
[] = {
10125 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLineXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10131 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10135 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10136 if (PyErr_Occurred()) SWIG_fail
;
10139 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10143 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10144 if (PyErr_Occurred()) SWIG_fail
;
10147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10148 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10150 wxPyEndAllowThreads(__tstate
);
10151 if (PyErr_Occurred()) SWIG_fail
;
10153 Py_INCREF(Py_None
); resultobj
= Py_None
;
10160 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10161 PyObject
*resultobj
;
10162 wxDC
*arg1
= (wxDC
*) 0 ;
10163 wxPoint
*arg2
= 0 ;
10164 wxPoint
*arg3
= 0 ;
10167 PyObject
* obj0
= 0 ;
10168 PyObject
* obj1
= 0 ;
10169 PyObject
* obj2
= 0 ;
10170 char *kwnames
[] = {
10171 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10178 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10182 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10186 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10188 wxPyEndAllowThreads(__tstate
);
10189 if (PyErr_Occurred()) SWIG_fail
;
10191 Py_INCREF(Py_None
); resultobj
= Py_None
;
10198 static PyObject
*_wrap_DC_CrossHairXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10199 PyObject
*resultobj
;
10200 wxDC
*arg1
= (wxDC
*) 0 ;
10203 PyObject
* obj0
= 0 ;
10204 PyObject
* obj1
= 0 ;
10205 PyObject
* obj2
= 0 ;
10206 char *kwnames
[] = {
10207 (char *) "self",(char *) "x",(char *) "y", NULL
10210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHairXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10213 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10217 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10222 (arg1
)->CrossHair(arg2
,arg3
);
10224 wxPyEndAllowThreads(__tstate
);
10225 if (PyErr_Occurred()) SWIG_fail
;
10227 Py_INCREF(Py_None
); resultobj
= Py_None
;
10234 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10235 PyObject
*resultobj
;
10236 wxDC
*arg1
= (wxDC
*) 0 ;
10237 wxPoint
*arg2
= 0 ;
10239 PyObject
* obj0
= 0 ;
10240 PyObject
* obj1
= 0 ;
10241 char *kwnames
[] = {
10242 (char *) "self",(char *) "pt", NULL
10245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
;
10246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10249 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10253 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10258 Py_INCREF(Py_None
); resultobj
= Py_None
;
10265 static PyObject
*_wrap_DC_DrawArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10266 PyObject
*resultobj
;
10267 wxDC
*arg1
= (wxDC
*) 0 ;
10274 PyObject
* obj0
= 0 ;
10275 PyObject
* obj1
= 0 ;
10276 PyObject
* obj2
= 0 ;
10277 PyObject
* obj3
= 0 ;
10278 PyObject
* obj4
= 0 ;
10279 PyObject
* obj5
= 0 ;
10280 PyObject
* obj6
= 0 ;
10281 char *kwnames
[] = {
10282 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10288 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10292 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10296 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10300 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10304 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
10305 if (PyErr_Occurred()) SWIG_fail
;
10308 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10318 Py_INCREF(Py_None
); resultobj
= Py_None
;
10325 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10326 PyObject
*resultobj
;
10327 wxDC
*arg1
= (wxDC
*) 0 ;
10328 wxPoint
*arg2
= 0 ;
10329 wxPoint
*arg3
= 0 ;
10330 wxPoint
*arg4
= 0 ;
10334 PyObject
* obj0
= 0 ;
10335 PyObject
* obj1
= 0 ;
10336 PyObject
* obj2
= 0 ;
10337 PyObject
* obj3
= 0 ;
10338 char *kwnames
[] = {
10339 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10346 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10350 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10354 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10358 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10360 wxPyEndAllowThreads(__tstate
);
10361 if (PyErr_Occurred()) SWIG_fail
;
10363 Py_INCREF(Py_None
); resultobj
= Py_None
;
10370 static PyObject
*_wrap_DC_DrawCheckMarkXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10371 PyObject
*resultobj
;
10372 wxDC
*arg1
= (wxDC
*) 0 ;
10377 PyObject
* obj0
= 0 ;
10378 PyObject
* obj1
= 0 ;
10379 PyObject
* obj2
= 0 ;
10380 PyObject
* obj3
= 0 ;
10381 PyObject
* obj4
= 0 ;
10382 char *kwnames
[] = {
10383 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMarkXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10389 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10393 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10394 if (PyErr_Occurred()) SWIG_fail
;
10397 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10398 if (PyErr_Occurred()) SWIG_fail
;
10401 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10406 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10411 Py_INCREF(Py_None
); resultobj
= Py_None
;
10418 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
;
10420 wxDC
*arg1
= (wxDC
*) 0 ;
10423 PyObject
* obj0
= 0 ;
10424 PyObject
* obj1
= 0 ;
10425 char *kwnames
[] = {
10426 (char *) "self",(char *) "rect", NULL
10429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
;
10430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10433 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10439 wxPyEndAllowThreads(__tstate
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10442 Py_INCREF(Py_None
); resultobj
= Py_None
;
10449 static PyObject
*_wrap_DC_DrawEllipticArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10450 PyObject
*resultobj
;
10451 wxDC
*arg1
= (wxDC
*) 0 ;
10458 PyObject
* obj0
= 0 ;
10459 PyObject
* obj1
= 0 ;
10460 PyObject
* obj2
= 0 ;
10461 PyObject
* obj3
= 0 ;
10462 PyObject
* obj4
= 0 ;
10463 PyObject
* obj5
= 0 ;
10464 PyObject
* obj6
= 0 ;
10465 char *kwnames
[] = {
10466 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10472 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10476 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10480 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10484 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10485 if (PyErr_Occurred()) SWIG_fail
;
10488 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10492 arg7
= (double) SWIG_PyObj_AsDouble(obj6
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10502 Py_INCREF(Py_None
); resultobj
= Py_None
;
10509 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10510 PyObject
*resultobj
;
10511 wxDC
*arg1
= (wxDC
*) 0 ;
10512 wxPoint
*arg2
= 0 ;
10518 PyObject
* obj0
= 0 ;
10519 PyObject
* obj1
= 0 ;
10520 PyObject
* obj2
= 0 ;
10521 PyObject
* obj3
= 0 ;
10522 PyObject
* obj4
= 0 ;
10523 char *kwnames
[] = {
10524 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
10527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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
;
10535 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10538 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10542 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
10549 wxPyEndAllowThreads(__tstate
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10552 Py_INCREF(Py_None
); resultobj
= Py_None
;
10559 static PyObject
*_wrap_DC_DrawPointXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10560 PyObject
*resultobj
;
10561 wxDC
*arg1
= (wxDC
*) 0 ;
10564 PyObject
* obj0
= 0 ;
10565 PyObject
* obj1
= 0 ;
10566 PyObject
* obj2
= 0 ;
10567 char *kwnames
[] = {
10568 (char *) "self",(char *) "x",(char *) "y", NULL
10571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPointXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10574 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10578 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10579 if (PyErr_Occurred()) SWIG_fail
;
10582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10583 (arg1
)->DrawPoint(arg2
,arg3
);
10585 wxPyEndAllowThreads(__tstate
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10588 Py_INCREF(Py_None
); resultobj
= Py_None
;
10595 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10596 PyObject
*resultobj
;
10597 wxDC
*arg1
= (wxDC
*) 0 ;
10598 wxPoint
*arg2
= 0 ;
10600 PyObject
* obj0
= 0 ;
10601 PyObject
* obj1
= 0 ;
10602 char *kwnames
[] = {
10603 (char *) "self",(char *) "pt", NULL
10606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10610 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10614 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10616 wxPyEndAllowThreads(__tstate
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10619 Py_INCREF(Py_None
); resultobj
= Py_None
;
10626 static PyObject
*_wrap_DC_DrawRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10627 PyObject
*resultobj
;
10628 wxDC
*arg1
= (wxDC
*) 0 ;
10633 PyObject
* obj0
= 0 ;
10634 PyObject
* obj1
= 0 ;
10635 PyObject
* obj2
= 0 ;
10636 PyObject
* obj3
= 0 ;
10637 PyObject
* obj4
= 0 ;
10638 char *kwnames
[] = {
10639 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10645 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10649 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10653 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10657 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10667 Py_INCREF(Py_None
); resultobj
= Py_None
;
10674 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10675 PyObject
*resultobj
;
10676 wxDC
*arg1
= (wxDC
*) 0 ;
10677 wxPoint
*arg2
= 0 ;
10681 PyObject
* obj0
= 0 ;
10682 PyObject
* obj1
= 0 ;
10683 PyObject
* obj2
= 0 ;
10684 char *kwnames
[] = {
10685 (char *) "self",(char *) "pt",(char *) "sz", NULL
10688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10692 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10696 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10700 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10702 wxPyEndAllowThreads(__tstate
);
10703 if (PyErr_Occurred()) SWIG_fail
;
10705 Py_INCREF(Py_None
); resultobj
= Py_None
;
10712 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10713 PyObject
*resultobj
;
10714 wxDC
*arg1
= (wxDC
*) 0 ;
10717 PyObject
* obj0
= 0 ;
10718 PyObject
* obj1
= 0 ;
10719 char *kwnames
[] = {
10720 (char *) "self",(char *) "rect", NULL
10723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10727 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10731 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
10733 wxPyEndAllowThreads(__tstate
);
10734 if (PyErr_Occurred()) SWIG_fail
;
10736 Py_INCREF(Py_None
); resultobj
= Py_None
;
10743 static PyObject
*_wrap_DC_DrawRoundedRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10744 PyObject
*resultobj
;
10745 wxDC
*arg1
= (wxDC
*) 0 ;
10751 PyObject
* obj0
= 0 ;
10752 PyObject
* obj1
= 0 ;
10753 PyObject
* obj2
= 0 ;
10754 PyObject
* obj3
= 0 ;
10755 PyObject
* obj4
= 0 ;
10756 PyObject
* obj5
= 0 ;
10757 char *kwnames
[] = {
10758 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
10761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10764 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10768 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10772 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10773 if (PyErr_Occurred()) SWIG_fail
;
10776 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10780 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 Py_INCREF(Py_None
); resultobj
= Py_None
;
10797 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
;
10799 wxDC
*arg1
= (wxDC
*) 0 ;
10800 wxPoint
*arg2
= 0 ;
10805 PyObject
* obj0
= 0 ;
10806 PyObject
* obj1
= 0 ;
10807 PyObject
* obj2
= 0 ;
10808 PyObject
* obj3
= 0 ;
10809 char *kwnames
[] = {
10810 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
10813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10817 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10821 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10824 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
10825 if (PyErr_Occurred()) SWIG_fail
;
10828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10829 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
10831 wxPyEndAllowThreads(__tstate
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10834 Py_INCREF(Py_None
); resultobj
= Py_None
;
10841 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10842 PyObject
*resultobj
;
10843 wxDC
*arg1
= (wxDC
*) 0 ;
10847 PyObject
* obj0
= 0 ;
10848 PyObject
* obj1
= 0 ;
10849 PyObject
* obj2
= 0 ;
10850 char *kwnames
[] = {
10851 (char *) "self",(char *) "r",(char *) "radius", NULL
10854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",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 ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10861 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
10862 if (PyErr_Occurred()) SWIG_fail
;
10865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10866 (arg1
)->DrawRoundedRectangle((wxRect
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_DrawCircleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10879 PyObject
*resultobj
;
10880 wxDC
*arg1
= (wxDC
*) 0 ;
10884 PyObject
* obj0
= 0 ;
10885 PyObject
* obj1
= 0 ;
10886 PyObject
* obj2
= 0 ;
10887 PyObject
* obj3
= 0 ;
10888 char *kwnames
[] = {
10889 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
10892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10895 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10899 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10900 if (PyErr_Occurred()) SWIG_fail
;
10903 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10904 if (PyErr_Occurred()) SWIG_fail
;
10907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10908 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10913 Py_INCREF(Py_None
); resultobj
= Py_None
;
10920 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
;
10922 wxDC
*arg1
= (wxDC
*) 0 ;
10923 wxPoint
*arg2
= 0 ;
10926 PyObject
* obj0
= 0 ;
10927 PyObject
* obj1
= 0 ;
10928 PyObject
* obj2
= 0 ;
10929 char *kwnames
[] = {
10930 (char *) "self",(char *) "pt",(char *) "radius", NULL
10933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10937 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10940 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10941 if (PyErr_Occurred()) SWIG_fail
;
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
10947 wxPyEndAllowThreads(__tstate
);
10948 if (PyErr_Occurred()) SWIG_fail
;
10950 Py_INCREF(Py_None
); resultobj
= Py_None
;
10957 static PyObject
*_wrap_DC_DrawEllipseXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
*resultobj
;
10959 wxDC
*arg1
= (wxDC
*) 0 ;
10964 PyObject
* obj0
= 0 ;
10965 PyObject
* obj1
= 0 ;
10966 PyObject
* obj2
= 0 ;
10967 PyObject
* obj3
= 0 ;
10968 PyObject
* obj4
= 0 ;
10969 char *kwnames
[] = {
10970 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipseXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10976 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10980 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10984 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10985 if (PyErr_Occurred()) SWIG_fail
;
10988 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10993 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
10995 wxPyEndAllowThreads(__tstate
);
10996 if (PyErr_Occurred()) SWIG_fail
;
10998 Py_INCREF(Py_None
); resultobj
= Py_None
;
11005 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11006 PyObject
*resultobj
;
11007 wxDC
*arg1
= (wxDC
*) 0 ;
11008 wxPoint
*arg2
= 0 ;
11012 PyObject
* obj0
= 0 ;
11013 PyObject
* obj1
= 0 ;
11014 PyObject
* obj2
= 0 ;
11015 char *kwnames
[] = {
11016 (char *) "self",(char *) "pt",(char *) "sz", NULL
11019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11023 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11027 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11031 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11033 wxPyEndAllowThreads(__tstate
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11036 Py_INCREF(Py_None
); resultobj
= Py_None
;
11043 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11044 PyObject
*resultobj
;
11045 wxDC
*arg1
= (wxDC
*) 0 ;
11048 PyObject
* obj0
= 0 ;
11049 PyObject
* obj1
= 0 ;
11050 char *kwnames
[] = {
11051 (char *) "self",(char *) "rect", NULL
11054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11058 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11062 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11064 wxPyEndAllowThreads(__tstate
);
11065 if (PyErr_Occurred()) SWIG_fail
;
11067 Py_INCREF(Py_None
); resultobj
= Py_None
;
11074 static PyObject
*_wrap_DC_DrawIconXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11075 PyObject
*resultobj
;
11076 wxDC
*arg1
= (wxDC
*) 0 ;
11080 PyObject
* obj0
= 0 ;
11081 PyObject
* obj1
= 0 ;
11082 PyObject
* obj2
= 0 ;
11083 PyObject
* obj3
= 0 ;
11084 char *kwnames
[] = {
11085 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11090 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11091 if (arg2
== NULL
) {
11092 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11095 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11099 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11100 if (PyErr_Occurred()) SWIG_fail
;
11103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11104 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11106 wxPyEndAllowThreads(__tstate
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11109 Py_INCREF(Py_None
); resultobj
= Py_None
;
11116 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11117 PyObject
*resultobj
;
11118 wxDC
*arg1
= (wxDC
*) 0 ;
11120 wxPoint
*arg3
= 0 ;
11122 PyObject
* obj0
= 0 ;
11123 PyObject
* obj1
= 0 ;
11124 PyObject
* obj2
= 0 ;
11125 char *kwnames
[] = {
11126 (char *) "self",(char *) "icon",(char *) "pt", NULL
11129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11131 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11132 if (arg2
== NULL
) {
11133 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11137 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11141 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11143 wxPyEndAllowThreads(__tstate
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11146 Py_INCREF(Py_None
); resultobj
= Py_None
;
11153 static PyObject
*_wrap_DC_DrawBitmapXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11154 PyObject
*resultobj
;
11155 wxDC
*arg1
= (wxDC
*) 0 ;
11156 wxBitmap
*arg2
= 0 ;
11159 bool arg5
= (bool) False
;
11160 PyObject
* obj0
= 0 ;
11161 PyObject
* obj1
= 0 ;
11162 PyObject
* obj2
= 0 ;
11163 PyObject
* obj3
= 0 ;
11164 PyObject
* obj4
= 0 ;
11165 char *kwnames
[] = {
11166 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmapXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11171 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11172 if (arg2
== NULL
) {
11173 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11176 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11180 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11181 if (PyErr_Occurred()) SWIG_fail
;
11185 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11191 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11193 wxPyEndAllowThreads(__tstate
);
11194 if (PyErr_Occurred()) SWIG_fail
;
11196 Py_INCREF(Py_None
); resultobj
= Py_None
;
11203 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11204 PyObject
*resultobj
;
11205 wxDC
*arg1
= (wxDC
*) 0 ;
11206 wxBitmap
*arg2
= 0 ;
11207 wxPoint
*arg3
= 0 ;
11208 bool arg4
= (bool) False
;
11210 PyObject
* obj0
= 0 ;
11211 PyObject
* obj1
= 0 ;
11212 PyObject
* obj2
= 0 ;
11213 PyObject
* obj3
= 0 ;
11214 char *kwnames
[] = {
11215 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11220 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11221 if (arg2
== NULL
) {
11222 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11226 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11230 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11238 wxPyEndAllowThreads(__tstate
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11241 Py_INCREF(Py_None
); resultobj
= Py_None
;
11248 static PyObject
*_wrap_DC_DrawTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11249 PyObject
*resultobj
;
11250 wxDC
*arg1
= (wxDC
*) 0 ;
11251 wxString
*arg2
= 0 ;
11254 bool temp2
= False
;
11255 PyObject
* obj0
= 0 ;
11256 PyObject
* obj1
= 0 ;
11257 PyObject
* obj2
= 0 ;
11258 PyObject
* obj3
= 0 ;
11259 char *kwnames
[] = {
11260 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11266 arg2
= wxString_in_helper(obj1
);
11267 if (arg2
== NULL
) SWIG_fail
;
11271 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11275 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11282 wxPyEndAllowThreads(__tstate
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11285 Py_INCREF(Py_None
); resultobj
= Py_None
;
11300 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11301 PyObject
*resultobj
;
11302 wxDC
*arg1
= (wxDC
*) 0 ;
11303 wxString
*arg2
= 0 ;
11304 wxPoint
*arg3
= 0 ;
11305 bool temp2
= False
;
11307 PyObject
* obj0
= 0 ;
11308 PyObject
* obj1
= 0 ;
11309 PyObject
* obj2
= 0 ;
11310 char *kwnames
[] = {
11311 (char *) "self",(char *) "text",(char *) "pt", NULL
11314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11317 arg2
= wxString_in_helper(obj1
);
11318 if (arg2
== NULL
) SWIG_fail
;
11323 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11327 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11329 wxPyEndAllowThreads(__tstate
);
11330 if (PyErr_Occurred()) SWIG_fail
;
11332 Py_INCREF(Py_None
); resultobj
= Py_None
;
11347 static PyObject
*_wrap_DC_DrawRotatedTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11348 PyObject
*resultobj
;
11349 wxDC
*arg1
= (wxDC
*) 0 ;
11350 wxString
*arg2
= 0 ;
11354 bool temp2
= False
;
11355 PyObject
* obj0
= 0 ;
11356 PyObject
* obj1
= 0 ;
11357 PyObject
* obj2
= 0 ;
11358 PyObject
* obj3
= 0 ;
11359 PyObject
* obj4
= 0 ;
11360 char *kwnames
[] = {
11361 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11367 arg2
= wxString_in_helper(obj1
);
11368 if (arg2
== NULL
) SWIG_fail
;
11372 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11373 if (PyErr_Occurred()) SWIG_fail
;
11376 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11377 if (PyErr_Occurred()) SWIG_fail
;
11380 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11385 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11390 Py_INCREF(Py_None
); resultobj
= Py_None
;
11405 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11406 PyObject
*resultobj
;
11407 wxDC
*arg1
= (wxDC
*) 0 ;
11408 wxString
*arg2
= 0 ;
11409 wxPoint
*arg3
= 0 ;
11411 bool temp2
= False
;
11413 PyObject
* obj0
= 0 ;
11414 PyObject
* obj1
= 0 ;
11415 PyObject
* obj2
= 0 ;
11416 PyObject
* obj3
= 0 ;
11417 char *kwnames
[] = {
11418 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11424 arg2
= wxString_in_helper(obj1
);
11425 if (arg2
== NULL
) SWIG_fail
;
11430 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11433 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 Py_INCREF(Py_None
); resultobj
= Py_None
;
11458 static PyObject
*_wrap_DC_BlitXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11459 PyObject
*resultobj
;
11460 wxDC
*arg1
= (wxDC
*) 0 ;
11465 wxDC
*arg6
= (wxDC
*) 0 ;
11468 int arg9
= (int) wxCOPY
;
11469 bool arg10
= (bool) False
;
11470 int arg11
= (int) -1 ;
11471 int arg12
= (int) -1 ;
11473 PyObject
* obj0
= 0 ;
11474 PyObject
* obj1
= 0 ;
11475 PyObject
* obj2
= 0 ;
11476 PyObject
* obj3
= 0 ;
11477 PyObject
* obj4
= 0 ;
11478 PyObject
* obj5
= 0 ;
11479 PyObject
* obj6
= 0 ;
11480 PyObject
* obj7
= 0 ;
11481 PyObject
* obj8
= 0 ;
11482 PyObject
* obj9
= 0 ;
11483 PyObject
* obj10
= 0 ;
11484 PyObject
* obj11
= 0 ;
11485 char *kwnames
[] = {
11486 (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
11489 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
;
11490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11492 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11496 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11500 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11501 if (PyErr_Occurred()) SWIG_fail
;
11504 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11507 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11509 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
11510 if (PyErr_Occurred()) SWIG_fail
;
11513 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11518 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11524 arg10
= (bool) SWIG_PyObj_AsBool(obj9
);
11525 if (PyErr_Occurred()) SWIG_fail
;
11530 arg11
= (int) SWIG_PyObj_AsInt(obj10
);
11531 if (PyErr_Occurred()) SWIG_fail
;
11536 arg12
= (int) SWIG_PyObj_AsInt(obj11
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11542 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
11544 wxPyEndAllowThreads(__tstate
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11547 resultobj
= SWIG_PyObj_FromBool((bool)result
);
11554 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11555 PyObject
*resultobj
;
11556 wxDC
*arg1
= (wxDC
*) 0 ;
11557 wxPoint
*arg2
= 0 ;
11559 wxDC
*arg4
= (wxDC
*) 0 ;
11560 wxPoint
*arg5
= 0 ;
11561 int arg6
= (int) wxCOPY
;
11562 bool arg7
= (bool) False
;
11563 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
11564 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
11570 PyObject
* obj0
= 0 ;
11571 PyObject
* obj1
= 0 ;
11572 PyObject
* obj2
= 0 ;
11573 PyObject
* obj3
= 0 ;
11574 PyObject
* obj4
= 0 ;
11575 PyObject
* obj5
= 0 ;
11576 PyObject
* obj6
= 0 ;
11577 PyObject
* obj7
= 0 ;
11578 char *kwnames
[] = {
11579 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11586 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11590 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11592 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11595 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11599 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11605 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11612 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
11616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11617 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11622 resultobj
= SWIG_PyObj_FromBool((bool)result
);
11629 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11630 PyObject
*resultobj
;
11631 wxDC
*arg1
= (wxDC
*) 0 ;
11633 wxPoint
*arg3
= (wxPoint
*) 0 ;
11634 int arg4
= (int) 0 ;
11635 int arg5
= (int) 0 ;
11636 PyObject
* obj0
= 0 ;
11637 PyObject
* obj1
= 0 ;
11638 PyObject
* obj2
= 0 ;
11639 PyObject
* obj3
= 0 ;
11640 char *kwnames
[] = {
11641 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
11644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11647 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11648 if (arg3
== NULL
) SWIG_fail
;
11652 arg4
= (int) SWIG_PyObj_AsInt(obj2
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11658 arg5
= (int) SWIG_PyObj_AsInt(obj3
);
11659 if (PyErr_Occurred()) SWIG_fail
;
11663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11664 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
11666 wxPyEndAllowThreads(__tstate
);
11667 if (PyErr_Occurred()) SWIG_fail
;
11669 Py_INCREF(Py_None
); resultobj
= Py_None
;
11671 if (arg3
) delete [] arg3
;
11676 if (arg3
) delete [] arg3
;
11682 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11683 PyObject
*resultobj
;
11684 wxDC
*arg1
= (wxDC
*) 0 ;
11686 wxPoint
*arg3
= (wxPoint
*) 0 ;
11687 int arg4
= (int) 0 ;
11688 int arg5
= (int) 0 ;
11689 int arg6
= (int) wxODDEVEN_RULE
;
11690 PyObject
* obj0
= 0 ;
11691 PyObject
* obj1
= 0 ;
11692 PyObject
* obj2
= 0 ;
11693 PyObject
* obj3
= 0 ;
11694 PyObject
* obj4
= 0 ;
11695 char *kwnames
[] = {
11696 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
11699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11702 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11703 if (arg3
== NULL
) SWIG_fail
;
11707 arg4
= (int) SWIG_PyObj_AsInt(obj2
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11713 arg5
= (int) SWIG_PyObj_AsInt(obj3
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11719 arg6
= (int) SWIG_PyObj_AsInt(obj4
);
11720 if (PyErr_Occurred()) SWIG_fail
;
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
11727 wxPyEndAllowThreads(__tstate
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11730 Py_INCREF(Py_None
); resultobj
= Py_None
;
11732 if (arg3
) delete [] arg3
;
11737 if (arg3
) delete [] arg3
;
11743 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11744 PyObject
*resultobj
;
11745 wxDC
*arg1
= (wxDC
*) 0 ;
11746 wxString
*arg2
= 0 ;
11748 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
11749 int arg5
= (int) -1 ;
11750 bool temp2
= False
;
11752 PyObject
* obj0
= 0 ;
11753 PyObject
* obj1
= 0 ;
11754 PyObject
* obj2
= 0 ;
11755 PyObject
* obj3
= 0 ;
11756 PyObject
* obj4
= 0 ;
11757 char *kwnames
[] = {
11758 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
11761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11764 arg2
= wxString_in_helper(obj1
);
11765 if (arg2
== NULL
) SWIG_fail
;
11770 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
11774 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11775 if (PyErr_Occurred()) SWIG_fail
;
11780 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11781 if (PyErr_Occurred()) SWIG_fail
;
11785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11786 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
11788 wxPyEndAllowThreads(__tstate
);
11789 if (PyErr_Occurred()) SWIG_fail
;
11791 Py_INCREF(Py_None
); resultobj
= Py_None
;
11806 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11807 PyObject
*resultobj
;
11808 wxDC
*arg1
= (wxDC
*) 0 ;
11809 wxString
*arg2
= 0 ;
11810 wxBitmap
*arg3
= 0 ;
11812 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
11813 int arg6
= (int) -1 ;
11815 bool temp2
= False
;
11817 PyObject
* obj0
= 0 ;
11818 PyObject
* obj1
= 0 ;
11819 PyObject
* obj2
= 0 ;
11820 PyObject
* obj3
= 0 ;
11821 PyObject
* obj4
= 0 ;
11822 PyObject
* obj5
= 0 ;
11823 char *kwnames
[] = {
11824 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
11827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11830 arg2
= wxString_in_helper(obj1
);
11831 if (arg2
== NULL
) SWIG_fail
;
11834 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11835 if (arg3
== NULL
) {
11836 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11840 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
11844 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11845 if (PyErr_Occurred()) SWIG_fail
;
11850 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11856 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
11858 wxPyEndAllowThreads(__tstate
);
11859 if (PyErr_Occurred()) SWIG_fail
;
11862 wxRect
* resultptr
;
11863 resultptr
= new wxRect((wxRect
&) result
);
11864 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
11880 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11881 PyObject
*resultobj
;
11882 wxDC
*arg1
= (wxDC
*) 0 ;
11884 wxPoint
*arg3
= (wxPoint
*) 0 ;
11885 PyObject
* obj0
= 0 ;
11886 PyObject
* obj1
= 0 ;
11887 char *kwnames
[] = {
11888 (char *) "self",(char *) "points", NULL
11891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
11892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11894 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11895 if (arg3
== NULL
) SWIG_fail
;
11898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11899 (arg1
)->DrawSpline(arg2
,arg3
);
11901 wxPyEndAllowThreads(__tstate
);
11902 if (PyErr_Occurred()) SWIG_fail
;
11904 Py_INCREF(Py_None
); resultobj
= Py_None
;
11906 if (arg3
) delete [] arg3
;
11911 if (arg3
) delete [] arg3
;
11917 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11918 PyObject
*resultobj
;
11919 wxDC
*arg1
= (wxDC
*) 0 ;
11920 PyObject
* obj0
= 0 ;
11921 char *kwnames
[] = {
11922 (char *) "self", NULL
11925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
11926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11931 wxPyEndAllowThreads(__tstate
);
11932 if (PyErr_Occurred()) SWIG_fail
;
11934 Py_INCREF(Py_None
); resultobj
= Py_None
;
11941 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11942 PyObject
*resultobj
;
11943 wxDC
*arg1
= (wxDC
*) 0 ;
11944 wxString
*arg2
= 0 ;
11946 bool temp2
= False
;
11947 PyObject
* obj0
= 0 ;
11948 PyObject
* obj1
= 0 ;
11949 char *kwnames
[] = {
11950 (char *) "self",(char *) "message", NULL
11953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
11954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11956 arg2
= wxString_in_helper(obj1
);
11957 if (arg2
== NULL
) SWIG_fail
;
11961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11962 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
11964 wxPyEndAllowThreads(__tstate
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11967 resultobj
= SWIG_PyObj_FromBool((bool)result
);
11982 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11983 PyObject
*resultobj
;
11984 wxDC
*arg1
= (wxDC
*) 0 ;
11985 PyObject
* obj0
= 0 ;
11986 char *kwnames
[] = {
11987 (char *) "self", NULL
11990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
11991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11996 wxPyEndAllowThreads(__tstate
);
11997 if (PyErr_Occurred()) SWIG_fail
;
11999 Py_INCREF(Py_None
); resultobj
= Py_None
;
12006 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12007 PyObject
*resultobj
;
12008 wxDC
*arg1
= (wxDC
*) 0 ;
12009 PyObject
* obj0
= 0 ;
12010 char *kwnames
[] = {
12011 (char *) "self", NULL
12014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 (arg1
)->StartPage();
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12023 Py_INCREF(Py_None
); resultobj
= Py_None
;
12030 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12031 PyObject
*resultobj
;
12032 wxDC
*arg1
= (wxDC
*) 0 ;
12033 PyObject
* obj0
= 0 ;
12034 char *kwnames
[] = {
12035 (char *) "self", NULL
12038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12044 wxPyEndAllowThreads(__tstate
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12047 Py_INCREF(Py_None
); resultobj
= Py_None
;
12054 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12055 PyObject
*resultobj
;
12056 wxDC
*arg1
= (wxDC
*) 0 ;
12058 PyObject
* obj0
= 0 ;
12059 PyObject
* obj1
= 0 ;
12060 char *kwnames
[] = {
12061 (char *) "self",(char *) "font", NULL
12064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12066 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12067 if (arg2
== NULL
) {
12068 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 (arg1
)->SetFont((wxFont
const &)*arg2
);
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12077 Py_INCREF(Py_None
); resultobj
= Py_None
;
12084 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12085 PyObject
*resultobj
;
12086 wxDC
*arg1
= (wxDC
*) 0 ;
12088 PyObject
* obj0
= 0 ;
12089 PyObject
* obj1
= 0 ;
12090 char *kwnames
[] = {
12091 (char *) "self",(char *) "pen", NULL
12094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12096 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12097 if (arg2
== NULL
) {
12098 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12102 (arg1
)->SetPen((wxPen
const &)*arg2
);
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12107 Py_INCREF(Py_None
); resultobj
= Py_None
;
12114 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
;
12116 wxDC
*arg1
= (wxDC
*) 0 ;
12117 wxBrush
*arg2
= 0 ;
12118 PyObject
* obj0
= 0 ;
12119 PyObject
* obj1
= 0 ;
12120 char *kwnames
[] = {
12121 (char *) "self",(char *) "brush", NULL
12124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12126 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12127 if (arg2
== NULL
) {
12128 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12132 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12134 wxPyEndAllowThreads(__tstate
);
12135 if (PyErr_Occurred()) SWIG_fail
;
12137 Py_INCREF(Py_None
); resultobj
= Py_None
;
12144 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12145 PyObject
*resultobj
;
12146 wxDC
*arg1
= (wxDC
*) 0 ;
12147 wxBrush
*arg2
= 0 ;
12148 PyObject
* obj0
= 0 ;
12149 PyObject
* obj1
= 0 ;
12150 char *kwnames
[] = {
12151 (char *) "self",(char *) "brush", NULL
12154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12156 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12157 if (arg2
== NULL
) {
12158 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12162 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12164 wxPyEndAllowThreads(__tstate
);
12165 if (PyErr_Occurred()) SWIG_fail
;
12167 Py_INCREF(Py_None
); resultobj
= Py_None
;
12174 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12175 PyObject
*resultobj
;
12176 wxDC
*arg1
= (wxDC
*) 0 ;
12178 PyObject
* obj0
= 0 ;
12179 PyObject
* obj1
= 0 ;
12180 char *kwnames
[] = {
12181 (char *) "self",(char *) "mode", NULL
12184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12187 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12192 (arg1
)->SetBackgroundMode(arg2
);
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12197 Py_INCREF(Py_None
); resultobj
= Py_None
;
12204 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
;
12206 wxDC
*arg1
= (wxDC
*) 0 ;
12207 wxPalette
*arg2
= 0 ;
12208 PyObject
* obj0
= 0 ;
12209 PyObject
* obj1
= 0 ;
12210 char *kwnames
[] = {
12211 (char *) "self",(char *) "palette", NULL
12214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12216 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12217 if (arg2
== NULL
) {
12218 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12222 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12224 wxPyEndAllowThreads(__tstate
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12227 Py_INCREF(Py_None
); resultobj
= Py_None
;
12234 static PyObject
*_wrap_DC_SetClippingRegionXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12235 PyObject
*resultobj
;
12236 wxDC
*arg1
= (wxDC
*) 0 ;
12241 PyObject
* obj0
= 0 ;
12242 PyObject
* obj1
= 0 ;
12243 PyObject
* obj2
= 0 ;
12244 PyObject
* obj3
= 0 ;
12245 PyObject
* obj4
= 0 ;
12246 char *kwnames
[] = {
12247 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegionXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12253 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12254 if (PyErr_Occurred()) SWIG_fail
;
12257 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12261 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12265 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12266 if (PyErr_Occurred()) SWIG_fail
;
12269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12270 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12275 Py_INCREF(Py_None
); resultobj
= Py_None
;
12282 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12283 PyObject
*resultobj
;
12284 wxDC
*arg1
= (wxDC
*) 0 ;
12285 wxPoint
*arg2
= 0 ;
12289 PyObject
* obj0
= 0 ;
12290 PyObject
* obj1
= 0 ;
12291 PyObject
* obj2
= 0 ;
12292 char *kwnames
[] = {
12293 (char *) "self",(char *) "pt",(char *) "sz", NULL
12296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12300 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12304 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12308 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12310 wxPyEndAllowThreads(__tstate
);
12311 if (PyErr_Occurred()) SWIG_fail
;
12313 Py_INCREF(Py_None
); resultobj
= Py_None
;
12320 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12321 PyObject
*resultobj
;
12322 wxDC
*arg1
= (wxDC
*) 0 ;
12325 PyObject
* obj0
= 0 ;
12326 PyObject
* obj1
= 0 ;
12327 char *kwnames
[] = {
12328 (char *) "self",(char *) "rect", NULL
12331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12335 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12341 wxPyEndAllowThreads(__tstate
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12344 Py_INCREF(Py_None
); resultobj
= Py_None
;
12351 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12352 PyObject
*resultobj
;
12353 wxDC
*arg1
= (wxDC
*) 0 ;
12354 wxRegion
*arg2
= 0 ;
12355 PyObject
* obj0
= 0 ;
12356 PyObject
* obj1
= 0 ;
12357 char *kwnames
[] = {
12358 (char *) "self",(char *) "region", NULL
12361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12363 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12364 if (arg2
== NULL
) {
12365 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12369 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12371 wxPyEndAllowThreads(__tstate
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12374 Py_INCREF(Py_None
); resultobj
= Py_None
;
12381 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12382 PyObject
*resultobj
;
12383 wxDC
*arg1
= (wxDC
*) 0 ;
12384 PyObject
* obj0
= 0 ;
12385 char *kwnames
[] = {
12386 (char *) "self", NULL
12389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12393 (arg1
)->DestroyClippingRegion();
12395 wxPyEndAllowThreads(__tstate
);
12396 if (PyErr_Occurred()) SWIG_fail
;
12398 Py_INCREF(Py_None
); resultobj
= Py_None
;
12405 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12406 PyObject
*resultobj
;
12407 wxDC
*arg1
= (wxDC
*) 0 ;
12408 int *arg2
= (int *) 0 ;
12409 int *arg3
= (int *) 0 ;
12410 int *arg4
= (int *) 0 ;
12411 int *arg5
= (int *) 0 ;
12416 PyObject
* obj0
= 0 ;
12417 char *kwnames
[] = {
12418 (char *) "self", NULL
12425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12429 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12431 wxPyEndAllowThreads(__tstate
);
12432 if (PyErr_Occurred()) SWIG_fail
;
12434 Py_INCREF(Py_None
); resultobj
= Py_None
;
12436 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12437 resultobj
= t_output_helper(resultobj
,o
);
12440 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12441 resultobj
= t_output_helper(resultobj
,o
);
12444 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12445 resultobj
= t_output_helper(resultobj
,o
);
12448 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12449 resultobj
= t_output_helper(resultobj
,o
);
12457 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12458 PyObject
*resultobj
;
12459 wxDC
*arg1
= (wxDC
*) 0 ;
12461 PyObject
* obj0
= 0 ;
12462 char *kwnames
[] = {
12463 (char *) "self", NULL
12466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12470 result
= wxDC_GetClippingRect(arg1
);
12472 wxPyEndAllowThreads(__tstate
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12476 wxRect
* resultptr
;
12477 resultptr
= new wxRect((wxRect
&) result
);
12478 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
12486 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12487 PyObject
*resultobj
;
12488 wxDC
*arg1
= (wxDC
*) 0 ;
12490 PyObject
* obj0
= 0 ;
12491 char *kwnames
[] = {
12492 (char *) "self", NULL
12495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12499 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
12501 wxPyEndAllowThreads(__tstate
);
12502 if (PyErr_Occurred()) SWIG_fail
;
12504 resultobj
= SWIG_PyObj_FromInt((int)result
);
12511 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12512 PyObject
*resultobj
;
12513 wxDC
*arg1
= (wxDC
*) 0 ;
12515 PyObject
* obj0
= 0 ;
12516 char *kwnames
[] = {
12517 (char *) "self", NULL
12520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
12521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12529 resultobj
= SWIG_PyObj_FromInt((int)result
);
12536 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12537 PyObject
*resultobj
;
12538 wxDC
*arg1
= (wxDC
*) 0 ;
12539 wxString
*arg2
= 0 ;
12540 int *arg3
= (int *) 0 ;
12541 int *arg4
= (int *) 0 ;
12542 bool temp2
= False
;
12545 PyObject
* obj0
= 0 ;
12546 PyObject
* obj1
= 0 ;
12547 char *kwnames
[] = {
12548 (char *) "self",(char *) "string", NULL
12553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
12554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12556 arg2
= wxString_in_helper(obj1
);
12557 if (arg2
== NULL
) SWIG_fail
;
12561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12562 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
12564 wxPyEndAllowThreads(__tstate
);
12565 if (PyErr_Occurred()) SWIG_fail
;
12567 Py_INCREF(Py_None
); resultobj
= Py_None
;
12569 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12570 resultobj
= t_output_helper(resultobj
,o
);
12573 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12574 resultobj
= t_output_helper(resultobj
,o
);
12590 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12591 PyObject
*resultobj
;
12592 wxDC
*arg1
= (wxDC
*) 0 ;
12593 wxString
*arg2
= 0 ;
12594 int *arg3
= (int *) 0 ;
12595 int *arg4
= (int *) 0 ;
12596 int *arg5
= (int *) 0 ;
12597 int *arg6
= (int *) 0 ;
12598 wxFont
*arg7
= (wxFont
*) NULL
;
12599 bool temp2
= False
;
12604 PyObject
* obj0
= 0 ;
12605 PyObject
* obj1
= 0 ;
12606 PyObject
* obj2
= 0 ;
12607 char *kwnames
[] = {
12608 (char *) "self",(char *) "string",(char *) "font", NULL
12615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12618 arg2
= wxString_in_helper(obj1
);
12619 if (arg2
== NULL
) SWIG_fail
;
12623 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12627 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12632 Py_INCREF(Py_None
); resultobj
= Py_None
;
12634 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12635 resultobj
= t_output_helper(resultobj
,o
);
12638 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12639 resultobj
= t_output_helper(resultobj
,o
);
12642 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12643 resultobj
= t_output_helper(resultobj
,o
);
12646 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
12647 resultobj
= t_output_helper(resultobj
,o
);
12663 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12664 PyObject
*resultobj
;
12665 wxDC
*arg1
= (wxDC
*) 0 ;
12666 wxString
*arg2
= 0 ;
12667 int *arg3
= (int *) 0 ;
12668 int *arg4
= (int *) 0 ;
12669 int *arg5
= (int *) 0 ;
12670 wxFont
*arg6
= (wxFont
*) NULL
;
12671 bool temp2
= False
;
12675 PyObject
* obj0
= 0 ;
12676 PyObject
* obj1
= 0 ;
12677 PyObject
* obj2
= 0 ;
12678 char *kwnames
[] = {
12679 (char *) "self",(char *) "text",(char *) "font", NULL
12685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12688 arg2
= wxString_in_helper(obj1
);
12689 if (arg2
== NULL
) SWIG_fail
;
12693 if ((SWIG_ConvertPtr(obj2
,(void **) &arg6
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12697 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
12699 wxPyEndAllowThreads(__tstate
);
12700 if (PyErr_Occurred()) SWIG_fail
;
12702 Py_INCREF(Py_None
); resultobj
= Py_None
;
12704 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12705 resultobj
= t_output_helper(resultobj
,o
);
12708 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12709 resultobj
= t_output_helper(resultobj
,o
);
12712 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12713 resultobj
= t_output_helper(resultobj
,o
);
12729 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
*resultobj
;
12731 wxDC
*arg1
= (wxDC
*) 0 ;
12733 PyObject
* obj0
= 0 ;
12734 char *kwnames
[] = {
12735 (char *) "self", NULL
12738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
12739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12742 result
= (arg1
)->GetSize();
12744 wxPyEndAllowThreads(__tstate
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12748 wxSize
* resultptr
;
12749 resultptr
= new wxSize((wxSize
&) result
);
12750 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12758 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12759 PyObject
*resultobj
;
12760 wxDC
*arg1
= (wxDC
*) 0 ;
12761 int *arg2
= (int *) 0 ;
12762 int *arg3
= (int *) 0 ;
12765 PyObject
* obj0
= 0 ;
12766 char *kwnames
[] = {
12767 (char *) "self", NULL
12772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
12773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12776 (arg1
)->GetSize(arg2
,arg3
);
12778 wxPyEndAllowThreads(__tstate
);
12779 if (PyErr_Occurred()) SWIG_fail
;
12781 Py_INCREF(Py_None
); resultobj
= Py_None
;
12783 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12784 resultobj
= t_output_helper(resultobj
,o
);
12787 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12788 resultobj
= t_output_helper(resultobj
,o
);
12796 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12797 PyObject
*resultobj
;
12798 wxDC
*arg1
= (wxDC
*) 0 ;
12800 PyObject
* obj0
= 0 ;
12801 char *kwnames
[] = {
12802 (char *) "self", NULL
12805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
12806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12809 result
= ((wxDC
const *)arg1
)->GetSizeMM();
12811 wxPyEndAllowThreads(__tstate
);
12812 if (PyErr_Occurred()) SWIG_fail
;
12815 wxSize
* resultptr
;
12816 resultptr
= new wxSize((wxSize
&) result
);
12817 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12825 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12826 PyObject
*resultobj
;
12827 wxDC
*arg1
= (wxDC
*) 0 ;
12828 int *arg2
= (int *) 0 ;
12829 int *arg3
= (int *) 0 ;
12832 PyObject
* obj0
= 0 ;
12833 char *kwnames
[] = {
12834 (char *) "self", NULL
12839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
12840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12843 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12848 Py_INCREF(Py_None
); resultobj
= Py_None
;
12850 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12851 resultobj
= t_output_helper(resultobj
,o
);
12854 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12855 resultobj
= t_output_helper(resultobj
,o
);
12863 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12864 PyObject
*resultobj
;
12865 wxDC
*arg1
= (wxDC
*) 0 ;
12868 PyObject
* obj0
= 0 ;
12869 PyObject
* obj1
= 0 ;
12870 char *kwnames
[] = {
12871 (char *) "self",(char *) "x", NULL
12874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
12875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12877 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12882 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
12884 wxPyEndAllowThreads(__tstate
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12887 resultobj
= SWIG_PyObj_FromInt((int)result
);
12894 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12895 PyObject
*resultobj
;
12896 wxDC
*arg1
= (wxDC
*) 0 ;
12899 PyObject
* obj0
= 0 ;
12900 PyObject
* obj1
= 0 ;
12901 char *kwnames
[] = {
12902 (char *) "self",(char *) "y", NULL
12905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
12906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12908 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12909 if (PyErr_Occurred()) SWIG_fail
;
12912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12913 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
12915 wxPyEndAllowThreads(__tstate
);
12916 if (PyErr_Occurred()) SWIG_fail
;
12918 resultobj
= SWIG_PyObj_FromInt((int)result
);
12925 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12926 PyObject
*resultobj
;
12927 wxDC
*arg1
= (wxDC
*) 0 ;
12930 PyObject
* obj0
= 0 ;
12931 PyObject
* obj1
= 0 ;
12932 char *kwnames
[] = {
12933 (char *) "self",(char *) "x", NULL
12936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
12937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12939 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12944 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
12946 wxPyEndAllowThreads(__tstate
);
12947 if (PyErr_Occurred()) SWIG_fail
;
12949 resultobj
= SWIG_PyObj_FromInt((int)result
);
12956 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12957 PyObject
*resultobj
;
12958 wxDC
*arg1
= (wxDC
*) 0 ;
12961 PyObject
* obj0
= 0 ;
12962 PyObject
* obj1
= 0 ;
12963 char *kwnames
[] = {
12964 (char *) "self",(char *) "y", NULL
12967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
12968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12970 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12975 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
12977 wxPyEndAllowThreads(__tstate
);
12978 if (PyErr_Occurred()) SWIG_fail
;
12980 resultobj
= SWIG_PyObj_FromInt((int)result
);
12987 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12988 PyObject
*resultobj
;
12989 wxDC
*arg1
= (wxDC
*) 0 ;
12992 PyObject
* obj0
= 0 ;
12993 PyObject
* obj1
= 0 ;
12994 char *kwnames
[] = {
12995 (char *) "self",(char *) "x", NULL
12998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
12999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13001 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13006 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13011 resultobj
= SWIG_PyObj_FromInt((int)result
);
13018 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13019 PyObject
*resultobj
;
13020 wxDC
*arg1
= (wxDC
*) 0 ;
13023 PyObject
* obj0
= 0 ;
13024 PyObject
* obj1
= 0 ;
13025 char *kwnames
[] = {
13026 (char *) "self",(char *) "y", NULL
13029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13032 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13037 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13039 wxPyEndAllowThreads(__tstate
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13042 resultobj
= SWIG_PyObj_FromInt((int)result
);
13049 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13050 PyObject
*resultobj
;
13051 wxDC
*arg1
= (wxDC
*) 0 ;
13054 PyObject
* obj0
= 0 ;
13055 PyObject
* obj1
= 0 ;
13056 char *kwnames
[] = {
13057 (char *) "self",(char *) "x", NULL
13060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13063 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13068 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13070 wxPyEndAllowThreads(__tstate
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13073 resultobj
= SWIG_PyObj_FromInt((int)result
);
13080 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13081 PyObject
*resultobj
;
13082 wxDC
*arg1
= (wxDC
*) 0 ;
13085 PyObject
* obj0
= 0 ;
13086 PyObject
* obj1
= 0 ;
13087 char *kwnames
[] = {
13088 (char *) "self",(char *) "y", NULL
13091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13094 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13104 resultobj
= SWIG_PyObj_FromInt((int)result
);
13111 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
;
13113 wxDC
*arg1
= (wxDC
*) 0 ;
13115 PyObject
* obj0
= 0 ;
13116 char *kwnames
[] = {
13117 (char *) "self", NULL
13120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13124 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13126 wxPyEndAllowThreads(__tstate
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13129 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13136 static PyObject
*_wrap_DC_CanGetTextExtent(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_CanGetTextExtent",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
)->CanGetTextExtent();
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13154 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13161 static PyObject
*_wrap_DC_GetDepth(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_GetDepth",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
)->GetDepth();
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13179 resultobj
= SWIG_PyObj_FromInt((int)result
);
13186 static PyObject
*_wrap_DC_GetPPI(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_GetPPI",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();
13199 result
= ((wxDC
const *)arg1
)->GetPPI();
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13205 wxSize
* resultptr
;
13206 resultptr
= new wxSize((wxSize
&) result
);
13207 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13215 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13216 PyObject
*resultobj
;
13217 wxDC
*arg1
= (wxDC
*) 0 ;
13219 PyObject
* obj0
= 0 ;
13220 char *kwnames
[] = {
13221 (char *) "self", NULL
13224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 result
= (bool)((wxDC
const *)arg1
)->Ok();
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13233 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13240 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13241 PyObject
*resultobj
;
13242 wxDC
*arg1
= (wxDC
*) 0 ;
13244 PyObject
* obj0
= 0 ;
13245 char *kwnames
[] = {
13246 (char *) "self", NULL
13249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13253 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13255 wxPyEndAllowThreads(__tstate
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13258 resultobj
= SWIG_PyObj_FromInt((int)result
);
13265 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13266 PyObject
*resultobj
;
13267 wxDC
*arg1
= (wxDC
*) 0 ;
13269 PyObject
* obj0
= 0 ;
13270 char *kwnames
[] = {
13271 (char *) "self", NULL
13274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13279 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13280 result
= (wxBrush
*) &_result_ref
;
13283 wxPyEndAllowThreads(__tstate
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13286 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
13293 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13294 PyObject
*resultobj
;
13295 wxDC
*arg1
= (wxDC
*) 0 ;
13297 PyObject
* obj0
= 0 ;
13298 char *kwnames
[] = {
13299 (char *) "self", NULL
13302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13307 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13308 result
= (wxBrush
*) &_result_ref
;
13311 wxPyEndAllowThreads(__tstate
);
13312 if (PyErr_Occurred()) SWIG_fail
;
13314 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
13321 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13322 PyObject
*resultobj
;
13323 wxDC
*arg1
= (wxDC
*) 0 ;
13325 PyObject
* obj0
= 0 ;
13326 char *kwnames
[] = {
13327 (char *) "self", NULL
13330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13335 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13336 result
= (wxFont
*) &_result_ref
;
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13342 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
13349 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13350 PyObject
*resultobj
;
13351 wxDC
*arg1
= (wxDC
*) 0 ;
13353 PyObject
* obj0
= 0 ;
13354 char *kwnames
[] = {
13355 (char *) "self", NULL
13358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13363 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13364 result
= (wxPen
*) &_result_ref
;
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
13377 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13378 PyObject
*resultobj
;
13379 wxDC
*arg1
= (wxDC
*) 0 ;
13381 PyObject
* obj0
= 0 ;
13382 char *kwnames
[] = {
13383 (char *) "self", NULL
13386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13391 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13392 result
= (wxColour
*) &_result_ref
;
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13398 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
13405 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13406 PyObject
*resultobj
;
13407 wxDC
*arg1
= (wxDC
*) 0 ;
13409 PyObject
* obj0
= 0 ;
13410 char *kwnames
[] = {
13411 (char *) "self", NULL
13414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13419 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13420 result
= (wxColour
*) &_result_ref
;
13423 wxPyEndAllowThreads(__tstate
);
13424 if (PyErr_Occurred()) SWIG_fail
;
13426 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
13433 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13434 PyObject
*resultobj
;
13435 wxDC
*arg1
= (wxDC
*) 0 ;
13436 wxColour
*arg2
= 0 ;
13438 PyObject
* obj0
= 0 ;
13439 PyObject
* obj1
= 0 ;
13440 char *kwnames
[] = {
13441 (char *) "self",(char *) "colour", NULL
13444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13448 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13452 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
13454 wxPyEndAllowThreads(__tstate
);
13455 if (PyErr_Occurred()) SWIG_fail
;
13457 Py_INCREF(Py_None
); resultobj
= Py_None
;
13464 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13465 PyObject
*resultobj
;
13466 wxDC
*arg1
= (wxDC
*) 0 ;
13467 wxColour
*arg2
= 0 ;
13469 PyObject
* obj0
= 0 ;
13470 PyObject
* obj1
= 0 ;
13471 char *kwnames
[] = {
13472 (char *) "self",(char *) "colour", NULL
13475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13479 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13483 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
13485 wxPyEndAllowThreads(__tstate
);
13486 if (PyErr_Occurred()) SWIG_fail
;
13488 Py_INCREF(Py_None
); resultobj
= Py_None
;
13495 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13496 PyObject
*resultobj
;
13497 wxDC
*arg1
= (wxDC
*) 0 ;
13499 PyObject
* obj0
= 0 ;
13500 char *kwnames
[] = {
13501 (char *) "self", NULL
13504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
13505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13508 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13513 resultobj
= SWIG_PyObj_FromInt((int)result
);
13520 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13521 PyObject
*resultobj
;
13522 wxDC
*arg1
= (wxDC
*) 0 ;
13524 PyObject
* obj0
= 0 ;
13525 PyObject
* obj1
= 0 ;
13526 char *kwnames
[] = {
13527 (char *) "self",(char *) "mode", NULL
13530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13533 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13534 if (PyErr_Occurred()) SWIG_fail
;
13537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13538 (arg1
)->SetMapMode(arg2
);
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13543 Py_INCREF(Py_None
); resultobj
= Py_None
;
13550 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13551 PyObject
*resultobj
;
13552 wxDC
*arg1
= (wxDC
*) 0 ;
13553 double *arg2
= (double *) 0 ;
13554 double *arg3
= (double *) 0 ;
13557 PyObject
* obj0
= 0 ;
13558 char *kwnames
[] = {
13559 (char *) "self", NULL
13564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
13565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13568 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
13570 wxPyEndAllowThreads(__tstate
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13573 Py_INCREF(Py_None
); resultobj
= Py_None
;
13575 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13576 resultobj
= t_output_helper(resultobj
,o
);
13579 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
13580 resultobj
= t_output_helper(resultobj
,o
);
13588 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13589 PyObject
*resultobj
;
13590 wxDC
*arg1
= (wxDC
*) 0 ;
13593 PyObject
* obj0
= 0 ;
13594 PyObject
* obj1
= 0 ;
13595 PyObject
* obj2
= 0 ;
13596 char *kwnames
[] = {
13597 (char *) "self",(char *) "x",(char *) "y", NULL
13600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13603 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
13604 if (PyErr_Occurred()) SWIG_fail
;
13607 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13612 (arg1
)->SetUserScale(arg2
,arg3
);
13614 wxPyEndAllowThreads(__tstate
);
13615 if (PyErr_Occurred()) SWIG_fail
;
13617 Py_INCREF(Py_None
); resultobj
= Py_None
;
13624 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13625 PyObject
*resultobj
;
13626 wxDC
*arg1
= (wxDC
*) 0 ;
13627 double *arg2
= (double *) 0 ;
13628 double *arg3
= (double *) 0 ;
13631 PyObject
* obj0
= 0 ;
13632 char *kwnames
[] = {
13633 (char *) "self", NULL
13638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
13639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13642 (arg1
)->GetLogicalScale(arg2
,arg3
);
13644 wxPyEndAllowThreads(__tstate
);
13645 if (PyErr_Occurred()) SWIG_fail
;
13647 Py_INCREF(Py_None
); resultobj
= Py_None
;
13649 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13650 resultobj
= t_output_helper(resultobj
,o
);
13653 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
13654 resultobj
= t_output_helper(resultobj
,o
);
13662 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13663 PyObject
*resultobj
;
13664 wxDC
*arg1
= (wxDC
*) 0 ;
13667 PyObject
* obj0
= 0 ;
13668 PyObject
* obj1
= 0 ;
13669 PyObject
* obj2
= 0 ;
13670 char *kwnames
[] = {
13671 (char *) "self",(char *) "x",(char *) "y", NULL
13674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13677 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
13678 if (PyErr_Occurred()) SWIG_fail
;
13681 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13682 if (PyErr_Occurred()) SWIG_fail
;
13685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13686 (arg1
)->SetLogicalScale(arg2
,arg3
);
13688 wxPyEndAllowThreads(__tstate
);
13689 if (PyErr_Occurred()) SWIG_fail
;
13691 Py_INCREF(Py_None
); resultobj
= Py_None
;
13698 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13699 PyObject
*resultobj
;
13700 wxDC
*arg1
= (wxDC
*) 0 ;
13702 PyObject
* obj0
= 0 ;
13703 char *kwnames
[] = {
13704 (char *) "self", NULL
13707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
13708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13711 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
13713 wxPyEndAllowThreads(__tstate
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13717 wxPoint
* resultptr
;
13718 resultptr
= new wxPoint((wxPoint
&) result
);
13719 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13727 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13728 PyObject
*resultobj
;
13729 wxDC
*arg1
= (wxDC
*) 0 ;
13730 int *arg2
= (int *) 0 ;
13731 int *arg3
= (int *) 0 ;
13734 PyObject
* obj0
= 0 ;
13735 char *kwnames
[] = {
13736 (char *) "self", NULL
13741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
13742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
13747 wxPyEndAllowThreads(__tstate
);
13748 if (PyErr_Occurred()) SWIG_fail
;
13750 Py_INCREF(Py_None
); resultobj
= Py_None
;
13752 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13753 resultobj
= t_output_helper(resultobj
,o
);
13756 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13757 resultobj
= t_output_helper(resultobj
,o
);
13765 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13766 PyObject
*resultobj
;
13767 wxDC
*arg1
= (wxDC
*) 0 ;
13770 PyObject
* obj0
= 0 ;
13771 PyObject
* obj1
= 0 ;
13772 PyObject
* obj2
= 0 ;
13773 char *kwnames
[] = {
13774 (char *) "self",(char *) "x",(char *) "y", NULL
13777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13780 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13781 if (PyErr_Occurred()) SWIG_fail
;
13784 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13785 if (PyErr_Occurred()) SWIG_fail
;
13788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13789 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
13791 wxPyEndAllowThreads(__tstate
);
13792 if (PyErr_Occurred()) SWIG_fail
;
13794 Py_INCREF(Py_None
); resultobj
= Py_None
;
13801 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13802 PyObject
*resultobj
;
13803 wxDC
*arg1
= (wxDC
*) 0 ;
13805 PyObject
* obj0
= 0 ;
13806 char *kwnames
[] = {
13807 (char *) "self", NULL
13810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
13811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13814 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
13816 wxPyEndAllowThreads(__tstate
);
13817 if (PyErr_Occurred()) SWIG_fail
;
13820 wxPoint
* resultptr
;
13821 resultptr
= new wxPoint((wxPoint
&) result
);
13822 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13830 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13831 PyObject
*resultobj
;
13832 wxDC
*arg1
= (wxDC
*) 0 ;
13833 int *arg2
= (int *) 0 ;
13834 int *arg3
= (int *) 0 ;
13837 PyObject
* obj0
= 0 ;
13838 char *kwnames
[] = {
13839 (char *) "self", NULL
13844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
13845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13848 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
13850 wxPyEndAllowThreads(__tstate
);
13851 if (PyErr_Occurred()) SWIG_fail
;
13853 Py_INCREF(Py_None
); resultobj
= Py_None
;
13855 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13856 resultobj
= t_output_helper(resultobj
,o
);
13859 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13860 resultobj
= t_output_helper(resultobj
,o
);
13868 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13869 PyObject
*resultobj
;
13870 wxDC
*arg1
= (wxDC
*) 0 ;
13873 PyObject
* obj0
= 0 ;
13874 PyObject
* obj1
= 0 ;
13875 PyObject
* obj2
= 0 ;
13876 char *kwnames
[] = {
13877 (char *) "self",(char *) "x",(char *) "y", NULL
13880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13883 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13884 if (PyErr_Occurred()) SWIG_fail
;
13887 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13888 if (PyErr_Occurred()) SWIG_fail
;
13891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13892 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
13894 wxPyEndAllowThreads(__tstate
);
13895 if (PyErr_Occurred()) SWIG_fail
;
13897 Py_INCREF(Py_None
); resultobj
= Py_None
;
13904 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13905 PyObject
*resultobj
;
13906 wxDC
*arg1
= (wxDC
*) 0 ;
13909 PyObject
* obj0
= 0 ;
13910 PyObject
* obj1
= 0 ;
13911 PyObject
* obj2
= 0 ;
13912 char *kwnames
[] = {
13913 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
13916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13919 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
13920 if (PyErr_Occurred()) SWIG_fail
;
13923 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
13924 if (PyErr_Occurred()) SWIG_fail
;
13927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13928 (arg1
)->SetAxisOrientation(arg2
,arg3
);
13930 wxPyEndAllowThreads(__tstate
);
13931 if (PyErr_Occurred()) SWIG_fail
;
13933 Py_INCREF(Py_None
); resultobj
= Py_None
;
13940 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13941 PyObject
*resultobj
;
13942 wxDC
*arg1
= (wxDC
*) 0 ;
13944 PyObject
* obj0
= 0 ;
13945 char *kwnames
[] = {
13946 (char *) "self", NULL
13949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
13950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13953 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
13955 wxPyEndAllowThreads(__tstate
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13958 resultobj
= SWIG_PyObj_FromInt((int)result
);
13965 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13966 PyObject
*resultobj
;
13967 wxDC
*arg1
= (wxDC
*) 0 ;
13969 PyObject
* obj0
= 0 ;
13970 PyObject
* obj1
= 0 ;
13971 char *kwnames
[] = {
13972 (char *) "self",(char *) "function", NULL
13975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
13976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13978 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13979 if (PyErr_Occurred()) SWIG_fail
;
13982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13983 (arg1
)->SetLogicalFunction(arg2
);
13985 wxPyEndAllowThreads(__tstate
);
13986 if (PyErr_Occurred()) SWIG_fail
;
13988 Py_INCREF(Py_None
); resultobj
= Py_None
;
13995 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13996 PyObject
*resultobj
;
13997 wxDC
*arg1
= (wxDC
*) 0 ;
13999 PyObject
* obj0
= 0 ;
14000 PyObject
* obj1
= 0 ;
14001 char *kwnames
[] = {
14002 (char *) "self",(char *) "opt", NULL
14005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14008 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14009 if (PyErr_Occurred()) SWIG_fail
;
14012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14013 (arg1
)->SetOptimization(arg2
);
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 Py_INCREF(Py_None
); resultobj
= Py_None
;
14025 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14026 PyObject
*resultobj
;
14027 wxDC
*arg1
= (wxDC
*) 0 ;
14029 PyObject
* obj0
= 0 ;
14030 char *kwnames
[] = {
14031 (char *) "self", NULL
14034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14038 result
= (bool)(arg1
)->GetOptimization();
14040 wxPyEndAllowThreads(__tstate
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14043 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14050 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14051 PyObject
*resultobj
;
14052 wxDC
*arg1
= (wxDC
*) 0 ;
14055 PyObject
* obj0
= 0 ;
14056 PyObject
* obj1
= 0 ;
14057 PyObject
* obj2
= 0 ;
14058 char *kwnames
[] = {
14059 (char *) "self",(char *) "x",(char *) "y", NULL
14062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14065 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14066 if (PyErr_Occurred()) SWIG_fail
;
14069 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14070 if (PyErr_Occurred()) SWIG_fail
;
14073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14074 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14076 wxPyEndAllowThreads(__tstate
);
14077 if (PyErr_Occurred()) SWIG_fail
;
14079 Py_INCREF(Py_None
); resultobj
= Py_None
;
14086 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14087 PyObject
*resultobj
;
14088 wxDC
*arg1
= (wxDC
*) 0 ;
14089 PyObject
* obj0
= 0 ;
14090 char *kwnames
[] = {
14091 (char *) "self", NULL
14094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14098 (arg1
)->ResetBoundingBox();
14100 wxPyEndAllowThreads(__tstate
);
14101 if (PyErr_Occurred()) SWIG_fail
;
14103 Py_INCREF(Py_None
); resultobj
= Py_None
;
14110 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14111 PyObject
*resultobj
;
14112 wxDC
*arg1
= (wxDC
*) 0 ;
14114 PyObject
* obj0
= 0 ;
14115 char *kwnames
[] = {
14116 (char *) "self", NULL
14119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14123 result
= (int)((wxDC
const *)arg1
)->MinX();
14125 wxPyEndAllowThreads(__tstate
);
14126 if (PyErr_Occurred()) SWIG_fail
;
14128 resultobj
= SWIG_PyObj_FromInt((int)result
);
14135 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14136 PyObject
*resultobj
;
14137 wxDC
*arg1
= (wxDC
*) 0 ;
14139 PyObject
* obj0
= 0 ;
14140 char *kwnames
[] = {
14141 (char *) "self", NULL
14144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14148 result
= (int)((wxDC
const *)arg1
)->MaxX();
14150 wxPyEndAllowThreads(__tstate
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14153 resultobj
= SWIG_PyObj_FromInt((int)result
);
14160 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14161 PyObject
*resultobj
;
14162 wxDC
*arg1
= (wxDC
*) 0 ;
14164 PyObject
* obj0
= 0 ;
14165 char *kwnames
[] = {
14166 (char *) "self", NULL
14169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 result
= (int)((wxDC
const *)arg1
)->MinY();
14175 wxPyEndAllowThreads(__tstate
);
14176 if (PyErr_Occurred()) SWIG_fail
;
14178 resultobj
= SWIG_PyObj_FromInt((int)result
);
14185 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14186 PyObject
*resultobj
;
14187 wxDC
*arg1
= (wxDC
*) 0 ;
14189 PyObject
* obj0
= 0 ;
14190 char *kwnames
[] = {
14191 (char *) "self", NULL
14194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14198 result
= (int)((wxDC
const *)arg1
)->MaxY();
14200 wxPyEndAllowThreads(__tstate
);
14201 if (PyErr_Occurred()) SWIG_fail
;
14203 resultobj
= SWIG_PyObj_FromInt((int)result
);
14210 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14211 PyObject
*resultobj
;
14212 wxDC
*arg1
= (wxDC
*) 0 ;
14213 int *arg2
= (int *) 0 ;
14214 int *arg3
= (int *) 0 ;
14215 int *arg4
= (int *) 0 ;
14216 int *arg5
= (int *) 0 ;
14221 PyObject
* obj0
= 0 ;
14222 char *kwnames
[] = {
14223 (char *) "self", NULL
14230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14239 Py_INCREF(Py_None
); resultobj
= Py_None
;
14241 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14242 resultobj
= t_output_helper(resultobj
,o
);
14245 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14246 resultobj
= t_output_helper(resultobj
,o
);
14249 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14250 resultobj
= t_output_helper(resultobj
,o
);
14253 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14254 resultobj
= t_output_helper(resultobj
,o
);
14262 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14263 PyObject
*resultobj
;
14264 wxDC
*arg1
= (wxDC
*) 0 ;
14265 PyObject
*arg2
= (PyObject
*) 0 ;
14266 PyObject
*arg3
= (PyObject
*) 0 ;
14267 PyObject
*arg4
= (PyObject
*) 0 ;
14269 PyObject
* obj0
= 0 ;
14270 PyObject
* obj1
= 0 ;
14271 PyObject
* obj2
= 0 ;
14272 PyObject
* obj3
= 0 ;
14273 char *kwnames
[] = {
14274 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14284 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14286 wxPyEndAllowThreads(__tstate
);
14287 if (PyErr_Occurred()) SWIG_fail
;
14289 resultobj
= result
;
14296 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14297 PyObject
*resultobj
;
14298 wxDC
*arg1
= (wxDC
*) 0 ;
14299 PyObject
*arg2
= (PyObject
*) 0 ;
14300 PyObject
*arg3
= (PyObject
*) 0 ;
14301 PyObject
*arg4
= (PyObject
*) 0 ;
14303 PyObject
* obj0
= 0 ;
14304 PyObject
* obj1
= 0 ;
14305 PyObject
* obj2
= 0 ;
14306 PyObject
* obj3
= 0 ;
14307 char *kwnames
[] = {
14308 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14318 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14320 wxPyEndAllowThreads(__tstate
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14323 resultobj
= result
;
14330 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14331 PyObject
*resultobj
;
14332 wxDC
*arg1
= (wxDC
*) 0 ;
14333 PyObject
*arg2
= (PyObject
*) 0 ;
14334 PyObject
*arg3
= (PyObject
*) 0 ;
14335 PyObject
*arg4
= (PyObject
*) 0 ;
14337 PyObject
* obj0
= 0 ;
14338 PyObject
* obj1
= 0 ;
14339 PyObject
* obj2
= 0 ;
14340 PyObject
* obj3
= 0 ;
14341 char *kwnames
[] = {
14342 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14352 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14354 wxPyEndAllowThreads(__tstate
);
14355 if (PyErr_Occurred()) SWIG_fail
;
14357 resultobj
= result
;
14364 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14365 PyObject
*resultobj
;
14366 wxDC
*arg1
= (wxDC
*) 0 ;
14367 PyObject
*arg2
= (PyObject
*) 0 ;
14368 PyObject
*arg3
= (PyObject
*) 0 ;
14369 PyObject
*arg4
= (PyObject
*) 0 ;
14371 PyObject
* obj0
= 0 ;
14372 PyObject
* obj1
= 0 ;
14373 PyObject
* obj2
= 0 ;
14374 PyObject
* obj3
= 0 ;
14375 char *kwnames
[] = {
14376 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14386 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14388 wxPyEndAllowThreads(__tstate
);
14389 if (PyErr_Occurred()) SWIG_fail
;
14391 resultobj
= result
;
14398 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14399 PyObject
*resultobj
;
14400 wxDC
*arg1
= (wxDC
*) 0 ;
14401 PyObject
*arg2
= (PyObject
*) 0 ;
14402 PyObject
*arg3
= (PyObject
*) 0 ;
14403 PyObject
*arg4
= (PyObject
*) 0 ;
14405 PyObject
* obj0
= 0 ;
14406 PyObject
* obj1
= 0 ;
14407 PyObject
* obj2
= 0 ;
14408 PyObject
* obj3
= 0 ;
14409 char *kwnames
[] = {
14410 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14420 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
14422 wxPyEndAllowThreads(__tstate
);
14423 if (PyErr_Occurred()) SWIG_fail
;
14425 resultobj
= result
;
14432 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
;
14434 wxDC
*arg1
= (wxDC
*) 0 ;
14435 PyObject
*arg2
= (PyObject
*) 0 ;
14436 PyObject
*arg3
= (PyObject
*) 0 ;
14437 PyObject
*arg4
= (PyObject
*) 0 ;
14438 PyObject
*arg5
= (PyObject
*) 0 ;
14440 PyObject
* obj0
= 0 ;
14441 PyObject
* obj1
= 0 ;
14442 PyObject
* obj2
= 0 ;
14443 PyObject
* obj3
= 0 ;
14444 PyObject
* obj4
= 0 ;
14445 char *kwnames
[] = {
14446 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
14449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14457 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
14459 wxPyEndAllowThreads(__tstate
);
14460 if (PyErr_Occurred()) SWIG_fail
;
14462 resultobj
= result
;
14469 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
14471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14472 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
14474 return Py_BuildValue((char *)"");
14476 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14477 PyObject
*resultobj
;
14478 wxMemoryDC
*result
;
14479 char *kwnames
[] = {
14483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
14485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14486 result
= (wxMemoryDC
*)new wxMemoryDC();
14488 wxPyEndAllowThreads(__tstate
);
14489 if (PyErr_Occurred()) SWIG_fail
;
14491 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryDC
, 1);
14498 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14499 PyObject
*resultobj
;
14500 wxDC
*arg1
= (wxDC
*) 0 ;
14501 wxMemoryDC
*result
;
14502 PyObject
* obj0
= 0 ;
14503 char *kwnames
[] = {
14504 (char *) "oldDC", NULL
14507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
14508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14511 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14516 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryDC
, 1);
14523 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14524 PyObject
*resultobj
;
14525 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
14526 wxBitmap
*arg2
= 0 ;
14527 PyObject
* obj0
= 0 ;
14528 PyObject
* obj1
= 0 ;
14529 char *kwnames
[] = {
14530 (char *) "self",(char *) "bitmap", NULL
14533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14535 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14536 if (arg2
== NULL
) {
14537 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14541 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
14543 wxPyEndAllowThreads(__tstate
);
14544 if (PyErr_Occurred()) SWIG_fail
;
14546 Py_INCREF(Py_None
); resultobj
= Py_None
;
14553 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
14555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14556 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
14558 return Py_BuildValue((char *)"");
14560 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14561 PyObject
*resultobj
;
14562 wxDC
*arg1
= (wxDC
*) 0 ;
14563 wxBitmap
*arg2
= 0 ;
14564 wxBufferedDC
*result
;
14565 PyObject
* obj0
= 0 ;
14566 PyObject
* obj1
= 0 ;
14567 char *kwnames
[] = {
14568 (char *) "dc",(char *) "buffer", NULL
14571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_BufferedDC",kwnames
,&obj0
,&obj1
)) goto fail
;
14572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14573 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14574 if (arg2
== NULL
) {
14575 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14579 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
14581 wxPyEndAllowThreads(__tstate
);
14582 if (PyErr_Occurred()) SWIG_fail
;
14584 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
14591 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14592 PyObject
*resultobj
;
14593 wxDC
*arg1
= (wxDC
*) 0 ;
14595 wxBufferedDC
*result
;
14597 PyObject
* obj0
= 0 ;
14598 PyObject
* obj1
= 0 ;
14599 char *kwnames
[] = {
14600 (char *) "dc",(char *) "area", NULL
14603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_BufferedDCInternalBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
14604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14607 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14611 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
14613 wxPyEndAllowThreads(__tstate
);
14614 if (PyErr_Occurred()) SWIG_fail
;
14616 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
14623 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14624 PyObject
*resultobj
;
14625 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
14626 PyObject
* obj0
= 0 ;
14627 char *kwnames
[] = {
14628 (char *) "self", NULL
14631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
14632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBufferedDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14637 wxPyEndAllowThreads(__tstate
);
14638 if (PyErr_Occurred()) SWIG_fail
;
14640 Py_INCREF(Py_None
); resultobj
= Py_None
;
14647 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
14649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14650 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
14652 return Py_BuildValue((char *)"");
14654 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14655 PyObject
*resultobj
;
14656 wxWindow
*arg1
= (wxWindow
*) 0 ;
14657 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
14658 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
14659 wxBufferedPaintDC
*result
;
14660 PyObject
* obj0
= 0 ;
14661 PyObject
* obj1
= 0 ;
14662 char *kwnames
[] = {
14663 (char *) "window",(char *) "buffer", NULL
14666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
14667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14669 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14670 if (arg2
== NULL
) {
14671 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14676 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
14678 wxPyEndAllowThreads(__tstate
);
14679 if (PyErr_Occurred()) SWIG_fail
;
14681 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedPaintDC
, 1);
14688 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
14690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14691 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
14693 return Py_BuildValue((char *)"");
14695 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14696 PyObject
*resultobj
;
14697 wxScreenDC
*result
;
14698 char *kwnames
[] = {
14702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
14704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14705 result
= (wxScreenDC
*)new wxScreenDC();
14707 wxPyEndAllowThreads(__tstate
);
14708 if (PyErr_Occurred()) SWIG_fail
;
14710 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScreenDC
, 1);
14717 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14718 PyObject
*resultobj
;
14719 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
14720 wxWindow
*arg2
= (wxWindow
*) 0 ;
14722 PyObject
* obj0
= 0 ;
14723 PyObject
* obj1
= 0 ;
14724 char *kwnames
[] = {
14725 (char *) "self",(char *) "window", NULL
14728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
14729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14730 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14733 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
14735 wxPyEndAllowThreads(__tstate
);
14736 if (PyErr_Occurred()) SWIG_fail
;
14738 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14745 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14746 PyObject
*resultobj
;
14747 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
14748 wxRect
*arg2
= (wxRect
*) NULL
;
14750 PyObject
* obj0
= 0 ;
14751 PyObject
* obj1
= 0 ;
14752 char *kwnames
[] = {
14753 (char *) "self",(char *) "rect", NULL
14756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
14757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14759 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14763 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
14765 wxPyEndAllowThreads(__tstate
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14768 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14775 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14776 PyObject
*resultobj
;
14777 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
14779 PyObject
* obj0
= 0 ;
14780 char *kwnames
[] = {
14781 (char *) "self", NULL
14784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
14785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14788 result
= (bool)(arg1
)->EndDrawingOnTop();
14790 wxPyEndAllowThreads(__tstate
);
14791 if (PyErr_Occurred()) SWIG_fail
;
14793 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14800 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
14802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14803 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
14805 return Py_BuildValue((char *)"");
14807 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14808 PyObject
*resultobj
;
14809 wxWindow
*arg1
= (wxWindow
*) 0 ;
14810 wxClientDC
*result
;
14811 PyObject
* obj0
= 0 ;
14812 char *kwnames
[] = {
14813 (char *) "win", NULL
14816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
14817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14820 result
= (wxClientDC
*)new wxClientDC(arg1
);
14822 wxPyEndAllowThreads(__tstate
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14825 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClientDC
, 1);
14832 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
14834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14835 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
14837 return Py_BuildValue((char *)"");
14839 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14840 PyObject
*resultobj
;
14841 wxWindow
*arg1
= (wxWindow
*) 0 ;
14843 PyObject
* obj0
= 0 ;
14844 char *kwnames
[] = {
14845 (char *) "win", NULL
14848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
14849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14852 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
14854 wxPyEndAllowThreads(__tstate
);
14855 if (PyErr_Occurred()) SWIG_fail
;
14857 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintDC
, 1);
14864 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
14866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14867 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
14869 return Py_BuildValue((char *)"");
14871 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14872 PyObject
*resultobj
;
14873 wxWindow
*arg1
= (wxWindow
*) 0 ;
14874 wxWindowDC
*result
;
14875 PyObject
* obj0
= 0 ;
14876 char *kwnames
[] = {
14877 (char *) "win", NULL
14880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
14881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14884 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
14886 wxPyEndAllowThreads(__tstate
);
14887 if (PyErr_Occurred()) SWIG_fail
;
14889 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDC
, 1);
14896 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
14898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14899 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
14901 return Py_BuildValue((char *)"");
14903 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14904 PyObject
*resultobj
;
14907 wxMirrorDC
*result
;
14908 PyObject
* obj0
= 0 ;
14909 PyObject
* obj1
= 0 ;
14910 char *kwnames
[] = {
14911 (char *) "dc",(char *) "mirror", NULL
14914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
14915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14916 if (arg1
== NULL
) {
14917 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14920 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14921 if (PyErr_Occurred()) SWIG_fail
;
14924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14925 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
14927 wxPyEndAllowThreads(__tstate
);
14928 if (PyErr_Occurred()) SWIG_fail
;
14930 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMirrorDC
, 1);
14937 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
14939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14940 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
14942 return Py_BuildValue((char *)"");
14944 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14945 PyObject
*resultobj
;
14946 wxPrintData
*arg1
= 0 ;
14947 wxPostScriptDC
*result
;
14948 PyObject
* obj0
= 0 ;
14949 char *kwnames
[] = {
14950 (char *) "printData", NULL
14953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
14954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14955 if (arg1
== NULL
) {
14956 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14960 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14965 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPostScriptDC
, 1);
14972 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14973 PyObject
*resultobj
;
14974 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
14975 wxPrintData
*result
;
14976 PyObject
* obj0
= 0 ;
14977 char *kwnames
[] = {
14978 (char *) "self", NULL
14981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
14982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPostScriptDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14986 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
14987 result
= (wxPrintData
*) &_result_ref
;
14990 wxPyEndAllowThreads(__tstate
);
14991 if (PyErr_Occurred()) SWIG_fail
;
14993 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
15000 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15001 PyObject
*resultobj
;
15002 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15003 wxPrintData
*arg2
= 0 ;
15004 PyObject
* obj0
= 0 ;
15005 PyObject
* obj1
= 0 ;
15006 char *kwnames
[] = {
15007 (char *) "self",(char *) "data", NULL
15010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPostScriptDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15012 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15013 if (arg2
== NULL
) {
15014 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15023 Py_INCREF(Py_None
); resultobj
= Py_None
;
15030 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15031 PyObject
*resultobj
;
15033 PyObject
* obj0
= 0 ;
15034 char *kwnames
[] = {
15035 (char *) "ppi", NULL
15038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15040 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 wxPostScriptDC::SetResolution(arg1
);
15047 wxPyEndAllowThreads(__tstate
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15050 Py_INCREF(Py_None
); resultobj
= Py_None
;
15057 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15058 PyObject
*resultobj
;
15060 char *kwnames
[] = {
15064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15067 result
= (int)wxPostScriptDC::GetResolution();
15069 wxPyEndAllowThreads(__tstate
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15072 resultobj
= SWIG_PyObj_FromInt((int)result
);
15079 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
15081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15082 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15084 return Py_BuildValue((char *)"");
15086 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15087 PyObject
*resultobj
;
15088 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15089 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15090 wxMetaFile
*result
;
15091 bool temp1
= False
;
15092 PyObject
* obj0
= 0 ;
15093 char *kwnames
[] = {
15094 (char *) "filename", NULL
15097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15100 arg1
= wxString_in_helper(obj0
);
15101 if (arg1
== NULL
) SWIG_fail
;
15106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15107 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15109 wxPyEndAllowThreads(__tstate
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15112 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFile
, 1);
15127 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
15129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15130 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
15132 return Py_BuildValue((char *)"");
15134 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15135 PyObject
*resultobj
;
15136 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15137 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15138 int arg2
= (int) 0 ;
15139 int arg3
= (int) 0 ;
15140 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15141 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15142 wxMetaFileDC
*result
;
15143 bool temp1
= False
;
15144 bool temp4
= False
;
15145 PyObject
* obj0
= 0 ;
15146 PyObject
* obj1
= 0 ;
15147 PyObject
* obj2
= 0 ;
15148 PyObject
* obj3
= 0 ;
15149 char *kwnames
[] = {
15150 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15156 arg1
= wxString_in_helper(obj0
);
15157 if (arg1
== NULL
) SWIG_fail
;
15163 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15169 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15170 if (PyErr_Occurred()) SWIG_fail
;
15175 arg4
= wxString_in_helper(obj3
);
15176 if (arg4
== NULL
) SWIG_fail
;
15181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15182 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
15184 wxPyEndAllowThreads(__tstate
);
15185 if (PyErr_Occurred()) SWIG_fail
;
15187 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFileDC
, 1);
15210 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
15212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15213 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
15215 return Py_BuildValue((char *)"");
15217 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
;
15219 wxPrintData
*arg1
= 0 ;
15220 wxPrinterDC
*result
;
15221 PyObject
* obj0
= 0 ;
15222 char *kwnames
[] = {
15223 (char *) "printData", NULL
15226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
15227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15228 if (arg1
== NULL
) {
15229 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15233 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
15235 wxPyEndAllowThreads(__tstate
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15238 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinterDC
, 1);
15245 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
15247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15248 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
15250 return Py_BuildValue((char *)"");
15252 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15253 PyObject
*resultobj
;
15256 int arg3
= (int) True
;
15257 int arg4
= (int) 1 ;
15258 wxImageList
*result
;
15259 PyObject
* obj0
= 0 ;
15260 PyObject
* obj1
= 0 ;
15261 PyObject
* obj2
= 0 ;
15262 PyObject
* obj3
= 0 ;
15263 char *kwnames
[] = {
15264 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
15267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15269 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15273 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15274 if (PyErr_Occurred()) SWIG_fail
;
15278 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15284 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15290 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
15292 wxPyEndAllowThreads(__tstate
);
15293 if (PyErr_Occurred()) SWIG_fail
;
15296 resultobj
= wxPyMake_wxObject(result
);
15304 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15305 PyObject
*resultobj
;
15306 wxImageList
*arg1
= (wxImageList
*) 0 ;
15307 PyObject
* obj0
= 0 ;
15308 char *kwnames
[] = {
15309 (char *) "self", NULL
15312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
15313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15321 Py_INCREF(Py_None
); resultobj
= Py_None
;
15328 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15329 PyObject
*resultobj
;
15330 wxImageList
*arg1
= (wxImageList
*) 0 ;
15331 wxBitmap
*arg2
= 0 ;
15332 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
15333 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
15335 PyObject
* obj0
= 0 ;
15336 PyObject
* obj1
= 0 ;
15337 PyObject
* obj2
= 0 ;
15338 char *kwnames
[] = {
15339 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
15342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15344 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15345 if (arg2
== NULL
) {
15346 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15349 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15350 if (arg3
== NULL
) {
15351 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15356 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
15358 wxPyEndAllowThreads(__tstate
);
15359 if (PyErr_Occurred()) SWIG_fail
;
15361 resultobj
= SWIG_PyObj_FromInt((int)result
);
15368 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15369 PyObject
*resultobj
;
15370 wxImageList
*arg1
= (wxImageList
*) 0 ;
15371 wxBitmap
*arg2
= 0 ;
15372 wxColour
*arg3
= 0 ;
15375 PyObject
* obj0
= 0 ;
15376 PyObject
* obj1
= 0 ;
15377 PyObject
* obj2
= 0 ;
15378 char *kwnames
[] = {
15379 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
15382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15384 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15385 if (arg2
== NULL
) {
15386 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15390 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15394 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
15396 wxPyEndAllowThreads(__tstate
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15399 resultobj
= SWIG_PyObj_FromInt((int)result
);
15406 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15407 PyObject
*resultobj
;
15408 wxImageList
*arg1
= (wxImageList
*) 0 ;
15411 PyObject
* obj0
= 0 ;
15412 PyObject
* obj1
= 0 ;
15413 char *kwnames
[] = {
15414 (char *) "self",(char *) "icon", NULL
15417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
15418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15419 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15420 if (arg2
== NULL
) {
15421 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15425 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
15427 wxPyEndAllowThreads(__tstate
);
15428 if (PyErr_Occurred()) SWIG_fail
;
15430 resultobj
= SWIG_PyObj_FromInt((int)result
);
15437 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15438 PyObject
*resultobj
;
15439 wxImageList
*arg1
= (wxImageList
*) 0 ;
15441 wxBitmap
*arg3
= 0 ;
15443 PyObject
* obj0
= 0 ;
15444 PyObject
* obj1
= 0 ;
15445 PyObject
* obj2
= 0 ;
15446 char *kwnames
[] = {
15447 (char *) "self",(char *) "index",(char *) "bitmap", NULL
15450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15453 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15454 if (PyErr_Occurred()) SWIG_fail
;
15456 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15457 if (arg3
== NULL
) {
15458 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15462 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
15464 wxPyEndAllowThreads(__tstate
);
15465 if (PyErr_Occurred()) SWIG_fail
;
15467 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15474 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15475 PyObject
*resultobj
;
15476 wxImageList
*arg1
= (wxImageList
*) 0 ;
15481 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
15482 bool arg7
= (bool) (bool)False
;
15484 PyObject
* obj0
= 0 ;
15485 PyObject
* obj1
= 0 ;
15486 PyObject
* obj2
= 0 ;
15487 PyObject
* obj3
= 0 ;
15488 PyObject
* obj4
= 0 ;
15489 PyObject
* obj5
= 0 ;
15490 PyObject
* obj6
= 0 ;
15491 char *kwnames
[] = {
15492 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
15495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15498 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15499 if (PyErr_Occurred()) SWIG_fail
;
15501 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15502 if (arg3
== NULL
) {
15503 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15506 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15510 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15511 if (PyErr_Occurred()) SWIG_fail
;
15515 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
15516 if (PyErr_Occurred()) SWIG_fail
;
15521 arg7
= (bool const) SWIG_PyObj_AsBool(obj6
);
15522 if (PyErr_Occurred()) SWIG_fail
;
15526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15527 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
15529 wxPyEndAllowThreads(__tstate
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15532 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15539 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15540 PyObject
*resultobj
;
15541 wxImageList
*arg1
= (wxImageList
*) 0 ;
15543 PyObject
* obj0
= 0 ;
15544 char *kwnames
[] = {
15545 (char *) "self", NULL
15548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
15549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15552 result
= (int)(arg1
)->GetImageCount();
15554 wxPyEndAllowThreads(__tstate
);
15555 if (PyErr_Occurred()) SWIG_fail
;
15557 resultobj
= SWIG_PyObj_FromInt((int)result
);
15564 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15565 PyObject
*resultobj
;
15566 wxImageList
*arg1
= (wxImageList
*) 0 ;
15569 PyObject
* obj0
= 0 ;
15570 PyObject
* obj1
= 0 ;
15571 char *kwnames
[] = {
15572 (char *) "self",(char *) "index", NULL
15575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
15576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15578 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15583 result
= (bool)(arg1
)->Remove(arg2
);
15585 wxPyEndAllowThreads(__tstate
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15588 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15595 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15596 PyObject
*resultobj
;
15597 wxImageList
*arg1
= (wxImageList
*) 0 ;
15599 PyObject
* obj0
= 0 ;
15600 char *kwnames
[] = {
15601 (char *) "self", NULL
15604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
15605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15608 result
= (bool)(arg1
)->RemoveAll();
15610 wxPyEndAllowThreads(__tstate
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15613 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15620 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15621 PyObject
*resultobj
;
15622 wxImageList
*arg1
= (wxImageList
*) 0 ;
15628 PyObject
* obj0
= 0 ;
15629 PyObject
* obj1
= 0 ;
15630 char *kwnames
[] = {
15631 (char *) "self",(char *) "index", NULL
15636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15639 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15640 if (PyErr_Occurred()) SWIG_fail
;
15643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15644 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
15646 wxPyEndAllowThreads(__tstate
);
15647 if (PyErr_Occurred()) SWIG_fail
;
15649 Py_INCREF(Py_None
); resultobj
= Py_None
;
15651 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15652 resultobj
= t_output_helper(resultobj
,o
);
15655 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
15656 resultobj
= t_output_helper(resultobj
,o
);
15664 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
15666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15667 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
15669 return Py_BuildValue((char *)"");
15671 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
15672 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
15677 static PyObject
*_wrap_NORMAL_FONT_get() {
15680 pyobj
= SWIG_NewPointerObj((void *) wxNORMAL_FONT
, SWIGTYPE_p_wxFont
, 0);
15685 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
15686 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
15691 static PyObject
*_wrap_SMALL_FONT_get() {
15694 pyobj
= SWIG_NewPointerObj((void *) wxSMALL_FONT
, SWIGTYPE_p_wxFont
, 0);
15699 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
15700 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
15705 static PyObject
*_wrap_ITALIC_FONT_get() {
15708 pyobj
= SWIG_NewPointerObj((void *) wxITALIC_FONT
, SWIGTYPE_p_wxFont
, 0);
15713 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
15714 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
15719 static PyObject
*_wrap_SWISS_FONT_get() {
15722 pyobj
= SWIG_NewPointerObj((void *) wxSWISS_FONT
, SWIGTYPE_p_wxFont
, 0);
15727 static int _wrap_RED_PEN_set(PyObject
*_val
) {
15728 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
15733 static PyObject
*_wrap_RED_PEN_get() {
15736 pyobj
= SWIG_NewPointerObj((void *) wxRED_PEN
, SWIGTYPE_p_wxPen
, 0);
15741 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
15742 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
15747 static PyObject
*_wrap_CYAN_PEN_get() {
15750 pyobj
= SWIG_NewPointerObj((void *) wxCYAN_PEN
, SWIGTYPE_p_wxPen
, 0);
15755 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
15756 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
15761 static PyObject
*_wrap_GREEN_PEN_get() {
15764 pyobj
= SWIG_NewPointerObj((void *) wxGREEN_PEN
, SWIGTYPE_p_wxPen
, 0);
15769 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
15770 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
15775 static PyObject
*_wrap_BLACK_PEN_get() {
15778 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_PEN
, SWIGTYPE_p_wxPen
, 0);
15783 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
15784 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
15789 static PyObject
*_wrap_WHITE_PEN_get() {
15792 pyobj
= SWIG_NewPointerObj((void *) wxWHITE_PEN
, SWIGTYPE_p_wxPen
, 0);
15797 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
15798 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
15803 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
15806 pyobj
= SWIG_NewPointerObj((void *) wxTRANSPARENT_PEN
, SWIGTYPE_p_wxPen
, 0);
15811 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
15812 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
15817 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
15820 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_DASHED_PEN
, SWIGTYPE_p_wxPen
, 0);
15825 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
15826 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
15831 static PyObject
*_wrap_GREY_PEN_get() {
15834 pyobj
= SWIG_NewPointerObj((void *) wxGREY_PEN
, SWIGTYPE_p_wxPen
, 0);
15839 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
15840 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
15845 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
15848 pyobj
= SWIG_NewPointerObj((void *) wxMEDIUM_GREY_PEN
, SWIGTYPE_p_wxPen
, 0);
15853 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
15854 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
15859 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
15862 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY_PEN
, SWIGTYPE_p_wxPen
, 0);
15867 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
15868 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
15873 static PyObject
*_wrap_BLUE_BRUSH_get() {
15876 pyobj
= SWIG_NewPointerObj((void *) wxBLUE_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15881 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
15882 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
15887 static PyObject
*_wrap_GREEN_BRUSH_get() {
15890 pyobj
= SWIG_NewPointerObj((void *) wxGREEN_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15895 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
15896 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
15901 static PyObject
*_wrap_WHITE_BRUSH_get() {
15904 pyobj
= SWIG_NewPointerObj((void *) wxWHITE_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15909 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
15910 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
15915 static PyObject
*_wrap_BLACK_BRUSH_get() {
15918 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15923 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
15924 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
15929 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
15932 pyobj
= SWIG_NewPointerObj((void *) wxTRANSPARENT_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15937 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
15938 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
15943 static PyObject
*_wrap_CYAN_BRUSH_get() {
15946 pyobj
= SWIG_NewPointerObj((void *) wxCYAN_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15951 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
15952 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
15957 static PyObject
*_wrap_RED_BRUSH_get() {
15960 pyobj
= SWIG_NewPointerObj((void *) wxRED_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15965 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
15966 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
15971 static PyObject
*_wrap_GREY_BRUSH_get() {
15974 pyobj
= SWIG_NewPointerObj((void *) wxGREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15979 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
15980 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
15985 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
15988 pyobj
= SWIG_NewPointerObj((void *) wxMEDIUM_GREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15993 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
15994 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
15999 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
16002 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16007 static int _wrap_BLACK_set(PyObject
*_val
) {
16008 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
16013 static PyObject
*_wrap_BLACK_get() {
16016 pyobj
= SWIG_NewPointerObj((void *) wxBLACK
, SWIGTYPE_p_wxColour
, 0);
16021 static int _wrap_WHITE_set(PyObject
*_val
) {
16022 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16027 static PyObject
*_wrap_WHITE_get() {
16030 pyobj
= SWIG_NewPointerObj((void *) wxWHITE
, SWIGTYPE_p_wxColour
, 0);
16035 static int _wrap_RED_set(PyObject
*_val
) {
16036 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16041 static PyObject
*_wrap_RED_get() {
16044 pyobj
= SWIG_NewPointerObj((void *) wxRED
, SWIGTYPE_p_wxColour
, 0);
16049 static int _wrap_BLUE_set(PyObject
*_val
) {
16050 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16055 static PyObject
*_wrap_BLUE_get() {
16058 pyobj
= SWIG_NewPointerObj((void *) wxBLUE
, SWIGTYPE_p_wxColour
, 0);
16063 static int _wrap_GREEN_set(PyObject
*_val
) {
16064 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
16069 static PyObject
*_wrap_GREEN_get() {
16072 pyobj
= SWIG_NewPointerObj((void *) wxGREEN
, SWIGTYPE_p_wxColour
, 0);
16077 static int _wrap_CYAN_set(PyObject
*_val
) {
16078 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16083 static PyObject
*_wrap_CYAN_get() {
16086 pyobj
= SWIG_NewPointerObj((void *) wxCYAN
, SWIGTYPE_p_wxColour
, 0);
16091 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
16092 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
16097 static PyObject
*_wrap_LIGHT_GREY_get() {
16100 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY
, SWIGTYPE_p_wxColour
, 0);
16105 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
16106 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
16111 static PyObject
*_wrap_STANDARD_CURSOR_get() {
16114 pyobj
= SWIG_NewPointerObj((void *) wxSTANDARD_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
16119 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
16120 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
16125 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
16128 pyobj
= SWIG_NewPointerObj((void *) wxHOURGLASS_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
16133 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
16134 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
16139 static PyObject
*_wrap_CROSS_CURSOR_get() {
16142 pyobj
= SWIG_NewPointerObj((void *) wxCROSS_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
16147 static int _wrap_NullBitmap_set(PyObject
*_val
) {
16148 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
16153 static PyObject
*_wrap_NullBitmap_get() {
16156 pyobj
= SWIG_NewPointerObj((void *) &wxNullBitmap
, SWIGTYPE_p_wxBitmap
, 0);
16161 static int _wrap_NullIcon_set(PyObject
*_val
) {
16162 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
16167 static PyObject
*_wrap_NullIcon_get() {
16170 pyobj
= SWIG_NewPointerObj((void *) &wxNullIcon
, SWIGTYPE_p_wxIcon
, 0);
16175 static int _wrap_NullCursor_set(PyObject
*_val
) {
16176 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
16181 static PyObject
*_wrap_NullCursor_get() {
16184 pyobj
= SWIG_NewPointerObj((void *) &wxNullCursor
, SWIGTYPE_p_wxCursor
, 0);
16189 static int _wrap_NullPen_set(PyObject
*_val
) {
16190 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
16195 static PyObject
*_wrap_NullPen_get() {
16198 pyobj
= SWIG_NewPointerObj((void *) &wxNullPen
, SWIGTYPE_p_wxPen
, 0);
16203 static int _wrap_NullBrush_set(PyObject
*_val
) {
16204 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
16209 static PyObject
*_wrap_NullBrush_get() {
16212 pyobj
= SWIG_NewPointerObj((void *) &wxNullBrush
, SWIGTYPE_p_wxBrush
, 0);
16217 static int _wrap_NullPalette_set(PyObject
*_val
) {
16218 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
16223 static PyObject
*_wrap_NullPalette_get() {
16226 pyobj
= SWIG_NewPointerObj((void *) &wxNullPalette
, SWIGTYPE_p_wxPalette
, 0);
16231 static int _wrap_NullFont_set(PyObject
*_val
) {
16232 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
16237 static PyObject
*_wrap_NullFont_get() {
16240 pyobj
= SWIG_NewPointerObj((void *) &wxNullFont
, SWIGTYPE_p_wxFont
, 0);
16245 static int _wrap_NullColour_set(PyObject
*_val
) {
16246 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
16251 static PyObject
*_wrap_NullColour_get() {
16254 pyobj
= SWIG_NewPointerObj((void *) &wxNullColour
, SWIGTYPE_p_wxColour
, 0);
16259 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16260 PyObject
*resultobj
;
16261 wxPenList
*arg1
= (wxPenList
*) 0 ;
16262 wxPen
*arg2
= (wxPen
*) 0 ;
16263 PyObject
* obj0
= 0 ;
16264 PyObject
* obj1
= 0 ;
16265 char *kwnames
[] = {
16266 (char *) "self",(char *) "pen", NULL
16269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
16270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16271 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16274 (arg1
)->AddPen(arg2
);
16276 wxPyEndAllowThreads(__tstate
);
16277 if (PyErr_Occurred()) SWIG_fail
;
16279 Py_INCREF(Py_None
); resultobj
= Py_None
;
16286 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16287 PyObject
*resultobj
;
16288 wxPenList
*arg1
= (wxPenList
*) 0 ;
16289 wxColour
*arg2
= 0 ;
16294 PyObject
* obj0
= 0 ;
16295 PyObject
* obj1
= 0 ;
16296 PyObject
* obj2
= 0 ;
16297 PyObject
* obj3
= 0 ;
16298 char *kwnames
[] = {
16299 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
16302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16306 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16309 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16310 if (PyErr_Occurred()) SWIG_fail
;
16313 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16318 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
16320 wxPyEndAllowThreads(__tstate
);
16321 if (PyErr_Occurred()) SWIG_fail
;
16323 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
16330 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16331 PyObject
*resultobj
;
16332 wxPenList
*arg1
= (wxPenList
*) 0 ;
16333 wxPen
*arg2
= (wxPen
*) 0 ;
16334 PyObject
* obj0
= 0 ;
16335 PyObject
* obj1
= 0 ;
16336 char *kwnames
[] = {
16337 (char *) "self",(char *) "pen", NULL
16340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
16341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16342 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16345 (arg1
)->RemovePen(arg2
);
16347 wxPyEndAllowThreads(__tstate
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16350 Py_INCREF(Py_None
); resultobj
= Py_None
;
16357 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
;
16359 wxPenList
*arg1
= (wxPenList
*) 0 ;
16361 PyObject
* obj0
= 0 ;
16362 char *kwnames
[] = {
16363 (char *) "self", NULL
16366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
16367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16370 result
= (int)(arg1
)->GetCount();
16372 wxPyEndAllowThreads(__tstate
);
16373 if (PyErr_Occurred()) SWIG_fail
;
16375 resultobj
= SWIG_PyObj_FromInt((int)result
);
16382 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
16384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16385 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
16387 return Py_BuildValue((char *)"");
16389 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16390 PyObject
*resultobj
;
16391 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16392 wxBrush
*arg2
= (wxBrush
*) 0 ;
16393 PyObject
* obj0
= 0 ;
16394 PyObject
* obj1
= 0 ;
16395 char *kwnames
[] = {
16396 (char *) "self",(char *) "brush", NULL
16399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
16400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16401 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16404 (arg1
)->AddBrush(arg2
);
16406 wxPyEndAllowThreads(__tstate
);
16407 if (PyErr_Occurred()) SWIG_fail
;
16409 Py_INCREF(Py_None
); resultobj
= Py_None
;
16416 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16417 PyObject
*resultobj
;
16418 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16419 wxColour
*arg2
= 0 ;
16423 PyObject
* obj0
= 0 ;
16424 PyObject
* obj1
= 0 ;
16425 PyObject
* obj2
= 0 ;
16426 char *kwnames
[] = {
16427 (char *) "self",(char *) "colour",(char *) "style", NULL
16430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16434 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16437 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16438 if (PyErr_Occurred()) SWIG_fail
;
16441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16442 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
16444 wxPyEndAllowThreads(__tstate
);
16445 if (PyErr_Occurred()) SWIG_fail
;
16447 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
16454 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16455 PyObject
*resultobj
;
16456 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16457 wxBrush
*arg2
= (wxBrush
*) 0 ;
16458 PyObject
* obj0
= 0 ;
16459 PyObject
* obj1
= 0 ;
16460 char *kwnames
[] = {
16461 (char *) "self",(char *) "brush", NULL
16464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
16465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16466 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16469 (arg1
)->RemoveBrush(arg2
);
16471 wxPyEndAllowThreads(__tstate
);
16472 if (PyErr_Occurred()) SWIG_fail
;
16474 Py_INCREF(Py_None
); resultobj
= Py_None
;
16481 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16482 PyObject
*resultobj
;
16483 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16485 PyObject
* obj0
= 0 ;
16486 char *kwnames
[] = {
16487 (char *) "self", NULL
16490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
16491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16494 result
= (int)(arg1
)->GetCount();
16496 wxPyEndAllowThreads(__tstate
);
16497 if (PyErr_Occurred()) SWIG_fail
;
16499 resultobj
= SWIG_PyObj_FromInt((int)result
);
16506 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
16508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16509 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
16511 return Py_BuildValue((char *)"");
16513 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16514 PyObject
*resultobj
;
16515 wxColourDatabase
*result
;
16516 char *kwnames
[] = {
16520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
16522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16523 result
= (wxColourDatabase
*)new wxColourDatabase();
16525 wxPyEndAllowThreads(__tstate
);
16526 if (PyErr_Occurred()) SWIG_fail
;
16528 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDatabase
, 1);
16535 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16536 PyObject
*resultobj
;
16537 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16538 PyObject
* obj0
= 0 ;
16539 char *kwnames
[] = {
16540 (char *) "self", NULL
16543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
16544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16549 wxPyEndAllowThreads(__tstate
);
16550 if (PyErr_Occurred()) SWIG_fail
;
16552 Py_INCREF(Py_None
); resultobj
= Py_None
;
16559 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16560 PyObject
*resultobj
;
16561 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16562 wxString
*arg2
= 0 ;
16564 bool temp2
= False
;
16565 PyObject
* obj0
= 0 ;
16566 PyObject
* obj1
= 0 ;
16567 char *kwnames
[] = {
16568 (char *) "self",(char *) "name", NULL
16571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
16572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16574 arg2
= wxString_in_helper(obj1
);
16575 if (arg2
== NULL
) SWIG_fail
;
16579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16580 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
16582 wxPyEndAllowThreads(__tstate
);
16583 if (PyErr_Occurred()) SWIG_fail
;
16586 wxColour
* resultptr
;
16587 resultptr
= new wxColour((wxColour
&) result
);
16588 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16604 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16605 PyObject
*resultobj
;
16606 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16607 wxColour
*arg2
= 0 ;
16610 PyObject
* obj0
= 0 ;
16611 PyObject
* obj1
= 0 ;
16612 char *kwnames
[] = {
16613 (char *) "self",(char *) "colour", NULL
16616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
16617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16620 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16624 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
16626 wxPyEndAllowThreads(__tstate
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16631 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16633 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16642 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16643 PyObject
*resultobj
;
16644 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16645 wxString
*arg2
= 0 ;
16646 wxColour
*arg3
= 0 ;
16647 bool temp2
= False
;
16649 PyObject
* obj0
= 0 ;
16650 PyObject
* obj1
= 0 ;
16651 PyObject
* obj2
= 0 ;
16652 char *kwnames
[] = {
16653 (char *) "self",(char *) "name",(char *) "colour", NULL
16656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16659 arg2
= wxString_in_helper(obj1
);
16660 if (arg2
== NULL
) SWIG_fail
;
16665 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16669 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
16671 wxPyEndAllowThreads(__tstate
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16674 Py_INCREF(Py_None
); resultobj
= Py_None
;
16689 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16690 PyObject
*resultobj
;
16691 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16692 wxString
*arg2
= 0 ;
16696 bool temp2
= False
;
16697 PyObject
* obj0
= 0 ;
16698 PyObject
* obj1
= 0 ;
16699 PyObject
* obj2
= 0 ;
16700 PyObject
* obj3
= 0 ;
16701 PyObject
* obj4
= 0 ;
16702 char *kwnames
[] = {
16703 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
16706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16709 arg2
= wxString_in_helper(obj1
);
16710 if (arg2
== NULL
) SWIG_fail
;
16714 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16715 if (PyErr_Occurred()) SWIG_fail
;
16718 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16719 if (PyErr_Occurred()) SWIG_fail
;
16722 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16727 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
16729 wxPyEndAllowThreads(__tstate
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16732 Py_INCREF(Py_None
); resultobj
= Py_None
;
16747 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
16749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16750 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
16752 return Py_BuildValue((char *)"");
16754 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16755 PyObject
*resultobj
;
16756 wxFontList
*arg1
= (wxFontList
*) 0 ;
16757 wxFont
*arg2
= (wxFont
*) 0 ;
16758 PyObject
* obj0
= 0 ;
16759 PyObject
* obj1
= 0 ;
16760 char *kwnames
[] = {
16761 (char *) "self",(char *) "font", NULL
16764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
16765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16766 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16769 (arg1
)->AddFont(arg2
);
16771 wxPyEndAllowThreads(__tstate
);
16772 if (PyErr_Occurred()) SWIG_fail
;
16774 Py_INCREF(Py_None
); resultobj
= Py_None
;
16781 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16782 PyObject
*resultobj
;
16783 wxFontList
*arg1
= (wxFontList
*) 0 ;
16788 bool arg6
= (bool) False
;
16789 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16790 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16791 int arg8
= (int) wxFONTENCODING_DEFAULT
;
16793 bool temp7
= False
;
16794 PyObject
* obj0
= 0 ;
16795 PyObject
* obj1
= 0 ;
16796 PyObject
* obj2
= 0 ;
16797 PyObject
* obj3
= 0 ;
16798 PyObject
* obj4
= 0 ;
16799 PyObject
* obj5
= 0 ;
16800 PyObject
* obj6
= 0 ;
16801 PyObject
* obj7
= 0 ;
16802 char *kwnames
[] = {
16803 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
16806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
16807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16809 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16813 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16814 if (PyErr_Occurred()) SWIG_fail
;
16817 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16818 if (PyErr_Occurred()) SWIG_fail
;
16821 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16826 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16832 arg7
= wxString_in_helper(obj6
);
16833 if (arg7
== NULL
) SWIG_fail
;
16839 arg8
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj7
);
16840 if (PyErr_Occurred()) SWIG_fail
;
16844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16845 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
16847 wxPyEndAllowThreads(__tstate
);
16848 if (PyErr_Occurred()) SWIG_fail
;
16850 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
16865 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16866 PyObject
*resultobj
;
16867 wxFontList
*arg1
= (wxFontList
*) 0 ;
16868 wxFont
*arg2
= (wxFont
*) 0 ;
16869 PyObject
* obj0
= 0 ;
16870 PyObject
* obj1
= 0 ;
16871 char *kwnames
[] = {
16872 (char *) "self",(char *) "font", NULL
16875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
16876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16877 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16880 (arg1
)->RemoveFont(arg2
);
16882 wxPyEndAllowThreads(__tstate
);
16883 if (PyErr_Occurred()) SWIG_fail
;
16885 Py_INCREF(Py_None
); resultobj
= Py_None
;
16892 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16893 PyObject
*resultobj
;
16894 wxFontList
*arg1
= (wxFontList
*) 0 ;
16896 PyObject
* obj0
= 0 ;
16897 char *kwnames
[] = {
16898 (char *) "self", NULL
16901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
16902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16905 result
= (int)(arg1
)->GetCount();
16907 wxPyEndAllowThreads(__tstate
);
16908 if (PyErr_Occurred()) SWIG_fail
;
16910 resultobj
= SWIG_PyObj_FromInt((int)result
);
16917 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
16919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16920 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
16922 return Py_BuildValue((char *)"");
16924 static int _wrap_TheFontList_set(PyObject
*_val
) {
16925 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
16930 static PyObject
*_wrap_TheFontList_get() {
16933 pyobj
= SWIG_NewPointerObj((void *) wxTheFontList
, SWIGTYPE_p_wxFontList
, 0);
16938 static int _wrap_ThePenList_set(PyObject
*_val
) {
16939 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
16944 static PyObject
*_wrap_ThePenList_get() {
16947 pyobj
= SWIG_NewPointerObj((void *) wxThePenList
, SWIGTYPE_p_wxPenList
, 0);
16952 static int _wrap_TheBrushList_set(PyObject
*_val
) {
16953 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
16958 static PyObject
*_wrap_TheBrushList_get() {
16961 pyobj
= SWIG_NewPointerObj((void *) wxTheBrushList
, SWIGTYPE_p_wxBrushList
, 0);
16966 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
16967 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
16972 static PyObject
*_wrap_TheColourDatabase_get() {
16975 pyobj
= SWIG_NewPointerObj((void *) wxTheColourDatabase
, SWIGTYPE_p_wxColourDatabase
, 0);
16980 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16981 PyObject
*resultobj
;
16983 char *kwnames
[] = {
16987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
16989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16990 result
= (wxEffects
*)new wxEffects();
16992 wxPyEndAllowThreads(__tstate
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16995 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEffects
, 1);
17002 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17003 PyObject
*resultobj
;
17004 wxEffects
*arg1
= (wxEffects
*) 0 ;
17006 PyObject
* obj0
= 0 ;
17007 char *kwnames
[] = {
17008 (char *) "self", NULL
17011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
17012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17015 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
17017 wxPyEndAllowThreads(__tstate
);
17018 if (PyErr_Occurred()) SWIG_fail
;
17021 wxColour
* resultptr
;
17022 resultptr
= new wxColour((wxColour
&) result
);
17023 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17031 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17032 PyObject
*resultobj
;
17033 wxEffects
*arg1
= (wxEffects
*) 0 ;
17035 PyObject
* obj0
= 0 ;
17036 char *kwnames
[] = {
17037 (char *) "self", NULL
17040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17044 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17046 wxPyEndAllowThreads(__tstate
);
17047 if (PyErr_Occurred()) SWIG_fail
;
17050 wxColour
* resultptr
;
17051 resultptr
= new wxColour((wxColour
&) result
);
17052 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17060 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17061 PyObject
*resultobj
;
17062 wxEffects
*arg1
= (wxEffects
*) 0 ;
17064 PyObject
* obj0
= 0 ;
17065 char *kwnames
[] = {
17066 (char *) "self", NULL
17069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
17070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17073 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
17075 wxPyEndAllowThreads(__tstate
);
17076 if (PyErr_Occurred()) SWIG_fail
;
17079 wxColour
* resultptr
;
17080 resultptr
= new wxColour((wxColour
&) result
);
17081 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17089 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17090 PyObject
*resultobj
;
17091 wxEffects
*arg1
= (wxEffects
*) 0 ;
17093 PyObject
* obj0
= 0 ;
17094 char *kwnames
[] = {
17095 (char *) "self", NULL
17098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
17099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17102 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
17104 wxPyEndAllowThreads(__tstate
);
17105 if (PyErr_Occurred()) SWIG_fail
;
17108 wxColour
* resultptr
;
17109 resultptr
= new wxColour((wxColour
&) result
);
17110 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17118 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17119 PyObject
*resultobj
;
17120 wxEffects
*arg1
= (wxEffects
*) 0 ;
17122 PyObject
* obj0
= 0 ;
17123 char *kwnames
[] = {
17124 (char *) "self", NULL
17127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
17128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17131 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
17133 wxPyEndAllowThreads(__tstate
);
17134 if (PyErr_Occurred()) SWIG_fail
;
17137 wxColour
* resultptr
;
17138 resultptr
= new wxColour((wxColour
&) result
);
17139 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17147 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17148 PyObject
*resultobj
;
17149 wxEffects
*arg1
= (wxEffects
*) 0 ;
17150 wxColour
*arg2
= 0 ;
17152 PyObject
* obj0
= 0 ;
17153 PyObject
* obj1
= 0 ;
17154 char *kwnames
[] = {
17155 (char *) "self",(char *) "c", NULL
17158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17162 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17166 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
17168 wxPyEndAllowThreads(__tstate
);
17169 if (PyErr_Occurred()) SWIG_fail
;
17171 Py_INCREF(Py_None
); resultobj
= Py_None
;
17178 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17179 PyObject
*resultobj
;
17180 wxEffects
*arg1
= (wxEffects
*) 0 ;
17181 wxColour
*arg2
= 0 ;
17183 PyObject
* obj0
= 0 ;
17184 PyObject
* obj1
= 0 ;
17185 char *kwnames
[] = {
17186 (char *) "self",(char *) "c", NULL
17189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17193 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17197 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
17199 wxPyEndAllowThreads(__tstate
);
17200 if (PyErr_Occurred()) SWIG_fail
;
17202 Py_INCREF(Py_None
); resultobj
= Py_None
;
17209 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17210 PyObject
*resultobj
;
17211 wxEffects
*arg1
= (wxEffects
*) 0 ;
17212 wxColour
*arg2
= 0 ;
17214 PyObject
* obj0
= 0 ;
17215 PyObject
* obj1
= 0 ;
17216 char *kwnames
[] = {
17217 (char *) "self",(char *) "c", NULL
17220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17224 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17228 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
17230 wxPyEndAllowThreads(__tstate
);
17231 if (PyErr_Occurred()) SWIG_fail
;
17233 Py_INCREF(Py_None
); resultobj
= Py_None
;
17240 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17241 PyObject
*resultobj
;
17242 wxEffects
*arg1
= (wxEffects
*) 0 ;
17243 wxColour
*arg2
= 0 ;
17245 PyObject
* obj0
= 0 ;
17246 PyObject
* obj1
= 0 ;
17247 char *kwnames
[] = {
17248 (char *) "self",(char *) "c", NULL
17251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17255 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17259 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
17261 wxPyEndAllowThreads(__tstate
);
17262 if (PyErr_Occurred()) SWIG_fail
;
17264 Py_INCREF(Py_None
); resultobj
= Py_None
;
17271 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17272 PyObject
*resultobj
;
17273 wxEffects
*arg1
= (wxEffects
*) 0 ;
17274 wxColour
*arg2
= 0 ;
17276 PyObject
* obj0
= 0 ;
17277 PyObject
* obj1
= 0 ;
17278 char *kwnames
[] = {
17279 (char *) "self",(char *) "c", NULL
17282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17286 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17290 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
17292 wxPyEndAllowThreads(__tstate
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17295 Py_INCREF(Py_None
); resultobj
= Py_None
;
17302 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17303 PyObject
*resultobj
;
17304 wxEffects
*arg1
= (wxEffects
*) 0 ;
17305 wxColour
*arg2
= 0 ;
17306 wxColour
*arg3
= 0 ;
17307 wxColour
*arg4
= 0 ;
17308 wxColour
*arg5
= 0 ;
17309 wxColour
*arg6
= 0 ;
17315 PyObject
* obj0
= 0 ;
17316 PyObject
* obj1
= 0 ;
17317 PyObject
* obj2
= 0 ;
17318 PyObject
* obj3
= 0 ;
17319 PyObject
* obj4
= 0 ;
17320 PyObject
* obj5
= 0 ;
17321 char *kwnames
[] = {
17322 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
17325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17329 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17333 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17337 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17341 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
17345 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
17348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17349 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
17351 wxPyEndAllowThreads(__tstate
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17354 Py_INCREF(Py_None
); resultobj
= Py_None
;
17361 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17362 PyObject
*resultobj
;
17363 wxEffects
*arg1
= (wxEffects
*) 0 ;
17366 int arg4
= (int) 1 ;
17368 PyObject
* obj0
= 0 ;
17369 PyObject
* obj1
= 0 ;
17370 PyObject
* obj2
= 0 ;
17371 PyObject
* obj3
= 0 ;
17372 char *kwnames
[] = {
17373 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
17376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17378 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17379 if (arg2
== NULL
) {
17380 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17384 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17388 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17389 if (PyErr_Occurred()) SWIG_fail
;
17393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17394 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
17396 wxPyEndAllowThreads(__tstate
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17399 Py_INCREF(Py_None
); resultobj
= Py_None
;
17406 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17407 PyObject
*resultobj
;
17408 wxEffects
*arg1
= (wxEffects
*) 0 ;
17411 wxBitmap
*arg4
= 0 ;
17414 PyObject
* obj0
= 0 ;
17415 PyObject
* obj1
= 0 ;
17416 PyObject
* obj2
= 0 ;
17417 PyObject
* obj3
= 0 ;
17418 char *kwnames
[] = {
17419 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
17422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17426 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17428 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17429 if (arg3
== NULL
) {
17430 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17432 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17433 if (arg4
== NULL
) {
17434 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17438 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
17440 wxPyEndAllowThreads(__tstate
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17443 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17450 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
17452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17453 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
17455 return Py_BuildValue((char *)"");
17457 static PyMethodDef SwigMethods
[] = {
17458 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
17459 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
17460 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
17461 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
17462 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
17463 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
17464 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
17465 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
17466 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
17467 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
17468 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
17469 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
17470 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
17471 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17472 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
17473 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
17474 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
17475 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
17476 { (char *)"Colour_InitFromName", (PyCFunction
) _wrap_Colour_InitFromName
, METH_VARARGS
| METH_KEYWORDS
},
17477 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
17478 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
17479 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
17480 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
17481 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
17482 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
17483 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17484 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
17485 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
17486 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
17487 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
17488 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
17489 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
17490 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17491 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17492 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17493 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
17494 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
17495 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
17496 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17497 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17498 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
17499 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
17500 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
},
17501 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
17502 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
17503 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
17504 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
17505 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
},
17506 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
17507 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
17508 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
17509 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17510 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
17511 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
17512 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17513 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
17514 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17515 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
17516 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
17517 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
17518 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17519 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
17520 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
17521 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
17522 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
17523 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17524 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17525 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17526 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17527 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
17528 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
17529 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
17530 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
17531 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17532 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
17533 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
17534 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
17535 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17536 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17537 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17538 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
17539 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
17540 { (char *)"new_MaskColour", (PyCFunction
) _wrap_new_MaskColour
, METH_VARARGS
| METH_KEYWORDS
},
17541 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
17542 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
17543 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
17544 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
17545 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
17546 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17547 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
17548 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
17549 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17550 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17551 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17552 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17553 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17554 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17555 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17556 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17557 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
17558 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
17559 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
17560 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
17561 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
17562 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
17563 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
17564 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
17565 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
17566 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
17567 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
17568 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
17569 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
17570 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
17571 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
17572 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
17573 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
17574 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
17575 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
17576 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
17577 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
17578 { (char *)"new_CursorFromBits", (PyCFunction
) _wrap_new_CursorFromBits
, METH_VARARGS
| METH_KEYWORDS
},
17579 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17580 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
17581 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
17582 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17583 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
17584 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
17585 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
17586 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
17587 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
17588 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
17589 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
17590 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
17591 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
17592 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
17593 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
17594 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
17595 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
17596 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
17597 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
17598 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
17599 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
17600 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
17601 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
17602 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
17603 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
17604 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
17605 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17606 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17607 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
17608 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
17609 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
17610 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
17611 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
17612 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
17613 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17614 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
17615 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17616 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
17617 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
17618 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
17619 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
17620 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
17621 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
17622 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
17623 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
17624 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
17625 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
17626 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
17627 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17628 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
17629 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
17630 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
17631 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
17632 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17633 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
17634 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17635 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
17636 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
17637 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
17638 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
17639 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17640 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
17641 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
17642 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
17643 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
17644 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
17645 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
17646 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
17647 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
17648 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
17649 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
17650 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
17651 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
17652 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
17653 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
17654 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
17655 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17656 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17657 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
17658 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
17659 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
17660 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
17661 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17662 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
17663 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17664 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
17665 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
17666 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
17667 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
17668 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
17669 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17670 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
17671 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
17672 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
17673 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
17674 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
17675 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
17676 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
17677 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
17678 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
17679 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17680 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
17681 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
17682 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
17683 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
17684 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17685 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
17686 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
17687 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
17688 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17689 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
17690 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
17691 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
17692 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
17693 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
17694 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
17695 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17696 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
17697 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
17698 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
17699 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17700 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
17701 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
17702 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
17703 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
17704 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
17705 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
17706 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
17707 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
17708 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17709 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17710 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
17711 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
17712 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
17713 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
17714 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
17715 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
17716 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
17717 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
17718 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
17719 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
17720 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
17721 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
17722 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
17723 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
17724 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
17725 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
17726 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
17727 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
17728 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
17729 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
17730 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
17731 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17732 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
17733 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
17734 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
17735 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
17736 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
17737 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
17738 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
17739 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
17740 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
17741 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
17742 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
17743 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
17744 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
17745 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
17746 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
17747 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
17748 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
17749 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
17750 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
17751 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
17752 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
17753 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
17754 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
17755 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
17756 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
17757 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
17758 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
17759 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
17760 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
17761 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
},
17762 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
17763 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
},
17764 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
17765 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
},
17766 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
17767 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
},
17768 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
17769 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
},
17770 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
17771 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
},
17772 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
17773 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
},
17774 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
17775 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
},
17776 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
17777 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
17778 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
17779 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
17780 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
17781 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
17782 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
17783 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
},
17784 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
17785 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
},
17786 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
17787 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
17788 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
},
17789 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
17790 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
},
17791 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17792 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
},
17793 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
17794 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
},
17795 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
17796 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
},
17797 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
17798 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
17799 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
17800 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
17801 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
17802 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
17803 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
17804 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
17805 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
17806 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
17807 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
17808 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
17809 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
17810 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
17811 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
17812 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
17813 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
17814 { (char *)"DC_SetClippingRegionXY", (PyCFunction
) _wrap_DC_SetClippingRegionXY
, METH_VARARGS
| METH_KEYWORDS
},
17815 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
17816 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
17817 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
17818 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
17819 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
17820 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
17821 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
17822 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
17823 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
17824 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
17825 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
17826 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
17827 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
17828 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
17829 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
17830 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
17831 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
17832 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
17833 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
17834 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
17835 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
17836 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
17837 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
17838 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17839 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
17840 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17841 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
17842 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17843 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
17844 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
17845 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
17846 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
17847 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
17848 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
17849 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
17850 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
17851 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
17852 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
17853 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
17854 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
17855 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
17856 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
17857 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
17858 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
17859 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
17860 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
17861 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
17862 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
17863 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
17864 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
17865 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
17866 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
17867 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
17868 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
17869 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
17870 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
17871 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
17872 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
17873 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
17874 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
17875 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
17876 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
17877 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
17878 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
17879 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
17880 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
17881 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
17882 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
17883 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
17884 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
17885 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
17886 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
17887 { (char *)"new_BufferedDC", (PyCFunction
) _wrap_new_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
17888 { (char *)"new_BufferedDCInternalBuffer", (PyCFunction
) _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
| METH_KEYWORDS
},
17889 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
17890 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
17891 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
17892 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
17893 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
17894 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
17895 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
17896 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
17897 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
17898 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
17899 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
17900 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
17901 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
17902 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
17903 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
17904 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
17905 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
17906 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
17907 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
17908 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
17909 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
17910 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
17911 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
17912 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
17913 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
17914 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
17915 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
17916 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
17917 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
17918 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
17919 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
17920 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
17921 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
17922 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
17923 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
17924 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
17925 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
17926 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
17927 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
17928 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
17929 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
17930 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
17931 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
17932 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
17933 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
17934 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
17935 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
17936 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
17937 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
17938 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
17939 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
17940 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
17941 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
17942 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
17943 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
17944 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
17945 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
17946 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
17947 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
17948 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
17949 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
17950 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
17951 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
17952 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
17953 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
17954 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
17955 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
17956 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
17957 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
17958 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
17959 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
17960 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
17961 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
17962 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
17963 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
17964 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
17965 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17966 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
17971 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
17973 static void *_p_wxControlTo_p_wxWindow(void *x
) {
17974 return (void *)((wxWindow
*) ((wxControl
*) x
));
17976 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
17977 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
17979 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
17980 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
17982 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
17983 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
17985 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
17986 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
17988 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
17989 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
17991 static void *_p_wxPenTo_p_wxObject(void *x
) {
17992 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
17994 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
17995 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
17997 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
17998 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18000 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18001 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18003 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
18004 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
18006 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18007 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18009 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18010 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18012 static void *_p_wxIconTo_p_wxObject(void *x
) {
18013 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
18015 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18016 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18018 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18019 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18021 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18022 return (void *)((wxObject
*) ((wxSizer
*) x
));
18024 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18025 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18027 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18028 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18030 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18031 return (void *)((wxObject
*) ((wxPenList
*) x
));
18033 static void *_p_wxEventTo_p_wxObject(void *x
) {
18034 return (void *)((wxObject
*) ((wxEvent
*) x
));
18036 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18037 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18039 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18040 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18042 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18043 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18045 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18046 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18048 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18049 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18051 static void *_p_wxDCTo_p_wxObject(void *x
) {
18052 return (void *)((wxObject
*) ((wxDC
*) x
));
18054 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18055 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18057 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18058 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18060 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18061 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18063 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18064 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18066 static void *_p_wxControlTo_p_wxObject(void *x
) {
18067 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18069 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18070 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18072 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
18073 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
18075 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18076 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18078 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
18079 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
18081 static void *_p_wxRegionTo_p_wxObject(void *x
) {
18082 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
18084 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18085 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18087 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
18088 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
18090 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
18091 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
18093 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
18094 return (void *)((wxObject
*) ((wxEffects
*) x
));
18096 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18097 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18099 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18100 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18102 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
18103 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
18105 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18106 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18108 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18109 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18111 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18112 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18114 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18115 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18117 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18118 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18120 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18121 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18123 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18124 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18126 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18127 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18129 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18130 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18132 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18133 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18135 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18136 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18138 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18139 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18141 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18142 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18144 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18145 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18147 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18148 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18150 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18151 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18153 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18154 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18156 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18157 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18159 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18160 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18162 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18163 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18165 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18166 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18168 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18169 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18171 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18172 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18174 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
18175 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18177 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
18178 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
18180 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
18181 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
18183 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
18184 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
18186 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18187 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18189 static void *_p_wxImageTo_p_wxObject(void *x
) {
18190 return (void *)((wxObject
*) ((wxImage
*) x
));
18192 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18193 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18195 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
18196 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
18198 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
18199 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
18201 static void *_p_wxImageListTo_p_wxObject(void *x
) {
18202 return (void *)((wxObject
*) ((wxImageList
*) x
));
18204 static void *_p_wxCursorTo_p_wxObject(void *x
) {
18205 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
18207 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
18208 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
18210 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
18211 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
18213 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
18214 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18216 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
18217 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18219 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
18220 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
18222 static void *_p_wxWindowTo_p_wxObject(void *x
) {
18223 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
18225 static void *_p_wxMenuTo_p_wxObject(void *x
) {
18226 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
18228 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
18229 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
18231 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
18232 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
18234 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
18235 return (void *)((wxObject
*) ((wxBrushList
*) x
));
18237 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
18238 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
18240 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
18241 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
18243 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
18244 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
18246 static void *_p_wxMaskTo_p_wxObject(void *x
) {
18247 return (void *)((wxObject
*) ((wxMask
*) x
));
18249 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
18250 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18252 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
18253 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
18255 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
18256 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
18258 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
18259 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
18261 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
18262 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
18264 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
18265 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
18267 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
18268 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18270 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
18271 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
18273 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
18274 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
18276 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
18277 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
18279 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
18280 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18282 static void *_p_wxFontTo_p_wxObject(void *x
) {
18283 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
18285 static void *_p_wxBrushTo_p_wxObject(void *x
) {
18286 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
18288 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
18289 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
18291 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
18292 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18294 static void *_p_wxColourTo_p_wxObject(void *x
) {
18295 return (void *)((wxObject
*) ((wxColour
*) x
));
18297 static void *_p_wxFontListTo_p_wxObject(void *x
) {
18298 return (void *)((wxObject
*) ((wxFontList
*) x
));
18300 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
18301 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
18303 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
18304 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
18306 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
18307 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18309 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
18310 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
18312 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
18313 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
18315 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
18316 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
18318 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
18319 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
18321 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
18322 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
18324 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
18325 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
18327 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
18328 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18330 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
18331 return (void *)((wxDC
*) ((wxClientDC
*) x
));
18333 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
18334 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
18336 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
18337 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
18339 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
18340 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
18342 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
18343 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
18345 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
18346 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
18348 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
18349 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
18351 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
18352 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
18354 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
18355 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
18357 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
18358 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
18360 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
18361 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
18363 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
18364 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
18366 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
18367 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
18369 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
18370 return (void *)((wxPen
*) ((wxPyPen
*) x
));
18372 static swig_type_info _swigt__p_wxPostScriptDC
[] = {{"_p_wxPostScriptDC", 0, "wxPostScriptDC *", 0},{"_p_wxPostScriptDC"},{0}};
18373 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
18374 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
18375 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}};
18376 static swig_type_info _swigt__p_wxMirrorDC
[] = {{"_p_wxMirrorDC", 0, "wxMirrorDC *", 0},{"_p_wxMirrorDC"},{0}};
18377 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
18378 static swig_type_info _swigt__p_wxPyFontEnumerator
[] = {{"_p_wxPyFontEnumerator", 0, "wxPyFontEnumerator *", 0},{"_p_wxPyFontEnumerator"},{0}};
18379 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
18380 static swig_type_info _swigt__p_wxIconLocation
[] = {{"_p_wxIconLocation", 0, "wxIconLocation *", 0},{"_p_wxIconLocation"},{0}};
18381 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
18382 static swig_type_info _swigt__p_wxMetaFileDC
[] = {{"_p_wxMetaFileDC", 0, "wxMetaFileDC *", 0},{"_p_wxMetaFileDC"},{0}};
18383 static swig_type_info _swigt__p_wxMask
[] = {{"_p_wxMask", 0, "wxMask *", 0},{"_p_wxMask"},{0}};
18384 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
18385 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}};
18386 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
18387 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
18388 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}};
18389 static swig_type_info _swigt__p_wxFontMapper
[] = {{"_p_wxFontMapper", 0, "wxFontMapper *", 0},{"_p_wxFontMapper"},{0}};
18390 static swig_type_info _swigt__p_wxEffects
[] = {{"_p_wxEffects", 0, "wxEffects *", 0},{"_p_wxEffects"},{0}};
18391 static swig_type_info _swigt__p_wxNativeEncodingInfo
[] = {{"_p_wxNativeEncodingInfo", 0, "wxNativeEncodingInfo *", 0},{"_p_wxNativeEncodingInfo"},{0}};
18392 static swig_type_info _swigt__p_wxPalette
[] = {{"_p_wxPalette", 0, "wxPalette *", 0},{"_p_wxPalette"},{0}};
18393 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
18394 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}};
18395 static swig_type_info _swigt__p_wxRegionIterator
[] = {{"_p_wxRegionIterator", 0, "wxRegionIterator *", 0},{"_p_wxRegionIterator"},{0}};
18396 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
18397 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
18398 static swig_type_info _swigt__p_wxPrinterDC
[] = {{"_p_wxPrinterDC", 0, "wxPrinterDC *", 0},{"_p_wxPrinterDC"},{0}};
18399 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
18400 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
18401 static swig_type_info _swigt__p_wxDash
[] = {{"_p_wxDash", 0, "wxDash *", 0},{"_p_wxDash"},{0}};
18402 static swig_type_info _swigt__p_wxScreenDC
[] = {{"_p_wxScreenDC", 0, "wxScreenDC *", 0},{"_p_wxScreenDC"},{0}};
18403 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
18404 static swig_type_info _swigt__p_wxClientDC
[] = {{"_p_wxClientDC", 0, "wxClientDC *", 0},{"_p_wxClientDC"},{0}};
18405 static swig_type_info _swigt__p_wxBufferedDC
[] = {{"_p_wxBufferedDC", 0, "wxBufferedDC *", 0},{"_p_wxBufferedDC"},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxBufferedDC
},{0}};
18406 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
18407 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
18408 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}};
18409 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
18410 static swig_type_info _swigt__p_wxLocale
[] = {{"_p_wxLocale", 0, "wxLocale *", 0},{"_p_wxLocale"},{0}};
18411 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
18412 static swig_type_info _swigt__p_wxLanguageInfo
[] = {{"_p_wxLanguageInfo", 0, "wxLanguageInfo *", 0},{"_p_wxLanguageInfo"},{0}};
18413 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxConfigBase"},{0}};
18414 static swig_type_info _swigt__p_wxWindowDC
[] = {{"_p_wxWindowDC", 0, "wxWindowDC *", 0},{"_p_wxWindowDC"},{0}};
18415 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
18416 static swig_type_info _swigt__p_wxBrushList
[] = {{"_p_wxBrushList", 0, "wxBrushList *", 0},{"_p_wxBrushList"},{0}};
18417 static swig_type_info _swigt__p_wxFontList
[] = {{"_p_wxFontList", 0, "wxFontList *", 0},{"_p_wxFontList"},{0}};
18418 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPyPen", _p_wxPyPenTo_p_wxPen
},{"_p_wxPen"},{0}};
18419 static swig_type_info _swigt__p_wxBufferedPaintDC
[] = {{"_p_wxBufferedPaintDC", 0, "wxBufferedPaintDC *", 0},{"_p_wxBufferedPaintDC"},{0}};
18420 static swig_type_info _swigt__p_wxPaintDC
[] = {{"_p_wxPaintDC", 0, "wxPaintDC *", 0},{"_p_wxPaintDC"},{0}};
18421 static swig_type_info _swigt__p_wxPenList
[] = {{"_p_wxPenList", 0, "wxPenList *", 0},{"_p_wxPenList"},{0}};
18422 static swig_type_info _swigt__p_wxPyPen
[] = {{"_p_wxPyPen", 0, "wxPyPen *", 0},{"_p_wxPyPen"},{0}};
18423 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
18424 static swig_type_info _swigt__p_wxMetaFile
[] = {{"_p_wxMetaFile", 0, "wxMetaFile *", 0},{"_p_wxMetaFile"},{0}};
18425 static swig_type_info _swigt__p_wxNativeFontInfo
[] = {{"_p_wxNativeFontInfo", 0, "wxNativeFontInfo *", 0},{"_p_wxNativeFontInfo"},{0}};
18426 static swig_type_info _swigt__p_wxEncodingConverter
[] = {{"_p_wxEncodingConverter", 0, "wxEncodingConverter *", 0},{"_p_wxEncodingConverter"},{0}};
18427 static swig_type_info _swigt__p_wxColourDatabase
[] = {{"_p_wxColourDatabase", 0, "wxColourDatabase *", 0},{"_p_wxColourDatabase"},{0}};
18429 static swig_type_info
*swig_types_initial
[] = {
18430 _swigt__p_wxPostScriptDC
,
18432 _swigt__p_wxColour
,
18434 _swigt__p_wxMirrorDC
,
18436 _swigt__p_wxPyFontEnumerator
,
18438 _swigt__p_wxIconLocation
,
18440 _swigt__p_wxMetaFileDC
,
18443 _swigt__p_wxWindow
,
18446 _swigt__p_wxMemoryDC
,
18447 _swigt__p_wxFontMapper
,
18448 _swigt__p_wxEffects
,
18449 _swigt__p_wxNativeEncodingInfo
,
18450 _swigt__p_wxPalette
,
18451 _swigt__p_wxBitmap
,
18452 _swigt__p_wxObject
,
18453 _swigt__p_wxRegionIterator
,
18455 _swigt__p_wxString
,
18456 _swigt__p_wxPrinterDC
,
18457 _swigt__p_wxIconBundle
,
18460 _swigt__p_wxScreenDC
,
18461 _swigt__p_wxCursor
,
18462 _swigt__p_wxClientDC
,
18463 _swigt__p_wxBufferedDC
,
18464 _swigt__p_wxImageList
,
18465 _swigt__p_unsigned_char
,
18466 _swigt__p_wxGDIObject
,
18468 _swigt__p_wxLocale
,
18469 _swigt__p_wxRegion
,
18470 _swigt__p_wxLanguageInfo
,
18471 _swigt__p_wxConfigBase
,
18472 _swigt__p_wxWindowDC
,
18473 _swigt__p_wxPrintData
,
18474 _swigt__p_wxBrushList
,
18475 _swigt__p_wxFontList
,
18477 _swigt__p_wxBufferedPaintDC
,
18478 _swigt__p_wxPaintDC
,
18479 _swigt__p_wxPenList
,
18482 _swigt__p_wxMetaFile
,
18483 _swigt__p_wxNativeFontInfo
,
18484 _swigt__p_wxEncodingConverter
,
18485 _swigt__p_wxColourDatabase
,
18490 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
18492 static swig_const_info swig_const_table
[] = {
18502 SWIGEXPORT(void) SWIG_init(void) {
18503 static PyObject
*SWIG_globals
= 0;
18504 static int typeinit
= 0;
18507 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
18508 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
18509 d
= PyModule_GetDict(m
);
18512 for (i
= 0; swig_types_initial
[i
]; i
++) {
18513 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
18517 SWIG_InstallConstants(d
,swig_const_table
);
18519 PyDict_SetItemString(d
,"OutRegion", SWIG_PyObj_FromInt((int)wxOutRegion
));
18520 PyDict_SetItemString(d
,"PartRegion", SWIG_PyObj_FromInt((int)wxPartRegion
));
18521 PyDict_SetItemString(d
,"InRegion", SWIG_PyObj_FromInt((int)wxInRegion
));
18522 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_PyObj_FromInt((int)wxFONTFAMILY_DEFAULT
));
18523 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_PyObj_FromInt((int)wxFONTFAMILY_DECORATIVE
));
18524 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_PyObj_FromInt((int)wxFONTFAMILY_ROMAN
));
18525 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_PyObj_FromInt((int)wxFONTFAMILY_SCRIPT
));
18526 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_PyObj_FromInt((int)wxFONTFAMILY_SWISS
));
18527 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_PyObj_FromInt((int)wxFONTFAMILY_MODERN
));
18528 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_PyObj_FromInt((int)wxFONTFAMILY_TELETYPE
));
18529 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_PyObj_FromInt((int)wxFONTFAMILY_MAX
));
18530 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_PyObj_FromInt((int)wxFONTFAMILY_UNKNOWN
));
18531 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_PyObj_FromInt((int)wxFONTSTYLE_NORMAL
));
18532 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_PyObj_FromInt((int)wxFONTSTYLE_ITALIC
));
18533 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_PyObj_FromInt((int)wxFONTSTYLE_SLANT
));
18534 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_PyObj_FromInt((int)wxFONTSTYLE_MAX
));
18535 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_NORMAL
));
18536 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_LIGHT
));
18537 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_BOLD
));
18538 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_MAX
));
18539 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_PyObj_FromInt((int)wxFONTFLAG_DEFAULT
));
18540 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_PyObj_FromInt((int)wxFONTFLAG_ITALIC
));
18541 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_PyObj_FromInt((int)wxFONTFLAG_SLANT
));
18542 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_PyObj_FromInt((int)wxFONTFLAG_LIGHT
));
18543 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_PyObj_FromInt((int)wxFONTFLAG_BOLD
));
18544 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_PyObj_FromInt((int)wxFONTFLAG_ANTIALIASED
));
18545 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_PyObj_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
18546 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_PyObj_FromInt((int)wxFONTFLAG_UNDERLINED
));
18547 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_PyObj_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
18548 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_PyObj_FromInt((int)wxFONTFLAG_MASK
));
18549 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_PyObj_FromInt((int)wxFONTENCODING_SYSTEM
));
18550 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_PyObj_FromInt((int)wxFONTENCODING_DEFAULT
));
18551 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_1
));
18552 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_2
));
18553 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_3
));
18554 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_4
));
18555 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_5
));
18556 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_6
));
18557 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_7
));
18558 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_8
));
18559 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_9
));
18560 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_10
));
18561 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_11
));
18562 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_12
));
18563 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_13
));
18564 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_14
));
18565 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_15
));
18566 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
18567 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_PyObj_FromInt((int)wxFONTENCODING_KOI8
));
18568 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_PyObj_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
18569 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_BULGARIAN
));
18570 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP437
));
18571 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP850
));
18572 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP852
));
18573 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP855
));
18574 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP866
));
18575 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP874
));
18576 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP932
));
18577 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP936
));
18578 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP949
));
18579 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP950
));
18580 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1250
));
18581 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1251
));
18582 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1252
));
18583 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1253
));
18584 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1254
));
18585 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1255
));
18586 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1256
));
18587 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1257
));
18588 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP12_MAX
));
18589 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF7
));
18590 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF8
));
18591 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_PyObj_FromInt((int)wxFONTENCODING_EUC_JP
));
18592 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF16BE
));
18593 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF16LE
));
18594 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF32BE
));
18595 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF32LE
));
18596 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACROMAN
));
18597 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACJAPANESE
));
18598 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
18599 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKOREAN
));
18600 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACARABIC
));
18601 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACHEBREW
));
18602 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGREEK
));
18603 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
18604 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
18605 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
18606 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGUJARATI
));
18607 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACORIYA
));
18608 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACBENGALI
));
18609 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTAMIL
));
18610 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTELUGU
));
18611 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKANNADA
));
18612 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
18613 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACSINHALESE
));
18614 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACBURMESE
));
18615 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKHMER
));
18616 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTHAI
));
18617 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
18618 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
18619 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACARMENIAN
));
18620 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
18621 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTIBETAN
));
18622 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
18623 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
18624 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
18625 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
18626 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACARABICEXT
));
18627 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACSYMBOL
));
18628 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACDINGBATS
));
18629 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTURKISH
));
18630 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCROATIAN
));
18631 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACICELANDIC
));
18632 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACROMANIAN
));
18633 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCELTIC
));
18634 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGAELIC
));
18635 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
18636 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMIN
));
18637 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMAX
));
18638 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_MAX
));
18639 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF16
));
18640 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF32
));
18641 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UNICODE
));
18642 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_PyObj_FromInt((int)wxFONTENCODING_GB2312
));
18643 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_PyObj_FromInt((int)wxFONTENCODING_BIG5
));
18644 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_PyObj_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
18646 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
18648 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_PyObj_FromInt((int)wxLANGUAGE_DEFAULT
));
18649 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_PyObj_FromInt((int)wxLANGUAGE_UNKNOWN
));
18650 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
18651 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_PyObj_FromInt((int)wxLANGUAGE_AFAR
));
18652 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_PyObj_FromInt((int)wxLANGUAGE_AFRIKAANS
));
18653 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ALBANIAN
));
18654 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_AMHARIC
));
18655 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC
));
18656 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
18657 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
18658 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
18659 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
18660 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
18661 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
18662 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
18663 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
18664 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
18665 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
18666 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
18667 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
18668 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
18669 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
18670 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
18671 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
18672 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
18673 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARMENIAN
));
18674 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ASSAMESE
));
18675 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_PyObj_FromInt((int)wxLANGUAGE_AYMARA
));
18676 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_PyObj_FromInt((int)wxLANGUAGE_AZERI
));
18677 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
18678 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
18679 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_PyObj_FromInt((int)wxLANGUAGE_BASHKIR
));
18680 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_PyObj_FromInt((int)wxLANGUAGE_BASQUE
));
18681 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_BELARUSIAN
));
18682 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_PyObj_FromInt((int)wxLANGUAGE_BENGALI
));
18683 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_PyObj_FromInt((int)wxLANGUAGE_BHUTANI
));
18684 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_PyObj_FromInt((int)wxLANGUAGE_BIHARI
));
18685 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_PyObj_FromInt((int)wxLANGUAGE_BISLAMA
));
18686 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_PyObj_FromInt((int)wxLANGUAGE_BRETON
));
18687 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_BULGARIAN
));
18688 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_BURMESE
));
18689 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CAMBODIAN
));
18690 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CATALAN
));
18691 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE
));
18692 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
18693 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
18694 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
18695 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
18696 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
18697 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
18698 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CORSICAN
));
18699 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CROATIAN
));
18700 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_PyObj_FromInt((int)wxLANGUAGE_CZECH
));
18701 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_DANISH
));
18702 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_PyObj_FromInt((int)wxLANGUAGE_DUTCH
));
18703 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
18704 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH
));
18705 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
18706 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_US
));
18707 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
18708 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
18709 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
18710 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
18711 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
18712 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
18713 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
18714 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
18715 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
18716 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
18717 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
18718 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
18719 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
18720 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_PyObj_FromInt((int)wxLANGUAGE_ESPERANTO
));
18721 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ESTONIAN
));
18722 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_FAEROESE
));
18723 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_PyObj_FromInt((int)wxLANGUAGE_FARSI
));
18724 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_PyObj_FromInt((int)wxLANGUAGE_FIJI
));
18725 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_FINNISH
));
18726 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH
));
18727 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
18728 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
18729 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
18730 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
18731 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
18732 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRISIAN
));
18733 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GALICIAN
));
18734 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GEORGIAN
));
18735 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN
));
18736 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
18737 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
18738 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
18739 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
18740 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
18741 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_PyObj_FromInt((int)wxLANGUAGE_GREEK
));
18742 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_GREENLANDIC
));
18743 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_PyObj_FromInt((int)wxLANGUAGE_GUARANI
));
18744 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_PyObj_FromInt((int)wxLANGUAGE_GUJARATI
));
18745 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_PyObj_FromInt((int)wxLANGUAGE_HAUSA
));
18746 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_PyObj_FromInt((int)wxLANGUAGE_HEBREW
));
18747 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_PyObj_FromInt((int)wxLANGUAGE_HINDI
));
18748 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_HUNGARIAN
));
18749 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_ICELANDIC
));
18750 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_INDONESIAN
));
18751 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_PyObj_FromInt((int)wxLANGUAGE_INTERLINGUA
));
18752 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_PyObj_FromInt((int)wxLANGUAGE_INTERLINGUE
));
18753 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_PyObj_FromInt((int)wxLANGUAGE_INUKTITUT
));
18754 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_PyObj_FromInt((int)wxLANGUAGE_INUPIAK
));
18755 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_IRISH
));
18756 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ITALIAN
));
18757 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_PyObj_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
18758 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_JAPANESE
));
18759 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_JAVANESE
));
18760 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_PyObj_FromInt((int)wxLANGUAGE_KANNADA
));
18761 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_PyObj_FromInt((int)wxLANGUAGE_KASHMIRI
));
18762 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
18763 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_PyObj_FromInt((int)wxLANGUAGE_KAZAKH
));
18764 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_PyObj_FromInt((int)wxLANGUAGE_KERNEWEK
));
18765 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_PyObj_FromInt((int)wxLANGUAGE_KINYARWANDA
));
18766 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_PyObj_FromInt((int)wxLANGUAGE_KIRGHIZ
));
18767 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_PyObj_FromInt((int)wxLANGUAGE_KIRUNDI
));
18768 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_PyObj_FromInt((int)wxLANGUAGE_KONKANI
));
18769 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_KOREAN
));
18770 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_KURDISH
));
18771 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LAOTHIAN
));
18772 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LATIN
));
18773 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LATVIAN
));
18774 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_PyObj_FromInt((int)wxLANGUAGE_LINGALA
));
18775 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LITHUANIAN
));
18776 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_MACEDONIAN
));
18777 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAGASY
));
18778 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAY
));
18779 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAYALAM
));
18780 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
18781 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
18782 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALTESE
));
18783 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_PyObj_FromInt((int)wxLANGUAGE_MANIPURI
));
18784 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_PyObj_FromInt((int)wxLANGUAGE_MAORI
));
18785 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_PyObj_FromInt((int)wxLANGUAGE_MARATHI
));
18786 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
18787 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_MONGOLIAN
));
18788 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_PyObj_FromInt((int)wxLANGUAGE_NAURU
));
18789 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_PyObj_FromInt((int)wxLANGUAGE_NEPALI
));
18790 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
18791 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_PyObj_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
18792 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_PyObj_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
18793 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_OCCITAN
));
18794 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ORIYA
));
18795 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_PyObj_FromInt((int)wxLANGUAGE_OROMO
));
18796 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_PyObj_FromInt((int)wxLANGUAGE_PASHTO
));
18797 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_POLISH
));
18798 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_PORTUGUESE
));
18799 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
18800 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_PyObj_FromInt((int)wxLANGUAGE_PUNJABI
));
18801 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_PyObj_FromInt((int)wxLANGUAGE_QUECHUA
));
18802 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_PyObj_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
18803 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ROMANIAN
));
18804 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_RUSSIAN
));
18805 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_PyObj_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
18806 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SAMOAN
));
18807 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_PyObj_FromInt((int)wxLANGUAGE_SANGHO
));
18808 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_PyObj_FromInt((int)wxLANGUAGE_SANSKRIT
));
18809 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
18810 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBIAN
));
18811 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
18812 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
18813 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
18814 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_PyObj_FromInt((int)wxLANGUAGE_SESOTHO
));
18815 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SETSWANA
));
18816 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SHONA
));
18817 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SINDHI
));
18818 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_SINHALESE
));
18819 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SISWATI
));
18820 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_PyObj_FromInt((int)wxLANGUAGE_SLOVAK
));
18821 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SLOVENIAN
));
18822 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SOMALI
));
18823 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH
));
18824 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
18825 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
18826 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
18827 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
18828 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
18829 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
18830 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
18831 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
18832 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
18833 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
18834 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
18835 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
18836 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
18837 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
18838 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
18839 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
18840 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
18841 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
18842 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_US
));
18843 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
18844 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_SUNDANESE
));
18845 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SWAHILI
));
18846 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_SWEDISH
));
18847 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_PyObj_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
18848 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_PyObj_FromInt((int)wxLANGUAGE_TAGALOG
));
18849 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_PyObj_FromInt((int)wxLANGUAGE_TAJIK
));
18850 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_PyObj_FromInt((int)wxLANGUAGE_TAMIL
));
18851 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_PyObj_FromInt((int)wxLANGUAGE_TATAR
));
18852 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_PyObj_FromInt((int)wxLANGUAGE_TELUGU
));
18853 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_PyObj_FromInt((int)wxLANGUAGE_THAI
));
18854 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_TIBETAN
));
18855 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_PyObj_FromInt((int)wxLANGUAGE_TIGRINYA
));
18856 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_PyObj_FromInt((int)wxLANGUAGE_TONGA
));
18857 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_PyObj_FromInt((int)wxLANGUAGE_TSONGA
));
18858 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_TURKISH
));
18859 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_PyObj_FromInt((int)wxLANGUAGE_TURKMEN
));
18860 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_PyObj_FromInt((int)wxLANGUAGE_TWI
));
18861 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_PyObj_FromInt((int)wxLANGUAGE_UIGHUR
));
18862 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_UKRAINIAN
));
18863 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_PyObj_FromInt((int)wxLANGUAGE_URDU
));
18864 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_URDU_INDIA
));
18865 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
18866 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_PyObj_FromInt((int)wxLANGUAGE_UZBEK
));
18867 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
18868 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
18869 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_VIETNAMESE
));
18870 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_PyObj_FromInt((int)wxLANGUAGE_VOLAPUK
));
18871 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_PyObj_FromInt((int)wxLANGUAGE_WELSH
));
18872 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_PyObj_FromInt((int)wxLANGUAGE_WOLOF
));
18873 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_PyObj_FromInt((int)wxLANGUAGE_XHOSA
));
18874 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_YIDDISH
));
18875 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_PyObj_FromInt((int)wxLANGUAGE_YORUBA
));
18876 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_PyObj_FromInt((int)wxLANGUAGE_ZHUANG
));
18877 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_PyObj_FromInt((int)wxLANGUAGE_ZULU
));
18878 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_PyObj_FromInt((int)wxLANGUAGE_USER_DEFINED
));
18879 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_NUMBER
));
18880 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_DATE
));
18881 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_MONEY
));
18882 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_MAX
));
18883 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_PyObj_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
18884 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_PyObj_FromInt((int)wxLOCALE_DECIMAL_POINT
));
18885 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_PyObj_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
18886 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_PyObj_FromInt((int)wxLOCALE_CONV_ENCODING
));
18887 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_PyObj_FromInt((int)wxCONVERT_STRICT
));
18888 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_PyObj_FromInt((int)wxCONVERT_SUBSTITUTE
));
18889 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_PyObj_FromInt((int)wxPLATFORM_CURRENT
));
18890 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_PyObj_FromInt((int)wxPLATFORM_UNIX
));
18891 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_PyObj_FromInt((int)wxPLATFORM_WINDOWS
));
18892 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_PyObj_FromInt((int)wxPLATFORM_OS2
));
18893 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_PyObj_FromInt((int)wxPLATFORM_MAC
));
18894 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
18895 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
18896 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
18897 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
18898 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_PyObj_FromInt((int)wxIMAGE_LIST_NORMAL
));
18899 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_PyObj_FromInt((int)wxIMAGE_LIST_SMALL
));
18900 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_PyObj_FromInt((int)wxIMAGE_LIST_STATE
));
18901 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
18902 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
18903 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
18904 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
18905 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
18906 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
18907 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
18908 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
18909 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
18910 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
18911 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
18912 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
18913 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
18914 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
18915 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
18916 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
18917 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
18918 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
18919 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
18920 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
18921 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
18922 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
18923 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
18924 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
18925 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
18926 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
18927 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
18928 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
18929 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
18930 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
18931 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
18932 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
18933 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
18934 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
18935 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
18936 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
18937 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
18938 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
18939 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
18940 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
18941 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
18942 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
18943 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
18944 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
18945 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
18946 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
18947 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
18949 // Work around a chicken/egg problem in drawlist.cpp
18950 wxPyDrawList_SetAPIPtr();