1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
206 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharPtr(const char* cptr
);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject
* obj
);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject
* obj
, const char* type
,
209 long min_value
, long max_value
);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject
*obj
, const char* type
,
211 unsigned long max_value
);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject
*obj
, swig_type_info
* pchar_info
,
214 char** cptr
, size_t* size
);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject
*obj
, swig_type_info
* pchar_info
,
216 char* carray
, size_t size
);
217 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharArray(const char* carray
, size_t size
);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject
*obj
, py_objasdbl_conv pyconv
);
221 /* Contract support */
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
231 /* -------- TYPES TABLE (BEGIN) -------- */
233 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
234 #define SWIGTYPE_p_wxBrush swig_types[1]
235 #define SWIGTYPE_p_wxColour swig_types[2]
236 #define SWIGTYPE_p_wxDC swig_types[3]
237 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
238 #define SWIGTYPE_p_byte swig_types[5]
239 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
240 #define SWIGTYPE_p_char swig_types[7]
241 #define SWIGTYPE_p_wxIconLocation swig_types[8]
242 #define SWIGTYPE_p_wxImage swig_types[9]
243 #define SWIGTYPE_p_wxMetaFileDC swig_types[10]
244 #define SWIGTYPE_p_wxMask swig_types[11]
245 #define SWIGTYPE_p_wxFont swig_types[12]
246 #define SWIGTYPE_p_wxWindow swig_types[13]
247 #define SWIGTYPE_p_wxSize swig_types[14]
248 #define SWIGTYPE_p_double swig_types[15]
249 #define SWIGTYPE_p_wxMemoryDC swig_types[16]
250 #define SWIGTYPE_p_wxFontMapper swig_types[17]
251 #define SWIGTYPE_p_wxEffects swig_types[18]
252 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]
253 #define SWIGTYPE_p_wxPalette swig_types[20]
254 #define SWIGTYPE_p_wxBitmap swig_types[21]
255 #define SWIGTYPE_p_wxObject swig_types[22]
256 #define SWIGTYPE_p_wxRegionIterator swig_types[23]
257 #define SWIGTYPE_p_wxRect swig_types[24]
258 #define SWIGTYPE_p_wxString swig_types[25]
259 #define SWIGTYPE_p_wxPrinterDC swig_types[26]
260 #define SWIGTYPE_p_wxIconBundle swig_types[27]
261 #define SWIGTYPE_p_wxPoint swig_types[28]
262 #define SWIGTYPE_p_wxDash swig_types[29]
263 #define SWIGTYPE_p_wxScreenDC swig_types[30]
264 #define SWIGTYPE_p_wxCursor swig_types[31]
265 #define SWIGTYPE_p_wxClientDC swig_types[32]
266 #define SWIGTYPE_p_wxBufferedDC swig_types[33]
267 #define SWIGTYPE_p_wxImageList swig_types[34]
268 #define SWIGTYPE_p_unsigned_char swig_types[35]
269 #define SWIGTYPE_p_wxGDIObject swig_types[36]
270 #define SWIGTYPE_p_wxIcon swig_types[37]
271 #define SWIGTYPE_p_wxLocale swig_types[38]
272 #define SWIGTYPE_p_wxRegion swig_types[39]
273 #define SWIGTYPE_p_wxLanguageInfo swig_types[40]
274 #define SWIGTYPE_p_wxConfigBase swig_types[41]
275 #define SWIGTYPE_p_wxWindowDC swig_types[42]
276 #define SWIGTYPE_p_wxPrintData swig_types[43]
277 #define SWIGTYPE_p_wxBrushList swig_types[44]
278 #define SWIGTYPE_p_wxFontList swig_types[45]
279 #define SWIGTYPE_p_wxPen swig_types[46]
280 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[47]
281 #define SWIGTYPE_p_wxPaintDC swig_types[48]
282 #define SWIGTYPE_p_wxPenList swig_types[49]
283 #define SWIGTYPE_p_wxPyPen swig_types[50]
284 #define SWIGTYPE_p_int swig_types[51]
285 #define SWIGTYPE_p_wxMetaFile swig_types[52]
286 #define SWIGTYPE_p_wxNativeFontInfo swig_types[53]
287 #define SWIGTYPE_p_wxEncodingConverter swig_types[54]
288 #define SWIGTYPE_p_wxColourDatabase swig_types[55]
289 static swig_type_info
*swig_types
[57];
291 /* -------- TYPES TABLE (END) -------- */
294 /*-----------------------------------------------
296 ------------------------------------------------*/
297 #define SWIG_init init_gdi
299 #define SWIG_name "_gdi"
307 #define SWIGSTATIC(a) static inline a
309 #define SWIGSTATIC(a) static a
315 #ifdef HAVE_NUMERIC_CAST
316 #define numeric_cast(type,a) numeric_cast<type>(a)
318 #define numeric_cast(type,a) static_cast<type>(a)
321 #define numeric_cast(type,a) (type)(a)
327 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
328 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
329 #define SWIG_PyObj_FromShort PyInt_FromLong
330 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
331 #define SWIG_PyObj_FromInt PyInt_FromLong
332 #define SWIG_PyObj_FromLong PyInt_FromLong
333 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
334 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
335 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
336 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
339 #include "wx/wxPython/wxPython.h"
340 #include "wx/wxPython/pyclasses.h"
343 static const wxString
wxPyEmptyString(wxEmptyString
);
346 SWIG_PyObj_AsBool(PyObject
*obj
)
348 return PyObject_IsTrue(obj
) ? true : false;
352 SWIGSTATIC(unsigned char)
353 SWIG_PyObj_AsUnsignedChar(PyObject
*obj
)
355 return numeric_cast(unsigned char,
356 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned char", UCHAR_MAX
));
359 PyObject
*wxColour_Get(wxColour
*self
){
360 PyObject
* rv
= PyTuple_New(3);
366 green
= self
->Green();
369 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
370 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
371 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
376 SWIG_PyObj_AsInt(PyObject
*obj
)
378 return numeric_cast(int,
379 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
383 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
389 } else if (target
== Py_None
) {
393 if (!PyTuple_Check(target
)) {
395 target
= PyTuple_New(1);
396 PyTuple_SetItem(target
, 0, o2
);
399 PyTuple_SetItem(o3
, 0, o
);
402 target
= PySequence_Concat(o2
, o3
);
409 PyObject
*wxPen_GetDashes(wxPen
*self
){
411 int count
= self
->GetDashes(&dashes
);
412 wxPyBeginBlockThreads();
413 PyObject
* retval
= PyList_New(0);
414 for (int x
=0; x
<count
; x
++)
415 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
416 wxPyEndBlockThreads();
426 void wxPyPen::SetDashes(int nb_dashes
, const wxDash
*dash
)
430 m_dash
= new wxDash
[nb_dashes
];
431 for (int i
=0; i
<nb_dashes
; i
++) {
434 wxPen::SetDashes(nb_dashes
, m_dash
);
439 SWIG_PyObj_AsShort(PyObject
*obj
)
441 return numeric_cast(short,
442 SWIG_PyObj_AsLongInRange(obj
, "short", SHRT_MIN
, SHRT_MAX
));
446 #include <wx/image.h>
448 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
449 char** cArray
= NULL
;
452 if (!PyList_Check(listOfStrings
)) {
453 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
456 count
= PyList_Size(listOfStrings
);
457 cArray
= new char*[count
];
459 for(int x
=0; x
<count
; x
++) {
460 // TODO: Need some validation and error checking here
461 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
467 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
468 char** cArray
= NULL
;
471 cArray
= ConvertListOfStrings(listOfStrings
);
474 bmp
= new wxBitmap(cArray
);
478 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
481 PyString_AsStringAndSize(bits
, &buf
, &length
);
482 return new wxBitmap(buf
, width
, height
, depth
);
484 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
485 wxMask
*mask
= new wxMask(*self
, colour
);
488 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
490 return new wxMask(bitmap
, *wxBLACK
);
492 return new wxMask(bitmap
, colour
);
495 #include <wx/iconbndl.h>
497 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
498 wxIcon
* icon
= new wxIcon();
499 icon
->CopyFromBitmap(bmp
);
502 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
503 char** cArray
= NULL
;
506 cArray
= ConvertListOfStrings(listOfStrings
);
509 icon
= new wxIcon(cArray
);
513 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
517 return new wxIconLocation(*filename
);
520 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
527 int wxIconLocation_GetIndex(wxIconLocation
*self
){
536 SWIG_PyObj_AsLong(PyObject
* obj
)
538 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
541 wxCursor
*new_wxCursor(wxString
const *cursorName
,long flags
,int hotSpotX
,int hotSpotY
){
546 return new wxCursor(*cursorName
, flags
, hotSpotX
, hotSpotY
);
549 wxCursor
*new_wxCursor(PyObject
*bits
,int width
,int height
,int hotSpotX
,int hotSpotY
,PyObject
*maskBits
){
551 char* maskbuf
= NULL
;
553 PyString_AsStringAndSize(bits
, &bitsbuf
, &length
);
555 PyString_AsStringAndSize(maskBits
, &maskbuf
, &length
);
556 return new wxCursor(bitsbuf
, width
, height
, hotSpotX
, hotSpotY
, maskbuf
);
560 wxRegion
*new_wxRegion(int points
,wxPoint
*points_array
,int fillStyle
){
561 wxPyRaiseNotImplemented();
564 void wxRegionIterator_Next(wxRegionIterator
*self
){
567 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
568 return self
->operator bool();
571 #include <wx/fontutil.h>
572 #include <wx/fontmap.h>
573 #include <wx/fontenum.h>
575 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
576 return self
->ToString();
579 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
580 static wxNativeEncodingInfo info
;
581 if ( wxGetNativeFontEncoding(encoding
, &info
) )
588 SWIGSTATIC(PyObject
* )
589 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
591 return (value
> (unsigned long)(LONG_MAX
)) ?
592 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
595 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
596 wxFontEncoding alt_enc
;
597 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
598 return PyInt_FromLong(alt_enc
);
604 wxFont
*new_wxFont(wxString
const &info
){
605 wxNativeFontInfo nfi
;
606 nfi
.FromString(info
);
607 return new wxFont(nfi
);
609 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
610 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
613 class wxPyFontEnumerator
: public wxFontEnumerator
{
615 wxPyFontEnumerator() {}
616 ~wxPyFontEnumerator() {}
618 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
619 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
624 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
625 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
628 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
629 wxArrayString
* arr
= self
->GetEncodings();
630 return wxArrayString2PyList_helper(*arr
);
632 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
633 wxArrayString
* arr
= self
->GetFacenames();
634 return wxArrayString2PyList_helper(*arr
);
639 #include "wx/wxPython/pydrawxxx.h"
641 wxColour
wxDC_GetPixelXY(wxDC
*self
,int x
,int y
){
643 self
->GetPixel(x
, y
, &col
);
646 wxColour
wxDC_GetPixel(wxDC
*self
,wxPoint
const &pt
){
648 self
->GetPixel(pt
, &col
);
653 SWIG_PyObj_AsDouble(PyObject
*obj
)
655 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
657 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
659 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
661 if (PyErr_Occurred()) {
663 PyErr_SetString(PyExc_TypeError
, "a double is expected");
667 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
669 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
672 wxRect
wxDC_GetClippingRect(wxDC
*self
){
674 self
->GetClippingBox(rect
);
677 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
679 self
->GetPartialTextExtents(text
, widths
);
682 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
683 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
685 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
686 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
688 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
689 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
691 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
692 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
694 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
695 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
697 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
698 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
701 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
712 class wxMetaFile
: public wxObject
{
714 wxMetaFile(const wxString
&)
715 { wxPyRaiseNotImplemented(); }
718 class wxMetaFileDC
: public wxClientDC
{
720 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
721 { wxPyRaiseNotImplemented(); }
727 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
728 self
->AddColour(name
, wxColour(red
, green
, blue
));
731 #include <wx/effects.h>
736 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
746 result
= (wxGDIObject
*)new wxGDIObject();
748 wxPyEndAllowThreads(__tstate
);
749 if (PyErr_Occurred()) SWIG_fail
;
751 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGDIObject
, 1);
758 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
760 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
761 PyObject
* obj0
= 0 ;
763 (char *) "self", NULL
766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
772 wxPyEndAllowThreads(__tstate
);
773 if (PyErr_Occurred()) SWIG_fail
;
775 Py_INCREF(Py_None
); resultobj
= Py_None
;
782 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
784 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
786 PyObject
* obj0
= 0 ;
788 (char *) "self", NULL
791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
795 result
= (bool)(arg1
)->GetVisible();
797 wxPyEndAllowThreads(__tstate
);
798 if (PyErr_Occurred()) SWIG_fail
;
800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
807 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
809 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
811 PyObject
* obj0
= 0 ;
812 PyObject
* obj1
= 0 ;
814 (char *) "self",(char *) "visible", NULL
817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
820 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
821 if (PyErr_Occurred()) SWIG_fail
;
824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
825 (arg1
)->SetVisible(arg2
);
827 wxPyEndAllowThreads(__tstate
);
828 if (PyErr_Occurred()) SWIG_fail
;
830 Py_INCREF(Py_None
); resultobj
= Py_None
;
837 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
839 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
841 PyObject
* obj0
= 0 ;
843 (char *) "self", NULL
846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
850 result
= (bool)(arg1
)->IsNull();
852 wxPyEndAllowThreads(__tstate
);
853 if (PyErr_Occurred()) SWIG_fail
;
855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
862 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
865 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
867 return Py_BuildValue((char *)"");
869 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
871 unsigned char arg1
= (unsigned char) 0 ;
872 unsigned char arg2
= (unsigned char) 0 ;
873 unsigned char arg3
= (unsigned char) 0 ;
875 PyObject
* obj0
= 0 ;
876 PyObject
* obj1
= 0 ;
877 PyObject
* obj2
= 0 ;
879 (char *) "red",(char *) "green",(char *) "blue", NULL
882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
885 arg1
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj0
);
886 if (PyErr_Occurred()) SWIG_fail
;
891 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
892 if (PyErr_Occurred()) SWIG_fail
;
897 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
898 if (PyErr_Occurred()) SWIG_fail
;
902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
903 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
905 wxPyEndAllowThreads(__tstate
);
906 if (PyErr_Occurred()) SWIG_fail
;
908 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
915 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
917 wxColour
*arg1
= (wxColour
*) 0 ;
918 PyObject
* obj0
= 0 ;
920 (char *) "self", NULL
923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
929 wxPyEndAllowThreads(__tstate
);
930 if (PyErr_Occurred()) SWIG_fail
;
932 Py_INCREF(Py_None
); resultobj
= Py_None
;
939 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
944 PyObject
* obj0
= 0 ;
946 (char *) "colorName", NULL
949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
951 arg1
= wxString_in_helper(obj0
);
952 if (arg1
== NULL
) SWIG_fail
;
956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
957 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
959 wxPyEndAllowThreads(__tstate
);
960 if (PyErr_Occurred()) SWIG_fail
;
962 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
977 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
981 PyObject
* obj0
= 0 ;
983 (char *) "colRGB", NULL
986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
988 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
989 if (PyErr_Occurred()) SWIG_fail
;
992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
993 result
= (wxColour
*)new wxColour(arg1
);
995 wxPyEndAllowThreads(__tstate
);
996 if (PyErr_Occurred()) SWIG_fail
;
998 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
1005 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1006 PyObject
*resultobj
;
1007 wxColour
*arg1
= (wxColour
*) 0 ;
1008 unsigned char result
;
1009 PyObject
* obj0
= 0 ;
1011 (char *) "self", NULL
1014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1018 result
= (unsigned char)(arg1
)->Red();
1020 wxPyEndAllowThreads(__tstate
);
1021 if (PyErr_Occurred()) SWIG_fail
;
1023 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
1030 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1031 PyObject
*resultobj
;
1032 wxColour
*arg1
= (wxColour
*) 0 ;
1033 unsigned char result
;
1034 PyObject
* obj0
= 0 ;
1036 (char *) "self", NULL
1039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1043 result
= (unsigned char)(arg1
)->Green();
1045 wxPyEndAllowThreads(__tstate
);
1046 if (PyErr_Occurred()) SWIG_fail
;
1048 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
1055 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1056 PyObject
*resultobj
;
1057 wxColour
*arg1
= (wxColour
*) 0 ;
1058 unsigned char result
;
1059 PyObject
* obj0
= 0 ;
1061 (char *) "self", NULL
1064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1068 result
= (unsigned char)(arg1
)->Blue();
1070 wxPyEndAllowThreads(__tstate
);
1071 if (PyErr_Occurred()) SWIG_fail
;
1073 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
1080 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1081 PyObject
*resultobj
;
1082 wxColour
*arg1
= (wxColour
*) 0 ;
1084 PyObject
* obj0
= 0 ;
1086 (char *) "self", NULL
1089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1093 result
= (bool)(arg1
)->Ok();
1095 wxPyEndAllowThreads(__tstate
);
1096 if (PyErr_Occurred()) SWIG_fail
;
1098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1105 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1106 PyObject
*resultobj
;
1107 wxColour
*arg1
= (wxColour
*) 0 ;
1108 unsigned char arg2
;
1109 unsigned char arg3
;
1110 unsigned char arg4
;
1111 PyObject
* obj0
= 0 ;
1112 PyObject
* obj1
= 0 ;
1113 PyObject
* obj2
= 0 ;
1114 PyObject
* obj3
= 0 ;
1116 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1122 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
1123 if (PyErr_Occurred()) SWIG_fail
;
1126 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
1127 if (PyErr_Occurred()) SWIG_fail
;
1130 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
1131 if (PyErr_Occurred()) SWIG_fail
;
1134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1135 (arg1
)->Set(arg2
,arg3
,arg4
);
1137 wxPyEndAllowThreads(__tstate
);
1138 if (PyErr_Occurred()) SWIG_fail
;
1140 Py_INCREF(Py_None
); resultobj
= Py_None
;
1147 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1148 PyObject
*resultobj
;
1149 wxColour
*arg1
= (wxColour
*) 0 ;
1150 unsigned long arg2
;
1151 PyObject
* obj0
= 0 ;
1152 PyObject
* obj1
= 0 ;
1154 (char *) "self",(char *) "colRGB", NULL
1157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1160 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
1161 if (PyErr_Occurred()) SWIG_fail
;
1164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1167 wxPyEndAllowThreads(__tstate
);
1168 if (PyErr_Occurred()) SWIG_fail
;
1170 Py_INCREF(Py_None
); resultobj
= Py_None
;
1177 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1178 PyObject
*resultobj
;
1179 wxColour
*arg1
= (wxColour
*) 0 ;
1180 wxColour
*arg2
= 0 ;
1183 PyObject
* obj0
= 0 ;
1184 PyObject
* obj1
= 0 ;
1186 (char *) "self",(char *) "colour", NULL
1189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1193 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1197 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1199 wxPyEndAllowThreads(__tstate
);
1200 if (PyErr_Occurred()) SWIG_fail
;
1202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1209 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1210 PyObject
*resultobj
;
1211 wxColour
*arg1
= (wxColour
*) 0 ;
1212 wxColour
*arg2
= 0 ;
1215 PyObject
* obj0
= 0 ;
1216 PyObject
* obj1
= 0 ;
1218 (char *) "self",(char *) "colour", NULL
1221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1225 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1229 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1231 wxPyEndAllowThreads(__tstate
);
1232 if (PyErr_Occurred()) SWIG_fail
;
1234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1241 static PyObject
*_wrap_Colour_InitFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1242 PyObject
*resultobj
;
1243 wxColour
*arg1
= (wxColour
*) 0 ;
1244 wxString
*arg2
= 0 ;
1245 bool temp2
= False
;
1246 PyObject
* obj0
= 0 ;
1247 PyObject
* obj1
= 0 ;
1249 (char *) "self",(char *) "colourName", NULL
1252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_InitFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1255 arg2
= wxString_in_helper(obj1
);
1256 if (arg2
== NULL
) SWIG_fail
;
1260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1261 (arg1
)->InitFromName((wxString
const &)*arg2
);
1263 wxPyEndAllowThreads(__tstate
);
1264 if (PyErr_Occurred()) SWIG_fail
;
1266 Py_INCREF(Py_None
); resultobj
= Py_None
;
1281 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1282 PyObject
*resultobj
;
1283 wxColour
*arg1
= (wxColour
*) 0 ;
1285 PyObject
* obj0
= 0 ;
1287 (char *) "self", NULL
1290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1294 result
= (PyObject
*)wxColour_Get(arg1
);
1296 wxPyEndAllowThreads(__tstate
);
1297 if (PyErr_Occurred()) SWIG_fail
;
1306 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1308 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1309 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1311 return Py_BuildValue((char *)"");
1313 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1314 PyObject
*resultobj
;
1316 unsigned char *arg2
= (unsigned char *) 0 ;
1317 unsigned char *arg3
= (unsigned char *) 0 ;
1318 unsigned char *arg4
= (unsigned char *) 0 ;
1320 PyObject
* obj0
= 0 ;
1321 PyObject
* obj1
= 0 ;
1322 PyObject
* obj2
= 0 ;
1323 PyObject
* obj3
= 0 ;
1325 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1330 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
1331 if (PyErr_Occurred()) SWIG_fail
;
1333 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1334 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1335 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1338 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1340 wxPyEndAllowThreads(__tstate
);
1341 if (PyErr_Occurred()) SWIG_fail
;
1343 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPalette
, 1);
1350 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1351 PyObject
*resultobj
;
1352 wxPalette
*arg1
= (wxPalette
*) 0 ;
1353 PyObject
* obj0
= 0 ;
1355 (char *) "self", NULL
1358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1364 wxPyEndAllowThreads(__tstate
);
1365 if (PyErr_Occurred()) SWIG_fail
;
1367 Py_INCREF(Py_None
); resultobj
= Py_None
;
1374 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
*resultobj
;
1376 wxPalette
*arg1
= (wxPalette
*) 0 ;
1381 PyObject
* obj0
= 0 ;
1382 PyObject
* obj1
= 0 ;
1383 PyObject
* obj2
= 0 ;
1384 PyObject
* obj3
= 0 ;
1386 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1392 arg2
= (byte
) SWIG_PyObj_AsUnsignedChar(obj1
);
1393 if (PyErr_Occurred()) SWIG_fail
;
1396 arg3
= (byte
) SWIG_PyObj_AsUnsignedChar(obj2
);
1397 if (PyErr_Occurred()) SWIG_fail
;
1400 arg4
= (byte
) SWIG_PyObj_AsUnsignedChar(obj3
);
1401 if (PyErr_Occurred()) SWIG_fail
;
1404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1405 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1407 wxPyEndAllowThreads(__tstate
);
1408 if (PyErr_Occurred()) SWIG_fail
;
1410 resultobj
= SWIG_PyObj_FromInt((int)result
);
1417 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1418 PyObject
*resultobj
;
1419 wxPalette
*arg1
= (wxPalette
*) 0 ;
1421 byte
*arg3
= (byte
*) 0 ;
1422 byte
*arg4
= (byte
*) 0 ;
1423 byte
*arg5
= (byte
*) 0 ;
1428 PyObject
* obj0
= 0 ;
1429 PyObject
* obj1
= 0 ;
1431 (char *) "self",(char *) "pixel", NULL
1437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1440 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1441 if (PyErr_Occurred()) SWIG_fail
;
1444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1445 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1447 wxPyEndAllowThreads(__tstate
);
1448 if (PyErr_Occurred()) SWIG_fail
;
1450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1452 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1453 resultobj
= t_output_helper(resultobj
,o
);
1456 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1457 resultobj
= t_output_helper(resultobj
,o
);
1460 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1461 resultobj
= t_output_helper(resultobj
,o
);
1469 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1470 PyObject
*resultobj
;
1471 wxPalette
*arg1
= (wxPalette
*) 0 ;
1473 PyObject
* obj0
= 0 ;
1475 (char *) "self", NULL
1478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1482 result
= (bool)(arg1
)->Ok();
1484 wxPyEndAllowThreads(__tstate
);
1485 if (PyErr_Occurred()) SWIG_fail
;
1487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1494 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1497 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1499 return Py_BuildValue((char *)"");
1501 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1502 PyObject
*resultobj
;
1503 wxColour
*arg1
= 0 ;
1504 int arg2
= (int) 1 ;
1505 int arg3
= (int) wxSOLID
;
1508 PyObject
* obj0
= 0 ;
1509 PyObject
* obj1
= 0 ;
1510 PyObject
* obj2
= 0 ;
1512 (char *) "colour",(char *) "width",(char *) "style", NULL
1515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1518 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1522 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1523 if (PyErr_Occurred()) SWIG_fail
;
1528 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1529 if (PyErr_Occurred()) SWIG_fail
;
1533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1534 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1536 wxPyEndAllowThreads(__tstate
);
1537 if (PyErr_Occurred()) SWIG_fail
;
1539 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 1);
1546 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
*resultobj
;
1548 wxPen
*arg1
= (wxPen
*) 0 ;
1549 PyObject
* obj0
= 0 ;
1551 (char *) "self", NULL
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1560 wxPyEndAllowThreads(__tstate
);
1561 if (PyErr_Occurred()) SWIG_fail
;
1563 Py_INCREF(Py_None
); resultobj
= Py_None
;
1570 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1571 PyObject
*resultobj
;
1572 wxPen
*arg1
= (wxPen
*) 0 ;
1574 PyObject
* obj0
= 0 ;
1576 (char *) "self", NULL
1579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1583 result
= (int)(arg1
)->GetCap();
1585 wxPyEndAllowThreads(__tstate
);
1586 if (PyErr_Occurred()) SWIG_fail
;
1588 resultobj
= SWIG_PyObj_FromInt((int)result
);
1595 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1596 PyObject
*resultobj
;
1597 wxPen
*arg1
= (wxPen
*) 0 ;
1599 PyObject
* obj0
= 0 ;
1601 (char *) "self", NULL
1604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1608 result
= (arg1
)->GetColour();
1610 wxPyEndAllowThreads(__tstate
);
1611 if (PyErr_Occurred()) SWIG_fail
;
1614 wxColour
* resultptr
;
1615 resultptr
= new wxColour((wxColour
&) result
);
1616 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1624 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1625 PyObject
*resultobj
;
1626 wxPen
*arg1
= (wxPen
*) 0 ;
1628 PyObject
* obj0
= 0 ;
1630 (char *) "self", NULL
1633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1637 result
= (int)(arg1
)->GetJoin();
1639 wxPyEndAllowThreads(__tstate
);
1640 if (PyErr_Occurred()) SWIG_fail
;
1642 resultobj
= SWIG_PyObj_FromInt((int)result
);
1649 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1650 PyObject
*resultobj
;
1651 wxPen
*arg1
= (wxPen
*) 0 ;
1653 PyObject
* obj0
= 0 ;
1655 (char *) "self", NULL
1658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1662 result
= (int)(arg1
)->GetStyle();
1664 wxPyEndAllowThreads(__tstate
);
1665 if (PyErr_Occurred()) SWIG_fail
;
1667 resultobj
= SWIG_PyObj_FromInt((int)result
);
1674 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1675 PyObject
*resultobj
;
1676 wxPen
*arg1
= (wxPen
*) 0 ;
1678 PyObject
* obj0
= 0 ;
1680 (char *) "self", NULL
1683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1687 result
= (int)(arg1
)->GetWidth();
1689 wxPyEndAllowThreads(__tstate
);
1690 if (PyErr_Occurred()) SWIG_fail
;
1692 resultobj
= SWIG_PyObj_FromInt((int)result
);
1699 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1700 PyObject
*resultobj
;
1701 wxPen
*arg1
= (wxPen
*) 0 ;
1703 PyObject
* obj0
= 0 ;
1705 (char *) "self", NULL
1708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1712 result
= (bool)(arg1
)->Ok();
1714 wxPyEndAllowThreads(__tstate
);
1715 if (PyErr_Occurred()) SWIG_fail
;
1717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1724 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1725 PyObject
*resultobj
;
1726 wxPen
*arg1
= (wxPen
*) 0 ;
1728 PyObject
* obj0
= 0 ;
1729 PyObject
* obj1
= 0 ;
1731 (char *) "self",(char *) "cap_style", NULL
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1737 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1738 if (PyErr_Occurred()) SWIG_fail
;
1741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1742 (arg1
)->SetCap(arg2
);
1744 wxPyEndAllowThreads(__tstate
);
1745 if (PyErr_Occurred()) SWIG_fail
;
1747 Py_INCREF(Py_None
); resultobj
= Py_None
;
1754 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1755 PyObject
*resultobj
;
1756 wxPen
*arg1
= (wxPen
*) 0 ;
1757 wxColour
*arg2
= 0 ;
1759 PyObject
* obj0
= 0 ;
1760 PyObject
* obj1
= 0 ;
1762 (char *) "self",(char *) "colour", NULL
1765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1769 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1773 (arg1
)->SetColour(*arg2
);
1775 wxPyEndAllowThreads(__tstate
);
1776 if (PyErr_Occurred()) SWIG_fail
;
1778 Py_INCREF(Py_None
); resultobj
= Py_None
;
1785 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1786 PyObject
*resultobj
;
1787 wxPen
*arg1
= (wxPen
*) 0 ;
1789 PyObject
* obj0
= 0 ;
1790 PyObject
* obj1
= 0 ;
1792 (char *) "self",(char *) "join_style", NULL
1795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
1796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1798 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1799 if (PyErr_Occurred()) SWIG_fail
;
1802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1803 (arg1
)->SetJoin(arg2
);
1805 wxPyEndAllowThreads(__tstate
);
1806 if (PyErr_Occurred()) SWIG_fail
;
1808 Py_INCREF(Py_None
); resultobj
= Py_None
;
1815 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1816 PyObject
*resultobj
;
1817 wxPen
*arg1
= (wxPen
*) 0 ;
1819 PyObject
* obj0
= 0 ;
1820 PyObject
* obj1
= 0 ;
1822 (char *) "self",(char *) "style", NULL
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
1826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1828 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1829 if (PyErr_Occurred()) SWIG_fail
;
1832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1833 (arg1
)->SetStyle(arg2
);
1835 wxPyEndAllowThreads(__tstate
);
1836 if (PyErr_Occurred()) SWIG_fail
;
1838 Py_INCREF(Py_None
); resultobj
= Py_None
;
1845 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1846 PyObject
*resultobj
;
1847 wxPen
*arg1
= (wxPen
*) 0 ;
1849 PyObject
* obj0
= 0 ;
1850 PyObject
* obj1
= 0 ;
1852 (char *) "self",(char *) "width", NULL
1855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
1856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1858 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1859 if (PyErr_Occurred()) SWIG_fail
;
1862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1863 (arg1
)->SetWidth(arg2
);
1865 wxPyEndAllowThreads(__tstate
);
1866 if (PyErr_Occurred()) SWIG_fail
;
1868 Py_INCREF(Py_None
); resultobj
= Py_None
;
1875 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
*resultobj
;
1877 wxPen
*arg1
= (wxPen
*) 0 ;
1879 wxDash
*arg3
= (wxDash
*) 0 ;
1880 PyObject
* obj0
= 0 ;
1881 PyObject
* obj1
= 0 ;
1883 (char *) "self",(char *) "dashes", NULL
1886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
1887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1889 arg2
= PyList_Size(obj1
);
1890 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
1891 if (arg3
== NULL
) SWIG_fail
;
1894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1895 (arg1
)->SetDashes(arg2
,arg3
);
1897 wxPyEndAllowThreads(__tstate
);
1898 if (PyErr_Occurred()) SWIG_fail
;
1900 Py_INCREF(Py_None
); resultobj
= Py_None
;
1902 if (arg3
) delete [] arg3
;
1907 if (arg3
) delete [] arg3
;
1913 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
*resultobj
;
1915 wxPen
*arg1
= (wxPen
*) 0 ;
1917 PyObject
* obj0
= 0 ;
1919 (char *) "self", NULL
1922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
1923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1926 result
= (PyObject
*)wxPen_GetDashes(arg1
);
1928 wxPyEndAllowThreads(__tstate
);
1929 if (PyErr_Occurred()) SWIG_fail
;
1938 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1939 PyObject
*resultobj
;
1940 wxPen
*arg1
= (wxPen
*) 0 ;
1943 PyObject
* obj0
= 0 ;
1944 PyObject
* obj1
= 0 ;
1946 (char *) "self",(char *) "pen", NULL
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1951 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1953 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1957 result
= (bool)(arg1
)->operator ==((wxPen
const &)*arg2
);
1959 wxPyEndAllowThreads(__tstate
);
1960 if (PyErr_Occurred()) SWIG_fail
;
1962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1969 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
1971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1972 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
1974 return Py_BuildValue((char *)"");
1976 static PyObject
*_wrap_new_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1977 PyObject
*resultobj
;
1978 wxColour
*arg1
= 0 ;
1979 int arg2
= (int) 1 ;
1980 int arg3
= (int) wxSOLID
;
1983 PyObject
* obj0
= 0 ;
1984 PyObject
* obj1
= 0 ;
1985 PyObject
* obj2
= 0 ;
1987 (char *) "colour",(char *) "width",(char *) "style", NULL
1990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_PyPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1993 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1997 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1998 if (PyErr_Occurred()) SWIG_fail
;
2003 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2004 if (PyErr_Occurred()) SWIG_fail
;
2008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2009 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
2011 wxPyEndAllowThreads(__tstate
);
2012 if (PyErr_Occurred()) SWIG_fail
;
2014 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPen
, 1);
2021 static PyObject
*_wrap_delete_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
*resultobj
;
2023 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2024 PyObject
* obj0
= 0 ;
2026 (char *) "self", NULL
2029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
2030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2035 wxPyEndAllowThreads(__tstate
);
2036 if (PyErr_Occurred()) SWIG_fail
;
2038 Py_INCREF(Py_None
); resultobj
= Py_None
;
2045 static PyObject
*_wrap_PyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2046 PyObject
*resultobj
;
2047 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2049 wxDash
*arg3
= (wxDash
*) 0 ;
2050 PyObject
* obj0
= 0 ;
2051 PyObject
* obj1
= 0 ;
2053 (char *) "self",(char *) "dashes", NULL
2056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2059 arg2
= PyList_Size(obj1
);
2060 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2061 if (arg3
== NULL
) SWIG_fail
;
2064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2065 (arg1
)->SetDashes(arg2
,arg3
);
2067 wxPyEndAllowThreads(__tstate
);
2068 if (PyErr_Occurred()) SWIG_fail
;
2070 Py_INCREF(Py_None
); resultobj
= Py_None
;
2072 if (arg3
) delete [] arg3
;
2077 if (arg3
) delete [] arg3
;
2083 static PyObject
* PyPen_swigregister(PyObject
*self
, PyObject
*args
) {
2085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2086 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
2088 return Py_BuildValue((char *)"");
2090 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2091 PyObject
*resultobj
;
2092 wxColour
*arg1
= 0 ;
2093 int arg2
= (int) wxSOLID
;
2096 PyObject
* obj0
= 0 ;
2097 PyObject
* obj1
= 0 ;
2099 (char *) "colour",(char *) "style", NULL
2102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2105 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2109 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2110 if (PyErr_Occurred()) SWIG_fail
;
2114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2115 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2117 wxPyEndAllowThreads(__tstate
);
2118 if (PyErr_Occurred()) SWIG_fail
;
2120 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 1);
2127 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2128 PyObject
*resultobj
;
2129 wxBrush
*arg1
= (wxBrush
*) 0 ;
2130 PyObject
* obj0
= 0 ;
2132 (char *) "self", NULL
2135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2141 wxPyEndAllowThreads(__tstate
);
2142 if (PyErr_Occurred()) SWIG_fail
;
2144 Py_INCREF(Py_None
); resultobj
= Py_None
;
2151 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2152 PyObject
*resultobj
;
2153 wxBrush
*arg1
= (wxBrush
*) 0 ;
2154 wxColour
*arg2
= 0 ;
2156 PyObject
* obj0
= 0 ;
2157 PyObject
* obj1
= 0 ;
2159 (char *) "self",(char *) "col", NULL
2162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2166 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2170 (arg1
)->SetColour((wxColour
const &)*arg2
);
2172 wxPyEndAllowThreads(__tstate
);
2173 if (PyErr_Occurred()) SWIG_fail
;
2175 Py_INCREF(Py_None
); resultobj
= Py_None
;
2182 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2183 PyObject
*resultobj
;
2184 wxBrush
*arg1
= (wxBrush
*) 0 ;
2186 PyObject
* obj0
= 0 ;
2187 PyObject
* obj1
= 0 ;
2189 (char *) "self",(char *) "style", NULL
2192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2195 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2196 if (PyErr_Occurred()) SWIG_fail
;
2199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2200 (arg1
)->SetStyle(arg2
);
2202 wxPyEndAllowThreads(__tstate
);
2203 if (PyErr_Occurred()) SWIG_fail
;
2205 Py_INCREF(Py_None
); resultobj
= Py_None
;
2212 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2213 PyObject
*resultobj
;
2214 wxBrush
*arg1
= (wxBrush
*) 0 ;
2215 wxBitmap
*arg2
= 0 ;
2216 PyObject
* obj0
= 0 ;
2217 PyObject
* obj1
= 0 ;
2219 (char *) "self",(char *) "stipple", NULL
2222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2224 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2226 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2230 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2232 wxPyEndAllowThreads(__tstate
);
2233 if (PyErr_Occurred()) SWIG_fail
;
2235 Py_INCREF(Py_None
); resultobj
= Py_None
;
2242 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
*resultobj
;
2244 wxBrush
*arg1
= (wxBrush
*) 0 ;
2246 PyObject
* obj0
= 0 ;
2248 (char *) "self", NULL
2251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2255 result
= ((wxBrush
const *)arg1
)->GetColour();
2257 wxPyEndAllowThreads(__tstate
);
2258 if (PyErr_Occurred()) SWIG_fail
;
2261 wxColour
* resultptr
;
2262 resultptr
= new wxColour((wxColour
&) result
);
2263 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
2271 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
*resultobj
;
2273 wxBrush
*arg1
= (wxBrush
*) 0 ;
2275 PyObject
* obj0
= 0 ;
2277 (char *) "self", NULL
2280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2284 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2286 wxPyEndAllowThreads(__tstate
);
2287 if (PyErr_Occurred()) SWIG_fail
;
2289 resultobj
= SWIG_PyObj_FromInt((int)result
);
2296 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2297 PyObject
*resultobj
;
2298 wxBrush
*arg1
= (wxBrush
*) 0 ;
2300 PyObject
* obj0
= 0 ;
2302 (char *) "self", NULL
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2309 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2311 wxPyEndAllowThreads(__tstate
);
2312 if (PyErr_Occurred()) SWIG_fail
;
2314 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
2321 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
*resultobj
;
2323 wxBrush
*arg1
= (wxBrush
*) 0 ;
2325 PyObject
* obj0
= 0 ;
2327 (char *) "self", NULL
2330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2334 result
= (bool)(arg1
)->Ok();
2336 wxPyEndAllowThreads(__tstate
);
2337 if (PyErr_Occurred()) SWIG_fail
;
2339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2346 static PyObject
*_wrap_Brush_GetMacTheme(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2347 PyObject
*resultobj
;
2348 wxBrush
*arg1
= (wxBrush
*) 0 ;
2350 PyObject
* obj0
= 0 ;
2352 (char *) "self", NULL
2355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetMacTheme",kwnames
,&obj0
)) goto fail
;
2356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2359 result
= (short)(arg1
)->GetMacTheme();
2361 wxPyEndAllowThreads(__tstate
);
2362 if (PyErr_Occurred()) SWIG_fail
;
2364 resultobj
= SWIG_PyObj_FromShort((short)result
);
2371 static PyObject
*_wrap_Brush_SetMacTheme(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2372 PyObject
*resultobj
;
2373 wxBrush
*arg1
= (wxBrush
*) 0 ;
2375 PyObject
* obj0
= 0 ;
2376 PyObject
* obj1
= 0 ;
2378 (char *) "self",(char *) "macThemeBrush", NULL
2381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetMacTheme",kwnames
,&obj0
,&obj1
)) goto fail
;
2382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2384 arg2
= (short) SWIG_PyObj_AsShort(obj1
);
2385 if (PyErr_Occurred()) SWIG_fail
;
2388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2389 (arg1
)->SetMacTheme(arg2
);
2391 wxPyEndAllowThreads(__tstate
);
2392 if (PyErr_Occurred()) SWIG_fail
;
2394 Py_INCREF(Py_None
); resultobj
= Py_None
;
2401 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2404 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2406 return Py_BuildValue((char *)"");
2408 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2409 PyObject
*resultobj
;
2410 wxString
*arg1
= 0 ;
2411 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2413 bool temp1
= False
;
2414 PyObject
* obj0
= 0 ;
2415 PyObject
* obj1
= 0 ;
2417 (char *) "name",(char *) "type", NULL
2420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2422 arg1
= wxString_in_helper(obj0
);
2423 if (arg1
== NULL
) SWIG_fail
;
2428 arg2
= (wxBitmapType
) SWIG_PyObj_AsInt(obj1
);
2429 if (PyErr_Occurred()) SWIG_fail
;
2433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2434 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2436 wxPyEndAllowThreads(__tstate
);
2437 if (PyErr_Occurred()) SWIG_fail
;
2439 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2454 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2455 PyObject
*resultobj
;
2456 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2457 PyObject
* obj0
= 0 ;
2459 (char *) "self", NULL
2462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2468 wxPyEndAllowThreads(__tstate
);
2469 if (PyErr_Occurred()) SWIG_fail
;
2471 Py_INCREF(Py_None
); resultobj
= Py_None
;
2478 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2479 PyObject
*resultobj
;
2482 int arg3
= (int) -1 ;
2484 PyObject
* obj0
= 0 ;
2485 PyObject
* obj1
= 0 ;
2486 PyObject
* obj2
= 0 ;
2488 (char *) "width",(char *) "height",(char *) "depth", NULL
2491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2493 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
2494 if (PyErr_Occurred()) SWIG_fail
;
2497 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2498 if (PyErr_Occurred()) SWIG_fail
;
2502 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2503 if (PyErr_Occurred()) SWIG_fail
;
2507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2508 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2510 wxPyEndAllowThreads(__tstate
);
2511 if (PyErr_Occurred()) SWIG_fail
;
2513 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2520 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2521 PyObject
*resultobj
;
2524 PyObject
* obj0
= 0 ;
2526 (char *) "icon", NULL
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2532 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2536 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2538 wxPyEndAllowThreads(__tstate
);
2539 if (PyErr_Occurred()) SWIG_fail
;
2541 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2548 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
*resultobj
;
2551 int arg2
= (int) -1 ;
2553 PyObject
* obj0
= 0 ;
2554 PyObject
* obj1
= 0 ;
2556 (char *) "image",(char *) "depth", NULL
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2562 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2566 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2567 if (PyErr_Occurred()) SWIG_fail
;
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2577 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2584 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
*resultobj
;
2586 PyObject
*arg1
= (PyObject
*) 0 ;
2588 PyObject
* obj0
= 0 ;
2590 (char *) "listOfStrings", NULL
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2597 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2599 wxPyEndAllowThreads(__tstate
);
2600 if (PyErr_Occurred()) SWIG_fail
;
2602 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2609 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2610 PyObject
*resultobj
;
2611 PyObject
*arg1
= (PyObject
*) 0 ;
2614 int arg4
= (int) 1 ;
2616 PyObject
* obj0
= 0 ;
2617 PyObject
* obj1
= 0 ;
2618 PyObject
* obj2
= 0 ;
2619 PyObject
* obj3
= 0 ;
2621 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2627 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2628 if (PyErr_Occurred()) SWIG_fail
;
2631 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2632 if (PyErr_Occurred()) SWIG_fail
;
2636 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2637 if (PyErr_Occurred()) SWIG_fail
;
2641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2642 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2644 wxPyEndAllowThreads(__tstate
);
2645 if (PyErr_Occurred()) SWIG_fail
;
2647 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2654 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2655 PyObject
*resultobj
;
2656 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2658 PyObject
* obj0
= 0 ;
2660 (char *) "self", NULL
2663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2667 result
= (bool)(arg1
)->Ok();
2669 wxPyEndAllowThreads(__tstate
);
2670 if (PyErr_Occurred()) SWIG_fail
;
2672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2679 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2680 PyObject
*resultobj
;
2681 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2683 PyObject
* obj0
= 0 ;
2685 (char *) "self", NULL
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2692 result
= (int)(arg1
)->GetWidth();
2694 wxPyEndAllowThreads(__tstate
);
2695 if (PyErr_Occurred()) SWIG_fail
;
2697 resultobj
= SWIG_PyObj_FromInt((int)result
);
2704 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2705 PyObject
*resultobj
;
2706 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2708 PyObject
* obj0
= 0 ;
2710 (char *) "self", NULL
2713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2717 result
= (int)(arg1
)->GetHeight();
2719 wxPyEndAllowThreads(__tstate
);
2720 if (PyErr_Occurred()) SWIG_fail
;
2722 resultobj
= SWIG_PyObj_FromInt((int)result
);
2729 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
*resultobj
;
2731 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2733 PyObject
* obj0
= 0 ;
2735 (char *) "self", NULL
2738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2742 result
= (int)(arg1
)->GetDepth();
2744 wxPyEndAllowThreads(__tstate
);
2745 if (PyErr_Occurred()) SWIG_fail
;
2747 resultobj
= SWIG_PyObj_FromInt((int)result
);
2754 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2755 PyObject
*resultobj
;
2756 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2757 SwigValueWrapper
< wxImage
> result
;
2758 PyObject
* obj0
= 0 ;
2760 (char *) "self", NULL
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
2764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2767 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
2769 wxPyEndAllowThreads(__tstate
);
2770 if (PyErr_Occurred()) SWIG_fail
;
2773 wxImage
* resultptr
;
2774 resultptr
= new wxImage((wxImage
&) result
);
2775 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
2783 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2784 PyObject
*resultobj
;
2785 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2787 PyObject
* obj0
= 0 ;
2789 (char *) "self", NULL
2792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
2793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2796 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
2798 wxPyEndAllowThreads(__tstate
);
2799 if (PyErr_Occurred()) SWIG_fail
;
2801 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 0);
2808 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
*resultobj
;
2810 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2811 wxMask
*arg2
= (wxMask
*) 0 ;
2812 PyObject
* obj0
= 0 ;
2813 PyObject
* obj1
= 0 ;
2815 (char *) "self",(char *) "mask", NULL
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
2819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2820 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2823 (arg1
)->SetMask(arg2
);
2825 wxPyEndAllowThreads(__tstate
);
2826 if (PyErr_Occurred()) SWIG_fail
;
2828 Py_INCREF(Py_None
); resultobj
= Py_None
;
2835 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2836 PyObject
*resultobj
;
2837 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2838 wxColour
*arg2
= 0 ;
2840 PyObject
* obj0
= 0 ;
2841 PyObject
* obj1
= 0 ;
2843 (char *) "self",(char *) "colour", NULL
2846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2850 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2854 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
2856 wxPyEndAllowThreads(__tstate
);
2857 if (PyErr_Occurred()) SWIG_fail
;
2859 Py_INCREF(Py_None
); resultobj
= Py_None
;
2866 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2867 PyObject
*resultobj
;
2868 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2870 SwigValueWrapper
< wxBitmap
> result
;
2872 PyObject
* obj0
= 0 ;
2873 PyObject
* obj1
= 0 ;
2875 (char *) "self",(char *) "rect", NULL
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2882 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2886 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
2888 wxPyEndAllowThreads(__tstate
);
2889 if (PyErr_Occurred()) SWIG_fail
;
2892 wxBitmap
* resultptr
;
2893 resultptr
= new wxBitmap((wxBitmap
&) result
);
2894 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
2902 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2903 PyObject
*resultobj
;
2904 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2905 wxString
*arg2
= 0 ;
2907 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
2909 bool temp2
= False
;
2910 PyObject
* obj0
= 0 ;
2911 PyObject
* obj1
= 0 ;
2912 PyObject
* obj2
= 0 ;
2913 PyObject
* obj3
= 0 ;
2915 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2921 arg2
= wxString_in_helper(obj1
);
2922 if (arg2
== NULL
) SWIG_fail
;
2926 arg3
= (wxBitmapType
) SWIG_PyObj_AsInt(obj2
);
2927 if (PyErr_Occurred()) SWIG_fail
;
2930 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2934 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
2936 wxPyEndAllowThreads(__tstate
);
2937 if (PyErr_Occurred()) SWIG_fail
;
2939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2954 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2955 PyObject
*resultobj
;
2956 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2957 wxString
*arg2
= 0 ;
2960 bool temp2
= False
;
2961 PyObject
* obj0
= 0 ;
2962 PyObject
* obj1
= 0 ;
2963 PyObject
* obj2
= 0 ;
2965 (char *) "self",(char *) "name",(char *) "type", NULL
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2971 arg2
= wxString_in_helper(obj1
);
2972 if (arg2
== NULL
) SWIG_fail
;
2976 arg3
= (wxBitmapType
) SWIG_PyObj_AsInt(obj2
);
2977 if (PyErr_Occurred()) SWIG_fail
;
2980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2981 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
2983 wxPyEndAllowThreads(__tstate
);
2984 if (PyErr_Occurred()) SWIG_fail
;
2986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3001 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3002 PyObject
*resultobj
;
3003 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3006 PyObject
* obj0
= 0 ;
3007 PyObject
* obj1
= 0 ;
3009 (char *) "self",(char *) "icon", NULL
3012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3014 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3016 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3020 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3022 wxPyEndAllowThreads(__tstate
);
3023 if (PyErr_Occurred()) SWIG_fail
;
3025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3032 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3033 PyObject
*resultobj
;
3034 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3036 PyObject
* obj0
= 0 ;
3037 PyObject
* obj1
= 0 ;
3039 (char *) "self",(char *) "height", NULL
3042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3045 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3046 if (PyErr_Occurred()) SWIG_fail
;
3049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3050 (arg1
)->SetHeight(arg2
);
3052 wxPyEndAllowThreads(__tstate
);
3053 if (PyErr_Occurred()) SWIG_fail
;
3055 Py_INCREF(Py_None
); resultobj
= Py_None
;
3062 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
*resultobj
;
3064 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3066 PyObject
* obj0
= 0 ;
3067 PyObject
* obj1
= 0 ;
3069 (char *) "self",(char *) "width", NULL
3072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3075 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3076 if (PyErr_Occurred()) SWIG_fail
;
3079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3080 (arg1
)->SetWidth(arg2
);
3082 wxPyEndAllowThreads(__tstate
);
3083 if (PyErr_Occurred()) SWIG_fail
;
3085 Py_INCREF(Py_None
); resultobj
= Py_None
;
3092 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3093 PyObject
*resultobj
;
3094 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3096 PyObject
* obj0
= 0 ;
3097 PyObject
* obj1
= 0 ;
3099 (char *) "self",(char *) "depth", NULL
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3105 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3106 if (PyErr_Occurred()) SWIG_fail
;
3109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3110 (arg1
)->SetDepth(arg2
);
3112 wxPyEndAllowThreads(__tstate
);
3113 if (PyErr_Occurred()) SWIG_fail
;
3115 Py_INCREF(Py_None
); resultobj
= Py_None
;
3122 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3125 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3127 return Py_BuildValue((char *)"");
3129 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3130 PyObject
*resultobj
;
3131 wxBitmap
*arg1
= 0 ;
3132 wxColour
const &arg2_defvalue
= wxNullColour
;
3133 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3136 PyObject
* obj0
= 0 ;
3137 PyObject
* obj1
= 0 ;
3139 (char *) "bitmap",(char *) "colour", NULL
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3145 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3150 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3155 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3157 wxPyEndAllowThreads(__tstate
);
3158 if (PyErr_Occurred()) SWIG_fail
;
3160 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 1);
3167 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3170 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3172 return Py_BuildValue((char *)"");
3174 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3175 PyObject
*resultobj
;
3176 wxString
*arg1
= 0 ;
3178 int arg3
= (int) -1 ;
3179 int arg4
= (int) -1 ;
3181 bool temp1
= False
;
3182 PyObject
* obj0
= 0 ;
3183 PyObject
* obj1
= 0 ;
3184 PyObject
* obj2
= 0 ;
3185 PyObject
* obj3
= 0 ;
3187 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3192 arg1
= wxString_in_helper(obj0
);
3193 if (arg1
== NULL
) SWIG_fail
;
3197 arg2
= (wxBitmapType
) SWIG_PyObj_AsInt(obj1
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3202 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3203 if (PyErr_Occurred()) SWIG_fail
;
3208 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
3209 if (PyErr_Occurred()) SWIG_fail
;
3213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3214 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3216 wxPyEndAllowThreads(__tstate
);
3217 if (PyErr_Occurred()) SWIG_fail
;
3219 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3234 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
*resultobj
;
3236 wxIcon
*arg1
= (wxIcon
*) 0 ;
3237 PyObject
* obj0
= 0 ;
3239 (char *) "self", NULL
3242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3248 wxPyEndAllowThreads(__tstate
);
3249 if (PyErr_Occurred()) SWIG_fail
;
3251 Py_INCREF(Py_None
); resultobj
= Py_None
;
3258 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
*resultobj
;
3265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3268 result
= (wxIcon
*)new wxIcon();
3270 wxPyEndAllowThreads(__tstate
);
3271 if (PyErr_Occurred()) SWIG_fail
;
3273 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3280 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
*resultobj
;
3282 wxIconLocation
*arg1
= 0 ;
3284 PyObject
* obj0
= 0 ;
3286 (char *) "loc", NULL
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3292 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3298 wxPyEndAllowThreads(__tstate
);
3299 if (PyErr_Occurred()) SWIG_fail
;
3301 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3308 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3309 PyObject
*resultobj
;
3310 wxBitmap
*arg1
= 0 ;
3312 PyObject
* obj0
= 0 ;
3314 (char *) "bmp", NULL
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3320 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3324 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3326 wxPyEndAllowThreads(__tstate
);
3327 if (PyErr_Occurred()) SWIG_fail
;
3329 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3336 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3337 PyObject
*resultobj
;
3338 PyObject
*arg1
= (PyObject
*) 0 ;
3340 PyObject
* obj0
= 0 ;
3342 (char *) "listOfStrings", NULL
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3349 result
= (wxIcon
*)new_wxIcon(arg1
);
3351 wxPyEndAllowThreads(__tstate
);
3352 if (PyErr_Occurred()) SWIG_fail
;
3354 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3361 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
*resultobj
;
3363 wxIcon
*arg1
= (wxIcon
*) 0 ;
3365 PyObject
* obj0
= 0 ;
3367 (char *) "self", NULL
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3374 result
= (bool)(arg1
)->Ok();
3376 wxPyEndAllowThreads(__tstate
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3386 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3387 PyObject
*resultobj
;
3388 wxIcon
*arg1
= (wxIcon
*) 0 ;
3390 PyObject
* obj0
= 0 ;
3392 (char *) "self", NULL
3395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3399 result
= (int)(arg1
)->GetWidth();
3401 wxPyEndAllowThreads(__tstate
);
3402 if (PyErr_Occurred()) SWIG_fail
;
3404 resultobj
= SWIG_PyObj_FromInt((int)result
);
3411 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3412 PyObject
*resultobj
;
3413 wxIcon
*arg1
= (wxIcon
*) 0 ;
3415 PyObject
* obj0
= 0 ;
3417 (char *) "self", NULL
3420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3424 result
= (int)(arg1
)->GetHeight();
3426 wxPyEndAllowThreads(__tstate
);
3427 if (PyErr_Occurred()) SWIG_fail
;
3429 resultobj
= SWIG_PyObj_FromInt((int)result
);
3436 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3437 PyObject
*resultobj
;
3438 wxIcon
*arg1
= (wxIcon
*) 0 ;
3440 PyObject
* obj0
= 0 ;
3442 (char *) "self", NULL
3445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3449 result
= (int)(arg1
)->GetDepth();
3451 wxPyEndAllowThreads(__tstate
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3454 resultobj
= SWIG_PyObj_FromInt((int)result
);
3461 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3462 PyObject
*resultobj
;
3463 wxIcon
*arg1
= (wxIcon
*) 0 ;
3465 PyObject
* obj0
= 0 ;
3466 PyObject
* obj1
= 0 ;
3468 (char *) "self",(char *) "w", NULL
3471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3474 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3479 (arg1
)->SetWidth(arg2
);
3481 wxPyEndAllowThreads(__tstate
);
3482 if (PyErr_Occurred()) SWIG_fail
;
3484 Py_INCREF(Py_None
); resultobj
= Py_None
;
3491 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3492 PyObject
*resultobj
;
3493 wxIcon
*arg1
= (wxIcon
*) 0 ;
3495 PyObject
* obj0
= 0 ;
3496 PyObject
* obj1
= 0 ;
3498 (char *) "self",(char *) "h", NULL
3501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3504 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3509 (arg1
)->SetHeight(arg2
);
3511 wxPyEndAllowThreads(__tstate
);
3512 if (PyErr_Occurred()) SWIG_fail
;
3514 Py_INCREF(Py_None
); resultobj
= Py_None
;
3521 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3522 PyObject
*resultobj
;
3523 wxIcon
*arg1
= (wxIcon
*) 0 ;
3525 PyObject
* obj0
= 0 ;
3526 PyObject
* obj1
= 0 ;
3528 (char *) "self",(char *) "d", NULL
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3534 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3535 if (PyErr_Occurred()) SWIG_fail
;
3538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3539 (arg1
)->SetDepth(arg2
);
3541 wxPyEndAllowThreads(__tstate
);
3542 if (PyErr_Occurred()) SWIG_fail
;
3544 Py_INCREF(Py_None
); resultobj
= Py_None
;
3551 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3552 PyObject
*resultobj
;
3553 wxIcon
*arg1
= (wxIcon
*) 0 ;
3554 wxBitmap
*arg2
= 0 ;
3555 PyObject
* obj0
= 0 ;
3556 PyObject
* obj1
= 0 ;
3558 (char *) "self",(char *) "bmp", NULL
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3563 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3565 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3569 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3571 wxPyEndAllowThreads(__tstate
);
3572 if (PyErr_Occurred()) SWIG_fail
;
3574 Py_INCREF(Py_None
); resultobj
= Py_None
;
3581 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
3583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3584 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3586 return Py_BuildValue((char *)"");
3588 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3589 PyObject
*resultobj
;
3590 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3591 int arg2
= (int) 0 ;
3592 wxIconLocation
*result
;
3593 bool temp1
= False
;
3594 PyObject
* obj0
= 0 ;
3595 PyObject
* obj1
= 0 ;
3597 (char *) "filename",(char *) "num", NULL
3600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
3603 arg1
= wxString_in_helper(obj0
);
3604 if (arg1
== NULL
) SWIG_fail
;
3610 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3616 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3618 wxPyEndAllowThreads(__tstate
);
3619 if (PyErr_Occurred()) SWIG_fail
;
3621 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconLocation
, 1);
3636 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3637 PyObject
*resultobj
;
3638 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3639 PyObject
* obj0
= 0 ;
3641 (char *) "self", NULL
3644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
3645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 wxPyEndAllowThreads(__tstate
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3653 Py_INCREF(Py_None
); resultobj
= Py_None
;
3660 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
*resultobj
;
3662 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3664 PyObject
* obj0
= 0 ;
3666 (char *) "self", NULL
3669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
3670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3673 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
3675 wxPyEndAllowThreads(__tstate
);
3676 if (PyErr_Occurred()) SWIG_fail
;
3678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3685 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3686 PyObject
*resultobj
;
3687 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3688 wxString
*arg2
= 0 ;
3689 bool temp2
= False
;
3690 PyObject
* obj0
= 0 ;
3691 PyObject
* obj1
= 0 ;
3693 (char *) "self",(char *) "filename", NULL
3696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
3697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3699 arg2
= wxString_in_helper(obj1
);
3700 if (arg2
== NULL
) SWIG_fail
;
3704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3705 (arg1
)->SetFileName((wxString
const &)*arg2
);
3707 wxPyEndAllowThreads(__tstate
);
3708 if (PyErr_Occurred()) SWIG_fail
;
3710 Py_INCREF(Py_None
); resultobj
= Py_None
;
3725 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3726 PyObject
*resultobj
;
3727 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3729 PyObject
* obj0
= 0 ;
3731 (char *) "self", NULL
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
3735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3739 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
3740 result
= (wxString
*) &_result_ref
;
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3748 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
3750 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
3759 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
*resultobj
;
3761 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3763 PyObject
* obj0
= 0 ;
3764 PyObject
* obj1
= 0 ;
3766 (char *) "self",(char *) "num", NULL
3769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
3770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3772 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3773 if (PyErr_Occurred()) SWIG_fail
;
3776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3777 wxIconLocation_SetIndex(arg1
,arg2
);
3779 wxPyEndAllowThreads(__tstate
);
3780 if (PyErr_Occurred()) SWIG_fail
;
3782 Py_INCREF(Py_None
); resultobj
= Py_None
;
3789 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3790 PyObject
*resultobj
;
3791 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3793 PyObject
* obj0
= 0 ;
3795 (char *) "self", NULL
3798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
3799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3802 result
= (int)wxIconLocation_GetIndex(arg1
);
3804 wxPyEndAllowThreads(__tstate
);
3805 if (PyErr_Occurred()) SWIG_fail
;
3807 resultobj
= SWIG_PyObj_FromInt((int)result
);
3814 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
3816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3817 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
3819 return Py_BuildValue((char *)"");
3821 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3822 PyObject
*resultobj
;
3823 wxIconBundle
*result
;
3828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
3830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3831 result
= (wxIconBundle
*)new wxIconBundle();
3833 wxPyEndAllowThreads(__tstate
);
3834 if (PyErr_Occurred()) SWIG_fail
;
3836 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3843 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3844 PyObject
*resultobj
;
3845 wxString
*arg1
= 0 ;
3847 wxIconBundle
*result
;
3848 bool temp1
= False
;
3849 PyObject
* obj0
= 0 ;
3850 PyObject
* obj1
= 0 ;
3852 (char *) "file",(char *) "type", NULL
3855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
3857 arg1
= wxString_in_helper(obj0
);
3858 if (arg1
== NULL
) SWIG_fail
;
3862 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
3869 wxPyEndAllowThreads(__tstate
);
3870 if (PyErr_Occurred()) SWIG_fail
;
3872 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3887 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
*resultobj
;
3890 wxIconBundle
*result
;
3891 PyObject
* obj0
= 0 ;
3893 (char *) "icon", NULL
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
3897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3899 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3903 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
3905 wxPyEndAllowThreads(__tstate
);
3906 if (PyErr_Occurred()) SWIG_fail
;
3908 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3915 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
*resultobj
;
3917 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3918 PyObject
* obj0
= 0 ;
3920 (char *) "self", NULL
3923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
3924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3932 Py_INCREF(Py_None
); resultobj
= Py_None
;
3939 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
*resultobj
;
3941 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3943 PyObject
* obj0
= 0 ;
3944 PyObject
* obj1
= 0 ;
3946 (char *) "self",(char *) "icon", NULL
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3951 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3953 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3957 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
3959 wxPyEndAllowThreads(__tstate
);
3960 if (PyErr_Occurred()) SWIG_fail
;
3962 Py_INCREF(Py_None
); resultobj
= Py_None
;
3969 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3970 PyObject
*resultobj
;
3971 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3972 wxString
*arg2
= 0 ;
3974 bool temp2
= False
;
3975 PyObject
* obj0
= 0 ;
3976 PyObject
* obj1
= 0 ;
3977 PyObject
* obj2
= 0 ;
3979 (char *) "self",(char *) "file",(char *) "type", NULL
3982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3985 arg2
= wxString_in_helper(obj1
);
3986 if (arg2
== NULL
) SWIG_fail
;
3990 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3991 if (PyErr_Occurred()) SWIG_fail
;
3994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3995 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
3997 wxPyEndAllowThreads(__tstate
);
3998 if (PyErr_Occurred()) SWIG_fail
;
4000 Py_INCREF(Py_None
); resultobj
= Py_None
;
4015 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4016 PyObject
*resultobj
;
4017 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4021 PyObject
* obj0
= 0 ;
4022 PyObject
* obj1
= 0 ;
4024 (char *) "self",(char *) "size", NULL
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4031 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4037 result
= (wxIcon
*) &_result_ref
;
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4043 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 0);
4050 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4052 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4053 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4055 return Py_BuildValue((char *)"");
4057 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4058 PyObject
*resultobj
;
4059 wxString
*arg1
= (wxString
*) 0 ;
4061 int arg3
= (int) 0 ;
4062 int arg4
= (int) 0 ;
4064 bool temp1
= False
;
4065 PyObject
* obj0
= 0 ;
4066 PyObject
* obj1
= 0 ;
4067 PyObject
* obj2
= 0 ;
4068 PyObject
* obj3
= 0 ;
4070 (char *) "cursorName",(char *) "flags",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4075 arg1
= wxString_in_helper(obj0
);
4076 if (arg1
== NULL
) SWIG_fail
;
4080 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
4081 if (PyErr_Occurred()) SWIG_fail
;
4085 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4086 if (PyErr_Occurred()) SWIG_fail
;
4091 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4097 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4099 wxPyEndAllowThreads(__tstate
);
4100 if (PyErr_Occurred()) SWIG_fail
;
4102 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4117 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4118 PyObject
*resultobj
;
4119 wxCursor
*arg1
= (wxCursor
*) 0 ;
4120 PyObject
* obj0
= 0 ;
4122 (char *) "self", NULL
4125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4134 Py_INCREF(Py_None
); resultobj
= Py_None
;
4141 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
*resultobj
;
4145 PyObject
* obj0
= 0 ;
4150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4152 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4157 result
= (wxCursor
*)new wxCursor(arg1
);
4159 wxPyEndAllowThreads(__tstate
);
4160 if (PyErr_Occurred()) SWIG_fail
;
4162 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4169 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
*resultobj
;
4173 PyObject
* obj0
= 0 ;
4175 (char *) "image", NULL
4178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4181 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4185 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4187 wxPyEndAllowThreads(__tstate
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4190 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4197 static PyObject
*_wrap_new_CursorFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4198 PyObject
*resultobj
;
4199 PyObject
*arg1
= (PyObject
*) 0 ;
4202 int arg4
= (int) -1 ;
4203 int arg5
= (int) -1 ;
4204 PyObject
*arg6
= (PyObject
*) 0 ;
4206 PyObject
* obj0
= 0 ;
4207 PyObject
* obj1
= 0 ;
4208 PyObject
* obj2
= 0 ;
4209 PyObject
* obj3
= 0 ;
4210 PyObject
* obj4
= 0 ;
4211 PyObject
* obj5
= 0 ;
4213 (char *) "bits",(char *) "width",(char *) "height",(char *) "hotSpotX",(char *) "hotSpotY",(char *) "maskBits", NULL
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_CursorFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4219 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4220 if (PyErr_Occurred()) SWIG_fail
;
4223 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4228 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4234 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4235 if (PyErr_Occurred()) SWIG_fail
;
4242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4243 result
= (wxCursor
*)new_wxCursor(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
4245 wxPyEndAllowThreads(__tstate
);
4246 if (PyErr_Occurred()) SWIG_fail
;
4248 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4255 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
*resultobj
;
4257 wxCursor
*arg1
= (wxCursor
*) 0 ;
4259 PyObject
* obj0
= 0 ;
4261 (char *) "self", NULL
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4268 result
= (bool)(arg1
)->Ok();
4270 wxPyEndAllowThreads(__tstate
);
4271 if (PyErr_Occurred()) SWIG_fail
;
4273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4280 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4283 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4285 return Py_BuildValue((char *)"");
4287 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
*resultobj
;
4289 int arg1
= (int) 0 ;
4290 int arg2
= (int) 0 ;
4291 int arg3
= (int) 0 ;
4292 int arg4
= (int) 0 ;
4294 PyObject
* obj0
= 0 ;
4295 PyObject
* obj1
= 0 ;
4296 PyObject
* obj2
= 0 ;
4297 PyObject
* obj3
= 0 ;
4299 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4305 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
4306 if (PyErr_Occurred()) SWIG_fail
;
4311 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4312 if (PyErr_Occurred()) SWIG_fail
;
4317 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4318 if (PyErr_Occurred()) SWIG_fail
;
4323 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4324 if (PyErr_Occurred()) SWIG_fail
;
4328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4329 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4334 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4341 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
*resultobj
;
4343 wxBitmap
*arg1
= 0 ;
4344 wxColour
const &arg2_defvalue
= wxNullColour
;
4345 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4346 int arg3
= (int) 0 ;
4349 PyObject
* obj0
= 0 ;
4350 PyObject
* obj1
= 0 ;
4351 PyObject
* obj2
= 0 ;
4353 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4359 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4364 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4369 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4370 if (PyErr_Occurred()) SWIG_fail
;
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4377 wxPyEndAllowThreads(__tstate
);
4378 if (PyErr_Occurred()) SWIG_fail
;
4380 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4387 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4388 PyObject
*resultobj
;
4390 wxPoint
*arg2
= (wxPoint
*) 0 ;
4391 int arg3
= (int) wxWINDING_RULE
;
4393 PyObject
* obj0
= 0 ;
4394 PyObject
* obj1
= 0 ;
4396 (char *) "points",(char *) "fillStyle", NULL
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4401 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4402 if (arg2
== NULL
) SWIG_fail
;
4406 arg3
= (int) SWIG_PyObj_AsInt(obj1
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4412 result
= (wxRegion
*)new_wxRegion(arg1
,arg2
,arg3
);
4414 wxPyEndAllowThreads(__tstate
);
4415 if (PyErr_Occurred()) SWIG_fail
;
4417 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4419 if (arg2
) delete [] arg2
;
4424 if (arg2
) delete [] arg2
;
4430 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
*resultobj
;
4432 wxRegion
*arg1
= (wxRegion
*) 0 ;
4433 PyObject
* obj0
= 0 ;
4435 (char *) "self", NULL
4438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4447 Py_INCREF(Py_None
); resultobj
= Py_None
;
4454 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
*resultobj
;
4456 wxRegion
*arg1
= (wxRegion
*) 0 ;
4457 PyObject
* obj0
= 0 ;
4459 (char *) "self", NULL
4462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4471 Py_INCREF(Py_None
); resultobj
= Py_None
;
4478 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
;
4480 wxRegion
*arg1
= (wxRegion
*) 0 ;
4484 PyObject
* obj0
= 0 ;
4485 PyObject
* obj1
= 0 ;
4486 PyObject
* obj2
= 0 ;
4488 (char *) "self",(char *) "x",(char *) "y", NULL
4491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4494 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4495 if (PyErr_Occurred()) SWIG_fail
;
4498 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4499 if (PyErr_Occurred()) SWIG_fail
;
4502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4503 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4505 wxPyEndAllowThreads(__tstate
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4508 resultobj
= SWIG_PyObj_FromInt((int)result
);
4515 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
*resultobj
;
4517 wxRegion
*arg1
= (wxRegion
*) 0 ;
4521 PyObject
* obj0
= 0 ;
4522 PyObject
* obj1
= 0 ;
4524 (char *) "self",(char *) "pt", NULL
4527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4531 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4535 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4537 wxPyEndAllowThreads(__tstate
);
4538 if (PyErr_Occurred()) SWIG_fail
;
4540 resultobj
= SWIG_PyObj_FromInt((int)result
);
4547 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4548 PyObject
*resultobj
;
4549 wxRegion
*arg1
= (wxRegion
*) 0 ;
4553 PyObject
* obj0
= 0 ;
4554 PyObject
* obj1
= 0 ;
4556 (char *) "self",(char *) "rect", NULL
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4563 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4572 resultobj
= SWIG_PyObj_FromInt((int)result
);
4579 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
*resultobj
;
4581 wxRegion
*arg1
= (wxRegion
*) 0 ;
4587 PyObject
* obj0
= 0 ;
4588 PyObject
* obj1
= 0 ;
4589 PyObject
* obj2
= 0 ;
4590 PyObject
* obj3
= 0 ;
4591 PyObject
* obj4
= 0 ;
4593 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4599 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4603 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4604 if (PyErr_Occurred()) SWIG_fail
;
4607 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4608 if (PyErr_Occurred()) SWIG_fail
;
4611 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4612 if (PyErr_Occurred()) SWIG_fail
;
4615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4616 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4618 wxPyEndAllowThreads(__tstate
);
4619 if (PyErr_Occurred()) SWIG_fail
;
4621 resultobj
= SWIG_PyObj_FromInt((int)result
);
4628 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4629 PyObject
*resultobj
;
4630 wxRegion
*arg1
= (wxRegion
*) 0 ;
4632 PyObject
* obj0
= 0 ;
4634 (char *) "self", NULL
4637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
4638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4641 result
= (arg1
)->GetBox();
4643 wxPyEndAllowThreads(__tstate
);
4644 if (PyErr_Occurred()) SWIG_fail
;
4648 resultptr
= new wxRect((wxRect
&) result
);
4649 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
4657 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
*resultobj
;
4659 wxRegion
*arg1
= (wxRegion
*) 0 ;
4665 PyObject
* obj0
= 0 ;
4666 PyObject
* obj1
= 0 ;
4667 PyObject
* obj2
= 0 ;
4668 PyObject
* obj3
= 0 ;
4669 PyObject
* obj4
= 0 ;
4671 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4677 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4678 if (PyErr_Occurred()) SWIG_fail
;
4681 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4682 if (PyErr_Occurred()) SWIG_fail
;
4685 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4686 if (PyErr_Occurred()) SWIG_fail
;
4689 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4694 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
4696 wxPyEndAllowThreads(__tstate
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4706 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4707 PyObject
*resultobj
;
4708 wxRegion
*arg1
= (wxRegion
*) 0 ;
4712 PyObject
* obj0
= 0 ;
4713 PyObject
* obj1
= 0 ;
4715 (char *) "self",(char *) "rect", NULL
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4722 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4726 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
4728 wxPyEndAllowThreads(__tstate
);
4729 if (PyErr_Occurred()) SWIG_fail
;
4731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4738 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
*resultobj
;
4740 wxRegion
*arg1
= (wxRegion
*) 0 ;
4741 wxRegion
*arg2
= 0 ;
4743 PyObject
* obj0
= 0 ;
4744 PyObject
* obj1
= 0 ;
4746 (char *) "self",(char *) "region", NULL
4749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4751 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4753 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4757 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4769 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4770 PyObject
*resultobj
;
4771 wxRegion
*arg1
= (wxRegion
*) 0 ;
4773 PyObject
* obj0
= 0 ;
4775 (char *) "self", NULL
4778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
4779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4782 result
= (bool)(arg1
)->IsEmpty();
4784 wxPyEndAllowThreads(__tstate
);
4785 if (PyErr_Occurred()) SWIG_fail
;
4787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4794 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4795 PyObject
*resultobj
;
4796 wxRegion
*arg1
= (wxRegion
*) 0 ;
4802 PyObject
* obj0
= 0 ;
4803 PyObject
* obj1
= 0 ;
4804 PyObject
* obj2
= 0 ;
4805 PyObject
* obj3
= 0 ;
4806 PyObject
* obj4
= 0 ;
4808 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4814 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4818 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4822 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4823 if (PyErr_Occurred()) SWIG_fail
;
4826 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4827 if (PyErr_Occurred()) SWIG_fail
;
4830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4831 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
4833 wxPyEndAllowThreads(__tstate
);
4834 if (PyErr_Occurred()) SWIG_fail
;
4836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4843 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4844 PyObject
*resultobj
;
4845 wxRegion
*arg1
= (wxRegion
*) 0 ;
4849 PyObject
* obj0
= 0 ;
4850 PyObject
* obj1
= 0 ;
4852 (char *) "self",(char *) "rect", NULL
4855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4859 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4863 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
4865 wxPyEndAllowThreads(__tstate
);
4866 if (PyErr_Occurred()) SWIG_fail
;
4868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4875 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4876 PyObject
*resultobj
;
4877 wxRegion
*arg1
= (wxRegion
*) 0 ;
4878 wxRegion
*arg2
= 0 ;
4880 PyObject
* obj0
= 0 ;
4881 PyObject
* obj1
= 0 ;
4883 (char *) "self",(char *) "region", NULL
4886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4888 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4890 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4894 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
4896 wxPyEndAllowThreads(__tstate
);
4897 if (PyErr_Occurred()) SWIG_fail
;
4899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4906 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4907 PyObject
*resultobj
;
4908 wxRegion
*arg1
= (wxRegion
*) 0 ;
4914 PyObject
* obj0
= 0 ;
4915 PyObject
* obj1
= 0 ;
4916 PyObject
* obj2
= 0 ;
4917 PyObject
* obj3
= 0 ;
4918 PyObject
* obj4
= 0 ;
4920 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4926 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4927 if (PyErr_Occurred()) SWIG_fail
;
4930 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4931 if (PyErr_Occurred()) SWIG_fail
;
4934 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4938 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4939 if (PyErr_Occurred()) SWIG_fail
;
4942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4943 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
4945 wxPyEndAllowThreads(__tstate
);
4946 if (PyErr_Occurred()) SWIG_fail
;
4948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4955 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4956 PyObject
*resultobj
;
4957 wxRegion
*arg1
= (wxRegion
*) 0 ;
4961 PyObject
* obj0
= 0 ;
4962 PyObject
* obj1
= 0 ;
4964 (char *) "self",(char *) "rect", NULL
4967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4971 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4975 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
4977 wxPyEndAllowThreads(__tstate
);
4978 if (PyErr_Occurred()) SWIG_fail
;
4980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4987 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4988 PyObject
*resultobj
;
4989 wxRegion
*arg1
= (wxRegion
*) 0 ;
4990 wxRegion
*arg2
= 0 ;
4992 PyObject
* obj0
= 0 ;
4993 PyObject
* obj1
= 0 ;
4995 (char *) "self",(char *) "region", NULL
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5000 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5002 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5018 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
*resultobj
;
5020 wxRegion
*arg1
= (wxRegion
*) 0 ;
5026 PyObject
* obj0
= 0 ;
5027 PyObject
* obj1
= 0 ;
5028 PyObject
* obj2
= 0 ;
5029 PyObject
* obj3
= 0 ;
5030 PyObject
* obj4
= 0 ;
5032 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5038 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5042 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5046 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5050 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
5051 if (PyErr_Occurred()) SWIG_fail
;
5054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5055 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5057 wxPyEndAllowThreads(__tstate
);
5058 if (PyErr_Occurred()) SWIG_fail
;
5060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5067 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5068 PyObject
*resultobj
;
5069 wxRegion
*arg1
= (wxRegion
*) 0 ;
5073 PyObject
* obj0
= 0 ;
5074 PyObject
* obj1
= 0 ;
5076 (char *) "self",(char *) "rect", NULL
5079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5083 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5087 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5089 wxPyEndAllowThreads(__tstate
);
5090 if (PyErr_Occurred()) SWIG_fail
;
5092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5099 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5100 PyObject
*resultobj
;
5101 wxRegion
*arg1
= (wxRegion
*) 0 ;
5102 wxRegion
*arg2
= 0 ;
5104 PyObject
* obj0
= 0 ;
5105 PyObject
* obj1
= 0 ;
5107 (char *) "self",(char *) "region", NULL
5110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5112 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5114 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5118 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5130 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
*resultobj
;
5132 wxRegion
*arg1
= (wxRegion
*) 0 ;
5133 SwigValueWrapper
< wxBitmap
> result
;
5134 PyObject
* obj0
= 0 ;
5136 (char *) "self", NULL
5139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5143 result
= (arg1
)->ConvertToBitmap();
5145 wxPyEndAllowThreads(__tstate
);
5146 if (PyErr_Occurred()) SWIG_fail
;
5149 wxBitmap
* resultptr
;
5150 resultptr
= new wxBitmap((wxBitmap
&) result
);
5151 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
5159 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5160 PyObject
*resultobj
;
5161 wxRegion
*arg1
= (wxRegion
*) 0 ;
5162 wxBitmap
*arg2
= 0 ;
5163 wxColour
const &arg3_defvalue
= wxNullColour
;
5164 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
5165 int arg4
= (int) 0 ;
5168 PyObject
* obj0
= 0 ;
5169 PyObject
* obj1
= 0 ;
5170 PyObject
* obj2
= 0 ;
5171 PyObject
* obj3
= 0 ;
5173 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5178 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5180 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5185 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5190 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5191 if (PyErr_Occurred()) SWIG_fail
;
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5198 wxPyEndAllowThreads(__tstate
);
5199 if (PyErr_Occurred()) SWIG_fail
;
5201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5208 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5211 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5213 return Py_BuildValue((char *)"");
5215 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5216 PyObject
*resultobj
;
5217 wxRegion
*arg1
= 0 ;
5218 wxRegionIterator
*result
;
5219 PyObject
* obj0
= 0 ;
5221 (char *) "region", NULL
5224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5227 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5231 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5236 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegionIterator
, 1);
5243 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
*resultobj
;
5245 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5246 PyObject
* obj0
= 0 ;
5248 (char *) "self", NULL
5251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5260 Py_INCREF(Py_None
); resultobj
= Py_None
;
5267 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
*resultobj
;
5269 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5271 PyObject
* obj0
= 0 ;
5273 (char *) "self", NULL
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5280 result
= (int)(arg1
)->GetX();
5282 wxPyEndAllowThreads(__tstate
);
5283 if (PyErr_Occurred()) SWIG_fail
;
5285 resultobj
= SWIG_PyObj_FromInt((int)result
);
5292 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5293 PyObject
*resultobj
;
5294 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5296 PyObject
* obj0
= 0 ;
5298 (char *) "self", NULL
5301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5305 result
= (int)(arg1
)->GetY();
5307 wxPyEndAllowThreads(__tstate
);
5308 if (PyErr_Occurred()) SWIG_fail
;
5310 resultobj
= SWIG_PyObj_FromInt((int)result
);
5317 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5318 PyObject
*resultobj
;
5319 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5321 PyObject
* obj0
= 0 ;
5323 (char *) "self", NULL
5326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 result
= (int)(arg1
)->GetW();
5332 wxPyEndAllowThreads(__tstate
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5335 resultobj
= SWIG_PyObj_FromInt((int)result
);
5342 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
*resultobj
;
5344 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5346 PyObject
* obj0
= 0 ;
5348 (char *) "self", NULL
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5355 result
= (int)(arg1
)->GetWidth();
5357 wxPyEndAllowThreads(__tstate
);
5358 if (PyErr_Occurred()) SWIG_fail
;
5360 resultobj
= SWIG_PyObj_FromInt((int)result
);
5367 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5368 PyObject
*resultobj
;
5369 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5371 PyObject
* obj0
= 0 ;
5373 (char *) "self", NULL
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5380 result
= (int)(arg1
)->GetH();
5382 wxPyEndAllowThreads(__tstate
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5385 resultobj
= SWIG_PyObj_FromInt((int)result
);
5392 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
*resultobj
;
5394 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5396 PyObject
* obj0
= 0 ;
5398 (char *) "self", NULL
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5405 result
= (int)(arg1
)->GetHeight();
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5410 resultobj
= SWIG_PyObj_FromInt((int)result
);
5417 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
*resultobj
;
5419 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5421 PyObject
* obj0
= 0 ;
5423 (char *) "self", NULL
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 result
= (arg1
)->GetRect();
5432 wxPyEndAllowThreads(__tstate
);
5433 if (PyErr_Occurred()) SWIG_fail
;
5437 resultptr
= new wxRect((wxRect
&) result
);
5438 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
5446 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5447 PyObject
*resultobj
;
5448 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5450 PyObject
* obj0
= 0 ;
5452 (char *) "self", NULL
5455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 result
= (bool)(arg1
)->HaveRects();
5461 wxPyEndAllowThreads(__tstate
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5471 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5472 PyObject
*resultobj
;
5473 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5474 PyObject
* obj0
= 0 ;
5476 (char *) "self", NULL
5479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 wxPyEndAllowThreads(__tstate
);
5486 if (PyErr_Occurred()) SWIG_fail
;
5488 Py_INCREF(Py_None
); resultobj
= Py_None
;
5495 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5496 PyObject
*resultobj
;
5497 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5498 PyObject
* obj0
= 0 ;
5500 (char *) "self", NULL
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 wxRegionIterator_Next(arg1
);
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5512 Py_INCREF(Py_None
); resultobj
= Py_None
;
5519 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
*resultobj
;
5521 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5523 PyObject
* obj0
= 0 ;
5525 (char *) "self", NULL
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5544 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
5546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5547 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
5549 return Py_BuildValue((char *)"");
5551 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5552 PyObject
*resultobj
;
5553 wxNativeFontInfo
*result
;
5558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
5563 wxPyEndAllowThreads(__tstate
);
5564 if (PyErr_Occurred()) SWIG_fail
;
5566 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 1);
5573 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
*resultobj
;
5575 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5576 PyObject
* obj0
= 0 ;
5578 (char *) "self", NULL
5581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
5582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 wxPyEndAllowThreads(__tstate
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5590 Py_INCREF(Py_None
); resultobj
= Py_None
;
5597 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
*resultobj
;
5599 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5600 PyObject
* obj0
= 0 ;
5602 (char *) "self", NULL
5605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
5606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 wxPyEndAllowThreads(__tstate
);
5612 if (PyErr_Occurred()) SWIG_fail
;
5614 Py_INCREF(Py_None
); resultobj
= Py_None
;
5621 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5622 PyObject
*resultobj
;
5623 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5625 PyObject
* obj0
= 0 ;
5626 PyObject
* obj1
= 0 ;
5628 (char *) "self",(char *) "font", NULL
5631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
5632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5633 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5635 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5639 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
5641 wxPyEndAllowThreads(__tstate
);
5642 if (PyErr_Occurred()) SWIG_fail
;
5644 Py_INCREF(Py_None
); resultobj
= Py_None
;
5651 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5652 PyObject
*resultobj
;
5653 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5655 PyObject
* obj0
= 0 ;
5657 (char *) "self", NULL
5660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
5661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5669 resultobj
= SWIG_PyObj_FromInt((int)result
);
5676 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5677 PyObject
*resultobj
;
5678 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5680 PyObject
* obj0
= 0 ;
5682 (char *) "self", NULL
5685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
5686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5689 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
5691 wxPyEndAllowThreads(__tstate
);
5692 if (PyErr_Occurred()) SWIG_fail
;
5694 resultobj
= SWIG_PyObj_FromInt((int)result
);
5701 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5702 PyObject
*resultobj
;
5703 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5705 PyObject
* obj0
= 0 ;
5707 (char *) "self", NULL
5710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
5711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5714 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
5716 wxPyEndAllowThreads(__tstate
);
5717 if (PyErr_Occurred()) SWIG_fail
;
5719 resultobj
= SWIG_PyObj_FromInt((int)result
);
5726 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5727 PyObject
*resultobj
;
5728 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5730 PyObject
* obj0
= 0 ;
5732 (char *) "self", NULL
5735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
5736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5739 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
5741 wxPyEndAllowThreads(__tstate
);
5742 if (PyErr_Occurred()) SWIG_fail
;
5744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5751 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5752 PyObject
*resultobj
;
5753 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5755 PyObject
* obj0
= 0 ;
5757 (char *) "self", NULL
5760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
5761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5764 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
5766 wxPyEndAllowThreads(__tstate
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5771 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5773 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5782 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5783 PyObject
*resultobj
;
5784 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5786 PyObject
* obj0
= 0 ;
5788 (char *) "self", NULL
5791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
5792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5795 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
5797 wxPyEndAllowThreads(__tstate
);
5798 if (PyErr_Occurred()) SWIG_fail
;
5800 resultobj
= SWIG_PyObj_FromInt((int)result
);
5807 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
*resultobj
;
5809 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5811 PyObject
* obj0
= 0 ;
5813 (char *) "self", NULL
5816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
5817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5820 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
5822 wxPyEndAllowThreads(__tstate
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5825 resultobj
= SWIG_PyObj_FromInt((int)result
);
5832 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
*resultobj
;
5834 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5836 PyObject
* obj0
= 0 ;
5837 PyObject
* obj1
= 0 ;
5839 (char *) "self",(char *) "pointsize", NULL
5842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5845 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5846 if (PyErr_Occurred()) SWIG_fail
;
5849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5850 (arg1
)->SetPointSize(arg2
);
5852 wxPyEndAllowThreads(__tstate
);
5853 if (PyErr_Occurred()) SWIG_fail
;
5855 Py_INCREF(Py_None
); resultobj
= Py_None
;
5862 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5863 PyObject
*resultobj
;
5864 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5866 PyObject
* obj0
= 0 ;
5867 PyObject
* obj1
= 0 ;
5869 (char *) "self",(char *) "style", NULL
5872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
5873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5875 arg2
= (wxFontStyle
) SWIG_PyObj_AsInt(obj1
);
5876 if (PyErr_Occurred()) SWIG_fail
;
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 (arg1
)->SetStyle((wxFontStyle
)arg2
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5885 Py_INCREF(Py_None
); resultobj
= Py_None
;
5892 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5893 PyObject
*resultobj
;
5894 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5896 PyObject
* obj0
= 0 ;
5897 PyObject
* obj1
= 0 ;
5899 (char *) "self",(char *) "weight", NULL
5902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5905 arg2
= (wxFontWeight
) SWIG_PyObj_AsInt(obj1
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5910 (arg1
)->SetWeight((wxFontWeight
)arg2
);
5912 wxPyEndAllowThreads(__tstate
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5915 Py_INCREF(Py_None
); resultobj
= Py_None
;
5922 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5923 PyObject
*resultobj
;
5924 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5926 PyObject
* obj0
= 0 ;
5927 PyObject
* obj1
= 0 ;
5929 (char *) "self",(char *) "underlined", NULL
5932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
5933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5935 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
5936 if (PyErr_Occurred()) SWIG_fail
;
5939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 (arg1
)->SetUnderlined(arg2
);
5942 wxPyEndAllowThreads(__tstate
);
5943 if (PyErr_Occurred()) SWIG_fail
;
5945 Py_INCREF(Py_None
); resultobj
= Py_None
;
5952 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5953 PyObject
*resultobj
;
5954 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5956 PyObject
* obj0
= 0 ;
5957 PyObject
* obj1
= 0 ;
5959 (char *) "self",(char *) "facename", NULL
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
5963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5965 wxString
* sptr
= wxString_in_helper(obj1
);
5966 if (sptr
== NULL
) SWIG_fail
;
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5972 (arg1
)->SetFaceName(arg2
);
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 Py_INCREF(Py_None
); resultobj
= Py_None
;
5984 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
;
5986 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5988 PyObject
* obj0
= 0 ;
5989 PyObject
* obj1
= 0 ;
5991 (char *) "self",(char *) "family", NULL
5994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
5995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5997 arg2
= (wxFontFamily
) SWIG_PyObj_AsInt(obj1
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6002 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6004 wxPyEndAllowThreads(__tstate
);
6005 if (PyErr_Occurred()) SWIG_fail
;
6007 Py_INCREF(Py_None
); resultobj
= Py_None
;
6014 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6015 PyObject
*resultobj
;
6016 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6018 PyObject
* obj0
= 0 ;
6019 PyObject
* obj1
= 0 ;
6021 (char *) "self",(char *) "encoding", NULL
6024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6027 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6032 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6034 wxPyEndAllowThreads(__tstate
);
6035 if (PyErr_Occurred()) SWIG_fail
;
6037 Py_INCREF(Py_None
); resultobj
= Py_None
;
6044 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6045 PyObject
*resultobj
;
6046 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6047 wxString
*arg2
= 0 ;
6049 bool temp2
= False
;
6050 PyObject
* obj0
= 0 ;
6051 PyObject
* obj1
= 0 ;
6053 (char *) "self",(char *) "s", NULL
6056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6059 arg2
= wxString_in_helper(obj1
);
6060 if (arg2
== NULL
) SWIG_fail
;
6064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6065 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6067 wxPyEndAllowThreads(__tstate
);
6068 if (PyErr_Occurred()) SWIG_fail
;
6070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6085 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
*resultobj
;
6087 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6089 PyObject
* obj0
= 0 ;
6091 (char *) "self", NULL
6094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6098 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6100 wxPyEndAllowThreads(__tstate
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6105 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6107 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6116 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
*resultobj
;
6118 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6120 PyObject
* obj0
= 0 ;
6122 (char *) "self", NULL
6125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6129 result
= wxNativeFontInfo___str__(arg1
);
6131 wxPyEndAllowThreads(__tstate
);
6132 if (PyErr_Occurred()) SWIG_fail
;
6136 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6138 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6147 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6148 PyObject
*resultobj
;
6149 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6150 wxString
*arg2
= 0 ;
6152 bool temp2
= False
;
6153 PyObject
* obj0
= 0 ;
6154 PyObject
* obj1
= 0 ;
6156 (char *) "self",(char *) "s", NULL
6159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6162 arg2
= wxString_in_helper(obj1
);
6163 if (arg2
== NULL
) SWIG_fail
;
6167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6168 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6170 wxPyEndAllowThreads(__tstate
);
6171 if (PyErr_Occurred()) SWIG_fail
;
6173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6188 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6189 PyObject
*resultobj
;
6190 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6192 PyObject
* obj0
= 0 ;
6194 (char *) "self", NULL
6197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6201 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6203 wxPyEndAllowThreads(__tstate
);
6204 if (PyErr_Occurred()) SWIG_fail
;
6208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6219 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6222 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6224 return Py_BuildValue((char *)"");
6226 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
*resultobj
;
6228 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6229 wxString
*arg2
= (wxString
*) 0 ;
6230 bool temp2
= False
;
6231 PyObject
* obj0
= 0 ;
6232 PyObject
* obj1
= 0 ;
6234 (char *) "self",(char *) "facename", NULL
6237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6240 arg2
= wxString_in_helper(obj1
);
6241 if (arg2
== NULL
) SWIG_fail
;
6244 if (arg1
) (arg1
)->facename
= *arg2
;
6246 Py_INCREF(Py_None
); resultobj
= Py_None
;
6261 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
*resultobj
;
6263 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6265 PyObject
* obj0
= 0 ;
6267 (char *) "self", NULL
6270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6272 result
= (wxString
*)& ((arg1
)->facename
);
6276 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6278 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6287 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
*resultobj
;
6289 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6291 PyObject
* obj0
= 0 ;
6292 PyObject
* obj1
= 0 ;
6294 (char *) "self",(char *) "encoding", NULL
6297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6300 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
6301 if (PyErr_Occurred()) SWIG_fail
;
6303 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6305 Py_INCREF(Py_None
); resultobj
= Py_None
;
6312 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
*resultobj
;
6314 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6316 PyObject
* obj0
= 0 ;
6318 (char *) "self", NULL
6321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6323 result
= (int) ((arg1
)->encoding
);
6325 resultobj
= SWIG_PyObj_FromInt((int)result
);
6332 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6333 PyObject
*resultobj
;
6334 wxNativeEncodingInfo
*result
;
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6347 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6354 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
*resultobj
;
6356 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6357 PyObject
* obj0
= 0 ;
6359 (char *) "self", NULL
6362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 wxPyEndAllowThreads(__tstate
);
6369 if (PyErr_Occurred()) SWIG_fail
;
6371 Py_INCREF(Py_None
); resultobj
= Py_None
;
6378 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
*resultobj
;
6380 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6381 wxString
*arg2
= 0 ;
6383 bool temp2
= False
;
6384 PyObject
* obj0
= 0 ;
6385 PyObject
* obj1
= 0 ;
6387 (char *) "self",(char *) "s", NULL
6390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6393 arg2
= wxString_in_helper(obj1
);
6394 if (arg2
== NULL
) SWIG_fail
;
6398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6399 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6401 wxPyEndAllowThreads(__tstate
);
6402 if (PyErr_Occurred()) SWIG_fail
;
6404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6419 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6420 PyObject
*resultobj
;
6421 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6423 PyObject
* obj0
= 0 ;
6425 (char *) "self", NULL
6428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6432 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6434 wxPyEndAllowThreads(__tstate
);
6435 if (PyErr_Occurred()) SWIG_fail
;
6439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6450 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6453 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6455 return Py_BuildValue((char *)"");
6457 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
*resultobj
;
6460 wxNativeEncodingInfo
*result
;
6461 PyObject
* obj0
= 0 ;
6463 (char *) "encoding", NULL
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
6468 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6473 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6478 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6485 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6486 PyObject
*resultobj
;
6487 wxNativeEncodingInfo
*arg1
= 0 ;
6489 PyObject
* obj0
= 0 ;
6491 (char *) "info", NULL
6494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6497 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6513 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6514 PyObject
*resultobj
;
6515 wxFontMapper
*result
;
6520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 result
= (wxFontMapper
*)new wxFontMapper();
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6528 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 1);
6535 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6536 PyObject
*resultobj
;
6537 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6538 PyObject
* obj0
= 0 ;
6540 (char *) "self", NULL
6543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
6544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6552 Py_INCREF(Py_None
); resultobj
= Py_None
;
6559 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
*resultobj
;
6561 wxFontMapper
*result
;
6566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
6568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6569 result
= (wxFontMapper
*)wxFontMapper::Get();
6571 wxPyEndAllowThreads(__tstate
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6574 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
6581 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6582 PyObject
*resultobj
;
6583 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6584 wxFontMapper
*result
;
6585 PyObject
* obj0
= 0 ;
6587 (char *) "mapper", NULL
6590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
6591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6594 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
6596 wxPyEndAllowThreads(__tstate
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6599 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
6606 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
*resultobj
;
6608 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6609 wxString
*arg2
= 0 ;
6610 bool arg3
= (bool) True
;
6612 bool temp2
= False
;
6613 PyObject
* obj0
= 0 ;
6614 PyObject
* obj1
= 0 ;
6615 PyObject
* obj2
= 0 ;
6617 (char *) "self",(char *) "charset",(char *) "interactive", NULL
6620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6623 arg2
= wxString_in_helper(obj1
);
6624 if (arg2
== NULL
) SWIG_fail
;
6629 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
6637 wxPyEndAllowThreads(__tstate
);
6638 if (PyErr_Occurred()) SWIG_fail
;
6640 resultobj
= SWIG_PyObj_FromInt((int)result
);
6655 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6656 PyObject
*resultobj
;
6662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6670 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
6677 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
;
6681 PyObject
* obj0
= 0 ;
6686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
6688 arg1
= (size_t) SWIG_PyObj_AsUnsignedLong(obj0
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 result
= (int)wxFontMapper::GetEncoding(arg1
);
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6698 resultobj
= SWIG_PyObj_FromInt((int)result
);
6705 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6706 PyObject
*resultobj
;
6709 PyObject
* obj0
= 0 ;
6711 (char *) "encoding", NULL
6714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
6716 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6721 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6728 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6730 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6739 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6740 PyObject
*resultobj
;
6743 PyObject
* obj0
= 0 ;
6745 (char *) "encoding", NULL
6748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
6750 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6755 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
6757 wxPyEndAllowThreads(__tstate
);
6758 if (PyErr_Occurred()) SWIG_fail
;
6762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6773 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
*resultobj
;
6775 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6776 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
6777 PyObject
* obj0
= 0 ;
6778 PyObject
* obj1
= 0 ;
6780 (char *) "self",(char *) "config", NULL
6783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
6784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6785 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6788 (arg1
)->SetConfig(arg2
);
6790 wxPyEndAllowThreads(__tstate
);
6791 if (PyErr_Occurred()) SWIG_fail
;
6793 Py_INCREF(Py_None
); resultobj
= Py_None
;
6800 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
*resultobj
;
6802 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6803 wxString
*arg2
= 0 ;
6804 bool temp2
= False
;
6805 PyObject
* obj0
= 0 ;
6806 PyObject
* obj1
= 0 ;
6808 (char *) "self",(char *) "prefix", NULL
6811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
6812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6814 arg2
= wxString_in_helper(obj1
);
6815 if (arg2
== NULL
) SWIG_fail
;
6819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6820 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
6822 wxPyEndAllowThreads(__tstate
);
6823 if (PyErr_Occurred()) SWIG_fail
;
6825 Py_INCREF(Py_None
); resultobj
= Py_None
;
6840 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
*resultobj
;
6847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
6849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6850 result
= wxFontMapper::GetDefaultConfigPath();
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6857 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6859 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6868 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6869 PyObject
*resultobj
;
6870 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6872 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6873 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6874 bool arg4
= (bool) True
;
6876 bool temp3
= False
;
6877 PyObject
* obj0
= 0 ;
6878 PyObject
* obj1
= 0 ;
6879 PyObject
* obj2
= 0 ;
6880 PyObject
* obj3
= 0 ;
6882 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
6885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6888 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
6889 if (PyErr_Occurred()) SWIG_fail
;
6893 arg3
= wxString_in_helper(obj2
);
6894 if (arg3
== NULL
) SWIG_fail
;
6900 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6906 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
6908 wxPyEndAllowThreads(__tstate
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6926 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6927 PyObject
*resultobj
;
6928 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6930 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6931 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6933 bool temp3
= False
;
6934 PyObject
* obj0
= 0 ;
6935 PyObject
* obj1
= 0 ;
6936 PyObject
* obj2
= 0 ;
6938 (char *) "self",(char *) "encoding",(char *) "facename", NULL
6941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6944 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
6945 if (PyErr_Occurred()) SWIG_fail
;
6949 arg3
= wxString_in_helper(obj2
);
6950 if (arg3
== NULL
) SWIG_fail
;
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6976 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6977 PyObject
*resultobj
;
6978 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6979 wxWindow
*arg2
= (wxWindow
*) 0 ;
6980 PyObject
* obj0
= 0 ;
6981 PyObject
* obj1
= 0 ;
6983 (char *) "self",(char *) "parent", NULL
6986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
6987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6988 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6991 (arg1
)->SetDialogParent(arg2
);
6993 wxPyEndAllowThreads(__tstate
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6996 Py_INCREF(Py_None
); resultobj
= Py_None
;
7003 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7004 PyObject
*resultobj
;
7005 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7006 wxString
*arg2
= 0 ;
7007 bool temp2
= False
;
7008 PyObject
* obj0
= 0 ;
7009 PyObject
* obj1
= 0 ;
7011 (char *) "self",(char *) "title", NULL
7014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7017 arg2
= wxString_in_helper(obj1
);
7018 if (arg2
== NULL
) SWIG_fail
;
7022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7023 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7025 wxPyEndAllowThreads(__tstate
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7028 Py_INCREF(Py_None
); resultobj
= Py_None
;
7043 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7046 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7048 return Py_BuildValue((char *)"");
7050 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7051 PyObject
*resultobj
;
7056 bool arg5
= (bool) False
;
7057 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7058 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7059 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7061 bool temp6
= False
;
7062 PyObject
* obj0
= 0 ;
7063 PyObject
* obj1
= 0 ;
7064 PyObject
* obj2
= 0 ;
7065 PyObject
* obj3
= 0 ;
7066 PyObject
* obj4
= 0 ;
7067 PyObject
* obj5
= 0 ;
7068 PyObject
* obj6
= 0 ;
7070 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7075 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7079 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7080 if (PyErr_Occurred()) SWIG_fail
;
7083 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7084 if (PyErr_Occurred()) SWIG_fail
;
7087 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
7088 if (PyErr_Occurred()) SWIG_fail
;
7092 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7098 arg6
= wxString_in_helper(obj5
);
7099 if (arg6
== NULL
) SWIG_fail
;
7105 arg7
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj6
);
7106 if (PyErr_Occurred()) SWIG_fail
;
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7111 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7116 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7131 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7132 PyObject
*resultobj
;
7133 wxFont
*arg1
= (wxFont
*) 0 ;
7134 PyObject
* obj0
= 0 ;
7136 (char *) "self", NULL
7139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 wxPyEndAllowThreads(__tstate
);
7146 if (PyErr_Occurred()) SWIG_fail
;
7148 Py_INCREF(Py_None
); resultobj
= Py_None
;
7155 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
*resultobj
;
7157 wxNativeFontInfo
*arg1
= 0 ;
7159 PyObject
* obj0
= 0 ;
7161 (char *) "info", NULL
7164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7167 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7173 wxPyEndAllowThreads(__tstate
);
7174 if (PyErr_Occurred()) SWIG_fail
;
7176 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7183 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7184 PyObject
*resultobj
;
7185 wxString
*arg1
= 0 ;
7187 bool temp1
= False
;
7188 PyObject
* obj0
= 0 ;
7190 (char *) "info", NULL
7193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7195 arg1
= wxString_in_helper(obj0
);
7196 if (arg1
== NULL
) SWIG_fail
;
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7206 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7221 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
*resultobj
;
7225 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7226 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7227 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7228 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7230 bool temp4
= False
;
7231 PyObject
* obj0
= 0 ;
7232 PyObject
* obj1
= 0 ;
7233 PyObject
* obj2
= 0 ;
7234 PyObject
* obj3
= 0 ;
7235 PyObject
* obj4
= 0 ;
7237 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7242 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7246 arg2
= (wxFontFamily
) SWIG_PyObj_AsInt(obj1
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7251 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7257 arg4
= wxString_in_helper(obj3
);
7258 if (arg4
== NULL
) SWIG_fail
;
7264 arg5
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj4
);
7265 if (PyErr_Occurred()) SWIG_fail
;
7269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7270 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7272 wxPyEndAllowThreads(__tstate
);
7273 if (PyErr_Occurred()) SWIG_fail
;
7275 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7290 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7291 PyObject
*resultobj
;
7292 wxFont
*arg1
= (wxFont
*) 0 ;
7294 PyObject
* obj0
= 0 ;
7296 (char *) "self", NULL
7299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7303 result
= (bool)((wxFont
const *)arg1
)->Ok();
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7315 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
*resultobj
;
7317 wxFont
*arg1
= (wxFont
*) 0 ;
7320 PyObject
* obj0
= 0 ;
7321 PyObject
* obj1
= 0 ;
7323 (char *) "self",(char *) "font", NULL
7326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7328 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7330 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 result
= (bool)((wxFont
const *)arg1
)->operator ==((wxFont
const &)*arg2
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7346 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
*resultobj
;
7348 wxFont
*arg1
= (wxFont
*) 0 ;
7351 PyObject
* obj0
= 0 ;
7352 PyObject
* obj1
= 0 ;
7354 (char *) "self",(char *) "font", NULL
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7359 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7361 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7365 result
= (bool)((wxFont
const *)arg1
)->operator !=((wxFont
const &)*arg2
);
7367 wxPyEndAllowThreads(__tstate
);
7368 if (PyErr_Occurred()) SWIG_fail
;
7370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7377 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
*resultobj
;
7379 wxFont
*arg1
= (wxFont
*) 0 ;
7381 PyObject
* obj0
= 0 ;
7383 (char *) "self", NULL
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7390 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7392 wxPyEndAllowThreads(__tstate
);
7393 if (PyErr_Occurred()) SWIG_fail
;
7395 resultobj
= SWIG_PyObj_FromInt((int)result
);
7402 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7403 PyObject
*resultobj
;
7404 wxFont
*arg1
= (wxFont
*) 0 ;
7406 PyObject
* obj0
= 0 ;
7408 (char *) "self", NULL
7411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7415 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7417 wxPyEndAllowThreads(__tstate
);
7418 if (PyErr_Occurred()) SWIG_fail
;
7420 resultobj
= SWIG_PyObj_FromInt((int)result
);
7427 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7428 PyObject
*resultobj
;
7429 wxFont
*arg1
= (wxFont
*) 0 ;
7431 PyObject
* obj0
= 0 ;
7433 (char *) "self", NULL
7436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
7437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7440 result
= (int)((wxFont
const *)arg1
)->GetStyle();
7442 wxPyEndAllowThreads(__tstate
);
7443 if (PyErr_Occurred()) SWIG_fail
;
7445 resultobj
= SWIG_PyObj_FromInt((int)result
);
7452 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7453 PyObject
*resultobj
;
7454 wxFont
*arg1
= (wxFont
*) 0 ;
7456 PyObject
* obj0
= 0 ;
7458 (char *) "self", NULL
7461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
7462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7465 result
= (int)((wxFont
const *)arg1
)->GetWeight();
7467 wxPyEndAllowThreads(__tstate
);
7468 if (PyErr_Occurred()) SWIG_fail
;
7470 resultobj
= SWIG_PyObj_FromInt((int)result
);
7477 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7478 PyObject
*resultobj
;
7479 wxFont
*arg1
= (wxFont
*) 0 ;
7481 PyObject
* obj0
= 0 ;
7483 (char *) "self", NULL
7486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7490 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
7492 wxPyEndAllowThreads(__tstate
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7502 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7503 PyObject
*resultobj
;
7504 wxFont
*arg1
= (wxFont
*) 0 ;
7506 PyObject
* obj0
= 0 ;
7508 (char *) "self", NULL
7511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
7512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 result
= ((wxFont
const *)arg1
)->GetFaceName();
7517 wxPyEndAllowThreads(__tstate
);
7518 if (PyErr_Occurred()) SWIG_fail
;
7522 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7524 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7533 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7534 PyObject
*resultobj
;
7535 wxFont
*arg1
= (wxFont
*) 0 ;
7537 PyObject
* obj0
= 0 ;
7539 (char *) "self", NULL
7542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
7543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7546 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
7548 wxPyEndAllowThreads(__tstate
);
7549 if (PyErr_Occurred()) SWIG_fail
;
7551 resultobj
= SWIG_PyObj_FromInt((int)result
);
7558 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7559 PyObject
*resultobj
;
7560 wxFont
*arg1
= (wxFont
*) 0 ;
7561 wxNativeFontInfo
*result
;
7562 PyObject
* obj0
= 0 ;
7564 (char *) "self", NULL
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
7568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7576 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 0);
7583 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
*resultobj
;
7585 wxFont
*arg1
= (wxFont
*) 0 ;
7587 PyObject
* obj0
= 0 ;
7589 (char *) "self", NULL
7592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
7593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7596 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
7598 wxPyEndAllowThreads(__tstate
);
7599 if (PyErr_Occurred()) SWIG_fail
;
7601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7608 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7609 PyObject
*resultobj
;
7610 wxFont
*arg1
= (wxFont
*) 0 ;
7612 PyObject
* obj0
= 0 ;
7614 (char *) "self", NULL
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
7618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7621 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
7623 wxPyEndAllowThreads(__tstate
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7628 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7630 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7639 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
*resultobj
;
7641 wxFont
*arg1
= (wxFont
*) 0 ;
7643 PyObject
* obj0
= 0 ;
7645 (char *) "self", NULL
7648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
7649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7652 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
7654 wxPyEndAllowThreads(__tstate
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7659 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7661 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7670 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7671 PyObject
*resultobj
;
7672 wxFont
*arg1
= (wxFont
*) 0 ;
7674 PyObject
* obj0
= 0 ;
7675 PyObject
* obj1
= 0 ;
7677 (char *) "self",(char *) "pointSize", NULL
7680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7683 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7684 if (PyErr_Occurred()) SWIG_fail
;
7687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7688 (arg1
)->SetPointSize(arg2
);
7690 wxPyEndAllowThreads(__tstate
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7693 Py_INCREF(Py_None
); resultobj
= Py_None
;
7700 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
*resultobj
;
7702 wxFont
*arg1
= (wxFont
*) 0 ;
7704 PyObject
* obj0
= 0 ;
7705 PyObject
* obj1
= 0 ;
7707 (char *) "self",(char *) "family", NULL
7710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
7711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7713 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 (arg1
)->SetFamily(arg2
);
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7723 Py_INCREF(Py_None
); resultobj
= Py_None
;
7730 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7731 PyObject
*resultobj
;
7732 wxFont
*arg1
= (wxFont
*) 0 ;
7734 PyObject
* obj0
= 0 ;
7735 PyObject
* obj1
= 0 ;
7737 (char *) "self",(char *) "style", NULL
7740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7743 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7748 (arg1
)->SetStyle(arg2
);
7750 wxPyEndAllowThreads(__tstate
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7753 Py_INCREF(Py_None
); resultobj
= Py_None
;
7760 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7761 PyObject
*resultobj
;
7762 wxFont
*arg1
= (wxFont
*) 0 ;
7764 PyObject
* obj0
= 0 ;
7765 PyObject
* obj1
= 0 ;
7767 (char *) "self",(char *) "weight", NULL
7770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7773 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7774 if (PyErr_Occurred()) SWIG_fail
;
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 (arg1
)->SetWeight(arg2
);
7780 wxPyEndAllowThreads(__tstate
);
7781 if (PyErr_Occurred()) SWIG_fail
;
7783 Py_INCREF(Py_None
); resultobj
= Py_None
;
7790 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
*resultobj
;
7792 wxFont
*arg1
= (wxFont
*) 0 ;
7793 wxString
*arg2
= 0 ;
7794 bool temp2
= False
;
7795 PyObject
* obj0
= 0 ;
7796 PyObject
* obj1
= 0 ;
7798 (char *) "self",(char *) "faceName", NULL
7801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
7802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7804 arg2
= wxString_in_helper(obj1
);
7805 if (arg2
== NULL
) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 (arg1
)->SetFaceName((wxString
const &)*arg2
);
7812 wxPyEndAllowThreads(__tstate
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7815 Py_INCREF(Py_None
); resultobj
= Py_None
;
7830 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7831 PyObject
*resultobj
;
7832 wxFont
*arg1
= (wxFont
*) 0 ;
7834 PyObject
* obj0
= 0 ;
7835 PyObject
* obj1
= 0 ;
7837 (char *) "self",(char *) "underlined", NULL
7840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
7841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7843 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 (arg1
)->SetUnderlined(arg2
);
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7853 Py_INCREF(Py_None
); resultobj
= Py_None
;
7860 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
*resultobj
;
7862 wxFont
*arg1
= (wxFont
*) 0 ;
7864 PyObject
* obj0
= 0 ;
7865 PyObject
* obj1
= 0 ;
7867 (char *) "self",(char *) "encoding", NULL
7870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
7871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7873 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
7874 if (PyErr_Occurred()) SWIG_fail
;
7877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7878 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7883 Py_INCREF(Py_None
); resultobj
= Py_None
;
7890 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7891 PyObject
*resultobj
;
7892 wxFont
*arg1
= (wxFont
*) 0 ;
7893 wxNativeFontInfo
*arg2
= 0 ;
7894 PyObject
* obj0
= 0 ;
7895 PyObject
* obj1
= 0 ;
7897 (char *) "self",(char *) "info", NULL
7900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
7901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7902 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7904 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7908 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
7910 wxPyEndAllowThreads(__tstate
);
7911 if (PyErr_Occurred()) SWIG_fail
;
7913 Py_INCREF(Py_None
); resultobj
= Py_None
;
7920 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7921 PyObject
*resultobj
;
7922 wxFont
*arg1
= (wxFont
*) 0 ;
7923 wxString
*arg2
= 0 ;
7924 bool temp2
= False
;
7925 PyObject
* obj0
= 0 ;
7926 PyObject
* obj1
= 0 ;
7928 (char *) "self",(char *) "info", NULL
7931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7934 arg2
= wxString_in_helper(obj1
);
7935 if (arg2
== NULL
) SWIG_fail
;
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7945 Py_INCREF(Py_None
); resultobj
= Py_None
;
7960 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7961 PyObject
*resultobj
;
7962 wxFont
*arg1
= (wxFont
*) 0 ;
7963 wxString
*arg2
= 0 ;
7964 bool temp2
= False
;
7965 PyObject
* obj0
= 0 ;
7966 PyObject
* obj1
= 0 ;
7968 (char *) "self",(char *) "info", NULL
7971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
7972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7974 arg2
= wxString_in_helper(obj1
);
7975 if (arg2
== NULL
) SWIG_fail
;
7979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7980 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
7982 wxPyEndAllowThreads(__tstate
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7985 Py_INCREF(Py_None
); resultobj
= Py_None
;
8000 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8001 PyObject
*resultobj
;
8002 wxFont
*arg1
= (wxFont
*) 0 ;
8004 PyObject
* obj0
= 0 ;
8006 (char *) "self", NULL
8009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8013 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8031 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8032 PyObject
*resultobj
;
8033 wxFont
*arg1
= (wxFont
*) 0 ;
8035 PyObject
* obj0
= 0 ;
8037 (char *) "self", NULL
8040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8044 result
= ((wxFont
const *)arg1
)->GetStyleString();
8046 wxPyEndAllowThreads(__tstate
);
8047 if (PyErr_Occurred()) SWIG_fail
;
8051 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8053 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8062 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
*resultobj
;
8064 wxFont
*arg1
= (wxFont
*) 0 ;
8066 PyObject
* obj0
= 0 ;
8068 (char *) "self", NULL
8071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8075 result
= ((wxFont
const *)arg1
)->GetWeightString();
8077 wxPyEndAllowThreads(__tstate
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8082 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8084 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8093 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8094 PyObject
*resultobj
;
8095 wxFont
*arg1
= (wxFont
*) 0 ;
8096 bool arg2
= (bool) True
;
8097 PyObject
* obj0
= 0 ;
8098 PyObject
* obj1
= 0 ;
8100 (char *) "self",(char *) "no", NULL
8103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8107 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8108 if (PyErr_Occurred()) SWIG_fail
;
8112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8113 (arg1
)->SetNoAntiAliasing(arg2
);
8115 wxPyEndAllowThreads(__tstate
);
8116 if (PyErr_Occurred()) SWIG_fail
;
8118 Py_INCREF(Py_None
); resultobj
= Py_None
;
8125 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8126 PyObject
*resultobj
;
8127 wxFont
*arg1
= (wxFont
*) 0 ;
8129 PyObject
* obj0
= 0 ;
8131 (char *) "self", NULL
8134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8138 result
= (bool)(arg1
)->GetNoAntiAliasing();
8140 wxPyEndAllowThreads(__tstate
);
8141 if (PyErr_Occurred()) SWIG_fail
;
8143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8150 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
*resultobj
;
8157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8160 result
= (int)wxFont::GetDefaultEncoding();
8162 wxPyEndAllowThreads(__tstate
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8165 resultobj
= SWIG_PyObj_FromInt((int)result
);
8172 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
;
8175 PyObject
* obj0
= 0 ;
8177 (char *) "encoding", NULL
8180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8182 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8187 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8189 wxPyEndAllowThreads(__tstate
);
8190 if (PyErr_Occurred()) SWIG_fail
;
8192 Py_INCREF(Py_None
); resultobj
= Py_None
;
8199 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
8201 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8202 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8204 return Py_BuildValue((char *)"");
8206 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8207 PyObject
*resultobj
;
8208 wxPyFontEnumerator
*result
;
8213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8216 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8218 wxPyEndAllowThreads(__tstate
);
8219 if (PyErr_Occurred()) SWIG_fail
;
8221 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFontEnumerator
, 1);
8228 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8229 PyObject
*resultobj
;
8230 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8231 PyObject
* obj0
= 0 ;
8233 (char *) "self", NULL
8236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8242 wxPyEndAllowThreads(__tstate
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8245 Py_INCREF(Py_None
); resultobj
= Py_None
;
8252 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8253 PyObject
*resultobj
;
8254 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8255 PyObject
*arg2
= (PyObject
*) 0 ;
8256 PyObject
*arg3
= (PyObject
*) 0 ;
8258 PyObject
* obj0
= 0 ;
8259 PyObject
* obj1
= 0 ;
8260 PyObject
* obj2
= 0 ;
8261 PyObject
* obj3
= 0 ;
8263 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8271 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8276 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8278 wxPyEndAllowThreads(__tstate
);
8279 if (PyErr_Occurred()) SWIG_fail
;
8281 Py_INCREF(Py_None
); resultobj
= Py_None
;
8288 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8289 PyObject
*resultobj
;
8290 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8291 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8292 bool arg3
= (bool) False
;
8294 PyObject
* obj0
= 0 ;
8295 PyObject
* obj1
= 0 ;
8296 PyObject
* obj2
= 0 ;
8298 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8305 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
8306 if (PyErr_Occurred()) SWIG_fail
;
8311 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
8312 if (PyErr_Occurred()) SWIG_fail
;
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8317 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8319 wxPyEndAllowThreads(__tstate
);
8320 if (PyErr_Occurred()) SWIG_fail
;
8322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8329 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8330 PyObject
*resultobj
;
8331 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8332 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8333 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8335 bool temp2
= False
;
8336 PyObject
* obj0
= 0 ;
8337 PyObject
* obj1
= 0 ;
8339 (char *) "self",(char *) "facename", NULL
8342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8346 arg2
= wxString_in_helper(obj1
);
8347 if (arg2
== NULL
) SWIG_fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8355 wxPyEndAllowThreads(__tstate
);
8356 if (PyErr_Occurred()) SWIG_fail
;
8358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8373 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8374 PyObject
*resultobj
;
8375 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8377 PyObject
* obj0
= 0 ;
8379 (char *) "self", NULL
8382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8386 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8388 wxPyEndAllowThreads(__tstate
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8398 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8399 PyObject
*resultobj
;
8400 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8402 PyObject
* obj0
= 0 ;
8404 (char *) "self", NULL
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8411 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8423 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
8425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8426 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
8428 return Py_BuildValue((char *)"");
8430 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8431 PyObject
*resultobj
;
8432 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8434 PyObject
* obj0
= 0 ;
8435 PyObject
* obj1
= 0 ;
8437 (char *) "self",(char *) "Language", NULL
8440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8443 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8446 if (arg1
) (arg1
)->Language
= arg2
;
8448 Py_INCREF(Py_None
); resultobj
= Py_None
;
8455 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
*resultobj
;
8457 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8459 PyObject
* obj0
= 0 ;
8461 (char *) "self", NULL
8464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
8465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8466 result
= (int) ((arg1
)->Language
);
8468 resultobj
= SWIG_PyObj_FromInt((int)result
);
8475 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8476 PyObject
*resultobj
;
8477 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8478 wxString
*arg2
= (wxString
*) 0 ;
8479 bool temp2
= False
;
8480 PyObject
* obj0
= 0 ;
8481 PyObject
* obj1
= 0 ;
8483 (char *) "self",(char *) "CanonicalName", NULL
8486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8489 arg2
= wxString_in_helper(obj1
);
8490 if (arg2
== NULL
) SWIG_fail
;
8493 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
8495 Py_INCREF(Py_None
); resultobj
= Py_None
;
8510 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8511 PyObject
*resultobj
;
8512 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8514 PyObject
* obj0
= 0 ;
8516 (char *) "self", NULL
8519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
8520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8521 result
= (wxString
*)& ((arg1
)->CanonicalName
);
8525 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8527 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8536 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8537 PyObject
*resultobj
;
8538 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8539 wxString
*arg2
= (wxString
*) 0 ;
8540 bool temp2
= False
;
8541 PyObject
* obj0
= 0 ;
8542 PyObject
* obj1
= 0 ;
8544 (char *) "self",(char *) "Description", NULL
8547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8550 arg2
= wxString_in_helper(obj1
);
8551 if (arg2
== NULL
) SWIG_fail
;
8554 if (arg1
) (arg1
)->Description
= *arg2
;
8556 Py_INCREF(Py_None
); resultobj
= Py_None
;
8571 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
*resultobj
;
8573 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8575 PyObject
* obj0
= 0 ;
8577 (char *) "self", NULL
8580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
8581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8582 result
= (wxString
*)& ((arg1
)->Description
);
8586 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8588 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8597 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
8599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8600 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
8602 return Py_BuildValue((char *)"");
8604 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8605 PyObject
*resultobj
;
8606 int arg1
= (int) wxLANGUAGE_DEFAULT
;
8607 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
8609 PyObject
* obj0
= 0 ;
8610 PyObject
* obj1
= 0 ;
8612 (char *) "language",(char *) "flags", NULL
8615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
8618 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8624 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8625 if (PyErr_Occurred()) SWIG_fail
;
8629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8630 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
8632 wxPyEndAllowThreads(__tstate
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8635 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLocale
, 1);
8642 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8643 PyObject
*resultobj
;
8644 wxLocale
*arg1
= (wxLocale
*) 0 ;
8645 PyObject
* obj0
= 0 ;
8647 (char *) "self", NULL
8650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
8651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 wxPyEndAllowThreads(__tstate
);
8657 if (PyErr_Occurred()) SWIG_fail
;
8659 Py_INCREF(Py_None
); resultobj
= Py_None
;
8666 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8667 PyObject
*resultobj
;
8668 wxLocale
*arg1
= (wxLocale
*) 0 ;
8669 wxString
*arg2
= 0 ;
8670 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8671 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8672 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8673 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8674 bool arg5
= (bool) True
;
8675 bool arg6
= (bool) False
;
8677 bool temp2
= False
;
8678 bool temp3
= False
;
8679 bool temp4
= False
;
8680 PyObject
* obj0
= 0 ;
8681 PyObject
* obj1
= 0 ;
8682 PyObject
* obj2
= 0 ;
8683 PyObject
* obj3
= 0 ;
8684 PyObject
* obj4
= 0 ;
8685 PyObject
* obj5
= 0 ;
8687 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
8690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8693 arg2
= wxString_in_helper(obj1
);
8694 if (arg2
== NULL
) SWIG_fail
;
8699 arg3
= wxString_in_helper(obj2
);
8700 if (arg3
== NULL
) SWIG_fail
;
8706 arg4
= wxString_in_helper(obj3
);
8707 if (arg4
== NULL
) SWIG_fail
;
8713 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8719 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8725 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
8727 wxPyEndAllowThreads(__tstate
);
8728 if (PyErr_Occurred()) SWIG_fail
;
8730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8761 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
*resultobj
;
8763 wxLocale
*arg1
= (wxLocale
*) 0 ;
8764 int arg2
= (int) wxLANGUAGE_DEFAULT
;
8765 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
8767 PyObject
* obj0
= 0 ;
8768 PyObject
* obj1
= 0 ;
8769 PyObject
* obj2
= 0 ;
8771 (char *) "self",(char *) "language",(char *) "flags", NULL
8774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8778 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8779 if (PyErr_Occurred()) SWIG_fail
;
8784 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8790 result
= (bool)(arg1
)->Init(arg2
,arg3
);
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8802 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8803 PyObject
*resultobj
;
8809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
8811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8812 result
= (int)wxLocale::GetSystemLanguage();
8814 wxPyEndAllowThreads(__tstate
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8817 resultobj
= SWIG_PyObj_FromInt((int)result
);
8824 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8825 PyObject
*resultobj
;
8831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
8833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8834 result
= (int)wxLocale::GetSystemEncoding();
8836 wxPyEndAllowThreads(__tstate
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8839 resultobj
= SWIG_PyObj_FromInt((int)result
);
8846 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8847 PyObject
*resultobj
;
8853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
8855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8856 result
= wxLocale::GetSystemEncodingName();
8858 wxPyEndAllowThreads(__tstate
);
8859 if (PyErr_Occurred()) SWIG_fail
;
8863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8874 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8875 PyObject
*resultobj
;
8876 wxLocale
*arg1
= (wxLocale
*) 0 ;
8878 PyObject
* obj0
= 0 ;
8880 (char *) "self", NULL
8883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
8884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8887 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
8889 wxPyEndAllowThreads(__tstate
);
8890 if (PyErr_Occurred()) SWIG_fail
;
8892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8899 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8900 PyObject
*resultobj
;
8901 wxLocale
*arg1
= (wxLocale
*) 0 ;
8903 PyObject
* obj0
= 0 ;
8905 (char *) "self", NULL
8908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
8909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8912 result
= ((wxLocale
const *)arg1
)->GetLocale();
8914 wxPyEndAllowThreads(__tstate
);
8915 if (PyErr_Occurred()) SWIG_fail
;
8919 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8921 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8930 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8931 PyObject
*resultobj
;
8932 wxLocale
*arg1
= (wxLocale
*) 0 ;
8934 PyObject
* obj0
= 0 ;
8936 (char *) "self", NULL
8939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
8940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8943 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
8945 wxPyEndAllowThreads(__tstate
);
8946 if (PyErr_Occurred()) SWIG_fail
;
8948 resultobj
= SWIG_PyObj_FromInt((int)result
);
8955 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
*resultobj
;
8957 wxLocale
*arg1
= (wxLocale
*) 0 ;
8959 PyObject
* obj0
= 0 ;
8961 (char *) "self", NULL
8964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
8965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 result
= ((wxLocale
const *)arg1
)->GetSysName();
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8975 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8977 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8986 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8987 PyObject
*resultobj
;
8988 wxLocale
*arg1
= (wxLocale
*) 0 ;
8990 PyObject
* obj0
= 0 ;
8992 (char *) "self", NULL
8995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
8996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8999 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9006 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9008 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9017 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9018 PyObject
*resultobj
;
9019 wxString
*arg1
= 0 ;
9020 bool temp1
= False
;
9021 PyObject
* obj0
= 0 ;
9023 (char *) "prefix", NULL
9026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9028 arg1
= wxString_in_helper(obj0
);
9029 if (arg1
== NULL
) SWIG_fail
;
9033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9034 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9036 wxPyEndAllowThreads(__tstate
);
9037 if (PyErr_Occurred()) SWIG_fail
;
9039 Py_INCREF(Py_None
); resultobj
= Py_None
;
9054 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9055 PyObject
*resultobj
;
9056 wxLocale
*arg1
= (wxLocale
*) 0 ;
9057 wxString
*arg2
= 0 ;
9059 bool temp2
= False
;
9060 PyObject
* obj0
= 0 ;
9061 PyObject
* obj1
= 0 ;
9063 (char *) "self",(char *) "szDomain", NULL
9066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9069 arg2
= wxString_in_helper(obj1
);
9070 if (arg2
== NULL
) SWIG_fail
;
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9095 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9096 PyObject
*resultobj
;
9097 wxLocale
*arg1
= (wxLocale
*) 0 ;
9098 wxString
*arg2
= 0 ;
9100 bool temp2
= False
;
9101 PyObject
* obj0
= 0 ;
9102 PyObject
* obj1
= 0 ;
9104 (char *) "self",(char *) "szDomain", NULL
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9110 arg2
= wxString_in_helper(obj1
);
9111 if (arg2
== NULL
) SWIG_fail
;
9115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9116 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9118 wxPyEndAllowThreads(__tstate
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9136 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9137 PyObject
*resultobj
;
9139 wxLanguageInfo
*result
;
9140 PyObject
* obj0
= 0 ;
9142 (char *) "lang", NULL
9145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9147 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9152 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLanguageInfo
, 0);
9164 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9165 PyObject
*resultobj
;
9168 PyObject
* obj0
= 0 ;
9170 (char *) "lang", NULL
9173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9175 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9176 if (PyErr_Occurred()) SWIG_fail
;
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 result
= wxLocale::GetLanguageName(arg1
);
9182 wxPyEndAllowThreads(__tstate
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9187 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9189 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9198 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9199 PyObject
*resultobj
;
9200 wxString
*arg1
= 0 ;
9201 wxLanguageInfo
*result
;
9202 bool temp1
= False
;
9203 PyObject
* obj0
= 0 ;
9205 (char *) "locale", NULL
9208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9210 arg1
= wxString_in_helper(obj0
);
9211 if (arg1
== NULL
) SWIG_fail
;
9215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLanguageInfo
, 0);
9236 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
*resultobj
;
9238 wxLanguageInfo
*arg1
= 0 ;
9239 PyObject
* obj0
= 0 ;
9241 (char *) "info", NULL
9244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9247 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9251 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9256 Py_INCREF(Py_None
); resultobj
= Py_None
;
9263 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
;
9265 wxLocale
*arg1
= (wxLocale
*) 0 ;
9266 wxString
*arg2
= 0 ;
9267 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9268 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9270 bool temp2
= False
;
9271 bool temp3
= False
;
9272 PyObject
* obj0
= 0 ;
9273 PyObject
* obj1
= 0 ;
9274 PyObject
* obj2
= 0 ;
9276 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9282 arg2
= wxString_in_helper(obj1
);
9283 if (arg2
== NULL
) SWIG_fail
;
9288 arg3
= wxString_in_helper(obj2
);
9289 if (arg3
== NULL
) SWIG_fail
;
9294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9295 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9302 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9304 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9329 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9330 PyObject
*resultobj
;
9331 wxLocale
*arg1
= (wxLocale
*) 0 ;
9333 PyObject
* obj0
= 0 ;
9335 (char *) "self", NULL
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9344 result
= (wxString
*) &_result_ref
;
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9352 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9354 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9363 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
9365 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9366 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9368 return Py_BuildValue((char *)"");
9370 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9371 PyObject
*resultobj
;
9377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9380 result
= (wxLocale
*)wxGetLocale();
9382 wxPyEndAllowThreads(__tstate
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9385 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLocale
, 0);
9392 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
9393 PyObject
*resultobj
;
9394 wxString
*arg1
= 0 ;
9396 bool temp1
= False
;
9397 PyObject
* obj0
= 0 ;
9399 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9401 arg1
= wxString_in_helper(obj0
);
9402 if (arg1
== NULL
) SWIG_fail
;
9406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9407 result
= wxGetTranslation((wxString
const &)*arg1
);
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9414 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9416 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9433 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
9434 PyObject
*resultobj
;
9435 wxString
*arg1
= 0 ;
9436 wxString
*arg2
= 0 ;
9439 bool temp1
= False
;
9440 bool temp2
= False
;
9441 PyObject
* obj0
= 0 ;
9442 PyObject
* obj1
= 0 ;
9443 PyObject
* obj2
= 0 ;
9445 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
9447 arg1
= wxString_in_helper(obj0
);
9448 if (arg1
== NULL
) SWIG_fail
;
9452 arg2
= wxString_in_helper(obj1
);
9453 if (arg2
== NULL
) SWIG_fail
;
9457 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9469 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9471 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9496 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
9501 argc
= PyObject_Length(args
);
9502 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9503 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9508 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9511 return _wrap_GetTranslation__SWIG_0(self
,args
);
9517 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9521 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9525 SWIG_PyObj_AsUnsignedLong(argv
[2]);
9526 if (PyErr_Occurred()) {
9534 return _wrap_GetTranslation__SWIG_1(self
,args
);
9540 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
9545 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9546 PyObject
*resultobj
;
9547 wxEncodingConverter
*result
;
9552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
9554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9555 result
= (wxEncodingConverter
*)new wxEncodingConverter();
9557 wxPyEndAllowThreads(__tstate
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9560 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEncodingConverter
, 1);
9567 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9568 PyObject
*resultobj
;
9569 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9570 PyObject
* obj0
= 0 ;
9572 (char *) "self", NULL
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
9576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 wxPyEndAllowThreads(__tstate
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9584 Py_INCREF(Py_None
); resultobj
= Py_None
;
9591 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
;
9593 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9596 int arg4
= (int) wxCONVERT_STRICT
;
9598 PyObject
* obj0
= 0 ;
9599 PyObject
* obj1
= 0 ;
9600 PyObject
* obj2
= 0 ;
9601 PyObject
* obj3
= 0 ;
9603 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9609 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
9610 if (PyErr_Occurred()) SWIG_fail
;
9613 arg3
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj2
);
9614 if (PyErr_Occurred()) SWIG_fail
;
9618 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9624 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9636 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9637 PyObject
*resultobj
;
9638 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9639 wxString
*arg2
= 0 ;
9641 bool temp2
= False
;
9642 PyObject
* obj0
= 0 ;
9643 PyObject
* obj1
= 0 ;
9645 (char *) "self",(char *) "input", NULL
9648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
9649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9651 arg2
= wxString_in_helper(obj1
);
9652 if (arg2
== NULL
) SWIG_fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 result
= (arg1
)->Convert((wxString
const &)*arg2
);
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9664 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9666 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9683 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9684 PyObject
*resultobj
;
9686 int arg2
= (int) wxPLATFORM_CURRENT
;
9687 wxFontEncodingArray result
;
9688 PyObject
* obj0
= 0 ;
9689 PyObject
* obj1
= 0 ;
9691 (char *) "enc",(char *) "platform", NULL
9694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
9696 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
9697 if (PyErr_Occurred()) SWIG_fail
;
9701 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9713 resultobj
= PyList_New(0);
9714 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
9715 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
9716 PyList_Append(resultobj
, number
);
9726 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9727 PyObject
*resultobj
;
9729 wxFontEncodingArray result
;
9730 PyObject
* obj0
= 0 ;
9732 (char *) "enc", NULL
9735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
9737 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9742 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
9744 wxPyEndAllowThreads(__tstate
);
9745 if (PyErr_Occurred()) SWIG_fail
;
9748 resultobj
= PyList_New(0);
9749 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
9750 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
9751 PyList_Append(resultobj
, number
);
9761 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9762 PyObject
*resultobj
;
9766 PyObject
* obj0
= 0 ;
9767 PyObject
* obj1
= 0 ;
9769 (char *) "encIn",(char *) "encOut", NULL
9772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
9774 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
9775 if (PyErr_Occurred()) SWIG_fail
;
9778 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) SWIG_fail
;
9788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9795 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
9797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9798 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
9800 return Py_BuildValue((char *)"");
9802 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
;
9804 wxDC
*arg1
= (wxDC
*) 0 ;
9805 PyObject
* obj0
= 0 ;
9807 (char *) "self", NULL
9810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
9811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 wxPyEndAllowThreads(__tstate
);
9817 if (PyErr_Occurred()) SWIG_fail
;
9819 Py_INCREF(Py_None
); resultobj
= Py_None
;
9826 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9827 PyObject
*resultobj
;
9828 wxDC
*arg1
= (wxDC
*) 0 ;
9829 PyObject
* obj0
= 0 ;
9831 (char *) "self", NULL
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
9835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9838 (arg1
)->BeginDrawing();
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9843 Py_INCREF(Py_None
); resultobj
= Py_None
;
9850 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9851 PyObject
*resultobj
;
9852 wxDC
*arg1
= (wxDC
*) 0 ;
9853 PyObject
* obj0
= 0 ;
9855 (char *) "self", NULL
9858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
9859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 (arg1
)->EndDrawing();
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9867 Py_INCREF(Py_None
); resultobj
= Py_None
;
9874 static PyObject
*_wrap_DC_FloodFillXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9875 PyObject
*resultobj
;
9876 wxDC
*arg1
= (wxDC
*) 0 ;
9879 wxColour
*arg4
= 0 ;
9880 int arg5
= (int) wxFLOOD_SURFACE
;
9883 PyObject
* obj0
= 0 ;
9884 PyObject
* obj1
= 0 ;
9885 PyObject
* obj2
= 0 ;
9886 PyObject
* obj3
= 0 ;
9887 PyObject
* obj4
= 0 ;
9889 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
9892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFillXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9895 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9896 if (PyErr_Occurred()) SWIG_fail
;
9899 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9904 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
9908 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9926 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9927 PyObject
*resultobj
;
9928 wxDC
*arg1
= (wxDC
*) 0 ;
9930 wxColour
*arg3
= 0 ;
9931 int arg4
= (int) wxFLOOD_SURFACE
;
9935 PyObject
* obj0
= 0 ;
9936 PyObject
* obj1
= 0 ;
9937 PyObject
* obj2
= 0 ;
9938 PyObject
* obj3
= 0 ;
9940 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
9943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9947 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9951 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9955 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9956 if (PyErr_Occurred()) SWIG_fail
;
9960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9961 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
9963 wxPyEndAllowThreads(__tstate
);
9964 if (PyErr_Occurred()) SWIG_fail
;
9966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9973 static PyObject
*_wrap_DC_GetPixelXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9974 PyObject
*resultobj
;
9975 wxDC
*arg1
= (wxDC
*) 0 ;
9979 PyObject
* obj0
= 0 ;
9980 PyObject
* obj1
= 0 ;
9981 PyObject
* obj2
= 0 ;
9983 (char *) "self",(char *) "x",(char *) "y", NULL
9986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixelXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9989 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9990 if (PyErr_Occurred()) SWIG_fail
;
9993 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9994 if (PyErr_Occurred()) SWIG_fail
;
9997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9998 result
= wxDC_GetPixelXY(arg1
,arg2
,arg3
);
10000 wxPyEndAllowThreads(__tstate
);
10001 if (PyErr_Occurred()) SWIG_fail
;
10004 wxColour
* resultptr
;
10005 resultptr
= new wxColour((wxColour
&) result
);
10006 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10014 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10015 PyObject
*resultobj
;
10016 wxDC
*arg1
= (wxDC
*) 0 ;
10017 wxPoint
*arg2
= 0 ;
10020 PyObject
* obj0
= 0 ;
10021 PyObject
* obj1
= 0 ;
10022 char *kwnames
[] = {
10023 (char *) "self",(char *) "pt", NULL
10026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
;
10027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10030 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10034 result
= wxDC_GetPixel(arg1
,(wxPoint
const &)*arg2
);
10036 wxPyEndAllowThreads(__tstate
);
10037 if (PyErr_Occurred()) SWIG_fail
;
10040 wxColour
* resultptr
;
10041 resultptr
= new wxColour((wxColour
&) result
);
10042 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10050 static PyObject
*_wrap_DC_DrawLineXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10051 PyObject
*resultobj
;
10052 wxDC
*arg1
= (wxDC
*) 0 ;
10057 PyObject
* obj0
= 0 ;
10058 PyObject
* obj1
= 0 ;
10059 PyObject
* obj2
= 0 ;
10060 PyObject
* obj3
= 0 ;
10061 PyObject
* obj4
= 0 ;
10062 char *kwnames
[] = {
10063 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLineXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10069 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10070 if (PyErr_Occurred()) SWIG_fail
;
10073 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10077 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10078 if (PyErr_Occurred()) SWIG_fail
;
10081 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10082 if (PyErr_Occurred()) SWIG_fail
;
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10091 Py_INCREF(Py_None
); resultobj
= Py_None
;
10098 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10099 PyObject
*resultobj
;
10100 wxDC
*arg1
= (wxDC
*) 0 ;
10101 wxPoint
*arg2
= 0 ;
10102 wxPoint
*arg3
= 0 ;
10105 PyObject
* obj0
= 0 ;
10106 PyObject
* obj1
= 0 ;
10107 PyObject
* obj2
= 0 ;
10108 char *kwnames
[] = {
10109 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10116 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10120 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10124 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10129 Py_INCREF(Py_None
); resultobj
= Py_None
;
10136 static PyObject
*_wrap_DC_CrossHairXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10137 PyObject
*resultobj
;
10138 wxDC
*arg1
= (wxDC
*) 0 ;
10141 PyObject
* obj0
= 0 ;
10142 PyObject
* obj1
= 0 ;
10143 PyObject
* obj2
= 0 ;
10144 char *kwnames
[] = {
10145 (char *) "self",(char *) "x",(char *) "y", NULL
10148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHairXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10151 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10152 if (PyErr_Occurred()) SWIG_fail
;
10155 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10156 if (PyErr_Occurred()) SWIG_fail
;
10159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10160 (arg1
)->CrossHair(arg2
,arg3
);
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10165 Py_INCREF(Py_None
); resultobj
= Py_None
;
10172 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10173 PyObject
*resultobj
;
10174 wxDC
*arg1
= (wxDC
*) 0 ;
10175 wxPoint
*arg2
= 0 ;
10177 PyObject
* obj0
= 0 ;
10178 PyObject
* obj1
= 0 ;
10179 char *kwnames
[] = {
10180 (char *) "self",(char *) "pt", NULL
10183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
;
10184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10187 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10196 Py_INCREF(Py_None
); resultobj
= Py_None
;
10203 static PyObject
*_wrap_DC_DrawArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
*resultobj
;
10205 wxDC
*arg1
= (wxDC
*) 0 ;
10212 PyObject
* obj0
= 0 ;
10213 PyObject
* obj1
= 0 ;
10214 PyObject
* obj2
= 0 ;
10215 PyObject
* obj3
= 0 ;
10216 PyObject
* obj4
= 0 ;
10217 PyObject
* obj5
= 0 ;
10218 PyObject
* obj6
= 0 ;
10219 char *kwnames
[] = {
10220 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10226 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10230 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10234 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10238 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10239 if (PyErr_Occurred()) SWIG_fail
;
10242 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10246 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10251 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10253 wxPyEndAllowThreads(__tstate
);
10254 if (PyErr_Occurred()) SWIG_fail
;
10256 Py_INCREF(Py_None
); resultobj
= Py_None
;
10263 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10264 PyObject
*resultobj
;
10265 wxDC
*arg1
= (wxDC
*) 0 ;
10266 wxPoint
*arg2
= 0 ;
10267 wxPoint
*arg3
= 0 ;
10268 wxPoint
*arg4
= 0 ;
10272 PyObject
* obj0
= 0 ;
10273 PyObject
* obj1
= 0 ;
10274 PyObject
* obj2
= 0 ;
10275 PyObject
* obj3
= 0 ;
10276 char *kwnames
[] = {
10277 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10284 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10288 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10292 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10301 Py_INCREF(Py_None
); resultobj
= Py_None
;
10308 static PyObject
*_wrap_DC_DrawCheckMarkXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10309 PyObject
*resultobj
;
10310 wxDC
*arg1
= (wxDC
*) 0 ;
10315 PyObject
* obj0
= 0 ;
10316 PyObject
* obj1
= 0 ;
10317 PyObject
* obj2
= 0 ;
10318 PyObject
* obj3
= 0 ;
10319 PyObject
* obj4
= 0 ;
10320 char *kwnames
[] = {
10321 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMarkXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10327 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10331 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10335 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10339 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10340 if (PyErr_Occurred()) SWIG_fail
;
10343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10344 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10346 wxPyEndAllowThreads(__tstate
);
10347 if (PyErr_Occurred()) SWIG_fail
;
10349 Py_INCREF(Py_None
); resultobj
= Py_None
;
10356 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10357 PyObject
*resultobj
;
10358 wxDC
*arg1
= (wxDC
*) 0 ;
10361 PyObject
* obj0
= 0 ;
10362 PyObject
* obj1
= 0 ;
10363 char *kwnames
[] = {
10364 (char *) "self",(char *) "rect", NULL
10367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
;
10368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10371 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10375 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10377 wxPyEndAllowThreads(__tstate
);
10378 if (PyErr_Occurred()) SWIG_fail
;
10380 Py_INCREF(Py_None
); resultobj
= Py_None
;
10387 static PyObject
*_wrap_DC_DrawEllipticArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10388 PyObject
*resultobj
;
10389 wxDC
*arg1
= (wxDC
*) 0 ;
10396 PyObject
* obj0
= 0 ;
10397 PyObject
* obj1
= 0 ;
10398 PyObject
* obj2
= 0 ;
10399 PyObject
* obj3
= 0 ;
10400 PyObject
* obj4
= 0 ;
10401 PyObject
* obj5
= 0 ;
10402 PyObject
* obj6
= 0 ;
10403 char *kwnames
[] = {
10404 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10410 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10411 if (PyErr_Occurred()) SWIG_fail
;
10414 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10415 if (PyErr_Occurred()) SWIG_fail
;
10418 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10422 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10423 if (PyErr_Occurred()) SWIG_fail
;
10426 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
10427 if (PyErr_Occurred()) SWIG_fail
;
10430 arg7
= (double) SWIG_PyObj_AsDouble(obj6
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10440 Py_INCREF(Py_None
); resultobj
= Py_None
;
10447 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
;
10449 wxDC
*arg1
= (wxDC
*) 0 ;
10450 wxPoint
*arg2
= 0 ;
10456 PyObject
* obj0
= 0 ;
10457 PyObject
* obj1
= 0 ;
10458 PyObject
* obj2
= 0 ;
10459 PyObject
* obj3
= 0 ;
10460 PyObject
* obj4
= 0 ;
10461 char *kwnames
[] = {
10462 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
10465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10469 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10473 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10476 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10480 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10485 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
10487 wxPyEndAllowThreads(__tstate
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10490 Py_INCREF(Py_None
); resultobj
= Py_None
;
10497 static PyObject
*_wrap_DC_DrawPointXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10498 PyObject
*resultobj
;
10499 wxDC
*arg1
= (wxDC
*) 0 ;
10502 PyObject
* obj0
= 0 ;
10503 PyObject
* obj1
= 0 ;
10504 PyObject
* obj2
= 0 ;
10505 char *kwnames
[] = {
10506 (char *) "self",(char *) "x",(char *) "y", NULL
10509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPointXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10512 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10513 if (PyErr_Occurred()) SWIG_fail
;
10516 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10521 (arg1
)->DrawPoint(arg2
,arg3
);
10523 wxPyEndAllowThreads(__tstate
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10526 Py_INCREF(Py_None
); resultobj
= Py_None
;
10533 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10534 PyObject
*resultobj
;
10535 wxDC
*arg1
= (wxDC
*) 0 ;
10536 wxPoint
*arg2
= 0 ;
10538 PyObject
* obj0
= 0 ;
10539 PyObject
* obj1
= 0 ;
10540 char *kwnames
[] = {
10541 (char *) "self",(char *) "pt", NULL
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10548 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10552 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10554 wxPyEndAllowThreads(__tstate
);
10555 if (PyErr_Occurred()) SWIG_fail
;
10557 Py_INCREF(Py_None
); resultobj
= Py_None
;
10564 static PyObject
*_wrap_DC_DrawRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10565 PyObject
*resultobj
;
10566 wxDC
*arg1
= (wxDC
*) 0 ;
10571 PyObject
* obj0
= 0 ;
10572 PyObject
* obj1
= 0 ;
10573 PyObject
* obj2
= 0 ;
10574 PyObject
* obj3
= 0 ;
10575 PyObject
* obj4
= 0 ;
10576 char *kwnames
[] = {
10577 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10583 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10587 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10591 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10595 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10596 if (PyErr_Occurred()) SWIG_fail
;
10599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10600 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
10602 wxPyEndAllowThreads(__tstate
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10605 Py_INCREF(Py_None
); resultobj
= Py_None
;
10612 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10613 PyObject
*resultobj
;
10614 wxDC
*arg1
= (wxDC
*) 0 ;
10615 wxPoint
*arg2
= 0 ;
10619 PyObject
* obj0
= 0 ;
10620 PyObject
* obj1
= 0 ;
10621 PyObject
* obj2
= 0 ;
10622 char *kwnames
[] = {
10623 (char *) "self",(char *) "pt",(char *) "sz", NULL
10626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10630 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10634 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10638 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10640 wxPyEndAllowThreads(__tstate
);
10641 if (PyErr_Occurred()) SWIG_fail
;
10643 Py_INCREF(Py_None
); resultobj
= Py_None
;
10650 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10651 PyObject
*resultobj
;
10652 wxDC
*arg1
= (wxDC
*) 0 ;
10655 PyObject
* obj0
= 0 ;
10656 PyObject
* obj1
= 0 ;
10657 char *kwnames
[] = {
10658 (char *) "self",(char *) "rect", NULL
10661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10665 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10674 Py_INCREF(Py_None
); resultobj
= Py_None
;
10681 static PyObject
*_wrap_DC_DrawRoundedRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
*resultobj
;
10683 wxDC
*arg1
= (wxDC
*) 0 ;
10689 PyObject
* obj0
= 0 ;
10690 PyObject
* obj1
= 0 ;
10691 PyObject
* obj2
= 0 ;
10692 PyObject
* obj3
= 0 ;
10693 PyObject
* obj4
= 0 ;
10694 PyObject
* obj5
= 0 ;
10695 char *kwnames
[] = {
10696 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
10699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10702 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10703 if (PyErr_Occurred()) SWIG_fail
;
10706 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10710 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10714 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10718 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10723 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
10725 wxPyEndAllowThreads(__tstate
);
10726 if (PyErr_Occurred()) SWIG_fail
;
10728 Py_INCREF(Py_None
); resultobj
= Py_None
;
10735 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10736 PyObject
*resultobj
;
10737 wxDC
*arg1
= (wxDC
*) 0 ;
10738 wxPoint
*arg2
= 0 ;
10743 PyObject
* obj0
= 0 ;
10744 PyObject
* obj1
= 0 ;
10745 PyObject
* obj2
= 0 ;
10746 PyObject
* obj3
= 0 ;
10747 char *kwnames
[] = {
10748 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
10751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10755 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10759 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10762 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
10763 if (PyErr_Occurred()) SWIG_fail
;
10766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10767 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
10769 wxPyEndAllowThreads(__tstate
);
10770 if (PyErr_Occurred()) SWIG_fail
;
10772 Py_INCREF(Py_None
); resultobj
= Py_None
;
10779 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10780 PyObject
*resultobj
;
10781 wxDC
*arg1
= (wxDC
*) 0 ;
10785 PyObject
* obj0
= 0 ;
10786 PyObject
* obj1
= 0 ;
10787 PyObject
* obj2
= 0 ;
10788 char *kwnames
[] = {
10789 (char *) "self",(char *) "r",(char *) "radius", NULL
10792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10796 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10799 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10804 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
10806 wxPyEndAllowThreads(__tstate
);
10807 if (PyErr_Occurred()) SWIG_fail
;
10809 Py_INCREF(Py_None
); resultobj
= Py_None
;
10816 static PyObject
*_wrap_DC_DrawCircleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10817 PyObject
*resultobj
;
10818 wxDC
*arg1
= (wxDC
*) 0 ;
10822 PyObject
* obj0
= 0 ;
10823 PyObject
* obj1
= 0 ;
10824 PyObject
* obj2
= 0 ;
10825 PyObject
* obj3
= 0 ;
10826 char *kwnames
[] = {
10827 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
10830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10833 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10837 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10841 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10842 if (PyErr_Occurred()) SWIG_fail
;
10845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10846 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
10848 wxPyEndAllowThreads(__tstate
);
10849 if (PyErr_Occurred()) SWIG_fail
;
10851 Py_INCREF(Py_None
); resultobj
= Py_None
;
10858 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10859 PyObject
*resultobj
;
10860 wxDC
*arg1
= (wxDC
*) 0 ;
10861 wxPoint
*arg2
= 0 ;
10864 PyObject
* obj0
= 0 ;
10865 PyObject
* obj1
= 0 ;
10866 PyObject
* obj2
= 0 ;
10867 char *kwnames
[] = {
10868 (char *) "self",(char *) "pt",(char *) "radius", NULL
10871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10875 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10878 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10879 if (PyErr_Occurred()) SWIG_fail
;
10882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10883 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10888 Py_INCREF(Py_None
); resultobj
= Py_None
;
10895 static PyObject
*_wrap_DC_DrawEllipseXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10896 PyObject
*resultobj
;
10897 wxDC
*arg1
= (wxDC
*) 0 ;
10902 PyObject
* obj0
= 0 ;
10903 PyObject
* obj1
= 0 ;
10904 PyObject
* obj2
= 0 ;
10905 PyObject
* obj3
= 0 ;
10906 PyObject
* obj4
= 0 ;
10907 char *kwnames
[] = {
10908 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipseXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10914 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10915 if (PyErr_Occurred()) SWIG_fail
;
10918 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10922 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10923 if (PyErr_Occurred()) SWIG_fail
;
10926 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10936 Py_INCREF(Py_None
); resultobj
= Py_None
;
10943 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
*resultobj
;
10945 wxDC
*arg1
= (wxDC
*) 0 ;
10946 wxPoint
*arg2
= 0 ;
10950 PyObject
* obj0
= 0 ;
10951 PyObject
* obj1
= 0 ;
10952 PyObject
* obj2
= 0 ;
10953 char *kwnames
[] = {
10954 (char *) "self",(char *) "pt",(char *) "sz", NULL
10957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10961 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10965 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10969 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10971 wxPyEndAllowThreads(__tstate
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10974 Py_INCREF(Py_None
); resultobj
= Py_None
;
10981 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10982 PyObject
*resultobj
;
10983 wxDC
*arg1
= (wxDC
*) 0 ;
10986 PyObject
* obj0
= 0 ;
10987 PyObject
* obj1
= 0 ;
10988 char *kwnames
[] = {
10989 (char *) "self",(char *) "rect", NULL
10992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10996 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11005 Py_INCREF(Py_None
); resultobj
= Py_None
;
11012 static PyObject
*_wrap_DC_DrawIconXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
*resultobj
;
11014 wxDC
*arg1
= (wxDC
*) 0 ;
11018 PyObject
* obj0
= 0 ;
11019 PyObject
* obj1
= 0 ;
11020 PyObject
* obj2
= 0 ;
11021 PyObject
* obj3
= 0 ;
11022 char *kwnames
[] = {
11023 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11028 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11029 if (arg2
== NULL
) {
11030 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11033 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11037 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11042 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11044 wxPyEndAllowThreads(__tstate
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11047 Py_INCREF(Py_None
); resultobj
= Py_None
;
11054 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11055 PyObject
*resultobj
;
11056 wxDC
*arg1
= (wxDC
*) 0 ;
11058 wxPoint
*arg3
= 0 ;
11060 PyObject
* obj0
= 0 ;
11061 PyObject
* obj1
= 0 ;
11062 PyObject
* obj2
= 0 ;
11063 char *kwnames
[] = {
11064 (char *) "self",(char *) "icon",(char *) "pt", NULL
11067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11069 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11070 if (arg2
== NULL
) {
11071 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11075 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11079 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11081 wxPyEndAllowThreads(__tstate
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11084 Py_INCREF(Py_None
); resultobj
= Py_None
;
11091 static PyObject
*_wrap_DC_DrawBitmapXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11092 PyObject
*resultobj
;
11093 wxDC
*arg1
= (wxDC
*) 0 ;
11094 wxBitmap
*arg2
= 0 ;
11097 bool arg5
= (bool) False
;
11098 PyObject
* obj0
= 0 ;
11099 PyObject
* obj1
= 0 ;
11100 PyObject
* obj2
= 0 ;
11101 PyObject
* obj3
= 0 ;
11102 PyObject
* obj4
= 0 ;
11103 char *kwnames
[] = {
11104 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmapXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11109 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11110 if (arg2
== NULL
) {
11111 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11114 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11115 if (PyErr_Occurred()) SWIG_fail
;
11118 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11119 if (PyErr_Occurred()) SWIG_fail
;
11123 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11129 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11134 Py_INCREF(Py_None
); resultobj
= Py_None
;
11141 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11142 PyObject
*resultobj
;
11143 wxDC
*arg1
= (wxDC
*) 0 ;
11144 wxBitmap
*arg2
= 0 ;
11145 wxPoint
*arg3
= 0 ;
11146 bool arg4
= (bool) False
;
11148 PyObject
* obj0
= 0 ;
11149 PyObject
* obj1
= 0 ;
11150 PyObject
* obj2
= 0 ;
11151 PyObject
* obj3
= 0 ;
11152 char *kwnames
[] = {
11153 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11158 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11159 if (arg2
== NULL
) {
11160 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11164 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11168 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
11169 if (PyErr_Occurred()) SWIG_fail
;
11173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11179 Py_INCREF(Py_None
); resultobj
= Py_None
;
11186 static PyObject
*_wrap_DC_DrawTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
*resultobj
;
11188 wxDC
*arg1
= (wxDC
*) 0 ;
11189 wxString
*arg2
= 0 ;
11192 bool temp2
= False
;
11193 PyObject
* obj0
= 0 ;
11194 PyObject
* obj1
= 0 ;
11195 PyObject
* obj2
= 0 ;
11196 PyObject
* obj3
= 0 ;
11197 char *kwnames
[] = {
11198 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11204 arg2
= wxString_in_helper(obj1
);
11205 if (arg2
== NULL
) SWIG_fail
;
11209 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11213 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11214 if (PyErr_Occurred()) SWIG_fail
;
11217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11218 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11220 wxPyEndAllowThreads(__tstate
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11223 Py_INCREF(Py_None
); resultobj
= Py_None
;
11238 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11239 PyObject
*resultobj
;
11240 wxDC
*arg1
= (wxDC
*) 0 ;
11241 wxString
*arg2
= 0 ;
11242 wxPoint
*arg3
= 0 ;
11243 bool temp2
= False
;
11245 PyObject
* obj0
= 0 ;
11246 PyObject
* obj1
= 0 ;
11247 PyObject
* obj2
= 0 ;
11248 char *kwnames
[] = {
11249 (char *) "self",(char *) "text",(char *) "pt", NULL
11252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11255 arg2
= wxString_in_helper(obj1
);
11256 if (arg2
== NULL
) SWIG_fail
;
11261 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11265 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11267 wxPyEndAllowThreads(__tstate
);
11268 if (PyErr_Occurred()) SWIG_fail
;
11270 Py_INCREF(Py_None
); resultobj
= Py_None
;
11285 static PyObject
*_wrap_DC_DrawRotatedTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11286 PyObject
*resultobj
;
11287 wxDC
*arg1
= (wxDC
*) 0 ;
11288 wxString
*arg2
= 0 ;
11292 bool temp2
= False
;
11293 PyObject
* obj0
= 0 ;
11294 PyObject
* obj1
= 0 ;
11295 PyObject
* obj2
= 0 ;
11296 PyObject
* obj3
= 0 ;
11297 PyObject
* obj4
= 0 ;
11298 char *kwnames
[] = {
11299 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11305 arg2
= wxString_in_helper(obj1
);
11306 if (arg2
== NULL
) SWIG_fail
;
11310 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11314 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11318 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11323 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11325 wxPyEndAllowThreads(__tstate
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11328 Py_INCREF(Py_None
); resultobj
= Py_None
;
11343 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11344 PyObject
*resultobj
;
11345 wxDC
*arg1
= (wxDC
*) 0 ;
11346 wxString
*arg2
= 0 ;
11347 wxPoint
*arg3
= 0 ;
11349 bool temp2
= False
;
11351 PyObject
* obj0
= 0 ;
11352 PyObject
* obj1
= 0 ;
11353 PyObject
* obj2
= 0 ;
11354 PyObject
* obj3
= 0 ;
11355 char *kwnames
[] = {
11356 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11362 arg2
= wxString_in_helper(obj1
);
11363 if (arg2
== NULL
) SWIG_fail
;
11368 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11371 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11376 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11378 wxPyEndAllowThreads(__tstate
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11381 Py_INCREF(Py_None
); resultobj
= Py_None
;
11396 static PyObject
*_wrap_DC_BlitXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11397 PyObject
*resultobj
;
11398 wxDC
*arg1
= (wxDC
*) 0 ;
11403 wxDC
*arg6
= (wxDC
*) 0 ;
11406 int arg9
= (int) wxCOPY
;
11407 bool arg10
= (bool) False
;
11408 int arg11
= (int) -1 ;
11409 int arg12
= (int) -1 ;
11411 PyObject
* obj0
= 0 ;
11412 PyObject
* obj1
= 0 ;
11413 PyObject
* obj2
= 0 ;
11414 PyObject
* obj3
= 0 ;
11415 PyObject
* obj4
= 0 ;
11416 PyObject
* obj5
= 0 ;
11417 PyObject
* obj6
= 0 ;
11418 PyObject
* obj7
= 0 ;
11419 PyObject
* obj8
= 0 ;
11420 PyObject
* obj9
= 0 ;
11421 PyObject
* obj10
= 0 ;
11422 PyObject
* obj11
= 0 ;
11423 char *kwnames
[] = {
11424 (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
11427 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
;
11428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11430 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11434 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11438 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11439 if (PyErr_Occurred()) SWIG_fail
;
11442 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11445 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11447 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11451 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11456 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
11457 if (PyErr_Occurred()) SWIG_fail
;
11462 arg10
= (bool) SWIG_PyObj_AsBool(obj9
);
11463 if (PyErr_Occurred()) SWIG_fail
;
11468 arg11
= (int) SWIG_PyObj_AsInt(obj10
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11474 arg12
= (int) SWIG_PyObj_AsInt(obj11
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11480 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
11482 wxPyEndAllowThreads(__tstate
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11492 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11493 PyObject
*resultobj
;
11494 wxDC
*arg1
= (wxDC
*) 0 ;
11495 wxPoint
*arg2
= 0 ;
11497 wxDC
*arg4
= (wxDC
*) 0 ;
11498 wxPoint
*arg5
= 0 ;
11499 int arg6
= (int) wxCOPY
;
11500 bool arg7
= (bool) False
;
11501 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
11502 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
11508 PyObject
* obj0
= 0 ;
11509 PyObject
* obj1
= 0 ;
11510 PyObject
* obj2
= 0 ;
11511 PyObject
* obj3
= 0 ;
11512 PyObject
* obj4
= 0 ;
11513 PyObject
* obj5
= 0 ;
11514 PyObject
* obj6
= 0 ;
11515 PyObject
* obj7
= 0 ;
11516 char *kwnames
[] = {
11517 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11524 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11528 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11530 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11533 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11537 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11543 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11550 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11567 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11568 PyObject
*resultobj
;
11569 wxDC
*arg1
= (wxDC
*) 0 ;
11571 wxPoint
*arg3
= (wxPoint
*) 0 ;
11572 int arg4
= (int) 0 ;
11573 int arg5
= (int) 0 ;
11574 PyObject
* obj0
= 0 ;
11575 PyObject
* obj1
= 0 ;
11576 PyObject
* obj2
= 0 ;
11577 PyObject
* obj3
= 0 ;
11578 char *kwnames
[] = {
11579 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
11582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11585 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11586 if (arg3
== NULL
) SWIG_fail
;
11590 arg4
= (int) SWIG_PyObj_AsInt(obj2
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11596 arg5
= (int) SWIG_PyObj_AsInt(obj3
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11602 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11607 Py_INCREF(Py_None
); resultobj
= Py_None
;
11609 if (arg3
) delete [] arg3
;
11614 if (arg3
) delete [] arg3
;
11620 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11621 PyObject
*resultobj
;
11622 wxDC
*arg1
= (wxDC
*) 0 ;
11624 wxPoint
*arg3
= (wxPoint
*) 0 ;
11625 int arg4
= (int) 0 ;
11626 int arg5
= (int) 0 ;
11627 int arg6
= (int) wxODDEVEN_RULE
;
11628 PyObject
* obj0
= 0 ;
11629 PyObject
* obj1
= 0 ;
11630 PyObject
* obj2
= 0 ;
11631 PyObject
* obj3
= 0 ;
11632 PyObject
* obj4
= 0 ;
11633 char *kwnames
[] = {
11634 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
11637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11640 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11641 if (arg3
== NULL
) SWIG_fail
;
11645 arg4
= (int) SWIG_PyObj_AsInt(obj2
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11651 arg5
= (int) SWIG_PyObj_AsInt(obj3
);
11652 if (PyErr_Occurred()) SWIG_fail
;
11657 arg6
= (int) SWIG_PyObj_AsInt(obj4
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11663 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
11665 wxPyEndAllowThreads(__tstate
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11668 Py_INCREF(Py_None
); resultobj
= Py_None
;
11670 if (arg3
) delete [] arg3
;
11675 if (arg3
) delete [] arg3
;
11681 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11682 PyObject
*resultobj
;
11683 wxDC
*arg1
= (wxDC
*) 0 ;
11684 wxString
*arg2
= 0 ;
11686 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
11687 int arg5
= (int) -1 ;
11688 bool temp2
= False
;
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 *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
11699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",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 arg2
= wxString_in_helper(obj1
);
11703 if (arg2
== NULL
) SWIG_fail
;
11708 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
11712 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11718 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11719 if (PyErr_Occurred()) SWIG_fail
;
11723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11724 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
11726 wxPyEndAllowThreads(__tstate
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11729 Py_INCREF(Py_None
); resultobj
= Py_None
;
11744 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11745 PyObject
*resultobj
;
11746 wxDC
*arg1
= (wxDC
*) 0 ;
11747 wxString
*arg2
= 0 ;
11748 wxBitmap
*arg3
= 0 ;
11750 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
11751 int arg6
= (int) -1 ;
11753 bool temp2
= False
;
11755 PyObject
* obj0
= 0 ;
11756 PyObject
* obj1
= 0 ;
11757 PyObject
* obj2
= 0 ;
11758 PyObject
* obj3
= 0 ;
11759 PyObject
* obj4
= 0 ;
11760 PyObject
* obj5
= 0 ;
11761 char *kwnames
[] = {
11762 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
11765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11768 arg2
= wxString_in_helper(obj1
);
11769 if (arg2
== NULL
) SWIG_fail
;
11772 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11773 if (arg3
== NULL
) {
11774 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11778 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
11782 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11788 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11789 if (PyErr_Occurred()) SWIG_fail
;
11793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11794 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
11796 wxPyEndAllowThreads(__tstate
);
11797 if (PyErr_Occurred()) SWIG_fail
;
11800 wxRect
* resultptr
;
11801 resultptr
= new wxRect((wxRect
&) result
);
11802 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
11818 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11819 PyObject
*resultobj
;
11820 wxDC
*arg1
= (wxDC
*) 0 ;
11822 wxPoint
*arg3
= (wxPoint
*) 0 ;
11823 PyObject
* obj0
= 0 ;
11824 PyObject
* obj1
= 0 ;
11825 char *kwnames
[] = {
11826 (char *) "self",(char *) "points", NULL
11829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
11830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11832 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11833 if (arg3
== NULL
) SWIG_fail
;
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 (arg1
)->DrawSpline(arg2
,arg3
);
11839 wxPyEndAllowThreads(__tstate
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11842 Py_INCREF(Py_None
); resultobj
= Py_None
;
11844 if (arg3
) delete [] arg3
;
11849 if (arg3
) delete [] arg3
;
11855 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11856 PyObject
*resultobj
;
11857 wxDC
*arg1
= (wxDC
*) 0 ;
11858 PyObject
* obj0
= 0 ;
11859 char *kwnames
[] = {
11860 (char *) "self", NULL
11863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
11864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 Py_INCREF(Py_None
); resultobj
= Py_None
;
11879 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11880 PyObject
*resultobj
;
11881 wxDC
*arg1
= (wxDC
*) 0 ;
11882 wxString
*arg2
= 0 ;
11884 bool temp2
= False
;
11885 PyObject
* obj0
= 0 ;
11886 PyObject
* obj1
= 0 ;
11887 char *kwnames
[] = {
11888 (char *) "self",(char *) "message", NULL
11891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
11892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11894 arg2
= wxString_in_helper(obj1
);
11895 if (arg2
== NULL
) SWIG_fail
;
11899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11900 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11920 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11921 PyObject
*resultobj
;
11922 wxDC
*arg1
= (wxDC
*) 0 ;
11923 PyObject
* obj0
= 0 ;
11924 char *kwnames
[] = {
11925 (char *) "self", NULL
11928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
11929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11934 wxPyEndAllowThreads(__tstate
);
11935 if (PyErr_Occurred()) SWIG_fail
;
11937 Py_INCREF(Py_None
); resultobj
= Py_None
;
11944 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11945 PyObject
*resultobj
;
11946 wxDC
*arg1
= (wxDC
*) 0 ;
11947 PyObject
* obj0
= 0 ;
11948 char *kwnames
[] = {
11949 (char *) "self", NULL
11952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
11953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11956 (arg1
)->StartPage();
11958 wxPyEndAllowThreads(__tstate
);
11959 if (PyErr_Occurred()) SWIG_fail
;
11961 Py_INCREF(Py_None
); resultobj
= Py_None
;
11968 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11969 PyObject
*resultobj
;
11970 wxDC
*arg1
= (wxDC
*) 0 ;
11971 PyObject
* obj0
= 0 ;
11972 char *kwnames
[] = {
11973 (char *) "self", NULL
11976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
11977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11982 wxPyEndAllowThreads(__tstate
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11985 Py_INCREF(Py_None
); resultobj
= Py_None
;
11992 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11993 PyObject
*resultobj
;
11994 wxDC
*arg1
= (wxDC
*) 0 ;
11996 PyObject
* obj0
= 0 ;
11997 PyObject
* obj1
= 0 ;
11998 char *kwnames
[] = {
11999 (char *) "self",(char *) "font", NULL
12002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12004 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12005 if (arg2
== NULL
) {
12006 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12010 (arg1
)->SetFont((wxFont
const &)*arg2
);
12012 wxPyEndAllowThreads(__tstate
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12015 Py_INCREF(Py_None
); resultobj
= Py_None
;
12022 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12023 PyObject
*resultobj
;
12024 wxDC
*arg1
= (wxDC
*) 0 ;
12026 PyObject
* obj0
= 0 ;
12027 PyObject
* obj1
= 0 ;
12028 char *kwnames
[] = {
12029 (char *) "self",(char *) "pen", NULL
12032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12034 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12035 if (arg2
== NULL
) {
12036 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12040 (arg1
)->SetPen((wxPen
const &)*arg2
);
12042 wxPyEndAllowThreads(__tstate
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12045 Py_INCREF(Py_None
); resultobj
= Py_None
;
12052 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12053 PyObject
*resultobj
;
12054 wxDC
*arg1
= (wxDC
*) 0 ;
12055 wxBrush
*arg2
= 0 ;
12056 PyObject
* obj0
= 0 ;
12057 PyObject
* obj1
= 0 ;
12058 char *kwnames
[] = {
12059 (char *) "self",(char *) "brush", NULL
12062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12064 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12065 if (arg2
== NULL
) {
12066 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12070 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12072 wxPyEndAllowThreads(__tstate
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12075 Py_INCREF(Py_None
); resultobj
= Py_None
;
12082 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12083 PyObject
*resultobj
;
12084 wxDC
*arg1
= (wxDC
*) 0 ;
12085 wxBrush
*arg2
= 0 ;
12086 PyObject
* obj0
= 0 ;
12087 PyObject
* obj1
= 0 ;
12088 char *kwnames
[] = {
12089 (char *) "self",(char *) "brush", NULL
12092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12094 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12095 if (arg2
== NULL
) {
12096 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12100 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12102 wxPyEndAllowThreads(__tstate
);
12103 if (PyErr_Occurred()) SWIG_fail
;
12105 Py_INCREF(Py_None
); resultobj
= Py_None
;
12112 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12113 PyObject
*resultobj
;
12114 wxDC
*arg1
= (wxDC
*) 0 ;
12116 PyObject
* obj0
= 0 ;
12117 PyObject
* obj1
= 0 ;
12118 char *kwnames
[] = {
12119 (char *) "self",(char *) "mode", NULL
12122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12125 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12130 (arg1
)->SetBackgroundMode(arg2
);
12132 wxPyEndAllowThreads(__tstate
);
12133 if (PyErr_Occurred()) SWIG_fail
;
12135 Py_INCREF(Py_None
); resultobj
= Py_None
;
12142 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12143 PyObject
*resultobj
;
12144 wxDC
*arg1
= (wxDC
*) 0 ;
12145 wxPalette
*arg2
= 0 ;
12146 PyObject
* obj0
= 0 ;
12147 PyObject
* obj1
= 0 ;
12148 char *kwnames
[] = {
12149 (char *) "self",(char *) "palette", NULL
12152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12154 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12155 if (arg2
== NULL
) {
12156 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12165 Py_INCREF(Py_None
); resultobj
= Py_None
;
12172 static PyObject
*_wrap_DC_SetClippingRegionXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12173 PyObject
*resultobj
;
12174 wxDC
*arg1
= (wxDC
*) 0 ;
12179 PyObject
* obj0
= 0 ;
12180 PyObject
* obj1
= 0 ;
12181 PyObject
* obj2
= 0 ;
12182 PyObject
* obj3
= 0 ;
12183 PyObject
* obj4
= 0 ;
12184 char *kwnames
[] = {
12185 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegionXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12191 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12195 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12196 if (PyErr_Occurred()) SWIG_fail
;
12199 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12200 if (PyErr_Occurred()) SWIG_fail
;
12203 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12204 if (PyErr_Occurred()) SWIG_fail
;
12207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12208 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12210 wxPyEndAllowThreads(__tstate
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12213 Py_INCREF(Py_None
); resultobj
= Py_None
;
12220 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12221 PyObject
*resultobj
;
12222 wxDC
*arg1
= (wxDC
*) 0 ;
12223 wxPoint
*arg2
= 0 ;
12227 PyObject
* obj0
= 0 ;
12228 PyObject
* obj1
= 0 ;
12229 PyObject
* obj2
= 0 ;
12230 char *kwnames
[] = {
12231 (char *) "self",(char *) "pt",(char *) "sz", NULL
12234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12238 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12242 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12246 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12251 Py_INCREF(Py_None
); resultobj
= Py_None
;
12258 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
;
12260 wxDC
*arg1
= (wxDC
*) 0 ;
12263 PyObject
* obj0
= 0 ;
12264 PyObject
* obj1
= 0 ;
12265 char *kwnames
[] = {
12266 (char *) "self",(char *) "rect", NULL
12269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12273 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12279 wxPyEndAllowThreads(__tstate
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12282 Py_INCREF(Py_None
); resultobj
= Py_None
;
12289 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12290 PyObject
*resultobj
;
12291 wxDC
*arg1
= (wxDC
*) 0 ;
12292 wxRegion
*arg2
= 0 ;
12293 PyObject
* obj0
= 0 ;
12294 PyObject
* obj1
= 0 ;
12295 char *kwnames
[] = {
12296 (char *) "self",(char *) "region", NULL
12299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12301 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12302 if (arg2
== NULL
) {
12303 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12307 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12309 wxPyEndAllowThreads(__tstate
);
12310 if (PyErr_Occurred()) SWIG_fail
;
12312 Py_INCREF(Py_None
); resultobj
= Py_None
;
12319 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12320 PyObject
*resultobj
;
12321 wxDC
*arg1
= (wxDC
*) 0 ;
12322 PyObject
* obj0
= 0 ;
12323 char *kwnames
[] = {
12324 (char *) "self", NULL
12327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12331 (arg1
)->DestroyClippingRegion();
12333 wxPyEndAllowThreads(__tstate
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12336 Py_INCREF(Py_None
); resultobj
= Py_None
;
12343 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12344 PyObject
*resultobj
;
12345 wxDC
*arg1
= (wxDC
*) 0 ;
12346 int *arg2
= (int *) 0 ;
12347 int *arg3
= (int *) 0 ;
12348 int *arg4
= (int *) 0 ;
12349 int *arg5
= (int *) 0 ;
12354 PyObject
* obj0
= 0 ;
12355 char *kwnames
[] = {
12356 (char *) "self", NULL
12363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12369 wxPyEndAllowThreads(__tstate
);
12370 if (PyErr_Occurred()) SWIG_fail
;
12372 Py_INCREF(Py_None
); resultobj
= Py_None
;
12374 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12375 resultobj
= t_output_helper(resultobj
,o
);
12378 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12379 resultobj
= t_output_helper(resultobj
,o
);
12382 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12383 resultobj
= t_output_helper(resultobj
,o
);
12386 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12387 resultobj
= t_output_helper(resultobj
,o
);
12395 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12396 PyObject
*resultobj
;
12397 wxDC
*arg1
= (wxDC
*) 0 ;
12399 PyObject
* obj0
= 0 ;
12400 char *kwnames
[] = {
12401 (char *) "self", NULL
12404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12408 result
= wxDC_GetClippingRect(arg1
);
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12414 wxRect
* resultptr
;
12415 resultptr
= new wxRect((wxRect
&) result
);
12416 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
12424 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12425 PyObject
*resultobj
;
12426 wxDC
*arg1
= (wxDC
*) 0 ;
12428 PyObject
* obj0
= 0 ;
12429 char *kwnames
[] = {
12430 (char *) "self", NULL
12433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12437 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
12439 wxPyEndAllowThreads(__tstate
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12442 resultobj
= SWIG_PyObj_FromInt((int)result
);
12449 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12450 PyObject
*resultobj
;
12451 wxDC
*arg1
= (wxDC
*) 0 ;
12453 PyObject
* obj0
= 0 ;
12454 char *kwnames
[] = {
12455 (char *) "self", NULL
12458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
12459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 resultobj
= SWIG_PyObj_FromInt((int)result
);
12474 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12475 PyObject
*resultobj
;
12476 wxDC
*arg1
= (wxDC
*) 0 ;
12477 wxString
*arg2
= 0 ;
12478 int *arg3
= (int *) 0 ;
12479 int *arg4
= (int *) 0 ;
12480 bool temp2
= False
;
12483 PyObject
* obj0
= 0 ;
12484 PyObject
* obj1
= 0 ;
12485 char *kwnames
[] = {
12486 (char *) "self",(char *) "string", NULL
12491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
12492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12494 arg2
= wxString_in_helper(obj1
);
12495 if (arg2
== NULL
) SWIG_fail
;
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
12502 wxPyEndAllowThreads(__tstate
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12505 Py_INCREF(Py_None
); resultobj
= Py_None
;
12507 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12508 resultobj
= t_output_helper(resultobj
,o
);
12511 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12512 resultobj
= t_output_helper(resultobj
,o
);
12528 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12529 PyObject
*resultobj
;
12530 wxDC
*arg1
= (wxDC
*) 0 ;
12531 wxString
*arg2
= 0 ;
12532 int *arg3
= (int *) 0 ;
12533 int *arg4
= (int *) 0 ;
12534 int *arg5
= (int *) 0 ;
12535 int *arg6
= (int *) 0 ;
12536 wxFont
*arg7
= (wxFont
*) NULL
;
12537 bool temp2
= False
;
12542 PyObject
* obj0
= 0 ;
12543 PyObject
* obj1
= 0 ;
12544 PyObject
* obj2
= 0 ;
12545 char *kwnames
[] = {
12546 (char *) "self",(char *) "string",(char *) "font", NULL
12553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) 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 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12565 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12570 Py_INCREF(Py_None
); resultobj
= Py_None
;
12572 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12573 resultobj
= t_output_helper(resultobj
,o
);
12576 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12577 resultobj
= t_output_helper(resultobj
,o
);
12580 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12581 resultobj
= t_output_helper(resultobj
,o
);
12584 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
12585 resultobj
= t_output_helper(resultobj
,o
);
12601 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12602 PyObject
*resultobj
;
12603 wxDC
*arg1
= (wxDC
*) 0 ;
12604 wxString
*arg2
= 0 ;
12605 int *arg3
= (int *) 0 ;
12606 int *arg4
= (int *) 0 ;
12607 int *arg5
= (int *) 0 ;
12608 wxFont
*arg6
= (wxFont
*) NULL
;
12609 bool temp2
= False
;
12613 PyObject
* obj0
= 0 ;
12614 PyObject
* obj1
= 0 ;
12615 PyObject
* obj2
= 0 ;
12616 char *kwnames
[] = {
12617 (char *) "self",(char *) "text",(char *) "font", NULL
12623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12626 arg2
= wxString_in_helper(obj1
);
12627 if (arg2
== NULL
) SWIG_fail
;
12631 if ((SWIG_ConvertPtr(obj2
,(void **) &arg6
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
12637 wxPyEndAllowThreads(__tstate
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12640 Py_INCREF(Py_None
); resultobj
= Py_None
;
12642 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12643 resultobj
= t_output_helper(resultobj
,o
);
12646 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12647 resultobj
= t_output_helper(resultobj
,o
);
12650 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12651 resultobj
= t_output_helper(resultobj
,o
);
12667 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12668 PyObject
*resultobj
;
12669 wxDC
*arg1
= (wxDC
*) 0 ;
12670 wxString
*arg2
= 0 ;
12672 bool temp2
= False
;
12673 PyObject
* obj0
= 0 ;
12674 PyObject
* obj1
= 0 ;
12675 char *kwnames
[] = {
12676 (char *) "self",(char *) "text", NULL
12679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
12680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12682 arg2
= wxString_in_helper(obj1
);
12683 if (arg2
== NULL
) SWIG_fail
;
12687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12688 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12694 resultobj
= PyList_New(0);
12696 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
12697 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
12698 PyList_Append(resultobj
, val
);
12716 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12717 PyObject
*resultobj
;
12718 wxDC
*arg1
= (wxDC
*) 0 ;
12720 PyObject
* obj0
= 0 ;
12721 char *kwnames
[] = {
12722 (char *) "self", NULL
12725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
12726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 result
= (arg1
)->GetSize();
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12735 wxSize
* resultptr
;
12736 resultptr
= new wxSize((wxSize
&) result
);
12737 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12745 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12746 PyObject
*resultobj
;
12747 wxDC
*arg1
= (wxDC
*) 0 ;
12748 int *arg2
= (int *) 0 ;
12749 int *arg3
= (int *) 0 ;
12752 PyObject
* obj0
= 0 ;
12753 char *kwnames
[] = {
12754 (char *) "self", NULL
12759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
12760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12763 (arg1
)->GetSize(arg2
,arg3
);
12765 wxPyEndAllowThreads(__tstate
);
12766 if (PyErr_Occurred()) SWIG_fail
;
12768 Py_INCREF(Py_None
); resultobj
= Py_None
;
12770 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12771 resultobj
= t_output_helper(resultobj
,o
);
12774 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12775 resultobj
= t_output_helper(resultobj
,o
);
12783 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12784 PyObject
*resultobj
;
12785 wxDC
*arg1
= (wxDC
*) 0 ;
12787 PyObject
* obj0
= 0 ;
12788 char *kwnames
[] = {
12789 (char *) "self", NULL
12792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
12793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12796 result
= ((wxDC
const *)arg1
)->GetSizeMM();
12798 wxPyEndAllowThreads(__tstate
);
12799 if (PyErr_Occurred()) SWIG_fail
;
12802 wxSize
* resultptr
;
12803 resultptr
= new wxSize((wxSize
&) result
);
12804 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12812 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
;
12814 wxDC
*arg1
= (wxDC
*) 0 ;
12815 int *arg2
= (int *) 0 ;
12816 int *arg3
= (int *) 0 ;
12819 PyObject
* obj0
= 0 ;
12820 char *kwnames
[] = {
12821 (char *) "self", NULL
12826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
12827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12830 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
12832 wxPyEndAllowThreads(__tstate
);
12833 if (PyErr_Occurred()) SWIG_fail
;
12835 Py_INCREF(Py_None
); resultobj
= Py_None
;
12837 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12838 resultobj
= t_output_helper(resultobj
,o
);
12841 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12842 resultobj
= t_output_helper(resultobj
,o
);
12850 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12851 PyObject
*resultobj
;
12852 wxDC
*arg1
= (wxDC
*) 0 ;
12855 PyObject
* obj0
= 0 ;
12856 PyObject
* obj1
= 0 ;
12857 char *kwnames
[] = {
12858 (char *) "self",(char *) "x", NULL
12861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
12862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12864 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12865 if (PyErr_Occurred()) SWIG_fail
;
12868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12869 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
12871 wxPyEndAllowThreads(__tstate
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12874 resultobj
= SWIG_PyObj_FromInt((int)result
);
12881 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12882 PyObject
*resultobj
;
12883 wxDC
*arg1
= (wxDC
*) 0 ;
12886 PyObject
* obj0
= 0 ;
12887 PyObject
* obj1
= 0 ;
12888 char *kwnames
[] = {
12889 (char *) "self",(char *) "y", NULL
12892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
12893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12895 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12900 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
12902 wxPyEndAllowThreads(__tstate
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12905 resultobj
= SWIG_PyObj_FromInt((int)result
);
12912 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12913 PyObject
*resultobj
;
12914 wxDC
*arg1
= (wxDC
*) 0 ;
12917 PyObject
* obj0
= 0 ;
12918 PyObject
* obj1
= 0 ;
12919 char *kwnames
[] = {
12920 (char *) "self",(char *) "x", NULL
12923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
12924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12926 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12936 resultobj
= SWIG_PyObj_FromInt((int)result
);
12943 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12944 PyObject
*resultobj
;
12945 wxDC
*arg1
= (wxDC
*) 0 ;
12948 PyObject
* obj0
= 0 ;
12949 PyObject
* obj1
= 0 ;
12950 char *kwnames
[] = {
12951 (char *) "self",(char *) "y", NULL
12954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
12955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12957 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12958 if (PyErr_Occurred()) SWIG_fail
;
12961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12962 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
12964 wxPyEndAllowThreads(__tstate
);
12965 if (PyErr_Occurred()) SWIG_fail
;
12967 resultobj
= SWIG_PyObj_FromInt((int)result
);
12974 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12975 PyObject
*resultobj
;
12976 wxDC
*arg1
= (wxDC
*) 0 ;
12979 PyObject
* obj0
= 0 ;
12980 PyObject
* obj1
= 0 ;
12981 char *kwnames
[] = {
12982 (char *) "self",(char *) "x", NULL
12985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
12986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12988 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12993 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
12995 wxPyEndAllowThreads(__tstate
);
12996 if (PyErr_Occurred()) SWIG_fail
;
12998 resultobj
= SWIG_PyObj_FromInt((int)result
);
13005 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13006 PyObject
*resultobj
;
13007 wxDC
*arg1
= (wxDC
*) 0 ;
13010 PyObject
* obj0
= 0 ;
13011 PyObject
* obj1
= 0 ;
13012 char *kwnames
[] = {
13013 (char *) "self",(char *) "y", NULL
13016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13019 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13024 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13026 wxPyEndAllowThreads(__tstate
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13029 resultobj
= SWIG_PyObj_FromInt((int)result
);
13036 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13037 PyObject
*resultobj
;
13038 wxDC
*arg1
= (wxDC
*) 0 ;
13041 PyObject
* obj0
= 0 ;
13042 PyObject
* obj1
= 0 ;
13043 char *kwnames
[] = {
13044 (char *) "self",(char *) "x", NULL
13047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13050 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13051 if (PyErr_Occurred()) SWIG_fail
;
13054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13055 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13057 wxPyEndAllowThreads(__tstate
);
13058 if (PyErr_Occurred()) SWIG_fail
;
13060 resultobj
= SWIG_PyObj_FromInt((int)result
);
13067 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13068 PyObject
*resultobj
;
13069 wxDC
*arg1
= (wxDC
*) 0 ;
13072 PyObject
* obj0
= 0 ;
13073 PyObject
* obj1
= 0 ;
13074 char *kwnames
[] = {
13075 (char *) "self",(char *) "y", NULL
13078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13081 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13082 if (PyErr_Occurred()) SWIG_fail
;
13085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13086 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13088 wxPyEndAllowThreads(__tstate
);
13089 if (PyErr_Occurred()) SWIG_fail
;
13091 resultobj
= SWIG_PyObj_FromInt((int)result
);
13098 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13099 PyObject
*resultobj
;
13100 wxDC
*arg1
= (wxDC
*) 0 ;
13102 PyObject
* obj0
= 0 ;
13103 char *kwnames
[] = {
13104 (char *) "self", NULL
13107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13111 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13113 wxPyEndAllowThreads(__tstate
);
13114 if (PyErr_Occurred()) SWIG_fail
;
13116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13123 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13124 PyObject
*resultobj
;
13125 wxDC
*arg1
= (wxDC
*) 0 ;
13127 PyObject
* obj0
= 0 ;
13128 char *kwnames
[] = {
13129 (char *) "self", NULL
13132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13148 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13149 PyObject
*resultobj
;
13150 wxDC
*arg1
= (wxDC
*) 0 ;
13152 PyObject
* obj0
= 0 ;
13153 char *kwnames
[] = {
13154 (char *) "self", NULL
13157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13163 wxPyEndAllowThreads(__tstate
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13166 resultobj
= SWIG_PyObj_FromInt((int)result
);
13173 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13174 PyObject
*resultobj
;
13175 wxDC
*arg1
= (wxDC
*) 0 ;
13177 PyObject
* obj0
= 0 ;
13178 char *kwnames
[] = {
13179 (char *) "self", NULL
13182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13186 result
= ((wxDC
const *)arg1
)->GetPPI();
13188 wxPyEndAllowThreads(__tstate
);
13189 if (PyErr_Occurred()) SWIG_fail
;
13192 wxSize
* resultptr
;
13193 resultptr
= new wxSize((wxSize
&) result
);
13194 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13202 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13203 PyObject
*resultobj
;
13204 wxDC
*arg1
= (wxDC
*) 0 ;
13206 PyObject
* obj0
= 0 ;
13207 char *kwnames
[] = {
13208 (char *) "self", NULL
13211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 result
= (bool)((wxDC
const *)arg1
)->Ok();
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13227 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13228 PyObject
*resultobj
;
13229 wxDC
*arg1
= (wxDC
*) 0 ;
13231 PyObject
* obj0
= 0 ;
13232 char *kwnames
[] = {
13233 (char *) "self", NULL
13236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13240 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13242 wxPyEndAllowThreads(__tstate
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13245 resultobj
= SWIG_PyObj_FromInt((int)result
);
13252 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13253 PyObject
*resultobj
;
13254 wxDC
*arg1
= (wxDC
*) 0 ;
13256 PyObject
* obj0
= 0 ;
13257 char *kwnames
[] = {
13258 (char *) "self", NULL
13261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13266 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13267 result
= (wxBrush
*) &_result_ref
;
13270 wxPyEndAllowThreads(__tstate
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13273 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
13280 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13281 PyObject
*resultobj
;
13282 wxDC
*arg1
= (wxDC
*) 0 ;
13284 PyObject
* obj0
= 0 ;
13285 char *kwnames
[] = {
13286 (char *) "self", NULL
13289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13295 result
= (wxBrush
*) &_result_ref
;
13298 wxPyEndAllowThreads(__tstate
);
13299 if (PyErr_Occurred()) SWIG_fail
;
13301 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
13308 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13309 PyObject
*resultobj
;
13310 wxDC
*arg1
= (wxDC
*) 0 ;
13312 PyObject
* obj0
= 0 ;
13313 char *kwnames
[] = {
13314 (char *) "self", NULL
13317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13322 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13323 result
= (wxFont
*) &_result_ref
;
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13329 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
13336 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13337 PyObject
*resultobj
;
13338 wxDC
*arg1
= (wxDC
*) 0 ;
13340 PyObject
* obj0
= 0 ;
13341 char *kwnames
[] = {
13342 (char *) "self", NULL
13345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13350 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13351 result
= (wxPen
*) &_result_ref
;
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
13364 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13365 PyObject
*resultobj
;
13366 wxDC
*arg1
= (wxDC
*) 0 ;
13368 PyObject
* obj0
= 0 ;
13369 char *kwnames
[] = {
13370 (char *) "self", NULL
13373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13379 result
= (wxColour
*) &_result_ref
;
13382 wxPyEndAllowThreads(__tstate
);
13383 if (PyErr_Occurred()) SWIG_fail
;
13385 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
13392 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13393 PyObject
*resultobj
;
13394 wxDC
*arg1
= (wxDC
*) 0 ;
13396 PyObject
* obj0
= 0 ;
13397 char *kwnames
[] = {
13398 (char *) "self", NULL
13401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13406 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13407 result
= (wxColour
*) &_result_ref
;
13410 wxPyEndAllowThreads(__tstate
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13413 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
13420 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
;
13422 wxDC
*arg1
= (wxDC
*) 0 ;
13423 wxColour
*arg2
= 0 ;
13425 PyObject
* obj0
= 0 ;
13426 PyObject
* obj1
= 0 ;
13427 char *kwnames
[] = {
13428 (char *) "self",(char *) "colour", NULL
13431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13435 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
13441 wxPyEndAllowThreads(__tstate
);
13442 if (PyErr_Occurred()) SWIG_fail
;
13444 Py_INCREF(Py_None
); resultobj
= Py_None
;
13451 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13452 PyObject
*resultobj
;
13453 wxDC
*arg1
= (wxDC
*) 0 ;
13454 wxColour
*arg2
= 0 ;
13456 PyObject
* obj0
= 0 ;
13457 PyObject
* obj1
= 0 ;
13458 char *kwnames
[] = {
13459 (char *) "self",(char *) "colour", NULL
13462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13466 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13470 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
13472 wxPyEndAllowThreads(__tstate
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13475 Py_INCREF(Py_None
); resultobj
= Py_None
;
13482 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13483 PyObject
*resultobj
;
13484 wxDC
*arg1
= (wxDC
*) 0 ;
13486 PyObject
* obj0
= 0 ;
13487 char *kwnames
[] = {
13488 (char *) "self", NULL
13491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
13492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13495 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
13497 wxPyEndAllowThreads(__tstate
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13500 resultobj
= SWIG_PyObj_FromInt((int)result
);
13507 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13508 PyObject
*resultobj
;
13509 wxDC
*arg1
= (wxDC
*) 0 ;
13511 PyObject
* obj0
= 0 ;
13512 PyObject
* obj1
= 0 ;
13513 char *kwnames
[] = {
13514 (char *) "self",(char *) "mode", NULL
13517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13520 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13525 (arg1
)->SetMapMode(arg2
);
13527 wxPyEndAllowThreads(__tstate
);
13528 if (PyErr_Occurred()) SWIG_fail
;
13530 Py_INCREF(Py_None
); resultobj
= Py_None
;
13537 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13538 PyObject
*resultobj
;
13539 wxDC
*arg1
= (wxDC
*) 0 ;
13540 double *arg2
= (double *) 0 ;
13541 double *arg3
= (double *) 0 ;
13544 PyObject
* obj0
= 0 ;
13545 char *kwnames
[] = {
13546 (char *) "self", NULL
13551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
13552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13555 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
13557 wxPyEndAllowThreads(__tstate
);
13558 if (PyErr_Occurred()) SWIG_fail
;
13560 Py_INCREF(Py_None
); resultobj
= Py_None
;
13562 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13563 resultobj
= t_output_helper(resultobj
,o
);
13566 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
13567 resultobj
= t_output_helper(resultobj
,o
);
13575 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13576 PyObject
*resultobj
;
13577 wxDC
*arg1
= (wxDC
*) 0 ;
13580 PyObject
* obj0
= 0 ;
13581 PyObject
* obj1
= 0 ;
13582 PyObject
* obj2
= 0 ;
13583 char *kwnames
[] = {
13584 (char *) "self",(char *) "x",(char *) "y", NULL
13587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13590 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
13591 if (PyErr_Occurred()) SWIG_fail
;
13594 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13595 if (PyErr_Occurred()) SWIG_fail
;
13598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13599 (arg1
)->SetUserScale(arg2
,arg3
);
13601 wxPyEndAllowThreads(__tstate
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13604 Py_INCREF(Py_None
); resultobj
= Py_None
;
13611 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13612 PyObject
*resultobj
;
13613 wxDC
*arg1
= (wxDC
*) 0 ;
13614 double *arg2
= (double *) 0 ;
13615 double *arg3
= (double *) 0 ;
13618 PyObject
* obj0
= 0 ;
13619 char *kwnames
[] = {
13620 (char *) "self", NULL
13625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
13626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 (arg1
)->GetLogicalScale(arg2
,arg3
);
13631 wxPyEndAllowThreads(__tstate
);
13632 if (PyErr_Occurred()) SWIG_fail
;
13634 Py_INCREF(Py_None
); resultobj
= Py_None
;
13636 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13637 resultobj
= t_output_helper(resultobj
,o
);
13640 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
13641 resultobj
= t_output_helper(resultobj
,o
);
13649 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13650 PyObject
*resultobj
;
13651 wxDC
*arg1
= (wxDC
*) 0 ;
13654 PyObject
* obj0
= 0 ;
13655 PyObject
* obj1
= 0 ;
13656 PyObject
* obj2
= 0 ;
13657 char *kwnames
[] = {
13658 (char *) "self",(char *) "x",(char *) "y", NULL
13661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13664 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13668 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13673 (arg1
)->SetLogicalScale(arg2
,arg3
);
13675 wxPyEndAllowThreads(__tstate
);
13676 if (PyErr_Occurred()) SWIG_fail
;
13678 Py_INCREF(Py_None
); resultobj
= Py_None
;
13685 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13686 PyObject
*resultobj
;
13687 wxDC
*arg1
= (wxDC
*) 0 ;
13689 PyObject
* obj0
= 0 ;
13690 char *kwnames
[] = {
13691 (char *) "self", NULL
13694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
13695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13698 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
13700 wxPyEndAllowThreads(__tstate
);
13701 if (PyErr_Occurred()) SWIG_fail
;
13704 wxPoint
* resultptr
;
13705 resultptr
= new wxPoint((wxPoint
&) result
);
13706 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13714 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13715 PyObject
*resultobj
;
13716 wxDC
*arg1
= (wxDC
*) 0 ;
13717 int *arg2
= (int *) 0 ;
13718 int *arg3
= (int *) 0 ;
13721 PyObject
* obj0
= 0 ;
13722 char *kwnames
[] = {
13723 (char *) "self", NULL
13728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
13729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13732 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
13734 wxPyEndAllowThreads(__tstate
);
13735 if (PyErr_Occurred()) SWIG_fail
;
13737 Py_INCREF(Py_None
); resultobj
= Py_None
;
13739 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13740 resultobj
= t_output_helper(resultobj
,o
);
13743 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13744 resultobj
= t_output_helper(resultobj
,o
);
13752 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13753 PyObject
*resultobj
;
13754 wxDC
*arg1
= (wxDC
*) 0 ;
13757 PyObject
* obj0
= 0 ;
13758 PyObject
* obj1
= 0 ;
13759 PyObject
* obj2
= 0 ;
13760 char *kwnames
[] = {
13761 (char *) "self",(char *) "x",(char *) "y", NULL
13764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13767 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13768 if (PyErr_Occurred()) SWIG_fail
;
13771 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13776 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
13778 wxPyEndAllowThreads(__tstate
);
13779 if (PyErr_Occurred()) SWIG_fail
;
13781 Py_INCREF(Py_None
); resultobj
= Py_None
;
13788 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13789 PyObject
*resultobj
;
13790 wxDC
*arg1
= (wxDC
*) 0 ;
13792 PyObject
* obj0
= 0 ;
13793 char *kwnames
[] = {
13794 (char *) "self", NULL
13797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
13798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13807 wxPoint
* resultptr
;
13808 resultptr
= new wxPoint((wxPoint
&) result
);
13809 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13817 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13818 PyObject
*resultobj
;
13819 wxDC
*arg1
= (wxDC
*) 0 ;
13820 int *arg2
= (int *) 0 ;
13821 int *arg3
= (int *) 0 ;
13824 PyObject
* obj0
= 0 ;
13825 char *kwnames
[] = {
13826 (char *) "self", NULL
13831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
13832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13835 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13840 Py_INCREF(Py_None
); resultobj
= Py_None
;
13842 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13843 resultobj
= t_output_helper(resultobj
,o
);
13846 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13847 resultobj
= t_output_helper(resultobj
,o
);
13855 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13856 PyObject
*resultobj
;
13857 wxDC
*arg1
= (wxDC
*) 0 ;
13860 PyObject
* obj0
= 0 ;
13861 PyObject
* obj1
= 0 ;
13862 PyObject
* obj2
= 0 ;
13863 char *kwnames
[] = {
13864 (char *) "self",(char *) "x",(char *) "y", NULL
13867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13870 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13874 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
13881 wxPyEndAllowThreads(__tstate
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13884 Py_INCREF(Py_None
); resultobj
= Py_None
;
13891 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13892 PyObject
*resultobj
;
13893 wxDC
*arg1
= (wxDC
*) 0 ;
13896 PyObject
* obj0
= 0 ;
13897 PyObject
* obj1
= 0 ;
13898 PyObject
* obj2
= 0 ;
13899 char *kwnames
[] = {
13900 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
13903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13906 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13910 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
13911 if (PyErr_Occurred()) SWIG_fail
;
13914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13915 (arg1
)->SetAxisOrientation(arg2
,arg3
);
13917 wxPyEndAllowThreads(__tstate
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13920 Py_INCREF(Py_None
); resultobj
= Py_None
;
13927 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13928 PyObject
*resultobj
;
13929 wxDC
*arg1
= (wxDC
*) 0 ;
13931 PyObject
* obj0
= 0 ;
13932 char *kwnames
[] = {
13933 (char *) "self", NULL
13936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
13937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13940 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
13942 wxPyEndAllowThreads(__tstate
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13945 resultobj
= SWIG_PyObj_FromInt((int)result
);
13952 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13953 PyObject
*resultobj
;
13954 wxDC
*arg1
= (wxDC
*) 0 ;
13956 PyObject
* obj0
= 0 ;
13957 PyObject
* obj1
= 0 ;
13958 char *kwnames
[] = {
13959 (char *) "self",(char *) "function", NULL
13962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
13963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13965 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13966 if (PyErr_Occurred()) SWIG_fail
;
13969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13970 (arg1
)->SetLogicalFunction(arg2
);
13972 wxPyEndAllowThreads(__tstate
);
13973 if (PyErr_Occurred()) SWIG_fail
;
13975 Py_INCREF(Py_None
); resultobj
= Py_None
;
13982 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13983 PyObject
*resultobj
;
13984 wxDC
*arg1
= (wxDC
*) 0 ;
13986 PyObject
* obj0
= 0 ;
13987 PyObject
* obj1
= 0 ;
13988 char *kwnames
[] = {
13989 (char *) "self",(char *) "opt", NULL
13992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
13993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13995 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
13996 if (PyErr_Occurred()) SWIG_fail
;
13999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14000 (arg1
)->SetOptimization(arg2
);
14002 wxPyEndAllowThreads(__tstate
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14005 Py_INCREF(Py_None
); resultobj
= Py_None
;
14012 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14013 PyObject
*resultobj
;
14014 wxDC
*arg1
= (wxDC
*) 0 ;
14016 PyObject
* obj0
= 0 ;
14017 char *kwnames
[] = {
14018 (char *) "self", NULL
14021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14025 result
= (bool)(arg1
)->GetOptimization();
14027 wxPyEndAllowThreads(__tstate
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14037 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14038 PyObject
*resultobj
;
14039 wxDC
*arg1
= (wxDC
*) 0 ;
14042 PyObject
* obj0
= 0 ;
14043 PyObject
* obj1
= 0 ;
14044 PyObject
* obj2
= 0 ;
14045 char *kwnames
[] = {
14046 (char *) "self",(char *) "x",(char *) "y", NULL
14049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14052 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14053 if (PyErr_Occurred()) SWIG_fail
;
14056 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14061 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14063 wxPyEndAllowThreads(__tstate
);
14064 if (PyErr_Occurred()) SWIG_fail
;
14066 Py_INCREF(Py_None
); resultobj
= Py_None
;
14073 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14074 PyObject
*resultobj
;
14075 wxDC
*arg1
= (wxDC
*) 0 ;
14076 PyObject
* obj0
= 0 ;
14077 char *kwnames
[] = {
14078 (char *) "self", NULL
14081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 (arg1
)->ResetBoundingBox();
14087 wxPyEndAllowThreads(__tstate
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14090 Py_INCREF(Py_None
); resultobj
= Py_None
;
14097 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14098 PyObject
*resultobj
;
14099 wxDC
*arg1
= (wxDC
*) 0 ;
14101 PyObject
* obj0
= 0 ;
14102 char *kwnames
[] = {
14103 (char *) "self", NULL
14106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14110 result
= (int)((wxDC
const *)arg1
)->MinX();
14112 wxPyEndAllowThreads(__tstate
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14115 resultobj
= SWIG_PyObj_FromInt((int)result
);
14122 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14123 PyObject
*resultobj
;
14124 wxDC
*arg1
= (wxDC
*) 0 ;
14126 PyObject
* obj0
= 0 ;
14127 char *kwnames
[] = {
14128 (char *) "self", NULL
14131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14135 result
= (int)((wxDC
const *)arg1
)->MaxX();
14137 wxPyEndAllowThreads(__tstate
);
14138 if (PyErr_Occurred()) SWIG_fail
;
14140 resultobj
= SWIG_PyObj_FromInt((int)result
);
14147 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14148 PyObject
*resultobj
;
14149 wxDC
*arg1
= (wxDC
*) 0 ;
14151 PyObject
* obj0
= 0 ;
14152 char *kwnames
[] = {
14153 (char *) "self", NULL
14156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 result
= (int)((wxDC
const *)arg1
)->MinY();
14162 wxPyEndAllowThreads(__tstate
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14165 resultobj
= SWIG_PyObj_FromInt((int)result
);
14172 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14173 PyObject
*resultobj
;
14174 wxDC
*arg1
= (wxDC
*) 0 ;
14176 PyObject
* obj0
= 0 ;
14177 char *kwnames
[] = {
14178 (char *) "self", NULL
14181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14185 result
= (int)((wxDC
const *)arg1
)->MaxY();
14187 wxPyEndAllowThreads(__tstate
);
14188 if (PyErr_Occurred()) SWIG_fail
;
14190 resultobj
= SWIG_PyObj_FromInt((int)result
);
14197 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14198 PyObject
*resultobj
;
14199 wxDC
*arg1
= (wxDC
*) 0 ;
14200 int *arg2
= (int *) 0 ;
14201 int *arg3
= (int *) 0 ;
14202 int *arg4
= (int *) 0 ;
14203 int *arg5
= (int *) 0 ;
14208 PyObject
* obj0
= 0 ;
14209 char *kwnames
[] = {
14210 (char *) "self", NULL
14217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14221 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14223 wxPyEndAllowThreads(__tstate
);
14224 if (PyErr_Occurred()) SWIG_fail
;
14226 Py_INCREF(Py_None
); resultobj
= Py_None
;
14228 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14229 resultobj
= t_output_helper(resultobj
,o
);
14232 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14233 resultobj
= t_output_helper(resultobj
,o
);
14236 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14237 resultobj
= t_output_helper(resultobj
,o
);
14240 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14241 resultobj
= t_output_helper(resultobj
,o
);
14249 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14250 PyObject
*resultobj
;
14251 wxDC
*arg1
= (wxDC
*) 0 ;
14252 PyObject
*arg2
= (PyObject
*) 0 ;
14253 PyObject
*arg3
= (PyObject
*) 0 ;
14254 PyObject
*arg4
= (PyObject
*) 0 ;
14256 PyObject
* obj0
= 0 ;
14257 PyObject
* obj1
= 0 ;
14258 PyObject
* obj2
= 0 ;
14259 PyObject
* obj3
= 0 ;
14260 char *kwnames
[] = {
14261 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14271 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14273 wxPyEndAllowThreads(__tstate
);
14274 if (PyErr_Occurred()) SWIG_fail
;
14276 resultobj
= result
;
14283 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14284 PyObject
*resultobj
;
14285 wxDC
*arg1
= (wxDC
*) 0 ;
14286 PyObject
*arg2
= (PyObject
*) 0 ;
14287 PyObject
*arg3
= (PyObject
*) 0 ;
14288 PyObject
*arg4
= (PyObject
*) 0 ;
14290 PyObject
* obj0
= 0 ;
14291 PyObject
* obj1
= 0 ;
14292 PyObject
* obj2
= 0 ;
14293 PyObject
* obj3
= 0 ;
14294 char *kwnames
[] = {
14295 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14305 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14307 wxPyEndAllowThreads(__tstate
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14310 resultobj
= result
;
14317 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14318 PyObject
*resultobj
;
14319 wxDC
*arg1
= (wxDC
*) 0 ;
14320 PyObject
*arg2
= (PyObject
*) 0 ;
14321 PyObject
*arg3
= (PyObject
*) 0 ;
14322 PyObject
*arg4
= (PyObject
*) 0 ;
14324 PyObject
* obj0
= 0 ;
14325 PyObject
* obj1
= 0 ;
14326 PyObject
* obj2
= 0 ;
14327 PyObject
* obj3
= 0 ;
14328 char *kwnames
[] = {
14329 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14344 resultobj
= result
;
14351 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14352 PyObject
*resultobj
;
14353 wxDC
*arg1
= (wxDC
*) 0 ;
14354 PyObject
*arg2
= (PyObject
*) 0 ;
14355 PyObject
*arg3
= (PyObject
*) 0 ;
14356 PyObject
*arg4
= (PyObject
*) 0 ;
14358 PyObject
* obj0
= 0 ;
14359 PyObject
* obj1
= 0 ;
14360 PyObject
* obj2
= 0 ;
14361 PyObject
* obj3
= 0 ;
14362 char *kwnames
[] = {
14363 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14373 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14375 wxPyEndAllowThreads(__tstate
);
14376 if (PyErr_Occurred()) SWIG_fail
;
14378 resultobj
= result
;
14385 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14386 PyObject
*resultobj
;
14387 wxDC
*arg1
= (wxDC
*) 0 ;
14388 PyObject
*arg2
= (PyObject
*) 0 ;
14389 PyObject
*arg3
= (PyObject
*) 0 ;
14390 PyObject
*arg4
= (PyObject
*) 0 ;
14392 PyObject
* obj0
= 0 ;
14393 PyObject
* obj1
= 0 ;
14394 PyObject
* obj2
= 0 ;
14395 PyObject
* obj3
= 0 ;
14396 char *kwnames
[] = {
14397 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14407 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
14409 wxPyEndAllowThreads(__tstate
);
14410 if (PyErr_Occurred()) SWIG_fail
;
14412 resultobj
= result
;
14419 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14420 PyObject
*resultobj
;
14421 wxDC
*arg1
= (wxDC
*) 0 ;
14422 PyObject
*arg2
= (PyObject
*) 0 ;
14423 PyObject
*arg3
= (PyObject
*) 0 ;
14424 PyObject
*arg4
= (PyObject
*) 0 ;
14425 PyObject
*arg5
= (PyObject
*) 0 ;
14427 PyObject
* obj0
= 0 ;
14428 PyObject
* obj1
= 0 ;
14429 PyObject
* obj2
= 0 ;
14430 PyObject
* obj3
= 0 ;
14431 PyObject
* obj4
= 0 ;
14432 char *kwnames
[] = {
14433 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
14436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14444 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
14446 wxPyEndAllowThreads(__tstate
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14449 resultobj
= result
;
14456 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
14458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14459 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
14461 return Py_BuildValue((char *)"");
14463 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14464 PyObject
*resultobj
;
14465 wxMemoryDC
*result
;
14466 char *kwnames
[] = {
14470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
14472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14473 result
= (wxMemoryDC
*)new wxMemoryDC();
14475 wxPyEndAllowThreads(__tstate
);
14476 if (PyErr_Occurred()) SWIG_fail
;
14478 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryDC
, 1);
14485 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14486 PyObject
*resultobj
;
14487 wxDC
*arg1
= (wxDC
*) 0 ;
14488 wxMemoryDC
*result
;
14489 PyObject
* obj0
= 0 ;
14490 char *kwnames
[] = {
14491 (char *) "oldDC", NULL
14494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
14495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14498 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
14500 wxPyEndAllowThreads(__tstate
);
14501 if (PyErr_Occurred()) SWIG_fail
;
14503 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryDC
, 1);
14510 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14511 PyObject
*resultobj
;
14512 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
14513 wxBitmap
*arg2
= 0 ;
14514 PyObject
* obj0
= 0 ;
14515 PyObject
* obj1
= 0 ;
14516 char *kwnames
[] = {
14517 (char *) "self",(char *) "bitmap", NULL
14520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14522 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14523 if (arg2
== NULL
) {
14524 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14528 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
14530 wxPyEndAllowThreads(__tstate
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14533 Py_INCREF(Py_None
); resultobj
= Py_None
;
14540 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
14542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14543 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
14545 return Py_BuildValue((char *)"");
14547 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
14548 PyObject
*resultobj
;
14549 wxDC
*arg1
= (wxDC
*) 0 ;
14550 wxBitmap
*arg2
= 0 ;
14551 wxBufferedDC
*result
;
14552 PyObject
* obj0
= 0 ;
14553 PyObject
* obj1
= 0 ;
14555 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
14556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14557 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14558 if (arg2
== NULL
) {
14559 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14563 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
14565 wxPyEndAllowThreads(__tstate
);
14566 if (PyErr_Occurred()) SWIG_fail
;
14568 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
14575 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
14576 PyObject
*resultobj
;
14577 wxDC
*arg1
= (wxDC
*) 0 ;
14579 int arg3
= (int) wxBUFFER_DC_DEFAULT
;
14580 wxBufferedDC
*result
;
14582 PyObject
* obj0
= 0 ;
14583 PyObject
* obj1
= 0 ;
14584 PyObject
* obj2
= 0 ;
14586 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_BufferedDC",&obj0
,&obj1
,&obj2
)) goto fail
;
14587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14590 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14594 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14600 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
14602 wxPyEndAllowThreads(__tstate
);
14603 if (PyErr_Occurred()) SWIG_fail
;
14605 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
14612 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
14617 argc
= PyObject_Length(args
);
14618 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
14619 argv
[ii
] = PyTuple_GetItem(args
,ii
);
14625 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
14635 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
14643 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
14647 if ((argc
>= 2) && (argc
<= 3)) {
14651 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
14660 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
14664 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
14667 SWIG_PyObj_AsInt(argv
[2]);
14668 if (PyErr_Occurred()) {
14676 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
14682 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
14687 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
14688 PyObject
*resultobj
;
14689 wxDC
*arg1
= (wxDC
*) 0 ;
14691 int arg3
= (int) wxBUFFER_DC_DEFAULT
;
14692 wxBufferedDC
*result
;
14694 PyObject
* obj0
= 0 ;
14695 PyObject
* obj1
= 0 ;
14696 PyObject
* obj2
= 0 ;
14698 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_BufferedDCInternalBuffer",&obj0
,&obj1
,&obj2
)) goto fail
;
14699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14702 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14706 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14707 if (PyErr_Occurred()) SWIG_fail
;
14711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14712 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
14714 wxPyEndAllowThreads(__tstate
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14717 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
14724 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14725 PyObject
*resultobj
;
14726 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
14727 PyObject
* obj0
= 0 ;
14728 char *kwnames
[] = {
14729 (char *) "self", NULL
14732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
14733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBufferedDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14738 wxPyEndAllowThreads(__tstate
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14741 Py_INCREF(Py_None
); resultobj
= Py_None
;
14748 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
14750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14751 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
14753 return Py_BuildValue((char *)"");
14755 static PyObject
*_wrap_new_BufferedPaintDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
14756 PyObject
*resultobj
;
14757 wxWindow
*arg1
= (wxWindow
*) 0 ;
14758 wxBitmap
*arg2
= 0 ;
14759 wxBufferedPaintDC
*result
;
14760 PyObject
* obj0
= 0 ;
14761 PyObject
* obj1
= 0 ;
14763 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedPaintDC",&obj0
,&obj1
)) goto fail
;
14764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14765 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14766 if (arg2
== NULL
) {
14767 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14771 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
14773 wxPyEndAllowThreads(__tstate
);
14774 if (PyErr_Occurred()) SWIG_fail
;
14776 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedPaintDC
, 1);
14783 static PyObject
*_wrap_new_BufferedPaintDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
14784 PyObject
*resultobj
;
14785 wxWindow
*arg1
= (wxWindow
*) 0 ;
14786 int arg2
= (int) wxBUFFER_DC_DEFAULT
;
14787 wxBufferedPaintDC
*result
;
14788 PyObject
* obj0
= 0 ;
14789 PyObject
* obj1
= 0 ;
14791 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_BufferedPaintDC",&obj0
,&obj1
)) goto fail
;
14792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14795 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14801 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,arg2
);
14803 wxPyEndAllowThreads(__tstate
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14806 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedPaintDC
, 1);
14813 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
) {
14818 argc
= PyObject_Length(args
);
14819 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
14820 argv
[ii
] = PyTuple_GetItem(args
,ii
);
14822 if ((argc
>= 1) && (argc
<= 2)) {
14826 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
14835 return _wrap_new_BufferedPaintDC__SWIG_1(self
,args
);
14838 SWIG_PyObj_AsInt(argv
[1]);
14839 if (PyErr_Occurred()) {
14847 return _wrap_new_BufferedPaintDC__SWIG_1(self
,args
);
14855 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
14865 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
14873 return _wrap_new_BufferedPaintDC__SWIG_0(self
,args
);
14878 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedPaintDC'");
14883 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
14885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14886 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
14888 return Py_BuildValue((char *)"");
14890 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14891 PyObject
*resultobj
;
14892 wxScreenDC
*result
;
14893 char *kwnames
[] = {
14897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
14899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14900 result
= (wxScreenDC
*)new wxScreenDC();
14902 wxPyEndAllowThreads(__tstate
);
14903 if (PyErr_Occurred()) SWIG_fail
;
14905 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScreenDC
, 1);
14912 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14913 PyObject
*resultobj
;
14914 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
14915 wxWindow
*arg2
= (wxWindow
*) 0 ;
14917 PyObject
* obj0
= 0 ;
14918 PyObject
* obj1
= 0 ;
14919 char *kwnames
[] = {
14920 (char *) "self",(char *) "window", NULL
14923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
14924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14925 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14928 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
14930 wxPyEndAllowThreads(__tstate
);
14931 if (PyErr_Occurred()) SWIG_fail
;
14933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14940 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14941 PyObject
*resultobj
;
14942 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
14943 wxRect
*arg2
= (wxRect
*) NULL
;
14945 PyObject
* obj0
= 0 ;
14946 PyObject
* obj1
= 0 ;
14947 char *kwnames
[] = {
14948 (char *) "self",(char *) "rect", NULL
14951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
14952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14954 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14958 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
14960 wxPyEndAllowThreads(__tstate
);
14961 if (PyErr_Occurred()) SWIG_fail
;
14963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14970 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14971 PyObject
*resultobj
;
14972 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
14974 PyObject
* obj0
= 0 ;
14975 char *kwnames
[] = {
14976 (char *) "self", NULL
14979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
14980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14983 result
= (bool)(arg1
)->EndDrawingOnTop();
14985 wxPyEndAllowThreads(__tstate
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14995 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
14997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14998 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15000 return Py_BuildValue((char *)"");
15002 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15003 PyObject
*resultobj
;
15004 wxWindow
*arg1
= (wxWindow
*) 0 ;
15005 wxClientDC
*result
;
15006 PyObject
* obj0
= 0 ;
15007 char *kwnames
[] = {
15008 (char *) "win", NULL
15011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15015 result
= (wxClientDC
*)new wxClientDC(arg1
);
15017 wxPyEndAllowThreads(__tstate
);
15018 if (PyErr_Occurred()) SWIG_fail
;
15020 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClientDC
, 1);
15027 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
15029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15030 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15032 return Py_BuildValue((char *)"");
15034 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15035 PyObject
*resultobj
;
15036 wxWindow
*arg1
= (wxWindow
*) 0 ;
15038 PyObject
* obj0
= 0 ;
15039 char *kwnames
[] = {
15040 (char *) "win", NULL
15043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15047 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15049 wxPyEndAllowThreads(__tstate
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15052 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintDC
, 1);
15059 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15062 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15064 return Py_BuildValue((char *)"");
15066 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15067 PyObject
*resultobj
;
15068 wxWindow
*arg1
= (wxWindow
*) 0 ;
15069 wxWindowDC
*result
;
15070 PyObject
* obj0
= 0 ;
15071 char *kwnames
[] = {
15072 (char *) "win", NULL
15075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15079 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15081 wxPyEndAllowThreads(__tstate
);
15082 if (PyErr_Occurred()) SWIG_fail
;
15084 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDC
, 1);
15091 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
15093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15094 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15096 return Py_BuildValue((char *)"");
15098 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15099 PyObject
*resultobj
;
15102 wxMirrorDC
*result
;
15103 PyObject
* obj0
= 0 ;
15104 PyObject
* obj1
= 0 ;
15105 char *kwnames
[] = {
15106 (char *) "dc",(char *) "mirror", NULL
15109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15111 if (arg1
== NULL
) {
15112 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15115 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15116 if (PyErr_Occurred()) SWIG_fail
;
15119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15120 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15122 wxPyEndAllowThreads(__tstate
);
15123 if (PyErr_Occurred()) SWIG_fail
;
15125 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMirrorDC
, 1);
15132 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
15134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15135 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15137 return Py_BuildValue((char *)"");
15139 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15140 PyObject
*resultobj
;
15141 wxPrintData
*arg1
= 0 ;
15142 wxPostScriptDC
*result
;
15143 PyObject
* obj0
= 0 ;
15144 char *kwnames
[] = {
15145 (char *) "printData", NULL
15148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15150 if (arg1
== NULL
) {
15151 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15155 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15157 wxPyEndAllowThreads(__tstate
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15160 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPostScriptDC
, 1);
15167 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15168 PyObject
*resultobj
;
15169 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15170 wxPrintData
*result
;
15171 PyObject
* obj0
= 0 ;
15172 char *kwnames
[] = {
15173 (char *) "self", NULL
15176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPostScriptDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15181 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15182 result
= (wxPrintData
*) &_result_ref
;
15185 wxPyEndAllowThreads(__tstate
);
15186 if (PyErr_Occurred()) SWIG_fail
;
15188 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
15195 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15196 PyObject
*resultobj
;
15197 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15198 wxPrintData
*arg2
= 0 ;
15199 PyObject
* obj0
= 0 ;
15200 PyObject
* obj1
= 0 ;
15201 char *kwnames
[] = {
15202 (char *) "self",(char *) "data", NULL
15205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPostScriptDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15207 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15208 if (arg2
== NULL
) {
15209 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15213 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15215 wxPyEndAllowThreads(__tstate
);
15216 if (PyErr_Occurred()) SWIG_fail
;
15218 Py_INCREF(Py_None
); resultobj
= Py_None
;
15225 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15226 PyObject
*resultobj
;
15228 PyObject
* obj0
= 0 ;
15229 char *kwnames
[] = {
15230 (char *) "ppi", NULL
15233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15235 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 wxPostScriptDC::SetResolution(arg1
);
15242 wxPyEndAllowThreads(__tstate
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15245 Py_INCREF(Py_None
); resultobj
= Py_None
;
15252 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15253 PyObject
*resultobj
;
15255 char *kwnames
[] = {
15259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15262 result
= (int)wxPostScriptDC::GetResolution();
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15267 resultobj
= SWIG_PyObj_FromInt((int)result
);
15274 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
15276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15277 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15279 return Py_BuildValue((char *)"");
15281 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15282 PyObject
*resultobj
;
15283 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15284 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15285 wxMetaFile
*result
;
15286 bool temp1
= False
;
15287 PyObject
* obj0
= 0 ;
15288 char *kwnames
[] = {
15289 (char *) "filename", NULL
15292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15295 arg1
= wxString_in_helper(obj0
);
15296 if (arg1
== NULL
) SWIG_fail
;
15301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15302 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15304 wxPyEndAllowThreads(__tstate
);
15305 if (PyErr_Occurred()) SWIG_fail
;
15307 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFile
, 1);
15322 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
15324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15325 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
15327 return Py_BuildValue((char *)"");
15329 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15330 PyObject
*resultobj
;
15331 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15332 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15333 int arg2
= (int) 0 ;
15334 int arg3
= (int) 0 ;
15335 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15336 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15337 wxMetaFileDC
*result
;
15338 bool temp1
= False
;
15339 bool temp4
= False
;
15340 PyObject
* obj0
= 0 ;
15341 PyObject
* obj1
= 0 ;
15342 PyObject
* obj2
= 0 ;
15343 PyObject
* obj3
= 0 ;
15344 char *kwnames
[] = {
15345 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15351 arg1
= wxString_in_helper(obj0
);
15352 if (arg1
== NULL
) SWIG_fail
;
15358 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15359 if (PyErr_Occurred()) SWIG_fail
;
15364 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15370 arg4
= wxString_in_helper(obj3
);
15371 if (arg4
== NULL
) SWIG_fail
;
15376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15377 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
15379 wxPyEndAllowThreads(__tstate
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15382 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFileDC
, 1);
15405 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
15407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15408 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
15410 return Py_BuildValue((char *)"");
15412 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15413 PyObject
*resultobj
;
15414 wxPrintData
*arg1
= 0 ;
15415 wxPrinterDC
*result
;
15416 PyObject
* obj0
= 0 ;
15417 char *kwnames
[] = {
15418 (char *) "printData", NULL
15421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
15422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15423 if (arg1
== NULL
) {
15424 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15428 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
15430 wxPyEndAllowThreads(__tstate
);
15431 if (PyErr_Occurred()) SWIG_fail
;
15433 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinterDC
, 1);
15440 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
15442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15443 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
15445 return Py_BuildValue((char *)"");
15447 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15448 PyObject
*resultobj
;
15451 int arg3
= (int) True
;
15452 int arg4
= (int) 1 ;
15453 wxImageList
*result
;
15454 PyObject
* obj0
= 0 ;
15455 PyObject
* obj1
= 0 ;
15456 PyObject
* obj2
= 0 ;
15457 PyObject
* obj3
= 0 ;
15458 char *kwnames
[] = {
15459 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
15462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15464 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
15465 if (PyErr_Occurred()) SWIG_fail
;
15468 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15469 if (PyErr_Occurred()) SWIG_fail
;
15473 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15474 if (PyErr_Occurred()) SWIG_fail
;
15479 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15485 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
15487 wxPyEndAllowThreads(__tstate
);
15488 if (PyErr_Occurred()) SWIG_fail
;
15491 resultobj
= wxPyMake_wxObject(result
);
15499 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15500 PyObject
*resultobj
;
15501 wxImageList
*arg1
= (wxImageList
*) 0 ;
15502 PyObject
* obj0
= 0 ;
15503 char *kwnames
[] = {
15504 (char *) "self", NULL
15507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
15508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15513 wxPyEndAllowThreads(__tstate
);
15514 if (PyErr_Occurred()) SWIG_fail
;
15516 Py_INCREF(Py_None
); resultobj
= Py_None
;
15523 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15524 PyObject
*resultobj
;
15525 wxImageList
*arg1
= (wxImageList
*) 0 ;
15526 wxBitmap
*arg2
= 0 ;
15527 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
15528 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
15530 PyObject
* obj0
= 0 ;
15531 PyObject
* obj1
= 0 ;
15532 PyObject
* obj2
= 0 ;
15533 char *kwnames
[] = {
15534 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
15537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15539 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15540 if (arg2
== NULL
) {
15541 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15544 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15545 if (arg3
== NULL
) {
15546 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15551 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
15553 wxPyEndAllowThreads(__tstate
);
15554 if (PyErr_Occurred()) SWIG_fail
;
15556 resultobj
= SWIG_PyObj_FromInt((int)result
);
15563 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15564 PyObject
*resultobj
;
15565 wxImageList
*arg1
= (wxImageList
*) 0 ;
15566 wxBitmap
*arg2
= 0 ;
15567 wxColour
*arg3
= 0 ;
15570 PyObject
* obj0
= 0 ;
15571 PyObject
* obj1
= 0 ;
15572 PyObject
* obj2
= 0 ;
15573 char *kwnames
[] = {
15574 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
15577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15579 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15580 if (arg2
== NULL
) {
15581 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15585 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15589 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
15591 wxPyEndAllowThreads(__tstate
);
15592 if (PyErr_Occurred()) SWIG_fail
;
15594 resultobj
= SWIG_PyObj_FromInt((int)result
);
15601 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15602 PyObject
*resultobj
;
15603 wxImageList
*arg1
= (wxImageList
*) 0 ;
15606 PyObject
* obj0
= 0 ;
15607 PyObject
* obj1
= 0 ;
15608 char *kwnames
[] = {
15609 (char *) "self",(char *) "icon", NULL
15612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
15613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15614 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15615 if (arg2
== NULL
) {
15616 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15620 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
15622 wxPyEndAllowThreads(__tstate
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15625 resultobj
= SWIG_PyObj_FromInt((int)result
);
15632 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15633 PyObject
*resultobj
;
15634 wxImageList
*arg1
= (wxImageList
*) 0 ;
15636 wxBitmap
*arg3
= 0 ;
15638 PyObject
* obj0
= 0 ;
15639 PyObject
* obj1
= 0 ;
15640 PyObject
* obj2
= 0 ;
15641 char *kwnames
[] = {
15642 (char *) "self",(char *) "index",(char *) "bitmap", NULL
15645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15648 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15651 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15652 if (arg3
== NULL
) {
15653 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15657 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
15659 wxPyEndAllowThreads(__tstate
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15669 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15670 PyObject
*resultobj
;
15671 wxImageList
*arg1
= (wxImageList
*) 0 ;
15676 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
15677 bool arg7
= (bool) (bool)False
;
15679 PyObject
* obj0
= 0 ;
15680 PyObject
* obj1
= 0 ;
15681 PyObject
* obj2
= 0 ;
15682 PyObject
* obj3
= 0 ;
15683 PyObject
* obj4
= 0 ;
15684 PyObject
* obj5
= 0 ;
15685 PyObject
* obj6
= 0 ;
15686 char *kwnames
[] = {
15687 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
15690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15693 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15696 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15697 if (arg3
== NULL
) {
15698 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15701 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15702 if (PyErr_Occurred()) SWIG_fail
;
15705 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15706 if (PyErr_Occurred()) SWIG_fail
;
15710 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
15711 if (PyErr_Occurred()) SWIG_fail
;
15716 arg7
= (bool const) SWIG_PyObj_AsBool(obj6
);
15717 if (PyErr_Occurred()) SWIG_fail
;
15721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15722 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
15724 wxPyEndAllowThreads(__tstate
);
15725 if (PyErr_Occurred()) SWIG_fail
;
15727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15734 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15735 PyObject
*resultobj
;
15736 wxImageList
*arg1
= (wxImageList
*) 0 ;
15738 PyObject
* obj0
= 0 ;
15739 char *kwnames
[] = {
15740 (char *) "self", NULL
15743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
15744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15747 result
= (int)(arg1
)->GetImageCount();
15749 wxPyEndAllowThreads(__tstate
);
15750 if (PyErr_Occurred()) SWIG_fail
;
15752 resultobj
= SWIG_PyObj_FromInt((int)result
);
15759 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15760 PyObject
*resultobj
;
15761 wxImageList
*arg1
= (wxImageList
*) 0 ;
15764 PyObject
* obj0
= 0 ;
15765 PyObject
* obj1
= 0 ;
15766 char *kwnames
[] = {
15767 (char *) "self",(char *) "index", NULL
15770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
15771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15773 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15774 if (PyErr_Occurred()) SWIG_fail
;
15777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15778 result
= (bool)(arg1
)->Remove(arg2
);
15780 wxPyEndAllowThreads(__tstate
);
15781 if (PyErr_Occurred()) SWIG_fail
;
15783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15790 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15791 PyObject
*resultobj
;
15792 wxImageList
*arg1
= (wxImageList
*) 0 ;
15794 PyObject
* obj0
= 0 ;
15795 char *kwnames
[] = {
15796 (char *) "self", NULL
15799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
15800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15803 result
= (bool)(arg1
)->RemoveAll();
15805 wxPyEndAllowThreads(__tstate
);
15806 if (PyErr_Occurred()) SWIG_fail
;
15808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15815 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15816 PyObject
*resultobj
;
15817 wxImageList
*arg1
= (wxImageList
*) 0 ;
15823 PyObject
* obj0
= 0 ;
15824 PyObject
* obj1
= 0 ;
15825 char *kwnames
[] = {
15826 (char *) "self",(char *) "index", NULL
15831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15834 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15835 if (PyErr_Occurred()) SWIG_fail
;
15838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15839 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
15841 wxPyEndAllowThreads(__tstate
);
15842 if (PyErr_Occurred()) SWIG_fail
;
15844 Py_INCREF(Py_None
); resultobj
= Py_None
;
15846 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15847 resultobj
= t_output_helper(resultobj
,o
);
15850 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
15851 resultobj
= t_output_helper(resultobj
,o
);
15859 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
15861 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15862 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
15864 return Py_BuildValue((char *)"");
15866 static int _wrap_NORMAL_FONT_set(PyObject
*) {
15867 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
15872 static PyObject
*_wrap_NORMAL_FONT_get() {
15875 pyobj
= SWIG_NewPointerObj((void *) wxNORMAL_FONT
, SWIGTYPE_p_wxFont
, 0);
15880 static int _wrap_SMALL_FONT_set(PyObject
*) {
15881 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
15886 static PyObject
*_wrap_SMALL_FONT_get() {
15889 pyobj
= SWIG_NewPointerObj((void *) wxSMALL_FONT
, SWIGTYPE_p_wxFont
, 0);
15894 static int _wrap_ITALIC_FONT_set(PyObject
*) {
15895 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
15900 static PyObject
*_wrap_ITALIC_FONT_get() {
15903 pyobj
= SWIG_NewPointerObj((void *) wxITALIC_FONT
, SWIGTYPE_p_wxFont
, 0);
15908 static int _wrap_SWISS_FONT_set(PyObject
*) {
15909 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
15914 static PyObject
*_wrap_SWISS_FONT_get() {
15917 pyobj
= SWIG_NewPointerObj((void *) wxSWISS_FONT
, SWIGTYPE_p_wxFont
, 0);
15922 static int _wrap_RED_PEN_set(PyObject
*) {
15923 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
15928 static PyObject
*_wrap_RED_PEN_get() {
15931 pyobj
= SWIG_NewPointerObj((void *) wxRED_PEN
, SWIGTYPE_p_wxPen
, 0);
15936 static int _wrap_CYAN_PEN_set(PyObject
*) {
15937 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
15942 static PyObject
*_wrap_CYAN_PEN_get() {
15945 pyobj
= SWIG_NewPointerObj((void *) wxCYAN_PEN
, SWIGTYPE_p_wxPen
, 0);
15950 static int _wrap_GREEN_PEN_set(PyObject
*) {
15951 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
15956 static PyObject
*_wrap_GREEN_PEN_get() {
15959 pyobj
= SWIG_NewPointerObj((void *) wxGREEN_PEN
, SWIGTYPE_p_wxPen
, 0);
15964 static int _wrap_BLACK_PEN_set(PyObject
*) {
15965 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
15970 static PyObject
*_wrap_BLACK_PEN_get() {
15973 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_PEN
, SWIGTYPE_p_wxPen
, 0);
15978 static int _wrap_WHITE_PEN_set(PyObject
*) {
15979 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
15984 static PyObject
*_wrap_WHITE_PEN_get() {
15987 pyobj
= SWIG_NewPointerObj((void *) wxWHITE_PEN
, SWIGTYPE_p_wxPen
, 0);
15992 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
15993 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
15998 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16001 pyobj
= SWIG_NewPointerObj((void *) wxTRANSPARENT_PEN
, SWIGTYPE_p_wxPen
, 0);
16006 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
16007 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16012 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16015 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_DASHED_PEN
, SWIGTYPE_p_wxPen
, 0);
16020 static int _wrap_GREY_PEN_set(PyObject
*) {
16021 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16026 static PyObject
*_wrap_GREY_PEN_get() {
16029 pyobj
= SWIG_NewPointerObj((void *) wxGREY_PEN
, SWIGTYPE_p_wxPen
, 0);
16034 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
16035 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16040 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16043 pyobj
= SWIG_NewPointerObj((void *) wxMEDIUM_GREY_PEN
, SWIGTYPE_p_wxPen
, 0);
16048 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
16049 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16054 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16057 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY_PEN
, SWIGTYPE_p_wxPen
, 0);
16062 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
16063 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16068 static PyObject
*_wrap_BLUE_BRUSH_get() {
16071 pyobj
= SWIG_NewPointerObj((void *) wxBLUE_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16076 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
16077 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16082 static PyObject
*_wrap_GREEN_BRUSH_get() {
16085 pyobj
= SWIG_NewPointerObj((void *) wxGREEN_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16090 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
16091 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16096 static PyObject
*_wrap_WHITE_BRUSH_get() {
16099 pyobj
= SWIG_NewPointerObj((void *) wxWHITE_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16104 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
16105 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16110 static PyObject
*_wrap_BLACK_BRUSH_get() {
16113 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16118 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
16119 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16124 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16127 pyobj
= SWIG_NewPointerObj((void *) wxTRANSPARENT_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16132 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
16133 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16138 static PyObject
*_wrap_CYAN_BRUSH_get() {
16141 pyobj
= SWIG_NewPointerObj((void *) wxCYAN_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16146 static int _wrap_RED_BRUSH_set(PyObject
*) {
16147 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16152 static PyObject
*_wrap_RED_BRUSH_get() {
16155 pyobj
= SWIG_NewPointerObj((void *) wxRED_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16160 static int _wrap_GREY_BRUSH_set(PyObject
*) {
16161 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16166 static PyObject
*_wrap_GREY_BRUSH_get() {
16169 pyobj
= SWIG_NewPointerObj((void *) wxGREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16174 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
16175 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16180 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16183 pyobj
= SWIG_NewPointerObj((void *) wxMEDIUM_GREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16188 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
16189 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16194 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
16197 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16202 static int _wrap_BLACK_set(PyObject
*) {
16203 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
16208 static PyObject
*_wrap_BLACK_get() {
16211 pyobj
= SWIG_NewPointerObj((void *) wxBLACK
, SWIGTYPE_p_wxColour
, 0);
16216 static int _wrap_WHITE_set(PyObject
*) {
16217 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16222 static PyObject
*_wrap_WHITE_get() {
16225 pyobj
= SWIG_NewPointerObj((void *) wxWHITE
, SWIGTYPE_p_wxColour
, 0);
16230 static int _wrap_RED_set(PyObject
*) {
16231 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16236 static PyObject
*_wrap_RED_get() {
16239 pyobj
= SWIG_NewPointerObj((void *) wxRED
, SWIGTYPE_p_wxColour
, 0);
16244 static int _wrap_BLUE_set(PyObject
*) {
16245 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16250 static PyObject
*_wrap_BLUE_get() {
16253 pyobj
= SWIG_NewPointerObj((void *) wxBLUE
, SWIGTYPE_p_wxColour
, 0);
16258 static int _wrap_GREEN_set(PyObject
*) {
16259 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
16264 static PyObject
*_wrap_GREEN_get() {
16267 pyobj
= SWIG_NewPointerObj((void *) wxGREEN
, SWIGTYPE_p_wxColour
, 0);
16272 static int _wrap_CYAN_set(PyObject
*) {
16273 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16278 static PyObject
*_wrap_CYAN_get() {
16281 pyobj
= SWIG_NewPointerObj((void *) wxCYAN
, SWIGTYPE_p_wxColour
, 0);
16286 static int _wrap_LIGHT_GREY_set(PyObject
*) {
16287 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
16292 static PyObject
*_wrap_LIGHT_GREY_get() {
16295 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY
, SWIGTYPE_p_wxColour
, 0);
16300 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
16301 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
16306 static PyObject
*_wrap_STANDARD_CURSOR_get() {
16309 pyobj
= SWIG_NewPointerObj((void *) wxSTANDARD_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
16314 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
16315 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
16320 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
16323 pyobj
= SWIG_NewPointerObj((void *) wxHOURGLASS_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
16328 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
16329 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
16334 static PyObject
*_wrap_CROSS_CURSOR_get() {
16337 pyobj
= SWIG_NewPointerObj((void *) wxCROSS_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
16342 static int _wrap_NullBitmap_set(PyObject
*) {
16343 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
16348 static PyObject
*_wrap_NullBitmap_get() {
16351 pyobj
= SWIG_NewPointerObj((void *) &wxNullBitmap
, SWIGTYPE_p_wxBitmap
, 0);
16356 static int _wrap_NullIcon_set(PyObject
*) {
16357 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
16362 static PyObject
*_wrap_NullIcon_get() {
16365 pyobj
= SWIG_NewPointerObj((void *) &wxNullIcon
, SWIGTYPE_p_wxIcon
, 0);
16370 static int _wrap_NullCursor_set(PyObject
*) {
16371 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
16376 static PyObject
*_wrap_NullCursor_get() {
16379 pyobj
= SWIG_NewPointerObj((void *) &wxNullCursor
, SWIGTYPE_p_wxCursor
, 0);
16384 static int _wrap_NullPen_set(PyObject
*) {
16385 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
16390 static PyObject
*_wrap_NullPen_get() {
16393 pyobj
= SWIG_NewPointerObj((void *) &wxNullPen
, SWIGTYPE_p_wxPen
, 0);
16398 static int _wrap_NullBrush_set(PyObject
*) {
16399 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
16404 static PyObject
*_wrap_NullBrush_get() {
16407 pyobj
= SWIG_NewPointerObj((void *) &wxNullBrush
, SWIGTYPE_p_wxBrush
, 0);
16412 static int _wrap_NullPalette_set(PyObject
*) {
16413 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
16418 static PyObject
*_wrap_NullPalette_get() {
16421 pyobj
= SWIG_NewPointerObj((void *) &wxNullPalette
, SWIGTYPE_p_wxPalette
, 0);
16426 static int _wrap_NullFont_set(PyObject
*) {
16427 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
16432 static PyObject
*_wrap_NullFont_get() {
16435 pyobj
= SWIG_NewPointerObj((void *) &wxNullFont
, SWIGTYPE_p_wxFont
, 0);
16440 static int _wrap_NullColour_set(PyObject
*) {
16441 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
16446 static PyObject
*_wrap_NullColour_get() {
16449 pyobj
= SWIG_NewPointerObj((void *) &wxNullColour
, SWIGTYPE_p_wxColour
, 0);
16454 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16455 PyObject
*resultobj
;
16456 wxPenList
*arg1
= (wxPenList
*) 0 ;
16457 wxPen
*arg2
= (wxPen
*) 0 ;
16458 PyObject
* obj0
= 0 ;
16459 PyObject
* obj1
= 0 ;
16460 char *kwnames
[] = {
16461 (char *) "self",(char *) "pen", NULL
16464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
16465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16466 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16469 (arg1
)->AddPen(arg2
);
16471 wxPyEndAllowThreads(__tstate
);
16472 if (PyErr_Occurred()) SWIG_fail
;
16474 Py_INCREF(Py_None
); resultobj
= Py_None
;
16481 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16482 PyObject
*resultobj
;
16483 wxPenList
*arg1
= (wxPenList
*) 0 ;
16484 wxColour
*arg2
= 0 ;
16489 PyObject
* obj0
= 0 ;
16490 PyObject
* obj1
= 0 ;
16491 PyObject
* obj2
= 0 ;
16492 PyObject
* obj3
= 0 ;
16493 char *kwnames
[] = {
16494 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
16497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16501 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16504 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16508 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16509 if (PyErr_Occurred()) SWIG_fail
;
16512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16513 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
16515 wxPyEndAllowThreads(__tstate
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16518 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
16525 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16526 PyObject
*resultobj
;
16527 wxPenList
*arg1
= (wxPenList
*) 0 ;
16528 wxPen
*arg2
= (wxPen
*) 0 ;
16529 PyObject
* obj0
= 0 ;
16530 PyObject
* obj1
= 0 ;
16531 char *kwnames
[] = {
16532 (char *) "self",(char *) "pen", NULL
16535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
16536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16537 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16540 (arg1
)->RemovePen(arg2
);
16542 wxPyEndAllowThreads(__tstate
);
16543 if (PyErr_Occurred()) SWIG_fail
;
16545 Py_INCREF(Py_None
); resultobj
= Py_None
;
16552 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16553 PyObject
*resultobj
;
16554 wxPenList
*arg1
= (wxPenList
*) 0 ;
16556 PyObject
* obj0
= 0 ;
16557 char *kwnames
[] = {
16558 (char *) "self", NULL
16561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
16562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16565 result
= (int)(arg1
)->GetCount();
16567 wxPyEndAllowThreads(__tstate
);
16568 if (PyErr_Occurred()) SWIG_fail
;
16570 resultobj
= SWIG_PyObj_FromInt((int)result
);
16577 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
16579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16580 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
16582 return Py_BuildValue((char *)"");
16584 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16585 PyObject
*resultobj
;
16586 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16587 wxBrush
*arg2
= (wxBrush
*) 0 ;
16588 PyObject
* obj0
= 0 ;
16589 PyObject
* obj1
= 0 ;
16590 char *kwnames
[] = {
16591 (char *) "self",(char *) "brush", NULL
16594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
16595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16596 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 (arg1
)->AddBrush(arg2
);
16601 wxPyEndAllowThreads(__tstate
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16604 Py_INCREF(Py_None
); resultobj
= Py_None
;
16611 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16612 PyObject
*resultobj
;
16613 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16614 wxColour
*arg2
= 0 ;
16618 PyObject
* obj0
= 0 ;
16619 PyObject
* obj1
= 0 ;
16620 PyObject
* obj2
= 0 ;
16621 char *kwnames
[] = {
16622 (char *) "self",(char *) "colour",(char *) "style", NULL
16625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16629 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16632 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16637 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
16639 wxPyEndAllowThreads(__tstate
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16642 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
16649 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16650 PyObject
*resultobj
;
16651 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16652 wxBrush
*arg2
= (wxBrush
*) 0 ;
16653 PyObject
* obj0
= 0 ;
16654 PyObject
* obj1
= 0 ;
16655 char *kwnames
[] = {
16656 (char *) "self",(char *) "brush", NULL
16659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
16660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16661 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16664 (arg1
)->RemoveBrush(arg2
);
16666 wxPyEndAllowThreads(__tstate
);
16667 if (PyErr_Occurred()) SWIG_fail
;
16669 Py_INCREF(Py_None
); resultobj
= Py_None
;
16676 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16677 PyObject
*resultobj
;
16678 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16680 PyObject
* obj0
= 0 ;
16681 char *kwnames
[] = {
16682 (char *) "self", NULL
16685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
16686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16689 result
= (int)(arg1
)->GetCount();
16691 wxPyEndAllowThreads(__tstate
);
16692 if (PyErr_Occurred()) SWIG_fail
;
16694 resultobj
= SWIG_PyObj_FromInt((int)result
);
16701 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
16703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16704 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
16706 return Py_BuildValue((char *)"");
16708 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16709 PyObject
*resultobj
;
16710 wxColourDatabase
*result
;
16711 char *kwnames
[] = {
16715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
16717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16718 result
= (wxColourDatabase
*)new wxColourDatabase();
16720 wxPyEndAllowThreads(__tstate
);
16721 if (PyErr_Occurred()) SWIG_fail
;
16723 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDatabase
, 1);
16730 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16731 PyObject
*resultobj
;
16732 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16733 PyObject
* obj0
= 0 ;
16734 char *kwnames
[] = {
16735 (char *) "self", NULL
16738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
16739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16744 wxPyEndAllowThreads(__tstate
);
16745 if (PyErr_Occurred()) SWIG_fail
;
16747 Py_INCREF(Py_None
); resultobj
= Py_None
;
16754 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16755 PyObject
*resultobj
;
16756 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16757 wxString
*arg2
= 0 ;
16759 bool temp2
= False
;
16760 PyObject
* obj0
= 0 ;
16761 PyObject
* obj1
= 0 ;
16762 char *kwnames
[] = {
16763 (char *) "self",(char *) "name", NULL
16766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
16767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16769 arg2
= wxString_in_helper(obj1
);
16770 if (arg2
== NULL
) SWIG_fail
;
16774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16775 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
16777 wxPyEndAllowThreads(__tstate
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16781 wxColour
* resultptr
;
16782 resultptr
= new wxColour((wxColour
&) result
);
16783 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16799 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16800 PyObject
*resultobj
;
16801 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16802 wxColour
*arg2
= 0 ;
16805 PyObject
* obj0
= 0 ;
16806 PyObject
* obj1
= 0 ;
16807 char *kwnames
[] = {
16808 (char *) "self",(char *) "colour", NULL
16811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
16812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16815 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16819 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
16821 wxPyEndAllowThreads(__tstate
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16826 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16828 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16837 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16838 PyObject
*resultobj
;
16839 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16840 wxString
*arg2
= 0 ;
16841 wxColour
*arg3
= 0 ;
16842 bool temp2
= False
;
16844 PyObject
* obj0
= 0 ;
16845 PyObject
* obj1
= 0 ;
16846 PyObject
* obj2
= 0 ;
16847 char *kwnames
[] = {
16848 (char *) "self",(char *) "name",(char *) "colour", NULL
16851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16854 arg2
= wxString_in_helper(obj1
);
16855 if (arg2
== NULL
) SWIG_fail
;
16860 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16864 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
16866 wxPyEndAllowThreads(__tstate
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16869 Py_INCREF(Py_None
); resultobj
= Py_None
;
16884 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16885 PyObject
*resultobj
;
16886 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16887 wxString
*arg2
= 0 ;
16891 bool temp2
= False
;
16892 PyObject
* obj0
= 0 ;
16893 PyObject
* obj1
= 0 ;
16894 PyObject
* obj2
= 0 ;
16895 PyObject
* obj3
= 0 ;
16896 PyObject
* obj4
= 0 ;
16897 char *kwnames
[] = {
16898 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
16901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16904 arg2
= wxString_in_helper(obj1
);
16905 if (arg2
== NULL
) SWIG_fail
;
16909 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16910 if (PyErr_Occurred()) SWIG_fail
;
16913 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16914 if (PyErr_Occurred()) SWIG_fail
;
16917 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16918 if (PyErr_Occurred()) SWIG_fail
;
16921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16922 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
16924 wxPyEndAllowThreads(__tstate
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16927 Py_INCREF(Py_None
); resultobj
= Py_None
;
16942 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
16944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16945 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
16947 return Py_BuildValue((char *)"");
16949 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16950 PyObject
*resultobj
;
16951 wxFontList
*arg1
= (wxFontList
*) 0 ;
16952 wxFont
*arg2
= (wxFont
*) 0 ;
16953 PyObject
* obj0
= 0 ;
16954 PyObject
* obj1
= 0 ;
16955 char *kwnames
[] = {
16956 (char *) "self",(char *) "font", NULL
16959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
16960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16961 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16964 (arg1
)->AddFont(arg2
);
16966 wxPyEndAllowThreads(__tstate
);
16967 if (PyErr_Occurred()) SWIG_fail
;
16969 Py_INCREF(Py_None
); resultobj
= Py_None
;
16976 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16977 PyObject
*resultobj
;
16978 wxFontList
*arg1
= (wxFontList
*) 0 ;
16983 bool arg6
= (bool) False
;
16984 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16985 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16986 int arg8
= (int) wxFONTENCODING_DEFAULT
;
16988 bool temp7
= False
;
16989 PyObject
* obj0
= 0 ;
16990 PyObject
* obj1
= 0 ;
16991 PyObject
* obj2
= 0 ;
16992 PyObject
* obj3
= 0 ;
16993 PyObject
* obj4
= 0 ;
16994 PyObject
* obj5
= 0 ;
16995 PyObject
* obj6
= 0 ;
16996 PyObject
* obj7
= 0 ;
16997 char *kwnames
[] = {
16998 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17004 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17005 if (PyErr_Occurred()) SWIG_fail
;
17008 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17009 if (PyErr_Occurred()) SWIG_fail
;
17012 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17016 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17021 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
17022 if (PyErr_Occurred()) SWIG_fail
;
17027 arg7
= wxString_in_helper(obj6
);
17028 if (arg7
== NULL
) SWIG_fail
;
17034 arg8
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj7
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17040 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17042 wxPyEndAllowThreads(__tstate
);
17043 if (PyErr_Occurred()) SWIG_fail
;
17045 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
17060 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17061 PyObject
*resultobj
;
17062 wxFontList
*arg1
= (wxFontList
*) 0 ;
17063 wxFont
*arg2
= (wxFont
*) 0 ;
17064 PyObject
* obj0
= 0 ;
17065 PyObject
* obj1
= 0 ;
17066 char *kwnames
[] = {
17067 (char *) "self",(char *) "font", NULL
17070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17072 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17075 (arg1
)->RemoveFont(arg2
);
17077 wxPyEndAllowThreads(__tstate
);
17078 if (PyErr_Occurred()) SWIG_fail
;
17080 Py_INCREF(Py_None
); resultobj
= Py_None
;
17087 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17088 PyObject
*resultobj
;
17089 wxFontList
*arg1
= (wxFontList
*) 0 ;
17091 PyObject
* obj0
= 0 ;
17092 char *kwnames
[] = {
17093 (char *) "self", NULL
17096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17100 result
= (int)(arg1
)->GetCount();
17102 wxPyEndAllowThreads(__tstate
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17105 resultobj
= SWIG_PyObj_FromInt((int)result
);
17112 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
17114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17115 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17117 return Py_BuildValue((char *)"");
17119 static int _wrap_TheFontList_set(PyObject
*) {
17120 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17125 static PyObject
*_wrap_TheFontList_get() {
17128 pyobj
= SWIG_NewPointerObj((void *) wxTheFontList
, SWIGTYPE_p_wxFontList
, 0);
17133 static int _wrap_ThePenList_set(PyObject
*) {
17134 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17139 static PyObject
*_wrap_ThePenList_get() {
17142 pyobj
= SWIG_NewPointerObj((void *) wxThePenList
, SWIGTYPE_p_wxPenList
, 0);
17147 static int _wrap_TheBrushList_set(PyObject
*) {
17148 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17153 static PyObject
*_wrap_TheBrushList_get() {
17156 pyobj
= SWIG_NewPointerObj((void *) wxTheBrushList
, SWIGTYPE_p_wxBrushList
, 0);
17161 static int _wrap_TheColourDatabase_set(PyObject
*) {
17162 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17167 static PyObject
*_wrap_TheColourDatabase_get() {
17170 pyobj
= SWIG_NewPointerObj((void *) wxTheColourDatabase
, SWIGTYPE_p_wxColourDatabase
, 0);
17175 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17176 PyObject
*resultobj
;
17178 char *kwnames
[] = {
17182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17185 result
= (wxEffects
*)new wxEffects();
17187 wxPyEndAllowThreads(__tstate
);
17188 if (PyErr_Occurred()) SWIG_fail
;
17190 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEffects
, 1);
17197 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17198 PyObject
*resultobj
;
17199 wxEffects
*arg1
= (wxEffects
*) 0 ;
17201 PyObject
* obj0
= 0 ;
17202 char *kwnames
[] = {
17203 (char *) "self", NULL
17206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
17207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17210 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
17212 wxPyEndAllowThreads(__tstate
);
17213 if (PyErr_Occurred()) SWIG_fail
;
17216 wxColour
* resultptr
;
17217 resultptr
= new wxColour((wxColour
&) result
);
17218 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17226 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17227 PyObject
*resultobj
;
17228 wxEffects
*arg1
= (wxEffects
*) 0 ;
17230 PyObject
* obj0
= 0 ;
17231 char *kwnames
[] = {
17232 (char *) "self", NULL
17235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17239 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17241 wxPyEndAllowThreads(__tstate
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17245 wxColour
* resultptr
;
17246 resultptr
= new wxColour((wxColour
&) result
);
17247 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17255 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17256 PyObject
*resultobj
;
17257 wxEffects
*arg1
= (wxEffects
*) 0 ;
17259 PyObject
* obj0
= 0 ;
17260 char *kwnames
[] = {
17261 (char *) "self", NULL
17264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
17265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17268 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
17270 wxPyEndAllowThreads(__tstate
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17274 wxColour
* resultptr
;
17275 resultptr
= new wxColour((wxColour
&) result
);
17276 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17284 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
;
17286 wxEffects
*arg1
= (wxEffects
*) 0 ;
17288 PyObject
* obj0
= 0 ;
17289 char *kwnames
[] = {
17290 (char *) "self", NULL
17293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
17294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17297 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
17299 wxPyEndAllowThreads(__tstate
);
17300 if (PyErr_Occurred()) SWIG_fail
;
17303 wxColour
* resultptr
;
17304 resultptr
= new wxColour((wxColour
&) result
);
17305 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17313 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17314 PyObject
*resultobj
;
17315 wxEffects
*arg1
= (wxEffects
*) 0 ;
17317 PyObject
* obj0
= 0 ;
17318 char *kwnames
[] = {
17319 (char *) "self", NULL
17322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
17323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17326 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
17328 wxPyEndAllowThreads(__tstate
);
17329 if (PyErr_Occurred()) SWIG_fail
;
17332 wxColour
* resultptr
;
17333 resultptr
= new wxColour((wxColour
&) result
);
17334 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17342 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17343 PyObject
*resultobj
;
17344 wxEffects
*arg1
= (wxEffects
*) 0 ;
17345 wxColour
*arg2
= 0 ;
17347 PyObject
* obj0
= 0 ;
17348 PyObject
* obj1
= 0 ;
17349 char *kwnames
[] = {
17350 (char *) "self",(char *) "c", NULL
17353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17357 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17361 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
17363 wxPyEndAllowThreads(__tstate
);
17364 if (PyErr_Occurred()) SWIG_fail
;
17366 Py_INCREF(Py_None
); resultobj
= Py_None
;
17373 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17374 PyObject
*resultobj
;
17375 wxEffects
*arg1
= (wxEffects
*) 0 ;
17376 wxColour
*arg2
= 0 ;
17378 PyObject
* obj0
= 0 ;
17379 PyObject
* obj1
= 0 ;
17380 char *kwnames
[] = {
17381 (char *) "self",(char *) "c", NULL
17384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17388 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17392 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
17394 wxPyEndAllowThreads(__tstate
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17397 Py_INCREF(Py_None
); resultobj
= Py_None
;
17404 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17405 PyObject
*resultobj
;
17406 wxEffects
*arg1
= (wxEffects
*) 0 ;
17407 wxColour
*arg2
= 0 ;
17409 PyObject
* obj0
= 0 ;
17410 PyObject
* obj1
= 0 ;
17411 char *kwnames
[] = {
17412 (char *) "self",(char *) "c", NULL
17415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17419 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17423 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
17425 wxPyEndAllowThreads(__tstate
);
17426 if (PyErr_Occurred()) SWIG_fail
;
17428 Py_INCREF(Py_None
); resultobj
= Py_None
;
17435 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17436 PyObject
*resultobj
;
17437 wxEffects
*arg1
= (wxEffects
*) 0 ;
17438 wxColour
*arg2
= 0 ;
17440 PyObject
* obj0
= 0 ;
17441 PyObject
* obj1
= 0 ;
17442 char *kwnames
[] = {
17443 (char *) "self",(char *) "c", NULL
17446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17450 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17454 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
17456 wxPyEndAllowThreads(__tstate
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17459 Py_INCREF(Py_None
); resultobj
= Py_None
;
17466 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17467 PyObject
*resultobj
;
17468 wxEffects
*arg1
= (wxEffects
*) 0 ;
17469 wxColour
*arg2
= 0 ;
17471 PyObject
* obj0
= 0 ;
17472 PyObject
* obj1
= 0 ;
17473 char *kwnames
[] = {
17474 (char *) "self",(char *) "c", NULL
17477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17481 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
17487 wxPyEndAllowThreads(__tstate
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17490 Py_INCREF(Py_None
); resultobj
= Py_None
;
17497 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17498 PyObject
*resultobj
;
17499 wxEffects
*arg1
= (wxEffects
*) 0 ;
17500 wxColour
*arg2
= 0 ;
17501 wxColour
*arg3
= 0 ;
17502 wxColour
*arg4
= 0 ;
17503 wxColour
*arg5
= 0 ;
17504 wxColour
*arg6
= 0 ;
17510 PyObject
* obj0
= 0 ;
17511 PyObject
* obj1
= 0 ;
17512 PyObject
* obj2
= 0 ;
17513 PyObject
* obj3
= 0 ;
17514 PyObject
* obj4
= 0 ;
17515 PyObject
* obj5
= 0 ;
17516 char *kwnames
[] = {
17517 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
17520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17524 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17528 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17532 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17536 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
17540 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
17543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17544 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
17546 wxPyEndAllowThreads(__tstate
);
17547 if (PyErr_Occurred()) SWIG_fail
;
17549 Py_INCREF(Py_None
); resultobj
= Py_None
;
17556 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17557 PyObject
*resultobj
;
17558 wxEffects
*arg1
= (wxEffects
*) 0 ;
17561 int arg4
= (int) 1 ;
17563 PyObject
* obj0
= 0 ;
17564 PyObject
* obj1
= 0 ;
17565 PyObject
* obj2
= 0 ;
17566 PyObject
* obj3
= 0 ;
17567 char *kwnames
[] = {
17568 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17573 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17574 if (arg2
== NULL
) {
17575 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17579 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17583 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17589 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
17591 wxPyEndAllowThreads(__tstate
);
17592 if (PyErr_Occurred()) SWIG_fail
;
17594 Py_INCREF(Py_None
); resultobj
= Py_None
;
17601 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17602 PyObject
*resultobj
;
17603 wxEffects
*arg1
= (wxEffects
*) 0 ;
17606 wxBitmap
*arg4
= 0 ;
17609 PyObject
* obj0
= 0 ;
17610 PyObject
* obj1
= 0 ;
17611 PyObject
* obj2
= 0 ;
17612 PyObject
* obj3
= 0 ;
17613 char *kwnames
[] = {
17614 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
17617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17621 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17623 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17624 if (arg3
== NULL
) {
17625 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17627 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17628 if (arg4
== NULL
) {
17629 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17633 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
17635 wxPyEndAllowThreads(__tstate
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17645 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
17647 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17648 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
17650 return Py_BuildValue((char *)"");
17652 static PyMethodDef SwigMethods
[] = {
17653 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
17654 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
17655 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
17656 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
17657 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
17658 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
17659 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
17660 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
17661 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
17662 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
17663 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
17664 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
17665 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
17666 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17667 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
17668 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
17669 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
17670 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
17671 { (char *)"Colour_InitFromName", (PyCFunction
) _wrap_Colour_InitFromName
, METH_VARARGS
| METH_KEYWORDS
},
17672 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
17673 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
17674 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
17675 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
17676 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
17677 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
17678 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17679 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
17680 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
17681 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
17682 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
17683 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
17684 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
17685 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17686 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17687 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17688 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
17689 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
17690 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
17691 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17692 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17693 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
17694 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
17695 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
17696 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
17697 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
17698 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
17699 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
17700 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
},
17701 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
17702 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
17703 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
17704 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17705 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
17706 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
17707 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17708 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
17709 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17710 { (char *)"Brush_GetMacTheme", (PyCFunction
) _wrap_Brush_GetMacTheme
, METH_VARARGS
| METH_KEYWORDS
},
17711 { (char *)"Brush_SetMacTheme", (PyCFunction
) _wrap_Brush_SetMacTheme
, METH_VARARGS
| METH_KEYWORDS
},
17712 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
17713 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
17714 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
17715 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17716 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
17717 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
17718 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
17719 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
17720 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17721 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17722 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17723 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17724 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
17725 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
17726 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
17727 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
17728 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17729 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
17730 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
17731 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
17732 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17733 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17734 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17735 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
17736 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
17737 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
17738 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
17739 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
17740 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
17741 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
17742 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17743 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
17744 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17745 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17746 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17747 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17748 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17749 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17750 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17751 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17752 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
17753 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
17754 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
17755 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
17756 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
17757 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
17758 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
17759 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
17760 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
17761 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
17762 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
17763 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
17764 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
17765 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
17766 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
17767 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
17768 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
17769 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
17770 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
17771 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
17772 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
17773 { (char *)"new_CursorFromBits", (PyCFunction
) _wrap_new_CursorFromBits
, METH_VARARGS
| METH_KEYWORDS
},
17774 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17775 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
17776 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
17777 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17778 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
17779 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
17780 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
17781 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
17782 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
17783 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
17784 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
17785 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
17786 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
17787 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
17788 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
17789 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
17790 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
17791 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
17792 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
17793 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
17794 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
17795 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
17796 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
17797 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
17798 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
17799 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17800 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17801 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
17802 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
17803 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
17804 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
17805 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
17806 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
17807 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17808 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
17809 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17810 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
17811 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
17812 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
17813 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
17814 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
17815 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
17816 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
17817 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
17818 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
17819 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
17820 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
17821 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17822 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
17823 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
17824 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
17825 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
17826 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17827 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
17828 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17829 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
17830 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
17831 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
17832 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
17833 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17834 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
17835 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
17836 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
17837 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
17838 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
17839 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
17840 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
17841 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
17842 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
17843 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
17844 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
17845 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
17846 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
17847 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
17848 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
17849 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17850 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17851 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
17852 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
17853 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
17854 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
17855 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17856 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
17857 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17858 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
17859 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
17860 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
17861 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
17862 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
17863 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17864 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
17865 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
17866 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
17867 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
17868 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
17869 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
17870 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
17871 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
17872 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
17873 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17874 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
17875 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
17876 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
17877 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
17878 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17879 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
17880 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
17881 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
17882 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17883 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
17884 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
17885 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
17886 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
17887 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
17888 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
17889 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17890 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
17891 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
17892 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
17893 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17894 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
17895 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
17896 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
17897 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
17898 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
17899 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
17900 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
17901 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
17902 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17903 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17904 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
17905 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
17906 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
17907 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
17908 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
17909 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
17910 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
17911 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
17912 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
17913 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
17914 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
17915 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
17916 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
17917 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
17918 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
17919 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
17920 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
17921 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
17922 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
17923 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
17924 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
17925 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17926 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
17927 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
17928 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
17929 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
17930 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
17931 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
17932 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
17933 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
17934 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
17935 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
17936 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
17937 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
17938 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
17939 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
17940 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
17941 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
17942 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
17943 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
17944 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
17945 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
17946 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
17947 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
17948 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
17949 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
17950 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
17951 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
17952 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
17953 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
17954 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
17955 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
},
17956 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
17957 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
},
17958 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
17959 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
},
17960 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
17961 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
},
17962 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
17963 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
},
17964 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
17965 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
},
17966 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
17967 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
},
17968 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
17969 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
},
17970 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
17971 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
17972 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
17973 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
17974 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
17975 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
17976 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
17977 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
},
17978 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
17979 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
},
17980 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
17981 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
17982 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
},
17983 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
17984 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
},
17985 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17986 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
},
17987 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
17988 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
},
17989 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
17990 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
},
17991 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
17992 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
17993 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
17994 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
17995 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
17996 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
17997 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
17998 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
17999 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
18000 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
18001 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
18002 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
18003 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
18004 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18005 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18006 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18007 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18008 { (char *)"DC_SetClippingRegionXY", (PyCFunction
) _wrap_DC_SetClippingRegionXY
, METH_VARARGS
| METH_KEYWORDS
},
18009 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18010 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18011 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
18012 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18013 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
18014 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18015 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
18016 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
18017 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18018 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18019 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18020 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
18021 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18022 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
18023 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
18024 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
18025 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
18026 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
18027 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
18028 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
18029 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
18030 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
18031 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
18032 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
18033 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18034 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18035 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18036 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
18037 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18038 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18039 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18040 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18041 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
18042 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
18043 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18044 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18045 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18046 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18047 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18048 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18049 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18050 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18051 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18052 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18053 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18054 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18055 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18056 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18057 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18058 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18059 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
18060 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18061 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18062 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18063 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18064 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18065 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18066 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
18067 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
18068 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
18069 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
18070 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18071 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
18072 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
18073 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
18074 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
18075 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
18076 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
18077 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
18078 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
18079 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
18080 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
18081 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
18082 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
18083 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
18084 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
18085 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
18086 { (char *)"new_BufferedPaintDC", _wrap_new_BufferedPaintDC
, METH_VARARGS
},
18087 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
18088 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
18089 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
18090 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18091 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18092 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
18093 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
18094 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
18095 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18096 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
18097 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
18098 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
18099 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
18100 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
18101 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
18102 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18103 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18104 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18105 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18106 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
18107 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18108 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
18109 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
18110 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
18111 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
18112 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
18113 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18114 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18115 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
18116 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
18117 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18118 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
18119 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
18120 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
18121 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
18122 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
18123 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18124 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
18125 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
18126 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
18127 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
18128 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18129 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
18130 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
18131 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
18132 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
18133 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18134 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
18135 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18136 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18137 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
18138 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
18139 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
18140 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
18141 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
18142 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
18143 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
18144 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
18145 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18146 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
18147 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
18148 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18149 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18150 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18151 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18152 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18153 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18154 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18155 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18156 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18157 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18158 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
18159 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
18160 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18161 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
18166 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18168 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18169 return (void *)((wxWindow
*) ((wxControl
*) x
));
18171 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18172 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18174 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18175 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18177 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
18178 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
18180 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
18181 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18183 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18184 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18186 static void *_p_wxPenTo_p_wxObject(void *x
) {
18187 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
18189 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
18190 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
18192 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18193 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18195 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18196 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18198 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
18199 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
18201 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18202 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18204 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18205 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18207 static void *_p_wxIconTo_p_wxObject(void *x
) {
18208 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
18210 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18211 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18213 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18214 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18216 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18217 return (void *)((wxObject
*) ((wxSizer
*) x
));
18219 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18220 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18222 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18223 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18225 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18226 return (void *)((wxObject
*) ((wxPenList
*) x
));
18228 static void *_p_wxEventTo_p_wxObject(void *x
) {
18229 return (void *)((wxObject
*) ((wxEvent
*) x
));
18231 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18232 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18234 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18235 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18237 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18238 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18240 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18241 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18243 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18244 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18246 static void *_p_wxDCTo_p_wxObject(void *x
) {
18247 return (void *)((wxObject
*) ((wxDC
*) x
));
18249 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18250 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18252 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18253 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18255 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18256 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18258 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18259 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18261 static void *_p_wxControlTo_p_wxObject(void *x
) {
18262 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18264 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18265 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18267 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
18268 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
18270 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18271 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18273 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
18274 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
18276 static void *_p_wxRegionTo_p_wxObject(void *x
) {
18277 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
18279 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18280 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18282 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
18283 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
18285 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
18286 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
18288 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
18289 return (void *)((wxObject
*) ((wxEffects
*) x
));
18291 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18292 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18294 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18295 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18297 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
18298 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
18300 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18301 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18303 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18304 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18306 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18307 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18309 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18310 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18312 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18313 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18315 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18316 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18318 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18319 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18321 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18322 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18324 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18325 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18327 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18328 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18330 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18331 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18333 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18334 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18336 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18337 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18339 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18340 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18342 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18343 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18345 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18346 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18348 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18349 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18351 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18352 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18354 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18355 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18357 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18358 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18360 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18361 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18363 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18364 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18366 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18367 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18369 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
18370 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18372 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
18373 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
18375 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
18376 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
18378 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
18379 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
18381 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18382 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18384 static void *_p_wxImageTo_p_wxObject(void *x
) {
18385 return (void *)((wxObject
*) ((wxImage
*) x
));
18387 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18388 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18390 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
18391 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
18393 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
18394 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
18396 static void *_p_wxImageListTo_p_wxObject(void *x
) {
18397 return (void *)((wxObject
*) ((wxImageList
*) x
));
18399 static void *_p_wxCursorTo_p_wxObject(void *x
) {
18400 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
18402 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
18403 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
18405 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
18406 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
18408 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
18409 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18411 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
18412 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18414 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
18415 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
18417 static void *_p_wxWindowTo_p_wxObject(void *x
) {
18418 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
18420 static void *_p_wxMenuTo_p_wxObject(void *x
) {
18421 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
18423 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
18424 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
18426 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
18427 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
18429 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
18430 return (void *)((wxObject
*) ((wxBrushList
*) x
));
18432 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
18433 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
18435 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
18436 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
18438 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
18439 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
18441 static void *_p_wxMaskTo_p_wxObject(void *x
) {
18442 return (void *)((wxObject
*) ((wxMask
*) x
));
18444 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
18445 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18447 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
18448 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
18450 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
18451 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
18453 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
18454 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
18456 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
18457 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
18459 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
18460 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
18462 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
18463 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18465 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
18466 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
18468 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
18469 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
18471 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
18472 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
18474 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
18475 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18477 static void *_p_wxFontTo_p_wxObject(void *x
) {
18478 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
18480 static void *_p_wxBrushTo_p_wxObject(void *x
) {
18481 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
18483 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
18484 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
18486 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
18487 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18489 static void *_p_wxColourTo_p_wxObject(void *x
) {
18490 return (void *)((wxObject
*) ((wxColour
*) x
));
18492 static void *_p_wxFontListTo_p_wxObject(void *x
) {
18493 return (void *)((wxObject
*) ((wxFontList
*) x
));
18495 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
18496 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
18498 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
18499 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
18501 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
18502 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18504 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
18505 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
18507 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
18508 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
18510 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
18511 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
18513 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
18514 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
18516 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
18517 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
18519 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
18520 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
18522 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
18523 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18525 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
18526 return (void *)((wxDC
*) ((wxClientDC
*) x
));
18528 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
18529 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
18531 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
18532 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
18534 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
18535 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
18537 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
18538 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
18540 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
18541 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
18543 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
18544 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
18546 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
18547 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
18549 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
18550 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
18552 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
18553 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
18555 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
18556 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
18558 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
18559 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
18561 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
18562 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
18564 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
18565 return (void *)((wxPen
*) ((wxPyPen
*) x
));
18567 static swig_type_info _swigt__p_wxPostScriptDC
[] = {{"_p_wxPostScriptDC", 0, "wxPostScriptDC *", 0},{"_p_wxPostScriptDC"},{0}};
18568 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
18569 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
18570 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}};
18571 static swig_type_info _swigt__p_wxMirrorDC
[] = {{"_p_wxMirrorDC", 0, "wxMirrorDC *", 0},{"_p_wxMirrorDC"},{0}};
18572 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
18573 static swig_type_info _swigt__p_wxPyFontEnumerator
[] = {{"_p_wxPyFontEnumerator", 0, "wxPyFontEnumerator *", 0},{"_p_wxPyFontEnumerator"},{0}};
18574 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
18575 static swig_type_info _swigt__p_wxIconLocation
[] = {{"_p_wxIconLocation", 0, "wxIconLocation *", 0},{"_p_wxIconLocation"},{0}};
18576 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
18577 static swig_type_info _swigt__p_wxMetaFileDC
[] = {{"_p_wxMetaFileDC", 0, "wxMetaFileDC *", 0},{"_p_wxMetaFileDC"},{0}};
18578 static swig_type_info _swigt__p_wxMask
[] = {{"_p_wxMask", 0, "wxMask *", 0},{"_p_wxMask"},{0}};
18579 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
18580 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}};
18581 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
18582 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
18583 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}};
18584 static swig_type_info _swigt__p_wxFontMapper
[] = {{"_p_wxFontMapper", 0, "wxFontMapper *", 0},{"_p_wxFontMapper"},{0}};
18585 static swig_type_info _swigt__p_wxEffects
[] = {{"_p_wxEffects", 0, "wxEffects *", 0},{"_p_wxEffects"},{0}};
18586 static swig_type_info _swigt__p_wxNativeEncodingInfo
[] = {{"_p_wxNativeEncodingInfo", 0, "wxNativeEncodingInfo *", 0},{"_p_wxNativeEncodingInfo"},{0}};
18587 static swig_type_info _swigt__p_wxPalette
[] = {{"_p_wxPalette", 0, "wxPalette *", 0},{"_p_wxPalette"},{0}};
18588 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
18589 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}};
18590 static swig_type_info _swigt__p_wxRegionIterator
[] = {{"_p_wxRegionIterator", 0, "wxRegionIterator *", 0},{"_p_wxRegionIterator"},{0}};
18591 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
18592 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
18593 static swig_type_info _swigt__p_wxPrinterDC
[] = {{"_p_wxPrinterDC", 0, "wxPrinterDC *", 0},{"_p_wxPrinterDC"},{0}};
18594 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
18595 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
18596 static swig_type_info _swigt__p_wxDash
[] = {{"_p_wxDash", 0, "wxDash *", 0},{"_p_wxDash"},{0}};
18597 static swig_type_info _swigt__p_wxScreenDC
[] = {{"_p_wxScreenDC", 0, "wxScreenDC *", 0},{"_p_wxScreenDC"},{0}};
18598 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
18599 static swig_type_info _swigt__p_wxClientDC
[] = {{"_p_wxClientDC", 0, "wxClientDC *", 0},{"_p_wxClientDC"},{0}};
18600 static swig_type_info _swigt__p_wxBufferedDC
[] = {{"_p_wxBufferedDC", 0, "wxBufferedDC *", 0},{"_p_wxBufferedDC"},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxBufferedDC
},{0}};
18601 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
18602 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
18603 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}};
18604 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
18605 static swig_type_info _swigt__p_wxLocale
[] = {{"_p_wxLocale", 0, "wxLocale *", 0},{"_p_wxLocale"},{0}};
18606 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
18607 static swig_type_info _swigt__p_wxLanguageInfo
[] = {{"_p_wxLanguageInfo", 0, "wxLanguageInfo *", 0},{"_p_wxLanguageInfo"},{0}};
18608 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxConfigBase"},{0}};
18609 static swig_type_info _swigt__p_wxWindowDC
[] = {{"_p_wxWindowDC", 0, "wxWindowDC *", 0},{"_p_wxWindowDC"},{0}};
18610 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
18611 static swig_type_info _swigt__p_wxBrushList
[] = {{"_p_wxBrushList", 0, "wxBrushList *", 0},{"_p_wxBrushList"},{0}};
18612 static swig_type_info _swigt__p_wxFontList
[] = {{"_p_wxFontList", 0, "wxFontList *", 0},{"_p_wxFontList"},{0}};
18613 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPyPen", _p_wxPyPenTo_p_wxPen
},{"_p_wxPen"},{0}};
18614 static swig_type_info _swigt__p_wxBufferedPaintDC
[] = {{"_p_wxBufferedPaintDC", 0, "wxBufferedPaintDC *", 0},{"_p_wxBufferedPaintDC"},{0}};
18615 static swig_type_info _swigt__p_wxPaintDC
[] = {{"_p_wxPaintDC", 0, "wxPaintDC *", 0},{"_p_wxPaintDC"},{0}};
18616 static swig_type_info _swigt__p_wxPenList
[] = {{"_p_wxPenList", 0, "wxPenList *", 0},{"_p_wxPenList"},{0}};
18617 static swig_type_info _swigt__p_wxPyPen
[] = {{"_p_wxPyPen", 0, "wxPyPen *", 0},{"_p_wxPyPen"},{0}};
18618 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
18619 static swig_type_info _swigt__p_wxMetaFile
[] = {{"_p_wxMetaFile", 0, "wxMetaFile *", 0},{"_p_wxMetaFile"},{0}};
18620 static swig_type_info _swigt__p_wxNativeFontInfo
[] = {{"_p_wxNativeFontInfo", 0, "wxNativeFontInfo *", 0},{"_p_wxNativeFontInfo"},{0}};
18621 static swig_type_info _swigt__p_wxEncodingConverter
[] = {{"_p_wxEncodingConverter", 0, "wxEncodingConverter *", 0},{"_p_wxEncodingConverter"},{0}};
18622 static swig_type_info _swigt__p_wxColourDatabase
[] = {{"_p_wxColourDatabase", 0, "wxColourDatabase *", 0},{"_p_wxColourDatabase"},{0}};
18624 static swig_type_info
*swig_types_initial
[] = {
18625 _swigt__p_wxPostScriptDC
,
18627 _swigt__p_wxColour
,
18629 _swigt__p_wxMirrorDC
,
18631 _swigt__p_wxPyFontEnumerator
,
18633 _swigt__p_wxIconLocation
,
18635 _swigt__p_wxMetaFileDC
,
18638 _swigt__p_wxWindow
,
18641 _swigt__p_wxMemoryDC
,
18642 _swigt__p_wxFontMapper
,
18643 _swigt__p_wxEffects
,
18644 _swigt__p_wxNativeEncodingInfo
,
18645 _swigt__p_wxPalette
,
18646 _swigt__p_wxBitmap
,
18647 _swigt__p_wxObject
,
18648 _swigt__p_wxRegionIterator
,
18650 _swigt__p_wxString
,
18651 _swigt__p_wxPrinterDC
,
18652 _swigt__p_wxIconBundle
,
18655 _swigt__p_wxScreenDC
,
18656 _swigt__p_wxCursor
,
18657 _swigt__p_wxClientDC
,
18658 _swigt__p_wxBufferedDC
,
18659 _swigt__p_wxImageList
,
18660 _swigt__p_unsigned_char
,
18661 _swigt__p_wxGDIObject
,
18663 _swigt__p_wxLocale
,
18664 _swigt__p_wxRegion
,
18665 _swigt__p_wxLanguageInfo
,
18666 _swigt__p_wxConfigBase
,
18667 _swigt__p_wxWindowDC
,
18668 _swigt__p_wxPrintData
,
18669 _swigt__p_wxBrushList
,
18670 _swigt__p_wxFontList
,
18672 _swigt__p_wxBufferedPaintDC
,
18673 _swigt__p_wxPaintDC
,
18674 _swigt__p_wxPenList
,
18677 _swigt__p_wxMetaFile
,
18678 _swigt__p_wxNativeFontInfo
,
18679 _swigt__p_wxEncodingConverter
,
18680 _swigt__p_wxColourDatabase
,
18685 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
18687 static swig_const_info swig_const_table
[] = {
18697 SWIGEXPORT(void) SWIG_init(void) {
18698 static PyObject
*SWIG_globals
= 0;
18699 static int typeinit
= 0;
18702 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
18703 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
18704 d
= PyModule_GetDict(m
);
18707 for (i
= 0; swig_types_initial
[i
]; i
++) {
18708 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
18712 SWIG_InstallConstants(d
,swig_const_table
);
18714 PyDict_SetItemString(d
,"OutRegion", SWIG_PyObj_FromInt((int)wxOutRegion
));
18715 PyDict_SetItemString(d
,"PartRegion", SWIG_PyObj_FromInt((int)wxPartRegion
));
18716 PyDict_SetItemString(d
,"InRegion", SWIG_PyObj_FromInt((int)wxInRegion
));
18717 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_PyObj_FromInt((int)wxFONTFAMILY_DEFAULT
));
18718 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_PyObj_FromInt((int)wxFONTFAMILY_DECORATIVE
));
18719 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_PyObj_FromInt((int)wxFONTFAMILY_ROMAN
));
18720 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_PyObj_FromInt((int)wxFONTFAMILY_SCRIPT
));
18721 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_PyObj_FromInt((int)wxFONTFAMILY_SWISS
));
18722 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_PyObj_FromInt((int)wxFONTFAMILY_MODERN
));
18723 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_PyObj_FromInt((int)wxFONTFAMILY_TELETYPE
));
18724 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_PyObj_FromInt((int)wxFONTFAMILY_MAX
));
18725 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_PyObj_FromInt((int)wxFONTFAMILY_UNKNOWN
));
18726 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_PyObj_FromInt((int)wxFONTSTYLE_NORMAL
));
18727 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_PyObj_FromInt((int)wxFONTSTYLE_ITALIC
));
18728 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_PyObj_FromInt((int)wxFONTSTYLE_SLANT
));
18729 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_PyObj_FromInt((int)wxFONTSTYLE_MAX
));
18730 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_NORMAL
));
18731 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_LIGHT
));
18732 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_BOLD
));
18733 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_MAX
));
18734 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_PyObj_FromInt((int)wxFONTFLAG_DEFAULT
));
18735 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_PyObj_FromInt((int)wxFONTFLAG_ITALIC
));
18736 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_PyObj_FromInt((int)wxFONTFLAG_SLANT
));
18737 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_PyObj_FromInt((int)wxFONTFLAG_LIGHT
));
18738 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_PyObj_FromInt((int)wxFONTFLAG_BOLD
));
18739 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_PyObj_FromInt((int)wxFONTFLAG_ANTIALIASED
));
18740 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_PyObj_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
18741 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_PyObj_FromInt((int)wxFONTFLAG_UNDERLINED
));
18742 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_PyObj_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
18743 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_PyObj_FromInt((int)wxFONTFLAG_MASK
));
18744 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_PyObj_FromInt((int)wxFONTENCODING_SYSTEM
));
18745 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_PyObj_FromInt((int)wxFONTENCODING_DEFAULT
));
18746 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_1
));
18747 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_2
));
18748 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_3
));
18749 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_4
));
18750 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_5
));
18751 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_6
));
18752 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_7
));
18753 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_8
));
18754 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_9
));
18755 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_10
));
18756 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_11
));
18757 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_12
));
18758 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_13
));
18759 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_14
));
18760 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_15
));
18761 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
18762 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_PyObj_FromInt((int)wxFONTENCODING_KOI8
));
18763 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_PyObj_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
18764 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_BULGARIAN
));
18765 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP437
));
18766 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP850
));
18767 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP852
));
18768 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP855
));
18769 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP866
));
18770 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP874
));
18771 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP932
));
18772 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP936
));
18773 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP949
));
18774 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP950
));
18775 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1250
));
18776 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1251
));
18777 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1252
));
18778 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1253
));
18779 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1254
));
18780 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1255
));
18781 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1256
));
18782 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1257
));
18783 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP12_MAX
));
18784 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF7
));
18785 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF8
));
18786 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_PyObj_FromInt((int)wxFONTENCODING_EUC_JP
));
18787 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF16BE
));
18788 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF16LE
));
18789 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF32BE
));
18790 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF32LE
));
18791 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACROMAN
));
18792 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACJAPANESE
));
18793 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
18794 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKOREAN
));
18795 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACARABIC
));
18796 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACHEBREW
));
18797 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGREEK
));
18798 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
18799 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
18800 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
18801 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGUJARATI
));
18802 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACORIYA
));
18803 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACBENGALI
));
18804 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTAMIL
));
18805 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTELUGU
));
18806 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKANNADA
));
18807 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
18808 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACSINHALESE
));
18809 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACBURMESE
));
18810 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKHMER
));
18811 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTHAI
));
18812 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
18813 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
18814 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACARMENIAN
));
18815 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
18816 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTIBETAN
));
18817 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
18818 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
18819 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
18820 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
18821 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACARABICEXT
));
18822 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACSYMBOL
));
18823 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACDINGBATS
));
18824 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTURKISH
));
18825 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCROATIAN
));
18826 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACICELANDIC
));
18827 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACROMANIAN
));
18828 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCELTIC
));
18829 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGAELIC
));
18830 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
18831 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMIN
));
18832 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMAX
));
18833 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_MAX
));
18834 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF16
));
18835 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF32
));
18836 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UNICODE
));
18837 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_PyObj_FromInt((int)wxFONTENCODING_GB2312
));
18838 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_PyObj_FromInt((int)wxFONTENCODING_BIG5
));
18839 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_PyObj_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
18841 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
18843 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_PyObj_FromInt((int)wxLANGUAGE_DEFAULT
));
18844 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_PyObj_FromInt((int)wxLANGUAGE_UNKNOWN
));
18845 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
18846 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_PyObj_FromInt((int)wxLANGUAGE_AFAR
));
18847 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_PyObj_FromInt((int)wxLANGUAGE_AFRIKAANS
));
18848 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ALBANIAN
));
18849 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_AMHARIC
));
18850 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC
));
18851 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
18852 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
18853 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
18854 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
18855 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
18856 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
18857 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
18858 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
18859 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
18860 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
18861 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
18862 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
18863 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
18864 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
18865 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
18866 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
18867 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
18868 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARMENIAN
));
18869 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ASSAMESE
));
18870 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_PyObj_FromInt((int)wxLANGUAGE_AYMARA
));
18871 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_PyObj_FromInt((int)wxLANGUAGE_AZERI
));
18872 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
18873 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
18874 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_PyObj_FromInt((int)wxLANGUAGE_BASHKIR
));
18875 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_PyObj_FromInt((int)wxLANGUAGE_BASQUE
));
18876 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_BELARUSIAN
));
18877 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_PyObj_FromInt((int)wxLANGUAGE_BENGALI
));
18878 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_PyObj_FromInt((int)wxLANGUAGE_BHUTANI
));
18879 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_PyObj_FromInt((int)wxLANGUAGE_BIHARI
));
18880 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_PyObj_FromInt((int)wxLANGUAGE_BISLAMA
));
18881 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_PyObj_FromInt((int)wxLANGUAGE_BRETON
));
18882 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_BULGARIAN
));
18883 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_BURMESE
));
18884 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CAMBODIAN
));
18885 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CATALAN
));
18886 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE
));
18887 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
18888 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
18889 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
18890 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
18891 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
18892 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
18893 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CORSICAN
));
18894 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CROATIAN
));
18895 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_PyObj_FromInt((int)wxLANGUAGE_CZECH
));
18896 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_DANISH
));
18897 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_PyObj_FromInt((int)wxLANGUAGE_DUTCH
));
18898 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
18899 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH
));
18900 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
18901 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_US
));
18902 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
18903 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
18904 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
18905 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
18906 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
18907 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
18908 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
18909 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
18910 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
18911 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
18912 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
18913 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
18914 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
18915 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_PyObj_FromInt((int)wxLANGUAGE_ESPERANTO
));
18916 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ESTONIAN
));
18917 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_FAEROESE
));
18918 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_PyObj_FromInt((int)wxLANGUAGE_FARSI
));
18919 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_PyObj_FromInt((int)wxLANGUAGE_FIJI
));
18920 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_FINNISH
));
18921 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH
));
18922 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
18923 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
18924 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
18925 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
18926 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
18927 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRISIAN
));
18928 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GALICIAN
));
18929 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GEORGIAN
));
18930 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN
));
18931 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
18932 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
18933 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
18934 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
18935 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
18936 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_PyObj_FromInt((int)wxLANGUAGE_GREEK
));
18937 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_GREENLANDIC
));
18938 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_PyObj_FromInt((int)wxLANGUAGE_GUARANI
));
18939 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_PyObj_FromInt((int)wxLANGUAGE_GUJARATI
));
18940 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_PyObj_FromInt((int)wxLANGUAGE_HAUSA
));
18941 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_PyObj_FromInt((int)wxLANGUAGE_HEBREW
));
18942 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_PyObj_FromInt((int)wxLANGUAGE_HINDI
));
18943 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_HUNGARIAN
));
18944 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_ICELANDIC
));
18945 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_INDONESIAN
));
18946 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_PyObj_FromInt((int)wxLANGUAGE_INTERLINGUA
));
18947 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_PyObj_FromInt((int)wxLANGUAGE_INTERLINGUE
));
18948 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_PyObj_FromInt((int)wxLANGUAGE_INUKTITUT
));
18949 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_PyObj_FromInt((int)wxLANGUAGE_INUPIAK
));
18950 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_IRISH
));
18951 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ITALIAN
));
18952 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_PyObj_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
18953 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_JAPANESE
));
18954 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_JAVANESE
));
18955 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_PyObj_FromInt((int)wxLANGUAGE_KANNADA
));
18956 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_PyObj_FromInt((int)wxLANGUAGE_KASHMIRI
));
18957 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
18958 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_PyObj_FromInt((int)wxLANGUAGE_KAZAKH
));
18959 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_PyObj_FromInt((int)wxLANGUAGE_KERNEWEK
));
18960 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_PyObj_FromInt((int)wxLANGUAGE_KINYARWANDA
));
18961 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_PyObj_FromInt((int)wxLANGUAGE_KIRGHIZ
));
18962 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_PyObj_FromInt((int)wxLANGUAGE_KIRUNDI
));
18963 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_PyObj_FromInt((int)wxLANGUAGE_KONKANI
));
18964 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_KOREAN
));
18965 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_KURDISH
));
18966 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LAOTHIAN
));
18967 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LATIN
));
18968 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LATVIAN
));
18969 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_PyObj_FromInt((int)wxLANGUAGE_LINGALA
));
18970 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LITHUANIAN
));
18971 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_MACEDONIAN
));
18972 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAGASY
));
18973 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAY
));
18974 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAYALAM
));
18975 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
18976 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
18977 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALTESE
));
18978 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_PyObj_FromInt((int)wxLANGUAGE_MANIPURI
));
18979 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_PyObj_FromInt((int)wxLANGUAGE_MAORI
));
18980 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_PyObj_FromInt((int)wxLANGUAGE_MARATHI
));
18981 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
18982 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_MONGOLIAN
));
18983 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_PyObj_FromInt((int)wxLANGUAGE_NAURU
));
18984 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_PyObj_FromInt((int)wxLANGUAGE_NEPALI
));
18985 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
18986 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_PyObj_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
18987 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_PyObj_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
18988 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_OCCITAN
));
18989 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ORIYA
));
18990 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_PyObj_FromInt((int)wxLANGUAGE_OROMO
));
18991 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_PyObj_FromInt((int)wxLANGUAGE_PASHTO
));
18992 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_POLISH
));
18993 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_PORTUGUESE
));
18994 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
18995 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_PyObj_FromInt((int)wxLANGUAGE_PUNJABI
));
18996 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_PyObj_FromInt((int)wxLANGUAGE_QUECHUA
));
18997 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_PyObj_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
18998 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ROMANIAN
));
18999 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_RUSSIAN
));
19000 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_PyObj_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19001 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SAMOAN
));
19002 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_PyObj_FromInt((int)wxLANGUAGE_SANGHO
));
19003 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_PyObj_FromInt((int)wxLANGUAGE_SANSKRIT
));
19004 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
19005 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBIAN
));
19006 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19007 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
19008 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
19009 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_PyObj_FromInt((int)wxLANGUAGE_SESOTHO
));
19010 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SETSWANA
));
19011 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SHONA
));
19012 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SINDHI
));
19013 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_SINHALESE
));
19014 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SISWATI
));
19015 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_PyObj_FromInt((int)wxLANGUAGE_SLOVAK
));
19016 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SLOVENIAN
));
19017 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SOMALI
));
19018 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH
));
19019 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19020 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19021 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
19022 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19023 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19024 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19025 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
19026 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19027 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19028 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
19029 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
19030 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
19031 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19032 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
19033 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19034 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
19035 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19036 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
19037 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_US
));
19038 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19039 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_SUNDANESE
));
19040 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SWAHILI
));
19041 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_SWEDISH
));
19042 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_PyObj_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
19043 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_PyObj_FromInt((int)wxLANGUAGE_TAGALOG
));
19044 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_PyObj_FromInt((int)wxLANGUAGE_TAJIK
));
19045 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_PyObj_FromInt((int)wxLANGUAGE_TAMIL
));
19046 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_PyObj_FromInt((int)wxLANGUAGE_TATAR
));
19047 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_PyObj_FromInt((int)wxLANGUAGE_TELUGU
));
19048 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_PyObj_FromInt((int)wxLANGUAGE_THAI
));
19049 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_TIBETAN
));
19050 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_PyObj_FromInt((int)wxLANGUAGE_TIGRINYA
));
19051 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_PyObj_FromInt((int)wxLANGUAGE_TONGA
));
19052 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_PyObj_FromInt((int)wxLANGUAGE_TSONGA
));
19053 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_TURKISH
));
19054 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_PyObj_FromInt((int)wxLANGUAGE_TURKMEN
));
19055 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_PyObj_FromInt((int)wxLANGUAGE_TWI
));
19056 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_PyObj_FromInt((int)wxLANGUAGE_UIGHUR
));
19057 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_UKRAINIAN
));
19058 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_PyObj_FromInt((int)wxLANGUAGE_URDU
));
19059 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_URDU_INDIA
));
19060 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
19061 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_PyObj_FromInt((int)wxLANGUAGE_UZBEK
));
19062 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19063 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
19064 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_VIETNAMESE
));
19065 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_PyObj_FromInt((int)wxLANGUAGE_VOLAPUK
));
19066 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_PyObj_FromInt((int)wxLANGUAGE_WELSH
));
19067 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_PyObj_FromInt((int)wxLANGUAGE_WOLOF
));
19068 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_PyObj_FromInt((int)wxLANGUAGE_XHOSA
));
19069 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_YIDDISH
));
19070 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_PyObj_FromInt((int)wxLANGUAGE_YORUBA
));
19071 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_PyObj_FromInt((int)wxLANGUAGE_ZHUANG
));
19072 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_PyObj_FromInt((int)wxLANGUAGE_ZULU
));
19073 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_PyObj_FromInt((int)wxLANGUAGE_USER_DEFINED
));
19074 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_NUMBER
));
19075 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_DATE
));
19076 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_MONEY
));
19077 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_MAX
));
19078 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_PyObj_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
19079 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_PyObj_FromInt((int)wxLOCALE_DECIMAL_POINT
));
19080 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_PyObj_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
19081 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_PyObj_FromInt((int)wxLOCALE_CONV_ENCODING
));
19082 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_PyObj_FromInt((int)wxCONVERT_STRICT
));
19083 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_PyObj_FromInt((int)wxCONVERT_SUBSTITUTE
));
19084 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_PyObj_FromInt((int)wxPLATFORM_CURRENT
));
19085 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_PyObj_FromInt((int)wxPLATFORM_UNIX
));
19086 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_PyObj_FromInt((int)wxPLATFORM_WINDOWS
));
19087 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_PyObj_FromInt((int)wxPLATFORM_OS2
));
19088 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_PyObj_FromInt((int)wxPLATFORM_MAC
));
19089 PyDict_SetItemString(d
,"BUFFER_DC_OVERWRITE_BG", SWIG_PyObj_FromInt((int)wxBUFFER_DC_OVERWRITE_BG
));
19090 PyDict_SetItemString(d
,"BUFFER_DC_PRESERVE_BG", SWIG_PyObj_FromInt((int)wxBUFFER_DC_PRESERVE_BG
));
19091 PyDict_SetItemString(d
,"BUFFER_DC_DEFAULT", SWIG_PyObj_FromInt((int)wxBUFFER_DC_DEFAULT
));
19092 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
19093 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19094 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
19095 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
19096 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_PyObj_FromInt((int)wxIMAGE_LIST_NORMAL
));
19097 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_PyObj_FromInt((int)wxIMAGE_LIST_SMALL
));
19098 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_PyObj_FromInt((int)wxIMAGE_LIST_STATE
));
19099 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19100 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19101 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19102 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19103 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19104 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19105 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19106 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19107 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19108 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19109 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19110 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19111 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19112 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19113 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19114 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19115 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19116 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19117 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19118 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19119 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19120 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19121 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19122 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19123 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19124 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19125 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19126 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19127 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19128 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19129 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19130 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19131 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19132 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19133 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19134 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19135 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19136 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19137 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19138 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19139 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19140 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19141 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19142 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19143 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19144 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19145 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19147 // Work around a chicken/egg problem in drawlist.cpp
19148 wxPyDrawList_SetAPIPtr();