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
);
438 #include <wx/image.h>
440 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
441 char** cArray
= NULL
;
444 if (!PyList_Check(listOfStrings
)) {
445 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
448 count
= PyList_Size(listOfStrings
);
449 cArray
= new char*[count
];
451 for(int x
=0; x
<count
; x
++) {
452 // TODO: Need some validation and error checking here
453 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
459 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
460 char** cArray
= NULL
;
463 cArray
= ConvertListOfStrings(listOfStrings
);
466 bmp
= new wxBitmap(cArray
);
470 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
473 PyString_AsStringAndSize(bits
, &buf
, &length
);
474 return new wxBitmap(buf
, width
, height
, depth
);
478 SWIG_PyObj_AsLong(PyObject
* obj
)
480 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
483 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
484 wxMask
*mask
= new wxMask(*self
, colour
);
487 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
489 return new wxMask(bitmap
, *wxBLACK
);
491 return new wxMask(bitmap
, colour
);
494 #include <wx/iconbndl.h>
496 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
497 wxIcon
* icon
= new wxIcon();
498 icon
->CopyFromBitmap(bmp
);
501 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
502 char** cArray
= NULL
;
505 cArray
= ConvertListOfStrings(listOfStrings
);
508 icon
= new wxIcon(cArray
);
512 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
514 return new wxIconLocation(*filename
, num
);
519 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
526 int wxIconLocation_GetIndex(wxIconLocation
*self
){
528 return self
->GetIndex();
533 wxCursor
*new_wxCursor(wxString
const *cursorName
,long flags
,int hotSpotX
,int hotSpotY
){
538 return new wxCursor(*cursorName
, flags
, hotSpotX
, hotSpotY
);
541 wxCursor
*new_wxCursor(PyObject
*bits
,int width
,int height
,int hotSpotX
,int hotSpotY
,PyObject
*maskBits
){
543 char* maskbuf
= NULL
;
545 PyString_AsStringAndSize(bits
, &bitsbuf
, &length
);
547 PyString_AsStringAndSize(maskBits
, &maskbuf
, &length
);
548 return new wxCursor(bitsbuf
, width
, height
, hotSpotX
, hotSpotY
, maskbuf
);
552 void wxRegionIterator_Next(wxRegionIterator
*self
){
555 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
556 return self
->operator bool();
559 #include <wx/fontutil.h>
560 #include <wx/fontmap.h>
561 #include <wx/fontenum.h>
563 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
564 return self
->ToString();
567 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
568 { wxPyRaiseNotImplemented(); return NULL
; }
570 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
571 { wxPyRaiseNotImplemented(); return False
; }
574 SWIGSTATIC(PyObject
* )
575 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
577 return (value
> (unsigned long)(LONG_MAX
)) ?
578 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
581 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
582 wxFontEncoding alt_enc
;
583 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
584 return PyInt_FromLong(alt_enc
);
590 wxFont
*new_wxFont(wxString
const &info
){
591 wxNativeFontInfo nfi
;
592 nfi
.FromString(info
);
593 return new wxFont(nfi
);
595 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
596 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
599 class wxPyFontEnumerator
: public wxFontEnumerator
{
601 wxPyFontEnumerator() {}
602 ~wxPyFontEnumerator() {}
604 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
605 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
610 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
611 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
614 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
615 wxArrayString
* arr
= self
->GetEncodings();
616 return wxArrayString2PyList_helper(*arr
);
618 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
619 wxArrayString
* arr
= self
->GetFacenames();
620 return wxArrayString2PyList_helper(*arr
);
625 #include "wx/wxPython/pydrawxxx.h"
627 wxColour
wxDC_GetPixelXY(wxDC
*self
,int x
,int y
){
629 self
->GetPixel(x
, y
, &col
);
632 wxColour
wxDC_GetPixel(wxDC
*self
,wxPoint
const &pt
){
634 self
->GetPixel(pt
, &col
);
639 SWIG_PyObj_AsDouble(PyObject
*obj
)
641 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
643 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
645 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
647 if (PyErr_Occurred()) {
649 PyErr_SetString(PyExc_TypeError
, "a double is expected");
653 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
655 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
658 wxRect
wxDC_GetClippingRect(wxDC
*self
){
660 self
->GetClippingBox(rect
);
663 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
665 self
->GetPartialTextExtents(text
, widths
);
668 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
669 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
671 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
672 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
674 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
675 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
677 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
678 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
680 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
681 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
683 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
684 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
687 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
698 #include <wx/metafile.h>
702 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
703 self
->AddColour(name
, wxColour(red
, green
, blue
));
706 #include <wx/effects.h>
711 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
721 result
= (wxGDIObject
*)new wxGDIObject();
723 wxPyEndAllowThreads(__tstate
);
724 if (PyErr_Occurred()) SWIG_fail
;
726 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGDIObject
, 1);
733 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
735 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
736 PyObject
* obj0
= 0 ;
738 (char *) "self", NULL
741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
747 wxPyEndAllowThreads(__tstate
);
748 if (PyErr_Occurred()) SWIG_fail
;
750 Py_INCREF(Py_None
); resultobj
= Py_None
;
757 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
759 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
761 PyObject
* obj0
= 0 ;
763 (char *) "self", NULL
766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",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();
770 result
= (bool)(arg1
)->GetVisible();
772 wxPyEndAllowThreads(__tstate
);
773 if (PyErr_Occurred()) SWIG_fail
;
775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
782 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
784 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
786 PyObject
* obj0
= 0 ;
787 PyObject
* obj1
= 0 ;
789 (char *) "self",(char *) "visible", NULL
792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
795 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
796 if (PyErr_Occurred()) SWIG_fail
;
799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
800 (arg1
)->SetVisible(arg2
);
802 wxPyEndAllowThreads(__tstate
);
803 if (PyErr_Occurred()) SWIG_fail
;
805 Py_INCREF(Py_None
); resultobj
= Py_None
;
812 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
814 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
816 PyObject
* obj0
= 0 ;
818 (char *) "self", NULL
821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
825 result
= (bool)(arg1
)->IsNull();
827 wxPyEndAllowThreads(__tstate
);
828 if (PyErr_Occurred()) SWIG_fail
;
830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
837 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
840 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
842 return Py_BuildValue((char *)"");
844 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
846 unsigned char arg1
= (unsigned char) 0 ;
847 unsigned char arg2
= (unsigned char) 0 ;
848 unsigned char arg3
= (unsigned char) 0 ;
850 PyObject
* obj0
= 0 ;
851 PyObject
* obj1
= 0 ;
852 PyObject
* obj2
= 0 ;
854 (char *) "red",(char *) "green",(char *) "blue", NULL
857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
860 arg1
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj0
);
861 if (PyErr_Occurred()) SWIG_fail
;
866 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
867 if (PyErr_Occurred()) SWIG_fail
;
872 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
873 if (PyErr_Occurred()) SWIG_fail
;
877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
878 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
880 wxPyEndAllowThreads(__tstate
);
881 if (PyErr_Occurred()) SWIG_fail
;
883 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
890 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
892 wxColour
*arg1
= (wxColour
*) 0 ;
893 PyObject
* obj0
= 0 ;
895 (char *) "self", NULL
898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
904 wxPyEndAllowThreads(__tstate
);
905 if (PyErr_Occurred()) SWIG_fail
;
907 Py_INCREF(Py_None
); resultobj
= Py_None
;
914 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
919 PyObject
* obj0
= 0 ;
921 (char *) "colorName", NULL
924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
926 arg1
= wxString_in_helper(obj0
);
927 if (arg1
== NULL
) SWIG_fail
;
931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
932 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
934 wxPyEndAllowThreads(__tstate
);
935 if (PyErr_Occurred()) SWIG_fail
;
937 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
952 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
956 PyObject
* obj0
= 0 ;
958 (char *) "colRGB", NULL
961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
963 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
964 if (PyErr_Occurred()) SWIG_fail
;
967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
968 result
= (wxColour
*)new wxColour(arg1
);
970 wxPyEndAllowThreads(__tstate
);
971 if (PyErr_Occurred()) SWIG_fail
;
973 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
980 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
982 wxColour
*arg1
= (wxColour
*) 0 ;
983 unsigned char result
;
984 PyObject
* obj0
= 0 ;
986 (char *) "self", NULL
989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
993 result
= (unsigned char)(arg1
)->Red();
995 wxPyEndAllowThreads(__tstate
);
996 if (PyErr_Occurred()) SWIG_fail
;
998 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
1005 static PyObject
*_wrap_Colour_Green(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_Green",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
)->Green();
1020 wxPyEndAllowThreads(__tstate
);
1021 if (PyErr_Occurred()) SWIG_fail
;
1023 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
1030 static PyObject
*_wrap_Colour_Blue(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_Blue",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
)->Blue();
1045 wxPyEndAllowThreads(__tstate
);
1046 if (PyErr_Occurred()) SWIG_fail
;
1048 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
1055 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1056 PyObject
*resultobj
;
1057 wxColour
*arg1
= (wxColour
*) 0 ;
1059 PyObject
* obj0
= 0 ;
1061 (char *) "self", NULL
1064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",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
= (bool)(arg1
)->Ok();
1070 wxPyEndAllowThreads(__tstate
);
1071 if (PyErr_Occurred()) SWIG_fail
;
1073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1080 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1081 PyObject
*resultobj
;
1082 wxColour
*arg1
= (wxColour
*) 0 ;
1083 unsigned char arg2
;
1084 unsigned char arg3
;
1085 unsigned char arg4
;
1086 PyObject
* obj0
= 0 ;
1087 PyObject
* obj1
= 0 ;
1088 PyObject
* obj2
= 0 ;
1089 PyObject
* obj3
= 0 ;
1091 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1097 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
1098 if (PyErr_Occurred()) SWIG_fail
;
1101 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
1102 if (PyErr_Occurred()) SWIG_fail
;
1105 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
1106 if (PyErr_Occurred()) SWIG_fail
;
1109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1110 (arg1
)->Set(arg2
,arg3
,arg4
);
1112 wxPyEndAllowThreads(__tstate
);
1113 if (PyErr_Occurred()) SWIG_fail
;
1115 Py_INCREF(Py_None
); resultobj
= Py_None
;
1122 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1123 PyObject
*resultobj
;
1124 wxColour
*arg1
= (wxColour
*) 0 ;
1125 unsigned long arg2
;
1126 PyObject
* obj0
= 0 ;
1127 PyObject
* obj1
= 0 ;
1129 (char *) "self",(char *) "colRGB", NULL
1132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1135 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
1136 if (PyErr_Occurred()) SWIG_fail
;
1139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1142 wxPyEndAllowThreads(__tstate
);
1143 if (PyErr_Occurred()) SWIG_fail
;
1145 Py_INCREF(Py_None
); resultobj
= Py_None
;
1152 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1153 PyObject
*resultobj
;
1154 wxColour
*arg1
= (wxColour
*) 0 ;
1155 wxColour
*arg2
= 0 ;
1158 PyObject
* obj0
= 0 ;
1159 PyObject
* obj1
= 0 ;
1161 (char *) "self",(char *) "colour", NULL
1164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1168 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1172 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1174 wxPyEndAllowThreads(__tstate
);
1175 if (PyErr_Occurred()) SWIG_fail
;
1177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1184 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1185 PyObject
*resultobj
;
1186 wxColour
*arg1
= (wxColour
*) 0 ;
1187 wxColour
*arg2
= 0 ;
1190 PyObject
* obj0
= 0 ;
1191 PyObject
* obj1
= 0 ;
1193 (char *) "self",(char *) "colour", NULL
1196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1200 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1204 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1206 wxPyEndAllowThreads(__tstate
);
1207 if (PyErr_Occurred()) SWIG_fail
;
1209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1216 static PyObject
*_wrap_Colour_InitFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1217 PyObject
*resultobj
;
1218 wxColour
*arg1
= (wxColour
*) 0 ;
1219 wxString
*arg2
= 0 ;
1220 bool temp2
= False
;
1221 PyObject
* obj0
= 0 ;
1222 PyObject
* obj1
= 0 ;
1224 (char *) "self",(char *) "colourName", NULL
1227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_InitFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1230 arg2
= wxString_in_helper(obj1
);
1231 if (arg2
== NULL
) SWIG_fail
;
1235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1236 (arg1
)->InitFromName((wxString
const &)*arg2
);
1238 wxPyEndAllowThreads(__tstate
);
1239 if (PyErr_Occurred()) SWIG_fail
;
1241 Py_INCREF(Py_None
); resultobj
= Py_None
;
1256 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1257 PyObject
*resultobj
;
1258 wxColour
*arg1
= (wxColour
*) 0 ;
1260 PyObject
* obj0
= 0 ;
1262 (char *) "self", NULL
1265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1269 result
= (PyObject
*)wxColour_Get(arg1
);
1271 wxPyEndAllowThreads(__tstate
);
1272 if (PyErr_Occurred()) SWIG_fail
;
1281 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1284 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1286 return Py_BuildValue((char *)"");
1288 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1289 PyObject
*resultobj
;
1291 unsigned char *arg2
= (unsigned char *) 0 ;
1292 unsigned char *arg3
= (unsigned char *) 0 ;
1293 unsigned char *arg4
= (unsigned char *) 0 ;
1295 PyObject
* obj0
= 0 ;
1296 PyObject
* obj1
= 0 ;
1297 PyObject
* obj2
= 0 ;
1298 PyObject
* obj3
= 0 ;
1300 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1305 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
1306 if (PyErr_Occurred()) SWIG_fail
;
1308 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1309 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1310 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1313 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1315 wxPyEndAllowThreads(__tstate
);
1316 if (PyErr_Occurred()) SWIG_fail
;
1318 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPalette
, 1);
1325 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1326 PyObject
*resultobj
;
1327 wxPalette
*arg1
= (wxPalette
*) 0 ;
1328 PyObject
* obj0
= 0 ;
1330 (char *) "self", NULL
1333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1339 wxPyEndAllowThreads(__tstate
);
1340 if (PyErr_Occurred()) SWIG_fail
;
1342 Py_INCREF(Py_None
); resultobj
= Py_None
;
1349 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1350 PyObject
*resultobj
;
1351 wxPalette
*arg1
= (wxPalette
*) 0 ;
1356 PyObject
* obj0
= 0 ;
1357 PyObject
* obj1
= 0 ;
1358 PyObject
* obj2
= 0 ;
1359 PyObject
* obj3
= 0 ;
1361 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1367 arg2
= (byte
) SWIG_PyObj_AsUnsignedChar(obj1
);
1368 if (PyErr_Occurred()) SWIG_fail
;
1371 arg3
= (byte
) SWIG_PyObj_AsUnsignedChar(obj2
);
1372 if (PyErr_Occurred()) SWIG_fail
;
1375 arg4
= (byte
) SWIG_PyObj_AsUnsignedChar(obj3
);
1376 if (PyErr_Occurred()) SWIG_fail
;
1379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1380 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1382 wxPyEndAllowThreads(__tstate
);
1383 if (PyErr_Occurred()) SWIG_fail
;
1385 resultobj
= SWIG_PyObj_FromInt((int)result
);
1392 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1393 PyObject
*resultobj
;
1394 wxPalette
*arg1
= (wxPalette
*) 0 ;
1396 byte
*arg3
= (byte
*) 0 ;
1397 byte
*arg4
= (byte
*) 0 ;
1398 byte
*arg5
= (byte
*) 0 ;
1403 PyObject
* obj0
= 0 ;
1404 PyObject
* obj1
= 0 ;
1406 (char *) "self",(char *) "pixel", NULL
1412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1415 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1416 if (PyErr_Occurred()) SWIG_fail
;
1419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1420 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1422 wxPyEndAllowThreads(__tstate
);
1423 if (PyErr_Occurred()) SWIG_fail
;
1425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1427 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1428 resultobj
= t_output_helper(resultobj
,o
);
1431 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1432 resultobj
= t_output_helper(resultobj
,o
);
1435 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1436 resultobj
= t_output_helper(resultobj
,o
);
1444 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1445 PyObject
*resultobj
;
1446 wxPalette
*arg1
= (wxPalette
*) 0 ;
1448 PyObject
* obj0
= 0 ;
1450 (char *) "self", NULL
1453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1457 result
= (bool)(arg1
)->Ok();
1459 wxPyEndAllowThreads(__tstate
);
1460 if (PyErr_Occurred()) SWIG_fail
;
1462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1469 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1472 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1474 return Py_BuildValue((char *)"");
1476 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1477 PyObject
*resultobj
;
1478 wxColour
*arg1
= 0 ;
1479 int arg2
= (int) 1 ;
1480 int arg3
= (int) wxSOLID
;
1483 PyObject
* obj0
= 0 ;
1484 PyObject
* obj1
= 0 ;
1485 PyObject
* obj2
= 0 ;
1487 (char *) "colour",(char *) "width",(char *) "style", NULL
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1493 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1497 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1498 if (PyErr_Occurred()) SWIG_fail
;
1503 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1504 if (PyErr_Occurred()) SWIG_fail
;
1508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1509 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1511 wxPyEndAllowThreads(__tstate
);
1512 if (PyErr_Occurred()) SWIG_fail
;
1514 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 1);
1521 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1522 PyObject
*resultobj
;
1523 wxPen
*arg1
= (wxPen
*) 0 ;
1524 PyObject
* obj0
= 0 ;
1526 (char *) "self", NULL
1529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1535 wxPyEndAllowThreads(__tstate
);
1536 if (PyErr_Occurred()) SWIG_fail
;
1538 Py_INCREF(Py_None
); resultobj
= Py_None
;
1545 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1546 PyObject
*resultobj
;
1547 wxPen
*arg1
= (wxPen
*) 0 ;
1549 PyObject
* obj0
= 0 ;
1551 (char *) "self", NULL
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",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();
1558 result
= (int)(arg1
)->GetCap();
1560 wxPyEndAllowThreads(__tstate
);
1561 if (PyErr_Occurred()) SWIG_fail
;
1563 resultobj
= SWIG_PyObj_FromInt((int)result
);
1570 static PyObject
*_wrap_Pen_GetColour(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_GetColour",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
= (arg1
)->GetColour();
1585 wxPyEndAllowThreads(__tstate
);
1586 if (PyErr_Occurred()) SWIG_fail
;
1589 wxColour
* resultptr
;
1590 resultptr
= new wxColour((wxColour
&) result
);
1591 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1599 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
*resultobj
;
1601 wxPen
*arg1
= (wxPen
*) 0 ;
1603 PyObject
* obj0
= 0 ;
1605 (char *) "self", NULL
1608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1612 result
= (int)(arg1
)->GetJoin();
1614 wxPyEndAllowThreads(__tstate
);
1615 if (PyErr_Occurred()) SWIG_fail
;
1617 resultobj
= SWIG_PyObj_FromInt((int)result
);
1624 static PyObject
*_wrap_Pen_GetStyle(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_GetStyle",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
)->GetStyle();
1639 wxPyEndAllowThreads(__tstate
);
1640 if (PyErr_Occurred()) SWIG_fail
;
1642 resultobj
= SWIG_PyObj_FromInt((int)result
);
1649 static PyObject
*_wrap_Pen_GetWidth(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_GetWidth",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
)->GetWidth();
1664 wxPyEndAllowThreads(__tstate
);
1665 if (PyErr_Occurred()) SWIG_fail
;
1667 resultobj
= SWIG_PyObj_FromInt((int)result
);
1674 static PyObject
*_wrap_Pen_Ok(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_Ok",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
= (bool)(arg1
)->Ok();
1689 wxPyEndAllowThreads(__tstate
);
1690 if (PyErr_Occurred()) SWIG_fail
;
1692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1699 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1700 PyObject
*resultobj
;
1701 wxPen
*arg1
= (wxPen
*) 0 ;
1703 PyObject
* obj0
= 0 ;
1704 PyObject
* obj1
= 0 ;
1706 (char *) "self",(char *) "cap_style", NULL
1709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1712 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1713 if (PyErr_Occurred()) SWIG_fail
;
1716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1717 (arg1
)->SetCap(arg2
);
1719 wxPyEndAllowThreads(__tstate
);
1720 if (PyErr_Occurred()) SWIG_fail
;
1722 Py_INCREF(Py_None
); resultobj
= Py_None
;
1729 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1730 PyObject
*resultobj
;
1731 wxPen
*arg1
= (wxPen
*) 0 ;
1732 wxColour
*arg2
= 0 ;
1734 PyObject
* obj0
= 0 ;
1735 PyObject
* obj1
= 0 ;
1737 (char *) "self",(char *) "colour", NULL
1740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1744 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1748 (arg1
)->SetColour(*arg2
);
1750 wxPyEndAllowThreads(__tstate
);
1751 if (PyErr_Occurred()) SWIG_fail
;
1753 Py_INCREF(Py_None
); resultobj
= Py_None
;
1760 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
*resultobj
;
1762 wxPen
*arg1
= (wxPen
*) 0 ;
1764 PyObject
* obj0
= 0 ;
1765 PyObject
* obj1
= 0 ;
1767 (char *) "self",(char *) "join_style", NULL
1770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
1771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1773 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1774 if (PyErr_Occurred()) SWIG_fail
;
1777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1778 (arg1
)->SetJoin(arg2
);
1780 wxPyEndAllowThreads(__tstate
);
1781 if (PyErr_Occurred()) SWIG_fail
;
1783 Py_INCREF(Py_None
); resultobj
= Py_None
;
1790 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1791 PyObject
*resultobj
;
1792 wxPen
*arg1
= (wxPen
*) 0 ;
1794 PyObject
* obj0
= 0 ;
1795 PyObject
* obj1
= 0 ;
1797 (char *) "self",(char *) "style", NULL
1800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
1801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1803 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1804 if (PyErr_Occurred()) SWIG_fail
;
1807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1808 (arg1
)->SetStyle(arg2
);
1810 wxPyEndAllowThreads(__tstate
);
1811 if (PyErr_Occurred()) SWIG_fail
;
1813 Py_INCREF(Py_None
); resultobj
= Py_None
;
1820 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
*resultobj
;
1822 wxPen
*arg1
= (wxPen
*) 0 ;
1824 PyObject
* obj0
= 0 ;
1825 PyObject
* obj1
= 0 ;
1827 (char *) "self",(char *) "width", NULL
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
1831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1833 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1834 if (PyErr_Occurred()) SWIG_fail
;
1837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1838 (arg1
)->SetWidth(arg2
);
1840 wxPyEndAllowThreads(__tstate
);
1841 if (PyErr_Occurred()) SWIG_fail
;
1843 Py_INCREF(Py_None
); resultobj
= Py_None
;
1850 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
*resultobj
;
1852 wxPen
*arg1
= (wxPen
*) 0 ;
1854 wxDash
*arg3
= (wxDash
*) 0 ;
1855 PyObject
* obj0
= 0 ;
1856 PyObject
* obj1
= 0 ;
1858 (char *) "self",(char *) "dashes", NULL
1861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
1862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1864 arg2
= PyList_Size(obj1
);
1865 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
1866 if (arg3
== NULL
) SWIG_fail
;
1869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1870 (arg1
)->SetDashes(arg2
,arg3
);
1872 wxPyEndAllowThreads(__tstate
);
1873 if (PyErr_Occurred()) SWIG_fail
;
1875 Py_INCREF(Py_None
); resultobj
= Py_None
;
1877 if (arg3
) delete [] arg3
;
1882 if (arg3
) delete [] arg3
;
1888 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1889 PyObject
*resultobj
;
1890 wxPen
*arg1
= (wxPen
*) 0 ;
1892 PyObject
* obj0
= 0 ;
1894 (char *) "self", NULL
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
1898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1901 result
= (PyObject
*)wxPen_GetDashes(arg1
);
1903 wxPyEndAllowThreads(__tstate
);
1904 if (PyErr_Occurred()) SWIG_fail
;
1913 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
*resultobj
;
1915 wxPen
*arg1
= (wxPen
*) 0 ;
1918 PyObject
* obj0
= 0 ;
1919 PyObject
* obj1
= 0 ;
1921 (char *) "self",(char *) "pen", NULL
1924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1926 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1928 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1932 result
= (bool)(arg1
)->operator ==((wxPen
const &)*arg2
);
1934 wxPyEndAllowThreads(__tstate
);
1935 if (PyErr_Occurred()) SWIG_fail
;
1937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1944 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1945 PyObject
*resultobj
;
1946 wxPen
*arg1
= (wxPen
*) 0 ;
1948 PyObject
* obj0
= 0 ;
1950 (char *) "self", NULL
1953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
1954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1957 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
1959 wxPyEndAllowThreads(__tstate
);
1960 if (PyErr_Occurred()) SWIG_fail
;
1962 resultobj
= SWIG_PyObj_FromInt((int)result
);
1969 static PyObject
*_wrap_Pen_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1970 PyObject
*resultobj
;
1971 wxPen
*arg1
= (wxPen
*) 0 ;
1973 PyObject
* obj0
= 0 ;
1975 (char *) "self", NULL
1978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStipple",kwnames
,&obj0
)) goto fail
;
1979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1982 result
= (wxBitmap
*)(arg1
)->GetStipple();
1984 wxPyEndAllowThreads(__tstate
);
1985 if (PyErr_Occurred()) SWIG_fail
;
1987 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
1994 static PyObject
*_wrap_Pen_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
*resultobj
;
1996 wxPen
*arg1
= (wxPen
*) 0 ;
1997 wxBitmap
*arg2
= 0 ;
1998 PyObject
* obj0
= 0 ;
1999 PyObject
* obj1
= 0 ;
2001 (char *) "self",(char *) "stipple", NULL
2004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2006 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2008 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2012 (arg1
)->SetStipple(*arg2
);
2014 wxPyEndAllowThreads(__tstate
);
2015 if (PyErr_Occurred()) SWIG_fail
;
2017 Py_INCREF(Py_None
); resultobj
= Py_None
;
2024 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2027 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2029 return Py_BuildValue((char *)"");
2031 static PyObject
*_wrap_new_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2032 PyObject
*resultobj
;
2033 wxColour
*arg1
= 0 ;
2034 int arg2
= (int) 1 ;
2035 int arg3
= (int) wxSOLID
;
2038 PyObject
* obj0
= 0 ;
2039 PyObject
* obj1
= 0 ;
2040 PyObject
* obj2
= 0 ;
2042 (char *) "colour",(char *) "width",(char *) "style", NULL
2045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_PyPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2048 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2052 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2053 if (PyErr_Occurred()) SWIG_fail
;
2058 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2059 if (PyErr_Occurred()) SWIG_fail
;
2063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2064 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
2066 wxPyEndAllowThreads(__tstate
);
2067 if (PyErr_Occurred()) SWIG_fail
;
2069 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPen
, 1);
2076 static PyObject
*_wrap_delete_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2077 PyObject
*resultobj
;
2078 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2079 PyObject
* obj0
= 0 ;
2081 (char *) "self", NULL
2084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
2085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2090 wxPyEndAllowThreads(__tstate
);
2091 if (PyErr_Occurred()) SWIG_fail
;
2093 Py_INCREF(Py_None
); resultobj
= Py_None
;
2100 static PyObject
*_wrap_PyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
*resultobj
;
2102 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2104 wxDash
*arg3
= (wxDash
*) 0 ;
2105 PyObject
* obj0
= 0 ;
2106 PyObject
* obj1
= 0 ;
2108 (char *) "self",(char *) "dashes", NULL
2111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2114 arg2
= PyList_Size(obj1
);
2115 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2116 if (arg3
== NULL
) SWIG_fail
;
2119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2120 (arg1
)->SetDashes(arg2
,arg3
);
2122 wxPyEndAllowThreads(__tstate
);
2123 if (PyErr_Occurred()) SWIG_fail
;
2125 Py_INCREF(Py_None
); resultobj
= Py_None
;
2127 if (arg3
) delete [] arg3
;
2132 if (arg3
) delete [] arg3
;
2138 static PyObject
* PyPen_swigregister(PyObject
*self
, PyObject
*args
) {
2140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2141 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
2143 return Py_BuildValue((char *)"");
2145 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2146 PyObject
*resultobj
;
2147 wxColour
*arg1
= 0 ;
2148 int arg2
= (int) wxSOLID
;
2151 PyObject
* obj0
= 0 ;
2152 PyObject
* obj1
= 0 ;
2154 (char *) "colour",(char *) "style", NULL
2157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2160 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2164 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2165 if (PyErr_Occurred()) SWIG_fail
;
2169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2170 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2172 wxPyEndAllowThreads(__tstate
);
2173 if (PyErr_Occurred()) SWIG_fail
;
2175 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 1);
2182 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2183 PyObject
*resultobj
;
2184 wxBrush
*arg1
= (wxBrush
*) 0 ;
2185 PyObject
* obj0
= 0 ;
2187 (char *) "self", NULL
2190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2196 wxPyEndAllowThreads(__tstate
);
2197 if (PyErr_Occurred()) SWIG_fail
;
2199 Py_INCREF(Py_None
); resultobj
= Py_None
;
2206 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2207 PyObject
*resultobj
;
2208 wxBrush
*arg1
= (wxBrush
*) 0 ;
2209 wxColour
*arg2
= 0 ;
2211 PyObject
* obj0
= 0 ;
2212 PyObject
* obj1
= 0 ;
2214 (char *) "self",(char *) "col", NULL
2217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2221 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2225 (arg1
)->SetColour((wxColour
const &)*arg2
);
2227 wxPyEndAllowThreads(__tstate
);
2228 if (PyErr_Occurred()) SWIG_fail
;
2230 Py_INCREF(Py_None
); resultobj
= Py_None
;
2237 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
*resultobj
;
2239 wxBrush
*arg1
= (wxBrush
*) 0 ;
2241 PyObject
* obj0
= 0 ;
2242 PyObject
* obj1
= 0 ;
2244 (char *) "self",(char *) "style", NULL
2247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2250 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2251 if (PyErr_Occurred()) SWIG_fail
;
2254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2255 (arg1
)->SetStyle(arg2
);
2257 wxPyEndAllowThreads(__tstate
);
2258 if (PyErr_Occurred()) SWIG_fail
;
2260 Py_INCREF(Py_None
); resultobj
= Py_None
;
2267 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
*resultobj
;
2269 wxBrush
*arg1
= (wxBrush
*) 0 ;
2270 wxBitmap
*arg2
= 0 ;
2271 PyObject
* obj0
= 0 ;
2272 PyObject
* obj1
= 0 ;
2274 (char *) "self",(char *) "stipple", NULL
2277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2279 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2281 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2285 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2287 wxPyEndAllowThreads(__tstate
);
2288 if (PyErr_Occurred()) SWIG_fail
;
2290 Py_INCREF(Py_None
); resultobj
= Py_None
;
2297 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2298 PyObject
*resultobj
;
2299 wxBrush
*arg1
= (wxBrush
*) 0 ;
2301 PyObject
* obj0
= 0 ;
2303 (char *) "self", NULL
2306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2310 result
= ((wxBrush
const *)arg1
)->GetColour();
2312 wxPyEndAllowThreads(__tstate
);
2313 if (PyErr_Occurred()) SWIG_fail
;
2316 wxColour
* resultptr
;
2317 resultptr
= new wxColour((wxColour
&) result
);
2318 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
2326 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2327 PyObject
*resultobj
;
2328 wxBrush
*arg1
= (wxBrush
*) 0 ;
2330 PyObject
* obj0
= 0 ;
2332 (char *) "self", NULL
2335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2339 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2341 wxPyEndAllowThreads(__tstate
);
2342 if (PyErr_Occurred()) SWIG_fail
;
2344 resultobj
= SWIG_PyObj_FromInt((int)result
);
2351 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2352 PyObject
*resultobj
;
2353 wxBrush
*arg1
= (wxBrush
*) 0 ;
2355 PyObject
* obj0
= 0 ;
2357 (char *) "self", NULL
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2364 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2366 wxPyEndAllowThreads(__tstate
);
2367 if (PyErr_Occurred()) SWIG_fail
;
2369 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
2376 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2377 PyObject
*resultobj
;
2378 wxBrush
*arg1
= (wxBrush
*) 0 ;
2380 PyObject
* obj0
= 0 ;
2382 (char *) "self", NULL
2385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2389 result
= (bool)(arg1
)->Ok();
2391 wxPyEndAllowThreads(__tstate
);
2392 if (PyErr_Occurred()) SWIG_fail
;
2394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
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_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2655 PyObject
*resultobj
;
2656 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2657 wxPalette
*arg2
= 0 ;
2658 PyObject
* obj0
= 0 ;
2659 PyObject
* obj1
= 0 ;
2661 (char *) "self",(char *) "palette", NULL
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
2665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2666 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2668 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2672 (arg1
)->SetPalette(*arg2
);
2674 wxPyEndAllowThreads(__tstate
);
2675 if (PyErr_Occurred()) SWIG_fail
;
2677 Py_INCREF(Py_None
); resultobj
= Py_None
;
2684 static PyObject
*_wrap_Bitmap_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2685 PyObject
*resultobj
;
2686 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2688 PyObject
* obj0
= 0 ;
2690 (char *) "self", NULL
2693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHandle",kwnames
,&obj0
)) goto fail
;
2694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2697 result
= (long)(arg1
)->GetHandle();
2699 wxPyEndAllowThreads(__tstate
);
2700 if (PyErr_Occurred()) SWIG_fail
;
2702 resultobj
= SWIG_PyObj_FromLong((long)result
);
2709 static PyObject
*_wrap_Bitmap_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
*resultobj
;
2711 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2713 PyObject
* obj0
= 0 ;
2714 PyObject
* obj1
= 0 ;
2716 (char *) "self",(char *) "handle", NULL
2719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
2720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2722 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
2723 if (PyErr_Occurred()) SWIG_fail
;
2726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2727 (arg1
)->SetHandle(arg2
);
2729 wxPyEndAllowThreads(__tstate
);
2730 if (PyErr_Occurred()) SWIG_fail
;
2732 Py_INCREF(Py_None
); resultobj
= Py_None
;
2739 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2740 PyObject
*resultobj
;
2741 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2743 PyObject
* obj0
= 0 ;
2745 (char *) "self", NULL
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2752 result
= (bool)(arg1
)->Ok();
2754 wxPyEndAllowThreads(__tstate
);
2755 if (PyErr_Occurred()) SWIG_fail
;
2757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2764 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2765 PyObject
*resultobj
;
2766 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2768 PyObject
* obj0
= 0 ;
2770 (char *) "self", NULL
2773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2777 result
= (int)(arg1
)->GetWidth();
2779 wxPyEndAllowThreads(__tstate
);
2780 if (PyErr_Occurred()) SWIG_fail
;
2782 resultobj
= SWIG_PyObj_FromInt((int)result
);
2789 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2790 PyObject
*resultobj
;
2791 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2793 PyObject
* obj0
= 0 ;
2795 (char *) "self", NULL
2798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2802 result
= (int)(arg1
)->GetHeight();
2804 wxPyEndAllowThreads(__tstate
);
2805 if (PyErr_Occurred()) SWIG_fail
;
2807 resultobj
= SWIG_PyObj_FromInt((int)result
);
2814 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2815 PyObject
*resultobj
;
2816 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2818 PyObject
* obj0
= 0 ;
2820 (char *) "self", NULL
2823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2827 result
= (int)(arg1
)->GetDepth();
2829 wxPyEndAllowThreads(__tstate
);
2830 if (PyErr_Occurred()) SWIG_fail
;
2832 resultobj
= SWIG_PyObj_FromInt((int)result
);
2839 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
*resultobj
;
2841 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2842 SwigValueWrapper
< wxImage
> result
;
2843 PyObject
* obj0
= 0 ;
2845 (char *) "self", NULL
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
2849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2852 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
2854 wxPyEndAllowThreads(__tstate
);
2855 if (PyErr_Occurred()) SWIG_fail
;
2858 wxImage
* resultptr
;
2859 resultptr
= new wxImage((wxImage
&) result
);
2860 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
2868 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2869 PyObject
*resultobj
;
2870 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2872 PyObject
* obj0
= 0 ;
2874 (char *) "self", NULL
2877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
2878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2881 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
2883 wxPyEndAllowThreads(__tstate
);
2884 if (PyErr_Occurred()) SWIG_fail
;
2886 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 0);
2893 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2894 PyObject
*resultobj
;
2895 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2896 wxMask
*arg2
= (wxMask
*) 0 ;
2897 PyObject
* obj0
= 0 ;
2898 PyObject
* obj1
= 0 ;
2900 (char *) "self",(char *) "mask", NULL
2903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
2904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2905 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2908 (arg1
)->SetMask(arg2
);
2910 wxPyEndAllowThreads(__tstate
);
2911 if (PyErr_Occurred()) SWIG_fail
;
2913 Py_INCREF(Py_None
); resultobj
= Py_None
;
2920 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
*resultobj
;
2922 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2923 wxColour
*arg2
= 0 ;
2925 PyObject
* obj0
= 0 ;
2926 PyObject
* obj1
= 0 ;
2928 (char *) "self",(char *) "colour", NULL
2931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2935 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) SWIG_fail
;
2944 Py_INCREF(Py_None
); resultobj
= Py_None
;
2951 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2952 PyObject
*resultobj
;
2953 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2955 SwigValueWrapper
< wxBitmap
> result
;
2957 PyObject
* obj0
= 0 ;
2958 PyObject
* obj1
= 0 ;
2960 (char *) "self",(char *) "rect", NULL
2963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2967 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2971 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
2973 wxPyEndAllowThreads(__tstate
);
2974 if (PyErr_Occurred()) SWIG_fail
;
2977 wxBitmap
* resultptr
;
2978 resultptr
= new wxBitmap((wxBitmap
&) result
);
2979 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
2987 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2988 PyObject
*resultobj
;
2989 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2990 wxString
*arg2
= 0 ;
2992 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
2994 bool temp2
= False
;
2995 PyObject
* obj0
= 0 ;
2996 PyObject
* obj1
= 0 ;
2997 PyObject
* obj2
= 0 ;
2998 PyObject
* obj3
= 0 ;
3000 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3006 arg2
= wxString_in_helper(obj1
);
3007 if (arg2
== NULL
) SWIG_fail
;
3011 arg3
= (wxBitmapType
) SWIG_PyObj_AsInt(obj2
);
3012 if (PyErr_Occurred()) SWIG_fail
;
3015 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3019 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3021 wxPyEndAllowThreads(__tstate
);
3022 if (PyErr_Occurred()) SWIG_fail
;
3024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3039 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3040 PyObject
*resultobj
;
3041 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3042 wxString
*arg2
= 0 ;
3045 bool temp2
= False
;
3046 PyObject
* obj0
= 0 ;
3047 PyObject
* obj1
= 0 ;
3048 PyObject
* obj2
= 0 ;
3050 (char *) "self",(char *) "name",(char *) "type", NULL
3053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3056 arg2
= wxString_in_helper(obj1
);
3057 if (arg2
== NULL
) SWIG_fail
;
3061 arg3
= (wxBitmapType
) SWIG_PyObj_AsInt(obj2
);
3062 if (PyErr_Occurred()) SWIG_fail
;
3065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3066 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3068 wxPyEndAllowThreads(__tstate
);
3069 if (PyErr_Occurred()) SWIG_fail
;
3071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3086 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3087 PyObject
*resultobj
;
3088 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3091 PyObject
* obj0
= 0 ;
3092 PyObject
* obj1
= 0 ;
3094 (char *) "self",(char *) "icon", NULL
3097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3099 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3101 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3105 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3107 wxPyEndAllowThreads(__tstate
);
3108 if (PyErr_Occurred()) SWIG_fail
;
3110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3117 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3118 PyObject
*resultobj
;
3119 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3121 PyObject
* obj0
= 0 ;
3122 PyObject
* obj1
= 0 ;
3124 (char *) "self",(char *) "height", NULL
3127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3130 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3131 if (PyErr_Occurred()) SWIG_fail
;
3134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3135 (arg1
)->SetHeight(arg2
);
3137 wxPyEndAllowThreads(__tstate
);
3138 if (PyErr_Occurred()) SWIG_fail
;
3140 Py_INCREF(Py_None
); resultobj
= Py_None
;
3147 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3148 PyObject
*resultobj
;
3149 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3151 PyObject
* obj0
= 0 ;
3152 PyObject
* obj1
= 0 ;
3154 (char *) "self",(char *) "width", NULL
3157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3160 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3161 if (PyErr_Occurred()) SWIG_fail
;
3164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3165 (arg1
)->SetWidth(arg2
);
3167 wxPyEndAllowThreads(__tstate
);
3168 if (PyErr_Occurred()) SWIG_fail
;
3170 Py_INCREF(Py_None
); resultobj
= Py_None
;
3177 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3178 PyObject
*resultobj
;
3179 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3181 PyObject
* obj0
= 0 ;
3182 PyObject
* obj1
= 0 ;
3184 (char *) "self",(char *) "depth", NULL
3187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3190 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3191 if (PyErr_Occurred()) SWIG_fail
;
3194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3195 (arg1
)->SetDepth(arg2
);
3197 wxPyEndAllowThreads(__tstate
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3200 Py_INCREF(Py_None
); resultobj
= Py_None
;
3207 static PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
*resultobj
;
3209 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3210 wxCursor
*arg2
= 0 ;
3212 PyObject
* obj0
= 0 ;
3213 PyObject
* obj1
= 0 ;
3215 (char *) "self",(char *) "cursor", NULL
3218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
3219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3220 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3222 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3226 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
3228 wxPyEndAllowThreads(__tstate
);
3229 if (PyErr_Occurred()) SWIG_fail
;
3231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3238 static PyObject
*_wrap_Bitmap_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3239 PyObject
*resultobj
;
3240 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3242 PyObject
* obj0
= 0 ;
3244 (char *) "self", NULL
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetQuality",kwnames
,&obj0
)) goto fail
;
3248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3251 result
= (int)(arg1
)->GetQuality();
3253 wxPyEndAllowThreads(__tstate
);
3254 if (PyErr_Occurred()) SWIG_fail
;
3256 resultobj
= SWIG_PyObj_FromInt((int)result
);
3263 static PyObject
*_wrap_Bitmap_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3264 PyObject
*resultobj
;
3265 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3267 PyObject
* obj0
= 0 ;
3268 PyObject
* obj1
= 0 ;
3270 (char *) "self",(char *) "q", NULL
3273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
3274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3276 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3277 if (PyErr_Occurred()) SWIG_fail
;
3280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3281 (arg1
)->SetQuality(arg2
);
3283 wxPyEndAllowThreads(__tstate
);
3284 if (PyErr_Occurred()) SWIG_fail
;
3286 Py_INCREF(Py_None
); resultobj
= Py_None
;
3293 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3296 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3298 return Py_BuildValue((char *)"");
3300 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3301 PyObject
*resultobj
;
3302 wxBitmap
*arg1
= 0 ;
3303 wxColour
const &arg2_defvalue
= wxNullColour
;
3304 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3307 PyObject
* obj0
= 0 ;
3308 PyObject
* obj1
= 0 ;
3310 (char *) "bitmap",(char *) "colour", NULL
3313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3316 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3321 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3326 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3328 wxPyEndAllowThreads(__tstate
);
3329 if (PyErr_Occurred()) SWIG_fail
;
3331 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 1);
3338 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3341 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3343 return Py_BuildValue((char *)"");
3345 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
*resultobj
;
3347 wxString
*arg1
= 0 ;
3349 int arg3
= (int) -1 ;
3350 int arg4
= (int) -1 ;
3352 bool temp1
= False
;
3353 PyObject
* obj0
= 0 ;
3354 PyObject
* obj1
= 0 ;
3355 PyObject
* obj2
= 0 ;
3356 PyObject
* obj3
= 0 ;
3358 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3363 arg1
= wxString_in_helper(obj0
);
3364 if (arg1
== NULL
) SWIG_fail
;
3368 arg2
= (wxBitmapType
) SWIG_PyObj_AsInt(obj1
);
3369 if (PyErr_Occurred()) SWIG_fail
;
3373 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3374 if (PyErr_Occurred()) SWIG_fail
;
3379 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
3380 if (PyErr_Occurred()) SWIG_fail
;
3384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3385 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3387 wxPyEndAllowThreads(__tstate
);
3388 if (PyErr_Occurred()) SWIG_fail
;
3390 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3405 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
*resultobj
;
3407 wxIcon
*arg1
= (wxIcon
*) 0 ;
3408 PyObject
* obj0
= 0 ;
3410 (char *) "self", NULL
3413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3419 wxPyEndAllowThreads(__tstate
);
3420 if (PyErr_Occurred()) SWIG_fail
;
3422 Py_INCREF(Py_None
); resultobj
= Py_None
;
3429 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3430 PyObject
*resultobj
;
3436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3439 result
= (wxIcon
*)new wxIcon();
3441 wxPyEndAllowThreads(__tstate
);
3442 if (PyErr_Occurred()) SWIG_fail
;
3444 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3451 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
;
3453 wxIconLocation
*arg1
= 0 ;
3455 PyObject
* obj0
= 0 ;
3457 (char *) "loc", NULL
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3463 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3472 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3479 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
*resultobj
;
3481 wxBitmap
*arg1
= 0 ;
3483 PyObject
* obj0
= 0 ;
3485 (char *) "bmp", NULL
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3491 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3495 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3500 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3507 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3508 PyObject
*resultobj
;
3509 PyObject
*arg1
= (PyObject
*) 0 ;
3511 PyObject
* obj0
= 0 ;
3513 (char *) "listOfStrings", NULL
3516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3520 result
= (wxIcon
*)new_wxIcon(arg1
);
3522 wxPyEndAllowThreads(__tstate
);
3523 if (PyErr_Occurred()) SWIG_fail
;
3525 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3532 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
*resultobj
;
3534 wxIcon
*arg1
= (wxIcon
*) 0 ;
3535 wxString
*arg2
= 0 ;
3538 bool temp2
= False
;
3539 PyObject
* obj0
= 0 ;
3540 PyObject
* obj1
= 0 ;
3541 PyObject
* obj2
= 0 ;
3543 (char *) "self",(char *) "name",(char *) "type", NULL
3546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3549 arg2
= wxString_in_helper(obj1
);
3550 if (arg2
== NULL
) SWIG_fail
;
3554 arg3
= (wxBitmapType
) SWIG_PyObj_AsInt(obj2
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3559 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3561 wxPyEndAllowThreads(__tstate
);
3562 if (PyErr_Occurred()) SWIG_fail
;
3564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3579 static PyObject
*_wrap_Icon_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3580 PyObject
*resultobj
;
3581 wxIcon
*arg1
= (wxIcon
*) 0 ;
3583 PyObject
* obj0
= 0 ;
3585 (char *) "self", NULL
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHandle",kwnames
,&obj0
)) goto fail
;
3589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3592 result
= (long)(arg1
)->GetHandle();
3594 wxPyEndAllowThreads(__tstate
);
3595 if (PyErr_Occurred()) SWIG_fail
;
3597 resultobj
= SWIG_PyObj_FromLong((long)result
);
3604 static PyObject
*_wrap_Icon_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3605 PyObject
*resultobj
;
3606 wxIcon
*arg1
= (wxIcon
*) 0 ;
3608 PyObject
* obj0
= 0 ;
3609 PyObject
* obj1
= 0 ;
3611 (char *) "self",(char *) "handle", NULL
3614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
3615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3617 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3618 if (PyErr_Occurred()) SWIG_fail
;
3621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3622 (arg1
)->SetHandle(arg2
);
3624 wxPyEndAllowThreads(__tstate
);
3625 if (PyErr_Occurred()) SWIG_fail
;
3627 Py_INCREF(Py_None
); resultobj
= Py_None
;
3634 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3635 PyObject
*resultobj
;
3636 wxIcon
*arg1
= (wxIcon
*) 0 ;
3638 PyObject
* obj0
= 0 ;
3640 (char *) "self", NULL
3643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3647 result
= (bool)(arg1
)->Ok();
3649 wxPyEndAllowThreads(__tstate
);
3650 if (PyErr_Occurred()) SWIG_fail
;
3652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3659 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3660 PyObject
*resultobj
;
3661 wxIcon
*arg1
= (wxIcon
*) 0 ;
3663 PyObject
* obj0
= 0 ;
3665 (char *) "self", NULL
3668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3672 result
= (int)(arg1
)->GetWidth();
3674 wxPyEndAllowThreads(__tstate
);
3675 if (PyErr_Occurred()) SWIG_fail
;
3677 resultobj
= SWIG_PyObj_FromInt((int)result
);
3684 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
*resultobj
;
3686 wxIcon
*arg1
= (wxIcon
*) 0 ;
3688 PyObject
* obj0
= 0 ;
3690 (char *) "self", NULL
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3697 result
= (int)(arg1
)->GetHeight();
3699 wxPyEndAllowThreads(__tstate
);
3700 if (PyErr_Occurred()) SWIG_fail
;
3702 resultobj
= SWIG_PyObj_FromInt((int)result
);
3709 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3710 PyObject
*resultobj
;
3711 wxIcon
*arg1
= (wxIcon
*) 0 ;
3713 PyObject
* obj0
= 0 ;
3715 (char *) "self", NULL
3718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3722 result
= (int)(arg1
)->GetDepth();
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3727 resultobj
= SWIG_PyObj_FromInt((int)result
);
3734 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3735 PyObject
*resultobj
;
3736 wxIcon
*arg1
= (wxIcon
*) 0 ;
3738 PyObject
* obj0
= 0 ;
3739 PyObject
* obj1
= 0 ;
3741 (char *) "self",(char *) "w", NULL
3744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3747 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3748 if (PyErr_Occurred()) SWIG_fail
;
3751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3752 (arg1
)->SetWidth(arg2
);
3754 wxPyEndAllowThreads(__tstate
);
3755 if (PyErr_Occurred()) SWIG_fail
;
3757 Py_INCREF(Py_None
); resultobj
= Py_None
;
3764 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
*resultobj
;
3766 wxIcon
*arg1
= (wxIcon
*) 0 ;
3768 PyObject
* obj0
= 0 ;
3769 PyObject
* obj1
= 0 ;
3771 (char *) "self",(char *) "h", NULL
3774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3777 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3778 if (PyErr_Occurred()) SWIG_fail
;
3781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3782 (arg1
)->SetHeight(arg2
);
3784 wxPyEndAllowThreads(__tstate
);
3785 if (PyErr_Occurred()) SWIG_fail
;
3787 Py_INCREF(Py_None
); resultobj
= Py_None
;
3794 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3795 PyObject
*resultobj
;
3796 wxIcon
*arg1
= (wxIcon
*) 0 ;
3798 PyObject
* obj0
= 0 ;
3799 PyObject
* obj1
= 0 ;
3801 (char *) "self",(char *) "d", NULL
3804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3807 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3808 if (PyErr_Occurred()) SWIG_fail
;
3811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3812 (arg1
)->SetDepth(arg2
);
3814 wxPyEndAllowThreads(__tstate
);
3815 if (PyErr_Occurred()) SWIG_fail
;
3817 Py_INCREF(Py_None
); resultobj
= Py_None
;
3824 static PyObject
*_wrap_Icon_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
;
3826 wxIcon
*arg1
= (wxIcon
*) 0 ;
3829 PyObject
* obj0
= 0 ;
3830 PyObject
* obj1
= 0 ;
3832 (char *) "self",(char *) "size", NULL
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3839 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3843 (arg1
)->SetSize((wxSize
const &)*arg2
);
3845 wxPyEndAllowThreads(__tstate
);
3846 if (PyErr_Occurred()) SWIG_fail
;
3848 Py_INCREF(Py_None
); resultobj
= Py_None
;
3855 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3856 PyObject
*resultobj
;
3857 wxIcon
*arg1
= (wxIcon
*) 0 ;
3858 wxBitmap
*arg2
= 0 ;
3859 PyObject
* obj0
= 0 ;
3860 PyObject
* obj1
= 0 ;
3862 (char *) "self",(char *) "bmp", NULL
3865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3867 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3869 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3878 Py_INCREF(Py_None
); resultobj
= Py_None
;
3885 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
3887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3888 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3890 return Py_BuildValue((char *)"");
3892 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3893 PyObject
*resultobj
;
3894 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3895 int arg2
= (int) 0 ;
3896 wxIconLocation
*result
;
3897 bool temp1
= False
;
3898 PyObject
* obj0
= 0 ;
3899 PyObject
* obj1
= 0 ;
3901 (char *) "filename",(char *) "num", NULL
3904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
3907 arg1
= wxString_in_helper(obj0
);
3908 if (arg1
== NULL
) SWIG_fail
;
3914 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3915 if (PyErr_Occurred()) SWIG_fail
;
3919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3920 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3922 wxPyEndAllowThreads(__tstate
);
3923 if (PyErr_Occurred()) SWIG_fail
;
3925 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconLocation
, 1);
3940 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
*resultobj
;
3942 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3943 PyObject
* obj0
= 0 ;
3945 (char *) "self", NULL
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
3949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 wxPyEndAllowThreads(__tstate
);
3955 if (PyErr_Occurred()) SWIG_fail
;
3957 Py_INCREF(Py_None
); resultobj
= Py_None
;
3964 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
*resultobj
;
3966 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3968 PyObject
* obj0
= 0 ;
3970 (char *) "self", NULL
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
3974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
3979 wxPyEndAllowThreads(__tstate
);
3980 if (PyErr_Occurred()) SWIG_fail
;
3982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3989 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3990 PyObject
*resultobj
;
3991 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3992 wxString
*arg2
= 0 ;
3993 bool temp2
= False
;
3994 PyObject
* obj0
= 0 ;
3995 PyObject
* obj1
= 0 ;
3997 (char *) "self",(char *) "filename", NULL
4000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4003 arg2
= wxString_in_helper(obj1
);
4004 if (arg2
== NULL
) SWIG_fail
;
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 (arg1
)->SetFileName((wxString
const &)*arg2
);
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4014 Py_INCREF(Py_None
); resultobj
= Py_None
;
4029 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4030 PyObject
*resultobj
;
4031 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4033 PyObject
* obj0
= 0 ;
4035 (char *) "self", NULL
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4043 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4044 result
= (wxString
*) &_result_ref
;
4047 wxPyEndAllowThreads(__tstate
);
4048 if (PyErr_Occurred()) SWIG_fail
;
4052 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4054 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4063 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4064 PyObject
*resultobj
;
4065 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4067 PyObject
* obj0
= 0 ;
4068 PyObject
* obj1
= 0 ;
4070 (char *) "self",(char *) "num", NULL
4073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4076 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4077 if (PyErr_Occurred()) SWIG_fail
;
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 wxIconLocation_SetIndex(arg1
,arg2
);
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) SWIG_fail
;
4086 Py_INCREF(Py_None
); resultobj
= Py_None
;
4093 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
;
4095 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4097 PyObject
* obj0
= 0 ;
4099 (char *) "self", NULL
4102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4106 result
= (int)wxIconLocation_GetIndex(arg1
);
4108 wxPyEndAllowThreads(__tstate
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4111 resultobj
= SWIG_PyObj_FromInt((int)result
);
4118 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4121 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4123 return Py_BuildValue((char *)"");
4125 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4126 PyObject
*resultobj
;
4127 wxIconBundle
*result
;
4132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4135 result
= (wxIconBundle
*)new wxIconBundle();
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4140 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
4147 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
*resultobj
;
4149 wxString
*arg1
= 0 ;
4151 wxIconBundle
*result
;
4152 bool temp1
= False
;
4153 PyObject
* obj0
= 0 ;
4154 PyObject
* obj1
= 0 ;
4156 (char *) "file",(char *) "type", NULL
4159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4161 arg1
= wxString_in_helper(obj0
);
4162 if (arg1
== NULL
) SWIG_fail
;
4166 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
4167 if (PyErr_Occurred()) SWIG_fail
;
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) SWIG_fail
;
4176 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
4191 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
*resultobj
;
4194 wxIconBundle
*result
;
4195 PyObject
* obj0
= 0 ;
4197 (char *) "icon", NULL
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4203 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) SWIG_fail
;
4212 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
4219 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
*resultobj
;
4221 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4222 PyObject
* obj0
= 0 ;
4224 (char *) "self", NULL
4227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4233 wxPyEndAllowThreads(__tstate
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4236 Py_INCREF(Py_None
); resultobj
= Py_None
;
4243 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
*resultobj
;
4245 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4247 PyObject
* obj0
= 0 ;
4248 PyObject
* obj1
= 0 ;
4250 (char *) "self",(char *) "icon", NULL
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4255 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4257 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4261 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4263 wxPyEndAllowThreads(__tstate
);
4264 if (PyErr_Occurred()) SWIG_fail
;
4266 Py_INCREF(Py_None
); resultobj
= Py_None
;
4273 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
*resultobj
;
4275 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4276 wxString
*arg2
= 0 ;
4278 bool temp2
= False
;
4279 PyObject
* obj0
= 0 ;
4280 PyObject
* obj1
= 0 ;
4281 PyObject
* obj2
= 0 ;
4283 (char *) "self",(char *) "file",(char *) "type", NULL
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4289 arg2
= wxString_in_helper(obj1
);
4290 if (arg2
== NULL
) SWIG_fail
;
4294 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4299 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4304 Py_INCREF(Py_None
); resultobj
= Py_None
;
4319 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4320 PyObject
*resultobj
;
4321 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4325 PyObject
* obj0
= 0 ;
4326 PyObject
* obj1
= 0 ;
4328 (char *) "self",(char *) "size", NULL
4331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4335 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4340 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4341 result
= (wxIcon
*) &_result_ref
;
4344 wxPyEndAllowThreads(__tstate
);
4345 if (PyErr_Occurred()) SWIG_fail
;
4347 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 0);
4354 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4357 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4359 return Py_BuildValue((char *)"");
4361 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
*resultobj
;
4363 wxString
*arg1
= (wxString
*) 0 ;
4365 int arg3
= (int) 0 ;
4366 int arg4
= (int) 0 ;
4368 bool temp1
= False
;
4369 PyObject
* obj0
= 0 ;
4370 PyObject
* obj1
= 0 ;
4371 PyObject
* obj2
= 0 ;
4372 PyObject
* obj3
= 0 ;
4374 (char *) "cursorName",(char *) "flags",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4379 arg1
= wxString_in_helper(obj0
);
4380 if (arg1
== NULL
) SWIG_fail
;
4384 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
4385 if (PyErr_Occurred()) SWIG_fail
;
4389 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4390 if (PyErr_Occurred()) SWIG_fail
;
4395 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4396 if (PyErr_Occurred()) SWIG_fail
;
4400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4406 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4421 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
*resultobj
;
4423 wxCursor
*arg1
= (wxCursor
*) 0 ;
4424 PyObject
* obj0
= 0 ;
4426 (char *) "self", NULL
4429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4435 wxPyEndAllowThreads(__tstate
);
4436 if (PyErr_Occurred()) SWIG_fail
;
4438 Py_INCREF(Py_None
); resultobj
= Py_None
;
4445 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4446 PyObject
*resultobj
;
4449 PyObject
* obj0
= 0 ;
4454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4456 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 result
= (wxCursor
*)new wxCursor(arg1
);
4463 wxPyEndAllowThreads(__tstate
);
4464 if (PyErr_Occurred()) SWIG_fail
;
4466 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4473 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4474 PyObject
*resultobj
;
4477 PyObject
* obj0
= 0 ;
4479 (char *) "image", NULL
4482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4485 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4494 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4501 static PyObject
*_wrap_new_CursorFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
*resultobj
;
4503 PyObject
*arg1
= (PyObject
*) 0 ;
4506 int arg4
= (int) -1 ;
4507 int arg5
= (int) -1 ;
4508 PyObject
*arg6
= (PyObject
*) 0 ;
4510 PyObject
* obj0
= 0 ;
4511 PyObject
* obj1
= 0 ;
4512 PyObject
* obj2
= 0 ;
4513 PyObject
* obj3
= 0 ;
4514 PyObject
* obj4
= 0 ;
4515 PyObject
* obj5
= 0 ;
4517 (char *) "bits",(char *) "width",(char *) "height",(char *) "hotSpotX",(char *) "hotSpotY",(char *) "maskBits", NULL
4520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_CursorFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4523 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4527 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4532 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4533 if (PyErr_Occurred()) SWIG_fail
;
4538 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4539 if (PyErr_Occurred()) SWIG_fail
;
4546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4547 result
= (wxCursor
*)new_wxCursor(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
4549 wxPyEndAllowThreads(__tstate
);
4550 if (PyErr_Occurred()) SWIG_fail
;
4552 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4559 static PyObject
*_wrap_Cursor_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4560 PyObject
*resultobj
;
4561 wxCursor
*arg1
= (wxCursor
*) 0 ;
4563 PyObject
* obj0
= 0 ;
4565 (char *) "self", NULL
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHandle",kwnames
,&obj0
)) goto fail
;
4569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 result
= (long)(arg1
)->GetHandle();
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4577 resultobj
= SWIG_PyObj_FromLong((long)result
);
4584 static PyObject
*_wrap_Cursor_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4585 PyObject
*resultobj
;
4586 wxCursor
*arg1
= (wxCursor
*) 0 ;
4588 PyObject
* obj0
= 0 ;
4589 PyObject
* obj1
= 0 ;
4591 (char *) "self",(char *) "handle", NULL
4594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
4595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4597 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
4598 if (PyErr_Occurred()) SWIG_fail
;
4601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4602 (arg1
)->SetHandle(arg2
);
4604 wxPyEndAllowThreads(__tstate
);
4605 if (PyErr_Occurred()) SWIG_fail
;
4607 Py_INCREF(Py_None
); resultobj
= Py_None
;
4614 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4615 PyObject
*resultobj
;
4616 wxCursor
*arg1
= (wxCursor
*) 0 ;
4618 PyObject
* obj0
= 0 ;
4620 (char *) "self", NULL
4623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4627 result
= (bool)(arg1
)->Ok();
4629 wxPyEndAllowThreads(__tstate
);
4630 if (PyErr_Occurred()) SWIG_fail
;
4632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4639 static PyObject
*_wrap_Cursor_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4640 PyObject
*resultobj
;
4641 wxCursor
*arg1
= (wxCursor
*) 0 ;
4643 PyObject
* obj0
= 0 ;
4645 (char *) "self", NULL
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetWidth",kwnames
,&obj0
)) goto fail
;
4649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4652 result
= (int)(arg1
)->GetWidth();
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4657 resultobj
= SWIG_PyObj_FromInt((int)result
);
4664 static PyObject
*_wrap_Cursor_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
*resultobj
;
4666 wxCursor
*arg1
= (wxCursor
*) 0 ;
4668 PyObject
* obj0
= 0 ;
4670 (char *) "self", NULL
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHeight",kwnames
,&obj0
)) goto fail
;
4674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4677 result
= (int)(arg1
)->GetHeight();
4679 wxPyEndAllowThreads(__tstate
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4682 resultobj
= SWIG_PyObj_FromInt((int)result
);
4689 static PyObject
*_wrap_Cursor_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4690 PyObject
*resultobj
;
4691 wxCursor
*arg1
= (wxCursor
*) 0 ;
4693 PyObject
* obj0
= 0 ;
4695 (char *) "self", NULL
4698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetDepth",kwnames
,&obj0
)) goto fail
;
4699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 result
= (int)(arg1
)->GetDepth();
4704 wxPyEndAllowThreads(__tstate
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4707 resultobj
= SWIG_PyObj_FromInt((int)result
);
4714 static PyObject
*_wrap_Cursor_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4715 PyObject
*resultobj
;
4716 wxCursor
*arg1
= (wxCursor
*) 0 ;
4718 PyObject
* obj0
= 0 ;
4719 PyObject
* obj1
= 0 ;
4721 (char *) "self",(char *) "w", NULL
4724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4727 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4728 if (PyErr_Occurred()) SWIG_fail
;
4731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4732 (arg1
)->SetWidth(arg2
);
4734 wxPyEndAllowThreads(__tstate
);
4735 if (PyErr_Occurred()) SWIG_fail
;
4737 Py_INCREF(Py_None
); resultobj
= Py_None
;
4744 static PyObject
*_wrap_Cursor_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
*resultobj
;
4746 wxCursor
*arg1
= (wxCursor
*) 0 ;
4748 PyObject
* obj0
= 0 ;
4749 PyObject
* obj1
= 0 ;
4751 (char *) "self",(char *) "h", NULL
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4757 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4762 (arg1
)->SetHeight(arg2
);
4764 wxPyEndAllowThreads(__tstate
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4767 Py_INCREF(Py_None
); resultobj
= Py_None
;
4774 static PyObject
*_wrap_Cursor_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
*resultobj
;
4776 wxCursor
*arg1
= (wxCursor
*) 0 ;
4778 PyObject
* obj0
= 0 ;
4779 PyObject
* obj1
= 0 ;
4781 (char *) "self",(char *) "d", NULL
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4787 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4788 if (PyErr_Occurred()) SWIG_fail
;
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 (arg1
)->SetDepth(arg2
);
4794 wxPyEndAllowThreads(__tstate
);
4795 if (PyErr_Occurred()) SWIG_fail
;
4797 Py_INCREF(Py_None
); resultobj
= Py_None
;
4804 static PyObject
*_wrap_Cursor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
*resultobj
;
4806 wxCursor
*arg1
= (wxCursor
*) 0 ;
4809 PyObject
* obj0
= 0 ;
4810 PyObject
* obj1
= 0 ;
4812 (char *) "self",(char *) "size", NULL
4815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4819 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 (arg1
)->SetSize((wxSize
const &)*arg2
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4828 Py_INCREF(Py_None
); resultobj
= Py_None
;
4835 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4838 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4840 return Py_BuildValue((char *)"");
4842 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
*resultobj
;
4844 int arg1
= (int) 0 ;
4845 int arg2
= (int) 0 ;
4846 int arg3
= (int) 0 ;
4847 int arg4
= (int) 0 ;
4849 PyObject
* obj0
= 0 ;
4850 PyObject
* obj1
= 0 ;
4851 PyObject
* obj2
= 0 ;
4852 PyObject
* obj3
= 0 ;
4854 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4860 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4866 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4867 if (PyErr_Occurred()) SWIG_fail
;
4872 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4873 if (PyErr_Occurred()) SWIG_fail
;
4878 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4884 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4886 wxPyEndAllowThreads(__tstate
);
4887 if (PyErr_Occurred()) SWIG_fail
;
4889 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4896 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
*resultobj
;
4898 wxBitmap
*arg1
= 0 ;
4899 wxColour
const &arg2_defvalue
= wxNullColour
;
4900 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4901 int arg3
= (int) 0 ;
4904 PyObject
* obj0
= 0 ;
4905 PyObject
* obj1
= 0 ;
4906 PyObject
* obj2
= 0 ;
4908 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4914 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4919 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4924 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4930 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4932 wxPyEndAllowThreads(__tstate
);
4933 if (PyErr_Occurred()) SWIG_fail
;
4935 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4942 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4943 PyObject
*resultobj
;
4945 wxPoint
*arg2
= (wxPoint
*) 0 ;
4946 int arg3
= (int) wxWINDING_RULE
;
4948 PyObject
* obj0
= 0 ;
4949 PyObject
* obj1
= 0 ;
4951 (char *) "points",(char *) "fillStyle", NULL
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4956 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4957 if (arg2
== NULL
) SWIG_fail
;
4961 arg3
= (int) SWIG_PyObj_AsInt(obj1
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4967 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
4969 wxPyEndAllowThreads(__tstate
);
4970 if (PyErr_Occurred()) SWIG_fail
;
4972 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4974 if (arg2
) delete [] arg2
;
4979 if (arg2
) delete [] arg2
;
4985 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
*resultobj
;
4987 wxRegion
*arg1
= (wxRegion
*) 0 ;
4988 PyObject
* obj0
= 0 ;
4990 (char *) "self", NULL
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4999 wxPyEndAllowThreads(__tstate
);
5000 if (PyErr_Occurred()) SWIG_fail
;
5002 Py_INCREF(Py_None
); resultobj
= Py_None
;
5009 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
*resultobj
;
5011 wxRegion
*arg1
= (wxRegion
*) 0 ;
5012 PyObject
* obj0
= 0 ;
5014 (char *) "self", NULL
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
5018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5023 wxPyEndAllowThreads(__tstate
);
5024 if (PyErr_Occurred()) SWIG_fail
;
5026 Py_INCREF(Py_None
); resultobj
= Py_None
;
5033 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5034 PyObject
*resultobj
;
5035 wxRegion
*arg1
= (wxRegion
*) 0 ;
5039 PyObject
* obj0
= 0 ;
5040 PyObject
* obj1
= 0 ;
5041 PyObject
* obj2
= 0 ;
5043 (char *) "self",(char *) "x",(char *) "y", NULL
5046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5049 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5050 if (PyErr_Occurred()) SWIG_fail
;
5053 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5058 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
5060 wxPyEndAllowThreads(__tstate
);
5061 if (PyErr_Occurred()) SWIG_fail
;
5063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5070 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
*resultobj
;
5072 wxRegion
*arg1
= (wxRegion
*) 0 ;
5076 PyObject
* obj0
= 0 ;
5077 PyObject
* obj1
= 0 ;
5078 PyObject
* obj2
= 0 ;
5080 (char *) "self",(char *) "x",(char *) "y", NULL
5083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5086 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5090 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5095 result
= (int)(arg1
)->Contains(arg2
,arg3
);
5097 wxPyEndAllowThreads(__tstate
);
5098 if (PyErr_Occurred()) SWIG_fail
;
5100 resultobj
= SWIG_PyObj_FromInt((int)result
);
5107 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5108 PyObject
*resultobj
;
5109 wxRegion
*arg1
= (wxRegion
*) 0 ;
5113 PyObject
* obj0
= 0 ;
5114 PyObject
* obj1
= 0 ;
5116 (char *) "self",(char *) "pt", NULL
5119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
5120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5123 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) SWIG_fail
;
5132 resultobj
= SWIG_PyObj_FromInt((int)result
);
5139 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
*resultobj
;
5141 wxRegion
*arg1
= (wxRegion
*) 0 ;
5145 PyObject
* obj0
= 0 ;
5146 PyObject
* obj1
= 0 ;
5148 (char *) "self",(char *) "rect", NULL
5151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5155 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5159 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
5161 wxPyEndAllowThreads(__tstate
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5164 resultobj
= SWIG_PyObj_FromInt((int)result
);
5171 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5172 PyObject
*resultobj
;
5173 wxRegion
*arg1
= (wxRegion
*) 0 ;
5179 PyObject
* obj0
= 0 ;
5180 PyObject
* obj1
= 0 ;
5181 PyObject
* obj2
= 0 ;
5182 PyObject
* obj3
= 0 ;
5183 PyObject
* obj4
= 0 ;
5185 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5191 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5192 if (PyErr_Occurred()) SWIG_fail
;
5195 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5196 if (PyErr_Occurred()) SWIG_fail
;
5199 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5200 if (PyErr_Occurred()) SWIG_fail
;
5203 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
5204 if (PyErr_Occurred()) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5213 resultobj
= SWIG_PyObj_FromInt((int)result
);
5220 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
*resultobj
;
5222 wxRegion
*arg1
= (wxRegion
*) 0 ;
5224 PyObject
* obj0
= 0 ;
5226 (char *) "self", NULL
5229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 result
= (arg1
)->GetBox();
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5240 resultptr
= new wxRect((wxRect
&) result
);
5241 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
5249 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
*resultobj
;
5251 wxRegion
*arg1
= (wxRegion
*) 0 ;
5257 PyObject
* obj0
= 0 ;
5258 PyObject
* obj1
= 0 ;
5259 PyObject
* obj2
= 0 ;
5260 PyObject
* obj3
= 0 ;
5261 PyObject
* obj4
= 0 ;
5263 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5269 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5273 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5277 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5278 if (PyErr_Occurred()) SWIG_fail
;
5281 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
5282 if (PyErr_Occurred()) SWIG_fail
;
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5298 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
*resultobj
;
5300 wxRegion
*arg1
= (wxRegion
*) 0 ;
5304 PyObject
* obj0
= 0 ;
5305 PyObject
* obj1
= 0 ;
5307 (char *) "self",(char *) "rect", NULL
5310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5314 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5320 wxPyEndAllowThreads(__tstate
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5330 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5331 PyObject
*resultobj
;
5332 wxRegion
*arg1
= (wxRegion
*) 0 ;
5333 wxRegion
*arg2
= 0 ;
5335 PyObject
* obj0
= 0 ;
5336 PyObject
* obj1
= 0 ;
5338 (char *) "self",(char *) "region", NULL
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5343 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5345 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5349 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5351 wxPyEndAllowThreads(__tstate
);
5352 if (PyErr_Occurred()) SWIG_fail
;
5354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5361 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
*resultobj
;
5363 wxRegion
*arg1
= (wxRegion
*) 0 ;
5365 PyObject
* obj0
= 0 ;
5367 (char *) "self", NULL
5370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5374 result
= (bool)(arg1
)->IsEmpty();
5376 wxPyEndAllowThreads(__tstate
);
5377 if (PyErr_Occurred()) SWIG_fail
;
5379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5386 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5387 PyObject
*resultobj
;
5388 wxRegion
*arg1
= (wxRegion
*) 0 ;
5394 PyObject
* obj0
= 0 ;
5395 PyObject
* obj1
= 0 ;
5396 PyObject
* obj2
= 0 ;
5397 PyObject
* obj3
= 0 ;
5398 PyObject
* obj4
= 0 ;
5400 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5406 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5410 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5414 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5418 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5423 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) SWIG_fail
;
5428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5435 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
;
5437 wxRegion
*arg1
= (wxRegion
*) 0 ;
5441 PyObject
* obj0
= 0 ;
5442 PyObject
* obj1
= 0 ;
5444 (char *) "self",(char *) "rect", NULL
5447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5451 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5455 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5457 wxPyEndAllowThreads(__tstate
);
5458 if (PyErr_Occurred()) SWIG_fail
;
5460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5467 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5468 PyObject
*resultobj
;
5469 wxRegion
*arg1
= (wxRegion
*) 0 ;
5470 wxRegion
*arg2
= 0 ;
5472 PyObject
* obj0
= 0 ;
5473 PyObject
* obj1
= 0 ;
5475 (char *) "self",(char *) "region", NULL
5478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5480 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5482 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5486 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5488 wxPyEndAllowThreads(__tstate
);
5489 if (PyErr_Occurred()) SWIG_fail
;
5491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5498 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5499 PyObject
*resultobj
;
5500 wxRegion
*arg1
= (wxRegion
*) 0 ;
5506 PyObject
* obj0
= 0 ;
5507 PyObject
* obj1
= 0 ;
5508 PyObject
* obj2
= 0 ;
5509 PyObject
* obj3
= 0 ;
5510 PyObject
* obj4
= 0 ;
5512 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5518 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5519 if (PyErr_Occurred()) SWIG_fail
;
5522 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5526 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5530 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5535 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5537 wxPyEndAllowThreads(__tstate
);
5538 if (PyErr_Occurred()) SWIG_fail
;
5540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5547 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5548 PyObject
*resultobj
;
5549 wxRegion
*arg1
= (wxRegion
*) 0 ;
5553 PyObject
* obj0
= 0 ;
5554 PyObject
* obj1
= 0 ;
5556 (char *) "self",(char *) "rect", NULL
5559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5563 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5567 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5569 wxPyEndAllowThreads(__tstate
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5579 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5580 PyObject
*resultobj
;
5581 wxRegion
*arg1
= (wxRegion
*) 0 ;
5582 wxRegion
*arg2
= 0 ;
5584 PyObject
* obj0
= 0 ;
5585 PyObject
* obj1
= 0 ;
5587 (char *) "self",(char *) "region", NULL
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5592 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5594 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5598 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5600 wxPyEndAllowThreads(__tstate
);
5601 if (PyErr_Occurred()) SWIG_fail
;
5603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5610 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5611 PyObject
*resultobj
;
5612 wxRegion
*arg1
= (wxRegion
*) 0 ;
5618 PyObject
* obj0
= 0 ;
5619 PyObject
* obj1
= 0 ;
5620 PyObject
* obj2
= 0 ;
5621 PyObject
* obj3
= 0 ;
5622 PyObject
* obj4
= 0 ;
5624 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5630 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5634 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5635 if (PyErr_Occurred()) SWIG_fail
;
5638 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5642 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
5643 if (PyErr_Occurred()) SWIG_fail
;
5646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5647 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5659 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
*resultobj
;
5661 wxRegion
*arg1
= (wxRegion
*) 0 ;
5665 PyObject
* obj0
= 0 ;
5666 PyObject
* obj1
= 0 ;
5668 (char *) "self",(char *) "rect", NULL
5671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5675 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5679 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5681 wxPyEndAllowThreads(__tstate
);
5682 if (PyErr_Occurred()) SWIG_fail
;
5684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5691 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5692 PyObject
*resultobj
;
5693 wxRegion
*arg1
= (wxRegion
*) 0 ;
5694 wxRegion
*arg2
= 0 ;
5696 PyObject
* obj0
= 0 ;
5697 PyObject
* obj1
= 0 ;
5699 (char *) "self",(char *) "region", NULL
5702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5704 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5706 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5710 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5712 wxPyEndAllowThreads(__tstate
);
5713 if (PyErr_Occurred()) SWIG_fail
;
5715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5722 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
*resultobj
;
5724 wxRegion
*arg1
= (wxRegion
*) 0 ;
5725 SwigValueWrapper
< wxBitmap
> result
;
5726 PyObject
* obj0
= 0 ;
5728 (char *) "self", NULL
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 result
= (arg1
)->ConvertToBitmap();
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5741 wxBitmap
* resultptr
;
5742 resultptr
= new wxBitmap((wxBitmap
&) result
);
5743 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
5751 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5752 PyObject
*resultobj
;
5753 wxRegion
*arg1
= (wxRegion
*) 0 ;
5754 wxBitmap
*arg2
= 0 ;
5755 wxColour
const &arg3_defvalue
= wxNullColour
;
5756 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
5757 int arg4
= (int) 0 ;
5760 PyObject
* obj0
= 0 ;
5761 PyObject
* obj1
= 0 ;
5762 PyObject
* obj2
= 0 ;
5763 PyObject
* obj3
= 0 ;
5765 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5770 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5772 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5777 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5782 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5783 if (PyErr_Occurred()) SWIG_fail
;
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5800 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5803 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5805 return Py_BuildValue((char *)"");
5807 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
*resultobj
;
5809 wxRegion
*arg1
= 0 ;
5810 wxRegionIterator
*result
;
5811 PyObject
* obj0
= 0 ;
5813 (char *) "region", NULL
5816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5819 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5828 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegionIterator
, 1);
5835 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
;
5837 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5838 PyObject
* obj0
= 0 ;
5840 (char *) "self", NULL
5843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5852 Py_INCREF(Py_None
); resultobj
= Py_None
;
5859 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
*resultobj
;
5861 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5863 PyObject
* obj0
= 0 ;
5865 (char *) "self", NULL
5868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5872 result
= (int)(arg1
)->GetX();
5874 wxPyEndAllowThreads(__tstate
);
5875 if (PyErr_Occurred()) SWIG_fail
;
5877 resultobj
= SWIG_PyObj_FromInt((int)result
);
5884 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5885 PyObject
*resultobj
;
5886 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5888 PyObject
* obj0
= 0 ;
5890 (char *) "self", NULL
5893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 result
= (int)(arg1
)->GetY();
5899 wxPyEndAllowThreads(__tstate
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5902 resultobj
= SWIG_PyObj_FromInt((int)result
);
5909 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5910 PyObject
*resultobj
;
5911 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5913 PyObject
* obj0
= 0 ;
5915 (char *) "self", NULL
5918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5922 result
= (int)(arg1
)->GetW();
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5927 resultobj
= SWIG_PyObj_FromInt((int)result
);
5934 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
*resultobj
;
5936 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5938 PyObject
* obj0
= 0 ;
5940 (char *) "self", NULL
5943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5947 result
= (int)(arg1
)->GetWidth();
5949 wxPyEndAllowThreads(__tstate
);
5950 if (PyErr_Occurred()) SWIG_fail
;
5952 resultobj
= SWIG_PyObj_FromInt((int)result
);
5959 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5960 PyObject
*resultobj
;
5961 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5963 PyObject
* obj0
= 0 ;
5965 (char *) "self", NULL
5968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5972 result
= (int)(arg1
)->GetH();
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 resultobj
= SWIG_PyObj_FromInt((int)result
);
5984 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
;
5986 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5988 PyObject
* obj0
= 0 ;
5990 (char *) "self", NULL
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 result
= (int)(arg1
)->GetHeight();
5999 wxPyEndAllowThreads(__tstate
);
6000 if (PyErr_Occurred()) SWIG_fail
;
6002 resultobj
= SWIG_PyObj_FromInt((int)result
);
6009 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
*resultobj
;
6011 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6013 PyObject
* obj0
= 0 ;
6015 (char *) "self", NULL
6018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
6019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 result
= (arg1
)->GetRect();
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6029 resultptr
= new wxRect((wxRect
&) result
);
6030 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
6038 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6039 PyObject
*resultobj
;
6040 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6042 PyObject
* obj0
= 0 ;
6044 (char *) "self", NULL
6047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
6048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 result
= (bool)(arg1
)->HaveRects();
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6063 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
*resultobj
;
6065 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6066 PyObject
* obj0
= 0 ;
6068 (char *) "self", NULL
6071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
6072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6077 wxPyEndAllowThreads(__tstate
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6080 Py_INCREF(Py_None
); resultobj
= Py_None
;
6087 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6088 PyObject
*resultobj
;
6089 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6090 PyObject
* obj0
= 0 ;
6092 (char *) "self", NULL
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
6096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6099 wxRegionIterator_Next(arg1
);
6101 wxPyEndAllowThreads(__tstate
);
6102 if (PyErr_Occurred()) SWIG_fail
;
6104 Py_INCREF(Py_None
); resultobj
= Py_None
;
6111 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6112 PyObject
*resultobj
;
6113 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6115 PyObject
* obj0
= 0 ;
6117 (char *) "self", NULL
6120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
6121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 result
= (bool)wxRegionIterator___nonzero__(arg1
);
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6136 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
6138 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6139 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6141 return Py_BuildValue((char *)"");
6143 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6144 PyObject
*resultobj
;
6145 wxNativeFontInfo
*result
;
6150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6153 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6155 wxPyEndAllowThreads(__tstate
);
6156 if (PyErr_Occurred()) SWIG_fail
;
6158 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 1);
6165 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6166 PyObject
*resultobj
;
6167 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6168 PyObject
* obj0
= 0 ;
6170 (char *) "self", NULL
6173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6179 wxPyEndAllowThreads(__tstate
);
6180 if (PyErr_Occurred()) SWIG_fail
;
6182 Py_INCREF(Py_None
); resultobj
= Py_None
;
6189 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6190 PyObject
*resultobj
;
6191 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6192 PyObject
* obj0
= 0 ;
6194 (char *) "self", NULL
6197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",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();
6203 wxPyEndAllowThreads(__tstate
);
6204 if (PyErr_Occurred()) SWIG_fail
;
6206 Py_INCREF(Py_None
); resultobj
= Py_None
;
6213 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
*resultobj
;
6215 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6217 PyObject
* obj0
= 0 ;
6218 PyObject
* obj1
= 0 ;
6220 (char *) "self",(char *) "font", NULL
6223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6225 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6227 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6231 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6233 wxPyEndAllowThreads(__tstate
);
6234 if (PyErr_Occurred()) SWIG_fail
;
6236 Py_INCREF(Py_None
); resultobj
= Py_None
;
6243 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6244 PyObject
*resultobj
;
6245 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6247 PyObject
* obj0
= 0 ;
6249 (char *) "self", NULL
6252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= SWIG_PyObj_FromInt((int)result
);
6268 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
;
6270 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6272 PyObject
* obj0
= 0 ;
6274 (char *) "self", NULL
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6283 wxPyEndAllowThreads(__tstate
);
6284 if (PyErr_Occurred()) SWIG_fail
;
6286 resultobj
= SWIG_PyObj_FromInt((int)result
);
6293 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6294 PyObject
*resultobj
;
6295 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6297 PyObject
* obj0
= 0 ;
6299 (char *) "self", NULL
6302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6306 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6308 wxPyEndAllowThreads(__tstate
);
6309 if (PyErr_Occurred()) SWIG_fail
;
6311 resultobj
= SWIG_PyObj_FromInt((int)result
);
6318 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6319 PyObject
*resultobj
;
6320 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6322 PyObject
* obj0
= 0 ;
6324 (char *) "self", NULL
6327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6331 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6333 wxPyEndAllowThreads(__tstate
);
6334 if (PyErr_Occurred()) SWIG_fail
;
6336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6343 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6344 PyObject
*resultobj
;
6345 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6347 PyObject
* obj0
= 0 ;
6349 (char *) "self", NULL
6352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6356 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6358 wxPyEndAllowThreads(__tstate
);
6359 if (PyErr_Occurred()) SWIG_fail
;
6363 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6365 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6374 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6375 PyObject
*resultobj
;
6376 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6378 PyObject
* obj0
= 0 ;
6380 (char *) "self", NULL
6383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6387 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6392 resultobj
= SWIG_PyObj_FromInt((int)result
);
6399 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6400 PyObject
*resultobj
;
6401 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6403 PyObject
* obj0
= 0 ;
6405 (char *) "self", NULL
6408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6414 wxPyEndAllowThreads(__tstate
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6417 resultobj
= SWIG_PyObj_FromInt((int)result
);
6424 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6425 PyObject
*resultobj
;
6426 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6428 PyObject
* obj0
= 0 ;
6429 PyObject
* obj1
= 0 ;
6431 (char *) "self",(char *) "pointsize", NULL
6434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6437 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6438 if (PyErr_Occurred()) SWIG_fail
;
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 (arg1
)->SetPointSize(arg2
);
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) SWIG_fail
;
6447 Py_INCREF(Py_None
); resultobj
= Py_None
;
6454 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6455 PyObject
*resultobj
;
6456 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6458 PyObject
* obj0
= 0 ;
6459 PyObject
* obj1
= 0 ;
6461 (char *) "self",(char *) "style", NULL
6464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6467 arg2
= (wxFontStyle
) SWIG_PyObj_AsInt(obj1
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6472 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6474 wxPyEndAllowThreads(__tstate
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6477 Py_INCREF(Py_None
); resultobj
= Py_None
;
6484 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6485 PyObject
*resultobj
;
6486 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6488 PyObject
* obj0
= 0 ;
6489 PyObject
* obj1
= 0 ;
6491 (char *) "self",(char *) "weight", NULL
6494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6497 arg2
= (wxFontWeight
) SWIG_PyObj_AsInt(obj1
);
6498 if (PyErr_Occurred()) SWIG_fail
;
6501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6502 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6504 wxPyEndAllowThreads(__tstate
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6507 Py_INCREF(Py_None
); resultobj
= Py_None
;
6514 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
*resultobj
;
6516 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6518 PyObject
* obj0
= 0 ;
6519 PyObject
* obj1
= 0 ;
6521 (char *) "self",(char *) "underlined", NULL
6524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6527 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6532 (arg1
)->SetUnderlined(arg2
);
6534 wxPyEndAllowThreads(__tstate
);
6535 if (PyErr_Occurred()) SWIG_fail
;
6537 Py_INCREF(Py_None
); resultobj
= Py_None
;
6544 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6545 PyObject
*resultobj
;
6546 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6548 PyObject
* obj0
= 0 ;
6549 PyObject
* obj1
= 0 ;
6551 (char *) "self",(char *) "facename", NULL
6554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6557 wxString
* sptr
= wxString_in_helper(obj1
);
6558 if (sptr
== NULL
) SWIG_fail
;
6563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6564 (arg1
)->SetFaceName(arg2
);
6566 wxPyEndAllowThreads(__tstate
);
6567 if (PyErr_Occurred()) SWIG_fail
;
6569 Py_INCREF(Py_None
); resultobj
= Py_None
;
6576 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6577 PyObject
*resultobj
;
6578 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6580 PyObject
* obj0
= 0 ;
6581 PyObject
* obj1
= 0 ;
6583 (char *) "self",(char *) "family", NULL
6586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6589 arg2
= (wxFontFamily
) SWIG_PyObj_AsInt(obj1
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6594 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6596 wxPyEndAllowThreads(__tstate
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6599 Py_INCREF(Py_None
); resultobj
= Py_None
;
6606 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
*resultobj
;
6608 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6610 PyObject
* obj0
= 0 ;
6611 PyObject
* obj1
= 0 ;
6613 (char *) "self",(char *) "encoding", NULL
6616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6619 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6624 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6626 wxPyEndAllowThreads(__tstate
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6629 Py_INCREF(Py_None
); resultobj
= Py_None
;
6636 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6637 PyObject
*resultobj
;
6638 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6639 wxString
*arg2
= 0 ;
6641 bool temp2
= False
;
6642 PyObject
* obj0
= 0 ;
6643 PyObject
* obj1
= 0 ;
6645 (char *) "self",(char *) "s", NULL
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6651 arg2
= wxString_in_helper(obj1
);
6652 if (arg2
== NULL
) SWIG_fail
;
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6677 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
;
6679 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6681 PyObject
* obj0
= 0 ;
6683 (char *) "self", NULL
6686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6690 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6692 wxPyEndAllowThreads(__tstate
);
6693 if (PyErr_Occurred()) SWIG_fail
;
6697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6708 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6709 PyObject
*resultobj
;
6710 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6712 PyObject
* obj0
= 0 ;
6714 (char *) "self", NULL
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6721 result
= wxNativeFontInfo___str__(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_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6740 PyObject
*resultobj
;
6741 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6742 wxString
*arg2
= 0 ;
6744 bool temp2
= False
;
6745 PyObject
* obj0
= 0 ;
6746 PyObject
* obj1
= 0 ;
6748 (char *) "self",(char *) "s", NULL
6751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6754 arg2
= wxString_in_helper(obj1
);
6755 if (arg2
== NULL
) SWIG_fail
;
6759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6760 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6762 wxPyEndAllowThreads(__tstate
);
6763 if (PyErr_Occurred()) SWIG_fail
;
6765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6780 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6781 PyObject
*resultobj
;
6782 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6784 PyObject
* obj0
= 0 ;
6786 (char *) "self", NULL
6789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6793 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6800 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6802 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6811 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6814 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6816 return Py_BuildValue((char *)"");
6818 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
*resultobj
;
6820 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6821 wxString
*arg2
= (wxString
*) 0 ;
6822 bool temp2
= False
;
6823 PyObject
* obj0
= 0 ;
6824 PyObject
* obj1
= 0 ;
6826 (char *) "self",(char *) "facename", NULL
6829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6832 arg2
= wxString_in_helper(obj1
);
6833 if (arg2
== NULL
) SWIG_fail
;
6836 if (arg1
) (arg1
)->facename
= *arg2
;
6838 Py_INCREF(Py_None
); resultobj
= Py_None
;
6853 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
*resultobj
;
6855 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6857 PyObject
* obj0
= 0 ;
6859 (char *) "self", NULL
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6864 result
= (wxString
*)& ((arg1
)->facename
);
6868 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6870 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6879 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
*resultobj
;
6881 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6883 PyObject
* obj0
= 0 ;
6884 PyObject
* obj1
= 0 ;
6886 (char *) "self",(char *) "encoding", NULL
6889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6892 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
6893 if (PyErr_Occurred()) SWIG_fail
;
6895 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6897 Py_INCREF(Py_None
); resultobj
= Py_None
;
6904 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6905 PyObject
*resultobj
;
6906 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6908 PyObject
* obj0
= 0 ;
6910 (char *) "self", NULL
6913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6915 result
= (int) ((arg1
)->encoding
);
6917 resultobj
= SWIG_PyObj_FromInt((int)result
);
6924 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6925 PyObject
*resultobj
;
6926 wxNativeEncodingInfo
*result
;
6931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6934 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6936 wxPyEndAllowThreads(__tstate
);
6937 if (PyErr_Occurred()) SWIG_fail
;
6939 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6946 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6947 PyObject
*resultobj
;
6948 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6949 PyObject
* obj0
= 0 ;
6951 (char *) "self", NULL
6954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6960 wxPyEndAllowThreads(__tstate
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6963 Py_INCREF(Py_None
); resultobj
= Py_None
;
6970 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
;
6972 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6973 wxString
*arg2
= 0 ;
6975 bool temp2
= False
;
6976 PyObject
* obj0
= 0 ;
6977 PyObject
* obj1
= 0 ;
6979 (char *) "self",(char *) "s", NULL
6982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6985 arg2
= wxString_in_helper(obj1
);
6986 if (arg2
== NULL
) SWIG_fail
;
6990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6991 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6993 wxPyEndAllowThreads(__tstate
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7011 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
*resultobj
;
7013 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7015 PyObject
* obj0
= 0 ;
7017 (char *) "self", NULL
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
7021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7031 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7033 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7042 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
7044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7045 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
7047 return Py_BuildValue((char *)"");
7049 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
*resultobj
;
7052 wxNativeEncodingInfo
*result
;
7053 PyObject
* obj0
= 0 ;
7055 (char *) "encoding", NULL
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
7060 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7065 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
7067 wxPyEndAllowThreads(__tstate
);
7068 if (PyErr_Occurred()) SWIG_fail
;
7070 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 0);
7077 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
*resultobj
;
7079 wxNativeEncodingInfo
*arg1
= 0 ;
7081 PyObject
* obj0
= 0 ;
7083 (char *) "info", NULL
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
7087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7089 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7093 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
7095 wxPyEndAllowThreads(__tstate
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7105 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
*resultobj
;
7107 wxFontMapper
*result
;
7112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 result
= (wxFontMapper
*)new wxFontMapper();
7117 wxPyEndAllowThreads(__tstate
);
7118 if (PyErr_Occurred()) SWIG_fail
;
7120 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 1);
7127 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7128 PyObject
*resultobj
;
7129 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7130 PyObject
* obj0
= 0 ;
7132 (char *) "self", NULL
7135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7144 Py_INCREF(Py_None
); resultobj
= Py_None
;
7151 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7152 PyObject
*resultobj
;
7153 wxFontMapper
*result
;
7158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7161 result
= (wxFontMapper
*)wxFontMapper::Get();
7163 wxPyEndAllowThreads(__tstate
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7166 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
7173 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7174 PyObject
*resultobj
;
7175 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7176 wxFontMapper
*result
;
7177 PyObject
* obj0
= 0 ;
7179 (char *) "mapper", NULL
7182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7186 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) SWIG_fail
;
7191 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
7198 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
*resultobj
;
7200 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7201 wxString
*arg2
= 0 ;
7202 bool arg3
= (bool) True
;
7204 bool temp2
= False
;
7205 PyObject
* obj0
= 0 ;
7206 PyObject
* obj1
= 0 ;
7207 PyObject
* obj2
= 0 ;
7209 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7215 arg2
= wxString_in_helper(obj1
);
7216 if (arg2
== NULL
) SWIG_fail
;
7221 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
7222 if (PyErr_Occurred()) SWIG_fail
;
7226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7227 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7229 wxPyEndAllowThreads(__tstate
);
7230 if (PyErr_Occurred()) SWIG_fail
;
7232 resultobj
= SWIG_PyObj_FromInt((int)result
);
7247 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
*resultobj
;
7254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7257 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7259 wxPyEndAllowThreads(__tstate
);
7260 if (PyErr_Occurred()) SWIG_fail
;
7262 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
7269 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7270 PyObject
*resultobj
;
7273 PyObject
* obj0
= 0 ;
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7280 arg1
= (size_t) SWIG_PyObj_AsUnsignedLong(obj0
);
7281 if (PyErr_Occurred()) SWIG_fail
;
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 result
= (int)wxFontMapper::GetEncoding(arg1
);
7287 wxPyEndAllowThreads(__tstate
);
7288 if (PyErr_Occurred()) SWIG_fail
;
7290 resultobj
= SWIG_PyObj_FromInt((int)result
);
7297 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7298 PyObject
*resultobj
;
7301 PyObject
* obj0
= 0 ;
7303 (char *) "encoding", NULL
7306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7308 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7313 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7315 wxPyEndAllowThreads(__tstate
);
7316 if (PyErr_Occurred()) SWIG_fail
;
7320 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7322 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7331 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
*resultobj
;
7335 PyObject
* obj0
= 0 ;
7337 (char *) "encoding", NULL
7340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7342 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7349 wxPyEndAllowThreads(__tstate
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7354 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7356 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7365 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
*resultobj
;
7367 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7368 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7369 PyObject
* obj0
= 0 ;
7370 PyObject
* obj1
= 0 ;
7372 (char *) "self",(char *) "config", NULL
7375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7377 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7380 (arg1
)->SetConfig(arg2
);
7382 wxPyEndAllowThreads(__tstate
);
7383 if (PyErr_Occurred()) SWIG_fail
;
7385 Py_INCREF(Py_None
); resultobj
= Py_None
;
7392 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7393 PyObject
*resultobj
;
7394 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7395 wxString
*arg2
= 0 ;
7396 bool temp2
= False
;
7397 PyObject
* obj0
= 0 ;
7398 PyObject
* obj1
= 0 ;
7400 (char *) "self",(char *) "prefix", NULL
7403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7406 arg2
= wxString_in_helper(obj1
);
7407 if (arg2
== NULL
) SWIG_fail
;
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7412 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 Py_INCREF(Py_None
); resultobj
= Py_None
;
7432 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7433 PyObject
*resultobj
;
7439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7442 result
= wxFontMapper::GetDefaultConfigPath();
7444 wxPyEndAllowThreads(__tstate
);
7445 if (PyErr_Occurred()) SWIG_fail
;
7449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7460 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7461 PyObject
*resultobj
;
7462 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7464 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7465 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7466 bool arg4
= (bool) True
;
7468 bool temp3
= False
;
7469 PyObject
* obj0
= 0 ;
7470 PyObject
* obj1
= 0 ;
7471 PyObject
* obj2
= 0 ;
7472 PyObject
* obj3
= 0 ;
7474 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7480 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7485 arg3
= wxString_in_helper(obj2
);
7486 if (arg3
== NULL
) SWIG_fail
;
7492 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7518 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7519 PyObject
*resultobj
;
7520 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7522 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7523 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7525 bool temp3
= False
;
7526 PyObject
* obj0
= 0 ;
7527 PyObject
* obj1
= 0 ;
7528 PyObject
* obj2
= 0 ;
7530 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7536 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7541 arg3
= wxString_in_helper(obj2
);
7542 if (arg3
== NULL
) SWIG_fail
;
7547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7548 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7550 wxPyEndAllowThreads(__tstate
);
7551 if (PyErr_Occurred()) SWIG_fail
;
7553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7568 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
*resultobj
;
7570 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7571 wxWindow
*arg2
= (wxWindow
*) 0 ;
7572 PyObject
* obj0
= 0 ;
7573 PyObject
* obj1
= 0 ;
7575 (char *) "self",(char *) "parent", NULL
7578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7580 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7583 (arg1
)->SetDialogParent(arg2
);
7585 wxPyEndAllowThreads(__tstate
);
7586 if (PyErr_Occurred()) SWIG_fail
;
7588 Py_INCREF(Py_None
); resultobj
= Py_None
;
7595 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7596 PyObject
*resultobj
;
7597 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7598 wxString
*arg2
= 0 ;
7599 bool temp2
= False
;
7600 PyObject
* obj0
= 0 ;
7601 PyObject
* obj1
= 0 ;
7603 (char *) "self",(char *) "title", NULL
7606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7609 arg2
= wxString_in_helper(obj1
);
7610 if (arg2
== NULL
) SWIG_fail
;
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7620 Py_INCREF(Py_None
); resultobj
= Py_None
;
7635 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7637 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7638 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7640 return Py_BuildValue((char *)"");
7642 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
*resultobj
;
7648 bool arg5
= (bool) False
;
7649 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7650 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7651 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7653 bool temp6
= False
;
7654 PyObject
* obj0
= 0 ;
7655 PyObject
* obj1
= 0 ;
7656 PyObject
* obj2
= 0 ;
7657 PyObject
* obj3
= 0 ;
7658 PyObject
* obj4
= 0 ;
7659 PyObject
* obj5
= 0 ;
7660 PyObject
* obj6
= 0 ;
7662 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7667 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7668 if (PyErr_Occurred()) SWIG_fail
;
7671 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7675 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7676 if (PyErr_Occurred()) SWIG_fail
;
7679 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
7680 if (PyErr_Occurred()) SWIG_fail
;
7684 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
7685 if (PyErr_Occurred()) SWIG_fail
;
7690 arg6
= wxString_in_helper(obj5
);
7691 if (arg6
== NULL
) SWIG_fail
;
7697 arg7
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj6
);
7698 if (PyErr_Occurred()) SWIG_fail
;
7702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7703 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7708 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7723 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
*resultobj
;
7725 wxFont
*arg1
= (wxFont
*) 0 ;
7726 PyObject
* obj0
= 0 ;
7728 (char *) "self", NULL
7731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7740 Py_INCREF(Py_None
); resultobj
= Py_None
;
7747 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
*resultobj
;
7749 wxNativeFontInfo
*arg1
= 0 ;
7751 PyObject
* obj0
= 0 ;
7753 (char *) "info", NULL
7756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7759 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7765 wxPyEndAllowThreads(__tstate
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7768 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7775 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7776 PyObject
*resultobj
;
7777 wxString
*arg1
= 0 ;
7779 bool temp1
= False
;
7780 PyObject
* obj0
= 0 ;
7782 (char *) "info", NULL
7785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7787 arg1
= wxString_in_helper(obj0
);
7788 if (arg1
== NULL
) SWIG_fail
;
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7795 wxPyEndAllowThreads(__tstate
);
7796 if (PyErr_Occurred()) SWIG_fail
;
7798 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7813 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
*resultobj
;
7817 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7818 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7819 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7820 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7822 bool temp4
= False
;
7823 PyObject
* obj0
= 0 ;
7824 PyObject
* obj1
= 0 ;
7825 PyObject
* obj2
= 0 ;
7826 PyObject
* obj3
= 0 ;
7827 PyObject
* obj4
= 0 ;
7829 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7834 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7835 if (PyErr_Occurred()) SWIG_fail
;
7838 arg2
= (wxFontFamily
) SWIG_PyObj_AsInt(obj1
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7843 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7849 arg4
= wxString_in_helper(obj3
);
7850 if (arg4
== NULL
) SWIG_fail
;
7856 arg5
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj4
);
7857 if (PyErr_Occurred()) SWIG_fail
;
7861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7862 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7864 wxPyEndAllowThreads(__tstate
);
7865 if (PyErr_Occurred()) SWIG_fail
;
7867 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7882 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
*resultobj
;
7884 wxFont
*arg1
= (wxFont
*) 0 ;
7886 PyObject
* obj0
= 0 ;
7888 (char *) "self", NULL
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7895 result
= (bool)((wxFont
const *)arg1
)->Ok();
7897 wxPyEndAllowThreads(__tstate
);
7898 if (PyErr_Occurred()) SWIG_fail
;
7900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7907 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7908 PyObject
*resultobj
;
7909 wxFont
*arg1
= (wxFont
*) 0 ;
7912 PyObject
* obj0
= 0 ;
7913 PyObject
* obj1
= 0 ;
7915 (char *) "self",(char *) "font", NULL
7918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7920 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7922 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7926 result
= (bool)((wxFont
const *)arg1
)->operator ==((wxFont
const &)*arg2
);
7928 wxPyEndAllowThreads(__tstate
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7938 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7939 PyObject
*resultobj
;
7940 wxFont
*arg1
= (wxFont
*) 0 ;
7943 PyObject
* obj0
= 0 ;
7944 PyObject
* obj1
= 0 ;
7946 (char *) "self",(char *) "font", NULL
7949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7951 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7953 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7957 result
= (bool)((wxFont
const *)arg1
)->operator !=((wxFont
const &)*arg2
);
7959 wxPyEndAllowThreads(__tstate
);
7960 if (PyErr_Occurred()) SWIG_fail
;
7962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7969 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7970 PyObject
*resultobj
;
7971 wxFont
*arg1
= (wxFont
*) 0 ;
7973 PyObject
* obj0
= 0 ;
7975 (char *) "self", NULL
7978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7982 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7987 resultobj
= SWIG_PyObj_FromInt((int)result
);
7994 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
*resultobj
;
7996 wxFont
*arg1
= (wxFont
*) 0 ;
7998 PyObject
* obj0
= 0 ;
8000 (char *) "self", NULL
8003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
8004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8007 result
= (int)((wxFont
const *)arg1
)->GetFamily();
8009 wxPyEndAllowThreads(__tstate
);
8010 if (PyErr_Occurred()) SWIG_fail
;
8012 resultobj
= SWIG_PyObj_FromInt((int)result
);
8019 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8020 PyObject
*resultobj
;
8021 wxFont
*arg1
= (wxFont
*) 0 ;
8023 PyObject
* obj0
= 0 ;
8025 (char *) "self", NULL
8028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
8029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8032 result
= (int)((wxFont
const *)arg1
)->GetStyle();
8034 wxPyEndAllowThreads(__tstate
);
8035 if (PyErr_Occurred()) SWIG_fail
;
8037 resultobj
= SWIG_PyObj_FromInt((int)result
);
8044 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8045 PyObject
*resultobj
;
8046 wxFont
*arg1
= (wxFont
*) 0 ;
8048 PyObject
* obj0
= 0 ;
8050 (char *) "self", NULL
8053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
8054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8057 result
= (int)((wxFont
const *)arg1
)->GetWeight();
8059 wxPyEndAllowThreads(__tstate
);
8060 if (PyErr_Occurred()) SWIG_fail
;
8062 resultobj
= SWIG_PyObj_FromInt((int)result
);
8069 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
*resultobj
;
8071 wxFont
*arg1
= (wxFont
*) 0 ;
8073 PyObject
* obj0
= 0 ;
8075 (char *) "self", NULL
8078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8082 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8084 wxPyEndAllowThreads(__tstate
);
8085 if (PyErr_Occurred()) SWIG_fail
;
8087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8094 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8095 PyObject
*resultobj
;
8096 wxFont
*arg1
= (wxFont
*) 0 ;
8098 PyObject
* obj0
= 0 ;
8100 (char *) "self", NULL
8103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8107 result
= ((wxFont
const *)arg1
)->GetFaceName();
8109 wxPyEndAllowThreads(__tstate
);
8110 if (PyErr_Occurred()) SWIG_fail
;
8114 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8116 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8125 static PyObject
*_wrap_Font_GetEncoding(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_GetEncoding",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
= (int)((wxFont
const *)arg1
)->GetEncoding();
8140 wxPyEndAllowThreads(__tstate
);
8141 if (PyErr_Occurred()) SWIG_fail
;
8143 resultobj
= SWIG_PyObj_FromInt((int)result
);
8150 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
*resultobj
;
8152 wxFont
*arg1
= (wxFont
*) 0 ;
8153 wxNativeFontInfo
*result
;
8154 PyObject
* obj0
= 0 ;
8156 (char *) "self", NULL
8159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8163 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8165 wxPyEndAllowThreads(__tstate
);
8166 if (PyErr_Occurred()) SWIG_fail
;
8168 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 0);
8175 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8176 PyObject
*resultobj
;
8177 wxFont
*arg1
= (wxFont
*) 0 ;
8179 PyObject
* obj0
= 0 ;
8181 (char *) "self", NULL
8184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8188 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8190 wxPyEndAllowThreads(__tstate
);
8191 if (PyErr_Occurred()) SWIG_fail
;
8193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8200 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8201 PyObject
*resultobj
;
8202 wxFont
*arg1
= (wxFont
*) 0 ;
8204 PyObject
* obj0
= 0 ;
8206 (char *) "self", NULL
8209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8213 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8231 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
*resultobj
;
8233 wxFont
*arg1
= (wxFont
*) 0 ;
8235 PyObject
* obj0
= 0 ;
8237 (char *) "self", NULL
8240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8244 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8246 wxPyEndAllowThreads(__tstate
);
8247 if (PyErr_Occurred()) SWIG_fail
;
8251 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8253 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8262 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8263 PyObject
*resultobj
;
8264 wxFont
*arg1
= (wxFont
*) 0 ;
8266 PyObject
* obj0
= 0 ;
8267 PyObject
* obj1
= 0 ;
8269 (char *) "self",(char *) "pointSize", NULL
8272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8275 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8276 if (PyErr_Occurred()) SWIG_fail
;
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 (arg1
)->SetPointSize(arg2
);
8282 wxPyEndAllowThreads(__tstate
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8285 Py_INCREF(Py_None
); resultobj
= Py_None
;
8292 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
*resultobj
;
8294 wxFont
*arg1
= (wxFont
*) 0 ;
8296 PyObject
* obj0
= 0 ;
8297 PyObject
* obj1
= 0 ;
8299 (char *) "self",(char *) "family", NULL
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8305 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8306 if (PyErr_Occurred()) SWIG_fail
;
8309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8310 (arg1
)->SetFamily(arg2
);
8312 wxPyEndAllowThreads(__tstate
);
8313 if (PyErr_Occurred()) SWIG_fail
;
8315 Py_INCREF(Py_None
); resultobj
= Py_None
;
8322 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8323 PyObject
*resultobj
;
8324 wxFont
*arg1
= (wxFont
*) 0 ;
8326 PyObject
* obj0
= 0 ;
8327 PyObject
* obj1
= 0 ;
8329 (char *) "self",(char *) "style", NULL
8332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8335 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8340 (arg1
)->SetStyle(arg2
);
8342 wxPyEndAllowThreads(__tstate
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8345 Py_INCREF(Py_None
); resultobj
= Py_None
;
8352 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8353 PyObject
*resultobj
;
8354 wxFont
*arg1
= (wxFont
*) 0 ;
8356 PyObject
* obj0
= 0 ;
8357 PyObject
* obj1
= 0 ;
8359 (char *) "self",(char *) "weight", NULL
8362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8365 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8370 (arg1
)->SetWeight(arg2
);
8372 wxPyEndAllowThreads(__tstate
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8375 Py_INCREF(Py_None
); resultobj
= Py_None
;
8382 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8383 PyObject
*resultobj
;
8384 wxFont
*arg1
= (wxFont
*) 0 ;
8385 wxString
*arg2
= 0 ;
8386 bool temp2
= False
;
8387 PyObject
* obj0
= 0 ;
8388 PyObject
* obj1
= 0 ;
8390 (char *) "self",(char *) "faceName", NULL
8393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8396 arg2
= wxString_in_helper(obj1
);
8397 if (arg2
== NULL
) SWIG_fail
;
8401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8402 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8404 wxPyEndAllowThreads(__tstate
);
8405 if (PyErr_Occurred()) SWIG_fail
;
8407 Py_INCREF(Py_None
); resultobj
= Py_None
;
8422 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8423 PyObject
*resultobj
;
8424 wxFont
*arg1
= (wxFont
*) 0 ;
8426 PyObject
* obj0
= 0 ;
8427 PyObject
* obj1
= 0 ;
8429 (char *) "self",(char *) "underlined", NULL
8432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8435 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8436 if (PyErr_Occurred()) SWIG_fail
;
8439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8440 (arg1
)->SetUnderlined(arg2
);
8442 wxPyEndAllowThreads(__tstate
);
8443 if (PyErr_Occurred()) SWIG_fail
;
8445 Py_INCREF(Py_None
); resultobj
= Py_None
;
8452 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8453 PyObject
*resultobj
;
8454 wxFont
*arg1
= (wxFont
*) 0 ;
8456 PyObject
* obj0
= 0 ;
8457 PyObject
* obj1
= 0 ;
8459 (char *) "self",(char *) "encoding", NULL
8462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8465 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
8466 if (PyErr_Occurred()) SWIG_fail
;
8469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8472 wxPyEndAllowThreads(__tstate
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8475 Py_INCREF(Py_None
); resultobj
= Py_None
;
8482 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8483 PyObject
*resultobj
;
8484 wxFont
*arg1
= (wxFont
*) 0 ;
8485 wxNativeFontInfo
*arg2
= 0 ;
8486 PyObject
* obj0
= 0 ;
8487 PyObject
* obj1
= 0 ;
8489 (char *) "self",(char *) "info", NULL
8492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8494 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8496 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8500 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8502 wxPyEndAllowThreads(__tstate
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8505 Py_INCREF(Py_None
); resultobj
= Py_None
;
8512 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8513 PyObject
*resultobj
;
8514 wxFont
*arg1
= (wxFont
*) 0 ;
8515 wxString
*arg2
= 0 ;
8516 bool temp2
= False
;
8517 PyObject
* obj0
= 0 ;
8518 PyObject
* obj1
= 0 ;
8520 (char *) "self",(char *) "info", NULL
8523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8526 arg2
= wxString_in_helper(obj1
);
8527 if (arg2
== NULL
) SWIG_fail
;
8531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8532 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8534 wxPyEndAllowThreads(__tstate
);
8535 if (PyErr_Occurred()) SWIG_fail
;
8537 Py_INCREF(Py_None
); resultobj
= Py_None
;
8552 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8553 PyObject
*resultobj
;
8554 wxFont
*arg1
= (wxFont
*) 0 ;
8555 wxString
*arg2
= 0 ;
8556 bool temp2
= False
;
8557 PyObject
* obj0
= 0 ;
8558 PyObject
* obj1
= 0 ;
8560 (char *) "self",(char *) "info", NULL
8563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8566 arg2
= wxString_in_helper(obj1
);
8567 if (arg2
== NULL
) SWIG_fail
;
8571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8572 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8574 wxPyEndAllowThreads(__tstate
);
8575 if (PyErr_Occurred()) SWIG_fail
;
8577 Py_INCREF(Py_None
); resultobj
= Py_None
;
8592 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8593 PyObject
*resultobj
;
8594 wxFont
*arg1
= (wxFont
*) 0 ;
8596 PyObject
* obj0
= 0 ;
8598 (char *) "self", NULL
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8605 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8607 wxPyEndAllowThreads(__tstate
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8612 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8614 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8623 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8624 PyObject
*resultobj
;
8625 wxFont
*arg1
= (wxFont
*) 0 ;
8627 PyObject
* obj0
= 0 ;
8629 (char *) "self", NULL
8632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8636 result
= ((wxFont
const *)arg1
)->GetStyleString();
8638 wxPyEndAllowThreads(__tstate
);
8639 if (PyErr_Occurred()) SWIG_fail
;
8643 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8645 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8654 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8655 PyObject
*resultobj
;
8656 wxFont
*arg1
= (wxFont
*) 0 ;
8658 PyObject
* obj0
= 0 ;
8660 (char *) "self", NULL
8663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8667 result
= ((wxFont
const *)arg1
)->GetWeightString();
8669 wxPyEndAllowThreads(__tstate
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8674 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8676 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8685 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8686 PyObject
*resultobj
;
8687 wxFont
*arg1
= (wxFont
*) 0 ;
8688 bool arg2
= (bool) True
;
8689 PyObject
* obj0
= 0 ;
8690 PyObject
* obj1
= 0 ;
8692 (char *) "self",(char *) "no", NULL
8695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8699 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8705 (arg1
)->SetNoAntiAliasing(arg2
);
8707 wxPyEndAllowThreads(__tstate
);
8708 if (PyErr_Occurred()) SWIG_fail
;
8710 Py_INCREF(Py_None
); resultobj
= Py_None
;
8717 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8718 PyObject
*resultobj
;
8719 wxFont
*arg1
= (wxFont
*) 0 ;
8721 PyObject
* obj0
= 0 ;
8723 (char *) "self", NULL
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8730 result
= (bool)(arg1
)->GetNoAntiAliasing();
8732 wxPyEndAllowThreads(__tstate
);
8733 if (PyErr_Occurred()) SWIG_fail
;
8735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8742 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8743 PyObject
*resultobj
;
8749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8752 result
= (int)wxFont::GetDefaultEncoding();
8754 wxPyEndAllowThreads(__tstate
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8757 resultobj
= SWIG_PyObj_FromInt((int)result
);
8764 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8765 PyObject
*resultobj
;
8767 PyObject
* obj0
= 0 ;
8769 (char *) "encoding", NULL
8772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8774 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8784 Py_INCREF(Py_None
); resultobj
= Py_None
;
8791 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
8793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8794 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8796 return Py_BuildValue((char *)"");
8798 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
;
8800 wxPyFontEnumerator
*result
;
8805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8808 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8810 wxPyEndAllowThreads(__tstate
);
8811 if (PyErr_Occurred()) SWIG_fail
;
8813 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFontEnumerator
, 1);
8820 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8821 PyObject
*resultobj
;
8822 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8823 PyObject
* obj0
= 0 ;
8825 (char *) "self", NULL
8828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8834 wxPyEndAllowThreads(__tstate
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8837 Py_INCREF(Py_None
); resultobj
= Py_None
;
8844 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8845 PyObject
*resultobj
;
8846 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8847 PyObject
*arg2
= (PyObject
*) 0 ;
8848 PyObject
*arg3
= (PyObject
*) 0 ;
8850 PyObject
* obj0
= 0 ;
8851 PyObject
* obj1
= 0 ;
8852 PyObject
* obj2
= 0 ;
8853 PyObject
* obj3
= 0 ;
8855 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8863 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8868 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8873 Py_INCREF(Py_None
); resultobj
= Py_None
;
8880 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
;
8882 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8883 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8884 bool arg3
= (bool) False
;
8886 PyObject
* obj0
= 0 ;
8887 PyObject
* obj1
= 0 ;
8888 PyObject
* obj2
= 0 ;
8890 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8897 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8903 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8909 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8911 wxPyEndAllowThreads(__tstate
);
8912 if (PyErr_Occurred()) SWIG_fail
;
8914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8921 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8922 PyObject
*resultobj
;
8923 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8924 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8925 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8927 bool temp2
= False
;
8928 PyObject
* obj0
= 0 ;
8929 PyObject
* obj1
= 0 ;
8931 (char *) "self",(char *) "facename", NULL
8934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8938 arg2
= wxString_in_helper(obj1
);
8939 if (arg2
== NULL
) SWIG_fail
;
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8965 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8966 PyObject
*resultobj
;
8967 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8969 PyObject
* obj0
= 0 ;
8971 (char *) "self", NULL
8974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8978 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8980 wxPyEndAllowThreads(__tstate
);
8981 if (PyErr_Occurred()) SWIG_fail
;
8990 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8991 PyObject
*resultobj
;
8992 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8994 PyObject
* obj0
= 0 ;
8996 (char *) "self", NULL
8999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
9000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
9005 wxPyEndAllowThreads(__tstate
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9015 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
9017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9018 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
9020 return Py_BuildValue((char *)"");
9022 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9023 PyObject
*resultobj
;
9024 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9026 PyObject
* obj0
= 0 ;
9027 PyObject
* obj1
= 0 ;
9029 (char *) "self",(char *) "Language", NULL
9032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9035 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9038 if (arg1
) (arg1
)->Language
= arg2
;
9040 Py_INCREF(Py_None
); resultobj
= Py_None
;
9047 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9048 PyObject
*resultobj
;
9049 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9051 PyObject
* obj0
= 0 ;
9053 (char *) "self", NULL
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9058 result
= (int) ((arg1
)->Language
);
9060 resultobj
= SWIG_PyObj_FromInt((int)result
);
9067 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9068 PyObject
*resultobj
;
9069 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9070 wxString
*arg2
= (wxString
*) 0 ;
9071 bool temp2
= False
;
9072 PyObject
* obj0
= 0 ;
9073 PyObject
* obj1
= 0 ;
9075 (char *) "self",(char *) "CanonicalName", NULL
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9081 arg2
= wxString_in_helper(obj1
);
9082 if (arg2
== NULL
) SWIG_fail
;
9085 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9087 Py_INCREF(Py_None
); resultobj
= Py_None
;
9102 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
*resultobj
;
9104 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9106 PyObject
* obj0
= 0 ;
9108 (char *) "self", NULL
9111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9113 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9117 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9119 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9128 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
*resultobj
;
9130 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9131 wxString
*arg2
= (wxString
*) 0 ;
9132 bool temp2
= False
;
9133 PyObject
* obj0
= 0 ;
9134 PyObject
* obj1
= 0 ;
9136 (char *) "self",(char *) "Description", NULL
9139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9142 arg2
= wxString_in_helper(obj1
);
9143 if (arg2
== NULL
) SWIG_fail
;
9146 if (arg1
) (arg1
)->Description
= *arg2
;
9148 Py_INCREF(Py_None
); resultobj
= Py_None
;
9163 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9164 PyObject
*resultobj
;
9165 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9167 PyObject
* obj0
= 0 ;
9169 (char *) "self", NULL
9172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9174 result
= (wxString
*)& ((arg1
)->Description
);
9178 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9180 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9189 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
9191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9192 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9194 return Py_BuildValue((char *)"");
9196 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
*resultobj
;
9198 int arg1
= (int) wxLANGUAGE_DEFAULT
;
9199 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9201 PyObject
* obj0
= 0 ;
9202 PyObject
* obj1
= 0 ;
9204 (char *) "language",(char *) "flags", NULL
9207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9210 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9211 if (PyErr_Occurred()) SWIG_fail
;
9216 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9227 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLocale
, 1);
9234 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
;
9236 wxLocale
*arg1
= (wxLocale
*) 0 ;
9237 PyObject
* obj0
= 0 ;
9239 (char *) "self", NULL
9242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 wxPyEndAllowThreads(__tstate
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9251 Py_INCREF(Py_None
); resultobj
= Py_None
;
9258 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9259 PyObject
*resultobj
;
9260 wxLocale
*arg1
= (wxLocale
*) 0 ;
9261 wxString
*arg2
= 0 ;
9262 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9263 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9264 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9265 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9266 bool arg5
= (bool) True
;
9267 bool arg6
= (bool) False
;
9269 bool temp2
= False
;
9270 bool temp3
= False
;
9271 bool temp4
= False
;
9272 PyObject
* obj0
= 0 ;
9273 PyObject
* obj1
= 0 ;
9274 PyObject
* obj2
= 0 ;
9275 PyObject
* obj3
= 0 ;
9276 PyObject
* obj4
= 0 ;
9277 PyObject
* obj5
= 0 ;
9279 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9285 arg2
= wxString_in_helper(obj1
);
9286 if (arg2
== NULL
) SWIG_fail
;
9291 arg3
= wxString_in_helper(obj2
);
9292 if (arg3
== NULL
) SWIG_fail
;
9298 arg4
= wxString_in_helper(obj3
);
9299 if (arg4
== NULL
) SWIG_fail
;
9305 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9311 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9353 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9354 PyObject
*resultobj
;
9355 wxLocale
*arg1
= (wxLocale
*) 0 ;
9356 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9357 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9359 PyObject
* obj0
= 0 ;
9360 PyObject
* obj1
= 0 ;
9361 PyObject
* obj2
= 0 ;
9363 (char *) "self",(char *) "language",(char *) "flags", NULL
9366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9370 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9371 if (PyErr_Occurred()) SWIG_fail
;
9376 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9384 wxPyEndAllowThreads(__tstate
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9394 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9395 PyObject
*resultobj
;
9401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 result
= (int)wxLocale::GetSystemLanguage();
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9409 resultobj
= SWIG_PyObj_FromInt((int)result
);
9416 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
*resultobj
;
9423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 result
= (int)wxLocale::GetSystemEncoding();
9428 wxPyEndAllowThreads(__tstate
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= SWIG_PyObj_FromInt((int)result
);
9438 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
;
9445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9448 result
= wxLocale::GetSystemEncodingName();
9450 wxPyEndAllowThreads(__tstate
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9466 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
*resultobj
;
9468 wxLocale
*arg1
= (wxLocale
*) 0 ;
9470 PyObject
* obj0
= 0 ;
9472 (char *) "self", NULL
9475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9479 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9481 wxPyEndAllowThreads(__tstate
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9491 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9492 PyObject
*resultobj
;
9493 wxLocale
*arg1
= (wxLocale
*) 0 ;
9495 PyObject
* obj0
= 0 ;
9497 (char *) "self", NULL
9500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9504 result
= ((wxLocale
const *)arg1
)->GetLocale();
9506 wxPyEndAllowThreads(__tstate
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9511 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9513 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9522 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9523 PyObject
*resultobj
;
9524 wxLocale
*arg1
= (wxLocale
*) 0 ;
9526 PyObject
* obj0
= 0 ;
9528 (char *) "self", NULL
9531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9537 wxPyEndAllowThreads(__tstate
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9540 resultobj
= SWIG_PyObj_FromInt((int)result
);
9547 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9548 PyObject
*resultobj
;
9549 wxLocale
*arg1
= (wxLocale
*) 0 ;
9551 PyObject
* obj0
= 0 ;
9553 (char *) "self", NULL
9556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9560 result
= ((wxLocale
const *)arg1
)->GetSysName();
9562 wxPyEndAllowThreads(__tstate
);
9563 if (PyErr_Occurred()) SWIG_fail
;
9567 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9569 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9578 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9579 PyObject
*resultobj
;
9580 wxLocale
*arg1
= (wxLocale
*) 0 ;
9582 PyObject
* obj0
= 0 ;
9584 (char *) "self", NULL
9587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9593 wxPyEndAllowThreads(__tstate
);
9594 if (PyErr_Occurred()) SWIG_fail
;
9598 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9600 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9609 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9610 PyObject
*resultobj
;
9611 wxString
*arg1
= 0 ;
9612 bool temp1
= False
;
9613 PyObject
* obj0
= 0 ;
9615 (char *) "prefix", NULL
9618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9620 arg1
= wxString_in_helper(obj0
);
9621 if (arg1
== NULL
) SWIG_fail
;
9625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9626 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9628 wxPyEndAllowThreads(__tstate
);
9629 if (PyErr_Occurred()) SWIG_fail
;
9631 Py_INCREF(Py_None
); resultobj
= Py_None
;
9646 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9647 PyObject
*resultobj
;
9648 wxLocale
*arg1
= (wxLocale
*) 0 ;
9649 wxString
*arg2
= 0 ;
9651 bool temp2
= False
;
9652 PyObject
* obj0
= 0 ;
9653 PyObject
* obj1
= 0 ;
9655 (char *) "self",(char *) "szDomain", NULL
9658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9661 arg2
= wxString_in_helper(obj1
);
9662 if (arg2
== NULL
) SWIG_fail
;
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9687 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9688 PyObject
*resultobj
;
9689 wxLocale
*arg1
= (wxLocale
*) 0 ;
9690 wxString
*arg2
= 0 ;
9692 bool temp2
= False
;
9693 PyObject
* obj0
= 0 ;
9694 PyObject
* obj1
= 0 ;
9696 (char *) "self",(char *) "szDomain", NULL
9699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9702 arg2
= wxString_in_helper(obj1
);
9703 if (arg2
== NULL
) SWIG_fail
;
9707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9708 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9710 wxPyEndAllowThreads(__tstate
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9728 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9729 PyObject
*resultobj
;
9731 wxLanguageInfo
*result
;
9732 PyObject
* obj0
= 0 ;
9734 (char *) "lang", NULL
9737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9739 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9740 if (PyErr_Occurred()) SWIG_fail
;
9743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9744 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9746 wxPyEndAllowThreads(__tstate
);
9747 if (PyErr_Occurred()) SWIG_fail
;
9749 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLanguageInfo
, 0);
9756 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9757 PyObject
*resultobj
;
9760 PyObject
* obj0
= 0 ;
9762 (char *) "lang", NULL
9765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9767 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9772 result
= wxLocale::GetLanguageName(arg1
);
9774 wxPyEndAllowThreads(__tstate
);
9775 if (PyErr_Occurred()) SWIG_fail
;
9779 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9781 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9790 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9791 PyObject
*resultobj
;
9792 wxString
*arg1
= 0 ;
9793 wxLanguageInfo
*result
;
9794 bool temp1
= False
;
9795 PyObject
* obj0
= 0 ;
9797 (char *) "locale", NULL
9800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9802 arg1
= wxString_in_helper(obj0
);
9803 if (arg1
== NULL
) SWIG_fail
;
9807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9808 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9810 wxPyEndAllowThreads(__tstate
);
9811 if (PyErr_Occurred()) SWIG_fail
;
9813 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLanguageInfo
, 0);
9828 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
*resultobj
;
9830 wxLanguageInfo
*arg1
= 0 ;
9831 PyObject
* obj0
= 0 ;
9833 (char *) "info", NULL
9836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9839 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9843 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9845 wxPyEndAllowThreads(__tstate
);
9846 if (PyErr_Occurred()) SWIG_fail
;
9848 Py_INCREF(Py_None
); resultobj
= Py_None
;
9855 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
*resultobj
;
9857 wxLocale
*arg1
= (wxLocale
*) 0 ;
9858 wxString
*arg2
= 0 ;
9859 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9860 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9862 bool temp2
= False
;
9863 bool temp3
= False
;
9864 PyObject
* obj0
= 0 ;
9865 PyObject
* obj1
= 0 ;
9866 PyObject
* obj2
= 0 ;
9868 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9874 arg2
= wxString_in_helper(obj1
);
9875 if (arg2
== NULL
) SWIG_fail
;
9880 arg3
= wxString_in_helper(obj2
);
9881 if (arg3
== NULL
) SWIG_fail
;
9886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9887 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9889 wxPyEndAllowThreads(__tstate
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9894 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9896 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9921 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
;
9923 wxLocale
*arg1
= (wxLocale
*) 0 ;
9925 PyObject
* obj0
= 0 ;
9927 (char *) "self", NULL
9930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9935 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9936 result
= (wxString
*) &_result_ref
;
9939 wxPyEndAllowThreads(__tstate
);
9940 if (PyErr_Occurred()) SWIG_fail
;
9944 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9946 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9955 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
9957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9958 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9960 return Py_BuildValue((char *)"");
9962 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9963 PyObject
*resultobj
;
9969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 result
= (wxLocale
*)wxGetLocale();
9974 wxPyEndAllowThreads(__tstate
);
9975 if (PyErr_Occurred()) SWIG_fail
;
9977 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLocale
, 0);
9984 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
9985 PyObject
*resultobj
;
9986 wxString
*arg1
= 0 ;
9988 bool temp1
= False
;
9989 PyObject
* obj0
= 0 ;
9991 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9993 arg1
= wxString_in_helper(obj0
);
9994 if (arg1
== NULL
) SWIG_fail
;
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 result
= wxGetTranslation((wxString
const &)*arg1
);
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10006 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10008 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10025 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
10026 PyObject
*resultobj
;
10027 wxString
*arg1
= 0 ;
10028 wxString
*arg2
= 0 ;
10031 bool temp1
= False
;
10032 bool temp2
= False
;
10033 PyObject
* obj0
= 0 ;
10034 PyObject
* obj1
= 0 ;
10035 PyObject
* obj2
= 0 ;
10037 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
10039 arg1
= wxString_in_helper(obj0
);
10040 if (arg1
== NULL
) SWIG_fail
;
10044 arg2
= wxString_in_helper(obj1
);
10045 if (arg2
== NULL
) SWIG_fail
;
10049 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
10050 if (PyErr_Occurred()) SWIG_fail
;
10053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10054 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10088 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10093 argc
= PyObject_Length(args
);
10094 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10095 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10100 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10103 return _wrap_GetTranslation__SWIG_0(self
,args
);
10109 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10113 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10117 SWIG_PyObj_AsUnsignedLong(argv
[2]);
10118 if (PyErr_Occurred()) {
10126 return _wrap_GetTranslation__SWIG_1(self
,args
);
10132 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10137 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10138 PyObject
*resultobj
;
10139 wxEncodingConverter
*result
;
10140 char *kwnames
[] = {
10144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10152 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEncodingConverter
, 1);
10159 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
*resultobj
;
10161 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10162 PyObject
* obj0
= 0 ;
10163 char *kwnames
[] = {
10164 (char *) "self", NULL
10167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10176 Py_INCREF(Py_None
); resultobj
= Py_None
;
10183 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10184 PyObject
*resultobj
;
10185 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10188 int arg4
= (int) wxCONVERT_STRICT
;
10190 PyObject
* obj0
= 0 ;
10191 PyObject
* obj1
= 0 ;
10192 PyObject
* obj2
= 0 ;
10193 PyObject
* obj3
= 0 ;
10194 char *kwnames
[] = {
10195 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10201 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10205 arg3
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj2
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10210 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10228 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
*resultobj
;
10230 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10231 wxString
*arg2
= 0 ;
10233 bool temp2
= False
;
10234 PyObject
* obj0
= 0 ;
10235 PyObject
* obj1
= 0 ;
10236 char *kwnames
[] = {
10237 (char *) "self",(char *) "input", NULL
10240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10243 arg2
= wxString_in_helper(obj1
);
10244 if (arg2
== NULL
) SWIG_fail
;
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10275 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10276 PyObject
*resultobj
;
10278 int arg2
= (int) wxPLATFORM_CURRENT
;
10279 wxFontEncodingArray result
;
10280 PyObject
* obj0
= 0 ;
10281 PyObject
* obj1
= 0 ;
10282 char *kwnames
[] = {
10283 (char *) "enc",(char *) "platform", NULL
10286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10288 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10293 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10294 if (PyErr_Occurred()) SWIG_fail
;
10298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10299 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10301 wxPyEndAllowThreads(__tstate
);
10302 if (PyErr_Occurred()) SWIG_fail
;
10305 resultobj
= PyList_New(0);
10306 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10307 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10308 PyList_Append(resultobj
, number
);
10318 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10319 PyObject
*resultobj
;
10321 wxFontEncodingArray result
;
10322 PyObject
* obj0
= 0 ;
10323 char *kwnames
[] = {
10324 (char *) "enc", NULL
10327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10329 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10334 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10336 wxPyEndAllowThreads(__tstate
);
10337 if (PyErr_Occurred()) SWIG_fail
;
10340 resultobj
= PyList_New(0);
10341 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10342 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10343 PyList_Append(resultobj
, number
);
10353 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10354 PyObject
*resultobj
;
10358 PyObject
* obj0
= 0 ;
10359 PyObject
* obj1
= 0 ;
10360 char *kwnames
[] = {
10361 (char *) "encIn",(char *) "encOut", NULL
10364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10366 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10370 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
10371 if (PyErr_Occurred()) SWIG_fail
;
10374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10375 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10377 wxPyEndAllowThreads(__tstate
);
10378 if (PyErr_Occurred()) SWIG_fail
;
10380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10387 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10390 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10392 return Py_BuildValue((char *)"");
10394 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10395 PyObject
*resultobj
;
10396 wxDC
*arg1
= (wxDC
*) 0 ;
10397 PyObject
* obj0
= 0 ;
10398 char *kwnames
[] = {
10399 (char *) "self", NULL
10402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10411 Py_INCREF(Py_None
); resultobj
= Py_None
;
10418 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
;
10420 wxDC
*arg1
= (wxDC
*) 0 ;
10421 PyObject
* obj0
= 0 ;
10422 char *kwnames
[] = {
10423 (char *) "self", NULL
10426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10430 (arg1
)->BeginDrawing();
10432 wxPyEndAllowThreads(__tstate
);
10433 if (PyErr_Occurred()) SWIG_fail
;
10435 Py_INCREF(Py_None
); resultobj
= Py_None
;
10442 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10443 PyObject
*resultobj
;
10444 wxDC
*arg1
= (wxDC
*) 0 ;
10445 PyObject
* obj0
= 0 ;
10446 char *kwnames
[] = {
10447 (char *) "self", NULL
10450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 (arg1
)->EndDrawing();
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10459 Py_INCREF(Py_None
); resultobj
= Py_None
;
10466 static PyObject
*_wrap_DC_FloodFillXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10467 PyObject
*resultobj
;
10468 wxDC
*arg1
= (wxDC
*) 0 ;
10471 wxColour
*arg4
= 0 ;
10472 int arg5
= (int) wxFLOOD_SURFACE
;
10475 PyObject
* obj0
= 0 ;
10476 PyObject
* obj1
= 0 ;
10477 PyObject
* obj2
= 0 ;
10478 PyObject
* obj3
= 0 ;
10479 PyObject
* obj4
= 0 ;
10480 char *kwnames
[] = {
10481 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFillXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10487 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10491 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10492 if (PyErr_Occurred()) SWIG_fail
;
10496 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10500 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10501 if (PyErr_Occurred()) SWIG_fail
;
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10518 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10519 PyObject
*resultobj
;
10520 wxDC
*arg1
= (wxDC
*) 0 ;
10521 wxPoint
*arg2
= 0 ;
10522 wxColour
*arg3
= 0 ;
10523 int arg4
= (int) wxFLOOD_SURFACE
;
10527 PyObject
* obj0
= 0 ;
10528 PyObject
* obj1
= 0 ;
10529 PyObject
* obj2
= 0 ;
10530 PyObject
* obj3
= 0 ;
10531 char *kwnames
[] = {
10532 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10539 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10543 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10547 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10553 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10555 wxPyEndAllowThreads(__tstate
);
10556 if (PyErr_Occurred()) SWIG_fail
;
10558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10565 static PyObject
*_wrap_DC_GetPixelXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10566 PyObject
*resultobj
;
10567 wxDC
*arg1
= (wxDC
*) 0 ;
10571 PyObject
* obj0
= 0 ;
10572 PyObject
* obj1
= 0 ;
10573 PyObject
* obj2
= 0 ;
10574 char *kwnames
[] = {
10575 (char *) "self",(char *) "x",(char *) "y", NULL
10578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixelXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10581 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10585 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 result
= wxDC_GetPixelXY(arg1
,arg2
,arg3
);
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10596 wxColour
* resultptr
;
10597 resultptr
= new wxColour((wxColour
&) result
);
10598 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10606 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
;
10608 wxDC
*arg1
= (wxDC
*) 0 ;
10609 wxPoint
*arg2
= 0 ;
10612 PyObject
* obj0
= 0 ;
10613 PyObject
* obj1
= 0 ;
10614 char *kwnames
[] = {
10615 (char *) "self",(char *) "pt", NULL
10618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
;
10619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10622 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10626 result
= wxDC_GetPixel(arg1
,(wxPoint
const &)*arg2
);
10628 wxPyEndAllowThreads(__tstate
);
10629 if (PyErr_Occurred()) SWIG_fail
;
10632 wxColour
* resultptr
;
10633 resultptr
= new wxColour((wxColour
&) result
);
10634 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10642 static PyObject
*_wrap_DC_DrawLineXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10643 PyObject
*resultobj
;
10644 wxDC
*arg1
= (wxDC
*) 0 ;
10649 PyObject
* obj0
= 0 ;
10650 PyObject
* obj1
= 0 ;
10651 PyObject
* obj2
= 0 ;
10652 PyObject
* obj3
= 0 ;
10653 PyObject
* obj4
= 0 ;
10654 char *kwnames
[] = {
10655 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLineXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10661 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10665 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10666 if (PyErr_Occurred()) SWIG_fail
;
10669 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10673 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10683 Py_INCREF(Py_None
); resultobj
= Py_None
;
10690 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10691 PyObject
*resultobj
;
10692 wxDC
*arg1
= (wxDC
*) 0 ;
10693 wxPoint
*arg2
= 0 ;
10694 wxPoint
*arg3
= 0 ;
10697 PyObject
* obj0
= 0 ;
10698 PyObject
* obj1
= 0 ;
10699 PyObject
* obj2
= 0 ;
10700 char *kwnames
[] = {
10701 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10708 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10712 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10716 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10718 wxPyEndAllowThreads(__tstate
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10721 Py_INCREF(Py_None
); resultobj
= Py_None
;
10728 static PyObject
*_wrap_DC_CrossHairXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10729 PyObject
*resultobj
;
10730 wxDC
*arg1
= (wxDC
*) 0 ;
10733 PyObject
* obj0
= 0 ;
10734 PyObject
* obj1
= 0 ;
10735 PyObject
* obj2
= 0 ;
10736 char *kwnames
[] = {
10737 (char *) "self",(char *) "x",(char *) "y", NULL
10740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHairXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10743 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10747 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10748 if (PyErr_Occurred()) SWIG_fail
;
10751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10752 (arg1
)->CrossHair(arg2
,arg3
);
10754 wxPyEndAllowThreads(__tstate
);
10755 if (PyErr_Occurred()) SWIG_fail
;
10757 Py_INCREF(Py_None
); resultobj
= Py_None
;
10764 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10765 PyObject
*resultobj
;
10766 wxDC
*arg1
= (wxDC
*) 0 ;
10767 wxPoint
*arg2
= 0 ;
10769 PyObject
* obj0
= 0 ;
10770 PyObject
* obj1
= 0 ;
10771 char *kwnames
[] = {
10772 (char *) "self",(char *) "pt", NULL
10775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
;
10776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10779 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10783 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10785 wxPyEndAllowThreads(__tstate
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10788 Py_INCREF(Py_None
); resultobj
= Py_None
;
10795 static PyObject
*_wrap_DC_DrawArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10796 PyObject
*resultobj
;
10797 wxDC
*arg1
= (wxDC
*) 0 ;
10804 PyObject
* obj0
= 0 ;
10805 PyObject
* obj1
= 0 ;
10806 PyObject
* obj2
= 0 ;
10807 PyObject
* obj3
= 0 ;
10808 PyObject
* obj4
= 0 ;
10809 PyObject
* obj5
= 0 ;
10810 PyObject
* obj6
= 0 ;
10811 char *kwnames
[] = {
10812 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10818 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10819 if (PyErr_Occurred()) SWIG_fail
;
10822 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10826 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10827 if (PyErr_Occurred()) SWIG_fail
;
10830 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10831 if (PyErr_Occurred()) SWIG_fail
;
10834 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
10835 if (PyErr_Occurred()) SWIG_fail
;
10838 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10839 if (PyErr_Occurred()) SWIG_fail
;
10842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10843 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10845 wxPyEndAllowThreads(__tstate
);
10846 if (PyErr_Occurred()) SWIG_fail
;
10848 Py_INCREF(Py_None
); resultobj
= Py_None
;
10855 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10856 PyObject
*resultobj
;
10857 wxDC
*arg1
= (wxDC
*) 0 ;
10858 wxPoint
*arg2
= 0 ;
10859 wxPoint
*arg3
= 0 ;
10860 wxPoint
*arg4
= 0 ;
10864 PyObject
* obj0
= 0 ;
10865 PyObject
* obj1
= 0 ;
10866 PyObject
* obj2
= 0 ;
10867 PyObject
* obj3
= 0 ;
10868 char *kwnames
[] = {
10869 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10876 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10880 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10884 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10888 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10890 wxPyEndAllowThreads(__tstate
);
10891 if (PyErr_Occurred()) SWIG_fail
;
10893 Py_INCREF(Py_None
); resultobj
= Py_None
;
10900 static PyObject
*_wrap_DC_DrawCheckMarkXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10901 PyObject
*resultobj
;
10902 wxDC
*arg1
= (wxDC
*) 0 ;
10907 PyObject
* obj0
= 0 ;
10908 PyObject
* obj1
= 0 ;
10909 PyObject
* obj2
= 0 ;
10910 PyObject
* obj3
= 0 ;
10911 PyObject
* obj4
= 0 ;
10912 char *kwnames
[] = {
10913 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMarkXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10919 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10923 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10927 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10931 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10938 wxPyEndAllowThreads(__tstate
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10941 Py_INCREF(Py_None
); resultobj
= Py_None
;
10948 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10949 PyObject
*resultobj
;
10950 wxDC
*arg1
= (wxDC
*) 0 ;
10953 PyObject
* obj0
= 0 ;
10954 PyObject
* obj1
= 0 ;
10955 char *kwnames
[] = {
10956 (char *) "self",(char *) "rect", NULL
10959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
;
10960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10963 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10967 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10969 wxPyEndAllowThreads(__tstate
);
10970 if (PyErr_Occurred()) SWIG_fail
;
10972 Py_INCREF(Py_None
); resultobj
= Py_None
;
10979 static PyObject
*_wrap_DC_DrawEllipticArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10980 PyObject
*resultobj
;
10981 wxDC
*arg1
= (wxDC
*) 0 ;
10988 PyObject
* obj0
= 0 ;
10989 PyObject
* obj1
= 0 ;
10990 PyObject
* obj2
= 0 ;
10991 PyObject
* obj3
= 0 ;
10992 PyObject
* obj4
= 0 ;
10993 PyObject
* obj5
= 0 ;
10994 PyObject
* obj6
= 0 ;
10995 char *kwnames
[] = {
10996 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11002 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11006 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11010 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11011 if (PyErr_Occurred()) SWIG_fail
;
11014 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11018 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
11019 if (PyErr_Occurred()) SWIG_fail
;
11022 arg7
= (double) SWIG_PyObj_AsDouble(obj6
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11032 Py_INCREF(Py_None
); resultobj
= Py_None
;
11039 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11040 PyObject
*resultobj
;
11041 wxDC
*arg1
= (wxDC
*) 0 ;
11042 wxPoint
*arg2
= 0 ;
11048 PyObject
* obj0
= 0 ;
11049 PyObject
* obj1
= 0 ;
11050 PyObject
* obj2
= 0 ;
11051 PyObject
* obj3
= 0 ;
11052 PyObject
* obj4
= 0 ;
11053 char *kwnames
[] = {
11054 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
11057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11061 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11065 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11068 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
11069 if (PyErr_Occurred()) SWIG_fail
;
11072 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11077 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
11079 wxPyEndAllowThreads(__tstate
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11082 Py_INCREF(Py_None
); resultobj
= Py_None
;
11089 static PyObject
*_wrap_DC_DrawPointXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11090 PyObject
*resultobj
;
11091 wxDC
*arg1
= (wxDC
*) 0 ;
11094 PyObject
* obj0
= 0 ;
11095 PyObject
* obj1
= 0 ;
11096 PyObject
* obj2
= 0 ;
11097 char *kwnames
[] = {
11098 (char *) "self",(char *) "x",(char *) "y", NULL
11101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPointXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11104 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11108 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11109 if (PyErr_Occurred()) SWIG_fail
;
11112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11113 (arg1
)->DrawPoint(arg2
,arg3
);
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11118 Py_INCREF(Py_None
); resultobj
= Py_None
;
11125 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11126 PyObject
*resultobj
;
11127 wxDC
*arg1
= (wxDC
*) 0 ;
11128 wxPoint
*arg2
= 0 ;
11130 PyObject
* obj0
= 0 ;
11131 PyObject
* obj1
= 0 ;
11132 char *kwnames
[] = {
11133 (char *) "self",(char *) "pt", NULL
11136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11140 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11144 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11146 wxPyEndAllowThreads(__tstate
);
11147 if (PyErr_Occurred()) SWIG_fail
;
11149 Py_INCREF(Py_None
); resultobj
= Py_None
;
11156 static PyObject
*_wrap_DC_DrawRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11157 PyObject
*resultobj
;
11158 wxDC
*arg1
= (wxDC
*) 0 ;
11163 PyObject
* obj0
= 0 ;
11164 PyObject
* obj1
= 0 ;
11165 PyObject
* obj2
= 0 ;
11166 PyObject
* obj3
= 0 ;
11167 PyObject
* obj4
= 0 ;
11168 char *kwnames
[] = {
11169 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11175 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11179 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11180 if (PyErr_Occurred()) SWIG_fail
;
11183 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11187 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11192 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11194 wxPyEndAllowThreads(__tstate
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11197 Py_INCREF(Py_None
); resultobj
= Py_None
;
11204 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11205 PyObject
*resultobj
;
11206 wxDC
*arg1
= (wxDC
*) 0 ;
11207 wxPoint
*arg2
= 0 ;
11211 PyObject
* obj0
= 0 ;
11212 PyObject
* obj1
= 0 ;
11213 PyObject
* obj2
= 0 ;
11214 char *kwnames
[] = {
11215 (char *) "self",(char *) "pt",(char *) "sz", NULL
11218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11222 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11226 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11230 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11232 wxPyEndAllowThreads(__tstate
);
11233 if (PyErr_Occurred()) SWIG_fail
;
11235 Py_INCREF(Py_None
); resultobj
= Py_None
;
11242 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11243 PyObject
*resultobj
;
11244 wxDC
*arg1
= (wxDC
*) 0 ;
11247 PyObject
* obj0
= 0 ;
11248 PyObject
* obj1
= 0 ;
11249 char *kwnames
[] = {
11250 (char *) "self",(char *) "rect", NULL
11253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11257 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11261 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11263 wxPyEndAllowThreads(__tstate
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11266 Py_INCREF(Py_None
); resultobj
= Py_None
;
11273 static PyObject
*_wrap_DC_DrawRoundedRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11274 PyObject
*resultobj
;
11275 wxDC
*arg1
= (wxDC
*) 0 ;
11281 PyObject
* obj0
= 0 ;
11282 PyObject
* obj1
= 0 ;
11283 PyObject
* obj2
= 0 ;
11284 PyObject
* obj3
= 0 ;
11285 PyObject
* obj4
= 0 ;
11286 PyObject
* obj5
= 0 ;
11287 char *kwnames
[] = {
11288 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11294 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11295 if (PyErr_Occurred()) SWIG_fail
;
11298 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11299 if (PyErr_Occurred()) SWIG_fail
;
11302 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11306 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11307 if (PyErr_Occurred()) SWIG_fail
;
11310 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11315 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11320 Py_INCREF(Py_None
); resultobj
= Py_None
;
11327 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11328 PyObject
*resultobj
;
11329 wxDC
*arg1
= (wxDC
*) 0 ;
11330 wxPoint
*arg2
= 0 ;
11335 PyObject
* obj0
= 0 ;
11336 PyObject
* obj1
= 0 ;
11337 PyObject
* obj2
= 0 ;
11338 PyObject
* obj3
= 0 ;
11339 char *kwnames
[] = {
11340 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11347 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11351 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11354 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11359 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11361 wxPyEndAllowThreads(__tstate
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11364 Py_INCREF(Py_None
); resultobj
= Py_None
;
11371 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11372 PyObject
*resultobj
;
11373 wxDC
*arg1
= (wxDC
*) 0 ;
11377 PyObject
* obj0
= 0 ;
11378 PyObject
* obj1
= 0 ;
11379 PyObject
* obj2
= 0 ;
11380 char *kwnames
[] = {
11381 (char *) "self",(char *) "r",(char *) "radius", NULL
11384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11388 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11391 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11396 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11398 wxPyEndAllowThreads(__tstate
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11401 Py_INCREF(Py_None
); resultobj
= Py_None
;
11408 static PyObject
*_wrap_DC_DrawCircleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11409 PyObject
*resultobj
;
11410 wxDC
*arg1
= (wxDC
*) 0 ;
11414 PyObject
* obj0
= 0 ;
11415 PyObject
* obj1
= 0 ;
11416 PyObject
* obj2
= 0 ;
11417 PyObject
* obj3
= 0 ;
11418 char *kwnames
[] = {
11419 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11425 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11426 if (PyErr_Occurred()) SWIG_fail
;
11429 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11430 if (PyErr_Occurred()) SWIG_fail
;
11433 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 Py_INCREF(Py_None
); resultobj
= Py_None
;
11450 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11451 PyObject
*resultobj
;
11452 wxDC
*arg1
= (wxDC
*) 0 ;
11453 wxPoint
*arg2
= 0 ;
11456 PyObject
* obj0
= 0 ;
11457 PyObject
* obj1
= 0 ;
11458 PyObject
* obj2
= 0 ;
11459 char *kwnames
[] = {
11460 (char *) "self",(char *) "pt",(char *) "radius", NULL
11463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11467 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11470 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11475 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11477 wxPyEndAllowThreads(__tstate
);
11478 if (PyErr_Occurred()) SWIG_fail
;
11480 Py_INCREF(Py_None
); resultobj
= Py_None
;
11487 static PyObject
*_wrap_DC_DrawEllipseXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11488 PyObject
*resultobj
;
11489 wxDC
*arg1
= (wxDC
*) 0 ;
11494 PyObject
* obj0
= 0 ;
11495 PyObject
* obj1
= 0 ;
11496 PyObject
* obj2
= 0 ;
11497 PyObject
* obj3
= 0 ;
11498 PyObject
* obj4
= 0 ;
11499 char *kwnames
[] = {
11500 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipseXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11506 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11510 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11511 if (PyErr_Occurred()) SWIG_fail
;
11514 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11515 if (PyErr_Occurred()) SWIG_fail
;
11518 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11523 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11525 wxPyEndAllowThreads(__tstate
);
11526 if (PyErr_Occurred()) SWIG_fail
;
11528 Py_INCREF(Py_None
); resultobj
= Py_None
;
11535 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11536 PyObject
*resultobj
;
11537 wxDC
*arg1
= (wxDC
*) 0 ;
11538 wxPoint
*arg2
= 0 ;
11542 PyObject
* obj0
= 0 ;
11543 PyObject
* obj1
= 0 ;
11544 PyObject
* obj2
= 0 ;
11545 char *kwnames
[] = {
11546 (char *) "self",(char *) "pt",(char *) "sz", NULL
11549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11553 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11557 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11561 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11563 wxPyEndAllowThreads(__tstate
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11566 Py_INCREF(Py_None
); resultobj
= Py_None
;
11573 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11574 PyObject
*resultobj
;
11575 wxDC
*arg1
= (wxDC
*) 0 ;
11578 PyObject
* obj0
= 0 ;
11579 PyObject
* obj1
= 0 ;
11580 char *kwnames
[] = {
11581 (char *) "self",(char *) "rect", NULL
11584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11588 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11592 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11594 wxPyEndAllowThreads(__tstate
);
11595 if (PyErr_Occurred()) SWIG_fail
;
11597 Py_INCREF(Py_None
); resultobj
= Py_None
;
11604 static PyObject
*_wrap_DC_DrawIconXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11605 PyObject
*resultobj
;
11606 wxDC
*arg1
= (wxDC
*) 0 ;
11610 PyObject
* obj0
= 0 ;
11611 PyObject
* obj1
= 0 ;
11612 PyObject
* obj2
= 0 ;
11613 PyObject
* obj3
= 0 ;
11614 char *kwnames
[] = {
11615 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11620 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11621 if (arg2
== NULL
) {
11622 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11625 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11626 if (PyErr_Occurred()) SWIG_fail
;
11629 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11634 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11636 wxPyEndAllowThreads(__tstate
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11639 Py_INCREF(Py_None
); resultobj
= Py_None
;
11646 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11647 PyObject
*resultobj
;
11648 wxDC
*arg1
= (wxDC
*) 0 ;
11650 wxPoint
*arg3
= 0 ;
11652 PyObject
* obj0
= 0 ;
11653 PyObject
* obj1
= 0 ;
11654 PyObject
* obj2
= 0 ;
11655 char *kwnames
[] = {
11656 (char *) "self",(char *) "icon",(char *) "pt", NULL
11659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11661 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11662 if (arg2
== NULL
) {
11663 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11667 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11671 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11673 wxPyEndAllowThreads(__tstate
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11676 Py_INCREF(Py_None
); resultobj
= Py_None
;
11683 static PyObject
*_wrap_DC_DrawBitmapXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11684 PyObject
*resultobj
;
11685 wxDC
*arg1
= (wxDC
*) 0 ;
11686 wxBitmap
*arg2
= 0 ;
11689 bool arg5
= (bool) 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 *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmapXY",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
;
11701 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11702 if (arg2
== NULL
) {
11703 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11706 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11707 if (PyErr_Occurred()) SWIG_fail
;
11710 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11711 if (PyErr_Occurred()) SWIG_fail
;
11715 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
11716 if (PyErr_Occurred()) SWIG_fail
;
11720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11721 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11723 wxPyEndAllowThreads(__tstate
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11726 Py_INCREF(Py_None
); resultobj
= Py_None
;
11733 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11734 PyObject
*resultobj
;
11735 wxDC
*arg1
= (wxDC
*) 0 ;
11736 wxBitmap
*arg2
= 0 ;
11737 wxPoint
*arg3
= 0 ;
11738 bool arg4
= (bool) False
;
11740 PyObject
* obj0
= 0 ;
11741 PyObject
* obj1
= 0 ;
11742 PyObject
* obj2
= 0 ;
11743 PyObject
* obj3
= 0 ;
11744 char *kwnames
[] = {
11745 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11750 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11751 if (arg2
== NULL
) {
11752 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11756 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11760 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11766 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11768 wxPyEndAllowThreads(__tstate
);
11769 if (PyErr_Occurred()) SWIG_fail
;
11771 Py_INCREF(Py_None
); resultobj
= Py_None
;
11778 static PyObject
*_wrap_DC_DrawTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11779 PyObject
*resultobj
;
11780 wxDC
*arg1
= (wxDC
*) 0 ;
11781 wxString
*arg2
= 0 ;
11784 bool temp2
= False
;
11785 PyObject
* obj0
= 0 ;
11786 PyObject
* obj1
= 0 ;
11787 PyObject
* obj2
= 0 ;
11788 PyObject
* obj3
= 0 ;
11789 char *kwnames
[] = {
11790 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11796 arg2
= wxString_in_helper(obj1
);
11797 if (arg2
== NULL
) SWIG_fail
;
11801 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11802 if (PyErr_Occurred()) SWIG_fail
;
11805 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11806 if (PyErr_Occurred()) SWIG_fail
;
11809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11810 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11812 wxPyEndAllowThreads(__tstate
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11815 Py_INCREF(Py_None
); resultobj
= Py_None
;
11830 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11831 PyObject
*resultobj
;
11832 wxDC
*arg1
= (wxDC
*) 0 ;
11833 wxString
*arg2
= 0 ;
11834 wxPoint
*arg3
= 0 ;
11835 bool temp2
= False
;
11837 PyObject
* obj0
= 0 ;
11838 PyObject
* obj1
= 0 ;
11839 PyObject
* obj2
= 0 ;
11840 char *kwnames
[] = {
11841 (char *) "self",(char *) "text",(char *) "pt", NULL
11844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11847 arg2
= wxString_in_helper(obj1
);
11848 if (arg2
== NULL
) SWIG_fail
;
11853 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11857 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11859 wxPyEndAllowThreads(__tstate
);
11860 if (PyErr_Occurred()) SWIG_fail
;
11862 Py_INCREF(Py_None
); resultobj
= Py_None
;
11877 static PyObject
*_wrap_DC_DrawRotatedTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11878 PyObject
*resultobj
;
11879 wxDC
*arg1
= (wxDC
*) 0 ;
11880 wxString
*arg2
= 0 ;
11884 bool temp2
= False
;
11885 PyObject
* obj0
= 0 ;
11886 PyObject
* obj1
= 0 ;
11887 PyObject
* obj2
= 0 ;
11888 PyObject
* obj3
= 0 ;
11889 PyObject
* obj4
= 0 ;
11890 char *kwnames
[] = {
11891 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11897 arg2
= wxString_in_helper(obj1
);
11898 if (arg2
== NULL
) SWIG_fail
;
11902 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11906 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11910 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11915 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11917 wxPyEndAllowThreads(__tstate
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11920 Py_INCREF(Py_None
); resultobj
= Py_None
;
11935 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11936 PyObject
*resultobj
;
11937 wxDC
*arg1
= (wxDC
*) 0 ;
11938 wxString
*arg2
= 0 ;
11939 wxPoint
*arg3
= 0 ;
11941 bool temp2
= False
;
11943 PyObject
* obj0
= 0 ;
11944 PyObject
* obj1
= 0 ;
11945 PyObject
* obj2
= 0 ;
11946 PyObject
* obj3
= 0 ;
11947 char *kwnames
[] = {
11948 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11954 arg2
= wxString_in_helper(obj1
);
11955 if (arg2
== NULL
) SWIG_fail
;
11960 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11963 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11970 wxPyEndAllowThreads(__tstate
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11973 Py_INCREF(Py_None
); resultobj
= Py_None
;
11988 static PyObject
*_wrap_DC_BlitXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11989 PyObject
*resultobj
;
11990 wxDC
*arg1
= (wxDC
*) 0 ;
11995 wxDC
*arg6
= (wxDC
*) 0 ;
11998 int arg9
= (int) wxCOPY
;
11999 bool arg10
= (bool) False
;
12000 int arg11
= (int) -1 ;
12001 int arg12
= (int) -1 ;
12003 PyObject
* obj0
= 0 ;
12004 PyObject
* obj1
= 0 ;
12005 PyObject
* obj2
= 0 ;
12006 PyObject
* obj3
= 0 ;
12007 PyObject
* obj4
= 0 ;
12008 PyObject
* obj5
= 0 ;
12009 PyObject
* obj6
= 0 ;
12010 PyObject
* obj7
= 0 ;
12011 PyObject
* obj8
= 0 ;
12012 PyObject
* obj9
= 0 ;
12013 PyObject
* obj10
= 0 ;
12014 PyObject
* obj11
= 0 ;
12015 char *kwnames
[] = {
12016 (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
12019 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
;
12020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12022 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12026 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12027 if (PyErr_Occurred()) SWIG_fail
;
12030 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12034 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12035 if (PyErr_Occurred()) SWIG_fail
;
12037 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12039 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12043 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12048 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12054 arg10
= (bool) SWIG_PyObj_AsBool(obj9
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12060 arg11
= (int) SWIG_PyObj_AsInt(obj10
);
12061 if (PyErr_Occurred()) SWIG_fail
;
12066 arg12
= (int) SWIG_PyObj_AsInt(obj11
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12084 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12085 PyObject
*resultobj
;
12086 wxDC
*arg1
= (wxDC
*) 0 ;
12087 wxPoint
*arg2
= 0 ;
12089 wxDC
*arg4
= (wxDC
*) 0 ;
12090 wxPoint
*arg5
= 0 ;
12091 int arg6
= (int) wxCOPY
;
12092 bool arg7
= (bool) False
;
12093 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
12094 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
12100 PyObject
* obj0
= 0 ;
12101 PyObject
* obj1
= 0 ;
12102 PyObject
* obj2
= 0 ;
12103 PyObject
* obj3
= 0 ;
12104 PyObject
* obj4
= 0 ;
12105 PyObject
* obj5
= 0 ;
12106 PyObject
* obj6
= 0 ;
12107 PyObject
* obj7
= 0 ;
12108 char *kwnames
[] = {
12109 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12116 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12120 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12122 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12125 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12129 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
12130 if (PyErr_Occurred()) SWIG_fail
;
12135 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12142 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
12146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12147 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
12149 wxPyEndAllowThreads(__tstate
);
12150 if (PyErr_Occurred()) SWIG_fail
;
12152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12159 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12160 PyObject
*resultobj
;
12161 wxDC
*arg1
= (wxDC
*) 0 ;
12163 wxPoint
*arg3
= (wxPoint
*) 0 ;
12164 int arg4
= (int) 0 ;
12165 int arg5
= (int) 0 ;
12166 PyObject
* obj0
= 0 ;
12167 PyObject
* obj1
= 0 ;
12168 PyObject
* obj2
= 0 ;
12169 PyObject
* obj3
= 0 ;
12170 char *kwnames
[] = {
12171 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12177 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12178 if (arg3
== NULL
) SWIG_fail
;
12182 arg4
= (int) SWIG_PyObj_AsInt(obj2
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12188 arg5
= (int) SWIG_PyObj_AsInt(obj3
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12199 Py_INCREF(Py_None
); resultobj
= Py_None
;
12201 if (arg3
) delete [] arg3
;
12206 if (arg3
) delete [] arg3
;
12212 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12213 PyObject
*resultobj
;
12214 wxDC
*arg1
= (wxDC
*) 0 ;
12216 wxPoint
*arg3
= (wxPoint
*) 0 ;
12217 int arg4
= (int) 0 ;
12218 int arg5
= (int) 0 ;
12219 int arg6
= (int) wxODDEVEN_RULE
;
12220 PyObject
* obj0
= 0 ;
12221 PyObject
* obj1
= 0 ;
12222 PyObject
* obj2
= 0 ;
12223 PyObject
* obj3
= 0 ;
12224 PyObject
* obj4
= 0 ;
12225 char *kwnames
[] = {
12226 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12232 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12233 if (arg3
== NULL
) SWIG_fail
;
12237 arg4
= (int) SWIG_PyObj_AsInt(obj2
);
12238 if (PyErr_Occurred()) SWIG_fail
;
12243 arg5
= (int) SWIG_PyObj_AsInt(obj3
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12249 arg6
= (int) SWIG_PyObj_AsInt(obj4
);
12250 if (PyErr_Occurred()) SWIG_fail
;
12254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12255 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12257 wxPyEndAllowThreads(__tstate
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12260 Py_INCREF(Py_None
); resultobj
= Py_None
;
12262 if (arg3
) delete [] arg3
;
12267 if (arg3
) delete [] arg3
;
12273 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12274 PyObject
*resultobj
;
12275 wxDC
*arg1
= (wxDC
*) 0 ;
12276 wxString
*arg2
= 0 ;
12278 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12279 int arg5
= (int) -1 ;
12280 bool temp2
= False
;
12282 PyObject
* obj0
= 0 ;
12283 PyObject
* obj1
= 0 ;
12284 PyObject
* obj2
= 0 ;
12285 PyObject
* obj3
= 0 ;
12286 PyObject
* obj4
= 0 ;
12287 char *kwnames
[] = {
12288 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12294 arg2
= wxString_in_helper(obj1
);
12295 if (arg2
== NULL
) SWIG_fail
;
12300 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12304 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12310 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12311 if (PyErr_Occurred()) SWIG_fail
;
12315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12316 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12318 wxPyEndAllowThreads(__tstate
);
12319 if (PyErr_Occurred()) SWIG_fail
;
12321 Py_INCREF(Py_None
); resultobj
= Py_None
;
12336 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12337 PyObject
*resultobj
;
12338 wxDC
*arg1
= (wxDC
*) 0 ;
12339 wxString
*arg2
= 0 ;
12340 wxBitmap
*arg3
= 0 ;
12342 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12343 int arg6
= (int) -1 ;
12345 bool temp2
= False
;
12347 PyObject
* obj0
= 0 ;
12348 PyObject
* obj1
= 0 ;
12349 PyObject
* obj2
= 0 ;
12350 PyObject
* obj3
= 0 ;
12351 PyObject
* obj4
= 0 ;
12352 PyObject
* obj5
= 0 ;
12353 char *kwnames
[] = {
12354 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12360 arg2
= wxString_in_helper(obj1
);
12361 if (arg2
== NULL
) SWIG_fail
;
12364 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12365 if (arg3
== NULL
) {
12366 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12370 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12374 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12380 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12388 wxPyEndAllowThreads(__tstate
);
12389 if (PyErr_Occurred()) SWIG_fail
;
12392 wxRect
* resultptr
;
12393 resultptr
= new wxRect((wxRect
&) result
);
12394 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
12410 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12411 PyObject
*resultobj
;
12412 wxDC
*arg1
= (wxDC
*) 0 ;
12414 wxPoint
*arg3
= (wxPoint
*) 0 ;
12415 PyObject
* obj0
= 0 ;
12416 PyObject
* obj1
= 0 ;
12417 char *kwnames
[] = {
12418 (char *) "self",(char *) "points", NULL
12421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12424 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12425 if (arg3
== NULL
) SWIG_fail
;
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12429 (arg1
)->DrawSpline(arg2
,arg3
);
12431 wxPyEndAllowThreads(__tstate
);
12432 if (PyErr_Occurred()) SWIG_fail
;
12434 Py_INCREF(Py_None
); resultobj
= Py_None
;
12436 if (arg3
) delete [] arg3
;
12441 if (arg3
) delete [] arg3
;
12447 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12448 PyObject
*resultobj
;
12449 wxDC
*arg1
= (wxDC
*) 0 ;
12450 PyObject
* obj0
= 0 ;
12451 char *kwnames
[] = {
12452 (char *) "self", NULL
12455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12461 wxPyEndAllowThreads(__tstate
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12464 Py_INCREF(Py_None
); resultobj
= Py_None
;
12471 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12472 PyObject
*resultobj
;
12473 wxDC
*arg1
= (wxDC
*) 0 ;
12474 wxString
*arg2
= 0 ;
12476 bool temp2
= False
;
12477 PyObject
* obj0
= 0 ;
12478 PyObject
* obj1
= 0 ;
12479 char *kwnames
[] = {
12480 (char *) "self",(char *) "message", NULL
12483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12486 arg2
= wxString_in_helper(obj1
);
12487 if (arg2
== NULL
) SWIG_fail
;
12491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12492 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12494 wxPyEndAllowThreads(__tstate
);
12495 if (PyErr_Occurred()) SWIG_fail
;
12497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12512 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12513 PyObject
*resultobj
;
12514 wxDC
*arg1
= (wxDC
*) 0 ;
12515 PyObject
* obj0
= 0 ;
12516 char *kwnames
[] = {
12517 (char *) "self", NULL
12520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12529 Py_INCREF(Py_None
); resultobj
= Py_None
;
12536 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12537 PyObject
*resultobj
;
12538 wxDC
*arg1
= (wxDC
*) 0 ;
12539 PyObject
* obj0
= 0 ;
12540 char *kwnames
[] = {
12541 (char *) "self", NULL
12544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 (arg1
)->StartPage();
12550 wxPyEndAllowThreads(__tstate
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12553 Py_INCREF(Py_None
); resultobj
= Py_None
;
12560 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
*resultobj
;
12562 wxDC
*arg1
= (wxDC
*) 0 ;
12563 PyObject
* obj0
= 0 ;
12564 char *kwnames
[] = {
12565 (char *) "self", NULL
12568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12574 wxPyEndAllowThreads(__tstate
);
12575 if (PyErr_Occurred()) SWIG_fail
;
12577 Py_INCREF(Py_None
); resultobj
= Py_None
;
12584 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12585 PyObject
*resultobj
;
12586 wxDC
*arg1
= (wxDC
*) 0 ;
12588 PyObject
* obj0
= 0 ;
12589 PyObject
* obj1
= 0 ;
12590 char *kwnames
[] = {
12591 (char *) "self",(char *) "font", NULL
12594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12596 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12597 if (arg2
== NULL
) {
12598 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12602 (arg1
)->SetFont((wxFont
const &)*arg2
);
12604 wxPyEndAllowThreads(__tstate
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12607 Py_INCREF(Py_None
); resultobj
= Py_None
;
12614 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12615 PyObject
*resultobj
;
12616 wxDC
*arg1
= (wxDC
*) 0 ;
12618 PyObject
* obj0
= 0 ;
12619 PyObject
* obj1
= 0 ;
12620 char *kwnames
[] = {
12621 (char *) "self",(char *) "pen", NULL
12624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12626 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12627 if (arg2
== NULL
) {
12628 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 (arg1
)->SetPen((wxPen
const &)*arg2
);
12634 wxPyEndAllowThreads(__tstate
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12637 Py_INCREF(Py_None
); resultobj
= Py_None
;
12644 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12645 PyObject
*resultobj
;
12646 wxDC
*arg1
= (wxDC
*) 0 ;
12647 wxBrush
*arg2
= 0 ;
12648 PyObject
* obj0
= 0 ;
12649 PyObject
* obj1
= 0 ;
12650 char *kwnames
[] = {
12651 (char *) "self",(char *) "brush", NULL
12654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12656 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12657 if (arg2
== NULL
) {
12658 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12662 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12664 wxPyEndAllowThreads(__tstate
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12667 Py_INCREF(Py_None
); resultobj
= Py_None
;
12674 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12675 PyObject
*resultobj
;
12676 wxDC
*arg1
= (wxDC
*) 0 ;
12677 wxBrush
*arg2
= 0 ;
12678 PyObject
* obj0
= 0 ;
12679 PyObject
* obj1
= 0 ;
12680 char *kwnames
[] = {
12681 (char *) "self",(char *) "brush", NULL
12684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12686 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12687 if (arg2
== NULL
) {
12688 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12692 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12694 wxPyEndAllowThreads(__tstate
);
12695 if (PyErr_Occurred()) SWIG_fail
;
12697 Py_INCREF(Py_None
); resultobj
= Py_None
;
12704 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12705 PyObject
*resultobj
;
12706 wxDC
*arg1
= (wxDC
*) 0 ;
12708 PyObject
* obj0
= 0 ;
12709 PyObject
* obj1
= 0 ;
12710 char *kwnames
[] = {
12711 (char *) "self",(char *) "mode", NULL
12714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12717 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12718 if (PyErr_Occurred()) SWIG_fail
;
12721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12722 (arg1
)->SetBackgroundMode(arg2
);
12724 wxPyEndAllowThreads(__tstate
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12727 Py_INCREF(Py_None
); resultobj
= Py_None
;
12734 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12735 PyObject
*resultobj
;
12736 wxDC
*arg1
= (wxDC
*) 0 ;
12737 wxPalette
*arg2
= 0 ;
12738 PyObject
* obj0
= 0 ;
12739 PyObject
* obj1
= 0 ;
12740 char *kwnames
[] = {
12741 (char *) "self",(char *) "palette", NULL
12744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12746 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12747 if (arg2
== NULL
) {
12748 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12752 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12754 wxPyEndAllowThreads(__tstate
);
12755 if (PyErr_Occurred()) SWIG_fail
;
12757 Py_INCREF(Py_None
); resultobj
= Py_None
;
12764 static PyObject
*_wrap_DC_SetClippingRegionXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12765 PyObject
*resultobj
;
12766 wxDC
*arg1
= (wxDC
*) 0 ;
12771 PyObject
* obj0
= 0 ;
12772 PyObject
* obj1
= 0 ;
12773 PyObject
* obj2
= 0 ;
12774 PyObject
* obj3
= 0 ;
12775 PyObject
* obj4
= 0 ;
12776 char *kwnames
[] = {
12777 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegionXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12783 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12784 if (PyErr_Occurred()) SWIG_fail
;
12787 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12788 if (PyErr_Occurred()) SWIG_fail
;
12791 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12795 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12796 if (PyErr_Occurred()) SWIG_fail
;
12799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12800 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12802 wxPyEndAllowThreads(__tstate
);
12803 if (PyErr_Occurred()) SWIG_fail
;
12805 Py_INCREF(Py_None
); resultobj
= Py_None
;
12812 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
;
12814 wxDC
*arg1
= (wxDC
*) 0 ;
12815 wxPoint
*arg2
= 0 ;
12819 PyObject
* obj0
= 0 ;
12820 PyObject
* obj1
= 0 ;
12821 PyObject
* obj2
= 0 ;
12822 char *kwnames
[] = {
12823 (char *) "self",(char *) "pt",(char *) "sz", NULL
12826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12830 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12834 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12838 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12840 wxPyEndAllowThreads(__tstate
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12843 Py_INCREF(Py_None
); resultobj
= Py_None
;
12850 static PyObject
*_wrap_DC_SetClippingRect(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 *) "rect", NULL
12861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12865 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12869 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12871 wxPyEndAllowThreads(__tstate
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12874 Py_INCREF(Py_None
); resultobj
= Py_None
;
12881 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12882 PyObject
*resultobj
;
12883 wxDC
*arg1
= (wxDC
*) 0 ;
12884 wxRegion
*arg2
= 0 ;
12885 PyObject
* obj0
= 0 ;
12886 PyObject
* obj1
= 0 ;
12887 char *kwnames
[] = {
12888 (char *) "self",(char *) "region", NULL
12891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12893 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12894 if (arg2
== NULL
) {
12895 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12899 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12901 wxPyEndAllowThreads(__tstate
);
12902 if (PyErr_Occurred()) SWIG_fail
;
12904 Py_INCREF(Py_None
); resultobj
= Py_None
;
12911 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12912 PyObject
*resultobj
;
12913 wxDC
*arg1
= (wxDC
*) 0 ;
12914 PyObject
* obj0
= 0 ;
12915 char *kwnames
[] = {
12916 (char *) "self", NULL
12919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12923 (arg1
)->DestroyClippingRegion();
12925 wxPyEndAllowThreads(__tstate
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12928 Py_INCREF(Py_None
); resultobj
= Py_None
;
12935 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12936 PyObject
*resultobj
;
12937 wxDC
*arg1
= (wxDC
*) 0 ;
12938 int *arg2
= (int *) 0 ;
12939 int *arg3
= (int *) 0 ;
12940 int *arg4
= (int *) 0 ;
12941 int *arg5
= (int *) 0 ;
12946 PyObject
* obj0
= 0 ;
12947 char *kwnames
[] = {
12948 (char *) "self", NULL
12955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12959 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12961 wxPyEndAllowThreads(__tstate
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12964 Py_INCREF(Py_None
); resultobj
= Py_None
;
12966 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12967 resultobj
= t_output_helper(resultobj
,o
);
12970 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12971 resultobj
= t_output_helper(resultobj
,o
);
12974 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12975 resultobj
= t_output_helper(resultobj
,o
);
12978 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12979 resultobj
= t_output_helper(resultobj
,o
);
12987 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12988 PyObject
*resultobj
;
12989 wxDC
*arg1
= (wxDC
*) 0 ;
12991 PyObject
* obj0
= 0 ;
12992 char *kwnames
[] = {
12993 (char *) "self", NULL
12996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13000 result
= wxDC_GetClippingRect(arg1
);
13002 wxPyEndAllowThreads(__tstate
);
13003 if (PyErr_Occurred()) SWIG_fail
;
13006 wxRect
* resultptr
;
13007 resultptr
= new wxRect((wxRect
&) result
);
13008 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
13016 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13017 PyObject
*resultobj
;
13018 wxDC
*arg1
= (wxDC
*) 0 ;
13020 PyObject
* obj0
= 0 ;
13021 char *kwnames
[] = {
13022 (char *) "self", NULL
13025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
13026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13029 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
13031 wxPyEndAllowThreads(__tstate
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13034 resultobj
= SWIG_PyObj_FromInt((int)result
);
13041 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13042 PyObject
*resultobj
;
13043 wxDC
*arg1
= (wxDC
*) 0 ;
13045 PyObject
* obj0
= 0 ;
13046 char *kwnames
[] = {
13047 (char *) "self", NULL
13050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
13051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13054 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13059 resultobj
= SWIG_PyObj_FromInt((int)result
);
13066 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13067 PyObject
*resultobj
;
13068 wxDC
*arg1
= (wxDC
*) 0 ;
13069 wxString
*arg2
= 0 ;
13070 int *arg3
= (int *) 0 ;
13071 int *arg4
= (int *) 0 ;
13072 bool temp2
= False
;
13075 PyObject
* obj0
= 0 ;
13076 PyObject
* obj1
= 0 ;
13077 char *kwnames
[] = {
13078 (char *) "self",(char *) "string", NULL
13083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
13084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13086 arg2
= wxString_in_helper(obj1
);
13087 if (arg2
== NULL
) SWIG_fail
;
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13092 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
13094 wxPyEndAllowThreads(__tstate
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13097 Py_INCREF(Py_None
); resultobj
= Py_None
;
13099 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13100 resultobj
= t_output_helper(resultobj
,o
);
13103 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13104 resultobj
= t_output_helper(resultobj
,o
);
13120 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13121 PyObject
*resultobj
;
13122 wxDC
*arg1
= (wxDC
*) 0 ;
13123 wxString
*arg2
= 0 ;
13124 int *arg3
= (int *) 0 ;
13125 int *arg4
= (int *) 0 ;
13126 int *arg5
= (int *) 0 ;
13127 int *arg6
= (int *) 0 ;
13128 wxFont
*arg7
= (wxFont
*) NULL
;
13129 bool temp2
= False
;
13134 PyObject
* obj0
= 0 ;
13135 PyObject
* obj1
= 0 ;
13136 PyObject
* obj2
= 0 ;
13137 char *kwnames
[] = {
13138 (char *) "self",(char *) "string",(char *) "font", NULL
13145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13148 arg2
= wxString_in_helper(obj1
);
13149 if (arg2
== NULL
) SWIG_fail
;
13153 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13157 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13159 wxPyEndAllowThreads(__tstate
);
13160 if (PyErr_Occurred()) SWIG_fail
;
13162 Py_INCREF(Py_None
); resultobj
= Py_None
;
13164 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13165 resultobj
= t_output_helper(resultobj
,o
);
13168 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13169 resultobj
= t_output_helper(resultobj
,o
);
13172 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13173 resultobj
= t_output_helper(resultobj
,o
);
13176 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
13177 resultobj
= t_output_helper(resultobj
,o
);
13193 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13194 PyObject
*resultobj
;
13195 wxDC
*arg1
= (wxDC
*) 0 ;
13196 wxString
*arg2
= 0 ;
13197 int *arg3
= (int *) 0 ;
13198 int *arg4
= (int *) 0 ;
13199 int *arg5
= (int *) 0 ;
13200 wxFont
*arg6
= (wxFont
*) NULL
;
13201 bool temp2
= False
;
13205 PyObject
* obj0
= 0 ;
13206 PyObject
* obj1
= 0 ;
13207 PyObject
* obj2
= 0 ;
13208 char *kwnames
[] = {
13209 (char *) "self",(char *) "text",(char *) "font", NULL
13215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13218 arg2
= wxString_in_helper(obj1
);
13219 if (arg2
== NULL
) SWIG_fail
;
13223 if ((SWIG_ConvertPtr(obj2
,(void **) &arg6
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13232 Py_INCREF(Py_None
); resultobj
= Py_None
;
13234 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13235 resultobj
= t_output_helper(resultobj
,o
);
13238 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13239 resultobj
= t_output_helper(resultobj
,o
);
13242 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13243 resultobj
= t_output_helper(resultobj
,o
);
13259 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13260 PyObject
*resultobj
;
13261 wxDC
*arg1
= (wxDC
*) 0 ;
13262 wxString
*arg2
= 0 ;
13264 bool temp2
= False
;
13265 PyObject
* obj0
= 0 ;
13266 PyObject
* obj1
= 0 ;
13267 char *kwnames
[] = {
13268 (char *) "self",(char *) "text", NULL
13271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13274 arg2
= wxString_in_helper(obj1
);
13275 if (arg2
== NULL
) SWIG_fail
;
13279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13280 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13282 wxPyEndAllowThreads(__tstate
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13286 resultobj
= PyList_New(0);
13288 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13289 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13290 PyList_Append(resultobj
, val
);
13308 static PyObject
*_wrap_DC_GetSize(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_GetSize",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();
13321 result
= (arg1
)->GetSize();
13323 wxPyEndAllowThreads(__tstate
);
13324 if (PyErr_Occurred()) SWIG_fail
;
13327 wxSize
* resultptr
;
13328 resultptr
= new wxSize((wxSize
&) result
);
13329 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13337 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13338 PyObject
*resultobj
;
13339 wxDC
*arg1
= (wxDC
*) 0 ;
13340 int *arg2
= (int *) 0 ;
13341 int *arg3
= (int *) 0 ;
13344 PyObject
* obj0
= 0 ;
13345 char *kwnames
[] = {
13346 (char *) "self", NULL
13351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13355 (arg1
)->GetSize(arg2
,arg3
);
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13360 Py_INCREF(Py_None
); resultobj
= Py_None
;
13362 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13363 resultobj
= t_output_helper(resultobj
,o
);
13366 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13367 resultobj
= t_output_helper(resultobj
,o
);
13375 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
*resultobj
;
13377 wxDC
*arg1
= (wxDC
*) 0 ;
13379 PyObject
* obj0
= 0 ;
13380 char *kwnames
[] = {
13381 (char *) "self", NULL
13384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13388 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13390 wxPyEndAllowThreads(__tstate
);
13391 if (PyErr_Occurred()) SWIG_fail
;
13394 wxSize
* resultptr
;
13395 resultptr
= new wxSize((wxSize
&) result
);
13396 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13404 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13405 PyObject
*resultobj
;
13406 wxDC
*arg1
= (wxDC
*) 0 ;
13407 int *arg2
= (int *) 0 ;
13408 int *arg3
= (int *) 0 ;
13411 PyObject
* obj0
= 0 ;
13412 char *kwnames
[] = {
13413 (char *) "self", NULL
13418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13422 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13424 wxPyEndAllowThreads(__tstate
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13427 Py_INCREF(Py_None
); resultobj
= Py_None
;
13429 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13430 resultobj
= t_output_helper(resultobj
,o
);
13433 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13434 resultobj
= t_output_helper(resultobj
,o
);
13442 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13443 PyObject
*resultobj
;
13444 wxDC
*arg1
= (wxDC
*) 0 ;
13447 PyObject
* obj0
= 0 ;
13448 PyObject
* obj1
= 0 ;
13449 char *kwnames
[] = {
13450 (char *) "self",(char *) "x", NULL
13453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13456 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13461 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13463 wxPyEndAllowThreads(__tstate
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13466 resultobj
= SWIG_PyObj_FromInt((int)result
);
13473 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13474 PyObject
*resultobj
;
13475 wxDC
*arg1
= (wxDC
*) 0 ;
13478 PyObject
* obj0
= 0 ;
13479 PyObject
* obj1
= 0 ;
13480 char *kwnames
[] = {
13481 (char *) "self",(char *) "y", NULL
13484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13487 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13497 resultobj
= SWIG_PyObj_FromInt((int)result
);
13504 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13505 PyObject
*resultobj
;
13506 wxDC
*arg1
= (wxDC
*) 0 ;
13509 PyObject
* obj0
= 0 ;
13510 PyObject
* obj1
= 0 ;
13511 char *kwnames
[] = {
13512 (char *) "self",(char *) "x", NULL
13515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13518 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13519 if (PyErr_Occurred()) SWIG_fail
;
13522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13523 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13525 wxPyEndAllowThreads(__tstate
);
13526 if (PyErr_Occurred()) SWIG_fail
;
13528 resultobj
= SWIG_PyObj_FromInt((int)result
);
13535 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13536 PyObject
*resultobj
;
13537 wxDC
*arg1
= (wxDC
*) 0 ;
13540 PyObject
* obj0
= 0 ;
13541 PyObject
* obj1
= 0 ;
13542 char *kwnames
[] = {
13543 (char *) "self",(char *) "y", NULL
13546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13549 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13550 if (PyErr_Occurred()) SWIG_fail
;
13553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13554 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13556 wxPyEndAllowThreads(__tstate
);
13557 if (PyErr_Occurred()) SWIG_fail
;
13559 resultobj
= SWIG_PyObj_FromInt((int)result
);
13566 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13567 PyObject
*resultobj
;
13568 wxDC
*arg1
= (wxDC
*) 0 ;
13571 PyObject
* obj0
= 0 ;
13572 PyObject
* obj1
= 0 ;
13573 char *kwnames
[] = {
13574 (char *) "self",(char *) "x", NULL
13577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13580 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13585 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13587 wxPyEndAllowThreads(__tstate
);
13588 if (PyErr_Occurred()) SWIG_fail
;
13590 resultobj
= SWIG_PyObj_FromInt((int)result
);
13597 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13598 PyObject
*resultobj
;
13599 wxDC
*arg1
= (wxDC
*) 0 ;
13602 PyObject
* obj0
= 0 ;
13603 PyObject
* obj1
= 0 ;
13604 char *kwnames
[] = {
13605 (char *) "self",(char *) "y", NULL
13608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13611 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13612 if (PyErr_Occurred()) SWIG_fail
;
13615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13616 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13618 wxPyEndAllowThreads(__tstate
);
13619 if (PyErr_Occurred()) SWIG_fail
;
13621 resultobj
= SWIG_PyObj_FromInt((int)result
);
13628 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13629 PyObject
*resultobj
;
13630 wxDC
*arg1
= (wxDC
*) 0 ;
13633 PyObject
* obj0
= 0 ;
13634 PyObject
* obj1
= 0 ;
13635 char *kwnames
[] = {
13636 (char *) "self",(char *) "x", NULL
13639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13642 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13647 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13649 wxPyEndAllowThreads(__tstate
);
13650 if (PyErr_Occurred()) SWIG_fail
;
13652 resultobj
= SWIG_PyObj_FromInt((int)result
);
13659 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13660 PyObject
*resultobj
;
13661 wxDC
*arg1
= (wxDC
*) 0 ;
13664 PyObject
* obj0
= 0 ;
13665 PyObject
* obj1
= 0 ;
13666 char *kwnames
[] = {
13667 (char *) "self",(char *) "y", NULL
13670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13673 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13674 if (PyErr_Occurred()) SWIG_fail
;
13677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13678 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) SWIG_fail
;
13683 resultobj
= SWIG_PyObj_FromInt((int)result
);
13690 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13691 PyObject
*resultobj
;
13692 wxDC
*arg1
= (wxDC
*) 0 ;
13694 PyObject
* obj0
= 0 ;
13695 char *kwnames
[] = {
13696 (char *) "self", NULL
13699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13703 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13705 wxPyEndAllowThreads(__tstate
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13715 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13716 PyObject
*resultobj
;
13717 wxDC
*arg1
= (wxDC
*) 0 ;
13719 PyObject
* obj0
= 0 ;
13720 char *kwnames
[] = {
13721 (char *) "self", NULL
13724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13728 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13730 wxPyEndAllowThreads(__tstate
);
13731 if (PyErr_Occurred()) SWIG_fail
;
13733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13740 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13741 PyObject
*resultobj
;
13742 wxDC
*arg1
= (wxDC
*) 0 ;
13744 PyObject
* obj0
= 0 ;
13745 char *kwnames
[] = {
13746 (char *) "self", NULL
13749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13753 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13755 wxPyEndAllowThreads(__tstate
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13758 resultobj
= SWIG_PyObj_FromInt((int)result
);
13765 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13766 PyObject
*resultobj
;
13767 wxDC
*arg1
= (wxDC
*) 0 ;
13769 PyObject
* obj0
= 0 ;
13770 char *kwnames
[] = {
13771 (char *) "self", NULL
13774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13778 result
= ((wxDC
const *)arg1
)->GetPPI();
13780 wxPyEndAllowThreads(__tstate
);
13781 if (PyErr_Occurred()) SWIG_fail
;
13784 wxSize
* resultptr
;
13785 resultptr
= new wxSize((wxSize
&) result
);
13786 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13794 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13795 PyObject
*resultobj
;
13796 wxDC
*arg1
= (wxDC
*) 0 ;
13798 PyObject
* obj0
= 0 ;
13799 char *kwnames
[] = {
13800 (char *) "self", NULL
13803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13807 result
= (bool)((wxDC
const *)arg1
)->Ok();
13809 wxPyEndAllowThreads(__tstate
);
13810 if (PyErr_Occurred()) SWIG_fail
;
13812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13819 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13820 PyObject
*resultobj
;
13821 wxDC
*arg1
= (wxDC
*) 0 ;
13823 PyObject
* obj0
= 0 ;
13824 char *kwnames
[] = {
13825 (char *) "self", NULL
13828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13832 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13834 wxPyEndAllowThreads(__tstate
);
13835 if (PyErr_Occurred()) SWIG_fail
;
13837 resultobj
= SWIG_PyObj_FromInt((int)result
);
13844 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13845 PyObject
*resultobj
;
13846 wxDC
*arg1
= (wxDC
*) 0 ;
13848 PyObject
* obj0
= 0 ;
13849 char *kwnames
[] = {
13850 (char *) "self", NULL
13853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13858 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13859 result
= (wxBrush
*) &_result_ref
;
13862 wxPyEndAllowThreads(__tstate
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13865 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
13872 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13873 PyObject
*resultobj
;
13874 wxDC
*arg1
= (wxDC
*) 0 ;
13876 PyObject
* obj0
= 0 ;
13877 char *kwnames
[] = {
13878 (char *) "self", NULL
13881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13886 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13887 result
= (wxBrush
*) &_result_ref
;
13890 wxPyEndAllowThreads(__tstate
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13893 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
13900 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13901 PyObject
*resultobj
;
13902 wxDC
*arg1
= (wxDC
*) 0 ;
13904 PyObject
* obj0
= 0 ;
13905 char *kwnames
[] = {
13906 (char *) "self", NULL
13909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13914 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13915 result
= (wxFont
*) &_result_ref
;
13918 wxPyEndAllowThreads(__tstate
);
13919 if (PyErr_Occurred()) SWIG_fail
;
13921 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
13928 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13929 PyObject
*resultobj
;
13930 wxDC
*arg1
= (wxDC
*) 0 ;
13932 PyObject
* obj0
= 0 ;
13933 char *kwnames
[] = {
13934 (char *) "self", NULL
13937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13942 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13943 result
= (wxPen
*) &_result_ref
;
13946 wxPyEndAllowThreads(__tstate
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13949 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
13956 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13957 PyObject
*resultobj
;
13958 wxDC
*arg1
= (wxDC
*) 0 ;
13960 PyObject
* obj0
= 0 ;
13961 char *kwnames
[] = {
13962 (char *) "self", NULL
13965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13970 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13971 result
= (wxColour
*) &_result_ref
;
13974 wxPyEndAllowThreads(__tstate
);
13975 if (PyErr_Occurred()) SWIG_fail
;
13977 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
13984 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13985 PyObject
*resultobj
;
13986 wxDC
*arg1
= (wxDC
*) 0 ;
13988 PyObject
* obj0
= 0 ;
13989 char *kwnames
[] = {
13990 (char *) "self", NULL
13993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13998 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13999 result
= (wxColour
*) &_result_ref
;
14002 wxPyEndAllowThreads(__tstate
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14005 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
14012 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14013 PyObject
*resultobj
;
14014 wxDC
*arg1
= (wxDC
*) 0 ;
14015 wxColour
*arg2
= 0 ;
14017 PyObject
* obj0
= 0 ;
14018 PyObject
* obj1
= 0 ;
14019 char *kwnames
[] = {
14020 (char *) "self",(char *) "colour", NULL
14023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14027 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14031 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
14033 wxPyEndAllowThreads(__tstate
);
14034 if (PyErr_Occurred()) SWIG_fail
;
14036 Py_INCREF(Py_None
); resultobj
= Py_None
;
14043 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14044 PyObject
*resultobj
;
14045 wxDC
*arg1
= (wxDC
*) 0 ;
14046 wxColour
*arg2
= 0 ;
14048 PyObject
* obj0
= 0 ;
14049 PyObject
* obj1
= 0 ;
14050 char *kwnames
[] = {
14051 (char *) "self",(char *) "colour", NULL
14054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14058 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14062 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
14064 wxPyEndAllowThreads(__tstate
);
14065 if (PyErr_Occurred()) SWIG_fail
;
14067 Py_INCREF(Py_None
); resultobj
= Py_None
;
14074 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14075 PyObject
*resultobj
;
14076 wxDC
*arg1
= (wxDC
*) 0 ;
14078 PyObject
* obj0
= 0 ;
14079 char *kwnames
[] = {
14080 (char *) "self", NULL
14083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
14084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14087 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
14089 wxPyEndAllowThreads(__tstate
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14092 resultobj
= SWIG_PyObj_FromInt((int)result
);
14099 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14100 PyObject
*resultobj
;
14101 wxDC
*arg1
= (wxDC
*) 0 ;
14103 PyObject
* obj0
= 0 ;
14104 PyObject
* obj1
= 0 ;
14105 char *kwnames
[] = {
14106 (char *) "self",(char *) "mode", NULL
14109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14112 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14117 (arg1
)->SetMapMode(arg2
);
14119 wxPyEndAllowThreads(__tstate
);
14120 if (PyErr_Occurred()) SWIG_fail
;
14122 Py_INCREF(Py_None
); resultobj
= Py_None
;
14129 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14130 PyObject
*resultobj
;
14131 wxDC
*arg1
= (wxDC
*) 0 ;
14132 double *arg2
= (double *) 0 ;
14133 double *arg3
= (double *) 0 ;
14136 PyObject
* obj0
= 0 ;
14137 char *kwnames
[] = {
14138 (char *) "self", NULL
14143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14147 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14149 wxPyEndAllowThreads(__tstate
);
14150 if (PyErr_Occurred()) SWIG_fail
;
14152 Py_INCREF(Py_None
); resultobj
= Py_None
;
14154 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14155 resultobj
= t_output_helper(resultobj
,o
);
14158 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14159 resultobj
= t_output_helper(resultobj
,o
);
14167 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14168 PyObject
*resultobj
;
14169 wxDC
*arg1
= (wxDC
*) 0 ;
14172 PyObject
* obj0
= 0 ;
14173 PyObject
* obj1
= 0 ;
14174 PyObject
* obj2
= 0 ;
14175 char *kwnames
[] = {
14176 (char *) "self",(char *) "x",(char *) "y", NULL
14179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14182 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
14183 if (PyErr_Occurred()) SWIG_fail
;
14186 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14187 if (PyErr_Occurred()) SWIG_fail
;
14190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14191 (arg1
)->SetUserScale(arg2
,arg3
);
14193 wxPyEndAllowThreads(__tstate
);
14194 if (PyErr_Occurred()) SWIG_fail
;
14196 Py_INCREF(Py_None
); resultobj
= Py_None
;
14203 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14204 PyObject
*resultobj
;
14205 wxDC
*arg1
= (wxDC
*) 0 ;
14206 double *arg2
= (double *) 0 ;
14207 double *arg3
= (double *) 0 ;
14210 PyObject
* obj0
= 0 ;
14211 char *kwnames
[] = {
14212 (char *) "self", NULL
14217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",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 (arg1
)->GetLogicalScale(arg2
,arg3
);
14223 wxPyEndAllowThreads(__tstate
);
14224 if (PyErr_Occurred()) SWIG_fail
;
14226 Py_INCREF(Py_None
); resultobj
= Py_None
;
14228 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14229 resultobj
= t_output_helper(resultobj
,o
);
14232 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14233 resultobj
= t_output_helper(resultobj
,o
);
14241 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14242 PyObject
*resultobj
;
14243 wxDC
*arg1
= (wxDC
*) 0 ;
14246 PyObject
* obj0
= 0 ;
14247 PyObject
* obj1
= 0 ;
14248 PyObject
* obj2
= 0 ;
14249 char *kwnames
[] = {
14250 (char *) "self",(char *) "x",(char *) "y", NULL
14253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14256 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
14257 if (PyErr_Occurred()) SWIG_fail
;
14260 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14261 if (PyErr_Occurred()) SWIG_fail
;
14264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14265 (arg1
)->SetLogicalScale(arg2
,arg3
);
14267 wxPyEndAllowThreads(__tstate
);
14268 if (PyErr_Occurred()) SWIG_fail
;
14270 Py_INCREF(Py_None
); resultobj
= Py_None
;
14277 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14278 PyObject
*resultobj
;
14279 wxDC
*arg1
= (wxDC
*) 0 ;
14281 PyObject
* obj0
= 0 ;
14282 char *kwnames
[] = {
14283 (char *) "self", NULL
14286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14290 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14296 wxPoint
* resultptr
;
14297 resultptr
= new wxPoint((wxPoint
&) result
);
14298 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
14306 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14307 PyObject
*resultobj
;
14308 wxDC
*arg1
= (wxDC
*) 0 ;
14309 int *arg2
= (int *) 0 ;
14310 int *arg3
= (int *) 0 ;
14313 PyObject
* obj0
= 0 ;
14314 char *kwnames
[] = {
14315 (char *) "self", NULL
14320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14324 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14326 wxPyEndAllowThreads(__tstate
);
14327 if (PyErr_Occurred()) SWIG_fail
;
14329 Py_INCREF(Py_None
); resultobj
= Py_None
;
14331 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14332 resultobj
= t_output_helper(resultobj
,o
);
14335 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14336 resultobj
= t_output_helper(resultobj
,o
);
14344 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14345 PyObject
*resultobj
;
14346 wxDC
*arg1
= (wxDC
*) 0 ;
14349 PyObject
* obj0
= 0 ;
14350 PyObject
* obj1
= 0 ;
14351 PyObject
* obj2
= 0 ;
14352 char *kwnames
[] = {
14353 (char *) "self",(char *) "x",(char *) "y", NULL
14356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14359 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14360 if (PyErr_Occurred()) SWIG_fail
;
14363 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14368 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14370 wxPyEndAllowThreads(__tstate
);
14371 if (PyErr_Occurred()) SWIG_fail
;
14373 Py_INCREF(Py_None
); resultobj
= Py_None
;
14380 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14381 PyObject
*resultobj
;
14382 wxDC
*arg1
= (wxDC
*) 0 ;
14384 PyObject
* obj0
= 0 ;
14385 char *kwnames
[] = {
14386 (char *) "self", NULL
14389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14399 wxPoint
* resultptr
;
14400 resultptr
= new wxPoint((wxPoint
&) result
);
14401 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
14409 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14410 PyObject
*resultobj
;
14411 wxDC
*arg1
= (wxDC
*) 0 ;
14412 int *arg2
= (int *) 0 ;
14413 int *arg3
= (int *) 0 ;
14416 PyObject
* obj0
= 0 ;
14417 char *kwnames
[] = {
14418 (char *) "self", NULL
14423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14427 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14429 wxPyEndAllowThreads(__tstate
);
14430 if (PyErr_Occurred()) SWIG_fail
;
14432 Py_INCREF(Py_None
); resultobj
= Py_None
;
14434 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14435 resultobj
= t_output_helper(resultobj
,o
);
14438 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14439 resultobj
= t_output_helper(resultobj
,o
);
14447 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14448 PyObject
*resultobj
;
14449 wxDC
*arg1
= (wxDC
*) 0 ;
14452 PyObject
* obj0
= 0 ;
14453 PyObject
* obj1
= 0 ;
14454 PyObject
* obj2
= 0 ;
14455 char *kwnames
[] = {
14456 (char *) "self",(char *) "x",(char *) "y", NULL
14459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14462 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14466 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14467 if (PyErr_Occurred()) SWIG_fail
;
14470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14476 Py_INCREF(Py_None
); resultobj
= Py_None
;
14483 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14484 PyObject
*resultobj
;
14485 wxDC
*arg1
= (wxDC
*) 0 ;
14488 PyObject
* obj0
= 0 ;
14489 PyObject
* obj1
= 0 ;
14490 PyObject
* obj2
= 0 ;
14491 char *kwnames
[] = {
14492 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14498 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14499 if (PyErr_Occurred()) SWIG_fail
;
14502 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
14503 if (PyErr_Occurred()) SWIG_fail
;
14506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14507 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14509 wxPyEndAllowThreads(__tstate
);
14510 if (PyErr_Occurred()) SWIG_fail
;
14512 Py_INCREF(Py_None
); resultobj
= Py_None
;
14519 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14520 PyObject
*resultobj
;
14521 wxDC
*arg1
= (wxDC
*) 0 ;
14523 PyObject
* obj0
= 0 ;
14524 char *kwnames
[] = {
14525 (char *) "self", NULL
14528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14532 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14534 wxPyEndAllowThreads(__tstate
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14537 resultobj
= SWIG_PyObj_FromInt((int)result
);
14544 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14545 PyObject
*resultobj
;
14546 wxDC
*arg1
= (wxDC
*) 0 ;
14548 PyObject
* obj0
= 0 ;
14549 PyObject
* obj1
= 0 ;
14550 char *kwnames
[] = {
14551 (char *) "self",(char *) "function", NULL
14554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14557 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14558 if (PyErr_Occurred()) SWIG_fail
;
14561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14562 (arg1
)->SetLogicalFunction(arg2
);
14564 wxPyEndAllowThreads(__tstate
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14567 Py_INCREF(Py_None
); resultobj
= Py_None
;
14574 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
;
14576 wxDC
*arg1
= (wxDC
*) 0 ;
14578 PyObject
* obj0
= 0 ;
14579 PyObject
* obj1
= 0 ;
14580 char *kwnames
[] = {
14581 (char *) "self",(char *) "opt", NULL
14584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14587 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14592 (arg1
)->SetOptimization(arg2
);
14594 wxPyEndAllowThreads(__tstate
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14597 Py_INCREF(Py_None
); resultobj
= Py_None
;
14604 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14605 PyObject
*resultobj
;
14606 wxDC
*arg1
= (wxDC
*) 0 ;
14608 PyObject
* obj0
= 0 ;
14609 char *kwnames
[] = {
14610 (char *) "self", NULL
14613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14617 result
= (bool)(arg1
)->GetOptimization();
14619 wxPyEndAllowThreads(__tstate
);
14620 if (PyErr_Occurred()) SWIG_fail
;
14622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14629 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14630 PyObject
*resultobj
;
14631 wxDC
*arg1
= (wxDC
*) 0 ;
14634 PyObject
* obj0
= 0 ;
14635 PyObject
* obj1
= 0 ;
14636 PyObject
* obj2
= 0 ;
14637 char *kwnames
[] = {
14638 (char *) "self",(char *) "x",(char *) "y", NULL
14641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14644 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14645 if (PyErr_Occurred()) SWIG_fail
;
14648 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14653 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14655 wxPyEndAllowThreads(__tstate
);
14656 if (PyErr_Occurred()) SWIG_fail
;
14658 Py_INCREF(Py_None
); resultobj
= Py_None
;
14665 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14666 PyObject
*resultobj
;
14667 wxDC
*arg1
= (wxDC
*) 0 ;
14668 PyObject
* obj0
= 0 ;
14669 char *kwnames
[] = {
14670 (char *) "self", NULL
14673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14677 (arg1
)->ResetBoundingBox();
14679 wxPyEndAllowThreads(__tstate
);
14680 if (PyErr_Occurred()) SWIG_fail
;
14682 Py_INCREF(Py_None
); resultobj
= Py_None
;
14689 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14690 PyObject
*resultobj
;
14691 wxDC
*arg1
= (wxDC
*) 0 ;
14693 PyObject
* obj0
= 0 ;
14694 char *kwnames
[] = {
14695 (char *) "self", NULL
14698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14702 result
= (int)((wxDC
const *)arg1
)->MinX();
14704 wxPyEndAllowThreads(__tstate
);
14705 if (PyErr_Occurred()) SWIG_fail
;
14707 resultobj
= SWIG_PyObj_FromInt((int)result
);
14714 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14715 PyObject
*resultobj
;
14716 wxDC
*arg1
= (wxDC
*) 0 ;
14718 PyObject
* obj0
= 0 ;
14719 char *kwnames
[] = {
14720 (char *) "self", NULL
14723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14727 result
= (int)((wxDC
const *)arg1
)->MaxX();
14729 wxPyEndAllowThreads(__tstate
);
14730 if (PyErr_Occurred()) SWIG_fail
;
14732 resultobj
= SWIG_PyObj_FromInt((int)result
);
14739 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14740 PyObject
*resultobj
;
14741 wxDC
*arg1
= (wxDC
*) 0 ;
14743 PyObject
* obj0
= 0 ;
14744 char *kwnames
[] = {
14745 (char *) "self", NULL
14748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14752 result
= (int)((wxDC
const *)arg1
)->MinY();
14754 wxPyEndAllowThreads(__tstate
);
14755 if (PyErr_Occurred()) SWIG_fail
;
14757 resultobj
= SWIG_PyObj_FromInt((int)result
);
14764 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14765 PyObject
*resultobj
;
14766 wxDC
*arg1
= (wxDC
*) 0 ;
14768 PyObject
* obj0
= 0 ;
14769 char *kwnames
[] = {
14770 (char *) "self", NULL
14773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14777 result
= (int)((wxDC
const *)arg1
)->MaxY();
14779 wxPyEndAllowThreads(__tstate
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14782 resultobj
= SWIG_PyObj_FromInt((int)result
);
14789 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
;
14791 wxDC
*arg1
= (wxDC
*) 0 ;
14792 int *arg2
= (int *) 0 ;
14793 int *arg3
= (int *) 0 ;
14794 int *arg4
= (int *) 0 ;
14795 int *arg5
= (int *) 0 ;
14800 PyObject
* obj0
= 0 ;
14801 char *kwnames
[] = {
14802 (char *) "self", NULL
14809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14813 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14815 wxPyEndAllowThreads(__tstate
);
14816 if (PyErr_Occurred()) SWIG_fail
;
14818 Py_INCREF(Py_None
); resultobj
= Py_None
;
14820 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14821 resultobj
= t_output_helper(resultobj
,o
);
14824 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14825 resultobj
= t_output_helper(resultobj
,o
);
14828 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14829 resultobj
= t_output_helper(resultobj
,o
);
14832 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14833 resultobj
= t_output_helper(resultobj
,o
);
14841 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
;
14843 wxDC
*arg1
= (wxDC
*) 0 ;
14844 PyObject
*arg2
= (PyObject
*) 0 ;
14845 PyObject
*arg3
= (PyObject
*) 0 ;
14846 PyObject
*arg4
= (PyObject
*) 0 ;
14848 PyObject
* obj0
= 0 ;
14849 PyObject
* obj1
= 0 ;
14850 PyObject
* obj2
= 0 ;
14851 PyObject
* obj3
= 0 ;
14852 char *kwnames
[] = {
14853 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14863 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14865 wxPyEndAllowThreads(__tstate
);
14866 if (PyErr_Occurred()) SWIG_fail
;
14868 resultobj
= result
;
14875 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14876 PyObject
*resultobj
;
14877 wxDC
*arg1
= (wxDC
*) 0 ;
14878 PyObject
*arg2
= (PyObject
*) 0 ;
14879 PyObject
*arg3
= (PyObject
*) 0 ;
14880 PyObject
*arg4
= (PyObject
*) 0 ;
14882 PyObject
* obj0
= 0 ;
14883 PyObject
* obj1
= 0 ;
14884 PyObject
* obj2
= 0 ;
14885 PyObject
* obj3
= 0 ;
14886 char *kwnames
[] = {
14887 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14897 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14899 wxPyEndAllowThreads(__tstate
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14902 resultobj
= result
;
14909 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14910 PyObject
*resultobj
;
14911 wxDC
*arg1
= (wxDC
*) 0 ;
14912 PyObject
*arg2
= (PyObject
*) 0 ;
14913 PyObject
*arg3
= (PyObject
*) 0 ;
14914 PyObject
*arg4
= (PyObject
*) 0 ;
14916 PyObject
* obj0
= 0 ;
14917 PyObject
* obj1
= 0 ;
14918 PyObject
* obj2
= 0 ;
14919 PyObject
* obj3
= 0 ;
14920 char *kwnames
[] = {
14921 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14931 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14933 wxPyEndAllowThreads(__tstate
);
14934 if (PyErr_Occurred()) SWIG_fail
;
14936 resultobj
= result
;
14943 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14944 PyObject
*resultobj
;
14945 wxDC
*arg1
= (wxDC
*) 0 ;
14946 PyObject
*arg2
= (PyObject
*) 0 ;
14947 PyObject
*arg3
= (PyObject
*) 0 ;
14948 PyObject
*arg4
= (PyObject
*) 0 ;
14950 PyObject
* obj0
= 0 ;
14951 PyObject
* obj1
= 0 ;
14952 PyObject
* obj2
= 0 ;
14953 PyObject
* obj3
= 0 ;
14954 char *kwnames
[] = {
14955 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14965 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14967 wxPyEndAllowThreads(__tstate
);
14968 if (PyErr_Occurred()) SWIG_fail
;
14970 resultobj
= result
;
14977 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14978 PyObject
*resultobj
;
14979 wxDC
*arg1
= (wxDC
*) 0 ;
14980 PyObject
*arg2
= (PyObject
*) 0 ;
14981 PyObject
*arg3
= (PyObject
*) 0 ;
14982 PyObject
*arg4
= (PyObject
*) 0 ;
14984 PyObject
* obj0
= 0 ;
14985 PyObject
* obj1
= 0 ;
14986 PyObject
* obj2
= 0 ;
14987 PyObject
* obj3
= 0 ;
14988 char *kwnames
[] = {
14989 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15001 wxPyEndAllowThreads(__tstate
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15004 resultobj
= result
;
15011 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15012 PyObject
*resultobj
;
15013 wxDC
*arg1
= (wxDC
*) 0 ;
15014 PyObject
*arg2
= (PyObject
*) 0 ;
15015 PyObject
*arg3
= (PyObject
*) 0 ;
15016 PyObject
*arg4
= (PyObject
*) 0 ;
15017 PyObject
*arg5
= (PyObject
*) 0 ;
15019 PyObject
* obj0
= 0 ;
15020 PyObject
* obj1
= 0 ;
15021 PyObject
* obj2
= 0 ;
15022 PyObject
* obj3
= 0 ;
15023 PyObject
* obj4
= 0 ;
15024 char *kwnames
[] = {
15025 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15036 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
15038 wxPyEndAllowThreads(__tstate
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15041 resultobj
= result
;
15048 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
15050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15051 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15053 return Py_BuildValue((char *)"");
15055 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15056 PyObject
*resultobj
;
15057 wxMemoryDC
*result
;
15058 char *kwnames
[] = {
15062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15065 result
= (wxMemoryDC
*)new wxMemoryDC();
15067 wxPyEndAllowThreads(__tstate
);
15068 if (PyErr_Occurred()) SWIG_fail
;
15070 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryDC
, 1);
15077 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15078 PyObject
*resultobj
;
15079 wxDC
*arg1
= (wxDC
*) 0 ;
15080 wxMemoryDC
*result
;
15081 PyObject
* obj0
= 0 ;
15082 char *kwnames
[] = {
15083 (char *) "oldDC", NULL
15086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15090 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15092 wxPyEndAllowThreads(__tstate
);
15093 if (PyErr_Occurred()) SWIG_fail
;
15095 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryDC
, 1);
15102 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15103 PyObject
*resultobj
;
15104 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15105 wxBitmap
*arg2
= 0 ;
15106 PyObject
* obj0
= 0 ;
15107 PyObject
* obj1
= 0 ;
15108 char *kwnames
[] = {
15109 (char *) "self",(char *) "bitmap", NULL
15112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15114 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15115 if (arg2
== NULL
) {
15116 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15120 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15122 wxPyEndAllowThreads(__tstate
);
15123 if (PyErr_Occurred()) SWIG_fail
;
15125 Py_INCREF(Py_None
); resultobj
= Py_None
;
15132 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
15134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15135 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15137 return Py_BuildValue((char *)"");
15139 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
15140 PyObject
*resultobj
;
15141 wxDC
*arg1
= (wxDC
*) 0 ;
15142 wxBitmap
*arg2
= 0 ;
15143 wxBufferedDC
*result
;
15144 PyObject
* obj0
= 0 ;
15145 PyObject
* obj1
= 0 ;
15147 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15149 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15150 if (arg2
== NULL
) {
15151 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15155 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15157 wxPyEndAllowThreads(__tstate
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15160 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
15167 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
15168 PyObject
*resultobj
;
15169 wxDC
*arg1
= (wxDC
*) 0 ;
15171 int arg3
= (int) wxBUFFER_DC_DEFAULT
;
15172 wxBufferedDC
*result
;
15174 PyObject
* obj0
= 0 ;
15175 PyObject
* obj1
= 0 ;
15176 PyObject
* obj2
= 0 ;
15178 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_BufferedDC",&obj0
,&obj1
,&obj2
)) goto fail
;
15179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15182 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15186 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15187 if (PyErr_Occurred()) SWIG_fail
;
15191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15192 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15197 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
15204 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15209 argc
= PyObject_Length(args
);
15210 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
15211 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15217 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15227 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15235 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15239 if ((argc
>= 2) && (argc
<= 3)) {
15243 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15252 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15256 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15259 SWIG_PyObj_AsInt(argv
[2]);
15260 if (PyErr_Occurred()) {
15268 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15274 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15279 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
15280 PyObject
*resultobj
;
15281 wxDC
*arg1
= (wxDC
*) 0 ;
15283 int arg3
= (int) wxBUFFER_DC_DEFAULT
;
15284 wxBufferedDC
*result
;
15286 PyObject
* obj0
= 0 ;
15287 PyObject
* obj1
= 0 ;
15288 PyObject
* obj2
= 0 ;
15290 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_BufferedDCInternalBuffer",&obj0
,&obj1
,&obj2
)) goto fail
;
15291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15294 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15298 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15299 if (PyErr_Occurred()) SWIG_fail
;
15303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15304 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
15306 wxPyEndAllowThreads(__tstate
);
15307 if (PyErr_Occurred()) SWIG_fail
;
15309 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
15316 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15317 PyObject
*resultobj
;
15318 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15319 PyObject
* obj0
= 0 ;
15320 char *kwnames
[] = {
15321 (char *) "self", NULL
15324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBufferedDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15330 wxPyEndAllowThreads(__tstate
);
15331 if (PyErr_Occurred()) SWIG_fail
;
15333 Py_INCREF(Py_None
); resultobj
= Py_None
;
15340 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
15342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15343 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15345 return Py_BuildValue((char *)"");
15347 static PyObject
*_wrap_new_BufferedPaintDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
15348 PyObject
*resultobj
;
15349 wxWindow
*arg1
= (wxWindow
*) 0 ;
15350 wxBitmap
*arg2
= 0 ;
15351 wxBufferedPaintDC
*result
;
15352 PyObject
* obj0
= 0 ;
15353 PyObject
* obj1
= 0 ;
15355 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedPaintDC",&obj0
,&obj1
)) goto fail
;
15356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15357 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15358 if (arg2
== NULL
) {
15359 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15363 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15365 wxPyEndAllowThreads(__tstate
);
15366 if (PyErr_Occurred()) SWIG_fail
;
15368 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedPaintDC
, 1);
15375 static PyObject
*_wrap_new_BufferedPaintDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
15376 PyObject
*resultobj
;
15377 wxWindow
*arg1
= (wxWindow
*) 0 ;
15378 int arg2
= (int) wxBUFFER_DC_DEFAULT
;
15379 wxBufferedPaintDC
*result
;
15380 PyObject
* obj0
= 0 ;
15381 PyObject
* obj1
= 0 ;
15383 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_BufferedPaintDC",&obj0
,&obj1
)) goto fail
;
15384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15387 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15388 if (PyErr_Occurred()) SWIG_fail
;
15392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15393 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,arg2
);
15395 wxPyEndAllowThreads(__tstate
);
15396 if (PyErr_Occurred()) SWIG_fail
;
15398 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedPaintDC
, 1);
15405 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
) {
15410 argc
= PyObject_Length(args
);
15411 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15412 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15414 if ((argc
>= 1) && (argc
<= 2)) {
15418 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
15427 return _wrap_new_BufferedPaintDC__SWIG_1(self
,args
);
15430 SWIG_PyObj_AsInt(argv
[1]);
15431 if (PyErr_Occurred()) {
15439 return _wrap_new_BufferedPaintDC__SWIG_1(self
,args
);
15447 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
15457 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15465 return _wrap_new_BufferedPaintDC__SWIG_0(self
,args
);
15470 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedPaintDC'");
15475 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15478 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15480 return Py_BuildValue((char *)"");
15482 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15483 PyObject
*resultobj
;
15484 wxScreenDC
*result
;
15485 char *kwnames
[] = {
15489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15492 result
= (wxScreenDC
*)new wxScreenDC();
15494 wxPyEndAllowThreads(__tstate
);
15495 if (PyErr_Occurred()) SWIG_fail
;
15497 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScreenDC
, 1);
15504 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15505 PyObject
*resultobj
;
15506 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15507 wxWindow
*arg2
= (wxWindow
*) 0 ;
15509 PyObject
* obj0
= 0 ;
15510 PyObject
* obj1
= 0 ;
15511 char *kwnames
[] = {
15512 (char *) "self",(char *) "window", NULL
15515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15517 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15520 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15522 wxPyEndAllowThreads(__tstate
);
15523 if (PyErr_Occurred()) SWIG_fail
;
15525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15532 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15533 PyObject
*resultobj
;
15534 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15535 wxRect
*arg2
= (wxRect
*) NULL
;
15537 PyObject
* obj0
= 0 ;
15538 PyObject
* obj1
= 0 ;
15539 char *kwnames
[] = {
15540 (char *) "self",(char *) "rect", NULL
15543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15546 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15550 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15552 wxPyEndAllowThreads(__tstate
);
15553 if (PyErr_Occurred()) SWIG_fail
;
15555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15562 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15563 PyObject
*resultobj
;
15564 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15566 PyObject
* obj0
= 0 ;
15567 char *kwnames
[] = {
15568 (char *) "self", NULL
15571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15575 result
= (bool)(arg1
)->EndDrawingOnTop();
15577 wxPyEndAllowThreads(__tstate
);
15578 if (PyErr_Occurred()) SWIG_fail
;
15580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15587 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15590 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15592 return Py_BuildValue((char *)"");
15594 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15595 PyObject
*resultobj
;
15596 wxWindow
*arg1
= (wxWindow
*) 0 ;
15597 wxClientDC
*result
;
15598 PyObject
* obj0
= 0 ;
15599 char *kwnames
[] = {
15600 (char *) "win", NULL
15603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15607 result
= (wxClientDC
*)new wxClientDC(arg1
);
15609 wxPyEndAllowThreads(__tstate
);
15610 if (PyErr_Occurred()) SWIG_fail
;
15612 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClientDC
, 1);
15619 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
15621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15622 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15624 return Py_BuildValue((char *)"");
15626 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15627 PyObject
*resultobj
;
15628 wxWindow
*arg1
= (wxWindow
*) 0 ;
15630 PyObject
* obj0
= 0 ;
15631 char *kwnames
[] = {
15632 (char *) "win", NULL
15635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15639 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15641 wxPyEndAllowThreads(__tstate
);
15642 if (PyErr_Occurred()) SWIG_fail
;
15644 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintDC
, 1);
15651 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15654 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15656 return Py_BuildValue((char *)"");
15658 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15659 PyObject
*resultobj
;
15660 wxWindow
*arg1
= (wxWindow
*) 0 ;
15661 wxWindowDC
*result
;
15662 PyObject
* obj0
= 0 ;
15663 char *kwnames
[] = {
15664 (char *) "win", NULL
15667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15671 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15673 wxPyEndAllowThreads(__tstate
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15676 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDC
, 1);
15683 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
15685 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15686 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15688 return Py_BuildValue((char *)"");
15690 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15691 PyObject
*resultobj
;
15694 wxMirrorDC
*result
;
15695 PyObject
* obj0
= 0 ;
15696 PyObject
* obj1
= 0 ;
15697 char *kwnames
[] = {
15698 (char *) "dc",(char *) "mirror", NULL
15701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15703 if (arg1
== NULL
) {
15704 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15707 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15712 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15714 wxPyEndAllowThreads(__tstate
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15717 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMirrorDC
, 1);
15724 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
15726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15727 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15729 return Py_BuildValue((char *)"");
15731 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15732 PyObject
*resultobj
;
15733 wxPrintData
*arg1
= 0 ;
15734 wxPostScriptDC
*result
;
15735 PyObject
* obj0
= 0 ;
15736 char *kwnames
[] = {
15737 (char *) "printData", NULL
15740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15742 if (arg1
== NULL
) {
15743 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15747 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15749 wxPyEndAllowThreads(__tstate
);
15750 if (PyErr_Occurred()) SWIG_fail
;
15752 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPostScriptDC
, 1);
15759 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15760 PyObject
*resultobj
;
15761 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15762 wxPrintData
*result
;
15763 PyObject
* obj0
= 0 ;
15764 char *kwnames
[] = {
15765 (char *) "self", NULL
15768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPostScriptDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15773 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15774 result
= (wxPrintData
*) &_result_ref
;
15777 wxPyEndAllowThreads(__tstate
);
15778 if (PyErr_Occurred()) SWIG_fail
;
15780 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
15787 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15788 PyObject
*resultobj
;
15789 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15790 wxPrintData
*arg2
= 0 ;
15791 PyObject
* obj0
= 0 ;
15792 PyObject
* obj1
= 0 ;
15793 char *kwnames
[] = {
15794 (char *) "self",(char *) "data", NULL
15797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPostScriptDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15799 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15800 if (arg2
== NULL
) {
15801 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15805 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15807 wxPyEndAllowThreads(__tstate
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15810 Py_INCREF(Py_None
); resultobj
= Py_None
;
15817 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15818 PyObject
*resultobj
;
15820 PyObject
* obj0
= 0 ;
15821 char *kwnames
[] = {
15822 (char *) "ppi", NULL
15825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15827 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
15828 if (PyErr_Occurred()) SWIG_fail
;
15831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15832 wxPostScriptDC::SetResolution(arg1
);
15834 wxPyEndAllowThreads(__tstate
);
15835 if (PyErr_Occurred()) SWIG_fail
;
15837 Py_INCREF(Py_None
); resultobj
= Py_None
;
15844 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15845 PyObject
*resultobj
;
15847 char *kwnames
[] = {
15851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15854 result
= (int)wxPostScriptDC::GetResolution();
15856 wxPyEndAllowThreads(__tstate
);
15857 if (PyErr_Occurred()) SWIG_fail
;
15859 resultobj
= SWIG_PyObj_FromInt((int)result
);
15866 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
15868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15869 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15871 return Py_BuildValue((char *)"");
15873 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15874 PyObject
*resultobj
;
15875 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15876 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15877 wxMetaFile
*result
;
15878 bool temp1
= False
;
15879 PyObject
* obj0
= 0 ;
15880 char *kwnames
[] = {
15881 (char *) "filename", NULL
15884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15887 arg1
= wxString_in_helper(obj0
);
15888 if (arg1
== NULL
) SWIG_fail
;
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15896 wxPyEndAllowThreads(__tstate
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15899 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFile
, 1);
15914 static PyObject
*_wrap_delete_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15915 PyObject
*resultobj
;
15916 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15917 PyObject
* obj0
= 0 ;
15918 char *kwnames
[] = {
15919 (char *) "self", NULL
15922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
15923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15928 wxPyEndAllowThreads(__tstate
);
15929 if (PyErr_Occurred()) SWIG_fail
;
15931 Py_INCREF(Py_None
); resultobj
= Py_None
;
15938 static PyObject
*_wrap_MetaFile_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
;
15940 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15942 PyObject
* obj0
= 0 ;
15943 char *kwnames
[] = {
15944 (char *) "self", NULL
15947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
15948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15951 result
= (bool)(arg1
)->Ok();
15953 wxPyEndAllowThreads(__tstate
);
15954 if (PyErr_Occurred()) SWIG_fail
;
15956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15963 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15964 PyObject
*resultobj
;
15965 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15966 int arg2
= (int) 0 ;
15967 int arg3
= (int) 0 ;
15969 PyObject
* obj0
= 0 ;
15970 PyObject
* obj1
= 0 ;
15971 PyObject
* obj2
= 0 ;
15972 char *kwnames
[] = {
15973 (char *) "self",(char *) "width",(char *) "height", NULL
15976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15980 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15981 if (PyErr_Occurred()) SWIG_fail
;
15986 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15987 if (PyErr_Occurred()) SWIG_fail
;
15991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15992 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
15994 wxPyEndAllowThreads(__tstate
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16004 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16005 PyObject
*resultobj
;
16006 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16008 PyObject
* obj0
= 0 ;
16009 char *kwnames
[] = {
16010 (char *) "self", NULL
16013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
16014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16017 result
= (arg1
)->GetSize();
16019 wxPyEndAllowThreads(__tstate
);
16020 if (PyErr_Occurred()) SWIG_fail
;
16023 wxSize
* resultptr
;
16024 resultptr
= new wxSize((wxSize
&) result
);
16025 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16033 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16034 PyObject
*resultobj
;
16035 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16037 PyObject
* obj0
= 0 ;
16038 char *kwnames
[] = {
16039 (char *) "self", NULL
16042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
16043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16046 result
= (int)(arg1
)->GetWidth();
16048 wxPyEndAllowThreads(__tstate
);
16049 if (PyErr_Occurred()) SWIG_fail
;
16051 resultobj
= SWIG_PyObj_FromInt((int)result
);
16058 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16059 PyObject
*resultobj
;
16060 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16062 PyObject
* obj0
= 0 ;
16063 char *kwnames
[] = {
16064 (char *) "self", NULL
16067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
16068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16071 result
= (int)(arg1
)->GetHeight();
16073 wxPyEndAllowThreads(__tstate
);
16074 if (PyErr_Occurred()) SWIG_fail
;
16076 resultobj
= SWIG_PyObj_FromInt((int)result
);
16083 static PyObject
*_wrap_MetaFile_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16084 PyObject
*resultobj
;
16085 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16087 PyObject
* obj0
= 0 ;
16088 char *kwnames
[] = {
16089 (char *) "self", NULL
16092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetFileName",kwnames
,&obj0
)) goto fail
;
16093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16097 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
16098 result
= (wxString
*) &_result_ref
;
16101 wxPyEndAllowThreads(__tstate
);
16102 if (PyErr_Occurred()) SWIG_fail
;
16106 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16108 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16117 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
16119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16120 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
16122 return Py_BuildValue((char *)"");
16124 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16125 PyObject
*resultobj
;
16126 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16127 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16128 int arg2
= (int) 0 ;
16129 int arg3
= (int) 0 ;
16130 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16131 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16132 wxMetaFileDC
*result
;
16133 bool temp1
= False
;
16134 bool temp4
= False
;
16135 PyObject
* obj0
= 0 ;
16136 PyObject
* obj1
= 0 ;
16137 PyObject
* obj2
= 0 ;
16138 PyObject
* obj3
= 0 ;
16139 char *kwnames
[] = {
16140 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
16143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16146 arg1
= wxString_in_helper(obj0
);
16147 if (arg1
== NULL
) SWIG_fail
;
16153 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16154 if (PyErr_Occurred()) SWIG_fail
;
16159 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16165 arg4
= wxString_in_helper(obj3
);
16166 if (arg4
== NULL
) SWIG_fail
;
16171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16172 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
16174 wxPyEndAllowThreads(__tstate
);
16175 if (PyErr_Occurred()) SWIG_fail
;
16177 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFileDC
, 1);
16200 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16201 PyObject
*resultobj
;
16202 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
16203 wxMetaFile
*result
;
16204 PyObject
* obj0
= 0 ;
16205 char *kwnames
[] = {
16206 (char *) "self", NULL
16209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
16210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFileDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16213 result
= (wxMetaFile
*)(arg1
)->Close();
16215 wxPyEndAllowThreads(__tstate
);
16216 if (PyErr_Occurred()) SWIG_fail
;
16218 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFile
, 0);
16225 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
16227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16228 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
16230 return Py_BuildValue((char *)"");
16232 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16233 PyObject
*resultobj
;
16234 wxPrintData
*arg1
= 0 ;
16235 wxPrinterDC
*result
;
16236 PyObject
* obj0
= 0 ;
16237 char *kwnames
[] = {
16238 (char *) "printData", NULL
16241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16243 if (arg1
== NULL
) {
16244 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16248 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16250 wxPyEndAllowThreads(__tstate
);
16251 if (PyErr_Occurred()) SWIG_fail
;
16253 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinterDC
, 1);
16260 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
16262 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16263 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16265 return Py_BuildValue((char *)"");
16267 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16268 PyObject
*resultobj
;
16271 int arg3
= (int) True
;
16272 int arg4
= (int) 1 ;
16273 wxImageList
*result
;
16274 PyObject
* obj0
= 0 ;
16275 PyObject
* obj1
= 0 ;
16276 PyObject
* obj2
= 0 ;
16277 PyObject
* obj3
= 0 ;
16278 char *kwnames
[] = {
16279 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16284 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16285 if (PyErr_Occurred()) SWIG_fail
;
16288 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16289 if (PyErr_Occurred()) SWIG_fail
;
16293 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16299 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16305 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16307 wxPyEndAllowThreads(__tstate
);
16308 if (PyErr_Occurred()) SWIG_fail
;
16311 resultobj
= wxPyMake_wxObject(result
);
16319 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16320 PyObject
*resultobj
;
16321 wxImageList
*arg1
= (wxImageList
*) 0 ;
16322 PyObject
* obj0
= 0 ;
16323 char *kwnames
[] = {
16324 (char *) "self", NULL
16327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16333 wxPyEndAllowThreads(__tstate
);
16334 if (PyErr_Occurred()) SWIG_fail
;
16336 Py_INCREF(Py_None
); resultobj
= Py_None
;
16343 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16344 PyObject
*resultobj
;
16345 wxImageList
*arg1
= (wxImageList
*) 0 ;
16346 wxBitmap
*arg2
= 0 ;
16347 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16348 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16350 PyObject
* obj0
= 0 ;
16351 PyObject
* obj1
= 0 ;
16352 PyObject
* obj2
= 0 ;
16353 char *kwnames
[] = {
16354 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16359 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16360 if (arg2
== NULL
) {
16361 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16364 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16365 if (arg3
== NULL
) {
16366 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16371 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16373 wxPyEndAllowThreads(__tstate
);
16374 if (PyErr_Occurred()) SWIG_fail
;
16376 resultobj
= SWIG_PyObj_FromInt((int)result
);
16383 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16384 PyObject
*resultobj
;
16385 wxImageList
*arg1
= (wxImageList
*) 0 ;
16386 wxBitmap
*arg2
= 0 ;
16387 wxColour
*arg3
= 0 ;
16390 PyObject
* obj0
= 0 ;
16391 PyObject
* obj1
= 0 ;
16392 PyObject
* obj2
= 0 ;
16393 char *kwnames
[] = {
16394 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16399 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16400 if (arg2
== NULL
) {
16401 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16405 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16409 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16411 wxPyEndAllowThreads(__tstate
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16414 resultobj
= SWIG_PyObj_FromInt((int)result
);
16421 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16422 PyObject
*resultobj
;
16423 wxImageList
*arg1
= (wxImageList
*) 0 ;
16426 PyObject
* obj0
= 0 ;
16427 PyObject
* obj1
= 0 ;
16428 char *kwnames
[] = {
16429 (char *) "self",(char *) "icon", NULL
16432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16434 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16435 if (arg2
== NULL
) {
16436 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16440 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16442 wxPyEndAllowThreads(__tstate
);
16443 if (PyErr_Occurred()) SWIG_fail
;
16445 resultobj
= SWIG_PyObj_FromInt((int)result
);
16452 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16453 PyObject
*resultobj
;
16454 wxImageList
*arg1
= (wxImageList
*) 0 ;
16456 wxBitmap
*arg3
= 0 ;
16457 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
16458 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
16460 PyObject
* obj0
= 0 ;
16461 PyObject
* obj1
= 0 ;
16462 PyObject
* obj2
= 0 ;
16463 PyObject
* obj3
= 0 ;
16464 char *kwnames
[] = {
16465 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
16468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16471 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16472 if (PyErr_Occurred()) SWIG_fail
;
16474 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16475 if (arg3
== NULL
) {
16476 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16479 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16480 if (arg4
== NULL
) {
16481 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16486 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
16488 wxPyEndAllowThreads(__tstate
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16498 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16499 PyObject
*resultobj
;
16500 wxImageList
*arg1
= (wxImageList
*) 0 ;
16505 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16506 bool arg7
= (bool) (bool)False
;
16508 PyObject
* obj0
= 0 ;
16509 PyObject
* obj1
= 0 ;
16510 PyObject
* obj2
= 0 ;
16511 PyObject
* obj3
= 0 ;
16512 PyObject
* obj4
= 0 ;
16513 PyObject
* obj5
= 0 ;
16514 PyObject
* obj6
= 0 ;
16515 char *kwnames
[] = {
16516 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16522 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16523 if (PyErr_Occurred()) SWIG_fail
;
16525 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16526 if (arg3
== NULL
) {
16527 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16530 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16534 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16535 if (PyErr_Occurred()) SWIG_fail
;
16539 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
16540 if (PyErr_Occurred()) SWIG_fail
;
16545 arg7
= (bool const) SWIG_PyObj_AsBool(obj6
);
16546 if (PyErr_Occurred()) SWIG_fail
;
16550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16551 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16553 wxPyEndAllowThreads(__tstate
);
16554 if (PyErr_Occurred()) SWIG_fail
;
16556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16563 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16564 PyObject
*resultobj
;
16565 wxImageList
*arg1
= (wxImageList
*) 0 ;
16567 PyObject
* obj0
= 0 ;
16568 char *kwnames
[] = {
16569 (char *) "self", NULL
16572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16576 result
= (int)(arg1
)->GetImageCount();
16578 wxPyEndAllowThreads(__tstate
);
16579 if (PyErr_Occurred()) SWIG_fail
;
16581 resultobj
= SWIG_PyObj_FromInt((int)result
);
16588 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16589 PyObject
*resultobj
;
16590 wxImageList
*arg1
= (wxImageList
*) 0 ;
16593 PyObject
* obj0
= 0 ;
16594 PyObject
* obj1
= 0 ;
16595 char *kwnames
[] = {
16596 (char *) "self",(char *) "index", NULL
16599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16602 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16607 result
= (bool)(arg1
)->Remove(arg2
);
16609 wxPyEndAllowThreads(__tstate
);
16610 if (PyErr_Occurred()) SWIG_fail
;
16612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16619 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16620 PyObject
*resultobj
;
16621 wxImageList
*arg1
= (wxImageList
*) 0 ;
16623 PyObject
* obj0
= 0 ;
16624 char *kwnames
[] = {
16625 (char *) "self", NULL
16628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16632 result
= (bool)(arg1
)->RemoveAll();
16634 wxPyEndAllowThreads(__tstate
);
16635 if (PyErr_Occurred()) SWIG_fail
;
16637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16644 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16645 PyObject
*resultobj
;
16646 wxImageList
*arg1
= (wxImageList
*) 0 ;
16652 PyObject
* obj0
= 0 ;
16653 PyObject
* obj1
= 0 ;
16654 char *kwnames
[] = {
16655 (char *) "self",(char *) "index", NULL
16660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16663 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16664 if (PyErr_Occurred()) SWIG_fail
;
16667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16668 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16670 wxPyEndAllowThreads(__tstate
);
16671 if (PyErr_Occurred()) SWIG_fail
;
16673 Py_INCREF(Py_None
); resultobj
= Py_None
;
16675 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16676 resultobj
= t_output_helper(resultobj
,o
);
16679 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
16680 resultobj
= t_output_helper(resultobj
,o
);
16688 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
16690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16691 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16693 return Py_BuildValue((char *)"");
16695 static int _wrap_NORMAL_FONT_set(PyObject
*) {
16696 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16701 static PyObject
*_wrap_NORMAL_FONT_get() {
16704 pyobj
= SWIG_NewPointerObj((void *) wxNORMAL_FONT
, SWIGTYPE_p_wxFont
, 0);
16709 static int _wrap_SMALL_FONT_set(PyObject
*) {
16710 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16715 static PyObject
*_wrap_SMALL_FONT_get() {
16718 pyobj
= SWIG_NewPointerObj((void *) wxSMALL_FONT
, SWIGTYPE_p_wxFont
, 0);
16723 static int _wrap_ITALIC_FONT_set(PyObject
*) {
16724 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16729 static PyObject
*_wrap_ITALIC_FONT_get() {
16732 pyobj
= SWIG_NewPointerObj((void *) wxITALIC_FONT
, SWIGTYPE_p_wxFont
, 0);
16737 static int _wrap_SWISS_FONT_set(PyObject
*) {
16738 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16743 static PyObject
*_wrap_SWISS_FONT_get() {
16746 pyobj
= SWIG_NewPointerObj((void *) wxSWISS_FONT
, SWIGTYPE_p_wxFont
, 0);
16751 static int _wrap_RED_PEN_set(PyObject
*) {
16752 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16757 static PyObject
*_wrap_RED_PEN_get() {
16760 pyobj
= SWIG_NewPointerObj((void *) wxRED_PEN
, SWIGTYPE_p_wxPen
, 0);
16765 static int _wrap_CYAN_PEN_set(PyObject
*) {
16766 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16771 static PyObject
*_wrap_CYAN_PEN_get() {
16774 pyobj
= SWIG_NewPointerObj((void *) wxCYAN_PEN
, SWIGTYPE_p_wxPen
, 0);
16779 static int _wrap_GREEN_PEN_set(PyObject
*) {
16780 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16785 static PyObject
*_wrap_GREEN_PEN_get() {
16788 pyobj
= SWIG_NewPointerObj((void *) wxGREEN_PEN
, SWIGTYPE_p_wxPen
, 0);
16793 static int _wrap_BLACK_PEN_set(PyObject
*) {
16794 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16799 static PyObject
*_wrap_BLACK_PEN_get() {
16802 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_PEN
, SWIGTYPE_p_wxPen
, 0);
16807 static int _wrap_WHITE_PEN_set(PyObject
*) {
16808 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16813 static PyObject
*_wrap_WHITE_PEN_get() {
16816 pyobj
= SWIG_NewPointerObj((void *) wxWHITE_PEN
, SWIGTYPE_p_wxPen
, 0);
16821 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
16822 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16827 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16830 pyobj
= SWIG_NewPointerObj((void *) wxTRANSPARENT_PEN
, SWIGTYPE_p_wxPen
, 0);
16835 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
16836 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16841 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16844 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_DASHED_PEN
, SWIGTYPE_p_wxPen
, 0);
16849 static int _wrap_GREY_PEN_set(PyObject
*) {
16850 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16855 static PyObject
*_wrap_GREY_PEN_get() {
16858 pyobj
= SWIG_NewPointerObj((void *) wxGREY_PEN
, SWIGTYPE_p_wxPen
, 0);
16863 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
16864 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16869 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16872 pyobj
= SWIG_NewPointerObj((void *) wxMEDIUM_GREY_PEN
, SWIGTYPE_p_wxPen
, 0);
16877 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
16878 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16883 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16886 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY_PEN
, SWIGTYPE_p_wxPen
, 0);
16891 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
16892 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16897 static PyObject
*_wrap_BLUE_BRUSH_get() {
16900 pyobj
= SWIG_NewPointerObj((void *) wxBLUE_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16905 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
16906 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16911 static PyObject
*_wrap_GREEN_BRUSH_get() {
16914 pyobj
= SWIG_NewPointerObj((void *) wxGREEN_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16919 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
16920 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16925 static PyObject
*_wrap_WHITE_BRUSH_get() {
16928 pyobj
= SWIG_NewPointerObj((void *) wxWHITE_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16933 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
16934 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16939 static PyObject
*_wrap_BLACK_BRUSH_get() {
16942 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16947 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
16948 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16953 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16956 pyobj
= SWIG_NewPointerObj((void *) wxTRANSPARENT_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16961 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
16962 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16967 static PyObject
*_wrap_CYAN_BRUSH_get() {
16970 pyobj
= SWIG_NewPointerObj((void *) wxCYAN_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16975 static int _wrap_RED_BRUSH_set(PyObject
*) {
16976 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16981 static PyObject
*_wrap_RED_BRUSH_get() {
16984 pyobj
= SWIG_NewPointerObj((void *) wxRED_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16989 static int _wrap_GREY_BRUSH_set(PyObject
*) {
16990 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16995 static PyObject
*_wrap_GREY_BRUSH_get() {
16998 pyobj
= SWIG_NewPointerObj((void *) wxGREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
17003 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
17004 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
17009 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
17012 pyobj
= SWIG_NewPointerObj((void *) wxMEDIUM_GREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
17017 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
17018 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
17023 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
17026 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
17031 static int _wrap_BLACK_set(PyObject
*) {
17032 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
17037 static PyObject
*_wrap_BLACK_get() {
17040 pyobj
= SWIG_NewPointerObj((void *) wxBLACK
, SWIGTYPE_p_wxColour
, 0);
17045 static int _wrap_WHITE_set(PyObject
*) {
17046 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
17051 static PyObject
*_wrap_WHITE_get() {
17054 pyobj
= SWIG_NewPointerObj((void *) wxWHITE
, SWIGTYPE_p_wxColour
, 0);
17059 static int _wrap_RED_set(PyObject
*) {
17060 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
17065 static PyObject
*_wrap_RED_get() {
17068 pyobj
= SWIG_NewPointerObj((void *) wxRED
, SWIGTYPE_p_wxColour
, 0);
17073 static int _wrap_BLUE_set(PyObject
*) {
17074 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
17079 static PyObject
*_wrap_BLUE_get() {
17082 pyobj
= SWIG_NewPointerObj((void *) wxBLUE
, SWIGTYPE_p_wxColour
, 0);
17087 static int _wrap_GREEN_set(PyObject
*) {
17088 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
17093 static PyObject
*_wrap_GREEN_get() {
17096 pyobj
= SWIG_NewPointerObj((void *) wxGREEN
, SWIGTYPE_p_wxColour
, 0);
17101 static int _wrap_CYAN_set(PyObject
*) {
17102 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
17107 static PyObject
*_wrap_CYAN_get() {
17110 pyobj
= SWIG_NewPointerObj((void *) wxCYAN
, SWIGTYPE_p_wxColour
, 0);
17115 static int _wrap_LIGHT_GREY_set(PyObject
*) {
17116 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
17121 static PyObject
*_wrap_LIGHT_GREY_get() {
17124 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY
, SWIGTYPE_p_wxColour
, 0);
17129 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
17130 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
17135 static PyObject
*_wrap_STANDARD_CURSOR_get() {
17138 pyobj
= SWIG_NewPointerObj((void *) wxSTANDARD_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
17143 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
17144 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
17149 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
17152 pyobj
= SWIG_NewPointerObj((void *) wxHOURGLASS_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
17157 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
17158 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
17163 static PyObject
*_wrap_CROSS_CURSOR_get() {
17166 pyobj
= SWIG_NewPointerObj((void *) wxCROSS_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
17171 static int _wrap_NullBitmap_set(PyObject
*) {
17172 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
17177 static PyObject
*_wrap_NullBitmap_get() {
17180 pyobj
= SWIG_NewPointerObj((void *) &wxNullBitmap
, SWIGTYPE_p_wxBitmap
, 0);
17185 static int _wrap_NullIcon_set(PyObject
*) {
17186 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
17191 static PyObject
*_wrap_NullIcon_get() {
17194 pyobj
= SWIG_NewPointerObj((void *) &wxNullIcon
, SWIGTYPE_p_wxIcon
, 0);
17199 static int _wrap_NullCursor_set(PyObject
*) {
17200 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
17205 static PyObject
*_wrap_NullCursor_get() {
17208 pyobj
= SWIG_NewPointerObj((void *) &wxNullCursor
, SWIGTYPE_p_wxCursor
, 0);
17213 static int _wrap_NullPen_set(PyObject
*) {
17214 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
17219 static PyObject
*_wrap_NullPen_get() {
17222 pyobj
= SWIG_NewPointerObj((void *) &wxNullPen
, SWIGTYPE_p_wxPen
, 0);
17227 static int _wrap_NullBrush_set(PyObject
*) {
17228 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17233 static PyObject
*_wrap_NullBrush_get() {
17236 pyobj
= SWIG_NewPointerObj((void *) &wxNullBrush
, SWIGTYPE_p_wxBrush
, 0);
17241 static int _wrap_NullPalette_set(PyObject
*) {
17242 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17247 static PyObject
*_wrap_NullPalette_get() {
17250 pyobj
= SWIG_NewPointerObj((void *) &wxNullPalette
, SWIGTYPE_p_wxPalette
, 0);
17255 static int _wrap_NullFont_set(PyObject
*) {
17256 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17261 static PyObject
*_wrap_NullFont_get() {
17264 pyobj
= SWIG_NewPointerObj((void *) &wxNullFont
, SWIGTYPE_p_wxFont
, 0);
17269 static int _wrap_NullColour_set(PyObject
*) {
17270 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17275 static PyObject
*_wrap_NullColour_get() {
17278 pyobj
= SWIG_NewPointerObj((void *) &wxNullColour
, SWIGTYPE_p_wxColour
, 0);
17283 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17284 PyObject
*resultobj
;
17285 wxPenList
*arg1
= (wxPenList
*) 0 ;
17286 wxPen
*arg2
= (wxPen
*) 0 ;
17287 PyObject
* obj0
= 0 ;
17288 PyObject
* obj1
= 0 ;
17289 char *kwnames
[] = {
17290 (char *) "self",(char *) "pen", NULL
17293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17295 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17298 (arg1
)->AddPen(arg2
);
17300 wxPyEndAllowThreads(__tstate
);
17301 if (PyErr_Occurred()) SWIG_fail
;
17303 Py_INCREF(Py_None
); resultobj
= Py_None
;
17310 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17311 PyObject
*resultobj
;
17312 wxPenList
*arg1
= (wxPenList
*) 0 ;
17313 wxColour
*arg2
= 0 ;
17318 PyObject
* obj0
= 0 ;
17319 PyObject
* obj1
= 0 ;
17320 PyObject
* obj2
= 0 ;
17321 PyObject
* obj3
= 0 ;
17322 char *kwnames
[] = {
17323 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17330 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17333 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17337 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17342 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17344 wxPyEndAllowThreads(__tstate
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17347 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
17354 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17356 wxPenList
*arg1
= (wxPenList
*) 0 ;
17357 wxPen
*arg2
= (wxPen
*) 0 ;
17358 PyObject
* obj0
= 0 ;
17359 PyObject
* obj1
= 0 ;
17360 char *kwnames
[] = {
17361 (char *) "self",(char *) "pen", NULL
17364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17366 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17369 (arg1
)->RemovePen(arg2
);
17371 wxPyEndAllowThreads(__tstate
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17374 Py_INCREF(Py_None
); resultobj
= Py_None
;
17381 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17382 PyObject
*resultobj
;
17383 wxPenList
*arg1
= (wxPenList
*) 0 ;
17385 PyObject
* obj0
= 0 ;
17386 char *kwnames
[] = {
17387 (char *) "self", NULL
17390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17394 result
= (int)(arg1
)->GetCount();
17396 wxPyEndAllowThreads(__tstate
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17399 resultobj
= SWIG_PyObj_FromInt((int)result
);
17406 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
17408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17409 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17411 return Py_BuildValue((char *)"");
17413 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17414 PyObject
*resultobj
;
17415 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17416 wxBrush
*arg2
= (wxBrush
*) 0 ;
17417 PyObject
* obj0
= 0 ;
17418 PyObject
* obj1
= 0 ;
17419 char *kwnames
[] = {
17420 (char *) "self",(char *) "brush", NULL
17423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17425 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17428 (arg1
)->AddBrush(arg2
);
17430 wxPyEndAllowThreads(__tstate
);
17431 if (PyErr_Occurred()) SWIG_fail
;
17433 Py_INCREF(Py_None
); resultobj
= Py_None
;
17440 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17441 PyObject
*resultobj
;
17442 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17443 wxColour
*arg2
= 0 ;
17447 PyObject
* obj0
= 0 ;
17448 PyObject
* obj1
= 0 ;
17449 PyObject
* obj2
= 0 ;
17450 char *kwnames
[] = {
17451 (char *) "self",(char *) "colour",(char *) "style", NULL
17454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17458 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17461 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17466 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17468 wxPyEndAllowThreads(__tstate
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17471 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
17478 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17479 PyObject
*resultobj
;
17480 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17481 wxBrush
*arg2
= (wxBrush
*) 0 ;
17482 PyObject
* obj0
= 0 ;
17483 PyObject
* obj1
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "self",(char *) "brush", NULL
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17490 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17493 (arg1
)->RemoveBrush(arg2
);
17495 wxPyEndAllowThreads(__tstate
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17498 Py_INCREF(Py_None
); resultobj
= Py_None
;
17505 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17506 PyObject
*resultobj
;
17507 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17509 PyObject
* obj0
= 0 ;
17510 char *kwnames
[] = {
17511 (char *) "self", NULL
17514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17518 result
= (int)(arg1
)->GetCount();
17520 wxPyEndAllowThreads(__tstate
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17523 resultobj
= SWIG_PyObj_FromInt((int)result
);
17530 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
17532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17533 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17535 return Py_BuildValue((char *)"");
17537 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17538 PyObject
*resultobj
;
17539 wxColourDatabase
*result
;
17540 char *kwnames
[] = {
17544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17547 result
= (wxColourDatabase
*)new wxColourDatabase();
17549 wxPyEndAllowThreads(__tstate
);
17550 if (PyErr_Occurred()) SWIG_fail
;
17552 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDatabase
, 1);
17559 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17560 PyObject
*resultobj
;
17561 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17562 PyObject
* obj0
= 0 ;
17563 char *kwnames
[] = {
17564 (char *) "self", NULL
17567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17573 wxPyEndAllowThreads(__tstate
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17576 Py_INCREF(Py_None
); resultobj
= Py_None
;
17583 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17584 PyObject
*resultobj
;
17585 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17586 wxString
*arg2
= 0 ;
17588 bool temp2
= False
;
17589 PyObject
* obj0
= 0 ;
17590 PyObject
* obj1
= 0 ;
17591 char *kwnames
[] = {
17592 (char *) "self",(char *) "name", NULL
17595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17598 arg2
= wxString_in_helper(obj1
);
17599 if (arg2
== NULL
) SWIG_fail
;
17603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17604 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17606 wxPyEndAllowThreads(__tstate
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17610 wxColour
* resultptr
;
17611 resultptr
= new wxColour((wxColour
&) result
);
17612 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17628 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17629 PyObject
*resultobj
;
17630 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17631 wxColour
*arg2
= 0 ;
17634 PyObject
* obj0
= 0 ;
17635 PyObject
* obj1
= 0 ;
17636 char *kwnames
[] = {
17637 (char *) "self",(char *) "colour", NULL
17640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17644 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17648 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17650 wxPyEndAllowThreads(__tstate
);
17651 if (PyErr_Occurred()) SWIG_fail
;
17655 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17657 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17666 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17667 PyObject
*resultobj
;
17668 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17669 wxString
*arg2
= 0 ;
17670 wxColour
*arg3
= 0 ;
17671 bool temp2
= False
;
17673 PyObject
* obj0
= 0 ;
17674 PyObject
* obj1
= 0 ;
17675 PyObject
* obj2
= 0 ;
17676 char *kwnames
[] = {
17677 (char *) "self",(char *) "name",(char *) "colour", NULL
17680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17683 arg2
= wxString_in_helper(obj1
);
17684 if (arg2
== NULL
) SWIG_fail
;
17689 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17695 wxPyEndAllowThreads(__tstate
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17698 Py_INCREF(Py_None
); resultobj
= Py_None
;
17713 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17714 PyObject
*resultobj
;
17715 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17716 wxString
*arg2
= 0 ;
17720 bool temp2
= False
;
17721 PyObject
* obj0
= 0 ;
17722 PyObject
* obj1
= 0 ;
17723 PyObject
* obj2
= 0 ;
17724 PyObject
* obj3
= 0 ;
17725 PyObject
* obj4
= 0 ;
17726 char *kwnames
[] = {
17727 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17733 arg2
= wxString_in_helper(obj1
);
17734 if (arg2
== NULL
) SWIG_fail
;
17738 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17742 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17746 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17751 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17753 wxPyEndAllowThreads(__tstate
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17756 Py_INCREF(Py_None
); resultobj
= Py_None
;
17771 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
17773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17774 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17776 return Py_BuildValue((char *)"");
17778 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17779 PyObject
*resultobj
;
17780 wxFontList
*arg1
= (wxFontList
*) 0 ;
17781 wxFont
*arg2
= (wxFont
*) 0 ;
17782 PyObject
* obj0
= 0 ;
17783 PyObject
* obj1
= 0 ;
17784 char *kwnames
[] = {
17785 (char *) "self",(char *) "font", NULL
17788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17790 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17793 (arg1
)->AddFont(arg2
);
17795 wxPyEndAllowThreads(__tstate
);
17796 if (PyErr_Occurred()) SWIG_fail
;
17798 Py_INCREF(Py_None
); resultobj
= Py_None
;
17805 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17806 PyObject
*resultobj
;
17807 wxFontList
*arg1
= (wxFontList
*) 0 ;
17812 bool arg6
= (bool) False
;
17813 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17814 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17815 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17817 bool temp7
= False
;
17818 PyObject
* obj0
= 0 ;
17819 PyObject
* obj1
= 0 ;
17820 PyObject
* obj2
= 0 ;
17821 PyObject
* obj3
= 0 ;
17822 PyObject
* obj4
= 0 ;
17823 PyObject
* obj5
= 0 ;
17824 PyObject
* obj6
= 0 ;
17825 PyObject
* obj7
= 0 ;
17826 char *kwnames
[] = {
17827 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17833 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17837 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17838 if (PyErr_Occurred()) SWIG_fail
;
17841 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17842 if (PyErr_Occurred()) SWIG_fail
;
17845 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17846 if (PyErr_Occurred()) SWIG_fail
;
17850 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
17851 if (PyErr_Occurred()) SWIG_fail
;
17856 arg7
= wxString_in_helper(obj6
);
17857 if (arg7
== NULL
) SWIG_fail
;
17863 arg8
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj7
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17869 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17871 wxPyEndAllowThreads(__tstate
);
17872 if (PyErr_Occurred()) SWIG_fail
;
17874 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
17889 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17890 PyObject
*resultobj
;
17891 wxFontList
*arg1
= (wxFontList
*) 0 ;
17892 wxFont
*arg2
= (wxFont
*) 0 ;
17893 PyObject
* obj0
= 0 ;
17894 PyObject
* obj1
= 0 ;
17895 char *kwnames
[] = {
17896 (char *) "self",(char *) "font", NULL
17899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17901 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17904 (arg1
)->RemoveFont(arg2
);
17906 wxPyEndAllowThreads(__tstate
);
17907 if (PyErr_Occurred()) SWIG_fail
;
17909 Py_INCREF(Py_None
); resultobj
= Py_None
;
17916 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17917 PyObject
*resultobj
;
17918 wxFontList
*arg1
= (wxFontList
*) 0 ;
17920 PyObject
* obj0
= 0 ;
17921 char *kwnames
[] = {
17922 (char *) "self", NULL
17925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17929 result
= (int)(arg1
)->GetCount();
17931 wxPyEndAllowThreads(__tstate
);
17932 if (PyErr_Occurred()) SWIG_fail
;
17934 resultobj
= SWIG_PyObj_FromInt((int)result
);
17941 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
17943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17944 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17946 return Py_BuildValue((char *)"");
17948 static int _wrap_TheFontList_set(PyObject
*) {
17949 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17954 static PyObject
*_wrap_TheFontList_get() {
17957 pyobj
= SWIG_NewPointerObj((void *) wxTheFontList
, SWIGTYPE_p_wxFontList
, 0);
17962 static int _wrap_ThePenList_set(PyObject
*) {
17963 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17968 static PyObject
*_wrap_ThePenList_get() {
17971 pyobj
= SWIG_NewPointerObj((void *) wxThePenList
, SWIGTYPE_p_wxPenList
, 0);
17976 static int _wrap_TheBrushList_set(PyObject
*) {
17977 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17982 static PyObject
*_wrap_TheBrushList_get() {
17985 pyobj
= SWIG_NewPointerObj((void *) wxTheBrushList
, SWIGTYPE_p_wxBrushList
, 0);
17990 static int _wrap_TheColourDatabase_set(PyObject
*) {
17991 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17996 static PyObject
*_wrap_TheColourDatabase_get() {
17999 pyobj
= SWIG_NewPointerObj((void *) wxTheColourDatabase
, SWIGTYPE_p_wxColourDatabase
, 0);
18004 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18005 PyObject
*resultobj
;
18007 char *kwnames
[] = {
18011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
18013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18014 result
= (wxEffects
*)new wxEffects();
18016 wxPyEndAllowThreads(__tstate
);
18017 if (PyErr_Occurred()) SWIG_fail
;
18019 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEffects
, 1);
18026 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18027 PyObject
*resultobj
;
18028 wxEffects
*arg1
= (wxEffects
*) 0 ;
18030 PyObject
* obj0
= 0 ;
18031 char *kwnames
[] = {
18032 (char *) "self", NULL
18035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
18036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18039 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
18041 wxPyEndAllowThreads(__tstate
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18045 wxColour
* resultptr
;
18046 resultptr
= new wxColour((wxColour
&) result
);
18047 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18055 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18056 PyObject
*resultobj
;
18057 wxEffects
*arg1
= (wxEffects
*) 0 ;
18059 PyObject
* obj0
= 0 ;
18060 char *kwnames
[] = {
18061 (char *) "self", NULL
18064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
18065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18068 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
18070 wxPyEndAllowThreads(__tstate
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18074 wxColour
* resultptr
;
18075 resultptr
= new wxColour((wxColour
&) result
);
18076 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18084 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18085 PyObject
*resultobj
;
18086 wxEffects
*arg1
= (wxEffects
*) 0 ;
18088 PyObject
* obj0
= 0 ;
18089 char *kwnames
[] = {
18090 (char *) "self", NULL
18093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
18094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18097 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
18099 wxPyEndAllowThreads(__tstate
);
18100 if (PyErr_Occurred()) SWIG_fail
;
18103 wxColour
* resultptr
;
18104 resultptr
= new wxColour((wxColour
&) result
);
18105 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18113 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18114 PyObject
*resultobj
;
18115 wxEffects
*arg1
= (wxEffects
*) 0 ;
18117 PyObject
* obj0
= 0 ;
18118 char *kwnames
[] = {
18119 (char *) "self", NULL
18122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
18123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
18128 wxPyEndAllowThreads(__tstate
);
18129 if (PyErr_Occurred()) SWIG_fail
;
18132 wxColour
* resultptr
;
18133 resultptr
= new wxColour((wxColour
&) result
);
18134 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18142 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18143 PyObject
*resultobj
;
18144 wxEffects
*arg1
= (wxEffects
*) 0 ;
18146 PyObject
* obj0
= 0 ;
18147 char *kwnames
[] = {
18148 (char *) "self", NULL
18151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
18152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18155 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
18157 wxPyEndAllowThreads(__tstate
);
18158 if (PyErr_Occurred()) SWIG_fail
;
18161 wxColour
* resultptr
;
18162 resultptr
= new wxColour((wxColour
&) result
);
18163 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18171 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18172 PyObject
*resultobj
;
18173 wxEffects
*arg1
= (wxEffects
*) 0 ;
18174 wxColour
*arg2
= 0 ;
18176 PyObject
* obj0
= 0 ;
18177 PyObject
* obj1
= 0 ;
18178 char *kwnames
[] = {
18179 (char *) "self",(char *) "c", NULL
18182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18186 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18190 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
18192 wxPyEndAllowThreads(__tstate
);
18193 if (PyErr_Occurred()) SWIG_fail
;
18195 Py_INCREF(Py_None
); resultobj
= Py_None
;
18202 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18203 PyObject
*resultobj
;
18204 wxEffects
*arg1
= (wxEffects
*) 0 ;
18205 wxColour
*arg2
= 0 ;
18207 PyObject
* obj0
= 0 ;
18208 PyObject
* obj1
= 0 ;
18209 char *kwnames
[] = {
18210 (char *) "self",(char *) "c", NULL
18213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18217 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18221 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18226 Py_INCREF(Py_None
); resultobj
= Py_None
;
18233 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18234 PyObject
*resultobj
;
18235 wxEffects
*arg1
= (wxEffects
*) 0 ;
18236 wxColour
*arg2
= 0 ;
18238 PyObject
* obj0
= 0 ;
18239 PyObject
* obj1
= 0 ;
18240 char *kwnames
[] = {
18241 (char *) "self",(char *) "c", NULL
18244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18248 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18252 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18254 wxPyEndAllowThreads(__tstate
);
18255 if (PyErr_Occurred()) SWIG_fail
;
18257 Py_INCREF(Py_None
); resultobj
= Py_None
;
18264 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18265 PyObject
*resultobj
;
18266 wxEffects
*arg1
= (wxEffects
*) 0 ;
18267 wxColour
*arg2
= 0 ;
18269 PyObject
* obj0
= 0 ;
18270 PyObject
* obj1
= 0 ;
18271 char *kwnames
[] = {
18272 (char *) "self",(char *) "c", NULL
18275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18279 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18283 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18285 wxPyEndAllowThreads(__tstate
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18288 Py_INCREF(Py_None
); resultobj
= Py_None
;
18295 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18296 PyObject
*resultobj
;
18297 wxEffects
*arg1
= (wxEffects
*) 0 ;
18298 wxColour
*arg2
= 0 ;
18300 PyObject
* obj0
= 0 ;
18301 PyObject
* obj1
= 0 ;
18302 char *kwnames
[] = {
18303 (char *) "self",(char *) "c", NULL
18306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18310 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18314 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18316 wxPyEndAllowThreads(__tstate
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18319 Py_INCREF(Py_None
); resultobj
= Py_None
;
18326 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18327 PyObject
*resultobj
;
18328 wxEffects
*arg1
= (wxEffects
*) 0 ;
18329 wxColour
*arg2
= 0 ;
18330 wxColour
*arg3
= 0 ;
18331 wxColour
*arg4
= 0 ;
18332 wxColour
*arg5
= 0 ;
18333 wxColour
*arg6
= 0 ;
18339 PyObject
* obj0
= 0 ;
18340 PyObject
* obj1
= 0 ;
18341 PyObject
* obj2
= 0 ;
18342 PyObject
* obj3
= 0 ;
18343 PyObject
* obj4
= 0 ;
18344 PyObject
* obj5
= 0 ;
18345 char *kwnames
[] = {
18346 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18353 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18357 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18361 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18365 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18369 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18373 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18375 wxPyEndAllowThreads(__tstate
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18378 Py_INCREF(Py_None
); resultobj
= Py_None
;
18385 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18386 PyObject
*resultobj
;
18387 wxEffects
*arg1
= (wxEffects
*) 0 ;
18390 int arg4
= (int) 1 ;
18392 PyObject
* obj0
= 0 ;
18393 PyObject
* obj1
= 0 ;
18394 PyObject
* obj2
= 0 ;
18395 PyObject
* obj3
= 0 ;
18396 char *kwnames
[] = {
18397 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18402 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18403 if (arg2
== NULL
) {
18404 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18408 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18412 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18418 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18420 wxPyEndAllowThreads(__tstate
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18423 Py_INCREF(Py_None
); resultobj
= Py_None
;
18430 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18431 PyObject
*resultobj
;
18432 wxEffects
*arg1
= (wxEffects
*) 0 ;
18435 wxBitmap
*arg4
= 0 ;
18438 PyObject
* obj0
= 0 ;
18439 PyObject
* obj1
= 0 ;
18440 PyObject
* obj2
= 0 ;
18441 PyObject
* obj3
= 0 ;
18442 char *kwnames
[] = {
18443 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18450 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18452 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18453 if (arg3
== NULL
) {
18454 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18456 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18457 if (arg4
== NULL
) {
18458 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18462 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18464 wxPyEndAllowThreads(__tstate
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18474 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
18476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18477 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18479 return Py_BuildValue((char *)"");
18481 static PyMethodDef SwigMethods
[] = {
18482 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18483 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18484 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18485 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18486 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
18487 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
18488 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18489 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18490 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
18491 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
18492 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
18493 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
18494 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
18495 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18496 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
18497 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18498 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18499 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18500 { (char *)"Colour_InitFromName", (PyCFunction
) _wrap_Colour_InitFromName
, METH_VARARGS
| METH_KEYWORDS
},
18501 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
18502 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
18503 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18504 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18505 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18506 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18507 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18508 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
18509 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18510 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18511 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
18512 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18513 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18514 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18515 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18516 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18517 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
18518 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18519 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18520 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18521 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18522 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18523 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18524 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18525 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
},
18526 { (char *)"Pen_GetStipple", (PyCFunction
) _wrap_Pen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18527 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18528 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
18529 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
18530 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
18531 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18532 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
},
18533 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18534 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18535 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18536 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18537 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18538 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18539 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18540 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18541 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18542 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
18543 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18544 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18545 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18546 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18547 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18548 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18549 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
18550 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18551 { (char *)"Bitmap_GetHandle", (PyCFunction
) _wrap_Bitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18552 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18553 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18554 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18555 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18556 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18557 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
18558 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
18559 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
18560 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
18561 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18562 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
18563 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18564 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18565 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18566 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18567 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18568 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
},
18569 { (char *)"Bitmap_GetQuality", (PyCFunction
) _wrap_Bitmap_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
18570 { (char *)"Bitmap_SetQuality", (PyCFunction
) _wrap_Bitmap_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
18571 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
18572 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
18573 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
18574 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18575 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18576 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
18577 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
18578 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18579 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18580 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18581 { (char *)"Icon_GetHandle", (PyCFunction
) _wrap_Icon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18582 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18583 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18584 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18585 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18586 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18587 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18588 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18589 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18590 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
18591 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18592 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
18593 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18594 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18595 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18596 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18597 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18598 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18599 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18600 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
18601 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18602 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18603 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18604 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18605 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18606 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18607 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
18608 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
18609 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18610 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18611 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
18612 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18613 { (char *)"new_CursorFromBits", (PyCFunction
) _wrap_new_CursorFromBits
, METH_VARARGS
| METH_KEYWORDS
},
18614 { (char *)"Cursor_GetHandle", (PyCFunction
) _wrap_Cursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18615 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18616 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18617 { (char *)"Cursor_GetWidth", (PyCFunction
) _wrap_Cursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18618 { (char *)"Cursor_GetHeight", (PyCFunction
) _wrap_Cursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18619 { (char *)"Cursor_GetDepth", (PyCFunction
) _wrap_Cursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18620 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18621 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18622 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18623 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
18624 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
18625 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
18626 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18627 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
18628 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
18629 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18630 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
18631 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
18632 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
18633 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
18634 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
18635 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
18636 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
18637 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
18638 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
18639 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
18640 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
18641 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
18642 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
18643 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
18644 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
18645 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
18646 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
18647 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
18648 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
18649 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18650 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18651 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
18652 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18653 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18654 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
18655 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
18656 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
18657 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18658 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
18659 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18660 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
18661 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
18662 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
18663 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
18664 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
18665 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
18666 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18667 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18668 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
18669 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
18670 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18671 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18672 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18673 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18674 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18675 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18676 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18677 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18678 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18679 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18680 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18681 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18682 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18683 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18684 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18685 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18686 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
18687 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
18688 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
18689 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
18690 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
18691 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
18692 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
18693 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
18694 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18695 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18696 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18697 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18698 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
18699 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18700 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18701 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18702 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18703 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
18704 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
18705 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18706 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
18707 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18708 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18709 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
18710 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
18711 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18712 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18713 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18714 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
18715 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
18716 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
18717 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
18718 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
18719 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
18720 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
18721 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
18722 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
18723 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18724 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18725 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18726 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18727 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18728 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18729 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18730 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18731 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18732 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18733 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18734 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
18735 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
18736 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18737 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18738 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18739 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18740 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18741 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18742 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18743 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18744 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18745 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
18746 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18747 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
18748 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
18749 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
18750 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18751 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18752 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18753 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18754 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
18755 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18756 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18757 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
18758 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18759 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18760 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18761 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18762 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
18763 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
18764 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
18765 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
18766 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
18767 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
18768 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
18769 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
18770 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18771 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18772 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
18773 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
18774 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18775 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18776 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18777 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18778 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18779 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18780 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
18781 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
18782 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
18783 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
18784 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
18785 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18786 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
18787 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18788 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18789 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
18790 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
18791 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
18792 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18793 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
18794 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18795 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18796 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
18797 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
18798 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18799 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18800 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
18801 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
18802 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
18803 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18804 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18805 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
},
18806 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
18807 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
},
18808 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18809 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
},
18810 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
18811 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
},
18812 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
18813 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
},
18814 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
18815 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
},
18816 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
18817 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
},
18818 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
18819 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
},
18820 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
18821 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
18822 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18823 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18824 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
18825 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18826 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18827 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
},
18828 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
18829 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
},
18830 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
18831 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
18832 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
},
18833 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
18834 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
},
18835 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18836 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
},
18837 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
18838 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
},
18839 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
18840 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
},
18841 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
18842 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
18843 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
18844 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
18845 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
18846 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
18847 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18848 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
18849 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
18850 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
18851 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
18852 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
18853 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
18854 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18855 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18856 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18857 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18858 { (char *)"DC_SetClippingRegionXY", (PyCFunction
) _wrap_DC_SetClippingRegionXY
, METH_VARARGS
| METH_KEYWORDS
},
18859 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18860 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18861 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
18862 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18863 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
18864 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18865 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
18866 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
18867 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18868 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18869 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18870 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
18871 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18872 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
18873 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
18874 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
18875 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
18876 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
18877 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
18878 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
18879 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
18880 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
18881 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
18882 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
18883 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18884 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18885 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18886 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
18887 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18888 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18889 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18890 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18891 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
18892 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
18893 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18894 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18895 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18896 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18897 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18898 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18899 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18900 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18901 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18902 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18903 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18904 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18905 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18906 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18907 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18908 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18909 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
18910 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18911 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18912 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18913 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18914 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18915 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18916 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
18917 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
18918 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
18919 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
18920 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18921 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
18922 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
18923 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
18924 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
18925 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
18926 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
18927 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
18928 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
18929 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
18930 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
18931 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
18932 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
18933 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
18934 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
18935 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
18936 { (char *)"new_BufferedPaintDC", _wrap_new_BufferedPaintDC
, METH_VARARGS
},
18937 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
18938 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
18939 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
18940 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18941 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18942 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
18943 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
18944 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
18945 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18946 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
18947 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
18948 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
18949 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
18950 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
18951 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
18952 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18953 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18954 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18955 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18956 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
18957 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18958 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18959 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18960 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
},
18961 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18962 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18963 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18964 { (char *)"MetaFile_GetFileName", (PyCFunction
) _wrap_MetaFile_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18965 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
18966 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
18967 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
18968 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
18969 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
18970 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
18971 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18972 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18973 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
18974 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
18975 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18976 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
18977 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
18978 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
18979 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
18980 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
18981 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18982 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
18983 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
18984 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
18985 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
18986 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18987 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
18988 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
18989 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
18990 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
18991 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18992 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
18993 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18994 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18995 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
18996 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
18997 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
18998 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
18999 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
19000 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
19001 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
19002 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
19003 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19004 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
19005 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
19006 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
19007 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
19008 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
19009 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
19010 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
19011 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
19012 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
19013 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
19014 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
19015 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
19016 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
19017 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
19018 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19019 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
19024 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19026 static void *_p_wxControlTo_p_wxWindow(void *x
) {
19027 return (void *)((wxWindow
*) ((wxControl
*) x
));
19029 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
19030 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
19032 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
19033 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
19035 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
19036 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
19038 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
19039 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19041 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
19042 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
19044 static void *_p_wxPenTo_p_wxObject(void *x
) {
19045 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
19047 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
19048 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
19050 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
19051 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
19053 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
19054 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
19056 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
19057 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
19059 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
19060 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
19062 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
19063 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
19065 static void *_p_wxIconTo_p_wxObject(void *x
) {
19066 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
19068 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
19069 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
19071 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
19072 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
19074 static void *_p_wxSizerTo_p_wxObject(void *x
) {
19075 return (void *)((wxObject
*) ((wxSizer
*) x
));
19077 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
19078 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
19080 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
19081 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19083 static void *_p_wxPenListTo_p_wxObject(void *x
) {
19084 return (void *)((wxObject
*) ((wxPenList
*) x
));
19086 static void *_p_wxEventTo_p_wxObject(void *x
) {
19087 return (void *)((wxObject
*) ((wxEvent
*) x
));
19089 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
19090 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
19092 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
19093 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
19095 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
19096 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
19098 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
19099 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
19101 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
19102 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
19104 static void *_p_wxDCTo_p_wxObject(void *x
) {
19105 return (void *)((wxObject
*) ((wxDC
*) x
));
19107 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
19108 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
19110 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
19111 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
19113 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
19114 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
19116 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
19117 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
19119 static void *_p_wxControlTo_p_wxObject(void *x
) {
19120 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
19122 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
19123 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
19125 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
19126 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
19128 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
19129 return (void *)((wxObject
*) ((wxFSFile
*) x
));
19131 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
19132 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
19134 static void *_p_wxRegionTo_p_wxObject(void *x
) {
19135 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
19137 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
19138 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
19140 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
19141 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
19143 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
19144 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
19146 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
19147 return (void *)((wxObject
*) ((wxEffects
*) x
));
19149 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
19150 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
19152 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
19153 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19155 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
19156 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
19158 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
19159 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
19161 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
19162 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
19164 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
19165 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
19167 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
19168 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19170 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
19171 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19173 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19174 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19176 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19177 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19179 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19180 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19182 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19183 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19185 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19186 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19188 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19189 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19191 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19192 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19194 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19195 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19197 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19198 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19200 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19201 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19203 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19204 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19206 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19207 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19209 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19210 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19212 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19213 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19215 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19216 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19218 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19219 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19221 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19222 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19224 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19225 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19227 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19228 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19230 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19231 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19233 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19234 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19236 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19237 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19239 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19240 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19242 static void *_p_wxImageTo_p_wxObject(void *x
) {
19243 return (void *)((wxObject
*) ((wxImage
*) x
));
19245 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19246 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19248 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19249 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19251 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19252 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19254 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19255 return (void *)((wxObject
*) ((wxImageList
*) x
));
19257 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19258 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19260 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19261 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19263 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19264 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19266 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19267 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19269 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19270 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19272 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19273 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19275 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19276 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19278 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19279 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19281 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19282 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19284 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19285 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19287 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19288 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19290 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
19291 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
19293 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19294 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19296 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19297 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19299 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19300 return (void *)((wxObject
*) ((wxMask
*) x
));
19302 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19303 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19305 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19306 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19308 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19309 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19311 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19312 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19314 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19315 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19317 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19318 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19320 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19321 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19323 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19324 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19326 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19327 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19329 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19330 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19332 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19333 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19335 static void *_p_wxFontTo_p_wxObject(void *x
) {
19336 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19338 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19339 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19341 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19342 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19344 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19345 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19347 static void *_p_wxColourTo_p_wxObject(void *x
) {
19348 return (void *)((wxObject
*) ((wxColour
*) x
));
19350 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19351 return (void *)((wxObject
*) ((wxFontList
*) x
));
19353 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19354 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19356 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19357 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19359 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19360 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19362 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19363 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19365 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19366 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19368 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19369 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19371 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19372 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19374 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19375 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19377 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19378 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19380 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19381 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19383 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19384 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19386 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19387 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19389 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19390 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19392 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19393 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19395 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
19396 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
19398 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19399 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19401 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19402 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19404 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19405 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19407 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19408 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19410 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19411 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19413 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19414 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19416 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19417 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19419 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19420 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19422 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
19423 return (void *)((wxPen
*) ((wxPyPen
*) x
));
19425 static swig_type_info _swigt__p_wxPostScriptDC
[] = {{"_p_wxPostScriptDC", 0, "wxPostScriptDC *", 0},{"_p_wxPostScriptDC"},{0}};
19426 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
19427 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
19428 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}};
19429 static swig_type_info _swigt__p_wxMirrorDC
[] = {{"_p_wxMirrorDC", 0, "wxMirrorDC *", 0},{"_p_wxMirrorDC"},{0}};
19430 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
19431 static swig_type_info _swigt__p_wxPyFontEnumerator
[] = {{"_p_wxPyFontEnumerator", 0, "wxPyFontEnumerator *", 0},{"_p_wxPyFontEnumerator"},{0}};
19432 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
19433 static swig_type_info _swigt__p_wxIconLocation
[] = {{"_p_wxIconLocation", 0, "wxIconLocation *", 0},{"_p_wxIconLocation"},{0}};
19434 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
19435 static swig_type_info _swigt__p_wxMetaFileDC
[] = {{"_p_wxMetaFileDC", 0, "wxMetaFileDC *", 0},{"_p_wxMetaFileDC"},{0}};
19436 static swig_type_info _swigt__p_wxMask
[] = {{"_p_wxMask", 0, "wxMask *", 0},{"_p_wxMask"},{0}};
19437 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
19438 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}};
19439 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
19440 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
19441 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}};
19442 static swig_type_info _swigt__p_wxFontMapper
[] = {{"_p_wxFontMapper", 0, "wxFontMapper *", 0},{"_p_wxFontMapper"},{0}};
19443 static swig_type_info _swigt__p_wxEffects
[] = {{"_p_wxEffects", 0, "wxEffects *", 0},{"_p_wxEffects"},{0}};
19444 static swig_type_info _swigt__p_wxNativeEncodingInfo
[] = {{"_p_wxNativeEncodingInfo", 0, "wxNativeEncodingInfo *", 0},{"_p_wxNativeEncodingInfo"},{0}};
19445 static swig_type_info _swigt__p_wxPalette
[] = {{"_p_wxPalette", 0, "wxPalette *", 0},{"_p_wxPalette"},{0}};
19446 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
19447 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}};
19448 static swig_type_info _swigt__p_wxRegionIterator
[] = {{"_p_wxRegionIterator", 0, "wxRegionIterator *", 0},{"_p_wxRegionIterator"},{0}};
19449 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
19450 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
19451 static swig_type_info _swigt__p_wxPrinterDC
[] = {{"_p_wxPrinterDC", 0, "wxPrinterDC *", 0},{"_p_wxPrinterDC"},{0}};
19452 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
19453 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
19454 static swig_type_info _swigt__p_wxDash
[] = {{"_p_wxDash", 0, "wxDash *", 0},{"_p_wxDash"},{0}};
19455 static swig_type_info _swigt__p_wxScreenDC
[] = {{"_p_wxScreenDC", 0, "wxScreenDC *", 0},{"_p_wxScreenDC"},{0}};
19456 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
19457 static swig_type_info _swigt__p_wxClientDC
[] = {{"_p_wxClientDC", 0, "wxClientDC *", 0},{"_p_wxClientDC"},{0}};
19458 static swig_type_info _swigt__p_wxBufferedDC
[] = {{"_p_wxBufferedDC", 0, "wxBufferedDC *", 0},{"_p_wxBufferedDC"},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxBufferedDC
},{0}};
19459 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
19460 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
19461 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}};
19462 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
19463 static swig_type_info _swigt__p_wxLocale
[] = {{"_p_wxLocale", 0, "wxLocale *", 0},{"_p_wxLocale"},{0}};
19464 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
19465 static swig_type_info _swigt__p_wxLanguageInfo
[] = {{"_p_wxLanguageInfo", 0, "wxLanguageInfo *", 0},{"_p_wxLanguageInfo"},{0}};
19466 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxConfigBase"},{0}};
19467 static swig_type_info _swigt__p_wxWindowDC
[] = {{"_p_wxWindowDC", 0, "wxWindowDC *", 0},{"_p_wxWindowDC"},{0}};
19468 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
19469 static swig_type_info _swigt__p_wxBrushList
[] = {{"_p_wxBrushList", 0, "wxBrushList *", 0},{"_p_wxBrushList"},{0}};
19470 static swig_type_info _swigt__p_wxFontList
[] = {{"_p_wxFontList", 0, "wxFontList *", 0},{"_p_wxFontList"},{0}};
19471 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPyPen", _p_wxPyPenTo_p_wxPen
},{"_p_wxPen"},{0}};
19472 static swig_type_info _swigt__p_wxBufferedPaintDC
[] = {{"_p_wxBufferedPaintDC", 0, "wxBufferedPaintDC *", 0},{"_p_wxBufferedPaintDC"},{0}};
19473 static swig_type_info _swigt__p_wxPaintDC
[] = {{"_p_wxPaintDC", 0, "wxPaintDC *", 0},{"_p_wxPaintDC"},{0}};
19474 static swig_type_info _swigt__p_wxPenList
[] = {{"_p_wxPenList", 0, "wxPenList *", 0},{"_p_wxPenList"},{0}};
19475 static swig_type_info _swigt__p_wxPyPen
[] = {{"_p_wxPyPen", 0, "wxPyPen *", 0},{"_p_wxPyPen"},{0}};
19476 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
19477 static swig_type_info _swigt__p_wxMetaFile
[] = {{"_p_wxMetaFile", 0, "wxMetaFile *", 0},{"_p_wxMetaFile"},{0}};
19478 static swig_type_info _swigt__p_wxNativeFontInfo
[] = {{"_p_wxNativeFontInfo", 0, "wxNativeFontInfo *", 0},{"_p_wxNativeFontInfo"},{0}};
19479 static swig_type_info _swigt__p_wxEncodingConverter
[] = {{"_p_wxEncodingConverter", 0, "wxEncodingConverter *", 0},{"_p_wxEncodingConverter"},{0}};
19480 static swig_type_info _swigt__p_wxColourDatabase
[] = {{"_p_wxColourDatabase", 0, "wxColourDatabase *", 0},{"_p_wxColourDatabase"},{0}};
19482 static swig_type_info
*swig_types_initial
[] = {
19483 _swigt__p_wxPostScriptDC
,
19485 _swigt__p_wxColour
,
19487 _swigt__p_wxMirrorDC
,
19489 _swigt__p_wxPyFontEnumerator
,
19491 _swigt__p_wxIconLocation
,
19493 _swigt__p_wxMetaFileDC
,
19496 _swigt__p_wxWindow
,
19499 _swigt__p_wxMemoryDC
,
19500 _swigt__p_wxFontMapper
,
19501 _swigt__p_wxEffects
,
19502 _swigt__p_wxNativeEncodingInfo
,
19503 _swigt__p_wxPalette
,
19504 _swigt__p_wxBitmap
,
19505 _swigt__p_wxObject
,
19506 _swigt__p_wxRegionIterator
,
19508 _swigt__p_wxString
,
19509 _swigt__p_wxPrinterDC
,
19510 _swigt__p_wxIconBundle
,
19513 _swigt__p_wxScreenDC
,
19514 _swigt__p_wxCursor
,
19515 _swigt__p_wxClientDC
,
19516 _swigt__p_wxBufferedDC
,
19517 _swigt__p_wxImageList
,
19518 _swigt__p_unsigned_char
,
19519 _swigt__p_wxGDIObject
,
19521 _swigt__p_wxLocale
,
19522 _swigt__p_wxRegion
,
19523 _swigt__p_wxLanguageInfo
,
19524 _swigt__p_wxConfigBase
,
19525 _swigt__p_wxWindowDC
,
19526 _swigt__p_wxPrintData
,
19527 _swigt__p_wxBrushList
,
19528 _swigt__p_wxFontList
,
19530 _swigt__p_wxBufferedPaintDC
,
19531 _swigt__p_wxPaintDC
,
19532 _swigt__p_wxPenList
,
19535 _swigt__p_wxMetaFile
,
19536 _swigt__p_wxNativeFontInfo
,
19537 _swigt__p_wxEncodingConverter
,
19538 _swigt__p_wxColourDatabase
,
19543 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19545 static swig_const_info swig_const_table
[] = {
19555 SWIGEXPORT(void) SWIG_init(void) {
19556 static PyObject
*SWIG_globals
= 0;
19557 static int typeinit
= 0;
19560 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19561 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19562 d
= PyModule_GetDict(m
);
19565 for (i
= 0; swig_types_initial
[i
]; i
++) {
19566 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19570 SWIG_InstallConstants(d
,swig_const_table
);
19572 PyDict_SetItemString(d
,"OutRegion", SWIG_PyObj_FromInt((int)wxOutRegion
));
19573 PyDict_SetItemString(d
,"PartRegion", SWIG_PyObj_FromInt((int)wxPartRegion
));
19574 PyDict_SetItemString(d
,"InRegion", SWIG_PyObj_FromInt((int)wxInRegion
));
19575 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_PyObj_FromInt((int)wxFONTFAMILY_DEFAULT
));
19576 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_PyObj_FromInt((int)wxFONTFAMILY_DECORATIVE
));
19577 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_PyObj_FromInt((int)wxFONTFAMILY_ROMAN
));
19578 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_PyObj_FromInt((int)wxFONTFAMILY_SCRIPT
));
19579 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_PyObj_FromInt((int)wxFONTFAMILY_SWISS
));
19580 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_PyObj_FromInt((int)wxFONTFAMILY_MODERN
));
19581 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_PyObj_FromInt((int)wxFONTFAMILY_TELETYPE
));
19582 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_PyObj_FromInt((int)wxFONTFAMILY_MAX
));
19583 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_PyObj_FromInt((int)wxFONTFAMILY_UNKNOWN
));
19584 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_PyObj_FromInt((int)wxFONTSTYLE_NORMAL
));
19585 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_PyObj_FromInt((int)wxFONTSTYLE_ITALIC
));
19586 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_PyObj_FromInt((int)wxFONTSTYLE_SLANT
));
19587 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_PyObj_FromInt((int)wxFONTSTYLE_MAX
));
19588 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_NORMAL
));
19589 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_LIGHT
));
19590 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_BOLD
));
19591 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_MAX
));
19592 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_PyObj_FromInt((int)wxFONTFLAG_DEFAULT
));
19593 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_PyObj_FromInt((int)wxFONTFLAG_ITALIC
));
19594 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_PyObj_FromInt((int)wxFONTFLAG_SLANT
));
19595 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_PyObj_FromInt((int)wxFONTFLAG_LIGHT
));
19596 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_PyObj_FromInt((int)wxFONTFLAG_BOLD
));
19597 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_PyObj_FromInt((int)wxFONTFLAG_ANTIALIASED
));
19598 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_PyObj_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
19599 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_PyObj_FromInt((int)wxFONTFLAG_UNDERLINED
));
19600 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_PyObj_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
19601 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_PyObj_FromInt((int)wxFONTFLAG_MASK
));
19602 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_PyObj_FromInt((int)wxFONTENCODING_SYSTEM
));
19603 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_PyObj_FromInt((int)wxFONTENCODING_DEFAULT
));
19604 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_1
));
19605 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_2
));
19606 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_3
));
19607 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_4
));
19608 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_5
));
19609 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_6
));
19610 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_7
));
19611 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_8
));
19612 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_9
));
19613 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_10
));
19614 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_11
));
19615 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_12
));
19616 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_13
));
19617 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_14
));
19618 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_15
));
19619 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
19620 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_PyObj_FromInt((int)wxFONTENCODING_KOI8
));
19621 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_PyObj_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
19622 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_BULGARIAN
));
19623 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP437
));
19624 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP850
));
19625 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP852
));
19626 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP855
));
19627 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP866
));
19628 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP874
));
19629 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP932
));
19630 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP936
));
19631 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP949
));
19632 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP950
));
19633 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1250
));
19634 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1251
));
19635 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1252
));
19636 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1253
));
19637 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1254
));
19638 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1255
));
19639 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1256
));
19640 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1257
));
19641 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP12_MAX
));
19642 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF7
));
19643 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF8
));
19644 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_PyObj_FromInt((int)wxFONTENCODING_EUC_JP
));
19645 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF16BE
));
19646 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF16LE
));
19647 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF32BE
));
19648 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF32LE
));
19649 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACROMAN
));
19650 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACJAPANESE
));
19651 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
19652 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKOREAN
));
19653 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACARABIC
));
19654 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACHEBREW
));
19655 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGREEK
));
19656 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
19657 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
19658 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
19659 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGUJARATI
));
19660 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACORIYA
));
19661 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACBENGALI
));
19662 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTAMIL
));
19663 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTELUGU
));
19664 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKANNADA
));
19665 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
19666 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACSINHALESE
));
19667 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACBURMESE
));
19668 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKHMER
));
19669 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTHAI
));
19670 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
19671 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
19672 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACARMENIAN
));
19673 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
19674 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTIBETAN
));
19675 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
19676 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
19677 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
19678 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
19679 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACARABICEXT
));
19680 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACSYMBOL
));
19681 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACDINGBATS
));
19682 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTURKISH
));
19683 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCROATIAN
));
19684 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACICELANDIC
));
19685 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACROMANIAN
));
19686 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCELTIC
));
19687 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGAELIC
));
19688 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
19689 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMIN
));
19690 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMAX
));
19691 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_MAX
));
19692 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF16
));
19693 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF32
));
19694 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UNICODE
));
19695 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_PyObj_FromInt((int)wxFONTENCODING_GB2312
));
19696 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_PyObj_FromInt((int)wxFONTENCODING_BIG5
));
19697 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_PyObj_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
19699 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19701 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_PyObj_FromInt((int)wxLANGUAGE_DEFAULT
));
19702 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_PyObj_FromInt((int)wxLANGUAGE_UNKNOWN
));
19703 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
19704 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_PyObj_FromInt((int)wxLANGUAGE_AFAR
));
19705 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_PyObj_FromInt((int)wxLANGUAGE_AFRIKAANS
));
19706 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ALBANIAN
));
19707 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_AMHARIC
));
19708 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC
));
19709 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
19710 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19711 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
19712 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
19713 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
19714 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
19715 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
19716 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
19717 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
19718 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
19719 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
19720 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19721 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
19722 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
19723 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
19724 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
19725 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
19726 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARMENIAN
));
19727 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ASSAMESE
));
19728 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_PyObj_FromInt((int)wxLANGUAGE_AYMARA
));
19729 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_PyObj_FromInt((int)wxLANGUAGE_AZERI
));
19730 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
19731 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
19732 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_PyObj_FromInt((int)wxLANGUAGE_BASHKIR
));
19733 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_PyObj_FromInt((int)wxLANGUAGE_BASQUE
));
19734 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_BELARUSIAN
));
19735 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_PyObj_FromInt((int)wxLANGUAGE_BENGALI
));
19736 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_PyObj_FromInt((int)wxLANGUAGE_BHUTANI
));
19737 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_PyObj_FromInt((int)wxLANGUAGE_BIHARI
));
19738 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_PyObj_FromInt((int)wxLANGUAGE_BISLAMA
));
19739 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_PyObj_FromInt((int)wxLANGUAGE_BRETON
));
19740 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_BULGARIAN
));
19741 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_BURMESE
));
19742 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CAMBODIAN
));
19743 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CATALAN
));
19744 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE
));
19745 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19746 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19747 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
19748 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
19749 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19750 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
19751 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CORSICAN
));
19752 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CROATIAN
));
19753 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_PyObj_FromInt((int)wxLANGUAGE_CZECH
));
19754 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_DANISH
));
19755 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_PyObj_FromInt((int)wxLANGUAGE_DUTCH
));
19756 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
19757 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH
));
19758 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
19759 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_US
));
19760 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19761 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
19762 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19763 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
19764 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19765 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
19766 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
19767 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19768 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19769 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19770 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19771 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19772 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19773 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_PyObj_FromInt((int)wxLANGUAGE_ESPERANTO
));
19774 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ESTONIAN
));
19775 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_FAEROESE
));
19776 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_PyObj_FromInt((int)wxLANGUAGE_FARSI
));
19777 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_PyObj_FromInt((int)wxLANGUAGE_FIJI
));
19778 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_FINNISH
));
19779 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH
));
19780 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
19781 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
19782 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19783 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
19784 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
19785 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRISIAN
));
19786 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GALICIAN
));
19787 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GEORGIAN
));
19788 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN
));
19789 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19790 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
19791 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19792 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19793 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
19794 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_PyObj_FromInt((int)wxLANGUAGE_GREEK
));
19795 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_GREENLANDIC
));
19796 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_PyObj_FromInt((int)wxLANGUAGE_GUARANI
));
19797 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_PyObj_FromInt((int)wxLANGUAGE_GUJARATI
));
19798 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_PyObj_FromInt((int)wxLANGUAGE_HAUSA
));
19799 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_PyObj_FromInt((int)wxLANGUAGE_HEBREW
));
19800 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_PyObj_FromInt((int)wxLANGUAGE_HINDI
));
19801 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_HUNGARIAN
));
19802 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_ICELANDIC
));
19803 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_INDONESIAN
));
19804 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_PyObj_FromInt((int)wxLANGUAGE_INTERLINGUA
));
19805 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_PyObj_FromInt((int)wxLANGUAGE_INTERLINGUE
));
19806 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_PyObj_FromInt((int)wxLANGUAGE_INUKTITUT
));
19807 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_PyObj_FromInt((int)wxLANGUAGE_INUPIAK
));
19808 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_IRISH
));
19809 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ITALIAN
));
19810 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_PyObj_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
19811 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_JAPANESE
));
19812 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_JAVANESE
));
19813 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_PyObj_FromInt((int)wxLANGUAGE_KANNADA
));
19814 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_PyObj_FromInt((int)wxLANGUAGE_KASHMIRI
));
19815 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
19816 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_PyObj_FromInt((int)wxLANGUAGE_KAZAKH
));
19817 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_PyObj_FromInt((int)wxLANGUAGE_KERNEWEK
));
19818 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_PyObj_FromInt((int)wxLANGUAGE_KINYARWANDA
));
19819 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_PyObj_FromInt((int)wxLANGUAGE_KIRGHIZ
));
19820 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_PyObj_FromInt((int)wxLANGUAGE_KIRUNDI
));
19821 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_PyObj_FromInt((int)wxLANGUAGE_KONKANI
));
19822 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_KOREAN
));
19823 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_KURDISH
));
19824 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LAOTHIAN
));
19825 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LATIN
));
19826 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LATVIAN
));
19827 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_PyObj_FromInt((int)wxLANGUAGE_LINGALA
));
19828 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LITHUANIAN
));
19829 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_MACEDONIAN
));
19830 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAGASY
));
19831 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAY
));
19832 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAYALAM
));
19833 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19834 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
19835 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALTESE
));
19836 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_PyObj_FromInt((int)wxLANGUAGE_MANIPURI
));
19837 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_PyObj_FromInt((int)wxLANGUAGE_MAORI
));
19838 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_PyObj_FromInt((int)wxLANGUAGE_MARATHI
));
19839 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
19840 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_MONGOLIAN
));
19841 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_PyObj_FromInt((int)wxLANGUAGE_NAURU
));
19842 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_PyObj_FromInt((int)wxLANGUAGE_NEPALI
));
19843 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
19844 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_PyObj_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19845 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_PyObj_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19846 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_OCCITAN
));
19847 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ORIYA
));
19848 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_PyObj_FromInt((int)wxLANGUAGE_OROMO
));
19849 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_PyObj_FromInt((int)wxLANGUAGE_PASHTO
));
19850 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_POLISH
));
19851 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_PORTUGUESE
));
19852 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19853 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_PyObj_FromInt((int)wxLANGUAGE_PUNJABI
));
19854 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_PyObj_FromInt((int)wxLANGUAGE_QUECHUA
));
19855 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_PyObj_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
19856 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ROMANIAN
));
19857 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_RUSSIAN
));
19858 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_PyObj_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19859 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SAMOAN
));
19860 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_PyObj_FromInt((int)wxLANGUAGE_SANGHO
));
19861 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_PyObj_FromInt((int)wxLANGUAGE_SANSKRIT
));
19862 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
19863 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBIAN
));
19864 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19865 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
19866 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
19867 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_PyObj_FromInt((int)wxLANGUAGE_SESOTHO
));
19868 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SETSWANA
));
19869 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SHONA
));
19870 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SINDHI
));
19871 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_SINHALESE
));
19872 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SISWATI
));
19873 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_PyObj_FromInt((int)wxLANGUAGE_SLOVAK
));
19874 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SLOVENIAN
));
19875 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SOMALI
));
19876 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH
));
19877 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19878 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19879 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
19880 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19881 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19882 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19883 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
19884 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19885 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19886 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
19887 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
19888 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
19889 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19890 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
19891 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19892 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
19893 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19894 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
19895 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_US
));
19896 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19897 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_SUNDANESE
));
19898 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SWAHILI
));
19899 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_SWEDISH
));
19900 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_PyObj_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
19901 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_PyObj_FromInt((int)wxLANGUAGE_TAGALOG
));
19902 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_PyObj_FromInt((int)wxLANGUAGE_TAJIK
));
19903 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_PyObj_FromInt((int)wxLANGUAGE_TAMIL
));
19904 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_PyObj_FromInt((int)wxLANGUAGE_TATAR
));
19905 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_PyObj_FromInt((int)wxLANGUAGE_TELUGU
));
19906 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_PyObj_FromInt((int)wxLANGUAGE_THAI
));
19907 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_TIBETAN
));
19908 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_PyObj_FromInt((int)wxLANGUAGE_TIGRINYA
));
19909 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_PyObj_FromInt((int)wxLANGUAGE_TONGA
));
19910 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_PyObj_FromInt((int)wxLANGUAGE_TSONGA
));
19911 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_TURKISH
));
19912 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_PyObj_FromInt((int)wxLANGUAGE_TURKMEN
));
19913 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_PyObj_FromInt((int)wxLANGUAGE_TWI
));
19914 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_PyObj_FromInt((int)wxLANGUAGE_UIGHUR
));
19915 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_UKRAINIAN
));
19916 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_PyObj_FromInt((int)wxLANGUAGE_URDU
));
19917 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_URDU_INDIA
));
19918 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
19919 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_PyObj_FromInt((int)wxLANGUAGE_UZBEK
));
19920 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19921 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
19922 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_VIETNAMESE
));
19923 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_PyObj_FromInt((int)wxLANGUAGE_VOLAPUK
));
19924 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_PyObj_FromInt((int)wxLANGUAGE_WELSH
));
19925 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_PyObj_FromInt((int)wxLANGUAGE_WOLOF
));
19926 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_PyObj_FromInt((int)wxLANGUAGE_XHOSA
));
19927 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_YIDDISH
));
19928 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_PyObj_FromInt((int)wxLANGUAGE_YORUBA
));
19929 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_PyObj_FromInt((int)wxLANGUAGE_ZHUANG
));
19930 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_PyObj_FromInt((int)wxLANGUAGE_ZULU
));
19931 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_PyObj_FromInt((int)wxLANGUAGE_USER_DEFINED
));
19932 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_NUMBER
));
19933 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_DATE
));
19934 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_MONEY
));
19935 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_MAX
));
19936 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_PyObj_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
19937 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_PyObj_FromInt((int)wxLOCALE_DECIMAL_POINT
));
19938 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_PyObj_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
19939 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_PyObj_FromInt((int)wxLOCALE_CONV_ENCODING
));
19940 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_PyObj_FromInt((int)wxCONVERT_STRICT
));
19941 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_PyObj_FromInt((int)wxCONVERT_SUBSTITUTE
));
19942 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_PyObj_FromInt((int)wxPLATFORM_CURRENT
));
19943 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_PyObj_FromInt((int)wxPLATFORM_UNIX
));
19944 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_PyObj_FromInt((int)wxPLATFORM_WINDOWS
));
19945 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_PyObj_FromInt((int)wxPLATFORM_OS2
));
19946 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_PyObj_FromInt((int)wxPLATFORM_MAC
));
19947 PyDict_SetItemString(d
,"BUFFER_DC_OVERWRITE_BG", SWIG_PyObj_FromInt((int)wxBUFFER_DC_OVERWRITE_BG
));
19948 PyDict_SetItemString(d
,"BUFFER_DC_PRESERVE_BG", SWIG_PyObj_FromInt((int)wxBUFFER_DC_PRESERVE_BG
));
19949 PyDict_SetItemString(d
,"BUFFER_DC_DEFAULT", SWIG_PyObj_FromInt((int)wxBUFFER_DC_DEFAULT
));
19950 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
19951 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19952 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
19953 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
19954 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_PyObj_FromInt((int)wxIMAGE_LIST_NORMAL
));
19955 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_PyObj_FromInt((int)wxIMAGE_LIST_SMALL
));
19956 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_PyObj_FromInt((int)wxIMAGE_LIST_STATE
));
19957 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19958 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19959 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19960 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19961 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19962 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19963 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19964 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19965 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19966 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19967 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19968 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19969 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19970 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19971 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19972 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19973 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19974 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19975 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19976 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19977 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19978 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19979 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19980 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19981 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19982 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19983 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19984 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19985 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19986 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19987 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19988 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19989 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19990 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19991 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19992 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19993 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19994 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19995 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19996 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19997 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19998 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19999 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
20000 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
20001 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
20002 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
20003 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
20005 // Work around a chicken/egg problem in drawlist.cpp
20006 wxPyDrawList_SetAPIPtr();