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
);
476 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
477 wxMask
*mask
= new wxMask(*self
, colour
);
481 #include <wx/iconbndl.h>
483 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
484 wxIcon
* icon
= new wxIcon();
485 icon
->CopyFromBitmap(bmp
);
488 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
489 char** cArray
= NULL
;
492 cArray
= ConvertListOfStrings(listOfStrings
);
495 icon
= new wxIcon(cArray
);
499 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
503 return new wxIconLocation(*filename
);
506 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
513 int wxIconLocation_GetIndex(wxIconLocation
*self
){
522 SWIG_PyObj_AsLong(PyObject
* obj
)
524 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
527 wxCursor
*new_wxCursor(wxString
const *cursorName
,long flags
,int hotSpotX
,int hotSpotY
){
529 wxCHECK_MSG(False
, NULL
,
530 wxT("wxCursor constructor not implemented for wxGTK, use wxStockCursor, wxCursorFromImage, or wxCursorFromBits instead."));
535 wxCursor
*new_wxCursor(PyObject
*bits
,int width
,int height
,int hotSpotX
,int hotSpotY
,PyObject
*maskBits
){
537 char* maskbuf
= NULL
;
539 PyString_AsStringAndSize(bits
, &bitsbuf
, &length
);
541 PyString_AsStringAndSize(maskBits
, &maskbuf
, &length
);
542 return new wxCursor(bitsbuf
, width
, height
, hotSpotX
, hotSpotY
, maskbuf
);
546 void wxRegionIterator_Next(wxRegionIterator
*self
){
549 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
550 return self
->operator bool();
553 #include <wx/fontutil.h>
554 #include <wx/fontmap.h>
555 #include <wx/fontenum.h>
557 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
558 return self
->ToString();
561 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
562 static wxNativeEncodingInfo info
;
563 if ( wxGetNativeFontEncoding(encoding
, &info
) )
570 SWIGSTATIC(PyObject
* )
571 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
573 return (value
> (unsigned long)(LONG_MAX
)) ?
574 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
577 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
578 wxFontEncoding alt_enc
;
579 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
580 return PyInt_FromLong(alt_enc
);
586 wxFont
*new_wxFont(wxString
const &info
){
587 wxNativeFontInfo nfi
;
588 nfi
.FromString(info
);
589 return new wxFont(nfi
);
591 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
592 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
595 class wxPyFontEnumerator
: public wxFontEnumerator
{
597 wxPyFontEnumerator() {}
598 ~wxPyFontEnumerator() {}
600 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
601 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
606 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
607 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
610 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
611 wxArrayString
* arr
= self
->GetEncodings();
612 return wxArrayString2PyList_helper(*arr
);
614 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
615 wxArrayString
* arr
= self
->GetFacenames();
616 return wxArrayString2PyList_helper(*arr
);
621 #include "wx/wxPython/pydrawxxx.h"
623 wxColour
wxDC_GetPixelXY(wxDC
*self
,int x
,int y
){
625 self
->GetPixel(x
, y
, &col
);
628 wxColour
wxDC_GetPixel(wxDC
*self
,wxPoint
const &pt
){
630 self
->GetPixel(pt
, &col
);
635 SWIG_PyObj_AsDouble(PyObject
*obj
)
637 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
639 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
641 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
643 if (PyErr_Occurred()) {
645 PyErr_SetString(PyExc_TypeError
, "a double is expected");
649 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
651 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
654 wxRect
wxDC_GetClippingRect(wxDC
*self
){
656 self
->GetClippingBox(rect
);
659 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
660 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
662 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
663 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
665 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
666 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
668 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
669 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
671 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
672 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
674 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
675 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
678 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
689 class wxMetaFile
: public wxObject
{
691 wxMetaFile(const wxString
&)
692 { wxPyRaiseNotImplemented(); }
695 class wxMetaFileDC
: public wxClientDC
{
697 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
698 { wxPyRaiseNotImplemented(); }
703 class wxPrinterDC
: public wxClientDC
{
705 wxPrinterDC(const wxPrintData
&)
706 { wxPyRaiseNotImplemented(); }
708 // wxPrinterDC(const wxString&, const wxString&, const wxString&, bool, int)
709 // { wxPyRaiseNotImplemented(); }
714 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
715 self
->AddColour(name
, wxColour(red
, green
, blue
));
718 #include <wx/effects.h>
723 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
733 result
= (wxGDIObject
*)new wxGDIObject();
735 wxPyEndAllowThreads(__tstate
);
736 if (PyErr_Occurred()) SWIG_fail
;
738 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGDIObject
, 1);
745 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
747 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
748 PyObject
* obj0
= 0 ;
750 (char *) "self", NULL
753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
759 wxPyEndAllowThreads(__tstate
);
760 if (PyErr_Occurred()) SWIG_fail
;
762 Py_INCREF(Py_None
); resultobj
= Py_None
;
769 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
771 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
773 PyObject
* obj0
= 0 ;
775 (char *) "self", NULL
778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
782 result
= (bool)(arg1
)->GetVisible();
784 wxPyEndAllowThreads(__tstate
);
785 if (PyErr_Occurred()) SWIG_fail
;
787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
794 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
796 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
798 PyObject
* obj0
= 0 ;
799 PyObject
* obj1
= 0 ;
801 (char *) "self",(char *) "visible", NULL
804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
807 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
808 if (PyErr_Occurred()) SWIG_fail
;
811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
812 (arg1
)->SetVisible(arg2
);
814 wxPyEndAllowThreads(__tstate
);
815 if (PyErr_Occurred()) SWIG_fail
;
817 Py_INCREF(Py_None
); resultobj
= Py_None
;
824 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
826 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
828 PyObject
* obj0
= 0 ;
830 (char *) "self", NULL
833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
837 result
= (bool)(arg1
)->IsNull();
839 wxPyEndAllowThreads(__tstate
);
840 if (PyErr_Occurred()) SWIG_fail
;
842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
849 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
852 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
854 return Py_BuildValue((char *)"");
856 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
858 unsigned char arg1
= (unsigned char) 0 ;
859 unsigned char arg2
= (unsigned char) 0 ;
860 unsigned char arg3
= (unsigned char) 0 ;
862 PyObject
* obj0
= 0 ;
863 PyObject
* obj1
= 0 ;
864 PyObject
* obj2
= 0 ;
866 (char *) "red",(char *) "green",(char *) "blue", NULL
869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
872 arg1
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj0
);
873 if (PyErr_Occurred()) SWIG_fail
;
878 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
879 if (PyErr_Occurred()) SWIG_fail
;
884 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
885 if (PyErr_Occurred()) SWIG_fail
;
889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
890 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
892 wxPyEndAllowThreads(__tstate
);
893 if (PyErr_Occurred()) SWIG_fail
;
895 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
902 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
904 wxColour
*arg1
= (wxColour
*) 0 ;
905 PyObject
* obj0
= 0 ;
907 (char *) "self", NULL
910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
916 wxPyEndAllowThreads(__tstate
);
917 if (PyErr_Occurred()) SWIG_fail
;
919 Py_INCREF(Py_None
); resultobj
= Py_None
;
926 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
931 PyObject
* obj0
= 0 ;
933 (char *) "colorName", NULL
936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
938 arg1
= wxString_in_helper(obj0
);
939 if (arg1
== NULL
) SWIG_fail
;
943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
944 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
946 wxPyEndAllowThreads(__tstate
);
947 if (PyErr_Occurred()) SWIG_fail
;
949 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
964 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
968 PyObject
* obj0
= 0 ;
970 (char *) "colRGB", NULL
973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
975 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
976 if (PyErr_Occurred()) SWIG_fail
;
979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
980 result
= (wxColour
*)new wxColour(arg1
);
982 wxPyEndAllowThreads(__tstate
);
983 if (PyErr_Occurred()) SWIG_fail
;
985 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
992 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
994 wxColour
*arg1
= (wxColour
*) 0 ;
995 unsigned char result
;
996 PyObject
* obj0
= 0 ;
998 (char *) "self", NULL
1001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1005 result
= (unsigned char)(arg1
)->Red();
1007 wxPyEndAllowThreads(__tstate
);
1008 if (PyErr_Occurred()) SWIG_fail
;
1010 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
1017 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1018 PyObject
*resultobj
;
1019 wxColour
*arg1
= (wxColour
*) 0 ;
1020 unsigned char result
;
1021 PyObject
* obj0
= 0 ;
1023 (char *) "self", NULL
1026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1030 result
= (unsigned char)(arg1
)->Green();
1032 wxPyEndAllowThreads(__tstate
);
1033 if (PyErr_Occurred()) SWIG_fail
;
1035 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
1042 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1043 PyObject
*resultobj
;
1044 wxColour
*arg1
= (wxColour
*) 0 ;
1045 unsigned char result
;
1046 PyObject
* obj0
= 0 ;
1048 (char *) "self", NULL
1051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1055 result
= (unsigned char)(arg1
)->Blue();
1057 wxPyEndAllowThreads(__tstate
);
1058 if (PyErr_Occurred()) SWIG_fail
;
1060 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
1067 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1068 PyObject
*resultobj
;
1069 wxColour
*arg1
= (wxColour
*) 0 ;
1071 PyObject
* obj0
= 0 ;
1073 (char *) "self", NULL
1076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1080 result
= (bool)(arg1
)->Ok();
1082 wxPyEndAllowThreads(__tstate
);
1083 if (PyErr_Occurred()) SWIG_fail
;
1085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1092 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1093 PyObject
*resultobj
;
1094 wxColour
*arg1
= (wxColour
*) 0 ;
1095 unsigned char arg2
;
1096 unsigned char arg3
;
1097 unsigned char arg4
;
1098 PyObject
* obj0
= 0 ;
1099 PyObject
* obj1
= 0 ;
1100 PyObject
* obj2
= 0 ;
1101 PyObject
* obj3
= 0 ;
1103 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1109 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
1110 if (PyErr_Occurred()) SWIG_fail
;
1113 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
1114 if (PyErr_Occurred()) SWIG_fail
;
1117 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
1118 if (PyErr_Occurred()) SWIG_fail
;
1121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1122 (arg1
)->Set(arg2
,arg3
,arg4
);
1124 wxPyEndAllowThreads(__tstate
);
1125 if (PyErr_Occurred()) SWIG_fail
;
1127 Py_INCREF(Py_None
); resultobj
= Py_None
;
1134 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1135 PyObject
*resultobj
;
1136 wxColour
*arg1
= (wxColour
*) 0 ;
1137 unsigned long arg2
;
1138 PyObject
* obj0
= 0 ;
1139 PyObject
* obj1
= 0 ;
1141 (char *) "self",(char *) "colRGB", NULL
1144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1147 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
1148 if (PyErr_Occurred()) SWIG_fail
;
1151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1154 wxPyEndAllowThreads(__tstate
);
1155 if (PyErr_Occurred()) SWIG_fail
;
1157 Py_INCREF(Py_None
); resultobj
= Py_None
;
1164 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1165 PyObject
*resultobj
;
1166 wxColour
*arg1
= (wxColour
*) 0 ;
1167 wxColour
*arg2
= 0 ;
1170 PyObject
* obj0
= 0 ;
1171 PyObject
* obj1
= 0 ;
1173 (char *) "self",(char *) "colour", NULL
1176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1180 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1184 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1186 wxPyEndAllowThreads(__tstate
);
1187 if (PyErr_Occurred()) SWIG_fail
;
1189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1196 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1197 PyObject
*resultobj
;
1198 wxColour
*arg1
= (wxColour
*) 0 ;
1199 wxColour
*arg2
= 0 ;
1202 PyObject
* obj0
= 0 ;
1203 PyObject
* obj1
= 0 ;
1205 (char *) "self",(char *) "colour", NULL
1208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1212 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1216 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1218 wxPyEndAllowThreads(__tstate
);
1219 if (PyErr_Occurred()) SWIG_fail
;
1221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1228 static PyObject
*_wrap_Colour_InitFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1229 PyObject
*resultobj
;
1230 wxColour
*arg1
= (wxColour
*) 0 ;
1231 wxString
*arg2
= 0 ;
1232 bool temp2
= False
;
1233 PyObject
* obj0
= 0 ;
1234 PyObject
* obj1
= 0 ;
1236 (char *) "self",(char *) "colourName", NULL
1239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_InitFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1242 arg2
= wxString_in_helper(obj1
);
1243 if (arg2
== NULL
) SWIG_fail
;
1247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1248 (arg1
)->InitFromName((wxString
const &)*arg2
);
1250 wxPyEndAllowThreads(__tstate
);
1251 if (PyErr_Occurred()) SWIG_fail
;
1253 Py_INCREF(Py_None
); resultobj
= Py_None
;
1268 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1269 PyObject
*resultobj
;
1270 wxColour
*arg1
= (wxColour
*) 0 ;
1272 PyObject
* obj0
= 0 ;
1274 (char *) "self", NULL
1277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1281 result
= (PyObject
*)wxColour_Get(arg1
);
1283 wxPyEndAllowThreads(__tstate
);
1284 if (PyErr_Occurred()) SWIG_fail
;
1293 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1296 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1298 return Py_BuildValue((char *)"");
1300 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1301 PyObject
*resultobj
;
1303 unsigned char *arg2
= (unsigned char *) 0 ;
1304 unsigned char *arg3
= (unsigned char *) 0 ;
1305 unsigned char *arg4
= (unsigned char *) 0 ;
1307 PyObject
* obj0
= 0 ;
1308 PyObject
* obj1
= 0 ;
1309 PyObject
* obj2
= 0 ;
1310 PyObject
* obj3
= 0 ;
1312 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1317 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
1318 if (PyErr_Occurred()) SWIG_fail
;
1320 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1321 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1322 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1325 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1327 wxPyEndAllowThreads(__tstate
);
1328 if (PyErr_Occurred()) SWIG_fail
;
1330 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPalette
, 1);
1337 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1338 PyObject
*resultobj
;
1339 wxPalette
*arg1
= (wxPalette
*) 0 ;
1340 PyObject
* obj0
= 0 ;
1342 (char *) "self", NULL
1345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1351 wxPyEndAllowThreads(__tstate
);
1352 if (PyErr_Occurred()) SWIG_fail
;
1354 Py_INCREF(Py_None
); resultobj
= Py_None
;
1361 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1362 PyObject
*resultobj
;
1363 wxPalette
*arg1
= (wxPalette
*) 0 ;
1368 PyObject
* obj0
= 0 ;
1369 PyObject
* obj1
= 0 ;
1370 PyObject
* obj2
= 0 ;
1371 PyObject
* obj3
= 0 ;
1373 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1379 arg2
= (byte
) SWIG_PyObj_AsUnsignedChar(obj1
);
1380 if (PyErr_Occurred()) SWIG_fail
;
1383 arg3
= (byte
) SWIG_PyObj_AsUnsignedChar(obj2
);
1384 if (PyErr_Occurred()) SWIG_fail
;
1387 arg4
= (byte
) SWIG_PyObj_AsUnsignedChar(obj3
);
1388 if (PyErr_Occurred()) SWIG_fail
;
1391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1392 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1394 wxPyEndAllowThreads(__tstate
);
1395 if (PyErr_Occurred()) SWIG_fail
;
1397 resultobj
= SWIG_PyObj_FromInt((int)result
);
1404 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
*resultobj
;
1406 wxPalette
*arg1
= (wxPalette
*) 0 ;
1408 byte
*arg3
= (byte
*) 0 ;
1409 byte
*arg4
= (byte
*) 0 ;
1410 byte
*arg5
= (byte
*) 0 ;
1415 PyObject
* obj0
= 0 ;
1416 PyObject
* obj1
= 0 ;
1418 (char *) "self",(char *) "pixel", NULL
1424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1427 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1428 if (PyErr_Occurred()) SWIG_fail
;
1431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1432 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1434 wxPyEndAllowThreads(__tstate
);
1435 if (PyErr_Occurred()) SWIG_fail
;
1437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1439 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1440 resultobj
= t_output_helper(resultobj
,o
);
1443 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1444 resultobj
= t_output_helper(resultobj
,o
);
1447 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1448 resultobj
= t_output_helper(resultobj
,o
);
1456 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1457 PyObject
*resultobj
;
1458 wxPalette
*arg1
= (wxPalette
*) 0 ;
1460 PyObject
* obj0
= 0 ;
1462 (char *) "self", NULL
1465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1469 result
= (bool)(arg1
)->Ok();
1471 wxPyEndAllowThreads(__tstate
);
1472 if (PyErr_Occurred()) SWIG_fail
;
1474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1481 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1484 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1486 return Py_BuildValue((char *)"");
1488 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1489 PyObject
*resultobj
;
1490 wxColour
*arg1
= 0 ;
1491 int arg2
= (int) 1 ;
1492 int arg3
= (int) wxSOLID
;
1495 PyObject
* obj0
= 0 ;
1496 PyObject
* obj1
= 0 ;
1497 PyObject
* obj2
= 0 ;
1499 (char *) "colour",(char *) "width",(char *) "style", NULL
1502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1505 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1509 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1510 if (PyErr_Occurred()) SWIG_fail
;
1515 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1516 if (PyErr_Occurred()) SWIG_fail
;
1520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1521 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1523 wxPyEndAllowThreads(__tstate
);
1524 if (PyErr_Occurred()) SWIG_fail
;
1526 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 1);
1533 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1534 PyObject
*resultobj
;
1535 wxPen
*arg1
= (wxPen
*) 0 ;
1536 PyObject
* obj0
= 0 ;
1538 (char *) "self", NULL
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1547 wxPyEndAllowThreads(__tstate
);
1548 if (PyErr_Occurred()) SWIG_fail
;
1550 Py_INCREF(Py_None
); resultobj
= Py_None
;
1557 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1558 PyObject
*resultobj
;
1559 wxPen
*arg1
= (wxPen
*) 0 ;
1561 PyObject
* obj0
= 0 ;
1563 (char *) "self", NULL
1566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1570 result
= (int)(arg1
)->GetCap();
1572 wxPyEndAllowThreads(__tstate
);
1573 if (PyErr_Occurred()) SWIG_fail
;
1575 resultobj
= SWIG_PyObj_FromInt((int)result
);
1582 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1583 PyObject
*resultobj
;
1584 wxPen
*arg1
= (wxPen
*) 0 ;
1586 PyObject
* obj0
= 0 ;
1588 (char *) "self", NULL
1591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1595 result
= (arg1
)->GetColour();
1597 wxPyEndAllowThreads(__tstate
);
1598 if (PyErr_Occurred()) SWIG_fail
;
1601 wxColour
* resultptr
;
1602 resultptr
= new wxColour((wxColour
&) result
);
1603 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1611 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1612 PyObject
*resultobj
;
1613 wxPen
*arg1
= (wxPen
*) 0 ;
1615 PyObject
* obj0
= 0 ;
1617 (char *) "self", NULL
1620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1624 result
= (int)(arg1
)->GetJoin();
1626 wxPyEndAllowThreads(__tstate
);
1627 if (PyErr_Occurred()) SWIG_fail
;
1629 resultobj
= SWIG_PyObj_FromInt((int)result
);
1636 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
*resultobj
;
1638 wxPen
*arg1
= (wxPen
*) 0 ;
1640 PyObject
* obj0
= 0 ;
1642 (char *) "self", NULL
1645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1649 result
= (int)(arg1
)->GetStyle();
1651 wxPyEndAllowThreads(__tstate
);
1652 if (PyErr_Occurred()) SWIG_fail
;
1654 resultobj
= SWIG_PyObj_FromInt((int)result
);
1661 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1662 PyObject
*resultobj
;
1663 wxPen
*arg1
= (wxPen
*) 0 ;
1665 PyObject
* obj0
= 0 ;
1667 (char *) "self", NULL
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1674 result
= (int)(arg1
)->GetWidth();
1676 wxPyEndAllowThreads(__tstate
);
1677 if (PyErr_Occurred()) SWIG_fail
;
1679 resultobj
= SWIG_PyObj_FromInt((int)result
);
1686 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1687 PyObject
*resultobj
;
1688 wxPen
*arg1
= (wxPen
*) 0 ;
1690 PyObject
* obj0
= 0 ;
1692 (char *) "self", NULL
1695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1699 result
= (bool)(arg1
)->Ok();
1701 wxPyEndAllowThreads(__tstate
);
1702 if (PyErr_Occurred()) SWIG_fail
;
1704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1711 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1712 PyObject
*resultobj
;
1713 wxPen
*arg1
= (wxPen
*) 0 ;
1715 PyObject
* obj0
= 0 ;
1716 PyObject
* obj1
= 0 ;
1718 (char *) "self",(char *) "cap_style", NULL
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1724 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1725 if (PyErr_Occurred()) SWIG_fail
;
1728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1729 (arg1
)->SetCap(arg2
);
1731 wxPyEndAllowThreads(__tstate
);
1732 if (PyErr_Occurred()) SWIG_fail
;
1734 Py_INCREF(Py_None
); resultobj
= Py_None
;
1741 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
*resultobj
;
1743 wxPen
*arg1
= (wxPen
*) 0 ;
1744 wxColour
*arg2
= 0 ;
1746 PyObject
* obj0
= 0 ;
1747 PyObject
* obj1
= 0 ;
1749 (char *) "self",(char *) "colour", NULL
1752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1756 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1760 (arg1
)->SetColour(*arg2
);
1762 wxPyEndAllowThreads(__tstate
);
1763 if (PyErr_Occurred()) SWIG_fail
;
1765 Py_INCREF(Py_None
); resultobj
= Py_None
;
1772 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1773 PyObject
*resultobj
;
1774 wxPen
*arg1
= (wxPen
*) 0 ;
1776 PyObject
* obj0
= 0 ;
1777 PyObject
* obj1
= 0 ;
1779 (char *) "self",(char *) "join_style", NULL
1782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
1783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1785 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1786 if (PyErr_Occurred()) SWIG_fail
;
1789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1790 (arg1
)->SetJoin(arg2
);
1792 wxPyEndAllowThreads(__tstate
);
1793 if (PyErr_Occurred()) SWIG_fail
;
1795 Py_INCREF(Py_None
); resultobj
= Py_None
;
1802 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1803 PyObject
*resultobj
;
1804 wxPen
*arg1
= (wxPen
*) 0 ;
1806 PyObject
* obj0
= 0 ;
1807 PyObject
* obj1
= 0 ;
1809 (char *) "self",(char *) "style", NULL
1812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
1813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1815 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1816 if (PyErr_Occurred()) SWIG_fail
;
1819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1820 (arg1
)->SetStyle(arg2
);
1822 wxPyEndAllowThreads(__tstate
);
1823 if (PyErr_Occurred()) SWIG_fail
;
1825 Py_INCREF(Py_None
); resultobj
= Py_None
;
1832 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
*resultobj
;
1834 wxPen
*arg1
= (wxPen
*) 0 ;
1836 PyObject
* obj0
= 0 ;
1837 PyObject
* obj1
= 0 ;
1839 (char *) "self",(char *) "width", NULL
1842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
1843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1845 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1846 if (PyErr_Occurred()) SWIG_fail
;
1849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1850 (arg1
)->SetWidth(arg2
);
1852 wxPyEndAllowThreads(__tstate
);
1853 if (PyErr_Occurred()) SWIG_fail
;
1855 Py_INCREF(Py_None
); resultobj
= Py_None
;
1862 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
*resultobj
;
1864 wxPen
*arg1
= (wxPen
*) 0 ;
1866 wxDash
*arg3
= (wxDash
*) 0 ;
1867 PyObject
* obj0
= 0 ;
1868 PyObject
* obj1
= 0 ;
1870 (char *) "self",(char *) "dashes", NULL
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
1874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1876 arg2
= PyList_Size(obj1
);
1877 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
1878 if (arg3
== NULL
) SWIG_fail
;
1881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1882 (arg1
)->SetDashes(arg2
,arg3
);
1884 wxPyEndAllowThreads(__tstate
);
1885 if (PyErr_Occurred()) SWIG_fail
;
1887 Py_INCREF(Py_None
); resultobj
= Py_None
;
1889 if (arg3
) delete [] arg3
;
1894 if (arg3
) delete [] arg3
;
1900 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1901 PyObject
*resultobj
;
1902 wxPen
*arg1
= (wxPen
*) 0 ;
1904 PyObject
* obj0
= 0 ;
1906 (char *) "self", NULL
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
1910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1913 result
= (PyObject
*)wxPen_GetDashes(arg1
);
1915 wxPyEndAllowThreads(__tstate
);
1916 if (PyErr_Occurred()) SWIG_fail
;
1925 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1926 PyObject
*resultobj
;
1927 wxPen
*arg1
= (wxPen
*) 0 ;
1929 PyObject
* obj0
= 0 ;
1931 (char *) "self", NULL
1934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
1935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1938 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
1940 wxPyEndAllowThreads(__tstate
);
1941 if (PyErr_Occurred()) SWIG_fail
;
1943 resultobj
= SWIG_PyObj_FromInt((int)result
);
1950 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
1952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1953 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
1955 return Py_BuildValue((char *)"");
1957 static PyObject
*_wrap_new_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1958 PyObject
*resultobj
;
1959 wxColour
*arg1
= 0 ;
1960 int arg2
= (int) 1 ;
1961 int arg3
= (int) wxSOLID
;
1964 PyObject
* obj0
= 0 ;
1965 PyObject
* obj1
= 0 ;
1966 PyObject
* obj2
= 0 ;
1968 (char *) "colour",(char *) "width",(char *) "style", NULL
1971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_PyPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1974 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1978 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1979 if (PyErr_Occurred()) SWIG_fail
;
1984 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1985 if (PyErr_Occurred()) SWIG_fail
;
1989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1990 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
1992 wxPyEndAllowThreads(__tstate
);
1993 if (PyErr_Occurred()) SWIG_fail
;
1995 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPen
, 1);
2002 static PyObject
*_wrap_delete_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
*resultobj
;
2004 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2005 PyObject
* obj0
= 0 ;
2007 (char *) "self", NULL
2010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
2011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2016 wxPyEndAllowThreads(__tstate
);
2017 if (PyErr_Occurred()) SWIG_fail
;
2019 Py_INCREF(Py_None
); resultobj
= Py_None
;
2026 static PyObject
*_wrap_PyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2027 PyObject
*resultobj
;
2028 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2030 wxDash
*arg3
= (wxDash
*) 0 ;
2031 PyObject
* obj0
= 0 ;
2032 PyObject
* obj1
= 0 ;
2034 (char *) "self",(char *) "dashes", NULL
2037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2040 arg2
= PyList_Size(obj1
);
2041 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2042 if (arg3
== NULL
) SWIG_fail
;
2045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2046 (arg1
)->SetDashes(arg2
,arg3
);
2048 wxPyEndAllowThreads(__tstate
);
2049 if (PyErr_Occurred()) SWIG_fail
;
2051 Py_INCREF(Py_None
); resultobj
= Py_None
;
2053 if (arg3
) delete [] arg3
;
2058 if (arg3
) delete [] arg3
;
2064 static PyObject
* PyPen_swigregister(PyObject
*self
, PyObject
*args
) {
2066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2067 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
2069 return Py_BuildValue((char *)"");
2071 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2072 PyObject
*resultobj
;
2073 wxColour
*arg1
= 0 ;
2074 int arg2
= (int) wxSOLID
;
2077 PyObject
* obj0
= 0 ;
2078 PyObject
* obj1
= 0 ;
2080 (char *) "colour",(char *) "style", NULL
2083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2086 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2090 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2091 if (PyErr_Occurred()) SWIG_fail
;
2095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2096 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2098 wxPyEndAllowThreads(__tstate
);
2099 if (PyErr_Occurred()) SWIG_fail
;
2101 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 1);
2108 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2109 PyObject
*resultobj
;
2110 wxBrush
*arg1
= (wxBrush
*) 0 ;
2111 PyObject
* obj0
= 0 ;
2113 (char *) "self", NULL
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2122 wxPyEndAllowThreads(__tstate
);
2123 if (PyErr_Occurred()) SWIG_fail
;
2125 Py_INCREF(Py_None
); resultobj
= Py_None
;
2132 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
*resultobj
;
2134 wxBrush
*arg1
= (wxBrush
*) 0 ;
2135 wxColour
*arg2
= 0 ;
2137 PyObject
* obj0
= 0 ;
2138 PyObject
* obj1
= 0 ;
2140 (char *) "self",(char *) "col", NULL
2143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2147 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2151 (arg1
)->SetColour((wxColour
const &)*arg2
);
2153 wxPyEndAllowThreads(__tstate
);
2154 if (PyErr_Occurred()) SWIG_fail
;
2156 Py_INCREF(Py_None
); resultobj
= Py_None
;
2163 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2164 PyObject
*resultobj
;
2165 wxBrush
*arg1
= (wxBrush
*) 0 ;
2167 PyObject
* obj0
= 0 ;
2168 PyObject
* obj1
= 0 ;
2170 (char *) "self",(char *) "style", NULL
2173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2176 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2177 if (PyErr_Occurred()) SWIG_fail
;
2180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2181 (arg1
)->SetStyle(arg2
);
2183 wxPyEndAllowThreads(__tstate
);
2184 if (PyErr_Occurred()) SWIG_fail
;
2186 Py_INCREF(Py_None
); resultobj
= Py_None
;
2193 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2194 PyObject
*resultobj
;
2195 wxBrush
*arg1
= (wxBrush
*) 0 ;
2196 wxBitmap
*arg2
= 0 ;
2197 PyObject
* obj0
= 0 ;
2198 PyObject
* obj1
= 0 ;
2200 (char *) "self",(char *) "stipple", NULL
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2205 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2207 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2211 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2213 wxPyEndAllowThreads(__tstate
);
2214 if (PyErr_Occurred()) SWIG_fail
;
2216 Py_INCREF(Py_None
); resultobj
= Py_None
;
2223 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
*resultobj
;
2225 wxBrush
*arg1
= (wxBrush
*) 0 ;
2227 PyObject
* obj0
= 0 ;
2229 (char *) "self", NULL
2232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2236 result
= ((wxBrush
const *)arg1
)->GetColour();
2238 wxPyEndAllowThreads(__tstate
);
2239 if (PyErr_Occurred()) SWIG_fail
;
2242 wxColour
* resultptr
;
2243 resultptr
= new wxColour((wxColour
&) result
);
2244 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
2252 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2253 PyObject
*resultobj
;
2254 wxBrush
*arg1
= (wxBrush
*) 0 ;
2256 PyObject
* obj0
= 0 ;
2258 (char *) "self", NULL
2261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2265 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2267 wxPyEndAllowThreads(__tstate
);
2268 if (PyErr_Occurred()) SWIG_fail
;
2270 resultobj
= SWIG_PyObj_FromInt((int)result
);
2277 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2278 PyObject
*resultobj
;
2279 wxBrush
*arg1
= (wxBrush
*) 0 ;
2281 PyObject
* obj0
= 0 ;
2283 (char *) "self", NULL
2286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2290 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2292 wxPyEndAllowThreads(__tstate
);
2293 if (PyErr_Occurred()) SWIG_fail
;
2295 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
2302 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
*resultobj
;
2304 wxBrush
*arg1
= (wxBrush
*) 0 ;
2306 PyObject
* obj0
= 0 ;
2308 (char *) "self", NULL
2311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2315 result
= (bool)(arg1
)->Ok();
2317 wxPyEndAllowThreads(__tstate
);
2318 if (PyErr_Occurred()) SWIG_fail
;
2320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2327 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2330 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2332 return Py_BuildValue((char *)"");
2334 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2335 PyObject
*resultobj
;
2336 wxString
*arg1
= 0 ;
2337 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2339 bool temp1
= False
;
2340 PyObject
* obj0
= 0 ;
2341 PyObject
* obj1
= 0 ;
2343 (char *) "name",(char *) "type", NULL
2346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2348 arg1
= wxString_in_helper(obj0
);
2349 if (arg1
== NULL
) SWIG_fail
;
2354 arg2
= (wxBitmapType
) SWIG_PyObj_AsInt(obj1
);
2355 if (PyErr_Occurred()) SWIG_fail
;
2359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2360 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2362 wxPyEndAllowThreads(__tstate
);
2363 if (PyErr_Occurred()) SWIG_fail
;
2365 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2380 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2381 PyObject
*resultobj
;
2382 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2383 PyObject
* obj0
= 0 ;
2385 (char *) "self", NULL
2388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2394 wxPyEndAllowThreads(__tstate
);
2395 if (PyErr_Occurred()) SWIG_fail
;
2397 Py_INCREF(Py_None
); resultobj
= Py_None
;
2404 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2405 PyObject
*resultobj
;
2408 int arg3
= (int) -1 ;
2410 PyObject
* obj0
= 0 ;
2411 PyObject
* obj1
= 0 ;
2412 PyObject
* obj2
= 0 ;
2414 (char *) "width",(char *) "height",(char *) "depth", NULL
2417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2419 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
2420 if (PyErr_Occurred()) SWIG_fail
;
2423 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2424 if (PyErr_Occurred()) SWIG_fail
;
2428 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2429 if (PyErr_Occurred()) SWIG_fail
;
2433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2434 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2436 wxPyEndAllowThreads(__tstate
);
2437 if (PyErr_Occurred()) SWIG_fail
;
2439 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2446 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
*resultobj
;
2450 PyObject
* obj0
= 0 ;
2452 (char *) "icon", NULL
2455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2458 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2462 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2464 wxPyEndAllowThreads(__tstate
);
2465 if (PyErr_Occurred()) SWIG_fail
;
2467 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2474 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2475 PyObject
*resultobj
;
2477 int arg2
= (int) -1 ;
2479 PyObject
* obj0
= 0 ;
2480 PyObject
* obj1
= 0 ;
2482 (char *) "image",(char *) "depth", NULL
2485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2488 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2492 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2493 if (PyErr_Occurred()) SWIG_fail
;
2497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2498 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2500 wxPyEndAllowThreads(__tstate
);
2501 if (PyErr_Occurred()) SWIG_fail
;
2503 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2510 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2511 PyObject
*resultobj
;
2512 PyObject
*arg1
= (PyObject
*) 0 ;
2514 PyObject
* obj0
= 0 ;
2516 (char *) "listOfStrings", NULL
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2523 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2525 wxPyEndAllowThreads(__tstate
);
2526 if (PyErr_Occurred()) SWIG_fail
;
2528 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2535 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2536 PyObject
*resultobj
;
2537 PyObject
*arg1
= (PyObject
*) 0 ;
2540 int arg4
= (int) 1 ;
2542 PyObject
* obj0
= 0 ;
2543 PyObject
* obj1
= 0 ;
2544 PyObject
* obj2
= 0 ;
2545 PyObject
* obj3
= 0 ;
2547 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2553 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2554 if (PyErr_Occurred()) SWIG_fail
;
2557 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2558 if (PyErr_Occurred()) SWIG_fail
;
2562 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2563 if (PyErr_Occurred()) SWIG_fail
;
2567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2568 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2570 wxPyEndAllowThreads(__tstate
);
2571 if (PyErr_Occurred()) SWIG_fail
;
2573 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2580 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2581 PyObject
*resultobj
;
2582 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2584 PyObject
* obj0
= 0 ;
2586 (char *) "self", NULL
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2593 result
= (bool)(arg1
)->Ok();
2595 wxPyEndAllowThreads(__tstate
);
2596 if (PyErr_Occurred()) SWIG_fail
;
2598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2605 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
*resultobj
;
2607 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2609 PyObject
* obj0
= 0 ;
2611 (char *) "self", NULL
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2618 result
= (int)(arg1
)->GetWidth();
2620 wxPyEndAllowThreads(__tstate
);
2621 if (PyErr_Occurred()) SWIG_fail
;
2623 resultobj
= SWIG_PyObj_FromInt((int)result
);
2630 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2631 PyObject
*resultobj
;
2632 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2634 PyObject
* obj0
= 0 ;
2636 (char *) "self", NULL
2639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2643 result
= (int)(arg1
)->GetHeight();
2645 wxPyEndAllowThreads(__tstate
);
2646 if (PyErr_Occurred()) SWIG_fail
;
2648 resultobj
= SWIG_PyObj_FromInt((int)result
);
2655 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
*resultobj
;
2657 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2659 PyObject
* obj0
= 0 ;
2661 (char *) "self", NULL
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2668 result
= (int)(arg1
)->GetDepth();
2670 wxPyEndAllowThreads(__tstate
);
2671 if (PyErr_Occurred()) SWIG_fail
;
2673 resultobj
= SWIG_PyObj_FromInt((int)result
);
2680 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2681 PyObject
*resultobj
;
2682 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2683 SwigValueWrapper
< wxImage
> result
;
2684 PyObject
* obj0
= 0 ;
2686 (char *) "self", NULL
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
2690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2693 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
2695 wxPyEndAllowThreads(__tstate
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2699 wxImage
* resultptr
;
2700 resultptr
= new wxImage((wxImage
&) result
);
2701 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
2709 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
*resultobj
;
2711 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2713 PyObject
* obj0
= 0 ;
2715 (char *) "self", NULL
2718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
2719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2722 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
2724 wxPyEndAllowThreads(__tstate
);
2725 if (PyErr_Occurred()) SWIG_fail
;
2727 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 0);
2734 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
*resultobj
;
2736 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2737 wxMask
*arg2
= (wxMask
*) 0 ;
2738 PyObject
* obj0
= 0 ;
2739 PyObject
* obj1
= 0 ;
2741 (char *) "self",(char *) "mask", NULL
2744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
2745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2746 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2749 (arg1
)->SetMask(arg2
);
2751 wxPyEndAllowThreads(__tstate
);
2752 if (PyErr_Occurred()) SWIG_fail
;
2754 Py_INCREF(Py_None
); resultobj
= Py_None
;
2761 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2762 PyObject
*resultobj
;
2763 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2764 wxColour
*arg2
= 0 ;
2766 PyObject
* obj0
= 0 ;
2767 PyObject
* obj1
= 0 ;
2769 (char *) "self",(char *) "colour", NULL
2772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2776 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2780 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
2782 wxPyEndAllowThreads(__tstate
);
2783 if (PyErr_Occurred()) SWIG_fail
;
2785 Py_INCREF(Py_None
); resultobj
= Py_None
;
2792 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2793 PyObject
*resultobj
;
2794 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2796 SwigValueWrapper
< wxBitmap
> result
;
2798 PyObject
* obj0
= 0 ;
2799 PyObject
* obj1
= 0 ;
2801 (char *) "self",(char *) "rect", NULL
2804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2808 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2812 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
2814 wxPyEndAllowThreads(__tstate
);
2815 if (PyErr_Occurred()) SWIG_fail
;
2818 wxBitmap
* resultptr
;
2819 resultptr
= new wxBitmap((wxBitmap
&) result
);
2820 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
2828 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
*resultobj
;
2830 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2831 wxString
*arg2
= 0 ;
2833 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
2835 bool temp2
= False
;
2836 PyObject
* obj0
= 0 ;
2837 PyObject
* obj1
= 0 ;
2838 PyObject
* obj2
= 0 ;
2839 PyObject
* obj3
= 0 ;
2841 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
2844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2847 arg2
= wxString_in_helper(obj1
);
2848 if (arg2
== NULL
) SWIG_fail
;
2852 arg3
= (wxBitmapType
) SWIG_PyObj_AsInt(obj2
);
2853 if (PyErr_Occurred()) SWIG_fail
;
2856 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2860 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
2862 wxPyEndAllowThreads(__tstate
);
2863 if (PyErr_Occurred()) SWIG_fail
;
2865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2880 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2881 PyObject
*resultobj
;
2882 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2883 wxString
*arg2
= 0 ;
2886 bool temp2
= False
;
2887 PyObject
* obj0
= 0 ;
2888 PyObject
* obj1
= 0 ;
2889 PyObject
* obj2
= 0 ;
2891 (char *) "self",(char *) "name",(char *) "type", NULL
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2897 arg2
= wxString_in_helper(obj1
);
2898 if (arg2
== NULL
) SWIG_fail
;
2902 arg3
= (wxBitmapType
) SWIG_PyObj_AsInt(obj2
);
2903 if (PyErr_Occurred()) SWIG_fail
;
2906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2907 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
2909 wxPyEndAllowThreads(__tstate
);
2910 if (PyErr_Occurred()) SWIG_fail
;
2912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2927 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2928 PyObject
*resultobj
;
2929 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2932 PyObject
* obj0
= 0 ;
2933 PyObject
* obj1
= 0 ;
2935 (char *) "self",(char *) "icon", NULL
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2940 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2942 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2946 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
2948 wxPyEndAllowThreads(__tstate
);
2949 if (PyErr_Occurred()) SWIG_fail
;
2951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2958 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2959 PyObject
*resultobj
;
2960 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2962 PyObject
* obj0
= 0 ;
2963 PyObject
* obj1
= 0 ;
2965 (char *) "self",(char *) "height", NULL
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2971 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2972 if (PyErr_Occurred()) SWIG_fail
;
2975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2976 (arg1
)->SetHeight(arg2
);
2978 wxPyEndAllowThreads(__tstate
);
2979 if (PyErr_Occurred()) SWIG_fail
;
2981 Py_INCREF(Py_None
); resultobj
= Py_None
;
2988 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2989 PyObject
*resultobj
;
2990 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2992 PyObject
* obj0
= 0 ;
2993 PyObject
* obj1
= 0 ;
2995 (char *) "self",(char *) "width", NULL
2998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3001 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3002 if (PyErr_Occurred()) SWIG_fail
;
3005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3006 (arg1
)->SetWidth(arg2
);
3008 wxPyEndAllowThreads(__tstate
);
3009 if (PyErr_Occurred()) SWIG_fail
;
3011 Py_INCREF(Py_None
); resultobj
= Py_None
;
3018 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3019 PyObject
*resultobj
;
3020 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3022 PyObject
* obj0
= 0 ;
3023 PyObject
* obj1
= 0 ;
3025 (char *) "self",(char *) "depth", NULL
3028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3031 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3032 if (PyErr_Occurred()) SWIG_fail
;
3035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3036 (arg1
)->SetDepth(arg2
);
3038 wxPyEndAllowThreads(__tstate
);
3039 if (PyErr_Occurred()) SWIG_fail
;
3041 Py_INCREF(Py_None
); resultobj
= Py_None
;
3048 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3051 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3053 return Py_BuildValue((char *)"");
3055 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3056 PyObject
*resultobj
;
3057 wxBitmap
*arg1
= 0 ;
3059 PyObject
* obj0
= 0 ;
3061 (char *) "bitmap", NULL
3064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Mask",kwnames
,&obj0
)) goto fail
;
3065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3067 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3071 result
= (wxMask
*)new wxMask((wxBitmap
const &)*arg1
);
3073 wxPyEndAllowThreads(__tstate
);
3074 if (PyErr_Occurred()) SWIG_fail
;
3076 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 1);
3083 static PyObject
*_wrap_new_MaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3084 PyObject
*resultobj
;
3085 wxBitmap
*arg1
= 0 ;
3086 wxColour
*arg2
= 0 ;
3089 PyObject
* obj0
= 0 ;
3090 PyObject
* obj1
= 0 ;
3092 (char *) "bitmap",(char *) "colour", NULL
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3098 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3102 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3106 result
= (wxMask
*)new wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3108 wxPyEndAllowThreads(__tstate
);
3109 if (PyErr_Occurred()) SWIG_fail
;
3111 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 1);
3118 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3121 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3123 return Py_BuildValue((char *)"");
3125 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3126 PyObject
*resultobj
;
3127 wxString
*arg1
= 0 ;
3129 int arg3
= (int) -1 ;
3130 int arg4
= (int) -1 ;
3132 bool temp1
= False
;
3133 PyObject
* obj0
= 0 ;
3134 PyObject
* obj1
= 0 ;
3135 PyObject
* obj2
= 0 ;
3136 PyObject
* obj3
= 0 ;
3138 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3143 arg1
= wxString_in_helper(obj0
);
3144 if (arg1
== NULL
) SWIG_fail
;
3148 arg2
= (wxBitmapType
) SWIG_PyObj_AsInt(obj1
);
3149 if (PyErr_Occurred()) SWIG_fail
;
3153 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3154 if (PyErr_Occurred()) SWIG_fail
;
3159 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
3160 if (PyErr_Occurred()) SWIG_fail
;
3164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3165 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3167 wxPyEndAllowThreads(__tstate
);
3168 if (PyErr_Occurred()) SWIG_fail
;
3170 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3185 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3186 PyObject
*resultobj
;
3187 wxIcon
*arg1
= (wxIcon
*) 0 ;
3188 PyObject
* obj0
= 0 ;
3190 (char *) "self", NULL
3193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3199 wxPyEndAllowThreads(__tstate
);
3200 if (PyErr_Occurred()) SWIG_fail
;
3202 Py_INCREF(Py_None
); resultobj
= Py_None
;
3209 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3210 PyObject
*resultobj
;
3216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3219 result
= (wxIcon
*)new wxIcon();
3221 wxPyEndAllowThreads(__tstate
);
3222 if (PyErr_Occurred()) SWIG_fail
;
3224 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3231 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
*resultobj
;
3233 wxIconLocation
*arg1
= 0 ;
3235 PyObject
* obj0
= 0 ;
3237 (char *) "loc", NULL
3240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3243 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3247 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3249 wxPyEndAllowThreads(__tstate
);
3250 if (PyErr_Occurred()) SWIG_fail
;
3252 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3259 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3260 PyObject
*resultobj
;
3261 wxBitmap
*arg1
= 0 ;
3263 PyObject
* obj0
= 0 ;
3265 (char *) "bmp", NULL
3268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3271 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3275 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3277 wxPyEndAllowThreads(__tstate
);
3278 if (PyErr_Occurred()) SWIG_fail
;
3280 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3287 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3288 PyObject
*resultobj
;
3289 PyObject
*arg1
= (PyObject
*) 0 ;
3291 PyObject
* obj0
= 0 ;
3293 (char *) "listOfStrings", NULL
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3300 result
= (wxIcon
*)new_wxIcon(arg1
);
3302 wxPyEndAllowThreads(__tstate
);
3303 if (PyErr_Occurred()) SWIG_fail
;
3305 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3312 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
*resultobj
;
3314 wxIcon
*arg1
= (wxIcon
*) 0 ;
3315 wxString
*arg2
= 0 ;
3318 bool temp2
= False
;
3319 PyObject
* obj0
= 0 ;
3320 PyObject
* obj1
= 0 ;
3321 PyObject
* obj2
= 0 ;
3323 (char *) "self",(char *) "name",(char *) "type", NULL
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3329 arg2
= wxString_in_helper(obj1
);
3330 if (arg2
== NULL
) SWIG_fail
;
3334 arg3
= (wxBitmapType
) SWIG_PyObj_AsInt(obj2
);
3335 if (PyErr_Occurred()) SWIG_fail
;
3338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3339 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3341 wxPyEndAllowThreads(__tstate
);
3342 if (PyErr_Occurred()) SWIG_fail
;
3344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3359 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3360 PyObject
*resultobj
;
3361 wxIcon
*arg1
= (wxIcon
*) 0 ;
3363 PyObject
* obj0
= 0 ;
3365 (char *) "self", NULL
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3372 result
= (bool)(arg1
)->Ok();
3374 wxPyEndAllowThreads(__tstate
);
3375 if (PyErr_Occurred()) SWIG_fail
;
3377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3384 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
*resultobj
;
3386 wxIcon
*arg1
= (wxIcon
*) 0 ;
3388 PyObject
* obj0
= 0 ;
3390 (char *) "self", NULL
3393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3397 result
= (int)(arg1
)->GetWidth();
3399 wxPyEndAllowThreads(__tstate
);
3400 if (PyErr_Occurred()) SWIG_fail
;
3402 resultobj
= SWIG_PyObj_FromInt((int)result
);
3409 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3410 PyObject
*resultobj
;
3411 wxIcon
*arg1
= (wxIcon
*) 0 ;
3413 PyObject
* obj0
= 0 ;
3415 (char *) "self", NULL
3418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3422 result
= (int)(arg1
)->GetHeight();
3424 wxPyEndAllowThreads(__tstate
);
3425 if (PyErr_Occurred()) SWIG_fail
;
3427 resultobj
= SWIG_PyObj_FromInt((int)result
);
3434 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3435 PyObject
*resultobj
;
3436 wxIcon
*arg1
= (wxIcon
*) 0 ;
3438 PyObject
* obj0
= 0 ;
3440 (char *) "self", NULL
3443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3447 result
= (int)(arg1
)->GetDepth();
3449 wxPyEndAllowThreads(__tstate
);
3450 if (PyErr_Occurred()) SWIG_fail
;
3452 resultobj
= SWIG_PyObj_FromInt((int)result
);
3459 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
*resultobj
;
3461 wxIcon
*arg1
= (wxIcon
*) 0 ;
3463 PyObject
* obj0
= 0 ;
3464 PyObject
* obj1
= 0 ;
3466 (char *) "self",(char *) "w", NULL
3469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3472 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3477 (arg1
)->SetWidth(arg2
);
3479 wxPyEndAllowThreads(__tstate
);
3480 if (PyErr_Occurred()) SWIG_fail
;
3482 Py_INCREF(Py_None
); resultobj
= Py_None
;
3489 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3490 PyObject
*resultobj
;
3491 wxIcon
*arg1
= (wxIcon
*) 0 ;
3493 PyObject
* obj0
= 0 ;
3494 PyObject
* obj1
= 0 ;
3496 (char *) "self",(char *) "h", NULL
3499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3502 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3507 (arg1
)->SetHeight(arg2
);
3509 wxPyEndAllowThreads(__tstate
);
3510 if (PyErr_Occurred()) SWIG_fail
;
3512 Py_INCREF(Py_None
); resultobj
= Py_None
;
3519 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
*resultobj
;
3521 wxIcon
*arg1
= (wxIcon
*) 0 ;
3523 PyObject
* obj0
= 0 ;
3524 PyObject
* obj1
= 0 ;
3526 (char *) "self",(char *) "d", NULL
3529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3532 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3537 (arg1
)->SetDepth(arg2
);
3539 wxPyEndAllowThreads(__tstate
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3542 Py_INCREF(Py_None
); resultobj
= Py_None
;
3549 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3550 PyObject
*resultobj
;
3551 wxIcon
*arg1
= (wxIcon
*) 0 ;
3552 wxBitmap
*arg2
= 0 ;
3553 PyObject
* obj0
= 0 ;
3554 PyObject
* obj1
= 0 ;
3556 (char *) "self",(char *) "bmp", NULL
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3561 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3563 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3567 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3569 wxPyEndAllowThreads(__tstate
);
3570 if (PyErr_Occurred()) SWIG_fail
;
3572 Py_INCREF(Py_None
); resultobj
= Py_None
;
3579 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
3581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3582 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3584 return Py_BuildValue((char *)"");
3586 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3587 PyObject
*resultobj
;
3588 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3589 int arg2
= (int) 0 ;
3590 wxIconLocation
*result
;
3591 bool temp1
= False
;
3592 PyObject
* obj0
= 0 ;
3593 PyObject
* obj1
= 0 ;
3595 (char *) "filename",(char *) "num", NULL
3598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
3601 arg1
= wxString_in_helper(obj0
);
3602 if (arg1
== NULL
) SWIG_fail
;
3608 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3609 if (PyErr_Occurred()) SWIG_fail
;
3613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3614 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3616 wxPyEndAllowThreads(__tstate
);
3617 if (PyErr_Occurred()) SWIG_fail
;
3619 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconLocation
, 1);
3634 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3635 PyObject
*resultobj
;
3636 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3637 PyObject
* obj0
= 0 ;
3639 (char *) "self", NULL
3642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
3643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3648 wxPyEndAllowThreads(__tstate
);
3649 if (PyErr_Occurred()) SWIG_fail
;
3651 Py_INCREF(Py_None
); resultobj
= Py_None
;
3658 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
*resultobj
;
3660 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3662 PyObject
* obj0
= 0 ;
3664 (char *) "self", NULL
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
3668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3671 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
3673 wxPyEndAllowThreads(__tstate
);
3674 if (PyErr_Occurred()) SWIG_fail
;
3676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3683 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3684 PyObject
*resultobj
;
3685 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3686 wxString
*arg2
= 0 ;
3687 bool temp2
= False
;
3688 PyObject
* obj0
= 0 ;
3689 PyObject
* obj1
= 0 ;
3691 (char *) "self",(char *) "filename", NULL
3694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
3695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3697 arg2
= wxString_in_helper(obj1
);
3698 if (arg2
== NULL
) SWIG_fail
;
3702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3703 (arg1
)->SetFileName((wxString
const &)*arg2
);
3705 wxPyEndAllowThreads(__tstate
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3708 Py_INCREF(Py_None
); resultobj
= Py_None
;
3723 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3724 PyObject
*resultobj
;
3725 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3727 PyObject
* obj0
= 0 ;
3729 (char *) "self", NULL
3732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
3733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3737 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
3738 result
= (wxString
*) &_result_ref
;
3741 wxPyEndAllowThreads(__tstate
);
3742 if (PyErr_Occurred()) SWIG_fail
;
3746 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
3748 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
3757 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3758 PyObject
*resultobj
;
3759 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3761 PyObject
* obj0
= 0 ;
3762 PyObject
* obj1
= 0 ;
3764 (char *) "self",(char *) "num", NULL
3767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
3768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3770 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3771 if (PyErr_Occurred()) SWIG_fail
;
3774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3775 wxIconLocation_SetIndex(arg1
,arg2
);
3777 wxPyEndAllowThreads(__tstate
);
3778 if (PyErr_Occurred()) SWIG_fail
;
3780 Py_INCREF(Py_None
); resultobj
= Py_None
;
3787 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3788 PyObject
*resultobj
;
3789 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3791 PyObject
* obj0
= 0 ;
3793 (char *) "self", NULL
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
3797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 result
= (int)wxIconLocation_GetIndex(arg1
);
3802 wxPyEndAllowThreads(__tstate
);
3803 if (PyErr_Occurred()) SWIG_fail
;
3805 resultobj
= SWIG_PyObj_FromInt((int)result
);
3812 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
3814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3815 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
3817 return Py_BuildValue((char *)"");
3819 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3820 PyObject
*resultobj
;
3821 wxIconBundle
*result
;
3826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
3828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3829 result
= (wxIconBundle
*)new wxIconBundle();
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) SWIG_fail
;
3834 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3841 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
*resultobj
;
3843 wxString
*arg1
= 0 ;
3845 wxIconBundle
*result
;
3846 bool temp1
= False
;
3847 PyObject
* obj0
= 0 ;
3848 PyObject
* obj1
= 0 ;
3850 (char *) "file",(char *) "type", NULL
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
3855 arg1
= wxString_in_helper(obj0
);
3856 if (arg1
== NULL
) SWIG_fail
;
3860 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3865 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
3867 wxPyEndAllowThreads(__tstate
);
3868 if (PyErr_Occurred()) SWIG_fail
;
3870 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3885 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
*resultobj
;
3888 wxIconBundle
*result
;
3889 PyObject
* obj0
= 0 ;
3891 (char *) "icon", NULL
3894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
3895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3897 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
3903 wxPyEndAllowThreads(__tstate
);
3904 if (PyErr_Occurred()) SWIG_fail
;
3906 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3913 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
*resultobj
;
3915 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3916 PyObject
* obj0
= 0 ;
3918 (char *) "self", NULL
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
3922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3930 Py_INCREF(Py_None
); resultobj
= Py_None
;
3937 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
*resultobj
;
3939 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3941 PyObject
* obj0
= 0 ;
3942 PyObject
* obj1
= 0 ;
3944 (char *) "self",(char *) "icon", NULL
3947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3949 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3951 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3955 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
3957 wxPyEndAllowThreads(__tstate
);
3958 if (PyErr_Occurred()) SWIG_fail
;
3960 Py_INCREF(Py_None
); resultobj
= Py_None
;
3967 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3968 PyObject
*resultobj
;
3969 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3970 wxString
*arg2
= 0 ;
3972 bool temp2
= False
;
3973 PyObject
* obj0
= 0 ;
3974 PyObject
* obj1
= 0 ;
3975 PyObject
* obj2
= 0 ;
3977 (char *) "self",(char *) "file",(char *) "type", NULL
3980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3983 arg2
= wxString_in_helper(obj1
);
3984 if (arg2
== NULL
) SWIG_fail
;
3988 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3993 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
3995 wxPyEndAllowThreads(__tstate
);
3996 if (PyErr_Occurred()) SWIG_fail
;
3998 Py_INCREF(Py_None
); resultobj
= Py_None
;
4013 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4014 PyObject
*resultobj
;
4015 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4019 PyObject
* obj0
= 0 ;
4020 PyObject
* obj1
= 0 ;
4022 (char *) "self",(char *) "size", NULL
4025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4029 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4034 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4035 result
= (wxIcon
*) &_result_ref
;
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) SWIG_fail
;
4041 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 0);
4048 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4051 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4053 return Py_BuildValue((char *)"");
4055 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
*resultobj
;
4057 wxString
*arg1
= (wxString
*) 0 ;
4059 int arg3
= (int) 0 ;
4060 int arg4
= (int) 0 ;
4062 bool temp1
= False
;
4063 PyObject
* obj0
= 0 ;
4064 PyObject
* obj1
= 0 ;
4065 PyObject
* obj2
= 0 ;
4066 PyObject
* obj3
= 0 ;
4068 (char *) "cursorName",(char *) "flags",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4073 arg1
= wxString_in_helper(obj0
);
4074 if (arg1
== NULL
) SWIG_fail
;
4078 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
4079 if (PyErr_Occurred()) SWIG_fail
;
4083 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4084 if (PyErr_Occurred()) SWIG_fail
;
4089 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4090 if (PyErr_Occurred()) SWIG_fail
;
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4100 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4115 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4116 PyObject
*resultobj
;
4117 wxCursor
*arg1
= (wxCursor
*) 0 ;
4118 PyObject
* obj0
= 0 ;
4120 (char *) "self", NULL
4123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4129 wxPyEndAllowThreads(__tstate
);
4130 if (PyErr_Occurred()) SWIG_fail
;
4132 Py_INCREF(Py_None
); resultobj
= Py_None
;
4139 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
*resultobj
;
4143 PyObject
* obj0
= 0 ;
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4150 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 result
= (wxCursor
*)new wxCursor(arg1
);
4157 wxPyEndAllowThreads(__tstate
);
4158 if (PyErr_Occurred()) SWIG_fail
;
4160 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4167 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
*resultobj
;
4171 PyObject
* obj0
= 0 ;
4173 (char *) "image", NULL
4176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4179 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4183 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4185 wxPyEndAllowThreads(__tstate
);
4186 if (PyErr_Occurred()) SWIG_fail
;
4188 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4195 static PyObject
*_wrap_new_CursorFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4196 PyObject
*resultobj
;
4197 PyObject
*arg1
= (PyObject
*) 0 ;
4200 int arg4
= (int) -1 ;
4201 int arg5
= (int) -1 ;
4202 PyObject
*arg6
= (PyObject
*) 0 ;
4204 PyObject
* obj0
= 0 ;
4205 PyObject
* obj1
= 0 ;
4206 PyObject
* obj2
= 0 ;
4207 PyObject
* obj3
= 0 ;
4208 PyObject
* obj4
= 0 ;
4209 PyObject
* obj5
= 0 ;
4211 (char *) "bits",(char *) "width",(char *) "height",(char *) "hotSpotX",(char *) "hotSpotY",(char *) "maskBits", NULL
4214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_CursorFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4217 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4218 if (PyErr_Occurred()) SWIG_fail
;
4221 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4226 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4232 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4241 result
= (wxCursor
*)new_wxCursor(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
4243 wxPyEndAllowThreads(__tstate
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4246 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4253 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
*resultobj
;
4255 wxCursor
*arg1
= (wxCursor
*) 0 ;
4257 PyObject
* obj0
= 0 ;
4259 (char *) "self", NULL
4262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4266 result
= (bool)(arg1
)->Ok();
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4278 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4281 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4283 return Py_BuildValue((char *)"");
4285 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
*resultobj
;
4287 int arg1
= (int) 0 ;
4288 int arg2
= (int) 0 ;
4289 int arg3
= (int) 0 ;
4290 int arg4
= (int) 0 ;
4292 PyObject
* obj0
= 0 ;
4293 PyObject
* obj1
= 0 ;
4294 PyObject
* obj2
= 0 ;
4295 PyObject
* obj3
= 0 ;
4297 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4303 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
4304 if (PyErr_Occurred()) SWIG_fail
;
4309 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4315 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4321 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4322 if (PyErr_Occurred()) SWIG_fail
;
4326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4327 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4329 wxPyEndAllowThreads(__tstate
);
4330 if (PyErr_Occurred()) SWIG_fail
;
4332 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4339 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
*resultobj
;
4341 wxBitmap
*arg1
= 0 ;
4342 wxColour
const &arg2_defvalue
= wxNullColour
;
4343 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4344 int arg3
= (int) 0 ;
4347 PyObject
* obj0
= 0 ;
4348 PyObject
* obj1
= 0 ;
4349 PyObject
* obj2
= 0 ;
4351 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4357 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4362 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4367 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4368 if (PyErr_Occurred()) SWIG_fail
;
4372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4373 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4375 wxPyEndAllowThreads(__tstate
);
4376 if (PyErr_Occurred()) SWIG_fail
;
4378 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4385 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
*resultobj
;
4388 wxPoint
*arg2
= (wxPoint
*) 0 ;
4389 int arg3
= (int) wxWINDING_RULE
;
4391 PyObject
* obj0
= 0 ;
4392 PyObject
* obj1
= 0 ;
4394 (char *) "points",(char *) "fillStyle", NULL
4397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4399 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4400 if (arg2
== NULL
) SWIG_fail
;
4404 arg3
= (int) SWIG_PyObj_AsInt(obj1
);
4405 if (PyErr_Occurred()) SWIG_fail
;
4409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4410 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
4412 wxPyEndAllowThreads(__tstate
);
4413 if (PyErr_Occurred()) SWIG_fail
;
4415 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4417 if (arg2
) delete [] arg2
;
4422 if (arg2
) delete [] arg2
;
4428 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
*resultobj
;
4430 wxRegion
*arg1
= (wxRegion
*) 0 ;
4431 PyObject
* obj0
= 0 ;
4433 (char *) "self", NULL
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4442 wxPyEndAllowThreads(__tstate
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4445 Py_INCREF(Py_None
); resultobj
= Py_None
;
4452 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
*resultobj
;
4454 wxRegion
*arg1
= (wxRegion
*) 0 ;
4455 PyObject
* obj0
= 0 ;
4457 (char *) "self", NULL
4460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4469 Py_INCREF(Py_None
); resultobj
= Py_None
;
4476 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
*resultobj
;
4478 wxRegion
*arg1
= (wxRegion
*) 0 ;
4482 PyObject
* obj0
= 0 ;
4483 PyObject
* obj1
= 0 ;
4484 PyObject
* obj2
= 0 ;
4486 (char *) "self",(char *) "x",(char *) "y", NULL
4489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4492 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4493 if (PyErr_Occurred()) SWIG_fail
;
4496 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4497 if (PyErr_Occurred()) SWIG_fail
;
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4501 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4513 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
*resultobj
;
4515 wxRegion
*arg1
= (wxRegion
*) 0 ;
4519 PyObject
* obj0
= 0 ;
4520 PyObject
* obj1
= 0 ;
4521 PyObject
* obj2
= 0 ;
4523 (char *) "self",(char *) "x",(char *) "y", NULL
4526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4529 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4530 if (PyErr_Occurred()) SWIG_fail
;
4533 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4534 if (PyErr_Occurred()) SWIG_fail
;
4537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4538 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4540 wxPyEndAllowThreads(__tstate
);
4541 if (PyErr_Occurred()) SWIG_fail
;
4543 resultobj
= SWIG_PyObj_FromInt((int)result
);
4550 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
*resultobj
;
4552 wxRegion
*arg1
= (wxRegion
*) 0 ;
4556 PyObject
* obj0
= 0 ;
4557 PyObject
* obj1
= 0 ;
4559 (char *) "self",(char *) "pt", NULL
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4566 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4570 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4572 wxPyEndAllowThreads(__tstate
);
4573 if (PyErr_Occurred()) SWIG_fail
;
4575 resultobj
= SWIG_PyObj_FromInt((int)result
);
4582 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4583 PyObject
*resultobj
;
4584 wxRegion
*arg1
= (wxRegion
*) 0 ;
4588 PyObject
* obj0
= 0 ;
4589 PyObject
* obj1
= 0 ;
4591 (char *) "self",(char *) "rect", NULL
4594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4598 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4602 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4604 wxPyEndAllowThreads(__tstate
);
4605 if (PyErr_Occurred()) SWIG_fail
;
4607 resultobj
= SWIG_PyObj_FromInt((int)result
);
4614 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4615 PyObject
*resultobj
;
4616 wxRegion
*arg1
= (wxRegion
*) 0 ;
4622 PyObject
* obj0
= 0 ;
4623 PyObject
* obj1
= 0 ;
4624 PyObject
* obj2
= 0 ;
4625 PyObject
* obj3
= 0 ;
4626 PyObject
* obj4
= 0 ;
4628 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4634 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4635 if (PyErr_Occurred()) SWIG_fail
;
4638 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4639 if (PyErr_Occurred()) SWIG_fail
;
4642 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4643 if (PyErr_Occurred()) SWIG_fail
;
4646 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4647 if (PyErr_Occurred()) SWIG_fail
;
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4651 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4653 wxPyEndAllowThreads(__tstate
);
4654 if (PyErr_Occurred()) SWIG_fail
;
4656 resultobj
= SWIG_PyObj_FromInt((int)result
);
4663 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4664 PyObject
*resultobj
;
4665 wxRegion
*arg1
= (wxRegion
*) 0 ;
4667 PyObject
* obj0
= 0 ;
4669 (char *) "self", NULL
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
4673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4676 result
= (arg1
)->GetBox();
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4683 resultptr
= new wxRect((wxRect
&) result
);
4684 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
4692 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4693 PyObject
*resultobj
;
4694 wxRegion
*arg1
= (wxRegion
*) 0 ;
4700 PyObject
* obj0
= 0 ;
4701 PyObject
* obj1
= 0 ;
4702 PyObject
* obj2
= 0 ;
4703 PyObject
* obj3
= 0 ;
4704 PyObject
* obj4
= 0 ;
4706 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4712 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4716 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4717 if (PyErr_Occurred()) SWIG_fail
;
4720 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4724 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4725 if (PyErr_Occurred()) SWIG_fail
;
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4741 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
*resultobj
;
4743 wxRegion
*arg1
= (wxRegion
*) 0 ;
4747 PyObject
* obj0
= 0 ;
4748 PyObject
* obj1
= 0 ;
4750 (char *) "self",(char *) "rect", NULL
4753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4757 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4761 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4773 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
*resultobj
;
4775 wxRegion
*arg1
= (wxRegion
*) 0 ;
4776 wxRegion
*arg2
= 0 ;
4778 PyObject
* obj0
= 0 ;
4779 PyObject
* obj1
= 0 ;
4781 (char *) "self",(char *) "region", NULL
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4786 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4788 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
4794 wxPyEndAllowThreads(__tstate
);
4795 if (PyErr_Occurred()) SWIG_fail
;
4797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4804 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
*resultobj
;
4806 wxRegion
*arg1
= (wxRegion
*) 0 ;
4808 PyObject
* obj0
= 0 ;
4810 (char *) "self", NULL
4813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
4814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 result
= (bool)(arg1
)->IsEmpty();
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4829 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
*resultobj
;
4831 wxRegion
*arg1
= (wxRegion
*) 0 ;
4837 PyObject
* obj0
= 0 ;
4838 PyObject
* obj1
= 0 ;
4839 PyObject
* obj2
= 0 ;
4840 PyObject
* obj3
= 0 ;
4841 PyObject
* obj4
= 0 ;
4843 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4849 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4853 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4854 if (PyErr_Occurred()) SWIG_fail
;
4857 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4858 if (PyErr_Occurred()) SWIG_fail
;
4861 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
4868 wxPyEndAllowThreads(__tstate
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4878 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4879 PyObject
*resultobj
;
4880 wxRegion
*arg1
= (wxRegion
*) 0 ;
4884 PyObject
* obj0
= 0 ;
4885 PyObject
* obj1
= 0 ;
4887 (char *) "self",(char *) "rect", NULL
4890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4894 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4898 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
4900 wxPyEndAllowThreads(__tstate
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4910 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
*resultobj
;
4912 wxRegion
*arg1
= (wxRegion
*) 0 ;
4913 wxRegion
*arg2
= 0 ;
4915 PyObject
* obj0
= 0 ;
4916 PyObject
* obj1
= 0 ;
4918 (char *) "self",(char *) "region", NULL
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4923 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4925 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4929 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
4931 wxPyEndAllowThreads(__tstate
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4941 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4942 PyObject
*resultobj
;
4943 wxRegion
*arg1
= (wxRegion
*) 0 ;
4949 PyObject
* obj0
= 0 ;
4950 PyObject
* obj1
= 0 ;
4951 PyObject
* obj2
= 0 ;
4952 PyObject
* obj3
= 0 ;
4953 PyObject
* obj4
= 0 ;
4955 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4961 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4965 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4966 if (PyErr_Occurred()) SWIG_fail
;
4969 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4970 if (PyErr_Occurred()) SWIG_fail
;
4973 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4974 if (PyErr_Occurred()) SWIG_fail
;
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4990 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4991 PyObject
*resultobj
;
4992 wxRegion
*arg1
= (wxRegion
*) 0 ;
4996 PyObject
* obj0
= 0 ;
4997 PyObject
* obj1
= 0 ;
4999 (char *) "self",(char *) "rect", NULL
5002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5006 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5022 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
*resultobj
;
5024 wxRegion
*arg1
= (wxRegion
*) 0 ;
5025 wxRegion
*arg2
= 0 ;
5027 PyObject
* obj0
= 0 ;
5028 PyObject
* obj1
= 0 ;
5030 (char *) "self",(char *) "region", NULL
5033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5035 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5037 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) SWIG_fail
;
5046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5053 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
*resultobj
;
5055 wxRegion
*arg1
= (wxRegion
*) 0 ;
5061 PyObject
* obj0
= 0 ;
5062 PyObject
* obj1
= 0 ;
5063 PyObject
* obj2
= 0 ;
5064 PyObject
* obj3
= 0 ;
5065 PyObject
* obj4
= 0 ;
5067 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5073 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5074 if (PyErr_Occurred()) SWIG_fail
;
5077 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5081 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5085 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5092 wxPyEndAllowThreads(__tstate
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5102 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5103 PyObject
*resultobj
;
5104 wxRegion
*arg1
= (wxRegion
*) 0 ;
5108 PyObject
* obj0
= 0 ;
5109 PyObject
* obj1
= 0 ;
5111 (char *) "self",(char *) "rect", NULL
5114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5118 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5122 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) SWIG_fail
;
5127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5134 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5135 PyObject
*resultobj
;
5136 wxRegion
*arg1
= (wxRegion
*) 0 ;
5137 wxRegion
*arg2
= 0 ;
5139 PyObject
* obj0
= 0 ;
5140 PyObject
* obj1
= 0 ;
5142 (char *) "self",(char *) "region", NULL
5145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5147 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5149 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5165 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5166 PyObject
*resultobj
;
5167 wxRegion
*arg1
= (wxRegion
*) 0 ;
5168 SwigValueWrapper
< wxBitmap
> result
;
5169 PyObject
* obj0
= 0 ;
5171 (char *) "self", NULL
5174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 result
= (arg1
)->ConvertToBitmap();
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5184 wxBitmap
* resultptr
;
5185 resultptr
= new wxBitmap((wxBitmap
&) result
);
5186 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
5194 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
*resultobj
;
5196 wxRegion
*arg1
= (wxRegion
*) 0 ;
5197 wxBitmap
*arg2
= 0 ;
5198 wxColour
const &arg3_defvalue
= wxNullColour
;
5199 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
5200 int arg4
= (int) 0 ;
5203 PyObject
* obj0
= 0 ;
5204 PyObject
* obj1
= 0 ;
5205 PyObject
* obj2
= 0 ;
5206 PyObject
* obj3
= 0 ;
5208 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5213 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5215 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5220 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5225 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5231 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5243 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5246 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5248 return Py_BuildValue((char *)"");
5250 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
*resultobj
;
5252 wxRegion
*arg1
= 0 ;
5253 wxRegionIterator
*result
;
5254 PyObject
* obj0
= 0 ;
5256 (char *) "region", NULL
5259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5262 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5266 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5268 wxPyEndAllowThreads(__tstate
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5271 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegionIterator
, 1);
5278 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5279 PyObject
*resultobj
;
5280 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5281 PyObject
* obj0
= 0 ;
5283 (char *) "self", NULL
5286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5292 wxPyEndAllowThreads(__tstate
);
5293 if (PyErr_Occurred()) SWIG_fail
;
5295 Py_INCREF(Py_None
); resultobj
= Py_None
;
5302 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5303 PyObject
*resultobj
;
5304 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5306 PyObject
* obj0
= 0 ;
5308 (char *) "self", NULL
5311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5315 result
= (int)(arg1
)->GetX();
5317 wxPyEndAllowThreads(__tstate
);
5318 if (PyErr_Occurred()) SWIG_fail
;
5320 resultobj
= SWIG_PyObj_FromInt((int)result
);
5327 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
*resultobj
;
5329 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5331 PyObject
* obj0
= 0 ;
5333 (char *) "self", NULL
5336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5340 result
= (int)(arg1
)->GetY();
5342 wxPyEndAllowThreads(__tstate
);
5343 if (PyErr_Occurred()) SWIG_fail
;
5345 resultobj
= SWIG_PyObj_FromInt((int)result
);
5352 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5353 PyObject
*resultobj
;
5354 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5356 PyObject
* obj0
= 0 ;
5358 (char *) "self", NULL
5361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5365 result
= (int)(arg1
)->GetW();
5367 wxPyEndAllowThreads(__tstate
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5370 resultobj
= SWIG_PyObj_FromInt((int)result
);
5377 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
*resultobj
;
5379 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5381 PyObject
* obj0
= 0 ;
5383 (char *) "self", NULL
5386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 result
= (int)(arg1
)->GetWidth();
5392 wxPyEndAllowThreads(__tstate
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5395 resultobj
= SWIG_PyObj_FromInt((int)result
);
5402 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
*resultobj
;
5404 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5406 PyObject
* obj0
= 0 ;
5408 (char *) "self", NULL
5411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 result
= (int)(arg1
)->GetH();
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5420 resultobj
= SWIG_PyObj_FromInt((int)result
);
5427 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
*resultobj
;
5429 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5431 PyObject
* obj0
= 0 ;
5433 (char *) "self", NULL
5436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 result
= (int)(arg1
)->GetHeight();
5442 wxPyEndAllowThreads(__tstate
);
5443 if (PyErr_Occurred()) SWIG_fail
;
5445 resultobj
= SWIG_PyObj_FromInt((int)result
);
5452 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
*resultobj
;
5454 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5456 PyObject
* obj0
= 0 ;
5458 (char *) "self", NULL
5461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 result
= (arg1
)->GetRect();
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5472 resultptr
= new wxRect((wxRect
&) result
);
5473 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
5481 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
*resultobj
;
5483 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5485 PyObject
* obj0
= 0 ;
5487 (char *) "self", NULL
5490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5494 result
= (bool)(arg1
)->HaveRects();
5496 wxPyEndAllowThreads(__tstate
);
5497 if (PyErr_Occurred()) SWIG_fail
;
5499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5506 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
*resultobj
;
5508 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5509 PyObject
* obj0
= 0 ;
5511 (char *) "self", NULL
5514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5520 wxPyEndAllowThreads(__tstate
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5523 Py_INCREF(Py_None
); resultobj
= Py_None
;
5530 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
*resultobj
;
5532 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5533 PyObject
* obj0
= 0 ;
5535 (char *) "self", NULL
5538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 wxRegionIterator_Next(arg1
);
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5547 Py_INCREF(Py_None
); resultobj
= Py_None
;
5554 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5555 PyObject
*resultobj
;
5556 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5558 PyObject
* obj0
= 0 ;
5560 (char *) "self", NULL
5563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5567 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5569 wxPyEndAllowThreads(__tstate
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5579 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
5581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5582 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
5584 return Py_BuildValue((char *)"");
5586 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
*resultobj
;
5588 wxNativeFontInfo
*result
;
5593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
5595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5596 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
5598 wxPyEndAllowThreads(__tstate
);
5599 if (PyErr_Occurred()) SWIG_fail
;
5601 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 1);
5608 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5609 PyObject
*resultobj
;
5610 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5611 PyObject
* obj0
= 0 ;
5613 (char *) "self", NULL
5616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
5617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 wxPyEndAllowThreads(__tstate
);
5623 if (PyErr_Occurred()) SWIG_fail
;
5625 Py_INCREF(Py_None
); resultobj
= Py_None
;
5632 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5633 PyObject
*resultobj
;
5634 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5635 PyObject
* obj0
= 0 ;
5637 (char *) "self", NULL
5640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
5641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5646 wxPyEndAllowThreads(__tstate
);
5647 if (PyErr_Occurred()) SWIG_fail
;
5649 Py_INCREF(Py_None
); resultobj
= Py_None
;
5656 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
;
5658 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5660 PyObject
* obj0
= 0 ;
5661 PyObject
* obj1
= 0 ;
5663 (char *) "self",(char *) "font", NULL
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
5667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5668 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5670 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5674 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
5676 wxPyEndAllowThreads(__tstate
);
5677 if (PyErr_Occurred()) SWIG_fail
;
5679 Py_INCREF(Py_None
); resultobj
= Py_None
;
5686 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
*resultobj
;
5688 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5690 PyObject
* obj0
= 0 ;
5692 (char *) "self", NULL
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
5696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= SWIG_PyObj_FromInt((int)result
);
5711 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
*resultobj
;
5713 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5715 PyObject
* obj0
= 0 ;
5717 (char *) "self", NULL
5720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
5721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5724 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
5726 wxPyEndAllowThreads(__tstate
);
5727 if (PyErr_Occurred()) SWIG_fail
;
5729 resultobj
= SWIG_PyObj_FromInt((int)result
);
5736 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
*resultobj
;
5738 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5740 PyObject
* obj0
= 0 ;
5742 (char *) "self", NULL
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
5746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5749 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
5751 wxPyEndAllowThreads(__tstate
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5754 resultobj
= SWIG_PyObj_FromInt((int)result
);
5761 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
*resultobj
;
5763 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5765 PyObject
* obj0
= 0 ;
5767 (char *) "self", NULL
5770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
5771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5774 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
5776 wxPyEndAllowThreads(__tstate
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5786 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5787 PyObject
*resultobj
;
5788 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5790 PyObject
* obj0
= 0 ;
5792 (char *) "self", NULL
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
5796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5817 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
*resultobj
;
5819 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5821 PyObject
* obj0
= 0 ;
5823 (char *) "self", NULL
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
5827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5835 resultobj
= SWIG_PyObj_FromInt((int)result
);
5842 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
*resultobj
;
5844 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5846 PyObject
* obj0
= 0 ;
5848 (char *) "self", NULL
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
5852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5860 resultobj
= SWIG_PyObj_FromInt((int)result
);
5867 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5868 PyObject
*resultobj
;
5869 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5871 PyObject
* obj0
= 0 ;
5872 PyObject
* obj1
= 0 ;
5874 (char *) "self",(char *) "pointsize", NULL
5877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5880 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5881 if (PyErr_Occurred()) SWIG_fail
;
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5885 (arg1
)->SetPointSize(arg2
);
5887 wxPyEndAllowThreads(__tstate
);
5888 if (PyErr_Occurred()) SWIG_fail
;
5890 Py_INCREF(Py_None
); resultobj
= Py_None
;
5897 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5898 PyObject
*resultobj
;
5899 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5901 PyObject
* obj0
= 0 ;
5902 PyObject
* obj1
= 0 ;
5904 (char *) "self",(char *) "style", NULL
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
5908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5910 arg2
= (wxFontStyle
) SWIG_PyObj_AsInt(obj1
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5915 (arg1
)->SetStyle((wxFontStyle
)arg2
);
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 Py_INCREF(Py_None
); resultobj
= Py_None
;
5927 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
*resultobj
;
5929 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5931 PyObject
* obj0
= 0 ;
5932 PyObject
* obj1
= 0 ;
5934 (char *) "self",(char *) "weight", NULL
5937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5940 arg2
= (wxFontWeight
) SWIG_PyObj_AsInt(obj1
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 (arg1
)->SetWeight((wxFontWeight
)arg2
);
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5950 Py_INCREF(Py_None
); resultobj
= Py_None
;
5957 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5958 PyObject
*resultobj
;
5959 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5961 PyObject
* obj0
= 0 ;
5962 PyObject
* obj1
= 0 ;
5964 (char *) "self",(char *) "underlined", NULL
5967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
5968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5970 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 (arg1
)->SetUnderlined(arg2
);
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5980 Py_INCREF(Py_None
); resultobj
= Py_None
;
5987 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5988 PyObject
*resultobj
;
5989 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5991 PyObject
* obj0
= 0 ;
5992 PyObject
* obj1
= 0 ;
5994 (char *) "self",(char *) "facename", NULL
5997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
5998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6000 wxString
* sptr
= wxString_in_helper(obj1
);
6001 if (sptr
== NULL
) SWIG_fail
;
6006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6007 (arg1
)->SetFaceName(arg2
);
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6012 Py_INCREF(Py_None
); resultobj
= Py_None
;
6019 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6020 PyObject
*resultobj
;
6021 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6023 PyObject
* obj0
= 0 ;
6024 PyObject
* obj1
= 0 ;
6026 (char *) "self",(char *) "family", NULL
6029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6032 arg2
= (wxFontFamily
) SWIG_PyObj_AsInt(obj1
);
6033 if (PyErr_Occurred()) SWIG_fail
;
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6042 Py_INCREF(Py_None
); resultobj
= Py_None
;
6049 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
*resultobj
;
6051 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6053 PyObject
* obj0
= 0 ;
6054 PyObject
* obj1
= 0 ;
6056 (char *) "self",(char *) "encoding", NULL
6059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6062 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
6063 if (PyErr_Occurred()) SWIG_fail
;
6066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6067 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6069 wxPyEndAllowThreads(__tstate
);
6070 if (PyErr_Occurred()) SWIG_fail
;
6072 Py_INCREF(Py_None
); resultobj
= Py_None
;
6079 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6080 PyObject
*resultobj
;
6081 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6082 wxString
*arg2
= 0 ;
6084 bool temp2
= False
;
6085 PyObject
* obj0
= 0 ;
6086 PyObject
* obj1
= 0 ;
6088 (char *) "self",(char *) "s", NULL
6091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6094 arg2
= wxString_in_helper(obj1
);
6095 if (arg2
== NULL
) SWIG_fail
;
6099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6100 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6102 wxPyEndAllowThreads(__tstate
);
6103 if (PyErr_Occurred()) SWIG_fail
;
6105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6120 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6121 PyObject
*resultobj
;
6122 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6124 PyObject
* obj0
= 0 ;
6126 (char *) "self", NULL
6129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6135 wxPyEndAllowThreads(__tstate
);
6136 if (PyErr_Occurred()) SWIG_fail
;
6140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6151 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6152 PyObject
*resultobj
;
6153 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6155 PyObject
* obj0
= 0 ;
6157 (char *) "self", NULL
6160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6164 result
= wxNativeFontInfo___str__(arg1
);
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) SWIG_fail
;
6171 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6173 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6182 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6183 PyObject
*resultobj
;
6184 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6185 wxString
*arg2
= 0 ;
6187 bool temp2
= False
;
6188 PyObject
* obj0
= 0 ;
6189 PyObject
* obj1
= 0 ;
6191 (char *) "self",(char *) "s", NULL
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6197 arg2
= wxString_in_helper(obj1
);
6198 if (arg2
== NULL
) SWIG_fail
;
6202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6203 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6205 wxPyEndAllowThreads(__tstate
);
6206 if (PyErr_Occurred()) SWIG_fail
;
6208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6223 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6224 PyObject
*resultobj
;
6225 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6227 PyObject
* obj0
= 0 ;
6229 (char *) "self", NULL
6232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6236 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6238 wxPyEndAllowThreads(__tstate
);
6239 if (PyErr_Occurred()) SWIG_fail
;
6243 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6245 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6254 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6257 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6259 return Py_BuildValue((char *)"");
6261 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
*resultobj
;
6263 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6264 wxString
*arg2
= (wxString
*) 0 ;
6265 bool temp2
= False
;
6266 PyObject
* obj0
= 0 ;
6267 PyObject
* obj1
= 0 ;
6269 (char *) "self",(char *) "facename", NULL
6272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6275 arg2
= wxString_in_helper(obj1
);
6276 if (arg2
== NULL
) SWIG_fail
;
6279 if (arg1
) (arg1
)->facename
= *arg2
;
6281 Py_INCREF(Py_None
); resultobj
= Py_None
;
6296 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6297 PyObject
*resultobj
;
6298 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6300 PyObject
* obj0
= 0 ;
6302 (char *) "self", NULL
6305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6307 result
= (wxString
*)& ((arg1
)->facename
);
6311 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6313 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6322 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
*resultobj
;
6324 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6326 PyObject
* obj0
= 0 ;
6327 PyObject
* obj1
= 0 ;
6329 (char *) "self",(char *) "encoding", NULL
6332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6335 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6338 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6340 Py_INCREF(Py_None
); resultobj
= Py_None
;
6347 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6348 PyObject
*resultobj
;
6349 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6351 PyObject
* obj0
= 0 ;
6353 (char *) "self", NULL
6356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6358 result
= (int) ((arg1
)->encoding
);
6360 resultobj
= SWIG_PyObj_FromInt((int)result
);
6367 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
*resultobj
;
6369 wxNativeEncodingInfo
*result
;
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6382 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6389 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
;
6391 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6392 PyObject
* obj0
= 0 ;
6394 (char *) "self", NULL
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) SWIG_fail
;
6406 Py_INCREF(Py_None
); resultobj
= Py_None
;
6413 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
*resultobj
;
6415 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6416 wxString
*arg2
= 0 ;
6418 bool temp2
= False
;
6419 PyObject
* obj0
= 0 ;
6420 PyObject
* obj1
= 0 ;
6422 (char *) "self",(char *) "s", NULL
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6428 arg2
= wxString_in_helper(obj1
);
6429 if (arg2
== NULL
) SWIG_fail
;
6433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6434 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6436 wxPyEndAllowThreads(__tstate
);
6437 if (PyErr_Occurred()) SWIG_fail
;
6439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6454 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6455 PyObject
*resultobj
;
6456 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6458 PyObject
* obj0
= 0 ;
6460 (char *) "self", NULL
6463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6467 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6469 wxPyEndAllowThreads(__tstate
);
6470 if (PyErr_Occurred()) SWIG_fail
;
6474 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6476 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6485 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6488 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6490 return Py_BuildValue((char *)"");
6492 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6493 PyObject
*resultobj
;
6495 wxNativeEncodingInfo
*result
;
6496 PyObject
* obj0
= 0 ;
6498 (char *) "encoding", NULL
6501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
6503 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6510 wxPyEndAllowThreads(__tstate
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6513 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6520 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
*resultobj
;
6522 wxNativeEncodingInfo
*arg1
= 0 ;
6524 PyObject
* obj0
= 0 ;
6526 (char *) "info", NULL
6529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6532 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) SWIG_fail
;
6541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6548 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
*resultobj
;
6550 wxFontMapper
*result
;
6555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
6557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6558 result
= (wxFontMapper
*)new wxFontMapper();
6560 wxPyEndAllowThreads(__tstate
);
6561 if (PyErr_Occurred()) SWIG_fail
;
6563 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 1);
6570 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6571 PyObject
*resultobj
;
6572 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6573 PyObject
* obj0
= 0 ;
6575 (char *) "self", NULL
6578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
6579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6584 wxPyEndAllowThreads(__tstate
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6587 Py_INCREF(Py_None
); resultobj
= Py_None
;
6594 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6595 PyObject
*resultobj
;
6596 wxFontMapper
*result
;
6601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
6603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6604 result
= (wxFontMapper
*)wxFontMapper::Get();
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) SWIG_fail
;
6609 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
6616 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6617 PyObject
*resultobj
;
6618 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6619 wxFontMapper
*result
;
6620 PyObject
* obj0
= 0 ;
6622 (char *) "mapper", NULL
6625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
6626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6629 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6634 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
6641 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6642 PyObject
*resultobj
;
6643 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6644 wxString
*arg2
= 0 ;
6645 bool arg3
= (bool) True
;
6647 bool temp2
= False
;
6648 PyObject
* obj0
= 0 ;
6649 PyObject
* obj1
= 0 ;
6650 PyObject
* obj2
= 0 ;
6652 (char *) "self",(char *) "charset",(char *) "interactive", NULL
6655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6658 arg2
= wxString_in_helper(obj1
);
6659 if (arg2
== NULL
) SWIG_fail
;
6664 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6665 if (PyErr_Occurred()) SWIG_fail
;
6669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6670 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
6672 wxPyEndAllowThreads(__tstate
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6675 resultobj
= SWIG_PyObj_FromInt((int)result
);
6690 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6691 PyObject
*resultobj
;
6697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
6699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6700 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
6702 wxPyEndAllowThreads(__tstate
);
6703 if (PyErr_Occurred()) SWIG_fail
;
6705 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
6712 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6713 PyObject
*resultobj
;
6716 PyObject
* obj0
= 0 ;
6721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
6723 arg1
= (size_t) SWIG_PyObj_AsUnsignedLong(obj0
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 result
= (int)wxFontMapper::GetEncoding(arg1
);
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6733 resultobj
= SWIG_PyObj_FromInt((int)result
);
6740 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
*resultobj
;
6744 PyObject
* obj0
= 0 ;
6746 (char *) "encoding", NULL
6749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
6751 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
6752 if (PyErr_Occurred()) SWIG_fail
;
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6763 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6765 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6774 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6775 PyObject
*resultobj
;
6778 PyObject
* obj0
= 0 ;
6780 (char *) "encoding", NULL
6783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
6785 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
6786 if (PyErr_Occurred()) SWIG_fail
;
6789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6790 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
6792 wxPyEndAllowThreads(__tstate
);
6793 if (PyErr_Occurred()) SWIG_fail
;
6797 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6799 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6808 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6809 PyObject
*resultobj
;
6810 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6811 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
6812 PyObject
* obj0
= 0 ;
6813 PyObject
* obj1
= 0 ;
6815 (char *) "self",(char *) "config", NULL
6818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
6819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6820 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6823 (arg1
)->SetConfig(arg2
);
6825 wxPyEndAllowThreads(__tstate
);
6826 if (PyErr_Occurred()) SWIG_fail
;
6828 Py_INCREF(Py_None
); resultobj
= Py_None
;
6835 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6836 PyObject
*resultobj
;
6837 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6838 wxString
*arg2
= 0 ;
6839 bool temp2
= False
;
6840 PyObject
* obj0
= 0 ;
6841 PyObject
* obj1
= 0 ;
6843 (char *) "self",(char *) "prefix", NULL
6846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
6847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6849 arg2
= wxString_in_helper(obj1
);
6850 if (arg2
== NULL
) SWIG_fail
;
6854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6855 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
6857 wxPyEndAllowThreads(__tstate
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6860 Py_INCREF(Py_None
); resultobj
= Py_None
;
6875 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6876 PyObject
*resultobj
;
6882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
6884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6885 result
= wxFontMapper::GetDefaultConfigPath();
6887 wxPyEndAllowThreads(__tstate
);
6888 if (PyErr_Occurred()) SWIG_fail
;
6892 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6894 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6903 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6904 PyObject
*resultobj
;
6905 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6907 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6908 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6909 bool arg4
= (bool) True
;
6911 bool temp3
= False
;
6912 PyObject
* obj0
= 0 ;
6913 PyObject
* obj1
= 0 ;
6914 PyObject
* obj2
= 0 ;
6915 PyObject
* obj3
= 0 ;
6917 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6923 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6928 arg3
= wxString_in_helper(obj2
);
6929 if (arg3
== NULL
) SWIG_fail
;
6935 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
6936 if (PyErr_Occurred()) SWIG_fail
;
6940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6941 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
6943 wxPyEndAllowThreads(__tstate
);
6944 if (PyErr_Occurred()) SWIG_fail
;
6961 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
*resultobj
;
6963 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6965 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6966 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6968 bool temp3
= False
;
6969 PyObject
* obj0
= 0 ;
6970 PyObject
* obj1
= 0 ;
6971 PyObject
* obj2
= 0 ;
6973 (char *) "self",(char *) "encoding",(char *) "facename", NULL
6976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6979 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6984 arg3
= wxString_in_helper(obj2
);
6985 if (arg3
== NULL
) SWIG_fail
;
6990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6991 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
6993 wxPyEndAllowThreads(__tstate
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7011 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
*resultobj
;
7013 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7014 wxWindow
*arg2
= (wxWindow
*) 0 ;
7015 PyObject
* obj0
= 0 ;
7016 PyObject
* obj1
= 0 ;
7018 (char *) "self",(char *) "parent", NULL
7021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7023 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7026 (arg1
)->SetDialogParent(arg2
);
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7031 Py_INCREF(Py_None
); resultobj
= Py_None
;
7038 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
;
7040 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7041 wxString
*arg2
= 0 ;
7042 bool temp2
= False
;
7043 PyObject
* obj0
= 0 ;
7044 PyObject
* obj1
= 0 ;
7046 (char *) "self",(char *) "title", NULL
7049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7052 arg2
= wxString_in_helper(obj1
);
7053 if (arg2
== NULL
) SWIG_fail
;
7057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7058 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7063 Py_INCREF(Py_None
); resultobj
= Py_None
;
7078 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7081 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7083 return Py_BuildValue((char *)"");
7085 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
*resultobj
;
7091 bool arg5
= (bool) False
;
7092 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7093 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7094 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7096 bool temp6
= False
;
7097 PyObject
* obj0
= 0 ;
7098 PyObject
* obj1
= 0 ;
7099 PyObject
* obj2
= 0 ;
7100 PyObject
* obj3
= 0 ;
7101 PyObject
* obj4
= 0 ;
7102 PyObject
* obj5
= 0 ;
7103 PyObject
* obj6
= 0 ;
7105 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7110 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7111 if (PyErr_Occurred()) SWIG_fail
;
7114 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7115 if (PyErr_Occurred()) SWIG_fail
;
7118 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7122 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
7123 if (PyErr_Occurred()) SWIG_fail
;
7127 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7133 arg6
= wxString_in_helper(obj5
);
7134 if (arg6
== NULL
) SWIG_fail
;
7140 arg7
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj6
);
7141 if (PyErr_Occurred()) SWIG_fail
;
7145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7146 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7148 wxPyEndAllowThreads(__tstate
);
7149 if (PyErr_Occurred()) SWIG_fail
;
7151 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7166 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
*resultobj
;
7168 wxFont
*arg1
= (wxFont
*) 0 ;
7169 PyObject
* obj0
= 0 ;
7171 (char *) "self", NULL
7174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7183 Py_INCREF(Py_None
); resultobj
= Py_None
;
7190 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7191 PyObject
*resultobj
;
7192 wxNativeFontInfo
*arg1
= 0 ;
7194 PyObject
* obj0
= 0 ;
7196 (char *) "info", NULL
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7202 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7211 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7218 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
*resultobj
;
7220 wxString
*arg1
= 0 ;
7222 bool temp1
= False
;
7223 PyObject
* obj0
= 0 ;
7225 (char *) "info", NULL
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7230 arg1
= wxString_in_helper(obj0
);
7231 if (arg1
== NULL
) SWIG_fail
;
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7236 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7241 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7256 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
;
7260 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7261 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7262 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7263 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7265 bool temp4
= False
;
7266 PyObject
* obj0
= 0 ;
7267 PyObject
* obj1
= 0 ;
7268 PyObject
* obj2
= 0 ;
7269 PyObject
* obj3
= 0 ;
7270 PyObject
* obj4
= 0 ;
7272 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7277 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7278 if (PyErr_Occurred()) SWIG_fail
;
7281 arg2
= (wxFontFamily
) SWIG_PyObj_AsInt(obj1
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7286 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7292 arg4
= wxString_in_helper(obj3
);
7293 if (arg4
== NULL
) SWIG_fail
;
7299 arg5
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj4
);
7300 if (PyErr_Occurred()) SWIG_fail
;
7304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7305 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7307 wxPyEndAllowThreads(__tstate
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7310 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7325 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7326 PyObject
*resultobj
;
7327 wxFont
*arg1
= (wxFont
*) 0 ;
7329 PyObject
* obj0
= 0 ;
7331 (char *) "self", NULL
7334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7338 result
= (bool)((wxFont
const *)arg1
)->Ok();
7340 wxPyEndAllowThreads(__tstate
);
7341 if (PyErr_Occurred()) SWIG_fail
;
7343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7350 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7351 PyObject
*resultobj
;
7352 wxFont
*arg1
= (wxFont
*) 0 ;
7355 PyObject
* obj0
= 0 ;
7356 PyObject
* obj1
= 0 ;
7358 (char *) "self",(char *) "font", NULL
7361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7363 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7365 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 result
= (bool)((wxFont
const *)arg1
)->operator ==((wxFont
const &)*arg2
);
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7381 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
*resultobj
;
7383 wxFont
*arg1
= (wxFont
*) 0 ;
7386 PyObject
* obj0
= 0 ;
7387 PyObject
* obj1
= 0 ;
7389 (char *) "self",(char *) "font", NULL
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7394 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7396 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7400 result
= (bool)((wxFont
const *)arg1
)->operator !=((wxFont
const &)*arg2
);
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) SWIG_fail
;
7405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7412 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
*resultobj
;
7414 wxFont
*arg1
= (wxFont
*) 0 ;
7416 PyObject
* obj0
= 0 ;
7418 (char *) "self", NULL
7421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7425 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7427 wxPyEndAllowThreads(__tstate
);
7428 if (PyErr_Occurred()) SWIG_fail
;
7430 resultobj
= SWIG_PyObj_FromInt((int)result
);
7437 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7438 PyObject
*resultobj
;
7439 wxFont
*arg1
= (wxFont
*) 0 ;
7441 PyObject
* obj0
= 0 ;
7443 (char *) "self", NULL
7446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7450 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7452 wxPyEndAllowThreads(__tstate
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7455 resultobj
= SWIG_PyObj_FromInt((int)result
);
7462 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
*resultobj
;
7464 wxFont
*arg1
= (wxFont
*) 0 ;
7466 PyObject
* obj0
= 0 ;
7468 (char *) "self", NULL
7471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
7472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7475 result
= (int)((wxFont
const *)arg1
)->GetStyle();
7477 wxPyEndAllowThreads(__tstate
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7480 resultobj
= SWIG_PyObj_FromInt((int)result
);
7487 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7488 PyObject
*resultobj
;
7489 wxFont
*arg1
= (wxFont
*) 0 ;
7491 PyObject
* obj0
= 0 ;
7493 (char *) "self", NULL
7496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
7497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7500 result
= (int)((wxFont
const *)arg1
)->GetWeight();
7502 wxPyEndAllowThreads(__tstate
);
7503 if (PyErr_Occurred()) SWIG_fail
;
7505 resultobj
= SWIG_PyObj_FromInt((int)result
);
7512 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
*resultobj
;
7514 wxFont
*arg1
= (wxFont
*) 0 ;
7516 PyObject
* obj0
= 0 ;
7518 (char *) "self", NULL
7521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7525 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7537 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
*resultobj
;
7539 wxFont
*arg1
= (wxFont
*) 0 ;
7541 PyObject
* obj0
= 0 ;
7543 (char *) "self", NULL
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
7547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7550 result
= ((wxFont
const *)arg1
)->GetFaceName();
7552 wxPyEndAllowThreads(__tstate
);
7553 if (PyErr_Occurred()) SWIG_fail
;
7557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7568 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
*resultobj
;
7570 wxFont
*arg1
= (wxFont
*) 0 ;
7572 PyObject
* obj0
= 0 ;
7574 (char *) "self", NULL
7577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
7578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7581 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
7583 wxPyEndAllowThreads(__tstate
);
7584 if (PyErr_Occurred()) SWIG_fail
;
7586 resultobj
= SWIG_PyObj_FromInt((int)result
);
7593 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7594 PyObject
*resultobj
;
7595 wxFont
*arg1
= (wxFont
*) 0 ;
7596 wxNativeFontInfo
*result
;
7597 PyObject
* obj0
= 0 ;
7599 (char *) "self", NULL
7602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
7603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7611 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 0);
7618 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7619 PyObject
*resultobj
;
7620 wxFont
*arg1
= (wxFont
*) 0 ;
7622 PyObject
* obj0
= 0 ;
7624 (char *) "self", NULL
7627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
7628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
7633 wxPyEndAllowThreads(__tstate
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7643 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
*resultobj
;
7645 wxFont
*arg1
= (wxFont
*) 0 ;
7647 PyObject
* obj0
= 0 ;
7649 (char *) "self", NULL
7652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
7653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7656 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
7658 wxPyEndAllowThreads(__tstate
);
7659 if (PyErr_Occurred()) SWIG_fail
;
7663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7674 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7675 PyObject
*resultobj
;
7676 wxFont
*arg1
= (wxFont
*) 0 ;
7678 PyObject
* obj0
= 0 ;
7680 (char *) "self", NULL
7683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
7684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7687 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
7689 wxPyEndAllowThreads(__tstate
);
7690 if (PyErr_Occurred()) SWIG_fail
;
7694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7705 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7706 PyObject
*resultobj
;
7707 wxFont
*arg1
= (wxFont
*) 0 ;
7709 PyObject
* obj0
= 0 ;
7710 PyObject
* obj1
= 0 ;
7712 (char *) "self",(char *) "pointSize", NULL
7715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7718 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7719 if (PyErr_Occurred()) SWIG_fail
;
7722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7723 (arg1
)->SetPointSize(arg2
);
7725 wxPyEndAllowThreads(__tstate
);
7726 if (PyErr_Occurred()) SWIG_fail
;
7728 Py_INCREF(Py_None
); resultobj
= Py_None
;
7735 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7736 PyObject
*resultobj
;
7737 wxFont
*arg1
= (wxFont
*) 0 ;
7739 PyObject
* obj0
= 0 ;
7740 PyObject
* obj1
= 0 ;
7742 (char *) "self",(char *) "family", NULL
7745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
7746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7748 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 (arg1
)->SetFamily(arg2
);
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7758 Py_INCREF(Py_None
); resultobj
= Py_None
;
7765 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7766 PyObject
*resultobj
;
7767 wxFont
*arg1
= (wxFont
*) 0 ;
7769 PyObject
* obj0
= 0 ;
7770 PyObject
* obj1
= 0 ;
7772 (char *) "self",(char *) "style", NULL
7775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7778 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7783 (arg1
)->SetStyle(arg2
);
7785 wxPyEndAllowThreads(__tstate
);
7786 if (PyErr_Occurred()) SWIG_fail
;
7788 Py_INCREF(Py_None
); resultobj
= Py_None
;
7795 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7796 PyObject
*resultobj
;
7797 wxFont
*arg1
= (wxFont
*) 0 ;
7799 PyObject
* obj0
= 0 ;
7800 PyObject
* obj1
= 0 ;
7802 (char *) "self",(char *) "weight", NULL
7805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7808 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7809 if (PyErr_Occurred()) SWIG_fail
;
7812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7813 (arg1
)->SetWeight(arg2
);
7815 wxPyEndAllowThreads(__tstate
);
7816 if (PyErr_Occurred()) SWIG_fail
;
7818 Py_INCREF(Py_None
); resultobj
= Py_None
;
7825 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7826 PyObject
*resultobj
;
7827 wxFont
*arg1
= (wxFont
*) 0 ;
7828 wxString
*arg2
= 0 ;
7829 bool temp2
= False
;
7830 PyObject
* obj0
= 0 ;
7831 PyObject
* obj1
= 0 ;
7833 (char *) "self",(char *) "faceName", NULL
7836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
7837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7839 arg2
= wxString_in_helper(obj1
);
7840 if (arg2
== NULL
) SWIG_fail
;
7844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7845 (arg1
)->SetFaceName((wxString
const &)*arg2
);
7847 wxPyEndAllowThreads(__tstate
);
7848 if (PyErr_Occurred()) SWIG_fail
;
7850 Py_INCREF(Py_None
); resultobj
= Py_None
;
7865 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7866 PyObject
*resultobj
;
7867 wxFont
*arg1
= (wxFont
*) 0 ;
7869 PyObject
* obj0
= 0 ;
7870 PyObject
* obj1
= 0 ;
7872 (char *) "self",(char *) "underlined", NULL
7875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
7876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7878 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7879 if (PyErr_Occurred()) SWIG_fail
;
7882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 (arg1
)->SetUnderlined(arg2
);
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 Py_INCREF(Py_None
); resultobj
= Py_None
;
7895 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
;
7897 wxFont
*arg1
= (wxFont
*) 0 ;
7899 PyObject
* obj0
= 0 ;
7900 PyObject
* obj1
= 0 ;
7902 (char *) "self",(char *) "encoding", NULL
7905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
7906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7908 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7918 Py_INCREF(Py_None
); resultobj
= Py_None
;
7925 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7926 PyObject
*resultobj
;
7927 wxFont
*arg1
= (wxFont
*) 0 ;
7928 wxNativeFontInfo
*arg2
= 0 ;
7929 PyObject
* obj0
= 0 ;
7930 PyObject
* obj1
= 0 ;
7932 (char *) "self",(char *) "info", NULL
7935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
7936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7937 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7939 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7948 Py_INCREF(Py_None
); resultobj
= Py_None
;
7955 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 wxFont
*arg1
= (wxFont
*) 0 ;
7958 wxString
*arg2
= 0 ;
7959 bool temp2
= False
;
7960 PyObject
* obj0
= 0 ;
7961 PyObject
* obj1
= 0 ;
7963 (char *) "self",(char *) "info", NULL
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7969 arg2
= wxString_in_helper(obj1
);
7970 if (arg2
== NULL
) SWIG_fail
;
7974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
7977 wxPyEndAllowThreads(__tstate
);
7978 if (PyErr_Occurred()) SWIG_fail
;
7980 Py_INCREF(Py_None
); resultobj
= Py_None
;
7995 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7996 PyObject
*resultobj
;
7997 wxFont
*arg1
= (wxFont
*) 0 ;
7998 wxString
*arg2
= 0 ;
7999 bool temp2
= False
;
8000 PyObject
* obj0
= 0 ;
8001 PyObject
* obj1
= 0 ;
8003 (char *) "self",(char *) "info", NULL
8006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8009 arg2
= wxString_in_helper(obj1
);
8010 if (arg2
== NULL
) SWIG_fail
;
8014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8015 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8017 wxPyEndAllowThreads(__tstate
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8020 Py_INCREF(Py_None
); resultobj
= Py_None
;
8035 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
*resultobj
;
8037 wxFont
*arg1
= (wxFont
*) 0 ;
8039 PyObject
* obj0
= 0 ;
8041 (char *) "self", NULL
8044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8055 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8057 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8066 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8067 PyObject
*resultobj
;
8068 wxFont
*arg1
= (wxFont
*) 0 ;
8070 PyObject
* obj0
= 0 ;
8072 (char *) "self", NULL
8075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8079 result
= ((wxFont
const *)arg1
)->GetStyleString();
8081 wxPyEndAllowThreads(__tstate
);
8082 if (PyErr_Occurred()) SWIG_fail
;
8086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8097 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8098 PyObject
*resultobj
;
8099 wxFont
*arg1
= (wxFont
*) 0 ;
8101 PyObject
* obj0
= 0 ;
8103 (char *) "self", NULL
8106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8110 result
= ((wxFont
const *)arg1
)->GetWeightString();
8112 wxPyEndAllowThreads(__tstate
);
8113 if (PyErr_Occurred()) SWIG_fail
;
8117 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8119 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8128 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8129 PyObject
*resultobj
;
8130 wxFont
*arg1
= (wxFont
*) 0 ;
8131 bool arg2
= (bool) True
;
8132 PyObject
* obj0
= 0 ;
8133 PyObject
* obj1
= 0 ;
8135 (char *) "self",(char *) "no", NULL
8138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8142 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8143 if (PyErr_Occurred()) SWIG_fail
;
8147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8148 (arg1
)->SetNoAntiAliasing(arg2
);
8150 wxPyEndAllowThreads(__tstate
);
8151 if (PyErr_Occurred()) SWIG_fail
;
8153 Py_INCREF(Py_None
); resultobj
= Py_None
;
8160 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8161 PyObject
*resultobj
;
8162 wxFont
*arg1
= (wxFont
*) 0 ;
8164 PyObject
* obj0
= 0 ;
8166 (char *) "self", NULL
8169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 result
= (bool)(arg1
)->GetNoAntiAliasing();
8175 wxPyEndAllowThreads(__tstate
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8185 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8186 PyObject
*resultobj
;
8192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8195 result
= (int)wxFont::GetDefaultEncoding();
8197 wxPyEndAllowThreads(__tstate
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8200 resultobj
= SWIG_PyObj_FromInt((int)result
);
8207 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
*resultobj
;
8210 PyObject
* obj0
= 0 ;
8212 (char *) "encoding", NULL
8215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8217 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8222 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8224 wxPyEndAllowThreads(__tstate
);
8225 if (PyErr_Occurred()) SWIG_fail
;
8227 Py_INCREF(Py_None
); resultobj
= Py_None
;
8234 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
8236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8237 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8239 return Py_BuildValue((char *)"");
8241 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
*resultobj
;
8243 wxPyFontEnumerator
*result
;
8248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8251 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8253 wxPyEndAllowThreads(__tstate
);
8254 if (PyErr_Occurred()) SWIG_fail
;
8256 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFontEnumerator
, 1);
8263 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8264 PyObject
*resultobj
;
8265 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8266 PyObject
* obj0
= 0 ;
8268 (char *) "self", NULL
8271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8277 wxPyEndAllowThreads(__tstate
);
8278 if (PyErr_Occurred()) SWIG_fail
;
8280 Py_INCREF(Py_None
); resultobj
= Py_None
;
8287 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8288 PyObject
*resultobj
;
8289 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8290 PyObject
*arg2
= (PyObject
*) 0 ;
8291 PyObject
*arg3
= (PyObject
*) 0 ;
8293 PyObject
* obj0
= 0 ;
8294 PyObject
* obj1
= 0 ;
8295 PyObject
* obj2
= 0 ;
8296 PyObject
* obj3
= 0 ;
8298 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8306 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
8307 if (PyErr_Occurred()) SWIG_fail
;
8310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8311 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8313 wxPyEndAllowThreads(__tstate
);
8314 if (PyErr_Occurred()) SWIG_fail
;
8316 Py_INCREF(Py_None
); resultobj
= Py_None
;
8323 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8324 PyObject
*resultobj
;
8325 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8326 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8327 bool arg3
= (bool) False
;
8329 PyObject
* obj0
= 0 ;
8330 PyObject
* obj1
= 0 ;
8331 PyObject
* obj2
= 0 ;
8333 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8340 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
8341 if (PyErr_Occurred()) SWIG_fail
;
8346 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
8347 if (PyErr_Occurred()) SWIG_fail
;
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) SWIG_fail
;
8357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8364 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8365 PyObject
*resultobj
;
8366 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8367 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8368 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8370 bool temp2
= False
;
8371 PyObject
* obj0
= 0 ;
8372 PyObject
* obj1
= 0 ;
8374 (char *) "self",(char *) "facename", NULL
8377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8381 arg2
= wxString_in_helper(obj1
);
8382 if (arg2
== NULL
) SWIG_fail
;
8387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8388 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8390 wxPyEndAllowThreads(__tstate
);
8391 if (PyErr_Occurred()) SWIG_fail
;
8393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8408 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8409 PyObject
*resultobj
;
8410 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8412 PyObject
* obj0
= 0 ;
8414 (char *) "self", NULL
8417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8421 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8423 wxPyEndAllowThreads(__tstate
);
8424 if (PyErr_Occurred()) SWIG_fail
;
8433 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8434 PyObject
*resultobj
;
8435 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8437 PyObject
* obj0
= 0 ;
8439 (char *) "self", NULL
8442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8446 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
8448 wxPyEndAllowThreads(__tstate
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8458 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
8460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8461 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
8463 return Py_BuildValue((char *)"");
8465 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8466 PyObject
*resultobj
;
8467 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8469 PyObject
* obj0
= 0 ;
8470 PyObject
* obj1
= 0 ;
8472 (char *) "self",(char *) "Language", NULL
8475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8478 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8481 if (arg1
) (arg1
)->Language
= arg2
;
8483 Py_INCREF(Py_None
); resultobj
= Py_None
;
8490 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
*resultobj
;
8492 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8494 PyObject
* obj0
= 0 ;
8496 (char *) "self", NULL
8499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
8500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8501 result
= (int) ((arg1
)->Language
);
8503 resultobj
= SWIG_PyObj_FromInt((int)result
);
8510 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8511 PyObject
*resultobj
;
8512 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8513 wxString
*arg2
= (wxString
*) 0 ;
8514 bool temp2
= False
;
8515 PyObject
* obj0
= 0 ;
8516 PyObject
* obj1
= 0 ;
8518 (char *) "self",(char *) "CanonicalName", NULL
8521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8524 arg2
= wxString_in_helper(obj1
);
8525 if (arg2
== NULL
) SWIG_fail
;
8528 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
8530 Py_INCREF(Py_None
); resultobj
= Py_None
;
8545 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
*resultobj
;
8547 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8549 PyObject
* obj0
= 0 ;
8551 (char *) "self", NULL
8554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
8555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8556 result
= (wxString
*)& ((arg1
)->CanonicalName
);
8560 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8562 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8571 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
*resultobj
;
8573 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8574 wxString
*arg2
= (wxString
*) 0 ;
8575 bool temp2
= False
;
8576 PyObject
* obj0
= 0 ;
8577 PyObject
* obj1
= 0 ;
8579 (char *) "self",(char *) "Description", NULL
8582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8585 arg2
= wxString_in_helper(obj1
);
8586 if (arg2
== NULL
) SWIG_fail
;
8589 if (arg1
) (arg1
)->Description
= *arg2
;
8591 Py_INCREF(Py_None
); resultobj
= Py_None
;
8606 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8607 PyObject
*resultobj
;
8608 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8610 PyObject
* obj0
= 0 ;
8612 (char *) "self", NULL
8615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
8616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8617 result
= (wxString
*)& ((arg1
)->Description
);
8621 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8623 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8632 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
8634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8635 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
8637 return Py_BuildValue((char *)"");
8639 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
*resultobj
;
8641 int arg1
= (int) wxLANGUAGE_DEFAULT
;
8642 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
8644 PyObject
* obj0
= 0 ;
8645 PyObject
* obj1
= 0 ;
8647 (char *) "language",(char *) "flags", NULL
8650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
8653 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8659 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8665 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
8667 wxPyEndAllowThreads(__tstate
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8670 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLocale
, 1);
8677 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
;
8679 wxLocale
*arg1
= (wxLocale
*) 0 ;
8680 PyObject
* obj0
= 0 ;
8682 (char *) "self", NULL
8685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
8686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8694 Py_INCREF(Py_None
); resultobj
= Py_None
;
8701 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
*resultobj
;
8703 wxLocale
*arg1
= (wxLocale
*) 0 ;
8704 wxString
*arg2
= 0 ;
8705 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8706 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8707 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8708 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8709 bool arg5
= (bool) True
;
8710 bool arg6
= (bool) False
;
8712 bool temp2
= False
;
8713 bool temp3
= False
;
8714 bool temp4
= False
;
8715 PyObject
* obj0
= 0 ;
8716 PyObject
* obj1
= 0 ;
8717 PyObject
* obj2
= 0 ;
8718 PyObject
* obj3
= 0 ;
8719 PyObject
* obj4
= 0 ;
8720 PyObject
* obj5
= 0 ;
8722 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
8725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8728 arg2
= wxString_in_helper(obj1
);
8729 if (arg2
== NULL
) SWIG_fail
;
8734 arg3
= wxString_in_helper(obj2
);
8735 if (arg3
== NULL
) SWIG_fail
;
8741 arg4
= wxString_in_helper(obj3
);
8742 if (arg4
== NULL
) SWIG_fail
;
8748 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8754 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8760 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
8762 wxPyEndAllowThreads(__tstate
);
8763 if (PyErr_Occurred()) SWIG_fail
;
8765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8796 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8797 PyObject
*resultobj
;
8798 wxLocale
*arg1
= (wxLocale
*) 0 ;
8799 int arg2
= (int) wxLANGUAGE_DEFAULT
;
8800 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
8802 PyObject
* obj0
= 0 ;
8803 PyObject
* obj1
= 0 ;
8804 PyObject
* obj2
= 0 ;
8806 (char *) "self",(char *) "language",(char *) "flags", NULL
8809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8813 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8819 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8825 result
= (bool)(arg1
)->Init(arg2
,arg3
);
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8837 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8838 PyObject
*resultobj
;
8844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 result
= (int)wxLocale::GetSystemLanguage();
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8852 resultobj
= SWIG_PyObj_FromInt((int)result
);
8859 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8860 PyObject
*resultobj
;
8866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 result
= (int)wxLocale::GetSystemEncoding();
8871 wxPyEndAllowThreads(__tstate
);
8872 if (PyErr_Occurred()) SWIG_fail
;
8874 resultobj
= SWIG_PyObj_FromInt((int)result
);
8881 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8882 PyObject
*resultobj
;
8888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
8890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8891 result
= wxLocale::GetSystemEncodingName();
8893 wxPyEndAllowThreads(__tstate
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8898 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8900 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8909 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8910 PyObject
*resultobj
;
8911 wxLocale
*arg1
= (wxLocale
*) 0 ;
8913 PyObject
* obj0
= 0 ;
8915 (char *) "self", NULL
8918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
8919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8922 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8934 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8935 PyObject
*resultobj
;
8936 wxLocale
*arg1
= (wxLocale
*) 0 ;
8938 PyObject
* obj0
= 0 ;
8940 (char *) "self", NULL
8943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
8944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8947 result
= ((wxLocale
const *)arg1
)->GetLocale();
8949 wxPyEndAllowThreads(__tstate
);
8950 if (PyErr_Occurred()) SWIG_fail
;
8954 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8956 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8965 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8966 PyObject
*resultobj
;
8967 wxLocale
*arg1
= (wxLocale
*) 0 ;
8969 PyObject
* obj0
= 0 ;
8971 (char *) "self", NULL
8974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
8975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8978 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
8980 wxPyEndAllowThreads(__tstate
);
8981 if (PyErr_Occurred()) SWIG_fail
;
8983 resultobj
= SWIG_PyObj_FromInt((int)result
);
8990 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8991 PyObject
*resultobj
;
8992 wxLocale
*arg1
= (wxLocale
*) 0 ;
8994 PyObject
* obj0
= 0 ;
8996 (char *) "self", NULL
8999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 result
= ((wxLocale
const *)arg1
)->GetSysName();
9005 wxPyEndAllowThreads(__tstate
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9010 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9012 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9021 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9022 PyObject
*resultobj
;
9023 wxLocale
*arg1
= (wxLocale
*) 0 ;
9025 PyObject
* obj0
= 0 ;
9027 (char *) "self", NULL
9030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9034 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9036 wxPyEndAllowThreads(__tstate
);
9037 if (PyErr_Occurred()) SWIG_fail
;
9041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9052 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
*resultobj
;
9054 wxString
*arg1
= 0 ;
9055 bool temp1
= False
;
9056 PyObject
* obj0
= 0 ;
9058 (char *) "prefix", NULL
9061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9063 arg1
= wxString_in_helper(obj0
);
9064 if (arg1
== NULL
) SWIG_fail
;
9068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9069 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9071 wxPyEndAllowThreads(__tstate
);
9072 if (PyErr_Occurred()) SWIG_fail
;
9074 Py_INCREF(Py_None
); resultobj
= Py_None
;
9089 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9090 PyObject
*resultobj
;
9091 wxLocale
*arg1
= (wxLocale
*) 0 ;
9092 wxString
*arg2
= 0 ;
9094 bool temp2
= False
;
9095 PyObject
* obj0
= 0 ;
9096 PyObject
* obj1
= 0 ;
9098 (char *) "self",(char *) "szDomain", NULL
9101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9104 arg2
= wxString_in_helper(obj1
);
9105 if (arg2
== NULL
) SWIG_fail
;
9109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9110 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9112 wxPyEndAllowThreads(__tstate
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9130 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9131 PyObject
*resultobj
;
9132 wxLocale
*arg1
= (wxLocale
*) 0 ;
9133 wxString
*arg2
= 0 ;
9135 bool temp2
= False
;
9136 PyObject
* obj0
= 0 ;
9137 PyObject
* obj1
= 0 ;
9139 (char *) "self",(char *) "szDomain", NULL
9142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9145 arg2
= wxString_in_helper(obj1
);
9146 if (arg2
== NULL
) SWIG_fail
;
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9171 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
;
9174 wxLanguageInfo
*result
;
9175 PyObject
* obj0
= 0 ;
9177 (char *) "lang", NULL
9180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9182 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9187 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9189 wxPyEndAllowThreads(__tstate
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9192 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLanguageInfo
, 0);
9199 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9200 PyObject
*resultobj
;
9203 PyObject
* obj0
= 0 ;
9205 (char *) "lang", NULL
9208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9210 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9211 if (PyErr_Occurred()) SWIG_fail
;
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 result
= wxLocale::GetLanguageName(arg1
);
9217 wxPyEndAllowThreads(__tstate
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9233 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
*resultobj
;
9235 wxString
*arg1
= 0 ;
9236 wxLanguageInfo
*result
;
9237 bool temp1
= False
;
9238 PyObject
* obj0
= 0 ;
9240 (char *) "locale", NULL
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9245 arg1
= wxString_in_helper(obj0
);
9246 if (arg1
== NULL
) SWIG_fail
;
9250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9251 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9256 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLanguageInfo
, 0);
9271 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
;
9273 wxLanguageInfo
*arg1
= 0 ;
9274 PyObject
* obj0
= 0 ;
9276 (char *) "info", NULL
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9282 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9291 Py_INCREF(Py_None
); resultobj
= Py_None
;
9298 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9299 PyObject
*resultobj
;
9300 wxLocale
*arg1
= (wxLocale
*) 0 ;
9301 wxString
*arg2
= 0 ;
9302 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9303 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9305 bool temp2
= False
;
9306 bool temp3
= False
;
9307 PyObject
* obj0
= 0 ;
9308 PyObject
* obj1
= 0 ;
9309 PyObject
* obj2
= 0 ;
9311 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9317 arg2
= wxString_in_helper(obj1
);
9318 if (arg2
== NULL
) SWIG_fail
;
9323 arg3
= wxString_in_helper(obj2
);
9324 if (arg3
== NULL
) SWIG_fail
;
9329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9330 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9337 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9339 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9364 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
*resultobj
;
9366 wxLocale
*arg1
= (wxLocale
*) 0 ;
9368 PyObject
* obj0
= 0 ;
9370 (char *) "self", NULL
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9378 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9379 result
= (wxString
*) &_result_ref
;
9382 wxPyEndAllowThreads(__tstate
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9387 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9389 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9398 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
9400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9401 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9403 return Py_BuildValue((char *)"");
9405 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9406 PyObject
*resultobj
;
9412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9415 result
= (wxLocale
*)wxGetLocale();
9417 wxPyEndAllowThreads(__tstate
);
9418 if (PyErr_Occurred()) SWIG_fail
;
9420 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLocale
, 0);
9427 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
9428 PyObject
*resultobj
;
9429 wxString
*arg1
= 0 ;
9431 bool temp1
= False
;
9432 PyObject
* obj0
= 0 ;
9434 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9436 arg1
= wxString_in_helper(obj0
);
9437 if (arg1
== NULL
) SWIG_fail
;
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 result
= wxGetTranslation((wxString
const &)*arg1
);
9444 wxPyEndAllowThreads(__tstate
);
9445 if (PyErr_Occurred()) SWIG_fail
;
9449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9468 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
9469 PyObject
*resultobj
;
9470 wxString
*arg1
= 0 ;
9471 wxString
*arg2
= 0 ;
9474 bool temp1
= False
;
9475 bool temp2
= False
;
9476 PyObject
* obj0
= 0 ;
9477 PyObject
* obj1
= 0 ;
9478 PyObject
* obj2
= 0 ;
9480 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
9482 arg1
= wxString_in_helper(obj0
);
9483 if (arg1
== NULL
) SWIG_fail
;
9487 arg2
= wxString_in_helper(obj1
);
9488 if (arg2
== NULL
) SWIG_fail
;
9492 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
9493 if (PyErr_Occurred()) SWIG_fail
;
9496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9499 wxPyEndAllowThreads(__tstate
);
9500 if (PyErr_Occurred()) SWIG_fail
;
9504 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9506 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9531 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
9536 argc
= PyObject_Length(args
);
9537 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9538 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9543 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9546 return _wrap_GetTranslation__SWIG_0(self
,args
);
9552 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9556 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9560 SWIG_PyObj_AsUnsignedLong(argv
[2]);
9561 if (PyErr_Occurred()) {
9569 return _wrap_GetTranslation__SWIG_1(self
,args
);
9575 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
9580 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9581 PyObject
*resultobj
;
9582 wxEncodingConverter
*result
;
9587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
9589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9590 result
= (wxEncodingConverter
*)new wxEncodingConverter();
9592 wxPyEndAllowThreads(__tstate
);
9593 if (PyErr_Occurred()) SWIG_fail
;
9595 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEncodingConverter
, 1);
9602 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9603 PyObject
*resultobj
;
9604 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9605 PyObject
* obj0
= 0 ;
9607 (char *) "self", NULL
9610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
9611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9619 Py_INCREF(Py_None
); resultobj
= Py_None
;
9626 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9627 PyObject
*resultobj
;
9628 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9631 int arg4
= (int) wxCONVERT_STRICT
;
9633 PyObject
* obj0
= 0 ;
9634 PyObject
* obj1
= 0 ;
9635 PyObject
* obj2
= 0 ;
9636 PyObject
* obj3
= 0 ;
9638 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
9641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9644 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9648 arg3
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj2
);
9649 if (PyErr_Occurred()) SWIG_fail
;
9653 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
9661 wxPyEndAllowThreads(__tstate
);
9662 if (PyErr_Occurred()) SWIG_fail
;
9664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9671 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9672 PyObject
*resultobj
;
9673 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9674 wxString
*arg2
= 0 ;
9676 bool temp2
= False
;
9677 PyObject
* obj0
= 0 ;
9678 PyObject
* obj1
= 0 ;
9680 (char *) "self",(char *) "input", NULL
9683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
9684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9686 arg2
= wxString_in_helper(obj1
);
9687 if (arg2
== NULL
) SWIG_fail
;
9691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9692 result
= (arg1
)->Convert((wxString
const &)*arg2
);
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9699 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9701 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9718 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
*resultobj
;
9721 int arg2
= (int) wxPLATFORM_CURRENT
;
9722 wxFontEncodingArray result
;
9723 PyObject
* obj0
= 0 ;
9724 PyObject
* obj1
= 0 ;
9726 (char *) "enc",(char *) "platform", NULL
9729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
9731 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9736 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9742 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
9744 wxPyEndAllowThreads(__tstate
);
9745 if (PyErr_Occurred()) SWIG_fail
;
9748 resultobj
= PyList_New(0);
9749 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
9750 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
9751 PyList_Append(resultobj
, number
);
9761 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9762 PyObject
*resultobj
;
9764 wxFontEncodingArray result
;
9765 PyObject
* obj0
= 0 ;
9767 (char *) "enc", NULL
9770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
9772 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
9773 if (PyErr_Occurred()) SWIG_fail
;
9776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9777 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
9779 wxPyEndAllowThreads(__tstate
);
9780 if (PyErr_Occurred()) SWIG_fail
;
9783 resultobj
= PyList_New(0);
9784 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
9785 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
9786 PyList_Append(resultobj
, number
);
9796 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9797 PyObject
*resultobj
;
9801 PyObject
* obj0
= 0 ;
9802 PyObject
* obj1
= 0 ;
9804 (char *) "encIn",(char *) "encOut", NULL
9807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
9809 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
9810 if (PyErr_Occurred()) SWIG_fail
;
9813 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9818 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
9820 wxPyEndAllowThreads(__tstate
);
9821 if (PyErr_Occurred()) SWIG_fail
;
9823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9830 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
9832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9833 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
9835 return Py_BuildValue((char *)"");
9837 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9838 PyObject
*resultobj
;
9839 wxDC
*arg1
= (wxDC
*) 0 ;
9840 PyObject
* obj0
= 0 ;
9842 (char *) "self", NULL
9845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
9846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9854 Py_INCREF(Py_None
); resultobj
= Py_None
;
9861 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9862 PyObject
*resultobj
;
9863 wxDC
*arg1
= (wxDC
*) 0 ;
9864 PyObject
* obj0
= 0 ;
9866 (char *) "self", NULL
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
9870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 (arg1
)->BeginDrawing();
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9878 Py_INCREF(Py_None
); resultobj
= Py_None
;
9885 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9886 PyObject
*resultobj
;
9887 wxDC
*arg1
= (wxDC
*) 0 ;
9888 PyObject
* obj0
= 0 ;
9890 (char *) "self", NULL
9893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
9894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 (arg1
)->EndDrawing();
9899 wxPyEndAllowThreads(__tstate
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9902 Py_INCREF(Py_None
); resultobj
= Py_None
;
9909 static PyObject
*_wrap_DC_FloodFillXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9910 PyObject
*resultobj
;
9911 wxDC
*arg1
= (wxDC
*) 0 ;
9914 wxColour
*arg4
= 0 ;
9915 int arg5
= (int) wxFLOOD_SURFACE
;
9918 PyObject
* obj0
= 0 ;
9919 PyObject
* obj1
= 0 ;
9920 PyObject
* obj2
= 0 ;
9921 PyObject
* obj3
= 0 ;
9922 PyObject
* obj4
= 0 ;
9924 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFillXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9930 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9934 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9939 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
9943 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9949 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9961 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9962 PyObject
*resultobj
;
9963 wxDC
*arg1
= (wxDC
*) 0 ;
9965 wxColour
*arg3
= 0 ;
9966 int arg4
= (int) wxFLOOD_SURFACE
;
9970 PyObject
* obj0
= 0 ;
9971 PyObject
* obj1
= 0 ;
9972 PyObject
* obj2
= 0 ;
9973 PyObject
* obj3
= 0 ;
9975 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
9978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9982 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9986 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9990 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9996 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
9998 wxPyEndAllowThreads(__tstate
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10008 static PyObject
*_wrap_DC_GetPixelXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10009 PyObject
*resultobj
;
10010 wxDC
*arg1
= (wxDC
*) 0 ;
10014 PyObject
* obj0
= 0 ;
10015 PyObject
* obj1
= 0 ;
10016 PyObject
* obj2
= 0 ;
10017 char *kwnames
[] = {
10018 (char *) "self",(char *) "x",(char *) "y", NULL
10021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixelXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10024 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10025 if (PyErr_Occurred()) SWIG_fail
;
10028 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10033 result
= wxDC_GetPixelXY(arg1
,arg2
,arg3
);
10035 wxPyEndAllowThreads(__tstate
);
10036 if (PyErr_Occurred()) SWIG_fail
;
10039 wxColour
* resultptr
;
10040 resultptr
= new wxColour((wxColour
&) result
);
10041 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10049 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10050 PyObject
*resultobj
;
10051 wxDC
*arg1
= (wxDC
*) 0 ;
10052 wxPoint
*arg2
= 0 ;
10055 PyObject
* obj0
= 0 ;
10056 PyObject
* obj1
= 0 ;
10057 char *kwnames
[] = {
10058 (char *) "self",(char *) "pt", NULL
10061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
;
10062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10065 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10069 result
= wxDC_GetPixel(arg1
,(wxPoint
const &)*arg2
);
10071 wxPyEndAllowThreads(__tstate
);
10072 if (PyErr_Occurred()) SWIG_fail
;
10075 wxColour
* resultptr
;
10076 resultptr
= new wxColour((wxColour
&) result
);
10077 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10085 static PyObject
*_wrap_DC_DrawLineXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10086 PyObject
*resultobj
;
10087 wxDC
*arg1
= (wxDC
*) 0 ;
10092 PyObject
* obj0
= 0 ;
10093 PyObject
* obj1
= 0 ;
10094 PyObject
* obj2
= 0 ;
10095 PyObject
* obj3
= 0 ;
10096 PyObject
* obj4
= 0 ;
10097 char *kwnames
[] = {
10098 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLineXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10104 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10108 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10109 if (PyErr_Occurred()) SWIG_fail
;
10112 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10116 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10121 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10123 wxPyEndAllowThreads(__tstate
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10126 Py_INCREF(Py_None
); resultobj
= Py_None
;
10133 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10134 PyObject
*resultobj
;
10135 wxDC
*arg1
= (wxDC
*) 0 ;
10136 wxPoint
*arg2
= 0 ;
10137 wxPoint
*arg3
= 0 ;
10140 PyObject
* obj0
= 0 ;
10141 PyObject
* obj1
= 0 ;
10142 PyObject
* obj2
= 0 ;
10143 char *kwnames
[] = {
10144 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10151 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10155 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10159 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10161 wxPyEndAllowThreads(__tstate
);
10162 if (PyErr_Occurred()) SWIG_fail
;
10164 Py_INCREF(Py_None
); resultobj
= Py_None
;
10171 static PyObject
*_wrap_DC_CrossHairXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10172 PyObject
*resultobj
;
10173 wxDC
*arg1
= (wxDC
*) 0 ;
10176 PyObject
* obj0
= 0 ;
10177 PyObject
* obj1
= 0 ;
10178 PyObject
* obj2
= 0 ;
10179 char *kwnames
[] = {
10180 (char *) "self",(char *) "x",(char *) "y", NULL
10183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHairXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10186 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10187 if (PyErr_Occurred()) SWIG_fail
;
10190 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10195 (arg1
)->CrossHair(arg2
,arg3
);
10197 wxPyEndAllowThreads(__tstate
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10200 Py_INCREF(Py_None
); resultobj
= Py_None
;
10207 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10208 PyObject
*resultobj
;
10209 wxDC
*arg1
= (wxDC
*) 0 ;
10210 wxPoint
*arg2
= 0 ;
10212 PyObject
* obj0
= 0 ;
10213 PyObject
* obj1
= 0 ;
10214 char *kwnames
[] = {
10215 (char *) "self",(char *) "pt", NULL
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
;
10219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10222 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 Py_INCREF(Py_None
); resultobj
= Py_None
;
10238 static PyObject
*_wrap_DC_DrawArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
*resultobj
;
10240 wxDC
*arg1
= (wxDC
*) 0 ;
10247 PyObject
* obj0
= 0 ;
10248 PyObject
* obj1
= 0 ;
10249 PyObject
* obj2
= 0 ;
10250 PyObject
* obj3
= 0 ;
10251 PyObject
* obj4
= 0 ;
10252 PyObject
* obj5
= 0 ;
10253 PyObject
* obj6
= 0 ;
10254 char *kwnames
[] = {
10255 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10261 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10262 if (PyErr_Occurred()) SWIG_fail
;
10265 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10266 if (PyErr_Occurred()) SWIG_fail
;
10269 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10273 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10277 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
10278 if (PyErr_Occurred()) SWIG_fail
;
10281 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10282 if (PyErr_Occurred()) SWIG_fail
;
10285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10286 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10288 wxPyEndAllowThreads(__tstate
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10291 Py_INCREF(Py_None
); resultobj
= Py_None
;
10298 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10299 PyObject
*resultobj
;
10300 wxDC
*arg1
= (wxDC
*) 0 ;
10301 wxPoint
*arg2
= 0 ;
10302 wxPoint
*arg3
= 0 ;
10303 wxPoint
*arg4
= 0 ;
10307 PyObject
* obj0
= 0 ;
10308 PyObject
* obj1
= 0 ;
10309 PyObject
* obj2
= 0 ;
10310 PyObject
* obj3
= 0 ;
10311 char *kwnames
[] = {
10312 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10319 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10323 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10327 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10331 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10333 wxPyEndAllowThreads(__tstate
);
10334 if (PyErr_Occurred()) SWIG_fail
;
10336 Py_INCREF(Py_None
); resultobj
= Py_None
;
10343 static PyObject
*_wrap_DC_DrawCheckMarkXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10344 PyObject
*resultobj
;
10345 wxDC
*arg1
= (wxDC
*) 0 ;
10350 PyObject
* obj0
= 0 ;
10351 PyObject
* obj1
= 0 ;
10352 PyObject
* obj2
= 0 ;
10353 PyObject
* obj3
= 0 ;
10354 PyObject
* obj4
= 0 ;
10355 char *kwnames
[] = {
10356 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMarkXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10362 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10366 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10370 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10371 if (PyErr_Occurred()) SWIG_fail
;
10374 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10379 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10381 wxPyEndAllowThreads(__tstate
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10384 Py_INCREF(Py_None
); resultobj
= Py_None
;
10391 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10392 PyObject
*resultobj
;
10393 wxDC
*arg1
= (wxDC
*) 0 ;
10396 PyObject
* obj0
= 0 ;
10397 PyObject
* obj1
= 0 ;
10398 char *kwnames
[] = {
10399 (char *) "self",(char *) "rect", NULL
10402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
;
10403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10406 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10410 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10415 Py_INCREF(Py_None
); resultobj
= Py_None
;
10422 static PyObject
*_wrap_DC_DrawEllipticArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10423 PyObject
*resultobj
;
10424 wxDC
*arg1
= (wxDC
*) 0 ;
10431 PyObject
* obj0
= 0 ;
10432 PyObject
* obj1
= 0 ;
10433 PyObject
* obj2
= 0 ;
10434 PyObject
* obj3
= 0 ;
10435 PyObject
* obj4
= 0 ;
10436 PyObject
* obj5
= 0 ;
10437 PyObject
* obj6
= 0 ;
10438 char *kwnames
[] = {
10439 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10445 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10446 if (PyErr_Occurred()) SWIG_fail
;
10449 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10450 if (PyErr_Occurred()) SWIG_fail
;
10453 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10457 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10458 if (PyErr_Occurred()) SWIG_fail
;
10461 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10465 arg7
= (double) SWIG_PyObj_AsDouble(obj6
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10470 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10472 wxPyEndAllowThreads(__tstate
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10475 Py_INCREF(Py_None
); resultobj
= Py_None
;
10482 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10483 PyObject
*resultobj
;
10484 wxDC
*arg1
= (wxDC
*) 0 ;
10485 wxPoint
*arg2
= 0 ;
10491 PyObject
* obj0
= 0 ;
10492 PyObject
* obj1
= 0 ;
10493 PyObject
* obj2
= 0 ;
10494 PyObject
* obj3
= 0 ;
10495 PyObject
* obj4
= 0 ;
10496 char *kwnames
[] = {
10497 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
10500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10504 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10508 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10511 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
10512 if (PyErr_Occurred()) SWIG_fail
;
10515 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10520 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
10522 wxPyEndAllowThreads(__tstate
);
10523 if (PyErr_Occurred()) SWIG_fail
;
10525 Py_INCREF(Py_None
); resultobj
= Py_None
;
10532 static PyObject
*_wrap_DC_DrawPointXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10533 PyObject
*resultobj
;
10534 wxDC
*arg1
= (wxDC
*) 0 ;
10537 PyObject
* obj0
= 0 ;
10538 PyObject
* obj1
= 0 ;
10539 PyObject
* obj2
= 0 ;
10540 char *kwnames
[] = {
10541 (char *) "self",(char *) "x",(char *) "y", NULL
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPointXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10547 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10551 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10556 (arg1
)->DrawPoint(arg2
,arg3
);
10558 wxPyEndAllowThreads(__tstate
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10561 Py_INCREF(Py_None
); resultobj
= Py_None
;
10568 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10569 PyObject
*resultobj
;
10570 wxDC
*arg1
= (wxDC
*) 0 ;
10571 wxPoint
*arg2
= 0 ;
10573 PyObject
* obj0
= 0 ;
10574 PyObject
* obj1
= 0 ;
10575 char *kwnames
[] = {
10576 (char *) "self",(char *) "pt", NULL
10579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10583 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10587 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10589 wxPyEndAllowThreads(__tstate
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10592 Py_INCREF(Py_None
); resultobj
= Py_None
;
10599 static PyObject
*_wrap_DC_DrawRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
*resultobj
;
10601 wxDC
*arg1
= (wxDC
*) 0 ;
10606 PyObject
* obj0
= 0 ;
10607 PyObject
* obj1
= 0 ;
10608 PyObject
* obj2
= 0 ;
10609 PyObject
* obj3
= 0 ;
10610 PyObject
* obj4
= 0 ;
10611 char *kwnames
[] = {
10612 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10618 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10622 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10623 if (PyErr_Occurred()) SWIG_fail
;
10626 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10630 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10635 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
10637 wxPyEndAllowThreads(__tstate
);
10638 if (PyErr_Occurred()) SWIG_fail
;
10640 Py_INCREF(Py_None
); resultobj
= Py_None
;
10647 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10648 PyObject
*resultobj
;
10649 wxDC
*arg1
= (wxDC
*) 0 ;
10650 wxPoint
*arg2
= 0 ;
10654 PyObject
* obj0
= 0 ;
10655 PyObject
* obj1
= 0 ;
10656 PyObject
* obj2
= 0 ;
10657 char *kwnames
[] = {
10658 (char *) "self",(char *) "pt",(char *) "sz", NULL
10661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10665 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10669 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10673 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10675 wxPyEndAllowThreads(__tstate
);
10676 if (PyErr_Occurred()) SWIG_fail
;
10678 Py_INCREF(Py_None
); resultobj
= Py_None
;
10685 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10686 PyObject
*resultobj
;
10687 wxDC
*arg1
= (wxDC
*) 0 ;
10690 PyObject
* obj0
= 0 ;
10691 PyObject
* obj1
= 0 ;
10692 char *kwnames
[] = {
10693 (char *) "self",(char *) "rect", NULL
10696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10700 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10704 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
10706 wxPyEndAllowThreads(__tstate
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10709 Py_INCREF(Py_None
); resultobj
= Py_None
;
10716 static PyObject
*_wrap_DC_DrawRoundedRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10717 PyObject
*resultobj
;
10718 wxDC
*arg1
= (wxDC
*) 0 ;
10724 PyObject
* obj0
= 0 ;
10725 PyObject
* obj1
= 0 ;
10726 PyObject
* obj2
= 0 ;
10727 PyObject
* obj3
= 0 ;
10728 PyObject
* obj4
= 0 ;
10729 PyObject
* obj5
= 0 ;
10730 char *kwnames
[] = {
10731 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10737 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10741 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10742 if (PyErr_Occurred()) SWIG_fail
;
10745 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10746 if (PyErr_Occurred()) SWIG_fail
;
10749 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10750 if (PyErr_Occurred()) SWIG_fail
;
10753 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
10754 if (PyErr_Occurred()) SWIG_fail
;
10757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10758 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
10760 wxPyEndAllowThreads(__tstate
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10763 Py_INCREF(Py_None
); resultobj
= Py_None
;
10770 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10771 PyObject
*resultobj
;
10772 wxDC
*arg1
= (wxDC
*) 0 ;
10773 wxPoint
*arg2
= 0 ;
10778 PyObject
* obj0
= 0 ;
10779 PyObject
* obj1
= 0 ;
10780 PyObject
* obj2
= 0 ;
10781 PyObject
* obj3
= 0 ;
10782 char *kwnames
[] = {
10783 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
10786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10790 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10794 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10797 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
10804 wxPyEndAllowThreads(__tstate
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10807 Py_INCREF(Py_None
); resultobj
= Py_None
;
10814 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
*resultobj
;
10816 wxDC
*arg1
= (wxDC
*) 0 ;
10820 PyObject
* obj0
= 0 ;
10821 PyObject
* obj1
= 0 ;
10822 PyObject
* obj2
= 0 ;
10823 char *kwnames
[] = {
10824 (char *) "self",(char *) "r",(char *) "radius", NULL
10827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10831 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10834 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
10835 if (PyErr_Occurred()) SWIG_fail
;
10838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10839 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
10841 wxPyEndAllowThreads(__tstate
);
10842 if (PyErr_Occurred()) SWIG_fail
;
10844 Py_INCREF(Py_None
); resultobj
= Py_None
;
10851 static PyObject
*_wrap_DC_DrawCircleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10852 PyObject
*resultobj
;
10853 wxDC
*arg1
= (wxDC
*) 0 ;
10857 PyObject
* obj0
= 0 ;
10858 PyObject
* obj1
= 0 ;
10859 PyObject
* obj2
= 0 ;
10860 PyObject
* obj3
= 0 ;
10861 char *kwnames
[] = {
10862 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
10865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10868 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10872 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10876 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10877 if (PyErr_Occurred()) SWIG_fail
;
10880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10881 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
10883 wxPyEndAllowThreads(__tstate
);
10884 if (PyErr_Occurred()) SWIG_fail
;
10886 Py_INCREF(Py_None
); resultobj
= Py_None
;
10893 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10894 PyObject
*resultobj
;
10895 wxDC
*arg1
= (wxDC
*) 0 ;
10896 wxPoint
*arg2
= 0 ;
10899 PyObject
* obj0
= 0 ;
10900 PyObject
* obj1
= 0 ;
10901 PyObject
* obj2
= 0 ;
10902 char *kwnames
[] = {
10903 (char *) "self",(char *) "pt",(char *) "radius", NULL
10906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10910 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10913 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10914 if (PyErr_Occurred()) SWIG_fail
;
10917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10918 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
10920 wxPyEndAllowThreads(__tstate
);
10921 if (PyErr_Occurred()) SWIG_fail
;
10923 Py_INCREF(Py_None
); resultobj
= Py_None
;
10930 static PyObject
*_wrap_DC_DrawEllipseXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
*resultobj
;
10932 wxDC
*arg1
= (wxDC
*) 0 ;
10937 PyObject
* obj0
= 0 ;
10938 PyObject
* obj1
= 0 ;
10939 PyObject
* obj2
= 0 ;
10940 PyObject
* obj3
= 0 ;
10941 PyObject
* obj4
= 0 ;
10942 char *kwnames
[] = {
10943 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipseXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10949 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10953 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10954 if (PyErr_Occurred()) SWIG_fail
;
10957 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10961 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10962 if (PyErr_Occurred()) SWIG_fail
;
10965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10966 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
10968 wxPyEndAllowThreads(__tstate
);
10969 if (PyErr_Occurred()) SWIG_fail
;
10971 Py_INCREF(Py_None
); resultobj
= Py_None
;
10978 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10979 PyObject
*resultobj
;
10980 wxDC
*arg1
= (wxDC
*) 0 ;
10981 wxPoint
*arg2
= 0 ;
10985 PyObject
* obj0
= 0 ;
10986 PyObject
* obj1
= 0 ;
10987 PyObject
* obj2
= 0 ;
10988 char *kwnames
[] = {
10989 (char *) "self",(char *) "pt",(char *) "sz", NULL
10992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10996 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11000 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11004 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11009 Py_INCREF(Py_None
); resultobj
= Py_None
;
11016 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
;
11018 wxDC
*arg1
= (wxDC
*) 0 ;
11021 PyObject
* obj0
= 0 ;
11022 PyObject
* obj1
= 0 ;
11023 char *kwnames
[] = {
11024 (char *) "self",(char *) "rect", NULL
11027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11031 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11035 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11037 wxPyEndAllowThreads(__tstate
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11040 Py_INCREF(Py_None
); resultobj
= Py_None
;
11047 static PyObject
*_wrap_DC_DrawIconXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11048 PyObject
*resultobj
;
11049 wxDC
*arg1
= (wxDC
*) 0 ;
11053 PyObject
* obj0
= 0 ;
11054 PyObject
* obj1
= 0 ;
11055 PyObject
* obj2
= 0 ;
11056 PyObject
* obj3
= 0 ;
11057 char *kwnames
[] = {
11058 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11063 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11064 if (arg2
== NULL
) {
11065 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11068 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11069 if (PyErr_Occurred()) SWIG_fail
;
11072 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11077 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11079 wxPyEndAllowThreads(__tstate
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11082 Py_INCREF(Py_None
); resultobj
= Py_None
;
11089 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11090 PyObject
*resultobj
;
11091 wxDC
*arg1
= (wxDC
*) 0 ;
11093 wxPoint
*arg3
= 0 ;
11095 PyObject
* obj0
= 0 ;
11096 PyObject
* obj1
= 0 ;
11097 PyObject
* obj2
= 0 ;
11098 char *kwnames
[] = {
11099 (char *) "self",(char *) "icon",(char *) "pt", NULL
11102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11104 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11105 if (arg2
== NULL
) {
11106 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11110 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11114 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11116 wxPyEndAllowThreads(__tstate
);
11117 if (PyErr_Occurred()) SWIG_fail
;
11119 Py_INCREF(Py_None
); resultobj
= Py_None
;
11126 static PyObject
*_wrap_DC_DrawBitmapXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11127 PyObject
*resultobj
;
11128 wxDC
*arg1
= (wxDC
*) 0 ;
11129 wxBitmap
*arg2
= 0 ;
11132 bool arg5
= (bool) False
;
11133 PyObject
* obj0
= 0 ;
11134 PyObject
* obj1
= 0 ;
11135 PyObject
* obj2
= 0 ;
11136 PyObject
* obj3
= 0 ;
11137 PyObject
* obj4
= 0 ;
11138 char *kwnames
[] = {
11139 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmapXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11144 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11145 if (arg2
== NULL
) {
11146 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11149 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11150 if (PyErr_Occurred()) SWIG_fail
;
11153 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11154 if (PyErr_Occurred()) SWIG_fail
;
11158 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11164 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11166 wxPyEndAllowThreads(__tstate
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11169 Py_INCREF(Py_None
); resultobj
= Py_None
;
11176 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11177 PyObject
*resultobj
;
11178 wxDC
*arg1
= (wxDC
*) 0 ;
11179 wxBitmap
*arg2
= 0 ;
11180 wxPoint
*arg3
= 0 ;
11181 bool arg4
= (bool) False
;
11183 PyObject
* obj0
= 0 ;
11184 PyObject
* obj1
= 0 ;
11185 PyObject
* obj2
= 0 ;
11186 PyObject
* obj3
= 0 ;
11187 char *kwnames
[] = {
11188 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11193 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11194 if (arg2
== NULL
) {
11195 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11199 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11203 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11209 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11211 wxPyEndAllowThreads(__tstate
);
11212 if (PyErr_Occurred()) SWIG_fail
;
11214 Py_INCREF(Py_None
); resultobj
= Py_None
;
11221 static PyObject
*_wrap_DC_DrawTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11222 PyObject
*resultobj
;
11223 wxDC
*arg1
= (wxDC
*) 0 ;
11224 wxString
*arg2
= 0 ;
11227 bool temp2
= False
;
11228 PyObject
* obj0
= 0 ;
11229 PyObject
* obj1
= 0 ;
11230 PyObject
* obj2
= 0 ;
11231 PyObject
* obj3
= 0 ;
11232 char *kwnames
[] = {
11233 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11239 arg2
= wxString_in_helper(obj1
);
11240 if (arg2
== NULL
) SWIG_fail
;
11244 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11245 if (PyErr_Occurred()) SWIG_fail
;
11248 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11249 if (PyErr_Occurred()) SWIG_fail
;
11252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11253 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11255 wxPyEndAllowThreads(__tstate
);
11256 if (PyErr_Occurred()) SWIG_fail
;
11258 Py_INCREF(Py_None
); resultobj
= Py_None
;
11273 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11274 PyObject
*resultobj
;
11275 wxDC
*arg1
= (wxDC
*) 0 ;
11276 wxString
*arg2
= 0 ;
11277 wxPoint
*arg3
= 0 ;
11278 bool temp2
= False
;
11280 PyObject
* obj0
= 0 ;
11281 PyObject
* obj1
= 0 ;
11282 PyObject
* obj2
= 0 ;
11283 char *kwnames
[] = {
11284 (char *) "self",(char *) "text",(char *) "pt", NULL
11287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11290 arg2
= wxString_in_helper(obj1
);
11291 if (arg2
== NULL
) SWIG_fail
;
11296 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11300 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11302 wxPyEndAllowThreads(__tstate
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11305 Py_INCREF(Py_None
); resultobj
= Py_None
;
11320 static PyObject
*_wrap_DC_DrawRotatedTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11321 PyObject
*resultobj
;
11322 wxDC
*arg1
= (wxDC
*) 0 ;
11323 wxString
*arg2
= 0 ;
11327 bool temp2
= False
;
11328 PyObject
* obj0
= 0 ;
11329 PyObject
* obj1
= 0 ;
11330 PyObject
* obj2
= 0 ;
11331 PyObject
* obj3
= 0 ;
11332 PyObject
* obj4
= 0 ;
11333 char *kwnames
[] = {
11334 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11340 arg2
= wxString_in_helper(obj1
);
11341 if (arg2
== NULL
) SWIG_fail
;
11345 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11349 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11353 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11358 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11360 wxPyEndAllowThreads(__tstate
);
11361 if (PyErr_Occurred()) SWIG_fail
;
11363 Py_INCREF(Py_None
); resultobj
= Py_None
;
11378 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11379 PyObject
*resultobj
;
11380 wxDC
*arg1
= (wxDC
*) 0 ;
11381 wxString
*arg2
= 0 ;
11382 wxPoint
*arg3
= 0 ;
11384 bool temp2
= False
;
11386 PyObject
* obj0
= 0 ;
11387 PyObject
* obj1
= 0 ;
11388 PyObject
* obj2
= 0 ;
11389 PyObject
* obj3
= 0 ;
11390 char *kwnames
[] = {
11391 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11397 arg2
= wxString_in_helper(obj1
);
11398 if (arg2
== NULL
) SWIG_fail
;
11403 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11406 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
11407 if (PyErr_Occurred()) SWIG_fail
;
11410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11413 wxPyEndAllowThreads(__tstate
);
11414 if (PyErr_Occurred()) SWIG_fail
;
11416 Py_INCREF(Py_None
); resultobj
= Py_None
;
11431 static PyObject
*_wrap_DC_BlitXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11432 PyObject
*resultobj
;
11433 wxDC
*arg1
= (wxDC
*) 0 ;
11438 wxDC
*arg6
= (wxDC
*) 0 ;
11441 int arg9
= (int) wxCOPY
;
11442 bool arg10
= (bool) False
;
11443 int arg11
= (int) -1 ;
11444 int arg12
= (int) -1 ;
11446 PyObject
* obj0
= 0 ;
11447 PyObject
* obj1
= 0 ;
11448 PyObject
* obj2
= 0 ;
11449 PyObject
* obj3
= 0 ;
11450 PyObject
* obj4
= 0 ;
11451 PyObject
* obj5
= 0 ;
11452 PyObject
* obj6
= 0 ;
11453 PyObject
* obj7
= 0 ;
11454 PyObject
* obj8
= 0 ;
11455 PyObject
* obj9
= 0 ;
11456 PyObject
* obj10
= 0 ;
11457 PyObject
* obj11
= 0 ;
11458 char *kwnames
[] = {
11459 (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
11462 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
;
11463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11465 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11469 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11473 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11477 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11478 if (PyErr_Occurred()) SWIG_fail
;
11480 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11482 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11486 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
11487 if (PyErr_Occurred()) SWIG_fail
;
11491 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11497 arg10
= (bool) SWIG_PyObj_AsBool(obj9
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11503 arg11
= (int) SWIG_PyObj_AsInt(obj10
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11509 arg12
= (int) SWIG_PyObj_AsInt(obj11
);
11510 if (PyErr_Occurred()) SWIG_fail
;
11514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11515 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
11517 wxPyEndAllowThreads(__tstate
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11527 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11528 PyObject
*resultobj
;
11529 wxDC
*arg1
= (wxDC
*) 0 ;
11530 wxPoint
*arg2
= 0 ;
11532 wxDC
*arg4
= (wxDC
*) 0 ;
11533 wxPoint
*arg5
= 0 ;
11534 int arg6
= (int) wxCOPY
;
11535 bool arg7
= (bool) False
;
11536 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
11537 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
11543 PyObject
* obj0
= 0 ;
11544 PyObject
* obj1
= 0 ;
11545 PyObject
* obj2
= 0 ;
11546 PyObject
* obj3
= 0 ;
11547 PyObject
* obj4
= 0 ;
11548 PyObject
* obj5
= 0 ;
11549 PyObject
* obj6
= 0 ;
11550 PyObject
* obj7
= 0 ;
11551 char *kwnames
[] = {
11552 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11559 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11563 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11565 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11568 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11572 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11573 if (PyErr_Occurred()) SWIG_fail
;
11578 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
11579 if (PyErr_Occurred()) SWIG_fail
;
11585 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
11589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11590 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
11592 wxPyEndAllowThreads(__tstate
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11602 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11603 PyObject
*resultobj
;
11604 wxDC
*arg1
= (wxDC
*) 0 ;
11606 wxPoint
*arg3
= (wxPoint
*) 0 ;
11607 int arg4
= (int) 0 ;
11608 int arg5
= (int) 0 ;
11609 PyObject
* obj0
= 0 ;
11610 PyObject
* obj1
= 0 ;
11611 PyObject
* obj2
= 0 ;
11612 PyObject
* obj3
= 0 ;
11613 char *kwnames
[] = {
11614 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
11617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11620 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11621 if (arg3
== NULL
) SWIG_fail
;
11625 arg4
= (int) SWIG_PyObj_AsInt(obj2
);
11626 if (PyErr_Occurred()) SWIG_fail
;
11631 arg5
= (int) SWIG_PyObj_AsInt(obj3
);
11632 if (PyErr_Occurred()) SWIG_fail
;
11636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11637 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
11639 wxPyEndAllowThreads(__tstate
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11642 Py_INCREF(Py_None
); resultobj
= Py_None
;
11644 if (arg3
) delete [] arg3
;
11649 if (arg3
) delete [] arg3
;
11655 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11656 PyObject
*resultobj
;
11657 wxDC
*arg1
= (wxDC
*) 0 ;
11659 wxPoint
*arg3
= (wxPoint
*) 0 ;
11660 int arg4
= (int) 0 ;
11661 int arg5
= (int) 0 ;
11662 int arg6
= (int) wxODDEVEN_RULE
;
11663 PyObject
* obj0
= 0 ;
11664 PyObject
* obj1
= 0 ;
11665 PyObject
* obj2
= 0 ;
11666 PyObject
* obj3
= 0 ;
11667 PyObject
* obj4
= 0 ;
11668 char *kwnames
[] = {
11669 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
11672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11675 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11676 if (arg3
== NULL
) SWIG_fail
;
11680 arg4
= (int) SWIG_PyObj_AsInt(obj2
);
11681 if (PyErr_Occurred()) SWIG_fail
;
11686 arg5
= (int) SWIG_PyObj_AsInt(obj3
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11692 arg6
= (int) SWIG_PyObj_AsInt(obj4
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11698 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
11700 wxPyEndAllowThreads(__tstate
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11703 Py_INCREF(Py_None
); resultobj
= Py_None
;
11705 if (arg3
) delete [] arg3
;
11710 if (arg3
) delete [] arg3
;
11716 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11717 PyObject
*resultobj
;
11718 wxDC
*arg1
= (wxDC
*) 0 ;
11719 wxString
*arg2
= 0 ;
11721 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
11722 int arg5
= (int) -1 ;
11723 bool temp2
= False
;
11725 PyObject
* obj0
= 0 ;
11726 PyObject
* obj1
= 0 ;
11727 PyObject
* obj2
= 0 ;
11728 PyObject
* obj3
= 0 ;
11729 PyObject
* obj4
= 0 ;
11730 char *kwnames
[] = {
11731 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
11734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11737 arg2
= wxString_in_helper(obj1
);
11738 if (arg2
== NULL
) SWIG_fail
;
11743 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
11747 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11753 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11759 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
11761 wxPyEndAllowThreads(__tstate
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11764 Py_INCREF(Py_None
); resultobj
= Py_None
;
11779 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11780 PyObject
*resultobj
;
11781 wxDC
*arg1
= (wxDC
*) 0 ;
11782 wxString
*arg2
= 0 ;
11783 wxBitmap
*arg3
= 0 ;
11785 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
11786 int arg6
= (int) -1 ;
11788 bool temp2
= False
;
11790 PyObject
* obj0
= 0 ;
11791 PyObject
* obj1
= 0 ;
11792 PyObject
* obj2
= 0 ;
11793 PyObject
* obj3
= 0 ;
11794 PyObject
* obj4
= 0 ;
11795 PyObject
* obj5
= 0 ;
11796 char *kwnames
[] = {
11797 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
11800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11803 arg2
= wxString_in_helper(obj1
);
11804 if (arg2
== NULL
) SWIG_fail
;
11807 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11808 if (arg3
== NULL
) {
11809 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11813 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
11817 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11818 if (PyErr_Occurred()) SWIG_fail
;
11823 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11829 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
11831 wxPyEndAllowThreads(__tstate
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11835 wxRect
* resultptr
;
11836 resultptr
= new wxRect((wxRect
&) result
);
11837 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
11853 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11854 PyObject
*resultobj
;
11855 wxDC
*arg1
= (wxDC
*) 0 ;
11857 wxPoint
*arg3
= (wxPoint
*) 0 ;
11858 PyObject
* obj0
= 0 ;
11859 PyObject
* obj1
= 0 ;
11860 char *kwnames
[] = {
11861 (char *) "self",(char *) "points", NULL
11864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
11865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11867 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11868 if (arg3
== NULL
) SWIG_fail
;
11871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11872 (arg1
)->DrawSpline(arg2
,arg3
);
11874 wxPyEndAllowThreads(__tstate
);
11875 if (PyErr_Occurred()) SWIG_fail
;
11877 Py_INCREF(Py_None
); resultobj
= Py_None
;
11879 if (arg3
) delete [] arg3
;
11884 if (arg3
) delete [] arg3
;
11890 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11891 PyObject
*resultobj
;
11892 wxDC
*arg1
= (wxDC
*) 0 ;
11893 PyObject
* obj0
= 0 ;
11894 char *kwnames
[] = {
11895 (char *) "self", NULL
11898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
11899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11904 wxPyEndAllowThreads(__tstate
);
11905 if (PyErr_Occurred()) SWIG_fail
;
11907 Py_INCREF(Py_None
); resultobj
= Py_None
;
11914 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11915 PyObject
*resultobj
;
11916 wxDC
*arg1
= (wxDC
*) 0 ;
11917 wxString
*arg2
= 0 ;
11919 bool temp2
= False
;
11920 PyObject
* obj0
= 0 ;
11921 PyObject
* obj1
= 0 ;
11922 char *kwnames
[] = {
11923 (char *) "self",(char *) "message", NULL
11926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
11927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11929 arg2
= wxString_in_helper(obj1
);
11930 if (arg2
== NULL
) SWIG_fail
;
11934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11935 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
11937 wxPyEndAllowThreads(__tstate
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11955 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11956 PyObject
*resultobj
;
11957 wxDC
*arg1
= (wxDC
*) 0 ;
11958 PyObject
* obj0
= 0 ;
11959 char *kwnames
[] = {
11960 (char *) "self", NULL
11963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
11964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11969 wxPyEndAllowThreads(__tstate
);
11970 if (PyErr_Occurred()) SWIG_fail
;
11972 Py_INCREF(Py_None
); resultobj
= Py_None
;
11979 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11980 PyObject
*resultobj
;
11981 wxDC
*arg1
= (wxDC
*) 0 ;
11982 PyObject
* obj0
= 0 ;
11983 char *kwnames
[] = {
11984 (char *) "self", NULL
11987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
11988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11991 (arg1
)->StartPage();
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11996 Py_INCREF(Py_None
); resultobj
= Py_None
;
12003 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12004 PyObject
*resultobj
;
12005 wxDC
*arg1
= (wxDC
*) 0 ;
12006 PyObject
* obj0
= 0 ;
12007 char *kwnames
[] = {
12008 (char *) "self", NULL
12011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12017 wxPyEndAllowThreads(__tstate
);
12018 if (PyErr_Occurred()) SWIG_fail
;
12020 Py_INCREF(Py_None
); resultobj
= Py_None
;
12027 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12028 PyObject
*resultobj
;
12029 wxDC
*arg1
= (wxDC
*) 0 ;
12031 PyObject
* obj0
= 0 ;
12032 PyObject
* obj1
= 0 ;
12033 char *kwnames
[] = {
12034 (char *) "self",(char *) "font", NULL
12037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12039 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12040 if (arg2
== NULL
) {
12041 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12045 (arg1
)->SetFont((wxFont
const &)*arg2
);
12047 wxPyEndAllowThreads(__tstate
);
12048 if (PyErr_Occurred()) SWIG_fail
;
12050 Py_INCREF(Py_None
); resultobj
= Py_None
;
12057 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12058 PyObject
*resultobj
;
12059 wxDC
*arg1
= (wxDC
*) 0 ;
12061 PyObject
* obj0
= 0 ;
12062 PyObject
* obj1
= 0 ;
12063 char *kwnames
[] = {
12064 (char *) "self",(char *) "pen", NULL
12067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12069 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12070 if (arg2
== NULL
) {
12071 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12075 (arg1
)->SetPen((wxPen
const &)*arg2
);
12077 wxPyEndAllowThreads(__tstate
);
12078 if (PyErr_Occurred()) SWIG_fail
;
12080 Py_INCREF(Py_None
); resultobj
= Py_None
;
12087 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12088 PyObject
*resultobj
;
12089 wxDC
*arg1
= (wxDC
*) 0 ;
12090 wxBrush
*arg2
= 0 ;
12091 PyObject
* obj0
= 0 ;
12092 PyObject
* obj1
= 0 ;
12093 char *kwnames
[] = {
12094 (char *) "self",(char *) "brush", NULL
12097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12099 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12100 if (arg2
== NULL
) {
12101 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12105 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12107 wxPyEndAllowThreads(__tstate
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12110 Py_INCREF(Py_None
); resultobj
= Py_None
;
12117 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12118 PyObject
*resultobj
;
12119 wxDC
*arg1
= (wxDC
*) 0 ;
12120 wxBrush
*arg2
= 0 ;
12121 PyObject
* obj0
= 0 ;
12122 PyObject
* obj1
= 0 ;
12123 char *kwnames
[] = {
12124 (char *) "self",(char *) "brush", NULL
12127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12129 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12130 if (arg2
== NULL
) {
12131 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12135 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12137 wxPyEndAllowThreads(__tstate
);
12138 if (PyErr_Occurred()) SWIG_fail
;
12140 Py_INCREF(Py_None
); resultobj
= Py_None
;
12147 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12148 PyObject
*resultobj
;
12149 wxDC
*arg1
= (wxDC
*) 0 ;
12151 PyObject
* obj0
= 0 ;
12152 PyObject
* obj1
= 0 ;
12153 char *kwnames
[] = {
12154 (char *) "self",(char *) "mode", NULL
12157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12160 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12161 if (PyErr_Occurred()) SWIG_fail
;
12164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12165 (arg1
)->SetBackgroundMode(arg2
);
12167 wxPyEndAllowThreads(__tstate
);
12168 if (PyErr_Occurred()) SWIG_fail
;
12170 Py_INCREF(Py_None
); resultobj
= Py_None
;
12177 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12178 PyObject
*resultobj
;
12179 wxDC
*arg1
= (wxDC
*) 0 ;
12180 wxPalette
*arg2
= 0 ;
12181 PyObject
* obj0
= 0 ;
12182 PyObject
* obj1
= 0 ;
12183 char *kwnames
[] = {
12184 (char *) "self",(char *) "palette", NULL
12187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12189 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12190 if (arg2
== NULL
) {
12191 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12195 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12197 wxPyEndAllowThreads(__tstate
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12200 Py_INCREF(Py_None
); resultobj
= Py_None
;
12207 static PyObject
*_wrap_DC_SetClippingRegionXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12208 PyObject
*resultobj
;
12209 wxDC
*arg1
= (wxDC
*) 0 ;
12214 PyObject
* obj0
= 0 ;
12215 PyObject
* obj1
= 0 ;
12216 PyObject
* obj2
= 0 ;
12217 PyObject
* obj3
= 0 ;
12218 PyObject
* obj4
= 0 ;
12219 char *kwnames
[] = {
12220 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegionXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12226 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12227 if (PyErr_Occurred()) SWIG_fail
;
12230 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12234 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12235 if (PyErr_Occurred()) SWIG_fail
;
12238 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12239 if (PyErr_Occurred()) SWIG_fail
;
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12243 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12248 Py_INCREF(Py_None
); resultobj
= Py_None
;
12255 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12256 PyObject
*resultobj
;
12257 wxDC
*arg1
= (wxDC
*) 0 ;
12258 wxPoint
*arg2
= 0 ;
12262 PyObject
* obj0
= 0 ;
12263 PyObject
* obj1
= 0 ;
12264 PyObject
* obj2
= 0 ;
12265 char *kwnames
[] = {
12266 (char *) "self",(char *) "pt",(char *) "sz", NULL
12269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12273 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12277 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12281 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12283 wxPyEndAllowThreads(__tstate
);
12284 if (PyErr_Occurred()) SWIG_fail
;
12286 Py_INCREF(Py_None
); resultobj
= Py_None
;
12293 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12294 PyObject
*resultobj
;
12295 wxDC
*arg1
= (wxDC
*) 0 ;
12298 PyObject
* obj0
= 0 ;
12299 PyObject
* obj1
= 0 ;
12300 char *kwnames
[] = {
12301 (char *) "self",(char *) "rect", NULL
12304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12308 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12312 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12314 wxPyEndAllowThreads(__tstate
);
12315 if (PyErr_Occurred()) SWIG_fail
;
12317 Py_INCREF(Py_None
); resultobj
= Py_None
;
12324 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12325 PyObject
*resultobj
;
12326 wxDC
*arg1
= (wxDC
*) 0 ;
12327 wxRegion
*arg2
= 0 ;
12328 PyObject
* obj0
= 0 ;
12329 PyObject
* obj1
= 0 ;
12330 char *kwnames
[] = {
12331 (char *) "self",(char *) "region", NULL
12334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12336 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12337 if (arg2
== NULL
) {
12338 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12342 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12344 wxPyEndAllowThreads(__tstate
);
12345 if (PyErr_Occurred()) SWIG_fail
;
12347 Py_INCREF(Py_None
); resultobj
= Py_None
;
12354 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12355 PyObject
*resultobj
;
12356 wxDC
*arg1
= (wxDC
*) 0 ;
12357 PyObject
* obj0
= 0 ;
12358 char *kwnames
[] = {
12359 (char *) "self", NULL
12362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 (arg1
)->DestroyClippingRegion();
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12371 Py_INCREF(Py_None
); resultobj
= Py_None
;
12378 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12379 PyObject
*resultobj
;
12380 wxDC
*arg1
= (wxDC
*) 0 ;
12381 int *arg2
= (int *) 0 ;
12382 int *arg3
= (int *) 0 ;
12383 int *arg4
= (int *) 0 ;
12384 int *arg5
= (int *) 0 ;
12389 PyObject
* obj0
= 0 ;
12390 char *kwnames
[] = {
12391 (char *) "self", NULL
12398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12402 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12404 wxPyEndAllowThreads(__tstate
);
12405 if (PyErr_Occurred()) SWIG_fail
;
12407 Py_INCREF(Py_None
); resultobj
= Py_None
;
12409 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12410 resultobj
= t_output_helper(resultobj
,o
);
12413 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12414 resultobj
= t_output_helper(resultobj
,o
);
12417 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12418 resultobj
= t_output_helper(resultobj
,o
);
12421 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12422 resultobj
= t_output_helper(resultobj
,o
);
12430 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12431 PyObject
*resultobj
;
12432 wxDC
*arg1
= (wxDC
*) 0 ;
12434 PyObject
* obj0
= 0 ;
12435 char *kwnames
[] = {
12436 (char *) "self", NULL
12439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 result
= wxDC_GetClippingRect(arg1
);
12445 wxPyEndAllowThreads(__tstate
);
12446 if (PyErr_Occurred()) SWIG_fail
;
12449 wxRect
* resultptr
;
12450 resultptr
= new wxRect((wxRect
&) result
);
12451 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
12459 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12460 PyObject
*resultobj
;
12461 wxDC
*arg1
= (wxDC
*) 0 ;
12463 PyObject
* obj0
= 0 ;
12464 char *kwnames
[] = {
12465 (char *) "self", NULL
12468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12472 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
12474 wxPyEndAllowThreads(__tstate
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12477 resultobj
= SWIG_PyObj_FromInt((int)result
);
12484 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12485 PyObject
*resultobj
;
12486 wxDC
*arg1
= (wxDC
*) 0 ;
12488 PyObject
* obj0
= 0 ;
12489 char *kwnames
[] = {
12490 (char *) "self", NULL
12493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
12494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12497 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
12499 wxPyEndAllowThreads(__tstate
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12502 resultobj
= SWIG_PyObj_FromInt((int)result
);
12509 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12510 PyObject
*resultobj
;
12511 wxDC
*arg1
= (wxDC
*) 0 ;
12512 wxString
*arg2
= 0 ;
12513 int *arg3
= (int *) 0 ;
12514 int *arg4
= (int *) 0 ;
12515 bool temp2
= False
;
12518 PyObject
* obj0
= 0 ;
12519 PyObject
* obj1
= 0 ;
12520 char *kwnames
[] = {
12521 (char *) "self",(char *) "string", NULL
12526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
12527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12529 arg2
= wxString_in_helper(obj1
);
12530 if (arg2
== NULL
) SWIG_fail
;
12534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12535 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
12537 wxPyEndAllowThreads(__tstate
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12540 Py_INCREF(Py_None
); resultobj
= Py_None
;
12542 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12543 resultobj
= t_output_helper(resultobj
,o
);
12546 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12547 resultobj
= t_output_helper(resultobj
,o
);
12563 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12564 PyObject
*resultobj
;
12565 wxDC
*arg1
= (wxDC
*) 0 ;
12566 wxString
*arg2
= 0 ;
12567 int *arg3
= (int *) 0 ;
12568 int *arg4
= (int *) 0 ;
12569 int *arg5
= (int *) 0 ;
12570 int *arg6
= (int *) 0 ;
12571 wxFont
*arg7
= (wxFont
*) NULL
;
12572 bool temp2
= False
;
12577 PyObject
* obj0
= 0 ;
12578 PyObject
* obj1
= 0 ;
12579 PyObject
* obj2
= 0 ;
12580 char *kwnames
[] = {
12581 (char *) "self",(char *) "string",(char *) "font", NULL
12588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12591 arg2
= wxString_in_helper(obj1
);
12592 if (arg2
== NULL
) SWIG_fail
;
12596 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12605 Py_INCREF(Py_None
); resultobj
= Py_None
;
12607 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12608 resultobj
= t_output_helper(resultobj
,o
);
12611 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12612 resultobj
= t_output_helper(resultobj
,o
);
12615 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12616 resultobj
= t_output_helper(resultobj
,o
);
12619 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
12620 resultobj
= t_output_helper(resultobj
,o
);
12636 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12637 PyObject
*resultobj
;
12638 wxDC
*arg1
= (wxDC
*) 0 ;
12639 wxString
*arg2
= 0 ;
12640 int *arg3
= (int *) 0 ;
12641 int *arg4
= (int *) 0 ;
12642 int *arg5
= (int *) 0 ;
12643 wxFont
*arg6
= (wxFont
*) NULL
;
12644 bool temp2
= False
;
12648 PyObject
* obj0
= 0 ;
12649 PyObject
* obj1
= 0 ;
12650 PyObject
* obj2
= 0 ;
12651 char *kwnames
[] = {
12652 (char *) "self",(char *) "text",(char *) "font", NULL
12658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12661 arg2
= wxString_in_helper(obj1
);
12662 if (arg2
== NULL
) SWIG_fail
;
12666 if ((SWIG_ConvertPtr(obj2
,(void **) &arg6
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12670 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
12672 wxPyEndAllowThreads(__tstate
);
12673 if (PyErr_Occurred()) SWIG_fail
;
12675 Py_INCREF(Py_None
); resultobj
= Py_None
;
12677 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12678 resultobj
= t_output_helper(resultobj
,o
);
12681 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12682 resultobj
= t_output_helper(resultobj
,o
);
12685 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12686 resultobj
= t_output_helper(resultobj
,o
);
12702 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12703 PyObject
*resultobj
;
12704 wxDC
*arg1
= (wxDC
*) 0 ;
12706 PyObject
* obj0
= 0 ;
12707 char *kwnames
[] = {
12708 (char *) "self", NULL
12711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
12712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12715 result
= (arg1
)->GetSize();
12717 wxPyEndAllowThreads(__tstate
);
12718 if (PyErr_Occurred()) SWIG_fail
;
12721 wxSize
* resultptr
;
12722 resultptr
= new wxSize((wxSize
&) result
);
12723 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12731 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12732 PyObject
*resultobj
;
12733 wxDC
*arg1
= (wxDC
*) 0 ;
12734 int *arg2
= (int *) 0 ;
12735 int *arg3
= (int *) 0 ;
12738 PyObject
* obj0
= 0 ;
12739 char *kwnames
[] = {
12740 (char *) "self", NULL
12745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
12746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12749 (arg1
)->GetSize(arg2
,arg3
);
12751 wxPyEndAllowThreads(__tstate
);
12752 if (PyErr_Occurred()) SWIG_fail
;
12754 Py_INCREF(Py_None
); resultobj
= Py_None
;
12756 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12757 resultobj
= t_output_helper(resultobj
,o
);
12760 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12761 resultobj
= t_output_helper(resultobj
,o
);
12769 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12770 PyObject
*resultobj
;
12771 wxDC
*arg1
= (wxDC
*) 0 ;
12773 PyObject
* obj0
= 0 ;
12774 char *kwnames
[] = {
12775 (char *) "self", NULL
12778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
12779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12782 result
= ((wxDC
const *)arg1
)->GetSizeMM();
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12788 wxSize
* resultptr
;
12789 resultptr
= new wxSize((wxSize
&) result
);
12790 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12798 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12799 PyObject
*resultobj
;
12800 wxDC
*arg1
= (wxDC
*) 0 ;
12801 int *arg2
= (int *) 0 ;
12802 int *arg3
= (int *) 0 ;
12805 PyObject
* obj0
= 0 ;
12806 char *kwnames
[] = {
12807 (char *) "self", NULL
12812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
12813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12816 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
12818 wxPyEndAllowThreads(__tstate
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12821 Py_INCREF(Py_None
); resultobj
= Py_None
;
12823 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12824 resultobj
= t_output_helper(resultobj
,o
);
12827 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12828 resultobj
= t_output_helper(resultobj
,o
);
12836 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12837 PyObject
*resultobj
;
12838 wxDC
*arg1
= (wxDC
*) 0 ;
12841 PyObject
* obj0
= 0 ;
12842 PyObject
* obj1
= 0 ;
12843 char *kwnames
[] = {
12844 (char *) "self",(char *) "x", NULL
12847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
12848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12850 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12851 if (PyErr_Occurred()) SWIG_fail
;
12854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12855 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
12857 wxPyEndAllowThreads(__tstate
);
12858 if (PyErr_Occurred()) SWIG_fail
;
12860 resultobj
= SWIG_PyObj_FromInt((int)result
);
12867 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12868 PyObject
*resultobj
;
12869 wxDC
*arg1
= (wxDC
*) 0 ;
12872 PyObject
* obj0
= 0 ;
12873 PyObject
* obj1
= 0 ;
12874 char *kwnames
[] = {
12875 (char *) "self",(char *) "y", NULL
12878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
12879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12881 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12886 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
12888 wxPyEndAllowThreads(__tstate
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12891 resultobj
= SWIG_PyObj_FromInt((int)result
);
12898 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12899 PyObject
*resultobj
;
12900 wxDC
*arg1
= (wxDC
*) 0 ;
12903 PyObject
* obj0
= 0 ;
12904 PyObject
* obj1
= 0 ;
12905 char *kwnames
[] = {
12906 (char *) "self",(char *) "x", NULL
12909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
12910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12912 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12913 if (PyErr_Occurred()) SWIG_fail
;
12916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12917 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
12919 wxPyEndAllowThreads(__tstate
);
12920 if (PyErr_Occurred()) SWIG_fail
;
12922 resultobj
= SWIG_PyObj_FromInt((int)result
);
12929 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12930 PyObject
*resultobj
;
12931 wxDC
*arg1
= (wxDC
*) 0 ;
12934 PyObject
* obj0
= 0 ;
12935 PyObject
* obj1
= 0 ;
12936 char *kwnames
[] = {
12937 (char *) "self",(char *) "y", NULL
12940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
12941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12943 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12948 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12953 resultobj
= SWIG_PyObj_FromInt((int)result
);
12960 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12961 PyObject
*resultobj
;
12962 wxDC
*arg1
= (wxDC
*) 0 ;
12965 PyObject
* obj0
= 0 ;
12966 PyObject
* obj1
= 0 ;
12967 char *kwnames
[] = {
12968 (char *) "self",(char *) "x", NULL
12971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
12972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12974 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12979 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
12981 wxPyEndAllowThreads(__tstate
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12984 resultobj
= SWIG_PyObj_FromInt((int)result
);
12991 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12992 PyObject
*resultobj
;
12993 wxDC
*arg1
= (wxDC
*) 0 ;
12996 PyObject
* obj0
= 0 ;
12997 PyObject
* obj1
= 0 ;
12998 char *kwnames
[] = {
12999 (char *) "self",(char *) "y", NULL
13002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13005 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13006 if (PyErr_Occurred()) SWIG_fail
;
13009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13010 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13012 wxPyEndAllowThreads(__tstate
);
13013 if (PyErr_Occurred()) SWIG_fail
;
13015 resultobj
= SWIG_PyObj_FromInt((int)result
);
13022 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13023 PyObject
*resultobj
;
13024 wxDC
*arg1
= (wxDC
*) 0 ;
13027 PyObject
* obj0
= 0 ;
13028 PyObject
* obj1
= 0 ;
13029 char *kwnames
[] = {
13030 (char *) "self",(char *) "x", NULL
13033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13036 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13037 if (PyErr_Occurred()) SWIG_fail
;
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13046 resultobj
= SWIG_PyObj_FromInt((int)result
);
13053 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13054 PyObject
*resultobj
;
13055 wxDC
*arg1
= (wxDC
*) 0 ;
13058 PyObject
* obj0
= 0 ;
13059 PyObject
* obj1
= 0 ;
13060 char *kwnames
[] = {
13061 (char *) "self",(char *) "y", NULL
13064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13067 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13072 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13074 wxPyEndAllowThreads(__tstate
);
13075 if (PyErr_Occurred()) SWIG_fail
;
13077 resultobj
= SWIG_PyObj_FromInt((int)result
);
13084 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13085 PyObject
*resultobj
;
13086 wxDC
*arg1
= (wxDC
*) 0 ;
13088 PyObject
* obj0
= 0 ;
13089 char *kwnames
[] = {
13090 (char *) "self", NULL
13093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13097 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13099 wxPyEndAllowThreads(__tstate
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13109 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13110 PyObject
*resultobj
;
13111 wxDC
*arg1
= (wxDC
*) 0 ;
13113 PyObject
* obj0
= 0 ;
13114 char *kwnames
[] = {
13115 (char *) "self", NULL
13118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13122 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13124 wxPyEndAllowThreads(__tstate
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13134 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13135 PyObject
*resultobj
;
13136 wxDC
*arg1
= (wxDC
*) 0 ;
13138 PyObject
* obj0
= 0 ;
13139 char *kwnames
[] = {
13140 (char *) "self", NULL
13143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13147 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13149 wxPyEndAllowThreads(__tstate
);
13150 if (PyErr_Occurred()) SWIG_fail
;
13152 resultobj
= SWIG_PyObj_FromInt((int)result
);
13159 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13160 PyObject
*resultobj
;
13161 wxDC
*arg1
= (wxDC
*) 0 ;
13163 PyObject
* obj0
= 0 ;
13164 char *kwnames
[] = {
13165 (char *) "self", NULL
13168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 result
= ((wxDC
const *)arg1
)->GetPPI();
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13178 wxSize
* resultptr
;
13179 resultptr
= new wxSize((wxSize
&) result
);
13180 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13188 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13189 PyObject
*resultobj
;
13190 wxDC
*arg1
= (wxDC
*) 0 ;
13192 PyObject
* obj0
= 0 ;
13193 char *kwnames
[] = {
13194 (char *) "self", NULL
13197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 result
= (bool)((wxDC
const *)arg1
)->Ok();
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13213 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13214 PyObject
*resultobj
;
13215 wxDC
*arg1
= (wxDC
*) 0 ;
13217 PyObject
* obj0
= 0 ;
13218 char *kwnames
[] = {
13219 (char *) "self", NULL
13222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13226 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13228 wxPyEndAllowThreads(__tstate
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13231 resultobj
= SWIG_PyObj_FromInt((int)result
);
13238 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13239 PyObject
*resultobj
;
13240 wxDC
*arg1
= (wxDC
*) 0 ;
13242 PyObject
* obj0
= 0 ;
13243 char *kwnames
[] = {
13244 (char *) "self", NULL
13247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13252 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13253 result
= (wxBrush
*) &_result_ref
;
13256 wxPyEndAllowThreads(__tstate
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13259 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
13266 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13267 PyObject
*resultobj
;
13268 wxDC
*arg1
= (wxDC
*) 0 ;
13270 PyObject
* obj0
= 0 ;
13271 char *kwnames
[] = {
13272 (char *) "self", NULL
13275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13280 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13281 result
= (wxBrush
*) &_result_ref
;
13284 wxPyEndAllowThreads(__tstate
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13287 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
13294 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13295 PyObject
*resultobj
;
13296 wxDC
*arg1
= (wxDC
*) 0 ;
13298 PyObject
* obj0
= 0 ;
13299 char *kwnames
[] = {
13300 (char *) "self", NULL
13303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13309 result
= (wxFont
*) &_result_ref
;
13312 wxPyEndAllowThreads(__tstate
);
13313 if (PyErr_Occurred()) SWIG_fail
;
13315 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
13322 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13323 PyObject
*resultobj
;
13324 wxDC
*arg1
= (wxDC
*) 0 ;
13326 PyObject
* obj0
= 0 ;
13327 char *kwnames
[] = {
13328 (char *) "self", NULL
13331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13336 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13337 result
= (wxPen
*) &_result_ref
;
13340 wxPyEndAllowThreads(__tstate
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13343 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
13350 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13351 PyObject
*resultobj
;
13352 wxDC
*arg1
= (wxDC
*) 0 ;
13354 PyObject
* obj0
= 0 ;
13355 char *kwnames
[] = {
13356 (char *) "self", NULL
13359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13365 result
= (wxColour
*) &_result_ref
;
13368 wxPyEndAllowThreads(__tstate
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13371 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
13378 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13379 PyObject
*resultobj
;
13380 wxDC
*arg1
= (wxDC
*) 0 ;
13382 PyObject
* obj0
= 0 ;
13383 char *kwnames
[] = {
13384 (char *) "self", NULL
13387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13392 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13393 result
= (wxColour
*) &_result_ref
;
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13399 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
13406 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13407 PyObject
*resultobj
;
13408 wxDC
*arg1
= (wxDC
*) 0 ;
13409 wxColour
*arg2
= 0 ;
13411 PyObject
* obj0
= 0 ;
13412 PyObject
* obj1
= 0 ;
13413 char *kwnames
[] = {
13414 (char *) "self",(char *) "colour", NULL
13417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13421 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13425 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
13427 wxPyEndAllowThreads(__tstate
);
13428 if (PyErr_Occurred()) SWIG_fail
;
13430 Py_INCREF(Py_None
); resultobj
= Py_None
;
13437 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13438 PyObject
*resultobj
;
13439 wxDC
*arg1
= (wxDC
*) 0 ;
13440 wxColour
*arg2
= 0 ;
13442 PyObject
* obj0
= 0 ;
13443 PyObject
* obj1
= 0 ;
13444 char *kwnames
[] = {
13445 (char *) "self",(char *) "colour", NULL
13448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13452 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13456 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
13458 wxPyEndAllowThreads(__tstate
);
13459 if (PyErr_Occurred()) SWIG_fail
;
13461 Py_INCREF(Py_None
); resultobj
= Py_None
;
13468 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13469 PyObject
*resultobj
;
13470 wxDC
*arg1
= (wxDC
*) 0 ;
13472 PyObject
* obj0
= 0 ;
13473 char *kwnames
[] = {
13474 (char *) "self", NULL
13477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
13478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13486 resultobj
= SWIG_PyObj_FromInt((int)result
);
13493 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13494 PyObject
*resultobj
;
13495 wxDC
*arg1
= (wxDC
*) 0 ;
13497 PyObject
* obj0
= 0 ;
13498 PyObject
* obj1
= 0 ;
13499 char *kwnames
[] = {
13500 (char *) "self",(char *) "mode", NULL
13503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13506 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13511 (arg1
)->SetMapMode(arg2
);
13513 wxPyEndAllowThreads(__tstate
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13516 Py_INCREF(Py_None
); resultobj
= Py_None
;
13523 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13524 PyObject
*resultobj
;
13525 wxDC
*arg1
= (wxDC
*) 0 ;
13526 double *arg2
= (double *) 0 ;
13527 double *arg3
= (double *) 0 ;
13530 PyObject
* obj0
= 0 ;
13531 char *kwnames
[] = {
13532 (char *) "self", NULL
13537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
13538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13541 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
13543 wxPyEndAllowThreads(__tstate
);
13544 if (PyErr_Occurred()) SWIG_fail
;
13546 Py_INCREF(Py_None
); resultobj
= Py_None
;
13548 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13549 resultobj
= t_output_helper(resultobj
,o
);
13552 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
13553 resultobj
= t_output_helper(resultobj
,o
);
13561 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13562 PyObject
*resultobj
;
13563 wxDC
*arg1
= (wxDC
*) 0 ;
13566 PyObject
* obj0
= 0 ;
13567 PyObject
* obj1
= 0 ;
13568 PyObject
* obj2
= 0 ;
13569 char *kwnames
[] = {
13570 (char *) "self",(char *) "x",(char *) "y", NULL
13573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13576 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
13577 if (PyErr_Occurred()) SWIG_fail
;
13580 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13585 (arg1
)->SetUserScale(arg2
,arg3
);
13587 wxPyEndAllowThreads(__tstate
);
13588 if (PyErr_Occurred()) SWIG_fail
;
13590 Py_INCREF(Py_None
); resultobj
= Py_None
;
13597 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13598 PyObject
*resultobj
;
13599 wxDC
*arg1
= (wxDC
*) 0 ;
13600 double *arg2
= (double *) 0 ;
13601 double *arg3
= (double *) 0 ;
13604 PyObject
* obj0
= 0 ;
13605 char *kwnames
[] = {
13606 (char *) "self", NULL
13611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
13612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13615 (arg1
)->GetLogicalScale(arg2
,arg3
);
13617 wxPyEndAllowThreads(__tstate
);
13618 if (PyErr_Occurred()) SWIG_fail
;
13620 Py_INCREF(Py_None
); resultobj
= Py_None
;
13622 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13623 resultobj
= t_output_helper(resultobj
,o
);
13626 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
13627 resultobj
= t_output_helper(resultobj
,o
);
13635 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13636 PyObject
*resultobj
;
13637 wxDC
*arg1
= (wxDC
*) 0 ;
13640 PyObject
* obj0
= 0 ;
13641 PyObject
* obj1
= 0 ;
13642 PyObject
* obj2
= 0 ;
13643 char *kwnames
[] = {
13644 (char *) "self",(char *) "x",(char *) "y", NULL
13647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13650 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13654 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13655 if (PyErr_Occurred()) SWIG_fail
;
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 (arg1
)->SetLogicalScale(arg2
,arg3
);
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13664 Py_INCREF(Py_None
); resultobj
= Py_None
;
13671 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13672 PyObject
*resultobj
;
13673 wxDC
*arg1
= (wxDC
*) 0 ;
13675 PyObject
* obj0
= 0 ;
13676 char *kwnames
[] = {
13677 (char *) "self", NULL
13680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
13681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13684 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
13686 wxPyEndAllowThreads(__tstate
);
13687 if (PyErr_Occurred()) SWIG_fail
;
13690 wxPoint
* resultptr
;
13691 resultptr
= new wxPoint((wxPoint
&) result
);
13692 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13700 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13701 PyObject
*resultobj
;
13702 wxDC
*arg1
= (wxDC
*) 0 ;
13703 int *arg2
= (int *) 0 ;
13704 int *arg3
= (int *) 0 ;
13707 PyObject
* obj0
= 0 ;
13708 char *kwnames
[] = {
13709 (char *) "self", NULL
13714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
13715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13718 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
13720 wxPyEndAllowThreads(__tstate
);
13721 if (PyErr_Occurred()) SWIG_fail
;
13723 Py_INCREF(Py_None
); resultobj
= Py_None
;
13725 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13726 resultobj
= t_output_helper(resultobj
,o
);
13729 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13730 resultobj
= t_output_helper(resultobj
,o
);
13738 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13739 PyObject
*resultobj
;
13740 wxDC
*arg1
= (wxDC
*) 0 ;
13743 PyObject
* obj0
= 0 ;
13744 PyObject
* obj1
= 0 ;
13745 PyObject
* obj2
= 0 ;
13746 char *kwnames
[] = {
13747 (char *) "self",(char *) "x",(char *) "y", NULL
13750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13753 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13757 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13758 if (PyErr_Occurred()) SWIG_fail
;
13761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13762 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
13764 wxPyEndAllowThreads(__tstate
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13767 Py_INCREF(Py_None
); resultobj
= Py_None
;
13774 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13775 PyObject
*resultobj
;
13776 wxDC
*arg1
= (wxDC
*) 0 ;
13778 PyObject
* obj0
= 0 ;
13779 char *kwnames
[] = {
13780 (char *) "self", NULL
13783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
13784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13787 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
13789 wxPyEndAllowThreads(__tstate
);
13790 if (PyErr_Occurred()) SWIG_fail
;
13793 wxPoint
* resultptr
;
13794 resultptr
= new wxPoint((wxPoint
&) result
);
13795 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13803 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13804 PyObject
*resultobj
;
13805 wxDC
*arg1
= (wxDC
*) 0 ;
13806 int *arg2
= (int *) 0 ;
13807 int *arg3
= (int *) 0 ;
13810 PyObject
* obj0
= 0 ;
13811 char *kwnames
[] = {
13812 (char *) "self", NULL
13817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
13818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13821 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
13823 wxPyEndAllowThreads(__tstate
);
13824 if (PyErr_Occurred()) SWIG_fail
;
13826 Py_INCREF(Py_None
); resultobj
= Py_None
;
13828 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13829 resultobj
= t_output_helper(resultobj
,o
);
13832 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13833 resultobj
= t_output_helper(resultobj
,o
);
13841 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13842 PyObject
*resultobj
;
13843 wxDC
*arg1
= (wxDC
*) 0 ;
13846 PyObject
* obj0
= 0 ;
13847 PyObject
* obj1
= 0 ;
13848 PyObject
* obj2
= 0 ;
13849 char *kwnames
[] = {
13850 (char *) "self",(char *) "x",(char *) "y", NULL
13853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13856 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13860 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13861 if (PyErr_Occurred()) SWIG_fail
;
13864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13865 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
13867 wxPyEndAllowThreads(__tstate
);
13868 if (PyErr_Occurred()) SWIG_fail
;
13870 Py_INCREF(Py_None
); resultobj
= Py_None
;
13877 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13878 PyObject
*resultobj
;
13879 wxDC
*arg1
= (wxDC
*) 0 ;
13882 PyObject
* obj0
= 0 ;
13883 PyObject
* obj1
= 0 ;
13884 PyObject
* obj2
= 0 ;
13885 char *kwnames
[] = {
13886 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
13889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13892 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
13893 if (PyErr_Occurred()) SWIG_fail
;
13896 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
13897 if (PyErr_Occurred()) SWIG_fail
;
13900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13901 (arg1
)->SetAxisOrientation(arg2
,arg3
);
13903 wxPyEndAllowThreads(__tstate
);
13904 if (PyErr_Occurred()) SWIG_fail
;
13906 Py_INCREF(Py_None
); resultobj
= Py_None
;
13913 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13914 PyObject
*resultobj
;
13915 wxDC
*arg1
= (wxDC
*) 0 ;
13917 PyObject
* obj0
= 0 ;
13918 char *kwnames
[] = {
13919 (char *) "self", NULL
13922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
13923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13926 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
13928 wxPyEndAllowThreads(__tstate
);
13929 if (PyErr_Occurred()) SWIG_fail
;
13931 resultobj
= SWIG_PyObj_FromInt((int)result
);
13938 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13939 PyObject
*resultobj
;
13940 wxDC
*arg1
= (wxDC
*) 0 ;
13942 PyObject
* obj0
= 0 ;
13943 PyObject
* obj1
= 0 ;
13944 char *kwnames
[] = {
13945 (char *) "self",(char *) "function", NULL
13948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
13949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13951 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 (arg1
)->SetLogicalFunction(arg2
);
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13961 Py_INCREF(Py_None
); resultobj
= Py_None
;
13968 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13969 PyObject
*resultobj
;
13970 wxDC
*arg1
= (wxDC
*) 0 ;
13972 PyObject
* obj0
= 0 ;
13973 PyObject
* obj1
= 0 ;
13974 char *kwnames
[] = {
13975 (char *) "self",(char *) "opt", NULL
13978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
13979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13981 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
13982 if (PyErr_Occurred()) SWIG_fail
;
13985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13986 (arg1
)->SetOptimization(arg2
);
13988 wxPyEndAllowThreads(__tstate
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13991 Py_INCREF(Py_None
); resultobj
= Py_None
;
13998 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13999 PyObject
*resultobj
;
14000 wxDC
*arg1
= (wxDC
*) 0 ;
14002 PyObject
* obj0
= 0 ;
14003 char *kwnames
[] = {
14004 (char *) "self", NULL
14007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14011 result
= (bool)(arg1
)->GetOptimization();
14013 wxPyEndAllowThreads(__tstate
);
14014 if (PyErr_Occurred()) SWIG_fail
;
14016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14023 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14024 PyObject
*resultobj
;
14025 wxDC
*arg1
= (wxDC
*) 0 ;
14028 PyObject
* obj0
= 0 ;
14029 PyObject
* obj1
= 0 ;
14030 PyObject
* obj2
= 0 ;
14031 char *kwnames
[] = {
14032 (char *) "self",(char *) "x",(char *) "y", NULL
14035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14038 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14039 if (PyErr_Occurred()) SWIG_fail
;
14042 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14043 if (PyErr_Occurred()) SWIG_fail
;
14046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14047 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14049 wxPyEndAllowThreads(__tstate
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14052 Py_INCREF(Py_None
); resultobj
= Py_None
;
14059 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14060 PyObject
*resultobj
;
14061 wxDC
*arg1
= (wxDC
*) 0 ;
14062 PyObject
* obj0
= 0 ;
14063 char *kwnames
[] = {
14064 (char *) "self", NULL
14067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14071 (arg1
)->ResetBoundingBox();
14073 wxPyEndAllowThreads(__tstate
);
14074 if (PyErr_Occurred()) SWIG_fail
;
14076 Py_INCREF(Py_None
); resultobj
= Py_None
;
14083 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14084 PyObject
*resultobj
;
14085 wxDC
*arg1
= (wxDC
*) 0 ;
14087 PyObject
* obj0
= 0 ;
14088 char *kwnames
[] = {
14089 (char *) "self", NULL
14092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14096 result
= (int)((wxDC
const *)arg1
)->MinX();
14098 wxPyEndAllowThreads(__tstate
);
14099 if (PyErr_Occurred()) SWIG_fail
;
14101 resultobj
= SWIG_PyObj_FromInt((int)result
);
14108 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14109 PyObject
*resultobj
;
14110 wxDC
*arg1
= (wxDC
*) 0 ;
14112 PyObject
* obj0
= 0 ;
14113 char *kwnames
[] = {
14114 (char *) "self", NULL
14117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14121 result
= (int)((wxDC
const *)arg1
)->MaxX();
14123 wxPyEndAllowThreads(__tstate
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14126 resultobj
= SWIG_PyObj_FromInt((int)result
);
14133 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14134 PyObject
*resultobj
;
14135 wxDC
*arg1
= (wxDC
*) 0 ;
14137 PyObject
* obj0
= 0 ;
14138 char *kwnames
[] = {
14139 (char *) "self", NULL
14142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14146 result
= (int)((wxDC
const *)arg1
)->MinY();
14148 wxPyEndAllowThreads(__tstate
);
14149 if (PyErr_Occurred()) SWIG_fail
;
14151 resultobj
= SWIG_PyObj_FromInt((int)result
);
14158 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14159 PyObject
*resultobj
;
14160 wxDC
*arg1
= (wxDC
*) 0 ;
14162 PyObject
* obj0
= 0 ;
14163 char *kwnames
[] = {
14164 (char *) "self", NULL
14167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14171 result
= (int)((wxDC
const *)arg1
)->MaxY();
14173 wxPyEndAllowThreads(__tstate
);
14174 if (PyErr_Occurred()) SWIG_fail
;
14176 resultobj
= SWIG_PyObj_FromInt((int)result
);
14183 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14184 PyObject
*resultobj
;
14185 wxDC
*arg1
= (wxDC
*) 0 ;
14186 int *arg2
= (int *) 0 ;
14187 int *arg3
= (int *) 0 ;
14188 int *arg4
= (int *) 0 ;
14189 int *arg5
= (int *) 0 ;
14194 PyObject
* obj0
= 0 ;
14195 char *kwnames
[] = {
14196 (char *) "self", NULL
14203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14209 wxPyEndAllowThreads(__tstate
);
14210 if (PyErr_Occurred()) SWIG_fail
;
14212 Py_INCREF(Py_None
); resultobj
= Py_None
;
14214 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14215 resultobj
= t_output_helper(resultobj
,o
);
14218 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14219 resultobj
= t_output_helper(resultobj
,o
);
14222 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14223 resultobj
= t_output_helper(resultobj
,o
);
14226 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14227 resultobj
= t_output_helper(resultobj
,o
);
14235 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14236 PyObject
*resultobj
;
14237 wxDC
*arg1
= (wxDC
*) 0 ;
14238 PyObject
*arg2
= (PyObject
*) 0 ;
14239 PyObject
*arg3
= (PyObject
*) 0 ;
14240 PyObject
*arg4
= (PyObject
*) 0 ;
14242 PyObject
* obj0
= 0 ;
14243 PyObject
* obj1
= 0 ;
14244 PyObject
* obj2
= 0 ;
14245 PyObject
* obj3
= 0 ;
14246 char *kwnames
[] = {
14247 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14257 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14259 wxPyEndAllowThreads(__tstate
);
14260 if (PyErr_Occurred()) SWIG_fail
;
14262 resultobj
= result
;
14269 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14270 PyObject
*resultobj
;
14271 wxDC
*arg1
= (wxDC
*) 0 ;
14272 PyObject
*arg2
= (PyObject
*) 0 ;
14273 PyObject
*arg3
= (PyObject
*) 0 ;
14274 PyObject
*arg4
= (PyObject
*) 0 ;
14276 PyObject
* obj0
= 0 ;
14277 PyObject
* obj1
= 0 ;
14278 PyObject
* obj2
= 0 ;
14279 PyObject
* obj3
= 0 ;
14280 char *kwnames
[] = {
14281 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14293 wxPyEndAllowThreads(__tstate
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14296 resultobj
= result
;
14303 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14304 PyObject
*resultobj
;
14305 wxDC
*arg1
= (wxDC
*) 0 ;
14306 PyObject
*arg2
= (PyObject
*) 0 ;
14307 PyObject
*arg3
= (PyObject
*) 0 ;
14308 PyObject
*arg4
= (PyObject
*) 0 ;
14310 PyObject
* obj0
= 0 ;
14311 PyObject
* obj1
= 0 ;
14312 PyObject
* obj2
= 0 ;
14313 PyObject
* obj3
= 0 ;
14314 char *kwnames
[] = {
14315 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14325 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14327 wxPyEndAllowThreads(__tstate
);
14328 if (PyErr_Occurred()) SWIG_fail
;
14330 resultobj
= result
;
14337 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14338 PyObject
*resultobj
;
14339 wxDC
*arg1
= (wxDC
*) 0 ;
14340 PyObject
*arg2
= (PyObject
*) 0 ;
14341 PyObject
*arg3
= (PyObject
*) 0 ;
14342 PyObject
*arg4
= (PyObject
*) 0 ;
14344 PyObject
* obj0
= 0 ;
14345 PyObject
* obj1
= 0 ;
14346 PyObject
* obj2
= 0 ;
14347 PyObject
* obj3
= 0 ;
14348 char *kwnames
[] = {
14349 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14359 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14361 wxPyEndAllowThreads(__tstate
);
14362 if (PyErr_Occurred()) SWIG_fail
;
14364 resultobj
= result
;
14371 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14372 PyObject
*resultobj
;
14373 wxDC
*arg1
= (wxDC
*) 0 ;
14374 PyObject
*arg2
= (PyObject
*) 0 ;
14375 PyObject
*arg3
= (PyObject
*) 0 ;
14376 PyObject
*arg4
= (PyObject
*) 0 ;
14378 PyObject
* obj0
= 0 ;
14379 PyObject
* obj1
= 0 ;
14380 PyObject
* obj2
= 0 ;
14381 PyObject
* obj3
= 0 ;
14382 char *kwnames
[] = {
14383 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14398 resultobj
= result
;
14405 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14406 PyObject
*resultobj
;
14407 wxDC
*arg1
= (wxDC
*) 0 ;
14408 PyObject
*arg2
= (PyObject
*) 0 ;
14409 PyObject
*arg3
= (PyObject
*) 0 ;
14410 PyObject
*arg4
= (PyObject
*) 0 ;
14411 PyObject
*arg5
= (PyObject
*) 0 ;
14413 PyObject
* obj0
= 0 ;
14414 PyObject
* obj1
= 0 ;
14415 PyObject
* obj2
= 0 ;
14416 PyObject
* obj3
= 0 ;
14417 PyObject
* obj4
= 0 ;
14418 char *kwnames
[] = {
14419 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
14422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14430 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
14432 wxPyEndAllowThreads(__tstate
);
14433 if (PyErr_Occurred()) SWIG_fail
;
14435 resultobj
= result
;
14442 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
14444 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14445 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
14447 return Py_BuildValue((char *)"");
14449 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14450 PyObject
*resultobj
;
14451 wxMemoryDC
*result
;
14452 char *kwnames
[] = {
14456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
14458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14459 result
= (wxMemoryDC
*)new wxMemoryDC();
14461 wxPyEndAllowThreads(__tstate
);
14462 if (PyErr_Occurred()) SWIG_fail
;
14464 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryDC
, 1);
14471 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14472 PyObject
*resultobj
;
14473 wxDC
*arg1
= (wxDC
*) 0 ;
14474 wxMemoryDC
*result
;
14475 PyObject
* obj0
= 0 ;
14476 char *kwnames
[] = {
14477 (char *) "oldDC", NULL
14480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
14481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14484 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
14486 wxPyEndAllowThreads(__tstate
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14489 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryDC
, 1);
14496 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14497 PyObject
*resultobj
;
14498 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
14499 wxBitmap
*arg2
= 0 ;
14500 PyObject
* obj0
= 0 ;
14501 PyObject
* obj1
= 0 ;
14502 char *kwnames
[] = {
14503 (char *) "self",(char *) "bitmap", NULL
14506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14508 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14509 if (arg2
== NULL
) {
14510 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14514 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
14516 wxPyEndAllowThreads(__tstate
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14519 Py_INCREF(Py_None
); resultobj
= Py_None
;
14526 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
14528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14529 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
14531 return Py_BuildValue((char *)"");
14533 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14534 PyObject
*resultobj
;
14535 wxDC
*arg1
= (wxDC
*) 0 ;
14536 wxBitmap
*arg2
= 0 ;
14537 wxBufferedDC
*result
;
14538 PyObject
* obj0
= 0 ;
14539 PyObject
* obj1
= 0 ;
14540 char *kwnames
[] = {
14541 (char *) "dc",(char *) "buffer", NULL
14544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_BufferedDC",kwnames
,&obj0
,&obj1
)) goto fail
;
14545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14546 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14547 if (arg2
== NULL
) {
14548 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14552 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
14564 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14565 PyObject
*resultobj
;
14566 wxDC
*arg1
= (wxDC
*) 0 ;
14568 wxBufferedDC
*result
;
14570 PyObject
* obj0
= 0 ;
14571 PyObject
* obj1
= 0 ;
14572 char *kwnames
[] = {
14573 (char *) "dc",(char *) "area", NULL
14576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_BufferedDCInternalBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
14577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14580 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14584 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
14586 wxPyEndAllowThreads(__tstate
);
14587 if (PyErr_Occurred()) SWIG_fail
;
14589 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
14596 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14597 PyObject
*resultobj
;
14598 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
14599 PyObject
* obj0
= 0 ;
14600 char *kwnames
[] = {
14601 (char *) "self", NULL
14604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
14605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBufferedDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14610 wxPyEndAllowThreads(__tstate
);
14611 if (PyErr_Occurred()) SWIG_fail
;
14613 Py_INCREF(Py_None
); resultobj
= Py_None
;
14620 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
14622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14623 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
14625 return Py_BuildValue((char *)"");
14627 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14628 PyObject
*resultobj
;
14629 wxWindow
*arg1
= (wxWindow
*) 0 ;
14630 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
14631 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
14632 wxBufferedPaintDC
*result
;
14633 PyObject
* obj0
= 0 ;
14634 PyObject
* obj1
= 0 ;
14635 char *kwnames
[] = {
14636 (char *) "window",(char *) "buffer", NULL
14639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
14640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14642 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14643 if (arg2
== NULL
) {
14644 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14649 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
14651 wxPyEndAllowThreads(__tstate
);
14652 if (PyErr_Occurred()) SWIG_fail
;
14654 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedPaintDC
, 1);
14661 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
14663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14664 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
14666 return Py_BuildValue((char *)"");
14668 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14669 PyObject
*resultobj
;
14670 wxScreenDC
*result
;
14671 char *kwnames
[] = {
14675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
14677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14678 result
= (wxScreenDC
*)new wxScreenDC();
14680 wxPyEndAllowThreads(__tstate
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14683 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScreenDC
, 1);
14690 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14691 PyObject
*resultobj
;
14692 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
14693 wxWindow
*arg2
= (wxWindow
*) 0 ;
14695 PyObject
* obj0
= 0 ;
14696 PyObject
* obj1
= 0 ;
14697 char *kwnames
[] = {
14698 (char *) "self",(char *) "window", NULL
14701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
14702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14703 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14706 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
14708 wxPyEndAllowThreads(__tstate
);
14709 if (PyErr_Occurred()) SWIG_fail
;
14711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14718 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14719 PyObject
*resultobj
;
14720 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
14721 wxRect
*arg2
= (wxRect
*) NULL
;
14723 PyObject
* obj0
= 0 ;
14724 PyObject
* obj1
= 0 ;
14725 char *kwnames
[] = {
14726 (char *) "self",(char *) "rect", NULL
14729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
14730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14732 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
14738 wxPyEndAllowThreads(__tstate
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14748 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14749 PyObject
*resultobj
;
14750 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
14752 PyObject
* obj0
= 0 ;
14753 char *kwnames
[] = {
14754 (char *) "self", NULL
14757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
14758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14761 result
= (bool)(arg1
)->EndDrawingOnTop();
14763 wxPyEndAllowThreads(__tstate
);
14764 if (PyErr_Occurred()) SWIG_fail
;
14766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14773 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
14775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14776 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
14778 return Py_BuildValue((char *)"");
14780 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14781 PyObject
*resultobj
;
14782 wxWindow
*arg1
= (wxWindow
*) 0 ;
14783 wxClientDC
*result
;
14784 PyObject
* obj0
= 0 ;
14785 char *kwnames
[] = {
14786 (char *) "win", NULL
14789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
14790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14793 result
= (wxClientDC
*)new wxClientDC(arg1
);
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14798 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClientDC
, 1);
14805 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
14807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14808 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
14810 return Py_BuildValue((char *)"");
14812 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14813 PyObject
*resultobj
;
14814 wxWindow
*arg1
= (wxWindow
*) 0 ;
14816 PyObject
* obj0
= 0 ;
14817 char *kwnames
[] = {
14818 (char *) "win", NULL
14821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
14822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14825 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
14827 wxPyEndAllowThreads(__tstate
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14830 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintDC
, 1);
14837 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
14839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14840 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
14842 return Py_BuildValue((char *)"");
14844 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14845 PyObject
*resultobj
;
14846 wxWindow
*arg1
= (wxWindow
*) 0 ;
14847 wxWindowDC
*result
;
14848 PyObject
* obj0
= 0 ;
14849 char *kwnames
[] = {
14850 (char *) "win", NULL
14853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
14854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14857 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
14859 wxPyEndAllowThreads(__tstate
);
14860 if (PyErr_Occurred()) SWIG_fail
;
14862 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDC
, 1);
14869 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
14871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14872 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
14874 return Py_BuildValue((char *)"");
14876 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14877 PyObject
*resultobj
;
14880 wxMirrorDC
*result
;
14881 PyObject
* obj0
= 0 ;
14882 PyObject
* obj1
= 0 ;
14883 char *kwnames
[] = {
14884 (char *) "dc",(char *) "mirror", NULL
14887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
14888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14889 if (arg1
== NULL
) {
14890 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14893 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14894 if (PyErr_Occurred()) SWIG_fail
;
14897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14898 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
14900 wxPyEndAllowThreads(__tstate
);
14901 if (PyErr_Occurred()) SWIG_fail
;
14903 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMirrorDC
, 1);
14910 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
14912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14913 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
14915 return Py_BuildValue((char *)"");
14917 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14918 PyObject
*resultobj
;
14919 wxPrintData
*arg1
= 0 ;
14920 wxPostScriptDC
*result
;
14921 PyObject
* obj0
= 0 ;
14922 char *kwnames
[] = {
14923 (char *) "printData", NULL
14926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
14927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14928 if (arg1
== NULL
) {
14929 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14933 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
14935 wxPyEndAllowThreads(__tstate
);
14936 if (PyErr_Occurred()) SWIG_fail
;
14938 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPostScriptDC
, 1);
14945 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14946 PyObject
*resultobj
;
14947 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
14948 wxPrintData
*result
;
14949 PyObject
* obj0
= 0 ;
14950 char *kwnames
[] = {
14951 (char *) "self", NULL
14954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
14955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPostScriptDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14959 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
14960 result
= (wxPrintData
*) &_result_ref
;
14963 wxPyEndAllowThreads(__tstate
);
14964 if (PyErr_Occurred()) SWIG_fail
;
14966 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
14973 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14974 PyObject
*resultobj
;
14975 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
14976 wxPrintData
*arg2
= 0 ;
14977 PyObject
* obj0
= 0 ;
14978 PyObject
* obj1
= 0 ;
14979 char *kwnames
[] = {
14980 (char *) "self",(char *) "data", NULL
14983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
14984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPostScriptDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14985 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14986 if (arg2
== NULL
) {
14987 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14991 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
14993 wxPyEndAllowThreads(__tstate
);
14994 if (PyErr_Occurred()) SWIG_fail
;
14996 Py_INCREF(Py_None
); resultobj
= Py_None
;
15003 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15004 PyObject
*resultobj
;
15006 PyObject
* obj0
= 0 ;
15007 char *kwnames
[] = {
15008 (char *) "ppi", NULL
15011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15013 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
15014 if (PyErr_Occurred()) SWIG_fail
;
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 wxPostScriptDC::SetResolution(arg1
);
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15023 Py_INCREF(Py_None
); resultobj
= Py_None
;
15030 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15031 PyObject
*resultobj
;
15033 char *kwnames
[] = {
15037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15040 result
= (int)wxPostScriptDC::GetResolution();
15042 wxPyEndAllowThreads(__tstate
);
15043 if (PyErr_Occurred()) SWIG_fail
;
15045 resultobj
= SWIG_PyObj_FromInt((int)result
);
15052 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
15054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15055 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15057 return Py_BuildValue((char *)"");
15059 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15060 PyObject
*resultobj
;
15061 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15062 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15063 wxMetaFile
*result
;
15064 bool temp1
= False
;
15065 PyObject
* obj0
= 0 ;
15066 char *kwnames
[] = {
15067 (char *) "filename", NULL
15070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15073 arg1
= wxString_in_helper(obj0
);
15074 if (arg1
== NULL
) SWIG_fail
;
15079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15080 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15082 wxPyEndAllowThreads(__tstate
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15085 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFile
, 1);
15100 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
15102 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15103 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
15105 return Py_BuildValue((char *)"");
15107 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15108 PyObject
*resultobj
;
15109 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15110 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15111 int arg2
= (int) 0 ;
15112 int arg3
= (int) 0 ;
15113 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15114 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15115 wxMetaFileDC
*result
;
15116 bool temp1
= False
;
15117 bool temp4
= False
;
15118 PyObject
* obj0
= 0 ;
15119 PyObject
* obj1
= 0 ;
15120 PyObject
* obj2
= 0 ;
15121 PyObject
* obj3
= 0 ;
15122 char *kwnames
[] = {
15123 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15129 arg1
= wxString_in_helper(obj0
);
15130 if (arg1
== NULL
) SWIG_fail
;
15136 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15137 if (PyErr_Occurred()) SWIG_fail
;
15142 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15143 if (PyErr_Occurred()) SWIG_fail
;
15148 arg4
= wxString_in_helper(obj3
);
15149 if (arg4
== NULL
) SWIG_fail
;
15154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15155 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
15157 wxPyEndAllowThreads(__tstate
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15160 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFileDC
, 1);
15183 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
15185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15186 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
15188 return Py_BuildValue((char *)"");
15190 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15191 PyObject
*resultobj
;
15192 wxPrintData
*arg1
= 0 ;
15193 wxPrinterDC
*result
;
15194 PyObject
* obj0
= 0 ;
15195 char *kwnames
[] = {
15196 (char *) "printData", NULL
15199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
15200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15201 if (arg1
== NULL
) {
15202 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15206 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
15208 wxPyEndAllowThreads(__tstate
);
15209 if (PyErr_Occurred()) SWIG_fail
;
15211 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinterDC
, 1);
15218 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
15220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15221 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
15223 return Py_BuildValue((char *)"");
15225 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15226 PyObject
*resultobj
;
15229 int arg3
= (int) True
;
15230 int arg4
= (int) 1 ;
15231 wxImageList
*result
;
15232 PyObject
* obj0
= 0 ;
15233 PyObject
* obj1
= 0 ;
15234 PyObject
* obj2
= 0 ;
15235 PyObject
* obj3
= 0 ;
15236 char *kwnames
[] = {
15237 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
15240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15242 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15246 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15247 if (PyErr_Occurred()) SWIG_fail
;
15251 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15252 if (PyErr_Occurred()) SWIG_fail
;
15257 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15263 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
15265 wxPyEndAllowThreads(__tstate
);
15266 if (PyErr_Occurred()) SWIG_fail
;
15269 resultobj
= wxPyMake_wxObject(result
);
15277 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15278 PyObject
*resultobj
;
15279 wxImageList
*arg1
= (wxImageList
*) 0 ;
15280 PyObject
* obj0
= 0 ;
15281 char *kwnames
[] = {
15282 (char *) "self", NULL
15285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
15286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15291 wxPyEndAllowThreads(__tstate
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15294 Py_INCREF(Py_None
); resultobj
= Py_None
;
15301 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15302 PyObject
*resultobj
;
15303 wxImageList
*arg1
= (wxImageList
*) 0 ;
15304 wxBitmap
*arg2
= 0 ;
15305 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
15306 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
15308 PyObject
* obj0
= 0 ;
15309 PyObject
* obj1
= 0 ;
15310 PyObject
* obj2
= 0 ;
15311 char *kwnames
[] = {
15312 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
15315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15317 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15318 if (arg2
== NULL
) {
15319 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15322 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15323 if (arg3
== NULL
) {
15324 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15329 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
15331 wxPyEndAllowThreads(__tstate
);
15332 if (PyErr_Occurred()) SWIG_fail
;
15334 resultobj
= SWIG_PyObj_FromInt((int)result
);
15341 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15342 PyObject
*resultobj
;
15343 wxImageList
*arg1
= (wxImageList
*) 0 ;
15344 wxBitmap
*arg2
= 0 ;
15345 wxColour
*arg3
= 0 ;
15348 PyObject
* obj0
= 0 ;
15349 PyObject
* obj1
= 0 ;
15350 PyObject
* obj2
= 0 ;
15351 char *kwnames
[] = {
15352 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
15355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,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
;
15363 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15367 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
15369 wxPyEndAllowThreads(__tstate
);
15370 if (PyErr_Occurred()) SWIG_fail
;
15372 resultobj
= SWIG_PyObj_FromInt((int)result
);
15379 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15380 PyObject
*resultobj
;
15381 wxImageList
*arg1
= (wxImageList
*) 0 ;
15384 PyObject
* obj0
= 0 ;
15385 PyObject
* obj1
= 0 ;
15386 char *kwnames
[] = {
15387 (char *) "self",(char *) "icon", NULL
15390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
15391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15392 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15393 if (arg2
== NULL
) {
15394 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15398 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
15400 wxPyEndAllowThreads(__tstate
);
15401 if (PyErr_Occurred()) SWIG_fail
;
15403 resultobj
= SWIG_PyObj_FromInt((int)result
);
15410 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15411 PyObject
*resultobj
;
15412 wxImageList
*arg1
= (wxImageList
*) 0 ;
15414 wxBitmap
*arg3
= 0 ;
15416 PyObject
* obj0
= 0 ;
15417 PyObject
* obj1
= 0 ;
15418 PyObject
* obj2
= 0 ;
15419 char *kwnames
[] = {
15420 (char *) "self",(char *) "index",(char *) "bitmap", NULL
15423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15426 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15429 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15430 if (arg3
== NULL
) {
15431 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15435 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
15437 wxPyEndAllowThreads(__tstate
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15447 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15448 PyObject
*resultobj
;
15449 wxImageList
*arg1
= (wxImageList
*) 0 ;
15454 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
15455 bool arg7
= (bool) (bool)False
;
15457 PyObject
* obj0
= 0 ;
15458 PyObject
* obj1
= 0 ;
15459 PyObject
* obj2
= 0 ;
15460 PyObject
* obj3
= 0 ;
15461 PyObject
* obj4
= 0 ;
15462 PyObject
* obj5
= 0 ;
15463 PyObject
* obj6
= 0 ;
15464 char *kwnames
[] = {
15465 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
15468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15471 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15472 if (PyErr_Occurred()) SWIG_fail
;
15474 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15475 if (arg3
== NULL
) {
15476 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15479 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15483 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15488 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
15489 if (PyErr_Occurred()) SWIG_fail
;
15494 arg7
= (bool const) SWIG_PyObj_AsBool(obj6
);
15495 if (PyErr_Occurred()) SWIG_fail
;
15499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15500 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
15502 wxPyEndAllowThreads(__tstate
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15512 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15513 PyObject
*resultobj
;
15514 wxImageList
*arg1
= (wxImageList
*) 0 ;
15516 PyObject
* obj0
= 0 ;
15517 char *kwnames
[] = {
15518 (char *) "self", NULL
15521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
15522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15525 result
= (int)(arg1
)->GetImageCount();
15527 wxPyEndAllowThreads(__tstate
);
15528 if (PyErr_Occurred()) SWIG_fail
;
15530 resultobj
= SWIG_PyObj_FromInt((int)result
);
15537 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15538 PyObject
*resultobj
;
15539 wxImageList
*arg1
= (wxImageList
*) 0 ;
15542 PyObject
* obj0
= 0 ;
15543 PyObject
* obj1
= 0 ;
15544 char *kwnames
[] = {
15545 (char *) "self",(char *) "index", NULL
15548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
15549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15551 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15556 result
= (bool)(arg1
)->Remove(arg2
);
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15568 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15569 PyObject
*resultobj
;
15570 wxImageList
*arg1
= (wxImageList
*) 0 ;
15572 PyObject
* obj0
= 0 ;
15573 char *kwnames
[] = {
15574 (char *) "self", NULL
15577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
15578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15581 result
= (bool)(arg1
)->RemoveAll();
15583 wxPyEndAllowThreads(__tstate
);
15584 if (PyErr_Occurred()) SWIG_fail
;
15586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15593 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15594 PyObject
*resultobj
;
15595 wxImageList
*arg1
= (wxImageList
*) 0 ;
15601 PyObject
* obj0
= 0 ;
15602 PyObject
* obj1
= 0 ;
15603 char *kwnames
[] = {
15604 (char *) "self",(char *) "index", NULL
15609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15612 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15617 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
15619 wxPyEndAllowThreads(__tstate
);
15620 if (PyErr_Occurred()) SWIG_fail
;
15622 Py_INCREF(Py_None
); resultobj
= Py_None
;
15624 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15625 resultobj
= t_output_helper(resultobj
,o
);
15628 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
15629 resultobj
= t_output_helper(resultobj
,o
);
15637 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
15639 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15640 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
15642 return Py_BuildValue((char *)"");
15644 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
15645 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
15650 static PyObject
*_wrap_NORMAL_FONT_get() {
15653 pyobj
= SWIG_NewPointerObj((void *) wxNORMAL_FONT
, SWIGTYPE_p_wxFont
, 0);
15658 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
15659 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
15664 static PyObject
*_wrap_SMALL_FONT_get() {
15667 pyobj
= SWIG_NewPointerObj((void *) wxSMALL_FONT
, SWIGTYPE_p_wxFont
, 0);
15672 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
15673 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
15678 static PyObject
*_wrap_ITALIC_FONT_get() {
15681 pyobj
= SWIG_NewPointerObj((void *) wxITALIC_FONT
, SWIGTYPE_p_wxFont
, 0);
15686 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
15687 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
15692 static PyObject
*_wrap_SWISS_FONT_get() {
15695 pyobj
= SWIG_NewPointerObj((void *) wxSWISS_FONT
, SWIGTYPE_p_wxFont
, 0);
15700 static int _wrap_RED_PEN_set(PyObject
*_val
) {
15701 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
15706 static PyObject
*_wrap_RED_PEN_get() {
15709 pyobj
= SWIG_NewPointerObj((void *) wxRED_PEN
, SWIGTYPE_p_wxPen
, 0);
15714 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
15715 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
15720 static PyObject
*_wrap_CYAN_PEN_get() {
15723 pyobj
= SWIG_NewPointerObj((void *) wxCYAN_PEN
, SWIGTYPE_p_wxPen
, 0);
15728 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
15729 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
15734 static PyObject
*_wrap_GREEN_PEN_get() {
15737 pyobj
= SWIG_NewPointerObj((void *) wxGREEN_PEN
, SWIGTYPE_p_wxPen
, 0);
15742 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
15743 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
15748 static PyObject
*_wrap_BLACK_PEN_get() {
15751 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_PEN
, SWIGTYPE_p_wxPen
, 0);
15756 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
15757 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
15762 static PyObject
*_wrap_WHITE_PEN_get() {
15765 pyobj
= SWIG_NewPointerObj((void *) wxWHITE_PEN
, SWIGTYPE_p_wxPen
, 0);
15770 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
15771 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
15776 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
15779 pyobj
= SWIG_NewPointerObj((void *) wxTRANSPARENT_PEN
, SWIGTYPE_p_wxPen
, 0);
15784 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
15785 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
15790 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
15793 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_DASHED_PEN
, SWIGTYPE_p_wxPen
, 0);
15798 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
15799 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
15804 static PyObject
*_wrap_GREY_PEN_get() {
15807 pyobj
= SWIG_NewPointerObj((void *) wxGREY_PEN
, SWIGTYPE_p_wxPen
, 0);
15812 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
15813 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
15818 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
15821 pyobj
= SWIG_NewPointerObj((void *) wxMEDIUM_GREY_PEN
, SWIGTYPE_p_wxPen
, 0);
15826 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
15827 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
15832 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
15835 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY_PEN
, SWIGTYPE_p_wxPen
, 0);
15840 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
15841 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
15846 static PyObject
*_wrap_BLUE_BRUSH_get() {
15849 pyobj
= SWIG_NewPointerObj((void *) wxBLUE_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15854 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
15855 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
15860 static PyObject
*_wrap_GREEN_BRUSH_get() {
15863 pyobj
= SWIG_NewPointerObj((void *) wxGREEN_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15868 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
15869 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
15874 static PyObject
*_wrap_WHITE_BRUSH_get() {
15877 pyobj
= SWIG_NewPointerObj((void *) wxWHITE_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15882 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
15883 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
15888 static PyObject
*_wrap_BLACK_BRUSH_get() {
15891 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15896 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
15897 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
15902 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
15905 pyobj
= SWIG_NewPointerObj((void *) wxTRANSPARENT_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15910 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
15911 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
15916 static PyObject
*_wrap_CYAN_BRUSH_get() {
15919 pyobj
= SWIG_NewPointerObj((void *) wxCYAN_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15924 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
15925 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
15930 static PyObject
*_wrap_RED_BRUSH_get() {
15933 pyobj
= SWIG_NewPointerObj((void *) wxRED_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15938 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
15939 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
15944 static PyObject
*_wrap_GREY_BRUSH_get() {
15947 pyobj
= SWIG_NewPointerObj((void *) wxGREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15952 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
15953 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
15958 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
15961 pyobj
= SWIG_NewPointerObj((void *) wxMEDIUM_GREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15966 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
15967 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
15972 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
15975 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15980 static int _wrap_BLACK_set(PyObject
*_val
) {
15981 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
15986 static PyObject
*_wrap_BLACK_get() {
15989 pyobj
= SWIG_NewPointerObj((void *) wxBLACK
, SWIGTYPE_p_wxColour
, 0);
15994 static int _wrap_WHITE_set(PyObject
*_val
) {
15995 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16000 static PyObject
*_wrap_WHITE_get() {
16003 pyobj
= SWIG_NewPointerObj((void *) wxWHITE
, SWIGTYPE_p_wxColour
, 0);
16008 static int _wrap_RED_set(PyObject
*_val
) {
16009 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16014 static PyObject
*_wrap_RED_get() {
16017 pyobj
= SWIG_NewPointerObj((void *) wxRED
, SWIGTYPE_p_wxColour
, 0);
16022 static int _wrap_BLUE_set(PyObject
*_val
) {
16023 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16028 static PyObject
*_wrap_BLUE_get() {
16031 pyobj
= SWIG_NewPointerObj((void *) wxBLUE
, SWIGTYPE_p_wxColour
, 0);
16036 static int _wrap_GREEN_set(PyObject
*_val
) {
16037 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
16042 static PyObject
*_wrap_GREEN_get() {
16045 pyobj
= SWIG_NewPointerObj((void *) wxGREEN
, SWIGTYPE_p_wxColour
, 0);
16050 static int _wrap_CYAN_set(PyObject
*_val
) {
16051 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16056 static PyObject
*_wrap_CYAN_get() {
16059 pyobj
= SWIG_NewPointerObj((void *) wxCYAN
, SWIGTYPE_p_wxColour
, 0);
16064 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
16065 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
16070 static PyObject
*_wrap_LIGHT_GREY_get() {
16073 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY
, SWIGTYPE_p_wxColour
, 0);
16078 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
16079 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
16084 static PyObject
*_wrap_STANDARD_CURSOR_get() {
16087 pyobj
= SWIG_NewPointerObj((void *) wxSTANDARD_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
16092 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
16093 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
16098 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
16101 pyobj
= SWIG_NewPointerObj((void *) wxHOURGLASS_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
16106 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
16107 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
16112 static PyObject
*_wrap_CROSS_CURSOR_get() {
16115 pyobj
= SWIG_NewPointerObj((void *) wxCROSS_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
16120 static int _wrap_NullBitmap_set(PyObject
*_val
) {
16121 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
16126 static PyObject
*_wrap_NullBitmap_get() {
16129 pyobj
= SWIG_NewPointerObj((void *) &wxNullBitmap
, SWIGTYPE_p_wxBitmap
, 0);
16134 static int _wrap_NullIcon_set(PyObject
*_val
) {
16135 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
16140 static PyObject
*_wrap_NullIcon_get() {
16143 pyobj
= SWIG_NewPointerObj((void *) &wxNullIcon
, SWIGTYPE_p_wxIcon
, 0);
16148 static int _wrap_NullCursor_set(PyObject
*_val
) {
16149 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
16154 static PyObject
*_wrap_NullCursor_get() {
16157 pyobj
= SWIG_NewPointerObj((void *) &wxNullCursor
, SWIGTYPE_p_wxCursor
, 0);
16162 static int _wrap_NullPen_set(PyObject
*_val
) {
16163 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
16168 static PyObject
*_wrap_NullPen_get() {
16171 pyobj
= SWIG_NewPointerObj((void *) &wxNullPen
, SWIGTYPE_p_wxPen
, 0);
16176 static int _wrap_NullBrush_set(PyObject
*_val
) {
16177 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
16182 static PyObject
*_wrap_NullBrush_get() {
16185 pyobj
= SWIG_NewPointerObj((void *) &wxNullBrush
, SWIGTYPE_p_wxBrush
, 0);
16190 static int _wrap_NullPalette_set(PyObject
*_val
) {
16191 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
16196 static PyObject
*_wrap_NullPalette_get() {
16199 pyobj
= SWIG_NewPointerObj((void *) &wxNullPalette
, SWIGTYPE_p_wxPalette
, 0);
16204 static int _wrap_NullFont_set(PyObject
*_val
) {
16205 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
16210 static PyObject
*_wrap_NullFont_get() {
16213 pyobj
= SWIG_NewPointerObj((void *) &wxNullFont
, SWIGTYPE_p_wxFont
, 0);
16218 static int _wrap_NullColour_set(PyObject
*_val
) {
16219 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
16224 static PyObject
*_wrap_NullColour_get() {
16227 pyobj
= SWIG_NewPointerObj((void *) &wxNullColour
, SWIGTYPE_p_wxColour
, 0);
16232 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16233 PyObject
*resultobj
;
16234 wxPenList
*arg1
= (wxPenList
*) 0 ;
16235 wxPen
*arg2
= (wxPen
*) 0 ;
16236 PyObject
* obj0
= 0 ;
16237 PyObject
* obj1
= 0 ;
16238 char *kwnames
[] = {
16239 (char *) "self",(char *) "pen", NULL
16242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
16243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16244 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16247 (arg1
)->AddPen(arg2
);
16249 wxPyEndAllowThreads(__tstate
);
16250 if (PyErr_Occurred()) SWIG_fail
;
16252 Py_INCREF(Py_None
); resultobj
= Py_None
;
16259 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16260 PyObject
*resultobj
;
16261 wxPenList
*arg1
= (wxPenList
*) 0 ;
16262 wxColour
*arg2
= 0 ;
16267 PyObject
* obj0
= 0 ;
16268 PyObject
* obj1
= 0 ;
16269 PyObject
* obj2
= 0 ;
16270 PyObject
* obj3
= 0 ;
16271 char *kwnames
[] = {
16272 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
16275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16279 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16282 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16283 if (PyErr_Occurred()) SWIG_fail
;
16286 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16287 if (PyErr_Occurred()) SWIG_fail
;
16290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16291 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
16293 wxPyEndAllowThreads(__tstate
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16296 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
16303 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16304 PyObject
*resultobj
;
16305 wxPenList
*arg1
= (wxPenList
*) 0 ;
16306 wxPen
*arg2
= (wxPen
*) 0 ;
16307 PyObject
* obj0
= 0 ;
16308 PyObject
* obj1
= 0 ;
16309 char *kwnames
[] = {
16310 (char *) "self",(char *) "pen", NULL
16313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
16314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16315 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16318 (arg1
)->RemovePen(arg2
);
16320 wxPyEndAllowThreads(__tstate
);
16321 if (PyErr_Occurred()) SWIG_fail
;
16323 Py_INCREF(Py_None
); resultobj
= Py_None
;
16330 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16331 PyObject
*resultobj
;
16332 wxPenList
*arg1
= (wxPenList
*) 0 ;
16334 PyObject
* obj0
= 0 ;
16335 char *kwnames
[] = {
16336 (char *) "self", NULL
16339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
16340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16343 result
= (int)(arg1
)->GetCount();
16345 wxPyEndAllowThreads(__tstate
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16348 resultobj
= SWIG_PyObj_FromInt((int)result
);
16355 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
16357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16358 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
16360 return Py_BuildValue((char *)"");
16362 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16363 PyObject
*resultobj
;
16364 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16365 wxBrush
*arg2
= (wxBrush
*) 0 ;
16366 PyObject
* obj0
= 0 ;
16367 PyObject
* obj1
= 0 ;
16368 char *kwnames
[] = {
16369 (char *) "self",(char *) "brush", NULL
16372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
16373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16374 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16377 (arg1
)->AddBrush(arg2
);
16379 wxPyEndAllowThreads(__tstate
);
16380 if (PyErr_Occurred()) SWIG_fail
;
16382 Py_INCREF(Py_None
); resultobj
= Py_None
;
16389 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16390 PyObject
*resultobj
;
16391 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16392 wxColour
*arg2
= 0 ;
16396 PyObject
* obj0
= 0 ;
16397 PyObject
* obj1
= 0 ;
16398 PyObject
* obj2
= 0 ;
16399 char *kwnames
[] = {
16400 (char *) "self",(char *) "colour",(char *) "style", NULL
16403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16407 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16410 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16411 if (PyErr_Occurred()) SWIG_fail
;
16414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16415 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
16417 wxPyEndAllowThreads(__tstate
);
16418 if (PyErr_Occurred()) SWIG_fail
;
16420 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
16427 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16428 PyObject
*resultobj
;
16429 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16430 wxBrush
*arg2
= (wxBrush
*) 0 ;
16431 PyObject
* obj0
= 0 ;
16432 PyObject
* obj1
= 0 ;
16433 char *kwnames
[] = {
16434 (char *) "self",(char *) "brush", NULL
16437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
16438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16439 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16442 (arg1
)->RemoveBrush(arg2
);
16444 wxPyEndAllowThreads(__tstate
);
16445 if (PyErr_Occurred()) SWIG_fail
;
16447 Py_INCREF(Py_None
); resultobj
= Py_None
;
16454 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16455 PyObject
*resultobj
;
16456 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16458 PyObject
* obj0
= 0 ;
16459 char *kwnames
[] = {
16460 (char *) "self", NULL
16463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
16464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16467 result
= (int)(arg1
)->GetCount();
16469 wxPyEndAllowThreads(__tstate
);
16470 if (PyErr_Occurred()) SWIG_fail
;
16472 resultobj
= SWIG_PyObj_FromInt((int)result
);
16479 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
16481 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16482 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
16484 return Py_BuildValue((char *)"");
16486 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16487 PyObject
*resultobj
;
16488 wxColourDatabase
*result
;
16489 char *kwnames
[] = {
16493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
16495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16496 result
= (wxColourDatabase
*)new wxColourDatabase();
16498 wxPyEndAllowThreads(__tstate
);
16499 if (PyErr_Occurred()) SWIG_fail
;
16501 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDatabase
, 1);
16508 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16509 PyObject
*resultobj
;
16510 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16511 PyObject
* obj0
= 0 ;
16512 char *kwnames
[] = {
16513 (char *) "self", NULL
16516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
16517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16522 wxPyEndAllowThreads(__tstate
);
16523 if (PyErr_Occurred()) SWIG_fail
;
16525 Py_INCREF(Py_None
); resultobj
= Py_None
;
16532 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16533 PyObject
*resultobj
;
16534 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16535 wxString
*arg2
= 0 ;
16537 bool temp2
= False
;
16538 PyObject
* obj0
= 0 ;
16539 PyObject
* obj1
= 0 ;
16540 char *kwnames
[] = {
16541 (char *) "self",(char *) "name", NULL
16544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
16545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16547 arg2
= wxString_in_helper(obj1
);
16548 if (arg2
== NULL
) SWIG_fail
;
16552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16553 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
16555 wxPyEndAllowThreads(__tstate
);
16556 if (PyErr_Occurred()) SWIG_fail
;
16559 wxColour
* resultptr
;
16560 resultptr
= new wxColour((wxColour
&) result
);
16561 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16577 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16578 PyObject
*resultobj
;
16579 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16580 wxColour
*arg2
= 0 ;
16583 PyObject
* obj0
= 0 ;
16584 PyObject
* obj1
= 0 ;
16585 char *kwnames
[] = {
16586 (char *) "self",(char *) "colour", NULL
16589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
16590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16593 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16597 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
16599 wxPyEndAllowThreads(__tstate
);
16600 if (PyErr_Occurred()) SWIG_fail
;
16604 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16606 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16615 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16616 PyObject
*resultobj
;
16617 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16618 wxString
*arg2
= 0 ;
16619 wxColour
*arg3
= 0 ;
16620 bool temp2
= False
;
16622 PyObject
* obj0
= 0 ;
16623 PyObject
* obj1
= 0 ;
16624 PyObject
* obj2
= 0 ;
16625 char *kwnames
[] = {
16626 (char *) "self",(char *) "name",(char *) "colour", NULL
16629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16632 arg2
= wxString_in_helper(obj1
);
16633 if (arg2
== NULL
) SWIG_fail
;
16638 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16642 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
16644 wxPyEndAllowThreads(__tstate
);
16645 if (PyErr_Occurred()) SWIG_fail
;
16647 Py_INCREF(Py_None
); resultobj
= Py_None
;
16662 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16663 PyObject
*resultobj
;
16664 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16665 wxString
*arg2
= 0 ;
16669 bool temp2
= False
;
16670 PyObject
* obj0
= 0 ;
16671 PyObject
* obj1
= 0 ;
16672 PyObject
* obj2
= 0 ;
16673 PyObject
* obj3
= 0 ;
16674 PyObject
* obj4
= 0 ;
16675 char *kwnames
[] = {
16676 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
16679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16682 arg2
= wxString_in_helper(obj1
);
16683 if (arg2
== NULL
) SWIG_fail
;
16687 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16688 if (PyErr_Occurred()) SWIG_fail
;
16691 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16692 if (PyErr_Occurred()) SWIG_fail
;
16695 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16696 if (PyErr_Occurred()) SWIG_fail
;
16699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16700 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
16702 wxPyEndAllowThreads(__tstate
);
16703 if (PyErr_Occurred()) SWIG_fail
;
16705 Py_INCREF(Py_None
); resultobj
= Py_None
;
16720 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
16722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16723 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
16725 return Py_BuildValue((char *)"");
16727 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16728 PyObject
*resultobj
;
16729 wxFontList
*arg1
= (wxFontList
*) 0 ;
16730 wxFont
*arg2
= (wxFont
*) 0 ;
16731 PyObject
* obj0
= 0 ;
16732 PyObject
* obj1
= 0 ;
16733 char *kwnames
[] = {
16734 (char *) "self",(char *) "font", NULL
16737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
16738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16739 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16742 (arg1
)->AddFont(arg2
);
16744 wxPyEndAllowThreads(__tstate
);
16745 if (PyErr_Occurred()) SWIG_fail
;
16747 Py_INCREF(Py_None
); resultobj
= Py_None
;
16754 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16755 PyObject
*resultobj
;
16756 wxFontList
*arg1
= (wxFontList
*) 0 ;
16761 bool arg6
= (bool) False
;
16762 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16763 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16764 int arg8
= (int) wxFONTENCODING_DEFAULT
;
16766 bool temp7
= False
;
16767 PyObject
* obj0
= 0 ;
16768 PyObject
* obj1
= 0 ;
16769 PyObject
* obj2
= 0 ;
16770 PyObject
* obj3
= 0 ;
16771 PyObject
* obj4
= 0 ;
16772 PyObject
* obj5
= 0 ;
16773 PyObject
* obj6
= 0 ;
16774 PyObject
* obj7
= 0 ;
16775 char *kwnames
[] = {
16776 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
16779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
16780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16782 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16786 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16787 if (PyErr_Occurred()) SWIG_fail
;
16790 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16794 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16799 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16805 arg7
= wxString_in_helper(obj6
);
16806 if (arg7
== NULL
) SWIG_fail
;
16812 arg8
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj7
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16818 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
16820 wxPyEndAllowThreads(__tstate
);
16821 if (PyErr_Occurred()) SWIG_fail
;
16823 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
16838 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16839 PyObject
*resultobj
;
16840 wxFontList
*arg1
= (wxFontList
*) 0 ;
16841 wxFont
*arg2
= (wxFont
*) 0 ;
16842 PyObject
* obj0
= 0 ;
16843 PyObject
* obj1
= 0 ;
16844 char *kwnames
[] = {
16845 (char *) "self",(char *) "font", NULL
16848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
16849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16850 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16853 (arg1
)->RemoveFont(arg2
);
16855 wxPyEndAllowThreads(__tstate
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16858 Py_INCREF(Py_None
); resultobj
= Py_None
;
16865 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16866 PyObject
*resultobj
;
16867 wxFontList
*arg1
= (wxFontList
*) 0 ;
16869 PyObject
* obj0
= 0 ;
16870 char *kwnames
[] = {
16871 (char *) "self", NULL
16874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
16875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16878 result
= (int)(arg1
)->GetCount();
16880 wxPyEndAllowThreads(__tstate
);
16881 if (PyErr_Occurred()) SWIG_fail
;
16883 resultobj
= SWIG_PyObj_FromInt((int)result
);
16890 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
16892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16893 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
16895 return Py_BuildValue((char *)"");
16897 static int _wrap_TheFontList_set(PyObject
*_val
) {
16898 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
16903 static PyObject
*_wrap_TheFontList_get() {
16906 pyobj
= SWIG_NewPointerObj((void *) wxTheFontList
, SWIGTYPE_p_wxFontList
, 0);
16911 static int _wrap_ThePenList_set(PyObject
*_val
) {
16912 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
16917 static PyObject
*_wrap_ThePenList_get() {
16920 pyobj
= SWIG_NewPointerObj((void *) wxThePenList
, SWIGTYPE_p_wxPenList
, 0);
16925 static int _wrap_TheBrushList_set(PyObject
*_val
) {
16926 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
16931 static PyObject
*_wrap_TheBrushList_get() {
16934 pyobj
= SWIG_NewPointerObj((void *) wxTheBrushList
, SWIGTYPE_p_wxBrushList
, 0);
16939 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
16940 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
16945 static PyObject
*_wrap_TheColourDatabase_get() {
16948 pyobj
= SWIG_NewPointerObj((void *) wxTheColourDatabase
, SWIGTYPE_p_wxColourDatabase
, 0);
16953 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16954 PyObject
*resultobj
;
16956 char *kwnames
[] = {
16960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
16962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16963 result
= (wxEffects
*)new wxEffects();
16965 wxPyEndAllowThreads(__tstate
);
16966 if (PyErr_Occurred()) SWIG_fail
;
16968 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEffects
, 1);
16975 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16976 PyObject
*resultobj
;
16977 wxEffects
*arg1
= (wxEffects
*) 0 ;
16979 PyObject
* obj0
= 0 ;
16980 char *kwnames
[] = {
16981 (char *) "self", NULL
16984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
16985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16988 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
16990 wxPyEndAllowThreads(__tstate
);
16991 if (PyErr_Occurred()) SWIG_fail
;
16994 wxColour
* resultptr
;
16995 resultptr
= new wxColour((wxColour
&) result
);
16996 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17004 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
;
17006 wxEffects
*arg1
= (wxEffects
*) 0 ;
17008 PyObject
* obj0
= 0 ;
17009 char *kwnames
[] = {
17010 (char *) "self", NULL
17013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17017 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17019 wxPyEndAllowThreads(__tstate
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17023 wxColour
* resultptr
;
17024 resultptr
= new wxColour((wxColour
&) result
);
17025 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17033 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17034 PyObject
*resultobj
;
17035 wxEffects
*arg1
= (wxEffects
*) 0 ;
17037 PyObject
* obj0
= 0 ;
17038 char *kwnames
[] = {
17039 (char *) "self", NULL
17042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
17043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17046 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
17048 wxPyEndAllowThreads(__tstate
);
17049 if (PyErr_Occurred()) SWIG_fail
;
17052 wxColour
* resultptr
;
17053 resultptr
= new wxColour((wxColour
&) result
);
17054 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17062 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17063 PyObject
*resultobj
;
17064 wxEffects
*arg1
= (wxEffects
*) 0 ;
17066 PyObject
* obj0
= 0 ;
17067 char *kwnames
[] = {
17068 (char *) "self", NULL
17071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
17072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17075 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
17077 wxPyEndAllowThreads(__tstate
);
17078 if (PyErr_Occurred()) SWIG_fail
;
17081 wxColour
* resultptr
;
17082 resultptr
= new wxColour((wxColour
&) result
);
17083 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17091 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17092 PyObject
*resultobj
;
17093 wxEffects
*arg1
= (wxEffects
*) 0 ;
17095 PyObject
* obj0
= 0 ;
17096 char *kwnames
[] = {
17097 (char *) "self", NULL
17100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
17101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17104 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
17106 wxPyEndAllowThreads(__tstate
);
17107 if (PyErr_Occurred()) SWIG_fail
;
17110 wxColour
* resultptr
;
17111 resultptr
= new wxColour((wxColour
&) result
);
17112 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17120 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17121 PyObject
*resultobj
;
17122 wxEffects
*arg1
= (wxEffects
*) 0 ;
17123 wxColour
*arg2
= 0 ;
17125 PyObject
* obj0
= 0 ;
17126 PyObject
* obj1
= 0 ;
17127 char *kwnames
[] = {
17128 (char *) "self",(char *) "c", NULL
17131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17135 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17139 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
17141 wxPyEndAllowThreads(__tstate
);
17142 if (PyErr_Occurred()) SWIG_fail
;
17144 Py_INCREF(Py_None
); resultobj
= Py_None
;
17151 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17152 PyObject
*resultobj
;
17153 wxEffects
*arg1
= (wxEffects
*) 0 ;
17154 wxColour
*arg2
= 0 ;
17156 PyObject
* obj0
= 0 ;
17157 PyObject
* obj1
= 0 ;
17158 char *kwnames
[] = {
17159 (char *) "self",(char *) "c", NULL
17162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17166 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17170 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
17172 wxPyEndAllowThreads(__tstate
);
17173 if (PyErr_Occurred()) SWIG_fail
;
17175 Py_INCREF(Py_None
); resultobj
= Py_None
;
17182 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17183 PyObject
*resultobj
;
17184 wxEffects
*arg1
= (wxEffects
*) 0 ;
17185 wxColour
*arg2
= 0 ;
17187 PyObject
* obj0
= 0 ;
17188 PyObject
* obj1
= 0 ;
17189 char *kwnames
[] = {
17190 (char *) "self",(char *) "c", NULL
17193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17197 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17201 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
17203 wxPyEndAllowThreads(__tstate
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17206 Py_INCREF(Py_None
); resultobj
= Py_None
;
17213 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17214 PyObject
*resultobj
;
17215 wxEffects
*arg1
= (wxEffects
*) 0 ;
17216 wxColour
*arg2
= 0 ;
17218 PyObject
* obj0
= 0 ;
17219 PyObject
* obj1
= 0 ;
17220 char *kwnames
[] = {
17221 (char *) "self",(char *) "c", NULL
17224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17228 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17232 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
17234 wxPyEndAllowThreads(__tstate
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17237 Py_INCREF(Py_None
); resultobj
= Py_None
;
17244 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17245 PyObject
*resultobj
;
17246 wxEffects
*arg1
= (wxEffects
*) 0 ;
17247 wxColour
*arg2
= 0 ;
17249 PyObject
* obj0
= 0 ;
17250 PyObject
* obj1
= 0 ;
17251 char *kwnames
[] = {
17252 (char *) "self",(char *) "c", NULL
17255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17259 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17263 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
17265 wxPyEndAllowThreads(__tstate
);
17266 if (PyErr_Occurred()) SWIG_fail
;
17268 Py_INCREF(Py_None
); resultobj
= Py_None
;
17275 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17276 PyObject
*resultobj
;
17277 wxEffects
*arg1
= (wxEffects
*) 0 ;
17278 wxColour
*arg2
= 0 ;
17279 wxColour
*arg3
= 0 ;
17280 wxColour
*arg4
= 0 ;
17281 wxColour
*arg5
= 0 ;
17282 wxColour
*arg6
= 0 ;
17288 PyObject
* obj0
= 0 ;
17289 PyObject
* obj1
= 0 ;
17290 PyObject
* obj2
= 0 ;
17291 PyObject
* obj3
= 0 ;
17292 PyObject
* obj4
= 0 ;
17293 PyObject
* obj5
= 0 ;
17294 char *kwnames
[] = {
17295 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
17298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17302 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17306 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17310 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17314 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
17318 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
17321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17322 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
17324 wxPyEndAllowThreads(__tstate
);
17325 if (PyErr_Occurred()) SWIG_fail
;
17327 Py_INCREF(Py_None
); resultobj
= Py_None
;
17334 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17335 PyObject
*resultobj
;
17336 wxEffects
*arg1
= (wxEffects
*) 0 ;
17339 int arg4
= (int) 1 ;
17341 PyObject
* obj0
= 0 ;
17342 PyObject
* obj1
= 0 ;
17343 PyObject
* obj2
= 0 ;
17344 PyObject
* obj3
= 0 ;
17345 char *kwnames
[] = {
17346 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
17349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17351 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17352 if (arg2
== NULL
) {
17353 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17357 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17361 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17367 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
17369 wxPyEndAllowThreads(__tstate
);
17370 if (PyErr_Occurred()) SWIG_fail
;
17372 Py_INCREF(Py_None
); resultobj
= Py_None
;
17379 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17380 PyObject
*resultobj
;
17381 wxEffects
*arg1
= (wxEffects
*) 0 ;
17384 wxBitmap
*arg4
= 0 ;
17387 PyObject
* obj0
= 0 ;
17388 PyObject
* obj1
= 0 ;
17389 PyObject
* obj2
= 0 ;
17390 PyObject
* obj3
= 0 ;
17391 char *kwnames
[] = {
17392 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
17395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17399 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17401 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17402 if (arg3
== NULL
) {
17403 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17405 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17406 if (arg4
== NULL
) {
17407 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17411 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
17413 wxPyEndAllowThreads(__tstate
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17423 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
17425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17426 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
17428 return Py_BuildValue((char *)"");
17430 static PyMethodDef SwigMethods
[] = {
17431 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
17432 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
17433 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
17434 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
17435 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
17436 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
17437 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
17438 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
17439 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
17440 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
17441 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
17442 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
17443 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
17444 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17445 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
17446 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
17447 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
17448 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
17449 { (char *)"Colour_InitFromName", (PyCFunction
) _wrap_Colour_InitFromName
, METH_VARARGS
| METH_KEYWORDS
},
17450 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
17451 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
17452 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
17453 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
17454 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
17455 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
17456 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17457 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
17458 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
17459 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
17460 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
17461 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
17462 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
17463 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17464 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17465 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17466 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
17467 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
17468 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
17469 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17470 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17471 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
17472 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
17473 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
},
17474 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
17475 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
17476 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
17477 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
17478 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
},
17479 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
17480 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
17481 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
17482 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17483 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
17484 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
17485 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17486 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
17487 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17488 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
17489 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
17490 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
17491 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17492 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
17493 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
17494 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
17495 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
17496 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17497 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17498 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17499 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17500 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
17501 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
17502 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
17503 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
17504 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17505 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
17506 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
17507 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
17508 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17509 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17510 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17511 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
17512 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
17513 { (char *)"new_MaskColour", (PyCFunction
) _wrap_new_MaskColour
, METH_VARARGS
| METH_KEYWORDS
},
17514 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
17515 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
17516 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
17517 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
17518 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
17519 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17520 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
17521 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
17522 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17523 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17524 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17525 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17526 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17527 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17528 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17529 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17530 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
17531 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
17532 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
17533 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
17534 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
17535 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
17536 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
17537 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
17538 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
17539 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
17540 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
17541 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
17542 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
17543 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
17544 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
17545 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
17546 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
17547 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
17548 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
17549 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
17550 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
17551 { (char *)"new_CursorFromBits", (PyCFunction
) _wrap_new_CursorFromBits
, METH_VARARGS
| METH_KEYWORDS
},
17552 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17553 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
17554 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
17555 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17556 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
17557 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
17558 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
17559 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
17560 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
17561 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
17562 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
17563 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
17564 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
17565 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
17566 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
17567 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
17568 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
17569 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
17570 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
17571 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
17572 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
17573 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
17574 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
17575 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
17576 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
17577 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
17578 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17579 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17580 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
17581 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
17582 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
17583 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
17584 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
17585 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
17586 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17587 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
17588 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17589 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
17590 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
17591 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
17592 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
17593 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
17594 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
17595 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
17596 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
17597 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
17598 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
17599 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
17600 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17601 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
17602 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
17603 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
17604 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
17605 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17606 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
17607 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17608 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
17609 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
17610 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
17611 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
17612 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17613 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
17614 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
17615 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
17616 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
17617 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
17618 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
17619 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
17620 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
17621 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
17622 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
17623 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
17624 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
17625 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
17626 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
17627 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
17628 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17629 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17630 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
17631 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
17632 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
17633 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
17634 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17635 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
17636 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17637 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
17638 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
17639 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
17640 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
17641 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
17642 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17643 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
17644 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
17645 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
17646 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
17647 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
17648 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
17649 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
17650 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
17651 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
17652 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17653 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
17654 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
17655 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
17656 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
17657 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17658 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
17659 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
17660 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
17661 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17662 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
17663 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
17664 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
17665 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
17666 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
17667 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
17668 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17669 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
17670 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
17671 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
17672 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17673 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
17674 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
17675 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
17676 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
17677 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
17678 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
17679 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
17680 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
17681 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17682 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17683 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
17684 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
17685 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
17686 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
17687 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
17688 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
17689 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
17690 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
17691 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
17692 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
17693 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
17694 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
17695 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
17696 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
17697 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
17698 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
17699 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
17700 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
17701 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
17702 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
17703 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
17704 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17705 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
17706 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
17707 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
17708 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
17709 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
17710 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
17711 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
17712 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
17713 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
17714 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
17715 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
17716 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
17717 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
17718 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
17719 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
17720 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
17721 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
17722 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
17723 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
17724 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
17725 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
17726 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
17727 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
17728 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
17729 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
17730 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
17731 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
17732 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
17733 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
17734 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
},
17735 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
17736 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
},
17737 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
17738 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
},
17739 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
17740 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
},
17741 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
17742 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
},
17743 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
17744 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
},
17745 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
17746 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
},
17747 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
17748 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
},
17749 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
17750 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
17751 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
17752 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
17753 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
17754 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
17755 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
17756 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
},
17757 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
17758 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
},
17759 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
17760 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
17761 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
},
17762 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
17763 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
},
17764 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17765 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
},
17766 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
17767 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
},
17768 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
17769 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
},
17770 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
17771 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
17772 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
17773 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
17774 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
17775 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
17776 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
17777 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
17778 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
17779 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
17780 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
17781 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
17782 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
17783 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
17784 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
17785 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
17786 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
17787 { (char *)"DC_SetClippingRegionXY", (PyCFunction
) _wrap_DC_SetClippingRegionXY
, METH_VARARGS
| METH_KEYWORDS
},
17788 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
17789 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
17790 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
17791 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
17792 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
17793 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
17794 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
17795 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
17796 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
17797 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
17798 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
17799 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
17800 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
17801 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
17802 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
17803 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
17804 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
17805 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
17806 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
17807 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
17808 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
17809 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
17810 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
17811 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17812 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
17813 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17814 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
17815 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17816 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
17817 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
17818 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
17819 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
17820 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
17821 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
17822 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
17823 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
17824 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
17825 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
17826 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
17827 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
17828 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
17829 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
17830 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
17831 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
17832 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
17833 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
17834 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
17835 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
17836 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
17837 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
17838 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
17839 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
17840 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
17841 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
17842 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
17843 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
17844 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
17845 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
17846 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
17847 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
17848 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
17849 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
17850 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
17851 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
17852 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
17853 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
17854 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
17855 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
17856 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
17857 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
17858 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
17859 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
17860 { (char *)"new_BufferedDC", (PyCFunction
) _wrap_new_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
17861 { (char *)"new_BufferedDCInternalBuffer", (PyCFunction
) _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
| METH_KEYWORDS
},
17862 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
17863 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
17864 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
17865 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
17866 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
17867 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
17868 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
17869 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
17870 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
17871 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
17872 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
17873 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
17874 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
17875 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
17876 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
17877 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
17878 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
17879 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
17880 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
17881 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
17882 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
17883 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
17884 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
17885 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
17886 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
17887 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
17888 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
17889 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
17890 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
17891 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
17892 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
17893 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
17894 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
17895 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
17896 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
17897 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
17898 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
17899 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
17900 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
17901 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
17902 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
17903 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
17904 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
17905 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
17906 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
17907 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
17908 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
17909 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
17910 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
17911 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
17912 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
17913 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
17914 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
17915 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
17916 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
17917 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
17918 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
17919 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
17920 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
17921 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
17922 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
17923 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
17924 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
17925 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
17926 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
17927 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
17928 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
17929 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
17930 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
17931 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
17932 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
17933 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
17934 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
17935 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
17936 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
17937 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
17938 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17939 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
17944 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
17946 static void *_p_wxControlTo_p_wxWindow(void *x
) {
17947 return (void *)((wxWindow
*) ((wxControl
*) x
));
17949 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
17950 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
17952 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
17953 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
17955 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
17956 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
17958 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
17959 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
17961 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
17962 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
17964 static void *_p_wxPenTo_p_wxObject(void *x
) {
17965 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
17967 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
17968 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
17970 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
17971 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
17973 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
17974 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
17976 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
17977 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
17979 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
17980 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
17982 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
17983 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
17985 static void *_p_wxIconTo_p_wxObject(void *x
) {
17986 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
17988 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
17989 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
17991 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
17992 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
17994 static void *_p_wxSizerTo_p_wxObject(void *x
) {
17995 return (void *)((wxObject
*) ((wxSizer
*) x
));
17997 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
17998 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18000 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18001 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18003 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18004 return (void *)((wxObject
*) ((wxPenList
*) x
));
18006 static void *_p_wxEventTo_p_wxObject(void *x
) {
18007 return (void *)((wxObject
*) ((wxEvent
*) x
));
18009 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18010 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18012 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18013 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18015 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18016 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18018 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18019 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18021 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18022 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18024 static void *_p_wxDCTo_p_wxObject(void *x
) {
18025 return (void *)((wxObject
*) ((wxDC
*) x
));
18027 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18028 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18030 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18031 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18033 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18034 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18036 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18037 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18039 static void *_p_wxControlTo_p_wxObject(void *x
) {
18040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18042 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18043 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18045 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
18046 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
18048 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18049 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18051 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
18052 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
18054 static void *_p_wxRegionTo_p_wxObject(void *x
) {
18055 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
18057 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18058 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18060 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
18061 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
18063 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
18064 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
18066 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
18067 return (void *)((wxObject
*) ((wxEffects
*) x
));
18069 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18070 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18072 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18073 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18075 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
18076 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
18078 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18079 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18081 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18082 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18084 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18085 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18087 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18088 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18090 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18091 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18093 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18094 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18096 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18097 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18099 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18100 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18102 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18103 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18105 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18106 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18108 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18109 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18111 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18112 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18114 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18115 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18117 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18118 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18120 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18121 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18123 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18124 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18126 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18127 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18129 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18130 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18132 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18133 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18135 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18136 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18138 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18139 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18141 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18142 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18144 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18145 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18147 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
18148 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18150 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
18151 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
18153 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
18154 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
18156 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
18157 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
18159 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18160 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18162 static void *_p_wxImageTo_p_wxObject(void *x
) {
18163 return (void *)((wxObject
*) ((wxImage
*) x
));
18165 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18166 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18168 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
18169 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
18171 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
18172 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
18174 static void *_p_wxImageListTo_p_wxObject(void *x
) {
18175 return (void *)((wxObject
*) ((wxImageList
*) x
));
18177 static void *_p_wxCursorTo_p_wxObject(void *x
) {
18178 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
18180 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
18181 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
18183 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
18184 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
18186 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
18187 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18189 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
18190 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18192 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
18193 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
18195 static void *_p_wxWindowTo_p_wxObject(void *x
) {
18196 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
18198 static void *_p_wxMenuTo_p_wxObject(void *x
) {
18199 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
18201 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
18202 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
18204 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
18205 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
18207 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
18208 return (void *)((wxObject
*) ((wxBrushList
*) x
));
18210 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
18211 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
18213 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
18214 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
18216 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
18217 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
18219 static void *_p_wxMaskTo_p_wxObject(void *x
) {
18220 return (void *)((wxObject
*) ((wxMask
*) x
));
18222 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
18223 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18225 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
18226 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
18228 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
18229 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
18231 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
18232 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
18234 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
18235 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
18237 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
18238 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
18240 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
18241 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18243 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
18244 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
18246 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
18247 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
18249 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
18250 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
18252 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
18253 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18255 static void *_p_wxFontTo_p_wxObject(void *x
) {
18256 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
18258 static void *_p_wxBrushTo_p_wxObject(void *x
) {
18259 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
18261 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
18262 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
18264 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
18265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18267 static void *_p_wxColourTo_p_wxObject(void *x
) {
18268 return (void *)((wxObject
*) ((wxColour
*) x
));
18270 static void *_p_wxFontListTo_p_wxObject(void *x
) {
18271 return (void *)((wxObject
*) ((wxFontList
*) x
));
18273 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
18274 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
18276 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
18277 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
18279 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
18280 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18282 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
18283 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
18285 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
18286 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
18288 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
18289 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
18291 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
18292 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
18294 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
18295 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
18297 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
18298 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
18300 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
18301 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18303 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
18304 return (void *)((wxDC
*) ((wxClientDC
*) x
));
18306 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
18307 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
18309 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
18310 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
18312 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
18313 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
18315 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
18316 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
18318 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
18319 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
18321 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
18322 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
18324 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
18325 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
18327 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
18328 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
18330 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
18331 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
18333 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
18334 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
18336 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
18337 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
18339 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
18340 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
18342 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
18343 return (void *)((wxPen
*) ((wxPyPen
*) x
));
18345 static swig_type_info _swigt__p_wxPostScriptDC
[] = {{"_p_wxPostScriptDC", 0, "wxPostScriptDC *", 0},{"_p_wxPostScriptDC"},{0}};
18346 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
18347 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
18348 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}};
18349 static swig_type_info _swigt__p_wxMirrorDC
[] = {{"_p_wxMirrorDC", 0, "wxMirrorDC *", 0},{"_p_wxMirrorDC"},{0}};
18350 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
18351 static swig_type_info _swigt__p_wxPyFontEnumerator
[] = {{"_p_wxPyFontEnumerator", 0, "wxPyFontEnumerator *", 0},{"_p_wxPyFontEnumerator"},{0}};
18352 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
18353 static swig_type_info _swigt__p_wxIconLocation
[] = {{"_p_wxIconLocation", 0, "wxIconLocation *", 0},{"_p_wxIconLocation"},{0}};
18354 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
18355 static swig_type_info _swigt__p_wxMetaFileDC
[] = {{"_p_wxMetaFileDC", 0, "wxMetaFileDC *", 0},{"_p_wxMetaFileDC"},{0}};
18356 static swig_type_info _swigt__p_wxMask
[] = {{"_p_wxMask", 0, "wxMask *", 0},{"_p_wxMask"},{0}};
18357 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
18358 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}};
18359 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
18360 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
18361 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}};
18362 static swig_type_info _swigt__p_wxFontMapper
[] = {{"_p_wxFontMapper", 0, "wxFontMapper *", 0},{"_p_wxFontMapper"},{0}};
18363 static swig_type_info _swigt__p_wxEffects
[] = {{"_p_wxEffects", 0, "wxEffects *", 0},{"_p_wxEffects"},{0}};
18364 static swig_type_info _swigt__p_wxNativeEncodingInfo
[] = {{"_p_wxNativeEncodingInfo", 0, "wxNativeEncodingInfo *", 0},{"_p_wxNativeEncodingInfo"},{0}};
18365 static swig_type_info _swigt__p_wxPalette
[] = {{"_p_wxPalette", 0, "wxPalette *", 0},{"_p_wxPalette"},{0}};
18366 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
18367 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}};
18368 static swig_type_info _swigt__p_wxRegionIterator
[] = {{"_p_wxRegionIterator", 0, "wxRegionIterator *", 0},{"_p_wxRegionIterator"},{0}};
18369 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
18370 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
18371 static swig_type_info _swigt__p_wxPrinterDC
[] = {{"_p_wxPrinterDC", 0, "wxPrinterDC *", 0},{"_p_wxPrinterDC"},{0}};
18372 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
18373 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
18374 static swig_type_info _swigt__p_wxDash
[] = {{"_p_wxDash", 0, "wxDash *", 0},{"_p_wxDash"},{0}};
18375 static swig_type_info _swigt__p_wxScreenDC
[] = {{"_p_wxScreenDC", 0, "wxScreenDC *", 0},{"_p_wxScreenDC"},{0}};
18376 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
18377 static swig_type_info _swigt__p_wxClientDC
[] = {{"_p_wxClientDC", 0, "wxClientDC *", 0},{"_p_wxClientDC"},{0}};
18378 static swig_type_info _swigt__p_wxBufferedDC
[] = {{"_p_wxBufferedDC", 0, "wxBufferedDC *", 0},{"_p_wxBufferedDC"},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxBufferedDC
},{0}};
18379 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
18380 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
18381 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}};
18382 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
18383 static swig_type_info _swigt__p_wxLocale
[] = {{"_p_wxLocale", 0, "wxLocale *", 0},{"_p_wxLocale"},{0}};
18384 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
18385 static swig_type_info _swigt__p_wxLanguageInfo
[] = {{"_p_wxLanguageInfo", 0, "wxLanguageInfo *", 0},{"_p_wxLanguageInfo"},{0}};
18386 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxConfigBase"},{0}};
18387 static swig_type_info _swigt__p_wxWindowDC
[] = {{"_p_wxWindowDC", 0, "wxWindowDC *", 0},{"_p_wxWindowDC"},{0}};
18388 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
18389 static swig_type_info _swigt__p_wxBrushList
[] = {{"_p_wxBrushList", 0, "wxBrushList *", 0},{"_p_wxBrushList"},{0}};
18390 static swig_type_info _swigt__p_wxFontList
[] = {{"_p_wxFontList", 0, "wxFontList *", 0},{"_p_wxFontList"},{0}};
18391 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPyPen", _p_wxPyPenTo_p_wxPen
},{"_p_wxPen"},{0}};
18392 static swig_type_info _swigt__p_wxBufferedPaintDC
[] = {{"_p_wxBufferedPaintDC", 0, "wxBufferedPaintDC *", 0},{"_p_wxBufferedPaintDC"},{0}};
18393 static swig_type_info _swigt__p_wxPaintDC
[] = {{"_p_wxPaintDC", 0, "wxPaintDC *", 0},{"_p_wxPaintDC"},{0}};
18394 static swig_type_info _swigt__p_wxPenList
[] = {{"_p_wxPenList", 0, "wxPenList *", 0},{"_p_wxPenList"},{0}};
18395 static swig_type_info _swigt__p_wxPyPen
[] = {{"_p_wxPyPen", 0, "wxPyPen *", 0},{"_p_wxPyPen"},{0}};
18396 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
18397 static swig_type_info _swigt__p_wxMetaFile
[] = {{"_p_wxMetaFile", 0, "wxMetaFile *", 0},{"_p_wxMetaFile"},{0}};
18398 static swig_type_info _swigt__p_wxNativeFontInfo
[] = {{"_p_wxNativeFontInfo", 0, "wxNativeFontInfo *", 0},{"_p_wxNativeFontInfo"},{0}};
18399 static swig_type_info _swigt__p_wxEncodingConverter
[] = {{"_p_wxEncodingConverter", 0, "wxEncodingConverter *", 0},{"_p_wxEncodingConverter"},{0}};
18400 static swig_type_info _swigt__p_wxColourDatabase
[] = {{"_p_wxColourDatabase", 0, "wxColourDatabase *", 0},{"_p_wxColourDatabase"},{0}};
18402 static swig_type_info
*swig_types_initial
[] = {
18403 _swigt__p_wxPostScriptDC
,
18405 _swigt__p_wxColour
,
18407 _swigt__p_wxMirrorDC
,
18409 _swigt__p_wxPyFontEnumerator
,
18411 _swigt__p_wxIconLocation
,
18413 _swigt__p_wxMetaFileDC
,
18416 _swigt__p_wxWindow
,
18419 _swigt__p_wxMemoryDC
,
18420 _swigt__p_wxFontMapper
,
18421 _swigt__p_wxEffects
,
18422 _swigt__p_wxNativeEncodingInfo
,
18423 _swigt__p_wxPalette
,
18424 _swigt__p_wxBitmap
,
18425 _swigt__p_wxObject
,
18426 _swigt__p_wxRegionIterator
,
18428 _swigt__p_wxString
,
18429 _swigt__p_wxPrinterDC
,
18430 _swigt__p_wxIconBundle
,
18433 _swigt__p_wxScreenDC
,
18434 _swigt__p_wxCursor
,
18435 _swigt__p_wxClientDC
,
18436 _swigt__p_wxBufferedDC
,
18437 _swigt__p_wxImageList
,
18438 _swigt__p_unsigned_char
,
18439 _swigt__p_wxGDIObject
,
18441 _swigt__p_wxLocale
,
18442 _swigt__p_wxRegion
,
18443 _swigt__p_wxLanguageInfo
,
18444 _swigt__p_wxConfigBase
,
18445 _swigt__p_wxWindowDC
,
18446 _swigt__p_wxPrintData
,
18447 _swigt__p_wxBrushList
,
18448 _swigt__p_wxFontList
,
18450 _swigt__p_wxBufferedPaintDC
,
18451 _swigt__p_wxPaintDC
,
18452 _swigt__p_wxPenList
,
18455 _swigt__p_wxMetaFile
,
18456 _swigt__p_wxNativeFontInfo
,
18457 _swigt__p_wxEncodingConverter
,
18458 _swigt__p_wxColourDatabase
,
18463 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
18465 static swig_const_info swig_const_table
[] = {
18475 SWIGEXPORT(void) SWIG_init(void) {
18476 static PyObject
*SWIG_globals
= 0;
18477 static int typeinit
= 0;
18480 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
18481 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
18482 d
= PyModule_GetDict(m
);
18485 for (i
= 0; swig_types_initial
[i
]; i
++) {
18486 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
18490 SWIG_InstallConstants(d
,swig_const_table
);
18492 PyDict_SetItemString(d
,"OutRegion", SWIG_PyObj_FromInt((int)wxOutRegion
));
18493 PyDict_SetItemString(d
,"PartRegion", SWIG_PyObj_FromInt((int)wxPartRegion
));
18494 PyDict_SetItemString(d
,"InRegion", SWIG_PyObj_FromInt((int)wxInRegion
));
18495 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_PyObj_FromInt((int)wxFONTFAMILY_DEFAULT
));
18496 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_PyObj_FromInt((int)wxFONTFAMILY_DECORATIVE
));
18497 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_PyObj_FromInt((int)wxFONTFAMILY_ROMAN
));
18498 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_PyObj_FromInt((int)wxFONTFAMILY_SCRIPT
));
18499 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_PyObj_FromInt((int)wxFONTFAMILY_SWISS
));
18500 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_PyObj_FromInt((int)wxFONTFAMILY_MODERN
));
18501 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_PyObj_FromInt((int)wxFONTFAMILY_TELETYPE
));
18502 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_PyObj_FromInt((int)wxFONTFAMILY_MAX
));
18503 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_PyObj_FromInt((int)wxFONTFAMILY_UNKNOWN
));
18504 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_PyObj_FromInt((int)wxFONTSTYLE_NORMAL
));
18505 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_PyObj_FromInt((int)wxFONTSTYLE_ITALIC
));
18506 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_PyObj_FromInt((int)wxFONTSTYLE_SLANT
));
18507 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_PyObj_FromInt((int)wxFONTSTYLE_MAX
));
18508 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_NORMAL
));
18509 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_LIGHT
));
18510 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_BOLD
));
18511 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_MAX
));
18512 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_PyObj_FromInt((int)wxFONTFLAG_DEFAULT
));
18513 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_PyObj_FromInt((int)wxFONTFLAG_ITALIC
));
18514 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_PyObj_FromInt((int)wxFONTFLAG_SLANT
));
18515 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_PyObj_FromInt((int)wxFONTFLAG_LIGHT
));
18516 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_PyObj_FromInt((int)wxFONTFLAG_BOLD
));
18517 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_PyObj_FromInt((int)wxFONTFLAG_ANTIALIASED
));
18518 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_PyObj_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
18519 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_PyObj_FromInt((int)wxFONTFLAG_UNDERLINED
));
18520 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_PyObj_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
18521 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_PyObj_FromInt((int)wxFONTFLAG_MASK
));
18522 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_PyObj_FromInt((int)wxFONTENCODING_SYSTEM
));
18523 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_PyObj_FromInt((int)wxFONTENCODING_DEFAULT
));
18524 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_1
));
18525 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_2
));
18526 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_3
));
18527 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_4
));
18528 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_5
));
18529 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_6
));
18530 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_7
));
18531 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_8
));
18532 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_9
));
18533 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_10
));
18534 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_11
));
18535 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_12
));
18536 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_13
));
18537 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_14
));
18538 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_15
));
18539 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
18540 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_PyObj_FromInt((int)wxFONTENCODING_KOI8
));
18541 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_PyObj_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
18542 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_BULGARIAN
));
18543 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP437
));
18544 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP850
));
18545 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP852
));
18546 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP855
));
18547 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP866
));
18548 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP874
));
18549 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP932
));
18550 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP936
));
18551 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP949
));
18552 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP950
));
18553 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1250
));
18554 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1251
));
18555 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1252
));
18556 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1253
));
18557 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1254
));
18558 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1255
));
18559 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1256
));
18560 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1257
));
18561 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP12_MAX
));
18562 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF7
));
18563 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF8
));
18564 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_PyObj_FromInt((int)wxFONTENCODING_EUC_JP
));
18565 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF16BE
));
18566 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF16LE
));
18567 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF32BE
));
18568 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF32LE
));
18569 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACROMAN
));
18570 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACJAPANESE
));
18571 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
18572 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKOREAN
));
18573 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACARABIC
));
18574 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACHEBREW
));
18575 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGREEK
));
18576 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
18577 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
18578 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
18579 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGUJARATI
));
18580 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACORIYA
));
18581 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACBENGALI
));
18582 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTAMIL
));
18583 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTELUGU
));
18584 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKANNADA
));
18585 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
18586 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACSINHALESE
));
18587 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACBURMESE
));
18588 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKHMER
));
18589 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTHAI
));
18590 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
18591 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
18592 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACARMENIAN
));
18593 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
18594 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTIBETAN
));
18595 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
18596 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
18597 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
18598 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
18599 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACARABICEXT
));
18600 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACSYMBOL
));
18601 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACDINGBATS
));
18602 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTURKISH
));
18603 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCROATIAN
));
18604 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACICELANDIC
));
18605 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACROMANIAN
));
18606 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCELTIC
));
18607 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGAELIC
));
18608 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
18609 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMIN
));
18610 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMAX
));
18611 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_MAX
));
18612 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF16
));
18613 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF32
));
18614 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UNICODE
));
18615 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_PyObj_FromInt((int)wxFONTENCODING_GB2312
));
18616 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_PyObj_FromInt((int)wxFONTENCODING_BIG5
));
18617 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_PyObj_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
18619 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
18621 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_PyObj_FromInt((int)wxLANGUAGE_DEFAULT
));
18622 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_PyObj_FromInt((int)wxLANGUAGE_UNKNOWN
));
18623 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
18624 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_PyObj_FromInt((int)wxLANGUAGE_AFAR
));
18625 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_PyObj_FromInt((int)wxLANGUAGE_AFRIKAANS
));
18626 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ALBANIAN
));
18627 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_AMHARIC
));
18628 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC
));
18629 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
18630 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
18631 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
18632 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
18633 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
18634 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
18635 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
18636 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
18637 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
18638 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
18639 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
18640 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
18641 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
18642 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
18643 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
18644 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
18645 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
18646 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARMENIAN
));
18647 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ASSAMESE
));
18648 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_PyObj_FromInt((int)wxLANGUAGE_AYMARA
));
18649 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_PyObj_FromInt((int)wxLANGUAGE_AZERI
));
18650 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
18651 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
18652 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_PyObj_FromInt((int)wxLANGUAGE_BASHKIR
));
18653 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_PyObj_FromInt((int)wxLANGUAGE_BASQUE
));
18654 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_BELARUSIAN
));
18655 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_PyObj_FromInt((int)wxLANGUAGE_BENGALI
));
18656 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_PyObj_FromInt((int)wxLANGUAGE_BHUTANI
));
18657 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_PyObj_FromInt((int)wxLANGUAGE_BIHARI
));
18658 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_PyObj_FromInt((int)wxLANGUAGE_BISLAMA
));
18659 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_PyObj_FromInt((int)wxLANGUAGE_BRETON
));
18660 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_BULGARIAN
));
18661 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_BURMESE
));
18662 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CAMBODIAN
));
18663 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CATALAN
));
18664 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE
));
18665 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
18666 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
18667 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
18668 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
18669 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
18670 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
18671 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CORSICAN
));
18672 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CROATIAN
));
18673 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_PyObj_FromInt((int)wxLANGUAGE_CZECH
));
18674 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_DANISH
));
18675 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_PyObj_FromInt((int)wxLANGUAGE_DUTCH
));
18676 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
18677 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH
));
18678 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
18679 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_US
));
18680 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
18681 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
18682 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
18683 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
18684 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
18685 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
18686 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
18687 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
18688 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
18689 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
18690 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
18691 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
18692 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
18693 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_PyObj_FromInt((int)wxLANGUAGE_ESPERANTO
));
18694 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ESTONIAN
));
18695 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_FAEROESE
));
18696 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_PyObj_FromInt((int)wxLANGUAGE_FARSI
));
18697 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_PyObj_FromInt((int)wxLANGUAGE_FIJI
));
18698 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_FINNISH
));
18699 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH
));
18700 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
18701 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
18702 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
18703 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
18704 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
18705 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRISIAN
));
18706 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GALICIAN
));
18707 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GEORGIAN
));
18708 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN
));
18709 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
18710 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
18711 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
18712 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
18713 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
18714 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_PyObj_FromInt((int)wxLANGUAGE_GREEK
));
18715 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_GREENLANDIC
));
18716 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_PyObj_FromInt((int)wxLANGUAGE_GUARANI
));
18717 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_PyObj_FromInt((int)wxLANGUAGE_GUJARATI
));
18718 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_PyObj_FromInt((int)wxLANGUAGE_HAUSA
));
18719 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_PyObj_FromInt((int)wxLANGUAGE_HEBREW
));
18720 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_PyObj_FromInt((int)wxLANGUAGE_HINDI
));
18721 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_HUNGARIAN
));
18722 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_ICELANDIC
));
18723 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_INDONESIAN
));
18724 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_PyObj_FromInt((int)wxLANGUAGE_INTERLINGUA
));
18725 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_PyObj_FromInt((int)wxLANGUAGE_INTERLINGUE
));
18726 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_PyObj_FromInt((int)wxLANGUAGE_INUKTITUT
));
18727 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_PyObj_FromInt((int)wxLANGUAGE_INUPIAK
));
18728 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_IRISH
));
18729 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ITALIAN
));
18730 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_PyObj_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
18731 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_JAPANESE
));
18732 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_JAVANESE
));
18733 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_PyObj_FromInt((int)wxLANGUAGE_KANNADA
));
18734 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_PyObj_FromInt((int)wxLANGUAGE_KASHMIRI
));
18735 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
18736 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_PyObj_FromInt((int)wxLANGUAGE_KAZAKH
));
18737 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_PyObj_FromInt((int)wxLANGUAGE_KERNEWEK
));
18738 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_PyObj_FromInt((int)wxLANGUAGE_KINYARWANDA
));
18739 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_PyObj_FromInt((int)wxLANGUAGE_KIRGHIZ
));
18740 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_PyObj_FromInt((int)wxLANGUAGE_KIRUNDI
));
18741 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_PyObj_FromInt((int)wxLANGUAGE_KONKANI
));
18742 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_KOREAN
));
18743 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_KURDISH
));
18744 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LAOTHIAN
));
18745 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LATIN
));
18746 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LATVIAN
));
18747 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_PyObj_FromInt((int)wxLANGUAGE_LINGALA
));
18748 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LITHUANIAN
));
18749 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_MACEDONIAN
));
18750 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAGASY
));
18751 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAY
));
18752 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAYALAM
));
18753 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
18754 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
18755 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALTESE
));
18756 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_PyObj_FromInt((int)wxLANGUAGE_MANIPURI
));
18757 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_PyObj_FromInt((int)wxLANGUAGE_MAORI
));
18758 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_PyObj_FromInt((int)wxLANGUAGE_MARATHI
));
18759 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
18760 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_MONGOLIAN
));
18761 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_PyObj_FromInt((int)wxLANGUAGE_NAURU
));
18762 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_PyObj_FromInt((int)wxLANGUAGE_NEPALI
));
18763 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
18764 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_PyObj_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
18765 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_PyObj_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
18766 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_OCCITAN
));
18767 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ORIYA
));
18768 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_PyObj_FromInt((int)wxLANGUAGE_OROMO
));
18769 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_PyObj_FromInt((int)wxLANGUAGE_PASHTO
));
18770 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_POLISH
));
18771 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_PORTUGUESE
));
18772 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
18773 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_PyObj_FromInt((int)wxLANGUAGE_PUNJABI
));
18774 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_PyObj_FromInt((int)wxLANGUAGE_QUECHUA
));
18775 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_PyObj_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
18776 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ROMANIAN
));
18777 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_RUSSIAN
));
18778 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_PyObj_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
18779 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SAMOAN
));
18780 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_PyObj_FromInt((int)wxLANGUAGE_SANGHO
));
18781 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_PyObj_FromInt((int)wxLANGUAGE_SANSKRIT
));
18782 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
18783 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBIAN
));
18784 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
18785 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
18786 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
18787 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_PyObj_FromInt((int)wxLANGUAGE_SESOTHO
));
18788 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SETSWANA
));
18789 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SHONA
));
18790 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SINDHI
));
18791 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_SINHALESE
));
18792 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SISWATI
));
18793 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_PyObj_FromInt((int)wxLANGUAGE_SLOVAK
));
18794 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SLOVENIAN
));
18795 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SOMALI
));
18796 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH
));
18797 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
18798 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
18799 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
18800 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
18801 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
18802 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
18803 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
18804 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
18805 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
18806 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
18807 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
18808 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
18809 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
18810 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
18811 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
18812 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
18813 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
18814 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
18815 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_US
));
18816 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
18817 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_SUNDANESE
));
18818 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SWAHILI
));
18819 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_SWEDISH
));
18820 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_PyObj_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
18821 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_PyObj_FromInt((int)wxLANGUAGE_TAGALOG
));
18822 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_PyObj_FromInt((int)wxLANGUAGE_TAJIK
));
18823 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_PyObj_FromInt((int)wxLANGUAGE_TAMIL
));
18824 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_PyObj_FromInt((int)wxLANGUAGE_TATAR
));
18825 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_PyObj_FromInt((int)wxLANGUAGE_TELUGU
));
18826 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_PyObj_FromInt((int)wxLANGUAGE_THAI
));
18827 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_TIBETAN
));
18828 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_PyObj_FromInt((int)wxLANGUAGE_TIGRINYA
));
18829 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_PyObj_FromInt((int)wxLANGUAGE_TONGA
));
18830 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_PyObj_FromInt((int)wxLANGUAGE_TSONGA
));
18831 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_TURKISH
));
18832 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_PyObj_FromInt((int)wxLANGUAGE_TURKMEN
));
18833 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_PyObj_FromInt((int)wxLANGUAGE_TWI
));
18834 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_PyObj_FromInt((int)wxLANGUAGE_UIGHUR
));
18835 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_UKRAINIAN
));
18836 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_PyObj_FromInt((int)wxLANGUAGE_URDU
));
18837 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_URDU_INDIA
));
18838 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
18839 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_PyObj_FromInt((int)wxLANGUAGE_UZBEK
));
18840 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
18841 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
18842 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_VIETNAMESE
));
18843 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_PyObj_FromInt((int)wxLANGUAGE_VOLAPUK
));
18844 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_PyObj_FromInt((int)wxLANGUAGE_WELSH
));
18845 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_PyObj_FromInt((int)wxLANGUAGE_WOLOF
));
18846 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_PyObj_FromInt((int)wxLANGUAGE_XHOSA
));
18847 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_YIDDISH
));
18848 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_PyObj_FromInt((int)wxLANGUAGE_YORUBA
));
18849 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_PyObj_FromInt((int)wxLANGUAGE_ZHUANG
));
18850 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_PyObj_FromInt((int)wxLANGUAGE_ZULU
));
18851 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_PyObj_FromInt((int)wxLANGUAGE_USER_DEFINED
));
18852 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_NUMBER
));
18853 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_DATE
));
18854 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_MONEY
));
18855 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_MAX
));
18856 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_PyObj_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
18857 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_PyObj_FromInt((int)wxLOCALE_DECIMAL_POINT
));
18858 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_PyObj_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
18859 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_PyObj_FromInt((int)wxLOCALE_CONV_ENCODING
));
18860 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_PyObj_FromInt((int)wxCONVERT_STRICT
));
18861 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_PyObj_FromInt((int)wxCONVERT_SUBSTITUTE
));
18862 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_PyObj_FromInt((int)wxPLATFORM_CURRENT
));
18863 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_PyObj_FromInt((int)wxPLATFORM_UNIX
));
18864 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_PyObj_FromInt((int)wxPLATFORM_WINDOWS
));
18865 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_PyObj_FromInt((int)wxPLATFORM_OS2
));
18866 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_PyObj_FromInt((int)wxPLATFORM_MAC
));
18867 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
18868 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
18869 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
18870 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
18871 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_PyObj_FromInt((int)wxIMAGE_LIST_NORMAL
));
18872 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_PyObj_FromInt((int)wxIMAGE_LIST_SMALL
));
18873 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_PyObj_FromInt((int)wxIMAGE_LIST_STATE
));
18874 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
18875 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
18876 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
18877 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
18878 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
18879 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
18880 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
18881 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
18882 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
18883 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
18884 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
18885 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
18886 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
18887 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
18888 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
18889 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
18890 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
18891 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
18892 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
18893 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
18894 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
18895 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
18896 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
18897 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
18898 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
18899 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
18900 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
18901 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
18902 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
18903 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
18904 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
18905 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
18906 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
18907 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
18908 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
18909 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
18910 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
18911 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
18912 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
18913 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
18914 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
18915 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
18916 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
18917 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
18918 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
18919 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
18920 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
18922 // Work around a chicken/egg problem in drawlist.cpp
18923 wxPyDrawList_SetAPIPtr();