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 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
661 self
->GetPartialTextExtents(text
, widths
);
664 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
665 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
667 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
668 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
670 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
671 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
673 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
674 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
676 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
677 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
679 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
680 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
683 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
694 class wxMetaFile
: public wxObject
{
696 wxMetaFile(const wxString
&)
697 { wxPyRaiseNotImplemented(); }
700 class wxMetaFileDC
: public wxClientDC
{
702 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
703 { wxPyRaiseNotImplemented(); }
708 class wxPrinterDC
: public wxClientDC
{
710 wxPrinterDC(const wxPrintData
&)
711 { wxPyRaiseNotImplemented(); }
713 // wxPrinterDC(const wxString&, const wxString&, const wxString&, bool, int)
714 // { wxPyRaiseNotImplemented(); }
719 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
720 self
->AddColour(name
, wxColour(red
, green
, blue
));
723 #include <wx/effects.h>
728 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
738 result
= (wxGDIObject
*)new wxGDIObject();
740 wxPyEndAllowThreads(__tstate
);
741 if (PyErr_Occurred()) SWIG_fail
;
743 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGDIObject
, 1);
750 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
752 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
753 PyObject
* obj0
= 0 ;
755 (char *) "self", NULL
758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
764 wxPyEndAllowThreads(__tstate
);
765 if (PyErr_Occurred()) SWIG_fail
;
767 Py_INCREF(Py_None
); resultobj
= Py_None
;
774 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
776 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
778 PyObject
* obj0
= 0 ;
780 (char *) "self", NULL
783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
787 result
= (bool)(arg1
)->GetVisible();
789 wxPyEndAllowThreads(__tstate
);
790 if (PyErr_Occurred()) SWIG_fail
;
792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
799 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
801 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
803 PyObject
* obj0
= 0 ;
804 PyObject
* obj1
= 0 ;
806 (char *) "self",(char *) "visible", NULL
809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
812 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
813 if (PyErr_Occurred()) SWIG_fail
;
816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
817 (arg1
)->SetVisible(arg2
);
819 wxPyEndAllowThreads(__tstate
);
820 if (PyErr_Occurred()) SWIG_fail
;
822 Py_INCREF(Py_None
); resultobj
= Py_None
;
829 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
831 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
833 PyObject
* obj0
= 0 ;
835 (char *) "self", NULL
838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
842 result
= (bool)(arg1
)->IsNull();
844 wxPyEndAllowThreads(__tstate
);
845 if (PyErr_Occurred()) SWIG_fail
;
847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
854 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
857 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
859 return Py_BuildValue((char *)"");
861 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
863 unsigned char arg1
= (unsigned char) 0 ;
864 unsigned char arg2
= (unsigned char) 0 ;
865 unsigned char arg3
= (unsigned char) 0 ;
867 PyObject
* obj0
= 0 ;
868 PyObject
* obj1
= 0 ;
869 PyObject
* obj2
= 0 ;
871 (char *) "red",(char *) "green",(char *) "blue", NULL
874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
877 arg1
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj0
);
878 if (PyErr_Occurred()) SWIG_fail
;
883 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
884 if (PyErr_Occurred()) SWIG_fail
;
889 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
890 if (PyErr_Occurred()) SWIG_fail
;
894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
895 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
897 wxPyEndAllowThreads(__tstate
);
898 if (PyErr_Occurred()) SWIG_fail
;
900 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
907 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
909 wxColour
*arg1
= (wxColour
*) 0 ;
910 PyObject
* obj0
= 0 ;
912 (char *) "self", NULL
915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
921 wxPyEndAllowThreads(__tstate
);
922 if (PyErr_Occurred()) SWIG_fail
;
924 Py_INCREF(Py_None
); resultobj
= Py_None
;
931 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
936 PyObject
* obj0
= 0 ;
938 (char *) "colorName", NULL
941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
943 arg1
= wxString_in_helper(obj0
);
944 if (arg1
== NULL
) SWIG_fail
;
948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
949 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
951 wxPyEndAllowThreads(__tstate
);
952 if (PyErr_Occurred()) SWIG_fail
;
954 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
969 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
973 PyObject
* obj0
= 0 ;
975 (char *) "colRGB", NULL
978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
980 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
981 if (PyErr_Occurred()) SWIG_fail
;
984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
985 result
= (wxColour
*)new wxColour(arg1
);
987 wxPyEndAllowThreads(__tstate
);
988 if (PyErr_Occurred()) SWIG_fail
;
990 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
997 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
999 wxColour
*arg1
= (wxColour
*) 0 ;
1000 unsigned char result
;
1001 PyObject
* obj0
= 0 ;
1003 (char *) "self", NULL
1006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1010 result
= (unsigned char)(arg1
)->Red();
1012 wxPyEndAllowThreads(__tstate
);
1013 if (PyErr_Occurred()) SWIG_fail
;
1015 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
1022 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1023 PyObject
*resultobj
;
1024 wxColour
*arg1
= (wxColour
*) 0 ;
1025 unsigned char result
;
1026 PyObject
* obj0
= 0 ;
1028 (char *) "self", NULL
1031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1035 result
= (unsigned char)(arg1
)->Green();
1037 wxPyEndAllowThreads(__tstate
);
1038 if (PyErr_Occurred()) SWIG_fail
;
1040 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
1047 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1048 PyObject
*resultobj
;
1049 wxColour
*arg1
= (wxColour
*) 0 ;
1050 unsigned char result
;
1051 PyObject
* obj0
= 0 ;
1053 (char *) "self", NULL
1056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1060 result
= (unsigned char)(arg1
)->Blue();
1062 wxPyEndAllowThreads(__tstate
);
1063 if (PyErr_Occurred()) SWIG_fail
;
1065 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
1072 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1073 PyObject
*resultobj
;
1074 wxColour
*arg1
= (wxColour
*) 0 ;
1076 PyObject
* obj0
= 0 ;
1078 (char *) "self", NULL
1081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1085 result
= (bool)(arg1
)->Ok();
1087 wxPyEndAllowThreads(__tstate
);
1088 if (PyErr_Occurred()) SWIG_fail
;
1090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1097 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1098 PyObject
*resultobj
;
1099 wxColour
*arg1
= (wxColour
*) 0 ;
1100 unsigned char arg2
;
1101 unsigned char arg3
;
1102 unsigned char arg4
;
1103 PyObject
* obj0
= 0 ;
1104 PyObject
* obj1
= 0 ;
1105 PyObject
* obj2
= 0 ;
1106 PyObject
* obj3
= 0 ;
1108 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1114 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
1115 if (PyErr_Occurred()) SWIG_fail
;
1118 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
1119 if (PyErr_Occurred()) SWIG_fail
;
1122 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
1123 if (PyErr_Occurred()) SWIG_fail
;
1126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1127 (arg1
)->Set(arg2
,arg3
,arg4
);
1129 wxPyEndAllowThreads(__tstate
);
1130 if (PyErr_Occurred()) SWIG_fail
;
1132 Py_INCREF(Py_None
); resultobj
= Py_None
;
1139 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1140 PyObject
*resultobj
;
1141 wxColour
*arg1
= (wxColour
*) 0 ;
1142 unsigned long arg2
;
1143 PyObject
* obj0
= 0 ;
1144 PyObject
* obj1
= 0 ;
1146 (char *) "self",(char *) "colRGB", NULL
1149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1152 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
1153 if (PyErr_Occurred()) SWIG_fail
;
1156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1159 wxPyEndAllowThreads(__tstate
);
1160 if (PyErr_Occurred()) SWIG_fail
;
1162 Py_INCREF(Py_None
); resultobj
= Py_None
;
1169 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1170 PyObject
*resultobj
;
1171 wxColour
*arg1
= (wxColour
*) 0 ;
1172 wxColour
*arg2
= 0 ;
1175 PyObject
* obj0
= 0 ;
1176 PyObject
* obj1
= 0 ;
1178 (char *) "self",(char *) "colour", NULL
1181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1185 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1189 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1191 wxPyEndAllowThreads(__tstate
);
1192 if (PyErr_Occurred()) SWIG_fail
;
1194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1201 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1202 PyObject
*resultobj
;
1203 wxColour
*arg1
= (wxColour
*) 0 ;
1204 wxColour
*arg2
= 0 ;
1207 PyObject
* obj0
= 0 ;
1208 PyObject
* obj1
= 0 ;
1210 (char *) "self",(char *) "colour", NULL
1213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1217 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1221 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1223 wxPyEndAllowThreads(__tstate
);
1224 if (PyErr_Occurred()) SWIG_fail
;
1226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1233 static PyObject
*_wrap_Colour_InitFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1234 PyObject
*resultobj
;
1235 wxColour
*arg1
= (wxColour
*) 0 ;
1236 wxString
*arg2
= 0 ;
1237 bool temp2
= False
;
1238 PyObject
* obj0
= 0 ;
1239 PyObject
* obj1
= 0 ;
1241 (char *) "self",(char *) "colourName", NULL
1244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_InitFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1247 arg2
= wxString_in_helper(obj1
);
1248 if (arg2
== NULL
) SWIG_fail
;
1252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1253 (arg1
)->InitFromName((wxString
const &)*arg2
);
1255 wxPyEndAllowThreads(__tstate
);
1256 if (PyErr_Occurred()) SWIG_fail
;
1258 Py_INCREF(Py_None
); resultobj
= Py_None
;
1273 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1274 PyObject
*resultobj
;
1275 wxColour
*arg1
= (wxColour
*) 0 ;
1277 PyObject
* obj0
= 0 ;
1279 (char *) "self", NULL
1282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1286 result
= (PyObject
*)wxColour_Get(arg1
);
1288 wxPyEndAllowThreads(__tstate
);
1289 if (PyErr_Occurred()) SWIG_fail
;
1298 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1301 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1303 return Py_BuildValue((char *)"");
1305 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1306 PyObject
*resultobj
;
1308 unsigned char *arg2
= (unsigned char *) 0 ;
1309 unsigned char *arg3
= (unsigned char *) 0 ;
1310 unsigned char *arg4
= (unsigned char *) 0 ;
1312 PyObject
* obj0
= 0 ;
1313 PyObject
* obj1
= 0 ;
1314 PyObject
* obj2
= 0 ;
1315 PyObject
* obj3
= 0 ;
1317 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1322 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
1323 if (PyErr_Occurred()) SWIG_fail
;
1325 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1326 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1327 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1330 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1332 wxPyEndAllowThreads(__tstate
);
1333 if (PyErr_Occurred()) SWIG_fail
;
1335 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPalette
, 1);
1342 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1343 PyObject
*resultobj
;
1344 wxPalette
*arg1
= (wxPalette
*) 0 ;
1345 PyObject
* obj0
= 0 ;
1347 (char *) "self", NULL
1350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1356 wxPyEndAllowThreads(__tstate
);
1357 if (PyErr_Occurred()) SWIG_fail
;
1359 Py_INCREF(Py_None
); resultobj
= Py_None
;
1366 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
*resultobj
;
1368 wxPalette
*arg1
= (wxPalette
*) 0 ;
1373 PyObject
* obj0
= 0 ;
1374 PyObject
* obj1
= 0 ;
1375 PyObject
* obj2
= 0 ;
1376 PyObject
* obj3
= 0 ;
1378 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1384 arg2
= (byte
) SWIG_PyObj_AsUnsignedChar(obj1
);
1385 if (PyErr_Occurred()) SWIG_fail
;
1388 arg3
= (byte
) SWIG_PyObj_AsUnsignedChar(obj2
);
1389 if (PyErr_Occurred()) SWIG_fail
;
1392 arg4
= (byte
) SWIG_PyObj_AsUnsignedChar(obj3
);
1393 if (PyErr_Occurred()) SWIG_fail
;
1396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1397 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1399 wxPyEndAllowThreads(__tstate
);
1400 if (PyErr_Occurred()) SWIG_fail
;
1402 resultobj
= SWIG_PyObj_FromInt((int)result
);
1409 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1410 PyObject
*resultobj
;
1411 wxPalette
*arg1
= (wxPalette
*) 0 ;
1413 byte
*arg3
= (byte
*) 0 ;
1414 byte
*arg4
= (byte
*) 0 ;
1415 byte
*arg5
= (byte
*) 0 ;
1420 PyObject
* obj0
= 0 ;
1421 PyObject
* obj1
= 0 ;
1423 (char *) "self",(char *) "pixel", NULL
1429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1432 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1433 if (PyErr_Occurred()) SWIG_fail
;
1436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1437 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1439 wxPyEndAllowThreads(__tstate
);
1440 if (PyErr_Occurred()) SWIG_fail
;
1442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1444 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1445 resultobj
= t_output_helper(resultobj
,o
);
1448 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1449 resultobj
= t_output_helper(resultobj
,o
);
1452 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1453 resultobj
= t_output_helper(resultobj
,o
);
1461 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1462 PyObject
*resultobj
;
1463 wxPalette
*arg1
= (wxPalette
*) 0 ;
1465 PyObject
* obj0
= 0 ;
1467 (char *) "self", NULL
1470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1474 result
= (bool)(arg1
)->Ok();
1476 wxPyEndAllowThreads(__tstate
);
1477 if (PyErr_Occurred()) SWIG_fail
;
1479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1486 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1489 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1491 return Py_BuildValue((char *)"");
1493 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1494 PyObject
*resultobj
;
1495 wxColour
*arg1
= 0 ;
1496 int arg2
= (int) 1 ;
1497 int arg3
= (int) wxSOLID
;
1500 PyObject
* obj0
= 0 ;
1501 PyObject
* obj1
= 0 ;
1502 PyObject
* obj2
= 0 ;
1504 (char *) "colour",(char *) "width",(char *) "style", NULL
1507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1510 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1514 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1515 if (PyErr_Occurred()) SWIG_fail
;
1520 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1521 if (PyErr_Occurred()) SWIG_fail
;
1525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1526 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1528 wxPyEndAllowThreads(__tstate
);
1529 if (PyErr_Occurred()) SWIG_fail
;
1531 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 1);
1538 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1539 PyObject
*resultobj
;
1540 wxPen
*arg1
= (wxPen
*) 0 ;
1541 PyObject
* obj0
= 0 ;
1543 (char *) "self", NULL
1546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1552 wxPyEndAllowThreads(__tstate
);
1553 if (PyErr_Occurred()) SWIG_fail
;
1555 Py_INCREF(Py_None
); resultobj
= Py_None
;
1562 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1563 PyObject
*resultobj
;
1564 wxPen
*arg1
= (wxPen
*) 0 ;
1566 PyObject
* obj0
= 0 ;
1568 (char *) "self", NULL
1571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1575 result
= (int)(arg1
)->GetCap();
1577 wxPyEndAllowThreads(__tstate
);
1578 if (PyErr_Occurred()) SWIG_fail
;
1580 resultobj
= SWIG_PyObj_FromInt((int)result
);
1587 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
*resultobj
;
1589 wxPen
*arg1
= (wxPen
*) 0 ;
1591 PyObject
* obj0
= 0 ;
1593 (char *) "self", NULL
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1600 result
= (arg1
)->GetColour();
1602 wxPyEndAllowThreads(__tstate
);
1603 if (PyErr_Occurred()) SWIG_fail
;
1606 wxColour
* resultptr
;
1607 resultptr
= new wxColour((wxColour
&) result
);
1608 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1616 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
*resultobj
;
1618 wxPen
*arg1
= (wxPen
*) 0 ;
1620 PyObject
* obj0
= 0 ;
1622 (char *) "self", NULL
1625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1629 result
= (int)(arg1
)->GetJoin();
1631 wxPyEndAllowThreads(__tstate
);
1632 if (PyErr_Occurred()) SWIG_fail
;
1634 resultobj
= SWIG_PyObj_FromInt((int)result
);
1641 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1642 PyObject
*resultobj
;
1643 wxPen
*arg1
= (wxPen
*) 0 ;
1645 PyObject
* obj0
= 0 ;
1647 (char *) "self", NULL
1650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1654 result
= (int)(arg1
)->GetStyle();
1656 wxPyEndAllowThreads(__tstate
);
1657 if (PyErr_Occurred()) SWIG_fail
;
1659 resultobj
= SWIG_PyObj_FromInt((int)result
);
1666 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
*resultobj
;
1668 wxPen
*arg1
= (wxPen
*) 0 ;
1670 PyObject
* obj0
= 0 ;
1672 (char *) "self", NULL
1675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1679 result
= (int)(arg1
)->GetWidth();
1681 wxPyEndAllowThreads(__tstate
);
1682 if (PyErr_Occurred()) SWIG_fail
;
1684 resultobj
= SWIG_PyObj_FromInt((int)result
);
1691 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1692 PyObject
*resultobj
;
1693 wxPen
*arg1
= (wxPen
*) 0 ;
1695 PyObject
* obj0
= 0 ;
1697 (char *) "self", NULL
1700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1704 result
= (bool)(arg1
)->Ok();
1706 wxPyEndAllowThreads(__tstate
);
1707 if (PyErr_Occurred()) SWIG_fail
;
1709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1716 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1717 PyObject
*resultobj
;
1718 wxPen
*arg1
= (wxPen
*) 0 ;
1720 PyObject
* obj0
= 0 ;
1721 PyObject
* obj1
= 0 ;
1723 (char *) "self",(char *) "cap_style", NULL
1726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1729 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1730 if (PyErr_Occurred()) SWIG_fail
;
1733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1734 (arg1
)->SetCap(arg2
);
1736 wxPyEndAllowThreads(__tstate
);
1737 if (PyErr_Occurred()) SWIG_fail
;
1739 Py_INCREF(Py_None
); resultobj
= Py_None
;
1746 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1747 PyObject
*resultobj
;
1748 wxPen
*arg1
= (wxPen
*) 0 ;
1749 wxColour
*arg2
= 0 ;
1751 PyObject
* obj0
= 0 ;
1752 PyObject
* obj1
= 0 ;
1754 (char *) "self",(char *) "colour", NULL
1757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1761 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1765 (arg1
)->SetColour(*arg2
);
1767 wxPyEndAllowThreads(__tstate
);
1768 if (PyErr_Occurred()) SWIG_fail
;
1770 Py_INCREF(Py_None
); resultobj
= Py_None
;
1777 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1778 PyObject
*resultobj
;
1779 wxPen
*arg1
= (wxPen
*) 0 ;
1781 PyObject
* obj0
= 0 ;
1782 PyObject
* obj1
= 0 ;
1784 (char *) "self",(char *) "join_style", NULL
1787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
1788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1790 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1791 if (PyErr_Occurred()) SWIG_fail
;
1794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1795 (arg1
)->SetJoin(arg2
);
1797 wxPyEndAllowThreads(__tstate
);
1798 if (PyErr_Occurred()) SWIG_fail
;
1800 Py_INCREF(Py_None
); resultobj
= Py_None
;
1807 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
*resultobj
;
1809 wxPen
*arg1
= (wxPen
*) 0 ;
1811 PyObject
* obj0
= 0 ;
1812 PyObject
* obj1
= 0 ;
1814 (char *) "self",(char *) "style", NULL
1817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
1818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1820 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1821 if (PyErr_Occurred()) SWIG_fail
;
1824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1825 (arg1
)->SetStyle(arg2
);
1827 wxPyEndAllowThreads(__tstate
);
1828 if (PyErr_Occurred()) SWIG_fail
;
1830 Py_INCREF(Py_None
); resultobj
= Py_None
;
1837 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
*resultobj
;
1839 wxPen
*arg1
= (wxPen
*) 0 ;
1841 PyObject
* obj0
= 0 ;
1842 PyObject
* obj1
= 0 ;
1844 (char *) "self",(char *) "width", NULL
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
1848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1850 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1851 if (PyErr_Occurred()) SWIG_fail
;
1854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1855 (arg1
)->SetWidth(arg2
);
1857 wxPyEndAllowThreads(__tstate
);
1858 if (PyErr_Occurred()) SWIG_fail
;
1860 Py_INCREF(Py_None
); resultobj
= Py_None
;
1867 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
*resultobj
;
1869 wxPen
*arg1
= (wxPen
*) 0 ;
1871 wxDash
*arg3
= (wxDash
*) 0 ;
1872 PyObject
* obj0
= 0 ;
1873 PyObject
* obj1
= 0 ;
1875 (char *) "self",(char *) "dashes", NULL
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
1879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1881 arg2
= PyList_Size(obj1
);
1882 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
1883 if (arg3
== NULL
) SWIG_fail
;
1886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1887 (arg1
)->SetDashes(arg2
,arg3
);
1889 wxPyEndAllowThreads(__tstate
);
1890 if (PyErr_Occurred()) SWIG_fail
;
1892 Py_INCREF(Py_None
); resultobj
= Py_None
;
1894 if (arg3
) delete [] arg3
;
1899 if (arg3
) delete [] arg3
;
1905 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
*resultobj
;
1907 wxPen
*arg1
= (wxPen
*) 0 ;
1909 PyObject
* obj0
= 0 ;
1911 (char *) "self", NULL
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
1915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1918 result
= (PyObject
*)wxPen_GetDashes(arg1
);
1920 wxPyEndAllowThreads(__tstate
);
1921 if (PyErr_Occurred()) SWIG_fail
;
1930 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1931 PyObject
*resultobj
;
1932 wxPen
*arg1
= (wxPen
*) 0 ;
1935 PyObject
* obj0
= 0 ;
1936 PyObject
* obj1
= 0 ;
1938 (char *) "self",(char *) "pen", NULL
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1943 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1945 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1949 result
= (bool)((wxPen
const *)arg1
)->operator ==((wxPen
const &)*arg2
);
1951 wxPyEndAllowThreads(__tstate
);
1952 if (PyErr_Occurred()) SWIG_fail
;
1954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1961 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1962 PyObject
*resultobj
;
1963 wxPen
*arg1
= (wxPen
*) 0 ;
1965 PyObject
* obj0
= 0 ;
1967 (char *) "self", NULL
1970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
1971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1974 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
1976 wxPyEndAllowThreads(__tstate
);
1977 if (PyErr_Occurred()) SWIG_fail
;
1979 resultobj
= SWIG_PyObj_FromInt((int)result
);
1986 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
1988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1989 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
1991 return Py_BuildValue((char *)"");
1993 static PyObject
*_wrap_new_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1994 PyObject
*resultobj
;
1995 wxColour
*arg1
= 0 ;
1996 int arg2
= (int) 1 ;
1997 int arg3
= (int) wxSOLID
;
2000 PyObject
* obj0
= 0 ;
2001 PyObject
* obj1
= 0 ;
2002 PyObject
* obj2
= 0 ;
2004 (char *) "colour",(char *) "width",(char *) "style", NULL
2007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_PyPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2010 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2014 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2015 if (PyErr_Occurred()) SWIG_fail
;
2020 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2021 if (PyErr_Occurred()) SWIG_fail
;
2025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2026 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
2028 wxPyEndAllowThreads(__tstate
);
2029 if (PyErr_Occurred()) SWIG_fail
;
2031 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPen
, 1);
2038 static PyObject
*_wrap_delete_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2039 PyObject
*resultobj
;
2040 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2041 PyObject
* obj0
= 0 ;
2043 (char *) "self", NULL
2046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
2047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2052 wxPyEndAllowThreads(__tstate
);
2053 if (PyErr_Occurred()) SWIG_fail
;
2055 Py_INCREF(Py_None
); resultobj
= Py_None
;
2062 static PyObject
*_wrap_PyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
*resultobj
;
2064 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2066 wxDash
*arg3
= (wxDash
*) 0 ;
2067 PyObject
* obj0
= 0 ;
2068 PyObject
* obj1
= 0 ;
2070 (char *) "self",(char *) "dashes", NULL
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2076 arg2
= PyList_Size(obj1
);
2077 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2078 if (arg3
== NULL
) SWIG_fail
;
2081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2082 (arg1
)->SetDashes(arg2
,arg3
);
2084 wxPyEndAllowThreads(__tstate
);
2085 if (PyErr_Occurred()) SWIG_fail
;
2087 Py_INCREF(Py_None
); resultobj
= Py_None
;
2089 if (arg3
) delete [] arg3
;
2094 if (arg3
) delete [] arg3
;
2100 static PyObject
* PyPen_swigregister(PyObject
*self
, PyObject
*args
) {
2102 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2103 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
2105 return Py_BuildValue((char *)"");
2107 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2108 PyObject
*resultobj
;
2109 wxColour
*arg1
= 0 ;
2110 int arg2
= (int) wxSOLID
;
2113 PyObject
* obj0
= 0 ;
2114 PyObject
* obj1
= 0 ;
2116 (char *) "colour",(char *) "style", NULL
2119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2122 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2126 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2127 if (PyErr_Occurred()) SWIG_fail
;
2131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2132 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2134 wxPyEndAllowThreads(__tstate
);
2135 if (PyErr_Occurred()) SWIG_fail
;
2137 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 1);
2144 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2145 PyObject
*resultobj
;
2146 wxBrush
*arg1
= (wxBrush
*) 0 ;
2147 PyObject
* obj0
= 0 ;
2149 (char *) "self", NULL
2152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2158 wxPyEndAllowThreads(__tstate
);
2159 if (PyErr_Occurred()) SWIG_fail
;
2161 Py_INCREF(Py_None
); resultobj
= Py_None
;
2168 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2169 PyObject
*resultobj
;
2170 wxBrush
*arg1
= (wxBrush
*) 0 ;
2171 wxColour
*arg2
= 0 ;
2173 PyObject
* obj0
= 0 ;
2174 PyObject
* obj1
= 0 ;
2176 (char *) "self",(char *) "col", NULL
2179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2183 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2187 (arg1
)->SetColour((wxColour
const &)*arg2
);
2189 wxPyEndAllowThreads(__tstate
);
2190 if (PyErr_Occurred()) SWIG_fail
;
2192 Py_INCREF(Py_None
); resultobj
= Py_None
;
2199 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2200 PyObject
*resultobj
;
2201 wxBrush
*arg1
= (wxBrush
*) 0 ;
2203 PyObject
* obj0
= 0 ;
2204 PyObject
* obj1
= 0 ;
2206 (char *) "self",(char *) "style", NULL
2209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2212 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2213 if (PyErr_Occurred()) SWIG_fail
;
2216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2217 (arg1
)->SetStyle(arg2
);
2219 wxPyEndAllowThreads(__tstate
);
2220 if (PyErr_Occurred()) SWIG_fail
;
2222 Py_INCREF(Py_None
); resultobj
= Py_None
;
2229 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2230 PyObject
*resultobj
;
2231 wxBrush
*arg1
= (wxBrush
*) 0 ;
2232 wxBitmap
*arg2
= 0 ;
2233 PyObject
* obj0
= 0 ;
2234 PyObject
* obj1
= 0 ;
2236 (char *) "self",(char *) "stipple", NULL
2239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2241 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2243 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2247 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2249 wxPyEndAllowThreads(__tstate
);
2250 if (PyErr_Occurred()) SWIG_fail
;
2252 Py_INCREF(Py_None
); resultobj
= Py_None
;
2259 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
*resultobj
;
2261 wxBrush
*arg1
= (wxBrush
*) 0 ;
2263 PyObject
* obj0
= 0 ;
2265 (char *) "self", NULL
2268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2272 result
= ((wxBrush
const *)arg1
)->GetColour();
2274 wxPyEndAllowThreads(__tstate
);
2275 if (PyErr_Occurred()) SWIG_fail
;
2278 wxColour
* resultptr
;
2279 resultptr
= new wxColour((wxColour
&) result
);
2280 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
2288 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2289 PyObject
*resultobj
;
2290 wxBrush
*arg1
= (wxBrush
*) 0 ;
2292 PyObject
* obj0
= 0 ;
2294 (char *) "self", NULL
2297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2301 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2303 wxPyEndAllowThreads(__tstate
);
2304 if (PyErr_Occurred()) SWIG_fail
;
2306 resultobj
= SWIG_PyObj_FromInt((int)result
);
2313 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
*resultobj
;
2315 wxBrush
*arg1
= (wxBrush
*) 0 ;
2317 PyObject
* obj0
= 0 ;
2319 (char *) "self", NULL
2322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) SWIG_fail
;
2331 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
2338 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2339 PyObject
*resultobj
;
2340 wxBrush
*arg1
= (wxBrush
*) 0 ;
2342 PyObject
* obj0
= 0 ;
2344 (char *) "self", NULL
2347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2351 result
= (bool)(arg1
)->Ok();
2353 wxPyEndAllowThreads(__tstate
);
2354 if (PyErr_Occurred()) SWIG_fail
;
2356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2363 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2365 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2366 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2368 return Py_BuildValue((char *)"");
2370 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2371 PyObject
*resultobj
;
2372 wxString
*arg1
= 0 ;
2373 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2375 bool temp1
= False
;
2376 PyObject
* obj0
= 0 ;
2377 PyObject
* obj1
= 0 ;
2379 (char *) "name",(char *) "type", NULL
2382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2384 arg1
= wxString_in_helper(obj0
);
2385 if (arg1
== NULL
) SWIG_fail
;
2390 arg2
= (wxBitmapType
) SWIG_PyObj_AsInt(obj1
);
2391 if (PyErr_Occurred()) SWIG_fail
;
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) SWIG_fail
;
2401 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2416 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2417 PyObject
*resultobj
;
2418 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2419 PyObject
* obj0
= 0 ;
2421 (char *) "self", NULL
2424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2430 wxPyEndAllowThreads(__tstate
);
2431 if (PyErr_Occurred()) SWIG_fail
;
2433 Py_INCREF(Py_None
); resultobj
= Py_None
;
2440 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2441 PyObject
*resultobj
;
2444 int arg3
= (int) -1 ;
2446 PyObject
* obj0
= 0 ;
2447 PyObject
* obj1
= 0 ;
2448 PyObject
* obj2
= 0 ;
2450 (char *) "width",(char *) "height",(char *) "depth", NULL
2453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2455 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
2456 if (PyErr_Occurred()) SWIG_fail
;
2459 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2460 if (PyErr_Occurred()) SWIG_fail
;
2464 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2465 if (PyErr_Occurred()) SWIG_fail
;
2469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2470 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2472 wxPyEndAllowThreads(__tstate
);
2473 if (PyErr_Occurred()) SWIG_fail
;
2475 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2482 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2483 PyObject
*resultobj
;
2486 PyObject
* obj0
= 0 ;
2488 (char *) "icon", NULL
2491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2494 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2498 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2500 wxPyEndAllowThreads(__tstate
);
2501 if (PyErr_Occurred()) SWIG_fail
;
2503 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2510 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2511 PyObject
*resultobj
;
2513 int arg2
= (int) -1 ;
2515 PyObject
* obj0
= 0 ;
2516 PyObject
* obj1
= 0 ;
2518 (char *) "image",(char *) "depth", NULL
2521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2524 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2528 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2529 if (PyErr_Occurred()) SWIG_fail
;
2533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2534 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2536 wxPyEndAllowThreads(__tstate
);
2537 if (PyErr_Occurred()) SWIG_fail
;
2539 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2546 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
*resultobj
;
2548 PyObject
*arg1
= (PyObject
*) 0 ;
2550 PyObject
* obj0
= 0 ;
2552 (char *) "listOfStrings", NULL
2555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2559 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2561 wxPyEndAllowThreads(__tstate
);
2562 if (PyErr_Occurred()) SWIG_fail
;
2564 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2571 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
*resultobj
;
2573 PyObject
*arg1
= (PyObject
*) 0 ;
2576 int arg4
= (int) 1 ;
2578 PyObject
* obj0
= 0 ;
2579 PyObject
* obj1
= 0 ;
2580 PyObject
* obj2
= 0 ;
2581 PyObject
* obj3
= 0 ;
2583 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2589 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2590 if (PyErr_Occurred()) SWIG_fail
;
2593 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2594 if (PyErr_Occurred()) SWIG_fail
;
2598 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2599 if (PyErr_Occurred()) SWIG_fail
;
2603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2604 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2606 wxPyEndAllowThreads(__tstate
);
2607 if (PyErr_Occurred()) SWIG_fail
;
2609 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2616 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2617 PyObject
*resultobj
;
2618 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2620 PyObject
* obj0
= 0 ;
2622 (char *) "self", NULL
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2629 result
= (bool)(arg1
)->Ok();
2631 wxPyEndAllowThreads(__tstate
);
2632 if (PyErr_Occurred()) SWIG_fail
;
2634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2641 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2642 PyObject
*resultobj
;
2643 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2645 PyObject
* obj0
= 0 ;
2647 (char *) "self", NULL
2650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 result
= (int)(arg1
)->GetWidth();
2656 wxPyEndAllowThreads(__tstate
);
2657 if (PyErr_Occurred()) SWIG_fail
;
2659 resultobj
= SWIG_PyObj_FromInt((int)result
);
2666 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
*resultobj
;
2668 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2670 PyObject
* obj0
= 0 ;
2672 (char *) "self", NULL
2675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2679 result
= (int)(arg1
)->GetHeight();
2681 wxPyEndAllowThreads(__tstate
);
2682 if (PyErr_Occurred()) SWIG_fail
;
2684 resultobj
= SWIG_PyObj_FromInt((int)result
);
2691 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2692 PyObject
*resultobj
;
2693 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2695 PyObject
* obj0
= 0 ;
2697 (char *) "self", NULL
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2704 result
= (int)(arg1
)->GetDepth();
2706 wxPyEndAllowThreads(__tstate
);
2707 if (PyErr_Occurred()) SWIG_fail
;
2709 resultobj
= SWIG_PyObj_FromInt((int)result
);
2716 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2717 PyObject
*resultobj
;
2718 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2719 SwigValueWrapper
< wxImage
> result
;
2720 PyObject
* obj0
= 0 ;
2722 (char *) "self", NULL
2725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
2726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2729 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
2731 wxPyEndAllowThreads(__tstate
);
2732 if (PyErr_Occurred()) SWIG_fail
;
2735 wxImage
* resultptr
;
2736 resultptr
= new wxImage((wxImage
&) result
);
2737 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
2745 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2746 PyObject
*resultobj
;
2747 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2749 PyObject
* obj0
= 0 ;
2751 (char *) "self", NULL
2754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
2755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2758 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
2760 wxPyEndAllowThreads(__tstate
);
2761 if (PyErr_Occurred()) SWIG_fail
;
2763 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 0);
2770 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2771 PyObject
*resultobj
;
2772 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2773 wxMask
*arg2
= (wxMask
*) 0 ;
2774 PyObject
* obj0
= 0 ;
2775 PyObject
* obj1
= 0 ;
2777 (char *) "self",(char *) "mask", NULL
2780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
2781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2782 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2785 (arg1
)->SetMask(arg2
);
2787 wxPyEndAllowThreads(__tstate
);
2788 if (PyErr_Occurred()) SWIG_fail
;
2790 Py_INCREF(Py_None
); resultobj
= Py_None
;
2797 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2798 PyObject
*resultobj
;
2799 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2800 wxColour
*arg2
= 0 ;
2802 PyObject
* obj0
= 0 ;
2803 PyObject
* obj1
= 0 ;
2805 (char *) "self",(char *) "colour", NULL
2808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2812 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2816 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
2818 wxPyEndAllowThreads(__tstate
);
2819 if (PyErr_Occurred()) SWIG_fail
;
2821 Py_INCREF(Py_None
); resultobj
= Py_None
;
2828 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
*resultobj
;
2830 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2832 SwigValueWrapper
< wxBitmap
> result
;
2834 PyObject
* obj0
= 0 ;
2835 PyObject
* obj1
= 0 ;
2837 (char *) "self",(char *) "rect", NULL
2840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2844 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2848 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
2850 wxPyEndAllowThreads(__tstate
);
2851 if (PyErr_Occurred()) SWIG_fail
;
2854 wxBitmap
* resultptr
;
2855 resultptr
= new wxBitmap((wxBitmap
&) result
);
2856 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
2864 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2865 PyObject
*resultobj
;
2866 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2867 wxString
*arg2
= 0 ;
2869 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
2871 bool temp2
= False
;
2872 PyObject
* obj0
= 0 ;
2873 PyObject
* obj1
= 0 ;
2874 PyObject
* obj2
= 0 ;
2875 PyObject
* obj3
= 0 ;
2877 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
2880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2883 arg2
= wxString_in_helper(obj1
);
2884 if (arg2
== NULL
) SWIG_fail
;
2888 arg3
= (wxBitmapType
) SWIG_PyObj_AsInt(obj2
);
2889 if (PyErr_Occurred()) SWIG_fail
;
2892 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2896 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
2898 wxPyEndAllowThreads(__tstate
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2916 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
*resultobj
;
2918 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2919 wxString
*arg2
= 0 ;
2922 bool temp2
= False
;
2923 PyObject
* obj0
= 0 ;
2924 PyObject
* obj1
= 0 ;
2925 PyObject
* obj2
= 0 ;
2927 (char *) "self",(char *) "name",(char *) "type", NULL
2930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2933 arg2
= wxString_in_helper(obj1
);
2934 if (arg2
== NULL
) SWIG_fail
;
2938 arg3
= (wxBitmapType
) SWIG_PyObj_AsInt(obj2
);
2939 if (PyErr_Occurred()) SWIG_fail
;
2942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2943 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
2945 wxPyEndAllowThreads(__tstate
);
2946 if (PyErr_Occurred()) SWIG_fail
;
2948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2963 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2964 PyObject
*resultobj
;
2965 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2968 PyObject
* obj0
= 0 ;
2969 PyObject
* obj1
= 0 ;
2971 (char *) "self",(char *) "icon", NULL
2974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2976 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2978 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2982 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
2984 wxPyEndAllowThreads(__tstate
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2994 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2995 PyObject
*resultobj
;
2996 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2998 PyObject
* obj0
= 0 ;
2999 PyObject
* obj1
= 0 ;
3001 (char *) "self",(char *) "height", NULL
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3007 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3008 if (PyErr_Occurred()) SWIG_fail
;
3011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3012 (arg1
)->SetHeight(arg2
);
3014 wxPyEndAllowThreads(__tstate
);
3015 if (PyErr_Occurred()) SWIG_fail
;
3017 Py_INCREF(Py_None
); resultobj
= Py_None
;
3024 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
*resultobj
;
3026 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3028 PyObject
* obj0
= 0 ;
3029 PyObject
* obj1
= 0 ;
3031 (char *) "self",(char *) "width", NULL
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3037 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3038 if (PyErr_Occurred()) SWIG_fail
;
3041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3042 (arg1
)->SetWidth(arg2
);
3044 wxPyEndAllowThreads(__tstate
);
3045 if (PyErr_Occurred()) SWIG_fail
;
3047 Py_INCREF(Py_None
); resultobj
= Py_None
;
3054 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3055 PyObject
*resultobj
;
3056 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3058 PyObject
* obj0
= 0 ;
3059 PyObject
* obj1
= 0 ;
3061 (char *) "self",(char *) "depth", NULL
3064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3067 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3068 if (PyErr_Occurred()) SWIG_fail
;
3071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3072 (arg1
)->SetDepth(arg2
);
3074 wxPyEndAllowThreads(__tstate
);
3075 if (PyErr_Occurred()) SWIG_fail
;
3077 Py_INCREF(Py_None
); resultobj
= Py_None
;
3084 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3087 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3089 return Py_BuildValue((char *)"");
3091 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3092 PyObject
*resultobj
;
3093 wxBitmap
*arg1
= 0 ;
3095 PyObject
* obj0
= 0 ;
3097 (char *) "bitmap", NULL
3100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Mask",kwnames
,&obj0
)) goto fail
;
3101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3103 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3107 result
= (wxMask
*)new wxMask((wxBitmap
const &)*arg1
);
3109 wxPyEndAllowThreads(__tstate
);
3110 if (PyErr_Occurred()) SWIG_fail
;
3112 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 1);
3119 static PyObject
*_wrap_new_MaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3120 PyObject
*resultobj
;
3121 wxBitmap
*arg1
= 0 ;
3122 wxColour
*arg2
= 0 ;
3125 PyObject
* obj0
= 0 ;
3126 PyObject
* obj1
= 0 ;
3128 (char *) "bitmap",(char *) "colour", NULL
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3134 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3138 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3142 result
= (wxMask
*)new wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3144 wxPyEndAllowThreads(__tstate
);
3145 if (PyErr_Occurred()) SWIG_fail
;
3147 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 1);
3154 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3157 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3159 return Py_BuildValue((char *)"");
3161 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
*resultobj
;
3163 wxString
*arg1
= 0 ;
3165 int arg3
= (int) -1 ;
3166 int arg4
= (int) -1 ;
3168 bool temp1
= False
;
3169 PyObject
* obj0
= 0 ;
3170 PyObject
* obj1
= 0 ;
3171 PyObject
* obj2
= 0 ;
3172 PyObject
* obj3
= 0 ;
3174 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3179 arg1
= wxString_in_helper(obj0
);
3180 if (arg1
== NULL
) SWIG_fail
;
3184 arg2
= (wxBitmapType
) SWIG_PyObj_AsInt(obj1
);
3185 if (PyErr_Occurred()) SWIG_fail
;
3189 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3190 if (PyErr_Occurred()) SWIG_fail
;
3195 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
3196 if (PyErr_Occurred()) SWIG_fail
;
3200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3201 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3203 wxPyEndAllowThreads(__tstate
);
3204 if (PyErr_Occurred()) SWIG_fail
;
3206 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3221 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
*resultobj
;
3223 wxIcon
*arg1
= (wxIcon
*) 0 ;
3224 PyObject
* obj0
= 0 ;
3226 (char *) "self", NULL
3229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3235 wxPyEndAllowThreads(__tstate
);
3236 if (PyErr_Occurred()) SWIG_fail
;
3238 Py_INCREF(Py_None
); resultobj
= Py_None
;
3245 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3246 PyObject
*resultobj
;
3252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3255 result
= (wxIcon
*)new wxIcon();
3257 wxPyEndAllowThreads(__tstate
);
3258 if (PyErr_Occurred()) SWIG_fail
;
3260 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3267 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3268 PyObject
*resultobj
;
3269 wxIconLocation
*arg1
= 0 ;
3271 PyObject
* obj0
= 0 ;
3273 (char *) "loc", NULL
3276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3279 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3283 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3285 wxPyEndAllowThreads(__tstate
);
3286 if (PyErr_Occurred()) SWIG_fail
;
3288 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3295 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3296 PyObject
*resultobj
;
3297 wxBitmap
*arg1
= 0 ;
3299 PyObject
* obj0
= 0 ;
3301 (char *) "bmp", NULL
3304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3307 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3311 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3313 wxPyEndAllowThreads(__tstate
);
3314 if (PyErr_Occurred()) SWIG_fail
;
3316 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3323 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3324 PyObject
*resultobj
;
3325 PyObject
*arg1
= (PyObject
*) 0 ;
3327 PyObject
* obj0
= 0 ;
3329 (char *) "listOfStrings", NULL
3332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3336 result
= (wxIcon
*)new_wxIcon(arg1
);
3338 wxPyEndAllowThreads(__tstate
);
3339 if (PyErr_Occurred()) SWIG_fail
;
3341 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3348 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3349 PyObject
*resultobj
;
3350 wxIcon
*arg1
= (wxIcon
*) 0 ;
3351 wxString
*arg2
= 0 ;
3354 bool temp2
= False
;
3355 PyObject
* obj0
= 0 ;
3356 PyObject
* obj1
= 0 ;
3357 PyObject
* obj2
= 0 ;
3359 (char *) "self",(char *) "name",(char *) "type", NULL
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3365 arg2
= wxString_in_helper(obj1
);
3366 if (arg2
== NULL
) SWIG_fail
;
3370 arg3
= (wxBitmapType
) SWIG_PyObj_AsInt(obj2
);
3371 if (PyErr_Occurred()) SWIG_fail
;
3374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3375 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3377 wxPyEndAllowThreads(__tstate
);
3378 if (PyErr_Occurred()) SWIG_fail
;
3380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3395 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
*resultobj
;
3397 wxIcon
*arg1
= (wxIcon
*) 0 ;
3399 PyObject
* obj0
= 0 ;
3401 (char *) "self", NULL
3404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3408 result
= (bool)(arg1
)->Ok();
3410 wxPyEndAllowThreads(__tstate
);
3411 if (PyErr_Occurred()) SWIG_fail
;
3413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3420 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
*resultobj
;
3422 wxIcon
*arg1
= (wxIcon
*) 0 ;
3424 PyObject
* obj0
= 0 ;
3426 (char *) "self", NULL
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3433 result
= (int)(arg1
)->GetWidth();
3435 wxPyEndAllowThreads(__tstate
);
3436 if (PyErr_Occurred()) SWIG_fail
;
3438 resultobj
= SWIG_PyObj_FromInt((int)result
);
3445 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
*resultobj
;
3447 wxIcon
*arg1
= (wxIcon
*) 0 ;
3449 PyObject
* obj0
= 0 ;
3451 (char *) "self", NULL
3454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3458 result
= (int)(arg1
)->GetHeight();
3460 wxPyEndAllowThreads(__tstate
);
3461 if (PyErr_Occurred()) SWIG_fail
;
3463 resultobj
= SWIG_PyObj_FromInt((int)result
);
3470 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3471 PyObject
*resultobj
;
3472 wxIcon
*arg1
= (wxIcon
*) 0 ;
3474 PyObject
* obj0
= 0 ;
3476 (char *) "self", NULL
3479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3483 result
= (int)(arg1
)->GetDepth();
3485 wxPyEndAllowThreads(__tstate
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3488 resultobj
= SWIG_PyObj_FromInt((int)result
);
3495 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3496 PyObject
*resultobj
;
3497 wxIcon
*arg1
= (wxIcon
*) 0 ;
3499 PyObject
* obj0
= 0 ;
3500 PyObject
* obj1
= 0 ;
3502 (char *) "self",(char *) "w", NULL
3505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3508 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3509 if (PyErr_Occurred()) SWIG_fail
;
3512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3513 (arg1
)->SetWidth(arg2
);
3515 wxPyEndAllowThreads(__tstate
);
3516 if (PyErr_Occurred()) SWIG_fail
;
3518 Py_INCREF(Py_None
); resultobj
= Py_None
;
3525 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3526 PyObject
*resultobj
;
3527 wxIcon
*arg1
= (wxIcon
*) 0 ;
3529 PyObject
* obj0
= 0 ;
3530 PyObject
* obj1
= 0 ;
3532 (char *) "self",(char *) "h", NULL
3535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3538 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3539 if (PyErr_Occurred()) SWIG_fail
;
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3543 (arg1
)->SetHeight(arg2
);
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3548 Py_INCREF(Py_None
); resultobj
= Py_None
;
3555 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3556 PyObject
*resultobj
;
3557 wxIcon
*arg1
= (wxIcon
*) 0 ;
3559 PyObject
* obj0
= 0 ;
3560 PyObject
* obj1
= 0 ;
3562 (char *) "self",(char *) "d", NULL
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3568 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3569 if (PyErr_Occurred()) SWIG_fail
;
3572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3573 (arg1
)->SetDepth(arg2
);
3575 wxPyEndAllowThreads(__tstate
);
3576 if (PyErr_Occurred()) SWIG_fail
;
3578 Py_INCREF(Py_None
); resultobj
= Py_None
;
3585 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3586 PyObject
*resultobj
;
3587 wxIcon
*arg1
= (wxIcon
*) 0 ;
3588 wxBitmap
*arg2
= 0 ;
3589 PyObject
* obj0
= 0 ;
3590 PyObject
* obj1
= 0 ;
3592 (char *) "self",(char *) "bmp", NULL
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3597 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3599 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3603 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3605 wxPyEndAllowThreads(__tstate
);
3606 if (PyErr_Occurred()) SWIG_fail
;
3608 Py_INCREF(Py_None
); resultobj
= Py_None
;
3615 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
3617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3618 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3620 return Py_BuildValue((char *)"");
3622 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3623 PyObject
*resultobj
;
3624 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3625 int arg2
= (int) 0 ;
3626 wxIconLocation
*result
;
3627 bool temp1
= False
;
3628 PyObject
* obj0
= 0 ;
3629 PyObject
* obj1
= 0 ;
3631 (char *) "filename",(char *) "num", NULL
3634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
3637 arg1
= wxString_in_helper(obj0
);
3638 if (arg1
== NULL
) SWIG_fail
;
3644 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3652 wxPyEndAllowThreads(__tstate
);
3653 if (PyErr_Occurred()) SWIG_fail
;
3655 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconLocation
, 1);
3670 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
*resultobj
;
3672 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3673 PyObject
* obj0
= 0 ;
3675 (char *) "self", NULL
3678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
3679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3684 wxPyEndAllowThreads(__tstate
);
3685 if (PyErr_Occurred()) SWIG_fail
;
3687 Py_INCREF(Py_None
); resultobj
= Py_None
;
3694 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3695 PyObject
*resultobj
;
3696 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3698 PyObject
* obj0
= 0 ;
3700 (char *) "self", NULL
3703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
3704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
3709 wxPyEndAllowThreads(__tstate
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3719 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3720 PyObject
*resultobj
;
3721 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3722 wxString
*arg2
= 0 ;
3723 bool temp2
= False
;
3724 PyObject
* obj0
= 0 ;
3725 PyObject
* obj1
= 0 ;
3727 (char *) "self",(char *) "filename", NULL
3730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
3731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3733 arg2
= wxString_in_helper(obj1
);
3734 if (arg2
== NULL
) SWIG_fail
;
3738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3739 (arg1
)->SetFileName((wxString
const &)*arg2
);
3741 wxPyEndAllowThreads(__tstate
);
3742 if (PyErr_Occurred()) SWIG_fail
;
3744 Py_INCREF(Py_None
); resultobj
= Py_None
;
3759 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
*resultobj
;
3761 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3763 PyObject
* obj0
= 0 ;
3765 (char *) "self", NULL
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
3769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3773 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
3774 result
= (wxString
*) &_result_ref
;
3777 wxPyEndAllowThreads(__tstate
);
3778 if (PyErr_Occurred()) SWIG_fail
;
3782 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
3784 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
3793 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
*resultobj
;
3795 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3797 PyObject
* obj0
= 0 ;
3798 PyObject
* obj1
= 0 ;
3800 (char *) "self",(char *) "num", NULL
3803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
3804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3806 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3811 wxIconLocation_SetIndex(arg1
,arg2
);
3813 wxPyEndAllowThreads(__tstate
);
3814 if (PyErr_Occurred()) SWIG_fail
;
3816 Py_INCREF(Py_None
); resultobj
= Py_None
;
3823 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3824 PyObject
*resultobj
;
3825 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3827 PyObject
* obj0
= 0 ;
3829 (char *) "self", NULL
3832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
3833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3836 result
= (int)wxIconLocation_GetIndex(arg1
);
3838 wxPyEndAllowThreads(__tstate
);
3839 if (PyErr_Occurred()) SWIG_fail
;
3841 resultobj
= SWIG_PyObj_FromInt((int)result
);
3848 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
3850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3851 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
3853 return Py_BuildValue((char *)"");
3855 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3856 PyObject
*resultobj
;
3857 wxIconBundle
*result
;
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
3864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3865 result
= (wxIconBundle
*)new wxIconBundle();
3867 wxPyEndAllowThreads(__tstate
);
3868 if (PyErr_Occurred()) SWIG_fail
;
3870 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3877 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
*resultobj
;
3879 wxString
*arg1
= 0 ;
3881 wxIconBundle
*result
;
3882 bool temp1
= False
;
3883 PyObject
* obj0
= 0 ;
3884 PyObject
* obj1
= 0 ;
3886 (char *) "file",(char *) "type", NULL
3889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
3891 arg1
= wxString_in_helper(obj0
);
3892 if (arg1
== NULL
) SWIG_fail
;
3896 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3897 if (PyErr_Occurred()) SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
3903 wxPyEndAllowThreads(__tstate
);
3904 if (PyErr_Occurred()) SWIG_fail
;
3906 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3921 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3922 PyObject
*resultobj
;
3924 wxIconBundle
*result
;
3925 PyObject
* obj0
= 0 ;
3927 (char *) "icon", NULL
3930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
3931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3933 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3937 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
3939 wxPyEndAllowThreads(__tstate
);
3940 if (PyErr_Occurred()) SWIG_fail
;
3942 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3949 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3950 PyObject
*resultobj
;
3951 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3952 PyObject
* obj0
= 0 ;
3954 (char *) "self", NULL
3957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
3958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3963 wxPyEndAllowThreads(__tstate
);
3964 if (PyErr_Occurred()) SWIG_fail
;
3966 Py_INCREF(Py_None
); resultobj
= Py_None
;
3973 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3974 PyObject
*resultobj
;
3975 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3977 PyObject
* obj0
= 0 ;
3978 PyObject
* obj1
= 0 ;
3980 (char *) "self",(char *) "icon", NULL
3983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3985 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3987 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3991 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
3993 wxPyEndAllowThreads(__tstate
);
3994 if (PyErr_Occurred()) SWIG_fail
;
3996 Py_INCREF(Py_None
); resultobj
= Py_None
;
4003 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4004 PyObject
*resultobj
;
4005 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4006 wxString
*arg2
= 0 ;
4008 bool temp2
= False
;
4009 PyObject
* obj0
= 0 ;
4010 PyObject
* obj1
= 0 ;
4011 PyObject
* obj2
= 0 ;
4013 (char *) "self",(char *) "file",(char *) "type", NULL
4016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4019 arg2
= wxString_in_helper(obj1
);
4020 if (arg2
== NULL
) SWIG_fail
;
4024 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
4025 if (PyErr_Occurred()) SWIG_fail
;
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4031 wxPyEndAllowThreads(__tstate
);
4032 if (PyErr_Occurred()) SWIG_fail
;
4034 Py_INCREF(Py_None
); resultobj
= Py_None
;
4049 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4050 PyObject
*resultobj
;
4051 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4055 PyObject
* obj0
= 0 ;
4056 PyObject
* obj1
= 0 ;
4058 (char *) "self",(char *) "size", NULL
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4065 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4070 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4071 result
= (wxIcon
*) &_result_ref
;
4074 wxPyEndAllowThreads(__tstate
);
4075 if (PyErr_Occurred()) SWIG_fail
;
4077 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 0);
4084 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4087 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4089 return Py_BuildValue((char *)"");
4091 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
*resultobj
;
4093 wxString
*arg1
= (wxString
*) 0 ;
4095 int arg3
= (int) 0 ;
4096 int arg4
= (int) 0 ;
4098 bool temp1
= False
;
4099 PyObject
* obj0
= 0 ;
4100 PyObject
* obj1
= 0 ;
4101 PyObject
* obj2
= 0 ;
4102 PyObject
* obj3
= 0 ;
4104 (char *) "cursorName",(char *) "flags",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4109 arg1
= wxString_in_helper(obj0
);
4110 if (arg1
== NULL
) SWIG_fail
;
4114 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4119 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4120 if (PyErr_Occurred()) SWIG_fail
;
4125 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4131 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4133 wxPyEndAllowThreads(__tstate
);
4134 if (PyErr_Occurred()) SWIG_fail
;
4136 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4151 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
*resultobj
;
4153 wxCursor
*arg1
= (wxCursor
*) 0 ;
4154 PyObject
* obj0
= 0 ;
4156 (char *) "self", NULL
4159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4165 wxPyEndAllowThreads(__tstate
);
4166 if (PyErr_Occurred()) SWIG_fail
;
4168 Py_INCREF(Py_None
); resultobj
= Py_None
;
4175 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4176 PyObject
*resultobj
;
4179 PyObject
* obj0
= 0 ;
4184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4186 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
4187 if (PyErr_Occurred()) SWIG_fail
;
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4191 result
= (wxCursor
*)new wxCursor(arg1
);
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4196 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4203 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
*resultobj
;
4207 PyObject
* obj0
= 0 ;
4209 (char *) "image", NULL
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4215 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4224 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4231 static PyObject
*_wrap_new_CursorFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
*resultobj
;
4233 PyObject
*arg1
= (PyObject
*) 0 ;
4236 int arg4
= (int) -1 ;
4237 int arg5
= (int) -1 ;
4238 PyObject
*arg6
= (PyObject
*) 0 ;
4240 PyObject
* obj0
= 0 ;
4241 PyObject
* obj1
= 0 ;
4242 PyObject
* obj2
= 0 ;
4243 PyObject
* obj3
= 0 ;
4244 PyObject
* obj4
= 0 ;
4245 PyObject
* obj5
= 0 ;
4247 (char *) "bits",(char *) "width",(char *) "height",(char *) "hotSpotX",(char *) "hotSpotY",(char *) "maskBits", NULL
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_CursorFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4253 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4257 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4258 if (PyErr_Occurred()) SWIG_fail
;
4262 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4268 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 result
= (wxCursor
*)new_wxCursor(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) SWIG_fail
;
4282 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4289 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
*resultobj
;
4291 wxCursor
*arg1
= (wxCursor
*) 0 ;
4293 PyObject
* obj0
= 0 ;
4295 (char *) "self", NULL
4298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4302 result
= (bool)(arg1
)->Ok();
4304 wxPyEndAllowThreads(__tstate
);
4305 if (PyErr_Occurred()) SWIG_fail
;
4307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4314 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4317 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4319 return Py_BuildValue((char *)"");
4321 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4322 PyObject
*resultobj
;
4323 int arg1
= (int) 0 ;
4324 int arg2
= (int) 0 ;
4325 int arg3
= (int) 0 ;
4326 int arg4
= (int) 0 ;
4328 PyObject
* obj0
= 0 ;
4329 PyObject
* obj1
= 0 ;
4330 PyObject
* obj2
= 0 ;
4331 PyObject
* obj3
= 0 ;
4333 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4339 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4345 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4346 if (PyErr_Occurred()) SWIG_fail
;
4351 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4352 if (PyErr_Occurred()) SWIG_fail
;
4357 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4358 if (PyErr_Occurred()) SWIG_fail
;
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4365 wxPyEndAllowThreads(__tstate
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4368 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4375 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4376 PyObject
*resultobj
;
4377 wxBitmap
*arg1
= 0 ;
4378 wxColour
const &arg2_defvalue
= wxNullColour
;
4379 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4380 int arg3
= (int) 0 ;
4383 PyObject
* obj0
= 0 ;
4384 PyObject
* obj1
= 0 ;
4385 PyObject
* obj2
= 0 ;
4387 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4393 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4398 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4403 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4409 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4411 wxPyEndAllowThreads(__tstate
);
4412 if (PyErr_Occurred()) SWIG_fail
;
4414 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4421 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
*resultobj
;
4424 wxPoint
*arg2
= (wxPoint
*) 0 ;
4425 int arg3
= (int) wxWINDING_RULE
;
4427 PyObject
* obj0
= 0 ;
4428 PyObject
* obj1
= 0 ;
4430 (char *) "points",(char *) "fillStyle", NULL
4433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4435 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4436 if (arg2
== NULL
) SWIG_fail
;
4440 arg3
= (int) SWIG_PyObj_AsInt(obj1
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4451 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4453 if (arg2
) delete [] arg2
;
4458 if (arg2
) delete [] arg2
;
4464 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
;
4466 wxRegion
*arg1
= (wxRegion
*) 0 ;
4467 PyObject
* obj0
= 0 ;
4469 (char *) "self", NULL
4472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4481 Py_INCREF(Py_None
); resultobj
= Py_None
;
4488 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
;
4490 wxRegion
*arg1
= (wxRegion
*) 0 ;
4491 PyObject
* obj0
= 0 ;
4493 (char *) "self", NULL
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4505 Py_INCREF(Py_None
); resultobj
= Py_None
;
4512 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
*resultobj
;
4514 wxRegion
*arg1
= (wxRegion
*) 0 ;
4518 PyObject
* obj0
= 0 ;
4519 PyObject
* obj1
= 0 ;
4520 PyObject
* obj2
= 0 ;
4522 (char *) "self",(char *) "x",(char *) "y", NULL
4525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4528 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4529 if (PyErr_Occurred()) SWIG_fail
;
4532 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4533 if (PyErr_Occurred()) SWIG_fail
;
4536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4537 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
4539 wxPyEndAllowThreads(__tstate
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4549 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4550 PyObject
*resultobj
;
4551 wxRegion
*arg1
= (wxRegion
*) 0 ;
4555 PyObject
* obj0
= 0 ;
4556 PyObject
* obj1
= 0 ;
4557 PyObject
* obj2
= 0 ;
4559 (char *) "self",(char *) "x",(char *) "y", NULL
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4565 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4566 if (PyErr_Occurred()) SWIG_fail
;
4569 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4574 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4576 wxPyEndAllowThreads(__tstate
);
4577 if (PyErr_Occurred()) SWIG_fail
;
4579 resultobj
= SWIG_PyObj_FromInt((int)result
);
4586 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4587 PyObject
*resultobj
;
4588 wxRegion
*arg1
= (wxRegion
*) 0 ;
4592 PyObject
* obj0
= 0 ;
4593 PyObject
* obj1
= 0 ;
4595 (char *) "self",(char *) "pt", NULL
4598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4602 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4606 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4608 wxPyEndAllowThreads(__tstate
);
4609 if (PyErr_Occurred()) SWIG_fail
;
4611 resultobj
= SWIG_PyObj_FromInt((int)result
);
4618 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4619 PyObject
*resultobj
;
4620 wxRegion
*arg1
= (wxRegion
*) 0 ;
4624 PyObject
* obj0
= 0 ;
4625 PyObject
* obj1
= 0 ;
4627 (char *) "self",(char *) "rect", NULL
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4634 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) SWIG_fail
;
4643 resultobj
= SWIG_PyObj_FromInt((int)result
);
4650 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4651 PyObject
*resultobj
;
4652 wxRegion
*arg1
= (wxRegion
*) 0 ;
4658 PyObject
* obj0
= 0 ;
4659 PyObject
* obj1
= 0 ;
4660 PyObject
* obj2
= 0 ;
4661 PyObject
* obj3
= 0 ;
4662 PyObject
* obj4
= 0 ;
4664 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4670 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4671 if (PyErr_Occurred()) SWIG_fail
;
4674 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4678 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4682 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4683 if (PyErr_Occurred()) SWIG_fail
;
4686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4687 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4689 wxPyEndAllowThreads(__tstate
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4692 resultobj
= SWIG_PyObj_FromInt((int)result
);
4699 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
*resultobj
;
4701 wxRegion
*arg1
= (wxRegion
*) 0 ;
4703 PyObject
* obj0
= 0 ;
4705 (char *) "self", NULL
4708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
4709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 result
= (arg1
)->GetBox();
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4719 resultptr
= new wxRect((wxRect
&) result
);
4720 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
4728 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4729 PyObject
*resultobj
;
4730 wxRegion
*arg1
= (wxRegion
*) 0 ;
4736 PyObject
* obj0
= 0 ;
4737 PyObject
* obj1
= 0 ;
4738 PyObject
* obj2
= 0 ;
4739 PyObject
* obj3
= 0 ;
4740 PyObject
* obj4
= 0 ;
4742 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4748 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4749 if (PyErr_Occurred()) SWIG_fail
;
4752 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4753 if (PyErr_Occurred()) SWIG_fail
;
4756 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4757 if (PyErr_Occurred()) SWIG_fail
;
4760 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4765 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
4767 wxPyEndAllowThreads(__tstate
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4777 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4778 PyObject
*resultobj
;
4779 wxRegion
*arg1
= (wxRegion
*) 0 ;
4783 PyObject
* obj0
= 0 ;
4784 PyObject
* obj1
= 0 ;
4786 (char *) "self",(char *) "rect", NULL
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4793 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4797 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4809 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
*resultobj
;
4811 wxRegion
*arg1
= (wxRegion
*) 0 ;
4812 wxRegion
*arg2
= 0 ;
4814 PyObject
* obj0
= 0 ;
4815 PyObject
* obj1
= 0 ;
4817 (char *) "self",(char *) "region", NULL
4820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4822 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4824 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) SWIG_fail
;
4833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4840 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4841 PyObject
*resultobj
;
4842 wxRegion
*arg1
= (wxRegion
*) 0 ;
4844 PyObject
* obj0
= 0 ;
4846 (char *) "self", NULL
4849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
4850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4853 result
= (bool)(arg1
)->IsEmpty();
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4865 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
;
4867 wxRegion
*arg1
= (wxRegion
*) 0 ;
4873 PyObject
* obj0
= 0 ;
4874 PyObject
* obj1
= 0 ;
4875 PyObject
* obj2
= 0 ;
4876 PyObject
* obj3
= 0 ;
4877 PyObject
* obj4
= 0 ;
4879 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4885 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4886 if (PyErr_Occurred()) SWIG_fail
;
4889 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4893 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4894 if (PyErr_Occurred()) SWIG_fail
;
4897 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4914 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
*resultobj
;
4916 wxRegion
*arg1
= (wxRegion
*) 0 ;
4920 PyObject
* obj0
= 0 ;
4921 PyObject
* obj1
= 0 ;
4923 (char *) "self",(char *) "rect", NULL
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4930 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4934 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
4936 wxPyEndAllowThreads(__tstate
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4946 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
*resultobj
;
4948 wxRegion
*arg1
= (wxRegion
*) 0 ;
4949 wxRegion
*arg2
= 0 ;
4951 PyObject
* obj0
= 0 ;
4952 PyObject
* obj1
= 0 ;
4954 (char *) "self",(char *) "region", NULL
4957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4959 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4961 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4965 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
4967 wxPyEndAllowThreads(__tstate
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4977 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4978 PyObject
*resultobj
;
4979 wxRegion
*arg1
= (wxRegion
*) 0 ;
4985 PyObject
* obj0
= 0 ;
4986 PyObject
* obj1
= 0 ;
4987 PyObject
* obj2
= 0 ;
4988 PyObject
* obj3
= 0 ;
4989 PyObject
* obj4
= 0 ;
4991 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4997 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4998 if (PyErr_Occurred()) SWIG_fail
;
5001 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5002 if (PyErr_Occurred()) SWIG_fail
;
5005 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5009 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) SWIG_fail
;
5019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5026 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5027 PyObject
*resultobj
;
5028 wxRegion
*arg1
= (wxRegion
*) 0 ;
5032 PyObject
* obj0
= 0 ;
5033 PyObject
* obj1
= 0 ;
5035 (char *) "self",(char *) "rect", NULL
5038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5042 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5058 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
;
5060 wxRegion
*arg1
= (wxRegion
*) 0 ;
5061 wxRegion
*arg2
= 0 ;
5063 PyObject
* obj0
= 0 ;
5064 PyObject
* obj1
= 0 ;
5066 (char *) "self",(char *) "region", NULL
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5071 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5073 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5077 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5079 wxPyEndAllowThreads(__tstate
);
5080 if (PyErr_Occurred()) SWIG_fail
;
5082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5089 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
*resultobj
;
5091 wxRegion
*arg1
= (wxRegion
*) 0 ;
5097 PyObject
* obj0
= 0 ;
5098 PyObject
* obj1
= 0 ;
5099 PyObject
* obj2
= 0 ;
5100 PyObject
* obj3
= 0 ;
5101 PyObject
* obj4
= 0 ;
5103 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5109 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5110 if (PyErr_Occurred()) SWIG_fail
;
5113 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5114 if (PyErr_Occurred()) SWIG_fail
;
5117 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5121 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
5122 if (PyErr_Occurred()) SWIG_fail
;
5125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5138 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5139 PyObject
*resultobj
;
5140 wxRegion
*arg1
= (wxRegion
*) 0 ;
5144 PyObject
* obj0
= 0 ;
5145 PyObject
* obj1
= 0 ;
5147 (char *) "self",(char *) "rect", NULL
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5154 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) SWIG_fail
;
5163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5170 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5171 PyObject
*resultobj
;
5172 wxRegion
*arg1
= (wxRegion
*) 0 ;
5173 wxRegion
*arg2
= 0 ;
5175 PyObject
* obj0
= 0 ;
5176 PyObject
* obj1
= 0 ;
5178 (char *) "self",(char *) "region", NULL
5181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5183 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5185 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5189 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5191 wxPyEndAllowThreads(__tstate
);
5192 if (PyErr_Occurred()) SWIG_fail
;
5194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5201 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5202 PyObject
*resultobj
;
5203 wxRegion
*arg1
= (wxRegion
*) 0 ;
5204 SwigValueWrapper
< wxBitmap
> result
;
5205 PyObject
* obj0
= 0 ;
5207 (char *) "self", NULL
5210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5214 result
= (arg1
)->ConvertToBitmap();
5216 wxPyEndAllowThreads(__tstate
);
5217 if (PyErr_Occurred()) SWIG_fail
;
5220 wxBitmap
* resultptr
;
5221 resultptr
= new wxBitmap((wxBitmap
&) result
);
5222 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
5230 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5231 PyObject
*resultobj
;
5232 wxRegion
*arg1
= (wxRegion
*) 0 ;
5233 wxBitmap
*arg2
= 0 ;
5234 wxColour
const &arg3_defvalue
= wxNullColour
;
5235 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
5236 int arg4
= (int) 0 ;
5239 PyObject
* obj0
= 0 ;
5240 PyObject
* obj1
= 0 ;
5241 PyObject
* obj2
= 0 ;
5242 PyObject
* obj3
= 0 ;
5244 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5249 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5251 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5256 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5261 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5267 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5269 wxPyEndAllowThreads(__tstate
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5279 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5282 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5284 return Py_BuildValue((char *)"");
5286 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
*resultobj
;
5288 wxRegion
*arg1
= 0 ;
5289 wxRegionIterator
*result
;
5290 PyObject
* obj0
= 0 ;
5292 (char *) "region", NULL
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5298 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5302 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5304 wxPyEndAllowThreads(__tstate
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5307 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegionIterator
, 1);
5314 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
*resultobj
;
5316 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5317 PyObject
* obj0
= 0 ;
5319 (char *) "self", NULL
5322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 wxPyEndAllowThreads(__tstate
);
5329 if (PyErr_Occurred()) SWIG_fail
;
5331 Py_INCREF(Py_None
); resultobj
= Py_None
;
5338 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
*resultobj
;
5340 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5342 PyObject
* obj0
= 0 ;
5344 (char *) "self", NULL
5347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 result
= (int)(arg1
)->GetX();
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5356 resultobj
= SWIG_PyObj_FromInt((int)result
);
5363 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
*resultobj
;
5365 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5367 PyObject
* obj0
= 0 ;
5369 (char *) "self", NULL
5372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5376 result
= (int)(arg1
)->GetY();
5378 wxPyEndAllowThreads(__tstate
);
5379 if (PyErr_Occurred()) SWIG_fail
;
5381 resultobj
= SWIG_PyObj_FromInt((int)result
);
5388 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5389 PyObject
*resultobj
;
5390 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5392 PyObject
* obj0
= 0 ;
5394 (char *) "self", NULL
5397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5401 result
= (int)(arg1
)->GetW();
5403 wxPyEndAllowThreads(__tstate
);
5404 if (PyErr_Occurred()) SWIG_fail
;
5406 resultobj
= SWIG_PyObj_FromInt((int)result
);
5413 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5414 PyObject
*resultobj
;
5415 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5417 PyObject
* obj0
= 0 ;
5419 (char *) "self", NULL
5422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5426 result
= (int)(arg1
)->GetWidth();
5428 wxPyEndAllowThreads(__tstate
);
5429 if (PyErr_Occurred()) SWIG_fail
;
5431 resultobj
= SWIG_PyObj_FromInt((int)result
);
5438 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5439 PyObject
*resultobj
;
5440 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5442 PyObject
* obj0
= 0 ;
5444 (char *) "self", NULL
5447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5451 result
= (int)(arg1
)->GetH();
5453 wxPyEndAllowThreads(__tstate
);
5454 if (PyErr_Occurred()) SWIG_fail
;
5456 resultobj
= SWIG_PyObj_FromInt((int)result
);
5463 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
*resultobj
;
5465 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5467 PyObject
* obj0
= 0 ;
5469 (char *) "self", NULL
5472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5476 result
= (int)(arg1
)->GetHeight();
5478 wxPyEndAllowThreads(__tstate
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5481 resultobj
= SWIG_PyObj_FromInt((int)result
);
5488 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
*resultobj
;
5490 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5492 PyObject
* obj0
= 0 ;
5494 (char *) "self", NULL
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 result
= (arg1
)->GetRect();
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5508 resultptr
= new wxRect((wxRect
&) result
);
5509 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
5517 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5518 PyObject
*resultobj
;
5519 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5521 PyObject
* obj0
= 0 ;
5523 (char *) "self", NULL
5526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5530 result
= (bool)(arg1
)->HaveRects();
5532 wxPyEndAllowThreads(__tstate
);
5533 if (PyErr_Occurred()) SWIG_fail
;
5535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5542 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5543 PyObject
*resultobj
;
5544 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5545 PyObject
* obj0
= 0 ;
5547 (char *) "self", NULL
5550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5559 Py_INCREF(Py_None
); resultobj
= Py_None
;
5566 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
*resultobj
;
5568 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5569 PyObject
* obj0
= 0 ;
5571 (char *) "self", NULL
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5578 wxRegionIterator_Next(arg1
);
5580 wxPyEndAllowThreads(__tstate
);
5581 if (PyErr_Occurred()) SWIG_fail
;
5583 Py_INCREF(Py_None
); resultobj
= Py_None
;
5590 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5591 PyObject
*resultobj
;
5592 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5594 PyObject
* obj0
= 0 ;
5596 (char *) "self", NULL
5599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5603 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5615 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
5617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5618 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
5620 return Py_BuildValue((char *)"");
5622 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5623 PyObject
*resultobj
;
5624 wxNativeFontInfo
*result
;
5629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
5631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5632 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
5634 wxPyEndAllowThreads(__tstate
);
5635 if (PyErr_Occurred()) SWIG_fail
;
5637 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 1);
5644 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5645 PyObject
*resultobj
;
5646 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5647 PyObject
* obj0
= 0 ;
5649 (char *) "self", NULL
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
5653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5661 Py_INCREF(Py_None
); resultobj
= Py_None
;
5668 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5669 PyObject
*resultobj
;
5670 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5671 PyObject
* obj0
= 0 ;
5673 (char *) "self", NULL
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
5677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5682 wxPyEndAllowThreads(__tstate
);
5683 if (PyErr_Occurred()) SWIG_fail
;
5685 Py_INCREF(Py_None
); resultobj
= Py_None
;
5692 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
*resultobj
;
5694 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5696 PyObject
* obj0
= 0 ;
5697 PyObject
* obj1
= 0 ;
5699 (char *) "self",(char *) "font", NULL
5702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
5703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5704 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5706 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5710 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
5712 wxPyEndAllowThreads(__tstate
);
5713 if (PyErr_Occurred()) SWIG_fail
;
5715 Py_INCREF(Py_None
); resultobj
= Py_None
;
5722 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
*resultobj
;
5724 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5726 PyObject
* obj0
= 0 ;
5728 (char *) "self", NULL
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
5732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5740 resultobj
= SWIG_PyObj_FromInt((int)result
);
5747 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
;
5749 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5751 PyObject
* obj0
= 0 ;
5753 (char *) "self", NULL
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
5757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5765 resultobj
= SWIG_PyObj_FromInt((int)result
);
5772 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
;
5774 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5776 PyObject
* obj0
= 0 ;
5778 (char *) "self", NULL
5781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
5782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5790 resultobj
= SWIG_PyObj_FromInt((int)result
);
5797 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
*resultobj
;
5799 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5801 PyObject
* obj0
= 0 ;
5803 (char *) "self", NULL
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
5807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5822 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5823 PyObject
*resultobj
;
5824 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5826 PyObject
* obj0
= 0 ;
5828 (char *) "self", NULL
5831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
5832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5835 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5842 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5844 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5853 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5854 PyObject
*resultobj
;
5855 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5857 PyObject
* obj0
= 0 ;
5859 (char *) "self", NULL
5862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
5863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5866 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
5868 wxPyEndAllowThreads(__tstate
);
5869 if (PyErr_Occurred()) SWIG_fail
;
5871 resultobj
= SWIG_PyObj_FromInt((int)result
);
5878 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
*resultobj
;
5880 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5882 PyObject
* obj0
= 0 ;
5884 (char *) "self", NULL
5887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
5888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
5893 wxPyEndAllowThreads(__tstate
);
5894 if (PyErr_Occurred()) SWIG_fail
;
5896 resultobj
= SWIG_PyObj_FromInt((int)result
);
5903 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
*resultobj
;
5905 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5907 PyObject
* obj0
= 0 ;
5908 PyObject
* obj1
= 0 ;
5910 (char *) "self",(char *) "pointsize", NULL
5913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5916 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 (arg1
)->SetPointSize(arg2
);
5923 wxPyEndAllowThreads(__tstate
);
5924 if (PyErr_Occurred()) SWIG_fail
;
5926 Py_INCREF(Py_None
); resultobj
= Py_None
;
5933 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5934 PyObject
*resultobj
;
5935 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5937 PyObject
* obj0
= 0 ;
5938 PyObject
* obj1
= 0 ;
5940 (char *) "self",(char *) "style", NULL
5943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
5944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5946 arg2
= (wxFontStyle
) SWIG_PyObj_AsInt(obj1
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 (arg1
)->SetStyle((wxFontStyle
)arg2
);
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) SWIG_fail
;
5956 Py_INCREF(Py_None
); resultobj
= Py_None
;
5963 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5964 PyObject
*resultobj
;
5965 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5967 PyObject
* obj0
= 0 ;
5968 PyObject
* obj1
= 0 ;
5970 (char *) "self",(char *) "weight", NULL
5973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5976 arg2
= (wxFontWeight
) SWIG_PyObj_AsInt(obj1
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5981 (arg1
)->SetWeight((wxFontWeight
)arg2
);
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5986 Py_INCREF(Py_None
); resultobj
= Py_None
;
5993 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5994 PyObject
*resultobj
;
5995 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5997 PyObject
* obj0
= 0 ;
5998 PyObject
* obj1
= 0 ;
6000 (char *) "self",(char *) "underlined", NULL
6003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6006 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 (arg1
)->SetUnderlined(arg2
);
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6016 Py_INCREF(Py_None
); resultobj
= Py_None
;
6023 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6024 PyObject
*resultobj
;
6025 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6027 PyObject
* obj0
= 0 ;
6028 PyObject
* obj1
= 0 ;
6030 (char *) "self",(char *) "facename", NULL
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6036 wxString
* sptr
= wxString_in_helper(obj1
);
6037 if (sptr
== NULL
) SWIG_fail
;
6042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6043 (arg1
)->SetFaceName(arg2
);
6045 wxPyEndAllowThreads(__tstate
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6048 Py_INCREF(Py_None
); resultobj
= Py_None
;
6055 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6056 PyObject
*resultobj
;
6057 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6059 PyObject
* obj0
= 0 ;
6060 PyObject
* obj1
= 0 ;
6062 (char *) "self",(char *) "family", NULL
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6068 arg2
= (wxFontFamily
) SWIG_PyObj_AsInt(obj1
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6078 Py_INCREF(Py_None
); resultobj
= Py_None
;
6085 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
*resultobj
;
6087 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6089 PyObject
* obj0
= 0 ;
6090 PyObject
* obj1
= 0 ;
6092 (char *) "self",(char *) "encoding", NULL
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6098 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6103 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6105 wxPyEndAllowThreads(__tstate
);
6106 if (PyErr_Occurred()) SWIG_fail
;
6108 Py_INCREF(Py_None
); resultobj
= Py_None
;
6115 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
*resultobj
;
6117 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6118 wxString
*arg2
= 0 ;
6120 bool temp2
= False
;
6121 PyObject
* obj0
= 0 ;
6122 PyObject
* obj1
= 0 ;
6124 (char *) "self",(char *) "s", NULL
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6130 arg2
= wxString_in_helper(obj1
);
6131 if (arg2
== NULL
) SWIG_fail
;
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6156 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
*resultobj
;
6158 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6160 PyObject
* obj0
= 0 ;
6162 (char *) "self", NULL
6165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6169 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6176 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6178 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6187 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
*resultobj
;
6189 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6191 PyObject
* obj0
= 0 ;
6193 (char *) "self", NULL
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6200 result
= wxNativeFontInfo___str__(arg1
);
6202 wxPyEndAllowThreads(__tstate
);
6203 if (PyErr_Occurred()) SWIG_fail
;
6207 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6209 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6218 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
*resultobj
;
6220 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6221 wxString
*arg2
= 0 ;
6223 bool temp2
= False
;
6224 PyObject
* obj0
= 0 ;
6225 PyObject
* obj1
= 0 ;
6227 (char *) "self",(char *) "s", NULL
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6233 arg2
= wxString_in_helper(obj1
);
6234 if (arg2
== NULL
) SWIG_fail
;
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6239 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6259 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
*resultobj
;
6261 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6263 PyObject
* obj0
= 0 ;
6265 (char *) "self", NULL
6268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6272 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6274 wxPyEndAllowThreads(__tstate
);
6275 if (PyErr_Occurred()) SWIG_fail
;
6279 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6281 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6290 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6293 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6295 return Py_BuildValue((char *)"");
6297 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6298 PyObject
*resultobj
;
6299 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6300 wxString
*arg2
= (wxString
*) 0 ;
6301 bool temp2
= False
;
6302 PyObject
* obj0
= 0 ;
6303 PyObject
* obj1
= 0 ;
6305 (char *) "self",(char *) "facename", NULL
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6311 arg2
= wxString_in_helper(obj1
);
6312 if (arg2
== NULL
) SWIG_fail
;
6315 if (arg1
) (arg1
)->facename
= *arg2
;
6317 Py_INCREF(Py_None
); resultobj
= Py_None
;
6332 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6333 PyObject
*resultobj
;
6334 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6336 PyObject
* obj0
= 0 ;
6338 (char *) "self", NULL
6341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6343 result
= (wxString
*)& ((arg1
)->facename
);
6347 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6349 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6358 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
*resultobj
;
6360 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6362 PyObject
* obj0
= 0 ;
6363 PyObject
* obj1
= 0 ;
6365 (char *) "self",(char *) "encoding", NULL
6368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6371 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
6372 if (PyErr_Occurred()) SWIG_fail
;
6374 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6376 Py_INCREF(Py_None
); resultobj
= Py_None
;
6383 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6384 PyObject
*resultobj
;
6385 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6387 PyObject
* obj0
= 0 ;
6389 (char *) "self", NULL
6392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6394 result
= (int) ((arg1
)->encoding
);
6396 resultobj
= SWIG_PyObj_FromInt((int)result
);
6403 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6404 PyObject
*resultobj
;
6405 wxNativeEncodingInfo
*result
;
6410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6413 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6415 wxPyEndAllowThreads(__tstate
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6418 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6425 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
*resultobj
;
6427 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6428 PyObject
* obj0
= 0 ;
6430 (char *) "self", NULL
6433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6439 wxPyEndAllowThreads(__tstate
);
6440 if (PyErr_Occurred()) SWIG_fail
;
6442 Py_INCREF(Py_None
); resultobj
= Py_None
;
6449 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6450 PyObject
*resultobj
;
6451 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6452 wxString
*arg2
= 0 ;
6454 bool temp2
= False
;
6455 PyObject
* obj0
= 0 ;
6456 PyObject
* obj1
= 0 ;
6458 (char *) "self",(char *) "s", NULL
6461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6464 arg2
= wxString_in_helper(obj1
);
6465 if (arg2
== NULL
) SWIG_fail
;
6469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6470 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6472 wxPyEndAllowThreads(__tstate
);
6473 if (PyErr_Occurred()) SWIG_fail
;
6475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6490 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
*resultobj
;
6492 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6494 PyObject
* obj0
= 0 ;
6496 (char *) "self", NULL
6499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6521 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6523 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6524 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6526 return Py_BuildValue((char *)"");
6528 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
*resultobj
;
6531 wxNativeEncodingInfo
*result
;
6532 PyObject
* obj0
= 0 ;
6534 (char *) "encoding", NULL
6537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
6539 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
6540 if (PyErr_Occurred()) SWIG_fail
;
6543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6546 wxPyEndAllowThreads(__tstate
);
6547 if (PyErr_Occurred()) SWIG_fail
;
6549 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6556 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
*resultobj
;
6558 wxNativeEncodingInfo
*arg1
= 0 ;
6560 PyObject
* obj0
= 0 ;
6562 (char *) "info", NULL
6565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6568 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6572 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6584 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6585 PyObject
*resultobj
;
6586 wxFontMapper
*result
;
6591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
6593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6594 result
= (wxFontMapper
*)new wxFontMapper();
6596 wxPyEndAllowThreads(__tstate
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6599 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 1);
6606 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
*resultobj
;
6608 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6609 PyObject
* obj0
= 0 ;
6611 (char *) "self", NULL
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
6615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 wxPyEndAllowThreads(__tstate
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6623 Py_INCREF(Py_None
); resultobj
= Py_None
;
6630 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
*resultobj
;
6632 wxFontMapper
*result
;
6637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
6639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6640 result
= (wxFontMapper
*)wxFontMapper::Get();
6642 wxPyEndAllowThreads(__tstate
);
6643 if (PyErr_Occurred()) SWIG_fail
;
6645 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
6652 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6653 PyObject
*resultobj
;
6654 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6655 wxFontMapper
*result
;
6656 PyObject
* obj0
= 0 ;
6658 (char *) "mapper", NULL
6661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
6662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6670 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
6677 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
;
6679 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6680 wxString
*arg2
= 0 ;
6681 bool arg3
= (bool) True
;
6683 bool temp2
= False
;
6684 PyObject
* obj0
= 0 ;
6685 PyObject
* obj1
= 0 ;
6686 PyObject
* obj2
= 0 ;
6688 (char *) "self",(char *) "charset",(char *) "interactive", NULL
6691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6694 arg2
= wxString_in_helper(obj1
);
6695 if (arg2
== NULL
) SWIG_fail
;
6700 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6706 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
6708 wxPyEndAllowThreads(__tstate
);
6709 if (PyErr_Occurred()) SWIG_fail
;
6711 resultobj
= SWIG_PyObj_FromInt((int)result
);
6726 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6727 PyObject
*resultobj
;
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
6735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6736 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
6738 wxPyEndAllowThreads(__tstate
);
6739 if (PyErr_Occurred()) SWIG_fail
;
6741 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
6748 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
*resultobj
;
6752 PyObject
* obj0
= 0 ;
6757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
6759 arg1
= (size_t) SWIG_PyObj_AsUnsignedLong(obj0
);
6760 if (PyErr_Occurred()) SWIG_fail
;
6763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6764 result
= (int)wxFontMapper::GetEncoding(arg1
);
6766 wxPyEndAllowThreads(__tstate
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6769 resultobj
= SWIG_PyObj_FromInt((int)result
);
6776 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
*resultobj
;
6780 PyObject
* obj0
= 0 ;
6782 (char *) "encoding", NULL
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
6787 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6792 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) SWIG_fail
;
6799 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6801 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6810 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
*resultobj
;
6814 PyObject
* obj0
= 0 ;
6816 (char *) "encoding", NULL
6819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
6821 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6826 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
6828 wxPyEndAllowThreads(__tstate
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6844 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6845 PyObject
*resultobj
;
6846 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6847 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
6848 PyObject
* obj0
= 0 ;
6849 PyObject
* obj1
= 0 ;
6851 (char *) "self",(char *) "config", NULL
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
6855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6856 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6859 (arg1
)->SetConfig(arg2
);
6861 wxPyEndAllowThreads(__tstate
);
6862 if (PyErr_Occurred()) SWIG_fail
;
6864 Py_INCREF(Py_None
); resultobj
= Py_None
;
6871 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6872 PyObject
*resultobj
;
6873 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6874 wxString
*arg2
= 0 ;
6875 bool temp2
= False
;
6876 PyObject
* obj0
= 0 ;
6877 PyObject
* obj1
= 0 ;
6879 (char *) "self",(char *) "prefix", NULL
6882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
6883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6885 arg2
= wxString_in_helper(obj1
);
6886 if (arg2
== NULL
) SWIG_fail
;
6890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6891 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
6893 wxPyEndAllowThreads(__tstate
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6896 Py_INCREF(Py_None
); resultobj
= Py_None
;
6911 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
*resultobj
;
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 result
= wxFontMapper::GetDefaultConfigPath();
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6928 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6930 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6939 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
*resultobj
;
6941 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6943 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6944 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6945 bool arg4
= (bool) True
;
6947 bool temp3
= False
;
6948 PyObject
* obj0
= 0 ;
6949 PyObject
* obj1
= 0 ;
6950 PyObject
* obj2
= 0 ;
6951 PyObject
* obj3
= 0 ;
6953 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6959 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6964 arg3
= wxString_in_helper(obj2
);
6965 if (arg3
== NULL
) SWIG_fail
;
6971 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6997 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
*resultobj
;
6999 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7001 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7002 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7004 bool temp3
= False
;
7005 PyObject
* obj0
= 0 ;
7006 PyObject
* obj1
= 0 ;
7007 PyObject
* obj2
= 0 ;
7009 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7015 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
7016 if (PyErr_Occurred()) SWIG_fail
;
7020 arg3
= wxString_in_helper(obj2
);
7021 if (arg3
== NULL
) SWIG_fail
;
7026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7027 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7029 wxPyEndAllowThreads(__tstate
);
7030 if (PyErr_Occurred()) SWIG_fail
;
7032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7047 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
*resultobj
;
7049 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7050 wxWindow
*arg2
= (wxWindow
*) 0 ;
7051 PyObject
* obj0
= 0 ;
7052 PyObject
* obj1
= 0 ;
7054 (char *) "self",(char *) "parent", NULL
7057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7059 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7062 (arg1
)->SetDialogParent(arg2
);
7064 wxPyEndAllowThreads(__tstate
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7067 Py_INCREF(Py_None
); resultobj
= Py_None
;
7074 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
;
7076 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7077 wxString
*arg2
= 0 ;
7078 bool temp2
= False
;
7079 PyObject
* obj0
= 0 ;
7080 PyObject
* obj1
= 0 ;
7082 (char *) "self",(char *) "title", NULL
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7088 arg2
= wxString_in_helper(obj1
);
7089 if (arg2
== NULL
) SWIG_fail
;
7093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7094 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7096 wxPyEndAllowThreads(__tstate
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7099 Py_INCREF(Py_None
); resultobj
= Py_None
;
7114 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7117 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7119 return Py_BuildValue((char *)"");
7121 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7122 PyObject
*resultobj
;
7127 bool arg5
= (bool) False
;
7128 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7129 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7130 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7132 bool temp6
= False
;
7133 PyObject
* obj0
= 0 ;
7134 PyObject
* obj1
= 0 ;
7135 PyObject
* obj2
= 0 ;
7136 PyObject
* obj3
= 0 ;
7137 PyObject
* obj4
= 0 ;
7138 PyObject
* obj5
= 0 ;
7139 PyObject
* obj6
= 0 ;
7141 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7146 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7147 if (PyErr_Occurred()) SWIG_fail
;
7150 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7154 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7158 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7163 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7169 arg6
= wxString_in_helper(obj5
);
7170 if (arg6
== NULL
) SWIG_fail
;
7176 arg7
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj6
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7182 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7184 wxPyEndAllowThreads(__tstate
);
7185 if (PyErr_Occurred()) SWIG_fail
;
7187 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7202 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7203 PyObject
*resultobj
;
7204 wxFont
*arg1
= (wxFont
*) 0 ;
7205 PyObject
* obj0
= 0 ;
7207 (char *) "self", NULL
7210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 wxPyEndAllowThreads(__tstate
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7219 Py_INCREF(Py_None
); resultobj
= Py_None
;
7226 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7227 PyObject
*resultobj
;
7228 wxNativeFontInfo
*arg1
= 0 ;
7230 PyObject
* obj0
= 0 ;
7232 (char *) "info", NULL
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7238 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7242 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7244 wxPyEndAllowThreads(__tstate
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7247 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7254 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
*resultobj
;
7256 wxString
*arg1
= 0 ;
7258 bool temp1
= False
;
7259 PyObject
* obj0
= 0 ;
7261 (char *) "info", NULL
7264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7266 arg1
= wxString_in_helper(obj0
);
7267 if (arg1
== NULL
) SWIG_fail
;
7271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7272 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7274 wxPyEndAllowThreads(__tstate
);
7275 if (PyErr_Occurred()) SWIG_fail
;
7277 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7292 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
*resultobj
;
7296 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7297 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7298 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7299 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7301 bool temp4
= False
;
7302 PyObject
* obj0
= 0 ;
7303 PyObject
* obj1
= 0 ;
7304 PyObject
* obj2
= 0 ;
7305 PyObject
* obj3
= 0 ;
7306 PyObject
* obj4
= 0 ;
7308 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7313 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7317 arg2
= (wxFontFamily
) SWIG_PyObj_AsInt(obj1
);
7318 if (PyErr_Occurred()) SWIG_fail
;
7322 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7328 arg4
= wxString_in_helper(obj3
);
7329 if (arg4
== NULL
) SWIG_fail
;
7335 arg5
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj4
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7343 wxPyEndAllowThreads(__tstate
);
7344 if (PyErr_Occurred()) SWIG_fail
;
7346 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7361 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7362 PyObject
*resultobj
;
7363 wxFont
*arg1
= (wxFont
*) 0 ;
7365 PyObject
* obj0
= 0 ;
7367 (char *) "self", NULL
7370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 result
= (bool)((wxFont
const *)arg1
)->Ok();
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7386 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7387 PyObject
*resultobj
;
7388 wxFont
*arg1
= (wxFont
*) 0 ;
7391 PyObject
* obj0
= 0 ;
7392 PyObject
* obj1
= 0 ;
7394 (char *) "self",(char *) "font", NULL
7397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7399 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7401 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7405 result
= (bool)((wxFont
const *)arg1
)->operator ==((wxFont
const &)*arg2
);
7407 wxPyEndAllowThreads(__tstate
);
7408 if (PyErr_Occurred()) SWIG_fail
;
7410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7417 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
*resultobj
;
7419 wxFont
*arg1
= (wxFont
*) 0 ;
7422 PyObject
* obj0
= 0 ;
7423 PyObject
* obj1
= 0 ;
7425 (char *) "self",(char *) "font", NULL
7428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7430 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7432 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7436 result
= (bool)((wxFont
const *)arg1
)->operator !=((wxFont
const &)*arg2
);
7438 wxPyEndAllowThreads(__tstate
);
7439 if (PyErr_Occurred()) SWIG_fail
;
7441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7448 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
;
7450 wxFont
*arg1
= (wxFont
*) 0 ;
7452 PyObject
* obj0
= 0 ;
7454 (char *) "self", NULL
7457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7463 wxPyEndAllowThreads(__tstate
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7466 resultobj
= SWIG_PyObj_FromInt((int)result
);
7473 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7474 PyObject
*resultobj
;
7475 wxFont
*arg1
= (wxFont
*) 0 ;
7477 PyObject
* obj0
= 0 ;
7479 (char *) "self", NULL
7482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7486 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7488 wxPyEndAllowThreads(__tstate
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7491 resultobj
= SWIG_PyObj_FromInt((int)result
);
7498 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
*resultobj
;
7500 wxFont
*arg1
= (wxFont
*) 0 ;
7502 PyObject
* obj0
= 0 ;
7504 (char *) "self", NULL
7507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
7508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7511 result
= (int)((wxFont
const *)arg1
)->GetStyle();
7513 wxPyEndAllowThreads(__tstate
);
7514 if (PyErr_Occurred()) SWIG_fail
;
7516 resultobj
= SWIG_PyObj_FromInt((int)result
);
7523 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7524 PyObject
*resultobj
;
7525 wxFont
*arg1
= (wxFont
*) 0 ;
7527 PyObject
* obj0
= 0 ;
7529 (char *) "self", NULL
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
7533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 result
= (int)((wxFont
const *)arg1
)->GetWeight();
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7541 resultobj
= SWIG_PyObj_FromInt((int)result
);
7548 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7549 PyObject
*resultobj
;
7550 wxFont
*arg1
= (wxFont
*) 0 ;
7552 PyObject
* obj0
= 0 ;
7554 (char *) "self", NULL
7557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7561 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
7563 wxPyEndAllowThreads(__tstate
);
7564 if (PyErr_Occurred()) SWIG_fail
;
7566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7573 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7574 PyObject
*resultobj
;
7575 wxFont
*arg1
= (wxFont
*) 0 ;
7577 PyObject
* obj0
= 0 ;
7579 (char *) "self", NULL
7582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
7583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7586 result
= ((wxFont
const *)arg1
)->GetFaceName();
7588 wxPyEndAllowThreads(__tstate
);
7589 if (PyErr_Occurred()) SWIG_fail
;
7593 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7595 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7604 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7605 PyObject
*resultobj
;
7606 wxFont
*arg1
= (wxFont
*) 0 ;
7608 PyObject
* obj0
= 0 ;
7610 (char *) "self", NULL
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
7614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7617 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
7619 wxPyEndAllowThreads(__tstate
);
7620 if (PyErr_Occurred()) SWIG_fail
;
7622 resultobj
= SWIG_PyObj_FromInt((int)result
);
7629 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7630 PyObject
*resultobj
;
7631 wxFont
*arg1
= (wxFont
*) 0 ;
7632 wxNativeFontInfo
*result
;
7633 PyObject
* obj0
= 0 ;
7635 (char *) "self", NULL
7638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
7639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7642 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
7644 wxPyEndAllowThreads(__tstate
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7647 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 0);
7654 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
*resultobj
;
7656 wxFont
*arg1
= (wxFont
*) 0 ;
7658 PyObject
* obj0
= 0 ;
7660 (char *) "self", NULL
7663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
7664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7679 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
;
7681 wxFont
*arg1
= (wxFont
*) 0 ;
7683 PyObject
* obj0
= 0 ;
7685 (char *) "self", NULL
7688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
7689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7699 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7701 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7710 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
*resultobj
;
7712 wxFont
*arg1
= (wxFont
*) 0 ;
7714 PyObject
* obj0
= 0 ;
7716 (char *) "self", NULL
7719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
7720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7723 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
7725 wxPyEndAllowThreads(__tstate
);
7726 if (PyErr_Occurred()) SWIG_fail
;
7730 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7732 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7741 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
*resultobj
;
7743 wxFont
*arg1
= (wxFont
*) 0 ;
7745 PyObject
* obj0
= 0 ;
7746 PyObject
* obj1
= 0 ;
7748 (char *) "self",(char *) "pointSize", NULL
7751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7754 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7755 if (PyErr_Occurred()) SWIG_fail
;
7758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7759 (arg1
)->SetPointSize(arg2
);
7761 wxPyEndAllowThreads(__tstate
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7764 Py_INCREF(Py_None
); resultobj
= Py_None
;
7771 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
*resultobj
;
7773 wxFont
*arg1
= (wxFont
*) 0 ;
7775 PyObject
* obj0
= 0 ;
7776 PyObject
* obj1
= 0 ;
7778 (char *) "self",(char *) "family", NULL
7781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
7782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7784 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7789 (arg1
)->SetFamily(arg2
);
7791 wxPyEndAllowThreads(__tstate
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7794 Py_INCREF(Py_None
); resultobj
= Py_None
;
7801 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
*resultobj
;
7803 wxFont
*arg1
= (wxFont
*) 0 ;
7805 PyObject
* obj0
= 0 ;
7806 PyObject
* obj1
= 0 ;
7808 (char *) "self",(char *) "style", NULL
7811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7814 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 (arg1
)->SetStyle(arg2
);
7821 wxPyEndAllowThreads(__tstate
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7824 Py_INCREF(Py_None
); resultobj
= Py_None
;
7831 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
*resultobj
;
7833 wxFont
*arg1
= (wxFont
*) 0 ;
7835 PyObject
* obj0
= 0 ;
7836 PyObject
* obj1
= 0 ;
7838 (char *) "self",(char *) "weight", NULL
7841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7844 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7849 (arg1
)->SetWeight(arg2
);
7851 wxPyEndAllowThreads(__tstate
);
7852 if (PyErr_Occurred()) SWIG_fail
;
7854 Py_INCREF(Py_None
); resultobj
= Py_None
;
7861 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7862 PyObject
*resultobj
;
7863 wxFont
*arg1
= (wxFont
*) 0 ;
7864 wxString
*arg2
= 0 ;
7865 bool temp2
= False
;
7866 PyObject
* obj0
= 0 ;
7867 PyObject
* obj1
= 0 ;
7869 (char *) "self",(char *) "faceName", NULL
7872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
7873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7875 arg2
= wxString_in_helper(obj1
);
7876 if (arg2
== NULL
) SWIG_fail
;
7880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 (arg1
)->SetFaceName((wxString
const &)*arg2
);
7883 wxPyEndAllowThreads(__tstate
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7886 Py_INCREF(Py_None
); resultobj
= Py_None
;
7901 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7902 PyObject
*resultobj
;
7903 wxFont
*arg1
= (wxFont
*) 0 ;
7905 PyObject
* obj0
= 0 ;
7906 PyObject
* obj1
= 0 ;
7908 (char *) "self",(char *) "underlined", NULL
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
7912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7914 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7915 if (PyErr_Occurred()) SWIG_fail
;
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 (arg1
)->SetUnderlined(arg2
);
7921 wxPyEndAllowThreads(__tstate
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7924 Py_INCREF(Py_None
); resultobj
= Py_None
;
7931 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7932 PyObject
*resultobj
;
7933 wxFont
*arg1
= (wxFont
*) 0 ;
7935 PyObject
* obj0
= 0 ;
7936 PyObject
* obj1
= 0 ;
7938 (char *) "self",(char *) "encoding", NULL
7941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
7942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7944 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7949 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
7951 wxPyEndAllowThreads(__tstate
);
7952 if (PyErr_Occurred()) SWIG_fail
;
7954 Py_INCREF(Py_None
); resultobj
= Py_None
;
7961 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7962 PyObject
*resultobj
;
7963 wxFont
*arg1
= (wxFont
*) 0 ;
7964 wxNativeFontInfo
*arg2
= 0 ;
7965 PyObject
* obj0
= 0 ;
7966 PyObject
* obj1
= 0 ;
7968 (char *) "self",(char *) "info", NULL
7971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
7972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7973 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7975 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7979 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
7981 wxPyEndAllowThreads(__tstate
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7984 Py_INCREF(Py_None
); resultobj
= Py_None
;
7991 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
;
7993 wxFont
*arg1
= (wxFont
*) 0 ;
7994 wxString
*arg2
= 0 ;
7995 bool temp2
= False
;
7996 PyObject
* obj0
= 0 ;
7997 PyObject
* obj1
= 0 ;
7999 (char *) "self",(char *) "info", NULL
8002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8005 arg2
= wxString_in_helper(obj1
);
8006 if (arg2
== NULL
) SWIG_fail
;
8010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8011 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8013 wxPyEndAllowThreads(__tstate
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8016 Py_INCREF(Py_None
); resultobj
= Py_None
;
8031 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8032 PyObject
*resultobj
;
8033 wxFont
*arg1
= (wxFont
*) 0 ;
8034 wxString
*arg2
= 0 ;
8035 bool temp2
= False
;
8036 PyObject
* obj0
= 0 ;
8037 PyObject
* obj1
= 0 ;
8039 (char *) "self",(char *) "info", NULL
8042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8045 arg2
= wxString_in_helper(obj1
);
8046 if (arg2
== NULL
) SWIG_fail
;
8050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8051 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8053 wxPyEndAllowThreads(__tstate
);
8054 if (PyErr_Occurred()) SWIG_fail
;
8056 Py_INCREF(Py_None
); resultobj
= Py_None
;
8071 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8072 PyObject
*resultobj
;
8073 wxFont
*arg1
= (wxFont
*) 0 ;
8075 PyObject
* obj0
= 0 ;
8077 (char *) "self", NULL
8080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8084 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8086 wxPyEndAllowThreads(__tstate
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8091 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8093 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8102 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8103 PyObject
*resultobj
;
8104 wxFont
*arg1
= (wxFont
*) 0 ;
8106 PyObject
* obj0
= 0 ;
8108 (char *) "self", NULL
8111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8115 result
= ((wxFont
const *)arg1
)->GetStyleString();
8117 wxPyEndAllowThreads(__tstate
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8133 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
*resultobj
;
8135 wxFont
*arg1
= (wxFont
*) 0 ;
8137 PyObject
* obj0
= 0 ;
8139 (char *) "self", NULL
8142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 result
= ((wxFont
const *)arg1
)->GetWeightString();
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8164 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8165 PyObject
*resultobj
;
8166 wxFont
*arg1
= (wxFont
*) 0 ;
8167 bool arg2
= (bool) True
;
8168 PyObject
* obj0
= 0 ;
8169 PyObject
* obj1
= 0 ;
8171 (char *) "self",(char *) "no", NULL
8174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8178 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8179 if (PyErr_Occurred()) SWIG_fail
;
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 (arg1
)->SetNoAntiAliasing(arg2
);
8186 wxPyEndAllowThreads(__tstate
);
8187 if (PyErr_Occurred()) SWIG_fail
;
8189 Py_INCREF(Py_None
); resultobj
= Py_None
;
8196 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8197 PyObject
*resultobj
;
8198 wxFont
*arg1
= (wxFont
*) 0 ;
8200 PyObject
* obj0
= 0 ;
8202 (char *) "self", NULL
8205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8209 result
= (bool)(arg1
)->GetNoAntiAliasing();
8211 wxPyEndAllowThreads(__tstate
);
8212 if (PyErr_Occurred()) SWIG_fail
;
8214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8221 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8222 PyObject
*resultobj
;
8228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 result
= (int)wxFont::GetDefaultEncoding();
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8236 resultobj
= SWIG_PyObj_FromInt((int)result
);
8243 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8244 PyObject
*resultobj
;
8246 PyObject
* obj0
= 0 ;
8248 (char *) "encoding", NULL
8251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8253 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
8254 if (PyErr_Occurred()) SWIG_fail
;
8257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8258 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8260 wxPyEndAllowThreads(__tstate
);
8261 if (PyErr_Occurred()) SWIG_fail
;
8263 Py_INCREF(Py_None
); resultobj
= Py_None
;
8270 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
8272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8273 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8275 return Py_BuildValue((char *)"");
8277 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8278 PyObject
*resultobj
;
8279 wxPyFontEnumerator
*result
;
8284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8287 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8289 wxPyEndAllowThreads(__tstate
);
8290 if (PyErr_Occurred()) SWIG_fail
;
8292 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFontEnumerator
, 1);
8299 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8300 PyObject
*resultobj
;
8301 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8302 PyObject
* obj0
= 0 ;
8304 (char *) "self", NULL
8307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8313 wxPyEndAllowThreads(__tstate
);
8314 if (PyErr_Occurred()) SWIG_fail
;
8316 Py_INCREF(Py_None
); resultobj
= Py_None
;
8323 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8324 PyObject
*resultobj
;
8325 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8326 PyObject
*arg2
= (PyObject
*) 0 ;
8327 PyObject
*arg3
= (PyObject
*) 0 ;
8329 PyObject
* obj0
= 0 ;
8330 PyObject
* obj1
= 0 ;
8331 PyObject
* obj2
= 0 ;
8332 PyObject
* obj3
= 0 ;
8334 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8342 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8347 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8349 wxPyEndAllowThreads(__tstate
);
8350 if (PyErr_Occurred()) SWIG_fail
;
8352 Py_INCREF(Py_None
); resultobj
= Py_None
;
8359 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8360 PyObject
*resultobj
;
8361 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8362 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8363 bool arg3
= (bool) False
;
8365 PyObject
* obj0
= 0 ;
8366 PyObject
* obj1
= 0 ;
8367 PyObject
* obj2
= 0 ;
8369 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8376 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
8377 if (PyErr_Occurred()) SWIG_fail
;
8382 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
8383 if (PyErr_Occurred()) SWIG_fail
;
8387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8388 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8390 wxPyEndAllowThreads(__tstate
);
8391 if (PyErr_Occurred()) SWIG_fail
;
8393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8400 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8401 PyObject
*resultobj
;
8402 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8403 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8404 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8406 bool temp2
= False
;
8407 PyObject
* obj0
= 0 ;
8408 PyObject
* obj1
= 0 ;
8410 (char *) "self",(char *) "facename", NULL
8413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8417 arg2
= wxString_in_helper(obj1
);
8418 if (arg2
== NULL
) SWIG_fail
;
8423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8424 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8426 wxPyEndAllowThreads(__tstate
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8444 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8445 PyObject
*resultobj
;
8446 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8448 PyObject
* obj0
= 0 ;
8450 (char *) "self", NULL
8453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8457 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8459 wxPyEndAllowThreads(__tstate
);
8460 if (PyErr_Occurred()) SWIG_fail
;
8469 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8470 PyObject
*resultobj
;
8471 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8473 PyObject
* obj0
= 0 ;
8475 (char *) "self", NULL
8478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8482 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
8484 wxPyEndAllowThreads(__tstate
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8494 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
8496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8497 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
8499 return Py_BuildValue((char *)"");
8501 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
*resultobj
;
8503 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8505 PyObject
* obj0
= 0 ;
8506 PyObject
* obj1
= 0 ;
8508 (char *) "self",(char *) "Language", NULL
8511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8514 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8515 if (PyErr_Occurred()) SWIG_fail
;
8517 if (arg1
) (arg1
)->Language
= arg2
;
8519 Py_INCREF(Py_None
); resultobj
= Py_None
;
8526 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8527 PyObject
*resultobj
;
8528 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8530 PyObject
* obj0
= 0 ;
8532 (char *) "self", NULL
8535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
8536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8537 result
= (int) ((arg1
)->Language
);
8539 resultobj
= SWIG_PyObj_FromInt((int)result
);
8546 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8547 PyObject
*resultobj
;
8548 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8549 wxString
*arg2
= (wxString
*) 0 ;
8550 bool temp2
= False
;
8551 PyObject
* obj0
= 0 ;
8552 PyObject
* obj1
= 0 ;
8554 (char *) "self",(char *) "CanonicalName", NULL
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8560 arg2
= wxString_in_helper(obj1
);
8561 if (arg2
== NULL
) SWIG_fail
;
8564 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
8566 Py_INCREF(Py_None
); resultobj
= Py_None
;
8581 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
*resultobj
;
8583 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8585 PyObject
* obj0
= 0 ;
8587 (char *) "self", NULL
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
8591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8592 result
= (wxString
*)& ((arg1
)->CanonicalName
);
8596 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8598 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8607 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8608 PyObject
*resultobj
;
8609 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8610 wxString
*arg2
= (wxString
*) 0 ;
8611 bool temp2
= False
;
8612 PyObject
* obj0
= 0 ;
8613 PyObject
* obj1
= 0 ;
8615 (char *) "self",(char *) "Description", NULL
8618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8621 arg2
= wxString_in_helper(obj1
);
8622 if (arg2
== NULL
) SWIG_fail
;
8625 if (arg1
) (arg1
)->Description
= *arg2
;
8627 Py_INCREF(Py_None
); resultobj
= Py_None
;
8642 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8643 PyObject
*resultobj
;
8644 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8646 PyObject
* obj0
= 0 ;
8648 (char *) "self", NULL
8651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
8652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8653 result
= (wxString
*)& ((arg1
)->Description
);
8657 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8659 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8668 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
8670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8671 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
8673 return Py_BuildValue((char *)"");
8675 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8676 PyObject
*resultobj
;
8677 int arg1
= (int) wxLANGUAGE_DEFAULT
;
8678 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
8680 PyObject
* obj0
= 0 ;
8681 PyObject
* obj1
= 0 ;
8683 (char *) "language",(char *) "flags", NULL
8686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
8689 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8690 if (PyErr_Occurred()) SWIG_fail
;
8695 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8701 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
8703 wxPyEndAllowThreads(__tstate
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8706 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLocale
, 1);
8713 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8714 PyObject
*resultobj
;
8715 wxLocale
*arg1
= (wxLocale
*) 0 ;
8716 PyObject
* obj0
= 0 ;
8718 (char *) "self", NULL
8721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
8722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8727 wxPyEndAllowThreads(__tstate
);
8728 if (PyErr_Occurred()) SWIG_fail
;
8730 Py_INCREF(Py_None
); resultobj
= Py_None
;
8737 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8738 PyObject
*resultobj
;
8739 wxLocale
*arg1
= (wxLocale
*) 0 ;
8740 wxString
*arg2
= 0 ;
8741 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8742 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8743 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8744 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8745 bool arg5
= (bool) True
;
8746 bool arg6
= (bool) False
;
8748 bool temp2
= False
;
8749 bool temp3
= False
;
8750 bool temp4
= False
;
8751 PyObject
* obj0
= 0 ;
8752 PyObject
* obj1
= 0 ;
8753 PyObject
* obj2
= 0 ;
8754 PyObject
* obj3
= 0 ;
8755 PyObject
* obj4
= 0 ;
8756 PyObject
* obj5
= 0 ;
8758 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
8761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8764 arg2
= wxString_in_helper(obj1
);
8765 if (arg2
== NULL
) SWIG_fail
;
8770 arg3
= wxString_in_helper(obj2
);
8771 if (arg3
== NULL
) SWIG_fail
;
8777 arg4
= wxString_in_helper(obj3
);
8778 if (arg4
== NULL
) SWIG_fail
;
8784 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8790 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8796 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
8798 wxPyEndAllowThreads(__tstate
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8832 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
;
8834 wxLocale
*arg1
= (wxLocale
*) 0 ;
8835 int arg2
= (int) wxLANGUAGE_DEFAULT
;
8836 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
8838 PyObject
* obj0
= 0 ;
8839 PyObject
* obj1
= 0 ;
8840 PyObject
* obj2
= 0 ;
8842 (char *) "self",(char *) "language",(char *) "flags", NULL
8845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8849 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8855 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 result
= (bool)(arg1
)->Init(arg2
,arg3
);
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8873 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
*resultobj
;
8880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
8882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8883 result
= (int)wxLocale::GetSystemLanguage();
8885 wxPyEndAllowThreads(__tstate
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8888 resultobj
= SWIG_PyObj_FromInt((int)result
);
8895 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
*resultobj
;
8902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 result
= (int)wxLocale::GetSystemEncoding();
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8910 resultobj
= SWIG_PyObj_FromInt((int)result
);
8917 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8918 PyObject
*resultobj
;
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 result
= wxLocale::GetSystemEncodingName();
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8934 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8936 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8945 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
*resultobj
;
8947 wxLocale
*arg1
= (wxLocale
*) 0 ;
8949 PyObject
* obj0
= 0 ;
8951 (char *) "self", NULL
8954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
8955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8970 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
;
8972 wxLocale
*arg1
= (wxLocale
*) 0 ;
8974 PyObject
* obj0
= 0 ;
8976 (char *) "self", NULL
8979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
8980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8983 result
= ((wxLocale
const *)arg1
)->GetLocale();
8985 wxPyEndAllowThreads(__tstate
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8990 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8992 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9001 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
*resultobj
;
9003 wxLocale
*arg1
= (wxLocale
*) 0 ;
9005 PyObject
* obj0
= 0 ;
9007 (char *) "self", NULL
9010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9014 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9016 wxPyEndAllowThreads(__tstate
);
9017 if (PyErr_Occurred()) SWIG_fail
;
9019 resultobj
= SWIG_PyObj_FromInt((int)result
);
9026 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9027 PyObject
*resultobj
;
9028 wxLocale
*arg1
= (wxLocale
*) 0 ;
9030 PyObject
* obj0
= 0 ;
9032 (char *) "self", NULL
9035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 result
= ((wxLocale
const *)arg1
)->GetSysName();
9041 wxPyEndAllowThreads(__tstate
);
9042 if (PyErr_Occurred()) SWIG_fail
;
9046 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9048 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9057 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9058 PyObject
*resultobj
;
9059 wxLocale
*arg1
= (wxLocale
*) 0 ;
9061 PyObject
* obj0
= 0 ;
9063 (char *) "self", NULL
9066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9070 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9072 wxPyEndAllowThreads(__tstate
);
9073 if (PyErr_Occurred()) SWIG_fail
;
9077 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9079 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9088 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9089 PyObject
*resultobj
;
9090 wxString
*arg1
= 0 ;
9091 bool temp1
= False
;
9092 PyObject
* obj0
= 0 ;
9094 (char *) "prefix", NULL
9097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9099 arg1
= wxString_in_helper(obj0
);
9100 if (arg1
== NULL
) SWIG_fail
;
9104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9105 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9107 wxPyEndAllowThreads(__tstate
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9110 Py_INCREF(Py_None
); resultobj
= Py_None
;
9125 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
;
9127 wxLocale
*arg1
= (wxLocale
*) 0 ;
9128 wxString
*arg2
= 0 ;
9130 bool temp2
= False
;
9131 PyObject
* obj0
= 0 ;
9132 PyObject
* obj1
= 0 ;
9134 (char *) "self",(char *) "szDomain", NULL
9137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9140 arg2
= wxString_in_helper(obj1
);
9141 if (arg2
== NULL
) SWIG_fail
;
9145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9148 wxPyEndAllowThreads(__tstate
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9166 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9167 PyObject
*resultobj
;
9168 wxLocale
*arg1
= (wxLocale
*) 0 ;
9169 wxString
*arg2
= 0 ;
9171 bool temp2
= False
;
9172 PyObject
* obj0
= 0 ;
9173 PyObject
* obj1
= 0 ;
9175 (char *) "self",(char *) "szDomain", NULL
9178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9181 arg2
= wxString_in_helper(obj1
);
9182 if (arg2
== NULL
) SWIG_fail
;
9186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9187 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9189 wxPyEndAllowThreads(__tstate
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9207 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9208 PyObject
*resultobj
;
9210 wxLanguageInfo
*result
;
9211 PyObject
* obj0
= 0 ;
9213 (char *) "lang", NULL
9216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9218 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9223 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9225 wxPyEndAllowThreads(__tstate
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9228 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLanguageInfo
, 0);
9235 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9236 PyObject
*resultobj
;
9239 PyObject
* obj0
= 0 ;
9241 (char *) "lang", NULL
9244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9246 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9247 if (PyErr_Occurred()) SWIG_fail
;
9250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9251 result
= wxLocale::GetLanguageName(arg1
);
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9258 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9260 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9269 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
*resultobj
;
9271 wxString
*arg1
= 0 ;
9272 wxLanguageInfo
*result
;
9273 bool temp1
= False
;
9274 PyObject
* obj0
= 0 ;
9276 (char *) "locale", NULL
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9281 arg1
= wxString_in_helper(obj0
);
9282 if (arg1
== NULL
) SWIG_fail
;
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9292 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLanguageInfo
, 0);
9307 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9308 PyObject
*resultobj
;
9309 wxLanguageInfo
*arg1
= 0 ;
9310 PyObject
* obj0
= 0 ;
9312 (char *) "info", NULL
9315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9318 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9327 Py_INCREF(Py_None
); resultobj
= Py_None
;
9334 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
;
9336 wxLocale
*arg1
= (wxLocale
*) 0 ;
9337 wxString
*arg2
= 0 ;
9338 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9339 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9341 bool temp2
= False
;
9342 bool temp3
= False
;
9343 PyObject
* obj0
= 0 ;
9344 PyObject
* obj1
= 0 ;
9345 PyObject
* obj2
= 0 ;
9347 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9353 arg2
= wxString_in_helper(obj1
);
9354 if (arg2
== NULL
) SWIG_fail
;
9359 arg3
= wxString_in_helper(obj2
);
9360 if (arg3
== NULL
) SWIG_fail
;
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9400 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9401 PyObject
*resultobj
;
9402 wxLocale
*arg1
= (wxLocale
*) 0 ;
9404 PyObject
* obj0
= 0 ;
9406 (char *) "self", NULL
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9414 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9415 result
= (wxString
*) &_result_ref
;
9418 wxPyEndAllowThreads(__tstate
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9423 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9425 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9434 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
9436 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9437 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9439 return Py_BuildValue((char *)"");
9441 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9442 PyObject
*resultobj
;
9448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9451 result
= (wxLocale
*)wxGetLocale();
9453 wxPyEndAllowThreads(__tstate
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9456 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLocale
, 0);
9463 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
9464 PyObject
*resultobj
;
9465 wxString
*arg1
= 0 ;
9467 bool temp1
= False
;
9468 PyObject
* obj0
= 0 ;
9470 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9472 arg1
= wxString_in_helper(obj0
);
9473 if (arg1
== NULL
) SWIG_fail
;
9477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9478 result
= wxGetTranslation((wxString
const &)*arg1
);
9480 wxPyEndAllowThreads(__tstate
);
9481 if (PyErr_Occurred()) SWIG_fail
;
9485 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9487 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9504 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
9505 PyObject
*resultobj
;
9506 wxString
*arg1
= 0 ;
9507 wxString
*arg2
= 0 ;
9510 bool temp1
= False
;
9511 bool temp2
= False
;
9512 PyObject
* obj0
= 0 ;
9513 PyObject
* obj1
= 0 ;
9514 PyObject
* obj2
= 0 ;
9516 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
9518 arg1
= wxString_in_helper(obj0
);
9519 if (arg1
== NULL
) SWIG_fail
;
9523 arg2
= wxString_in_helper(obj1
);
9524 if (arg2
== NULL
) SWIG_fail
;
9528 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9533 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9535 wxPyEndAllowThreads(__tstate
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9540 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9542 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9567 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
9572 argc
= PyObject_Length(args
);
9573 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9574 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9579 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9582 return _wrap_GetTranslation__SWIG_0(self
,args
);
9588 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9592 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9596 SWIG_PyObj_AsUnsignedLong(argv
[2]);
9597 if (PyErr_Occurred()) {
9605 return _wrap_GetTranslation__SWIG_1(self
,args
);
9611 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
9616 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9617 PyObject
*resultobj
;
9618 wxEncodingConverter
*result
;
9623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
9625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9626 result
= (wxEncodingConverter
*)new wxEncodingConverter();
9628 wxPyEndAllowThreads(__tstate
);
9629 if (PyErr_Occurred()) SWIG_fail
;
9631 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEncodingConverter
, 1);
9638 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9639 PyObject
*resultobj
;
9640 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9641 PyObject
* obj0
= 0 ;
9643 (char *) "self", NULL
9646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
9647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9652 wxPyEndAllowThreads(__tstate
);
9653 if (PyErr_Occurred()) SWIG_fail
;
9655 Py_INCREF(Py_None
); resultobj
= Py_None
;
9662 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9663 PyObject
*resultobj
;
9664 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9667 int arg4
= (int) wxCONVERT_STRICT
;
9669 PyObject
* obj0
= 0 ;
9670 PyObject
* obj1
= 0 ;
9671 PyObject
* obj2
= 0 ;
9672 PyObject
* obj3
= 0 ;
9674 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
9677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9680 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
9681 if (PyErr_Occurred()) SWIG_fail
;
9684 arg3
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj2
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9689 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9690 if (PyErr_Occurred()) SWIG_fail
;
9694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9695 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
9697 wxPyEndAllowThreads(__tstate
);
9698 if (PyErr_Occurred()) SWIG_fail
;
9700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9707 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9708 PyObject
*resultobj
;
9709 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9710 wxString
*arg2
= 0 ;
9712 bool temp2
= False
;
9713 PyObject
* obj0
= 0 ;
9714 PyObject
* obj1
= 0 ;
9716 (char *) "self",(char *) "input", NULL
9719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
9720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9722 arg2
= wxString_in_helper(obj1
);
9723 if (arg2
== NULL
) SWIG_fail
;
9727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9728 result
= (arg1
)->Convert((wxString
const &)*arg2
);
9730 wxPyEndAllowThreads(__tstate
);
9731 if (PyErr_Occurred()) SWIG_fail
;
9735 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9737 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9754 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9755 PyObject
*resultobj
;
9757 int arg2
= (int) wxPLATFORM_CURRENT
;
9758 wxFontEncodingArray result
;
9759 PyObject
* obj0
= 0 ;
9760 PyObject
* obj1
= 0 ;
9762 (char *) "enc",(char *) "platform", NULL
9765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
9767 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9772 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9773 if (PyErr_Occurred()) SWIG_fail
;
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9784 resultobj
= PyList_New(0);
9785 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
9786 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
9787 PyList_Append(resultobj
, number
);
9797 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
;
9800 wxFontEncodingArray result
;
9801 PyObject
* obj0
= 0 ;
9803 (char *) "enc", NULL
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
9808 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
9809 if (PyErr_Occurred()) SWIG_fail
;
9812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9813 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
9815 wxPyEndAllowThreads(__tstate
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9819 resultobj
= PyList_New(0);
9820 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
9821 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
9822 PyList_Append(resultobj
, number
);
9832 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9833 PyObject
*resultobj
;
9837 PyObject
* obj0
= 0 ;
9838 PyObject
* obj1
= 0 ;
9840 (char *) "encIn",(char *) "encOut", NULL
9843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
9845 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
9846 if (PyErr_Occurred()) SWIG_fail
;
9849 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9854 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
9856 wxPyEndAllowThreads(__tstate
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9866 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
9868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9869 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
9871 return Py_BuildValue((char *)"");
9873 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
*resultobj
;
9875 wxDC
*arg1
= (wxDC
*) 0 ;
9876 PyObject
* obj0
= 0 ;
9878 (char *) "self", NULL
9881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
9882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9887 wxPyEndAllowThreads(__tstate
);
9888 if (PyErr_Occurred()) SWIG_fail
;
9890 Py_INCREF(Py_None
); resultobj
= Py_None
;
9897 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9898 PyObject
*resultobj
;
9899 wxDC
*arg1
= (wxDC
*) 0 ;
9900 PyObject
* obj0
= 0 ;
9902 (char *) "self", NULL
9905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
9906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9909 (arg1
)->BeginDrawing();
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9914 Py_INCREF(Py_None
); resultobj
= Py_None
;
9921 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
;
9923 wxDC
*arg1
= (wxDC
*) 0 ;
9924 PyObject
* obj0
= 0 ;
9926 (char *) "self", NULL
9929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
9930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 (arg1
)->EndDrawing();
9935 wxPyEndAllowThreads(__tstate
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9938 Py_INCREF(Py_None
); resultobj
= Py_None
;
9945 static PyObject
*_wrap_DC_FloodFillXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9946 PyObject
*resultobj
;
9947 wxDC
*arg1
= (wxDC
*) 0 ;
9950 wxColour
*arg4
= 0 ;
9951 int arg5
= (int) wxFLOOD_SURFACE
;
9954 PyObject
* obj0
= 0 ;
9955 PyObject
* obj1
= 0 ;
9956 PyObject
* obj2
= 0 ;
9957 PyObject
* obj3
= 0 ;
9958 PyObject
* obj4
= 0 ;
9960 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
9963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFillXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9966 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9970 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9971 if (PyErr_Occurred()) SWIG_fail
;
9975 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
9979 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9985 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
9987 wxPyEndAllowThreads(__tstate
);
9988 if (PyErr_Occurred()) SWIG_fail
;
9990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9997 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9998 PyObject
*resultobj
;
9999 wxDC
*arg1
= (wxDC
*) 0 ;
10000 wxPoint
*arg2
= 0 ;
10001 wxColour
*arg3
= 0 ;
10002 int arg4
= (int) wxFLOOD_SURFACE
;
10006 PyObject
* obj0
= 0 ;
10007 PyObject
* obj1
= 0 ;
10008 PyObject
* obj2
= 0 ;
10009 PyObject
* obj3
= 0 ;
10010 char *kwnames
[] = {
10011 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10018 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10022 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10026 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10027 if (PyErr_Occurred()) SWIG_fail
;
10031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10032 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10034 wxPyEndAllowThreads(__tstate
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10044 static PyObject
*_wrap_DC_GetPixelXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10045 PyObject
*resultobj
;
10046 wxDC
*arg1
= (wxDC
*) 0 ;
10050 PyObject
* obj0
= 0 ;
10051 PyObject
* obj1
= 0 ;
10052 PyObject
* obj2
= 0 ;
10053 char *kwnames
[] = {
10054 (char *) "self",(char *) "x",(char *) "y", NULL
10057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixelXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10060 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10064 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10069 result
= wxDC_GetPixelXY(arg1
,arg2
,arg3
);
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_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10086 PyObject
*resultobj
;
10087 wxDC
*arg1
= (wxDC
*) 0 ;
10088 wxPoint
*arg2
= 0 ;
10091 PyObject
* obj0
= 0 ;
10092 PyObject
* obj1
= 0 ;
10093 char *kwnames
[] = {
10094 (char *) "self",(char *) "pt", NULL
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
;
10098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10101 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 result
= wxDC_GetPixel(arg1
,(wxPoint
const &)*arg2
);
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10111 wxColour
* resultptr
;
10112 resultptr
= new wxColour((wxColour
&) result
);
10113 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10121 static PyObject
*_wrap_DC_DrawLineXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10122 PyObject
*resultobj
;
10123 wxDC
*arg1
= (wxDC
*) 0 ;
10128 PyObject
* obj0
= 0 ;
10129 PyObject
* obj1
= 0 ;
10130 PyObject
* obj2
= 0 ;
10131 PyObject
* obj3
= 0 ;
10132 PyObject
* obj4
= 0 ;
10133 char *kwnames
[] = {
10134 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLineXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10140 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10144 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10145 if (PyErr_Occurred()) SWIG_fail
;
10148 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10152 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10153 if (PyErr_Occurred()) SWIG_fail
;
10156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10162 Py_INCREF(Py_None
); resultobj
= Py_None
;
10169 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10170 PyObject
*resultobj
;
10171 wxDC
*arg1
= (wxDC
*) 0 ;
10172 wxPoint
*arg2
= 0 ;
10173 wxPoint
*arg3
= 0 ;
10176 PyObject
* obj0
= 0 ;
10177 PyObject
* obj1
= 0 ;
10178 PyObject
* obj2
= 0 ;
10179 char *kwnames
[] = {
10180 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10187 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10191 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10195 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10197 wxPyEndAllowThreads(__tstate
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10200 Py_INCREF(Py_None
); resultobj
= Py_None
;
10207 static PyObject
*_wrap_DC_CrossHairXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10208 PyObject
*resultobj
;
10209 wxDC
*arg1
= (wxDC
*) 0 ;
10212 PyObject
* obj0
= 0 ;
10213 PyObject
* obj1
= 0 ;
10214 PyObject
* obj2
= 0 ;
10215 char *kwnames
[] = {
10216 (char *) "self",(char *) "x",(char *) "y", NULL
10219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHairXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10222 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10223 if (PyErr_Occurred()) SWIG_fail
;
10226 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10231 (arg1
)->CrossHair(arg2
,arg3
);
10233 wxPyEndAllowThreads(__tstate
);
10234 if (PyErr_Occurred()) SWIG_fail
;
10236 Py_INCREF(Py_None
); resultobj
= Py_None
;
10243 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10244 PyObject
*resultobj
;
10245 wxDC
*arg1
= (wxDC
*) 0 ;
10246 wxPoint
*arg2
= 0 ;
10248 PyObject
* obj0
= 0 ;
10249 PyObject
* obj1
= 0 ;
10250 char *kwnames
[] = {
10251 (char *) "self",(char *) "pt", NULL
10254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
;
10255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10258 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10262 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10264 wxPyEndAllowThreads(__tstate
);
10265 if (PyErr_Occurred()) SWIG_fail
;
10267 Py_INCREF(Py_None
); resultobj
= Py_None
;
10274 static PyObject
*_wrap_DC_DrawArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10275 PyObject
*resultobj
;
10276 wxDC
*arg1
= (wxDC
*) 0 ;
10283 PyObject
* obj0
= 0 ;
10284 PyObject
* obj1
= 0 ;
10285 PyObject
* obj2
= 0 ;
10286 PyObject
* obj3
= 0 ;
10287 PyObject
* obj4
= 0 ;
10288 PyObject
* obj5
= 0 ;
10289 PyObject
* obj6
= 0 ;
10290 char *kwnames
[] = {
10291 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10297 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10298 if (PyErr_Occurred()) SWIG_fail
;
10301 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10302 if (PyErr_Occurred()) SWIG_fail
;
10305 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10306 if (PyErr_Occurred()) SWIG_fail
;
10309 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10313 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10317 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10318 if (PyErr_Occurred()) SWIG_fail
;
10321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10322 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10324 wxPyEndAllowThreads(__tstate
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10327 Py_INCREF(Py_None
); resultobj
= Py_None
;
10334 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
;
10336 wxDC
*arg1
= (wxDC
*) 0 ;
10337 wxPoint
*arg2
= 0 ;
10338 wxPoint
*arg3
= 0 ;
10339 wxPoint
*arg4
= 0 ;
10343 PyObject
* obj0
= 0 ;
10344 PyObject
* obj1
= 0 ;
10345 PyObject
* obj2
= 0 ;
10346 PyObject
* obj3
= 0 ;
10347 char *kwnames
[] = {
10348 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10355 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10359 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10363 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10367 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10369 wxPyEndAllowThreads(__tstate
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10372 Py_INCREF(Py_None
); resultobj
= Py_None
;
10379 static PyObject
*_wrap_DC_DrawCheckMarkXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10380 PyObject
*resultobj
;
10381 wxDC
*arg1
= (wxDC
*) 0 ;
10386 PyObject
* obj0
= 0 ;
10387 PyObject
* obj1
= 0 ;
10388 PyObject
* obj2
= 0 ;
10389 PyObject
* obj3
= 0 ;
10390 PyObject
* obj4
= 0 ;
10391 char *kwnames
[] = {
10392 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMarkXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10398 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10402 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10403 if (PyErr_Occurred()) SWIG_fail
;
10406 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10410 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10411 if (PyErr_Occurred()) SWIG_fail
;
10414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10415 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10417 wxPyEndAllowThreads(__tstate
);
10418 if (PyErr_Occurred()) SWIG_fail
;
10420 Py_INCREF(Py_None
); resultobj
= Py_None
;
10427 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10428 PyObject
*resultobj
;
10429 wxDC
*arg1
= (wxDC
*) 0 ;
10432 PyObject
* obj0
= 0 ;
10433 PyObject
* obj1
= 0 ;
10434 char *kwnames
[] = {
10435 (char *) "self",(char *) "rect", NULL
10438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
;
10439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10442 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10446 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10448 wxPyEndAllowThreads(__tstate
);
10449 if (PyErr_Occurred()) SWIG_fail
;
10451 Py_INCREF(Py_None
); resultobj
= Py_None
;
10458 static PyObject
*_wrap_DC_DrawEllipticArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10459 PyObject
*resultobj
;
10460 wxDC
*arg1
= (wxDC
*) 0 ;
10467 PyObject
* obj0
= 0 ;
10468 PyObject
* obj1
= 0 ;
10469 PyObject
* obj2
= 0 ;
10470 PyObject
* obj3
= 0 ;
10471 PyObject
* obj4
= 0 ;
10472 PyObject
* obj5
= 0 ;
10473 PyObject
* obj6
= 0 ;
10474 char *kwnames
[] = {
10475 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10481 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10482 if (PyErr_Occurred()) SWIG_fail
;
10485 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10489 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10490 if (PyErr_Occurred()) SWIG_fail
;
10493 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10497 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
10498 if (PyErr_Occurred()) SWIG_fail
;
10501 arg7
= (double) SWIG_PyObj_AsDouble(obj6
);
10502 if (PyErr_Occurred()) SWIG_fail
;
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10511 Py_INCREF(Py_None
); resultobj
= Py_None
;
10518 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10519 PyObject
*resultobj
;
10520 wxDC
*arg1
= (wxDC
*) 0 ;
10521 wxPoint
*arg2
= 0 ;
10527 PyObject
* obj0
= 0 ;
10528 PyObject
* obj1
= 0 ;
10529 PyObject
* obj2
= 0 ;
10530 PyObject
* obj3
= 0 ;
10531 PyObject
* obj4
= 0 ;
10532 char *kwnames
[] = {
10533 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
10536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10540 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10544 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10547 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10551 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10556 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
10558 wxPyEndAllowThreads(__tstate
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10561 Py_INCREF(Py_None
); resultobj
= Py_None
;
10568 static PyObject
*_wrap_DC_DrawPointXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10569 PyObject
*resultobj
;
10570 wxDC
*arg1
= (wxDC
*) 0 ;
10573 PyObject
* obj0
= 0 ;
10574 PyObject
* obj1
= 0 ;
10575 PyObject
* obj2
= 0 ;
10576 char *kwnames
[] = {
10577 (char *) "self",(char *) "x",(char *) "y", NULL
10580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPointXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10583 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10587 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10592 (arg1
)->DrawPoint(arg2
,arg3
);
10594 wxPyEndAllowThreads(__tstate
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10597 Py_INCREF(Py_None
); resultobj
= Py_None
;
10604 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10605 PyObject
*resultobj
;
10606 wxDC
*arg1
= (wxDC
*) 0 ;
10607 wxPoint
*arg2
= 0 ;
10609 PyObject
* obj0
= 0 ;
10610 PyObject
* obj1
= 0 ;
10611 char *kwnames
[] = {
10612 (char *) "self",(char *) "pt", NULL
10615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10619 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10628 Py_INCREF(Py_None
); resultobj
= Py_None
;
10635 static PyObject
*_wrap_DC_DrawRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10636 PyObject
*resultobj
;
10637 wxDC
*arg1
= (wxDC
*) 0 ;
10642 PyObject
* obj0
= 0 ;
10643 PyObject
* obj1
= 0 ;
10644 PyObject
* obj2
= 0 ;
10645 PyObject
* obj3
= 0 ;
10646 PyObject
* obj4
= 0 ;
10647 char *kwnames
[] = {
10648 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10654 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10658 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10662 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10666 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10676 Py_INCREF(Py_None
); resultobj
= Py_None
;
10683 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
*resultobj
;
10685 wxDC
*arg1
= (wxDC
*) 0 ;
10686 wxPoint
*arg2
= 0 ;
10690 PyObject
* obj0
= 0 ;
10691 PyObject
* obj1
= 0 ;
10692 PyObject
* obj2
= 0 ;
10693 char *kwnames
[] = {
10694 (char *) "self",(char *) "pt",(char *) "sz", NULL
10697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10701 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10705 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10709 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10711 wxPyEndAllowThreads(__tstate
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10714 Py_INCREF(Py_None
); resultobj
= Py_None
;
10721 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10722 PyObject
*resultobj
;
10723 wxDC
*arg1
= (wxDC
*) 0 ;
10726 PyObject
* obj0
= 0 ;
10727 PyObject
* obj1
= 0 ;
10728 char *kwnames
[] = {
10729 (char *) "self",(char *) "rect", NULL
10732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10736 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10740 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
10742 wxPyEndAllowThreads(__tstate
);
10743 if (PyErr_Occurred()) SWIG_fail
;
10745 Py_INCREF(Py_None
); resultobj
= Py_None
;
10752 static PyObject
*_wrap_DC_DrawRoundedRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10753 PyObject
*resultobj
;
10754 wxDC
*arg1
= (wxDC
*) 0 ;
10760 PyObject
* obj0
= 0 ;
10761 PyObject
* obj1
= 0 ;
10762 PyObject
* obj2
= 0 ;
10763 PyObject
* obj3
= 0 ;
10764 PyObject
* obj4
= 0 ;
10765 PyObject
* obj5
= 0 ;
10766 char *kwnames
[] = {
10767 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
10770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10773 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10777 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10781 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10785 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10789 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
10790 if (PyErr_Occurred()) SWIG_fail
;
10793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10794 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
10796 wxPyEndAllowThreads(__tstate
);
10797 if (PyErr_Occurred()) SWIG_fail
;
10799 Py_INCREF(Py_None
); resultobj
= Py_None
;
10806 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10807 PyObject
*resultobj
;
10808 wxDC
*arg1
= (wxDC
*) 0 ;
10809 wxPoint
*arg2
= 0 ;
10814 PyObject
* obj0
= 0 ;
10815 PyObject
* obj1
= 0 ;
10816 PyObject
* obj2
= 0 ;
10817 PyObject
* obj3
= 0 ;
10818 char *kwnames
[] = {
10819 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
10822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10826 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10830 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10833 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10838 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10843 Py_INCREF(Py_None
); resultobj
= Py_None
;
10850 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10851 PyObject
*resultobj
;
10852 wxDC
*arg1
= (wxDC
*) 0 ;
10856 PyObject
* obj0
= 0 ;
10857 PyObject
* obj1
= 0 ;
10858 PyObject
* obj2
= 0 ;
10859 char *kwnames
[] = {
10860 (char *) "self",(char *) "r",(char *) "radius", NULL
10863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10867 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10870 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
10871 if (PyErr_Occurred()) SWIG_fail
;
10874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10875 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10880 Py_INCREF(Py_None
); resultobj
= Py_None
;
10887 static PyObject
*_wrap_DC_DrawCircleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10888 PyObject
*resultobj
;
10889 wxDC
*arg1
= (wxDC
*) 0 ;
10893 PyObject
* obj0
= 0 ;
10894 PyObject
* obj1
= 0 ;
10895 PyObject
* obj2
= 0 ;
10896 PyObject
* obj3
= 0 ;
10897 char *kwnames
[] = {
10898 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
10901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10904 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10905 if (PyErr_Occurred()) SWIG_fail
;
10908 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10912 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10913 if (PyErr_Occurred()) SWIG_fail
;
10916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10917 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
10919 wxPyEndAllowThreads(__tstate
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10922 Py_INCREF(Py_None
); resultobj
= Py_None
;
10929 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10930 PyObject
*resultobj
;
10931 wxDC
*arg1
= (wxDC
*) 0 ;
10932 wxPoint
*arg2
= 0 ;
10935 PyObject
* obj0
= 0 ;
10936 PyObject
* obj1
= 0 ;
10937 PyObject
* obj2
= 0 ;
10938 char *kwnames
[] = {
10939 (char *) "self",(char *) "pt",(char *) "radius", NULL
10942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10946 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10949 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10954 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
10956 wxPyEndAllowThreads(__tstate
);
10957 if (PyErr_Occurred()) SWIG_fail
;
10959 Py_INCREF(Py_None
); resultobj
= Py_None
;
10966 static PyObject
*_wrap_DC_DrawEllipseXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10967 PyObject
*resultobj
;
10968 wxDC
*arg1
= (wxDC
*) 0 ;
10973 PyObject
* obj0
= 0 ;
10974 PyObject
* obj1
= 0 ;
10975 PyObject
* obj2
= 0 ;
10976 PyObject
* obj3
= 0 ;
10977 PyObject
* obj4
= 0 ;
10978 char *kwnames
[] = {
10979 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipseXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10985 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10986 if (PyErr_Occurred()) SWIG_fail
;
10989 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10993 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10994 if (PyErr_Occurred()) SWIG_fail
;
10997 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11007 Py_INCREF(Py_None
); resultobj
= Py_None
;
11014 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
;
11016 wxDC
*arg1
= (wxDC
*) 0 ;
11017 wxPoint
*arg2
= 0 ;
11021 PyObject
* obj0
= 0 ;
11022 PyObject
* obj1
= 0 ;
11023 PyObject
* obj2
= 0 ;
11024 char *kwnames
[] = {
11025 (char *) "self",(char *) "pt",(char *) "sz", NULL
11028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11032 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11036 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11042 wxPyEndAllowThreads(__tstate
);
11043 if (PyErr_Occurred()) SWIG_fail
;
11045 Py_INCREF(Py_None
); resultobj
= Py_None
;
11052 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11053 PyObject
*resultobj
;
11054 wxDC
*arg1
= (wxDC
*) 0 ;
11057 PyObject
* obj0
= 0 ;
11058 PyObject
* obj1
= 0 ;
11059 char *kwnames
[] = {
11060 (char *) "self",(char *) "rect", NULL
11063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11067 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11071 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11073 wxPyEndAllowThreads(__tstate
);
11074 if (PyErr_Occurred()) SWIG_fail
;
11076 Py_INCREF(Py_None
); resultobj
= Py_None
;
11083 static PyObject
*_wrap_DC_DrawIconXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11084 PyObject
*resultobj
;
11085 wxDC
*arg1
= (wxDC
*) 0 ;
11089 PyObject
* obj0
= 0 ;
11090 PyObject
* obj1
= 0 ;
11091 PyObject
* obj2
= 0 ;
11092 PyObject
* obj3
= 0 ;
11093 char *kwnames
[] = {
11094 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11099 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11100 if (arg2
== NULL
) {
11101 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11104 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11108 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11109 if (PyErr_Occurred()) SWIG_fail
;
11112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11113 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11118 Py_INCREF(Py_None
); resultobj
= Py_None
;
11125 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11126 PyObject
*resultobj
;
11127 wxDC
*arg1
= (wxDC
*) 0 ;
11129 wxPoint
*arg3
= 0 ;
11131 PyObject
* obj0
= 0 ;
11132 PyObject
* obj1
= 0 ;
11133 PyObject
* obj2
= 0 ;
11134 char *kwnames
[] = {
11135 (char *) "self",(char *) "icon",(char *) "pt", NULL
11138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11140 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11141 if (arg2
== NULL
) {
11142 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11146 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11152 wxPyEndAllowThreads(__tstate
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11155 Py_INCREF(Py_None
); resultobj
= Py_None
;
11162 static PyObject
*_wrap_DC_DrawBitmapXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11163 PyObject
*resultobj
;
11164 wxDC
*arg1
= (wxDC
*) 0 ;
11165 wxBitmap
*arg2
= 0 ;
11168 bool arg5
= (bool) False
;
11169 PyObject
* obj0
= 0 ;
11170 PyObject
* obj1
= 0 ;
11171 PyObject
* obj2
= 0 ;
11172 PyObject
* obj3
= 0 ;
11173 PyObject
* obj4
= 0 ;
11174 char *kwnames
[] = {
11175 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmapXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11180 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11181 if (arg2
== NULL
) {
11182 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11185 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11189 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11190 if (PyErr_Occurred()) SWIG_fail
;
11194 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11200 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11205 Py_INCREF(Py_None
); resultobj
= Py_None
;
11212 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11213 PyObject
*resultobj
;
11214 wxDC
*arg1
= (wxDC
*) 0 ;
11215 wxBitmap
*arg2
= 0 ;
11216 wxPoint
*arg3
= 0 ;
11217 bool arg4
= (bool) False
;
11219 PyObject
* obj0
= 0 ;
11220 PyObject
* obj1
= 0 ;
11221 PyObject
* obj2
= 0 ;
11222 PyObject
* obj3
= 0 ;
11223 char *kwnames
[] = {
11224 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11229 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11230 if (arg2
== NULL
) {
11231 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11235 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11239 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11245 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11247 wxPyEndAllowThreads(__tstate
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11250 Py_INCREF(Py_None
); resultobj
= Py_None
;
11257 static PyObject
*_wrap_DC_DrawTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11258 PyObject
*resultobj
;
11259 wxDC
*arg1
= (wxDC
*) 0 ;
11260 wxString
*arg2
= 0 ;
11263 bool temp2
= False
;
11264 PyObject
* obj0
= 0 ;
11265 PyObject
* obj1
= 0 ;
11266 PyObject
* obj2
= 0 ;
11267 PyObject
* obj3
= 0 ;
11268 char *kwnames
[] = {
11269 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11275 arg2
= wxString_in_helper(obj1
);
11276 if (arg2
== NULL
) SWIG_fail
;
11280 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11284 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11291 wxPyEndAllowThreads(__tstate
);
11292 if (PyErr_Occurred()) SWIG_fail
;
11294 Py_INCREF(Py_None
); resultobj
= Py_None
;
11309 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11310 PyObject
*resultobj
;
11311 wxDC
*arg1
= (wxDC
*) 0 ;
11312 wxString
*arg2
= 0 ;
11313 wxPoint
*arg3
= 0 ;
11314 bool temp2
= False
;
11316 PyObject
* obj0
= 0 ;
11317 PyObject
* obj1
= 0 ;
11318 PyObject
* obj2
= 0 ;
11319 char *kwnames
[] = {
11320 (char *) "self",(char *) "text",(char *) "pt", NULL
11323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11326 arg2
= wxString_in_helper(obj1
);
11327 if (arg2
== NULL
) SWIG_fail
;
11332 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11336 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11338 wxPyEndAllowThreads(__tstate
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11341 Py_INCREF(Py_None
); resultobj
= Py_None
;
11356 static PyObject
*_wrap_DC_DrawRotatedTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11357 PyObject
*resultobj
;
11358 wxDC
*arg1
= (wxDC
*) 0 ;
11359 wxString
*arg2
= 0 ;
11363 bool temp2
= False
;
11364 PyObject
* obj0
= 0 ;
11365 PyObject
* obj1
= 0 ;
11366 PyObject
* obj2
= 0 ;
11367 PyObject
* obj3
= 0 ;
11368 PyObject
* obj4
= 0 ;
11369 char *kwnames
[] = {
11370 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11376 arg2
= wxString_in_helper(obj1
);
11377 if (arg2
== NULL
) SWIG_fail
;
11381 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11385 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11386 if (PyErr_Occurred()) SWIG_fail
;
11389 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11394 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11396 wxPyEndAllowThreads(__tstate
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11399 Py_INCREF(Py_None
); resultobj
= Py_None
;
11414 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11415 PyObject
*resultobj
;
11416 wxDC
*arg1
= (wxDC
*) 0 ;
11417 wxString
*arg2
= 0 ;
11418 wxPoint
*arg3
= 0 ;
11420 bool temp2
= False
;
11422 PyObject
* obj0
= 0 ;
11423 PyObject
* obj1
= 0 ;
11424 PyObject
* obj2
= 0 ;
11425 PyObject
* obj3
= 0 ;
11426 char *kwnames
[] = {
11427 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11433 arg2
= wxString_in_helper(obj1
);
11434 if (arg2
== NULL
) SWIG_fail
;
11439 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11442 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11452 Py_INCREF(Py_None
); resultobj
= Py_None
;
11467 static PyObject
*_wrap_DC_BlitXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11468 PyObject
*resultobj
;
11469 wxDC
*arg1
= (wxDC
*) 0 ;
11474 wxDC
*arg6
= (wxDC
*) 0 ;
11477 int arg9
= (int) wxCOPY
;
11478 bool arg10
= (bool) False
;
11479 int arg11
= (int) -1 ;
11480 int arg12
= (int) -1 ;
11482 PyObject
* obj0
= 0 ;
11483 PyObject
* obj1
= 0 ;
11484 PyObject
* obj2
= 0 ;
11485 PyObject
* obj3
= 0 ;
11486 PyObject
* obj4
= 0 ;
11487 PyObject
* obj5
= 0 ;
11488 PyObject
* obj6
= 0 ;
11489 PyObject
* obj7
= 0 ;
11490 PyObject
* obj8
= 0 ;
11491 PyObject
* obj9
= 0 ;
11492 PyObject
* obj10
= 0 ;
11493 PyObject
* obj11
= 0 ;
11494 char *kwnames
[] = {
11495 (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
11498 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
;
11499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11501 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11505 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11509 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11510 if (PyErr_Occurred()) SWIG_fail
;
11513 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11516 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11518 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11522 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
11523 if (PyErr_Occurred()) SWIG_fail
;
11527 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
11528 if (PyErr_Occurred()) SWIG_fail
;
11533 arg10
= (bool) SWIG_PyObj_AsBool(obj9
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11539 arg11
= (int) SWIG_PyObj_AsInt(obj10
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11545 arg12
= (int) SWIG_PyObj_AsInt(obj11
);
11546 if (PyErr_Occurred()) SWIG_fail
;
11550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11551 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
11553 wxPyEndAllowThreads(__tstate
);
11554 if (PyErr_Occurred()) SWIG_fail
;
11556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11563 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11564 PyObject
*resultobj
;
11565 wxDC
*arg1
= (wxDC
*) 0 ;
11566 wxPoint
*arg2
= 0 ;
11568 wxDC
*arg4
= (wxDC
*) 0 ;
11569 wxPoint
*arg5
= 0 ;
11570 int arg6
= (int) wxCOPY
;
11571 bool arg7
= (bool) False
;
11572 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
11573 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
11579 PyObject
* obj0
= 0 ;
11580 PyObject
* obj1
= 0 ;
11581 PyObject
* obj2
= 0 ;
11582 PyObject
* obj3
= 0 ;
11583 PyObject
* obj4
= 0 ;
11584 PyObject
* obj5
= 0 ;
11585 PyObject
* obj6
= 0 ;
11586 PyObject
* obj7
= 0 ;
11587 char *kwnames
[] = {
11588 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11595 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11599 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11601 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11604 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11608 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11609 if (PyErr_Occurred()) SWIG_fail
;
11614 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
11615 if (PyErr_Occurred()) SWIG_fail
;
11621 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
11625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11626 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
11628 wxPyEndAllowThreads(__tstate
);
11629 if (PyErr_Occurred()) SWIG_fail
;
11631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11638 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11639 PyObject
*resultobj
;
11640 wxDC
*arg1
= (wxDC
*) 0 ;
11642 wxPoint
*arg3
= (wxPoint
*) 0 ;
11643 int arg4
= (int) 0 ;
11644 int arg5
= (int) 0 ;
11645 PyObject
* obj0
= 0 ;
11646 PyObject
* obj1
= 0 ;
11647 PyObject
* obj2
= 0 ;
11648 PyObject
* obj3
= 0 ;
11649 char *kwnames
[] = {
11650 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
11653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11656 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11657 if (arg3
== NULL
) SWIG_fail
;
11661 arg4
= (int) SWIG_PyObj_AsInt(obj2
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11667 arg5
= (int) SWIG_PyObj_AsInt(obj3
);
11668 if (PyErr_Occurred()) SWIG_fail
;
11672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11673 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
11675 wxPyEndAllowThreads(__tstate
);
11676 if (PyErr_Occurred()) SWIG_fail
;
11678 Py_INCREF(Py_None
); resultobj
= Py_None
;
11680 if (arg3
) delete [] arg3
;
11685 if (arg3
) delete [] arg3
;
11691 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11692 PyObject
*resultobj
;
11693 wxDC
*arg1
= (wxDC
*) 0 ;
11695 wxPoint
*arg3
= (wxPoint
*) 0 ;
11696 int arg4
= (int) 0 ;
11697 int arg5
= (int) 0 ;
11698 int arg6
= (int) wxODDEVEN_RULE
;
11699 PyObject
* obj0
= 0 ;
11700 PyObject
* obj1
= 0 ;
11701 PyObject
* obj2
= 0 ;
11702 PyObject
* obj3
= 0 ;
11703 PyObject
* obj4
= 0 ;
11704 char *kwnames
[] = {
11705 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
11708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11711 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11712 if (arg3
== NULL
) SWIG_fail
;
11716 arg4
= (int) SWIG_PyObj_AsInt(obj2
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11722 arg5
= (int) SWIG_PyObj_AsInt(obj3
);
11723 if (PyErr_Occurred()) SWIG_fail
;
11728 arg6
= (int) SWIG_PyObj_AsInt(obj4
);
11729 if (PyErr_Occurred()) SWIG_fail
;
11733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11734 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
11736 wxPyEndAllowThreads(__tstate
);
11737 if (PyErr_Occurred()) SWIG_fail
;
11739 Py_INCREF(Py_None
); resultobj
= Py_None
;
11741 if (arg3
) delete [] arg3
;
11746 if (arg3
) delete [] arg3
;
11752 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11753 PyObject
*resultobj
;
11754 wxDC
*arg1
= (wxDC
*) 0 ;
11755 wxString
*arg2
= 0 ;
11757 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
11758 int arg5
= (int) -1 ;
11759 bool temp2
= False
;
11761 PyObject
* obj0
= 0 ;
11762 PyObject
* obj1
= 0 ;
11763 PyObject
* obj2
= 0 ;
11764 PyObject
* obj3
= 0 ;
11765 PyObject
* obj4
= 0 ;
11766 char *kwnames
[] = {
11767 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
11770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11773 arg2
= wxString_in_helper(obj1
);
11774 if (arg2
== NULL
) SWIG_fail
;
11779 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
11783 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11789 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11790 if (PyErr_Occurred()) SWIG_fail
;
11794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11795 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
11797 wxPyEndAllowThreads(__tstate
);
11798 if (PyErr_Occurred()) SWIG_fail
;
11800 Py_INCREF(Py_None
); resultobj
= Py_None
;
11815 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11816 PyObject
*resultobj
;
11817 wxDC
*arg1
= (wxDC
*) 0 ;
11818 wxString
*arg2
= 0 ;
11819 wxBitmap
*arg3
= 0 ;
11821 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
11822 int arg6
= (int) -1 ;
11824 bool temp2
= False
;
11826 PyObject
* obj0
= 0 ;
11827 PyObject
* obj1
= 0 ;
11828 PyObject
* obj2
= 0 ;
11829 PyObject
* obj3
= 0 ;
11830 PyObject
* obj4
= 0 ;
11831 PyObject
* obj5
= 0 ;
11832 char *kwnames
[] = {
11833 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
11836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11839 arg2
= wxString_in_helper(obj1
);
11840 if (arg2
== NULL
) SWIG_fail
;
11843 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11844 if (arg3
== NULL
) {
11845 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11849 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
11853 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11859 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11860 if (PyErr_Occurred()) SWIG_fail
;
11864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11865 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
11867 wxPyEndAllowThreads(__tstate
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11871 wxRect
* resultptr
;
11872 resultptr
= new wxRect((wxRect
&) result
);
11873 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
11889 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11890 PyObject
*resultobj
;
11891 wxDC
*arg1
= (wxDC
*) 0 ;
11893 wxPoint
*arg3
= (wxPoint
*) 0 ;
11894 PyObject
* obj0
= 0 ;
11895 PyObject
* obj1
= 0 ;
11896 char *kwnames
[] = {
11897 (char *) "self",(char *) "points", NULL
11900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
11901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11903 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11904 if (arg3
== NULL
) SWIG_fail
;
11907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11908 (arg1
)->DrawSpline(arg2
,arg3
);
11910 wxPyEndAllowThreads(__tstate
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11913 Py_INCREF(Py_None
); resultobj
= Py_None
;
11915 if (arg3
) delete [] arg3
;
11920 if (arg3
) delete [] arg3
;
11926 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11927 PyObject
*resultobj
;
11928 wxDC
*arg1
= (wxDC
*) 0 ;
11929 PyObject
* obj0
= 0 ;
11930 char *kwnames
[] = {
11931 (char *) "self", NULL
11934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
11935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11940 wxPyEndAllowThreads(__tstate
);
11941 if (PyErr_Occurred()) SWIG_fail
;
11943 Py_INCREF(Py_None
); resultobj
= Py_None
;
11950 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11951 PyObject
*resultobj
;
11952 wxDC
*arg1
= (wxDC
*) 0 ;
11953 wxString
*arg2
= 0 ;
11955 bool temp2
= False
;
11956 PyObject
* obj0
= 0 ;
11957 PyObject
* obj1
= 0 ;
11958 char *kwnames
[] = {
11959 (char *) "self",(char *) "message", NULL
11962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
11963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11965 arg2
= wxString_in_helper(obj1
);
11966 if (arg2
== NULL
) SWIG_fail
;
11970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11971 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
11973 wxPyEndAllowThreads(__tstate
);
11974 if (PyErr_Occurred()) SWIG_fail
;
11976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11991 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11992 PyObject
*resultobj
;
11993 wxDC
*arg1
= (wxDC
*) 0 ;
11994 PyObject
* obj0
= 0 ;
11995 char *kwnames
[] = {
11996 (char *) "self", NULL
11999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12005 wxPyEndAllowThreads(__tstate
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12008 Py_INCREF(Py_None
); resultobj
= Py_None
;
12015 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12016 PyObject
*resultobj
;
12017 wxDC
*arg1
= (wxDC
*) 0 ;
12018 PyObject
* obj0
= 0 ;
12019 char *kwnames
[] = {
12020 (char *) "self", NULL
12023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12027 (arg1
)->StartPage();
12029 wxPyEndAllowThreads(__tstate
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12032 Py_INCREF(Py_None
); resultobj
= Py_None
;
12039 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12040 PyObject
*resultobj
;
12041 wxDC
*arg1
= (wxDC
*) 0 ;
12042 PyObject
* obj0
= 0 ;
12043 char *kwnames
[] = {
12044 (char *) "self", NULL
12047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12056 Py_INCREF(Py_None
); resultobj
= Py_None
;
12063 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12064 PyObject
*resultobj
;
12065 wxDC
*arg1
= (wxDC
*) 0 ;
12067 PyObject
* obj0
= 0 ;
12068 PyObject
* obj1
= 0 ;
12069 char *kwnames
[] = {
12070 (char *) "self",(char *) "font", NULL
12073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12075 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12076 if (arg2
== NULL
) {
12077 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12081 (arg1
)->SetFont((wxFont
const &)*arg2
);
12083 wxPyEndAllowThreads(__tstate
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12086 Py_INCREF(Py_None
); resultobj
= Py_None
;
12093 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12094 PyObject
*resultobj
;
12095 wxDC
*arg1
= (wxDC
*) 0 ;
12097 PyObject
* obj0
= 0 ;
12098 PyObject
* obj1
= 0 ;
12099 char *kwnames
[] = {
12100 (char *) "self",(char *) "pen", NULL
12103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12105 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12106 if (arg2
== NULL
) {
12107 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12111 (arg1
)->SetPen((wxPen
const &)*arg2
);
12113 wxPyEndAllowThreads(__tstate
);
12114 if (PyErr_Occurred()) SWIG_fail
;
12116 Py_INCREF(Py_None
); resultobj
= Py_None
;
12123 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12124 PyObject
*resultobj
;
12125 wxDC
*arg1
= (wxDC
*) 0 ;
12126 wxBrush
*arg2
= 0 ;
12127 PyObject
* obj0
= 0 ;
12128 PyObject
* obj1
= 0 ;
12129 char *kwnames
[] = {
12130 (char *) "self",(char *) "brush", NULL
12133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12135 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12136 if (arg2
== NULL
) {
12137 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12146 Py_INCREF(Py_None
); resultobj
= Py_None
;
12153 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
;
12155 wxDC
*arg1
= (wxDC
*) 0 ;
12156 wxBrush
*arg2
= 0 ;
12157 PyObject
* obj0
= 0 ;
12158 PyObject
* obj1
= 0 ;
12159 char *kwnames
[] = {
12160 (char *) "self",(char *) "brush", NULL
12163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12165 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12166 if (arg2
== NULL
) {
12167 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12171 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12173 wxPyEndAllowThreads(__tstate
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12176 Py_INCREF(Py_None
); resultobj
= Py_None
;
12183 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12184 PyObject
*resultobj
;
12185 wxDC
*arg1
= (wxDC
*) 0 ;
12187 PyObject
* obj0
= 0 ;
12188 PyObject
* obj1
= 0 ;
12189 char *kwnames
[] = {
12190 (char *) "self",(char *) "mode", NULL
12193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12196 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12201 (arg1
)->SetBackgroundMode(arg2
);
12203 wxPyEndAllowThreads(__tstate
);
12204 if (PyErr_Occurred()) SWIG_fail
;
12206 Py_INCREF(Py_None
); resultobj
= Py_None
;
12213 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12214 PyObject
*resultobj
;
12215 wxDC
*arg1
= (wxDC
*) 0 ;
12216 wxPalette
*arg2
= 0 ;
12217 PyObject
* obj0
= 0 ;
12218 PyObject
* obj1
= 0 ;
12219 char *kwnames
[] = {
12220 (char *) "self",(char *) "palette", NULL
12223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12225 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12226 if (arg2
== NULL
) {
12227 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12233 wxPyEndAllowThreads(__tstate
);
12234 if (PyErr_Occurred()) SWIG_fail
;
12236 Py_INCREF(Py_None
); resultobj
= Py_None
;
12243 static PyObject
*_wrap_DC_SetClippingRegionXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12244 PyObject
*resultobj
;
12245 wxDC
*arg1
= (wxDC
*) 0 ;
12250 PyObject
* obj0
= 0 ;
12251 PyObject
* obj1
= 0 ;
12252 PyObject
* obj2
= 0 ;
12253 PyObject
* obj3
= 0 ;
12254 PyObject
* obj4
= 0 ;
12255 char *kwnames
[] = {
12256 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegionXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12262 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12266 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12267 if (PyErr_Occurred()) SWIG_fail
;
12270 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12274 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12279 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12281 wxPyEndAllowThreads(__tstate
);
12282 if (PyErr_Occurred()) SWIG_fail
;
12284 Py_INCREF(Py_None
); resultobj
= Py_None
;
12291 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12292 PyObject
*resultobj
;
12293 wxDC
*arg1
= (wxDC
*) 0 ;
12294 wxPoint
*arg2
= 0 ;
12298 PyObject
* obj0
= 0 ;
12299 PyObject
* obj1
= 0 ;
12300 PyObject
* obj2
= 0 ;
12301 char *kwnames
[] = {
12302 (char *) "self",(char *) "pt",(char *) "sz", NULL
12305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12309 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12313 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12317 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12319 wxPyEndAllowThreads(__tstate
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12322 Py_INCREF(Py_None
); resultobj
= Py_None
;
12329 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12330 PyObject
*resultobj
;
12331 wxDC
*arg1
= (wxDC
*) 0 ;
12334 PyObject
* obj0
= 0 ;
12335 PyObject
* obj1
= 0 ;
12336 char *kwnames
[] = {
12337 (char *) "self",(char *) "rect", NULL
12340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12344 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12348 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12350 wxPyEndAllowThreads(__tstate
);
12351 if (PyErr_Occurred()) SWIG_fail
;
12353 Py_INCREF(Py_None
); resultobj
= Py_None
;
12360 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12361 PyObject
*resultobj
;
12362 wxDC
*arg1
= (wxDC
*) 0 ;
12363 wxRegion
*arg2
= 0 ;
12364 PyObject
* obj0
= 0 ;
12365 PyObject
* obj1
= 0 ;
12366 char *kwnames
[] = {
12367 (char *) "self",(char *) "region", NULL
12370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12372 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12373 if (arg2
== NULL
) {
12374 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12378 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12380 wxPyEndAllowThreads(__tstate
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12383 Py_INCREF(Py_None
); resultobj
= Py_None
;
12390 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12391 PyObject
*resultobj
;
12392 wxDC
*arg1
= (wxDC
*) 0 ;
12393 PyObject
* obj0
= 0 ;
12394 char *kwnames
[] = {
12395 (char *) "self", NULL
12398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",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 (arg1
)->DestroyClippingRegion();
12404 wxPyEndAllowThreads(__tstate
);
12405 if (PyErr_Occurred()) SWIG_fail
;
12407 Py_INCREF(Py_None
); resultobj
= Py_None
;
12414 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12415 PyObject
*resultobj
;
12416 wxDC
*arg1
= (wxDC
*) 0 ;
12417 int *arg2
= (int *) 0 ;
12418 int *arg3
= (int *) 0 ;
12419 int *arg4
= (int *) 0 ;
12420 int *arg5
= (int *) 0 ;
12425 PyObject
* obj0
= 0 ;
12426 char *kwnames
[] = {
12427 (char *) "self", NULL
12434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12438 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12443 Py_INCREF(Py_None
); resultobj
= Py_None
;
12445 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12446 resultobj
= t_output_helper(resultobj
,o
);
12449 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12450 resultobj
= t_output_helper(resultobj
,o
);
12453 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12454 resultobj
= t_output_helper(resultobj
,o
);
12457 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12458 resultobj
= t_output_helper(resultobj
,o
);
12466 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12467 PyObject
*resultobj
;
12468 wxDC
*arg1
= (wxDC
*) 0 ;
12470 PyObject
* obj0
= 0 ;
12471 char *kwnames
[] = {
12472 (char *) "self", NULL
12475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12479 result
= wxDC_GetClippingRect(arg1
);
12481 wxPyEndAllowThreads(__tstate
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12485 wxRect
* resultptr
;
12486 resultptr
= new wxRect((wxRect
&) result
);
12487 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
12495 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12496 PyObject
*resultobj
;
12497 wxDC
*arg1
= (wxDC
*) 0 ;
12499 PyObject
* obj0
= 0 ;
12500 char *kwnames
[] = {
12501 (char *) "self", NULL
12504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12508 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
12510 wxPyEndAllowThreads(__tstate
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12513 resultobj
= SWIG_PyObj_FromInt((int)result
);
12520 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12521 PyObject
*resultobj
;
12522 wxDC
*arg1
= (wxDC
*) 0 ;
12524 PyObject
* obj0
= 0 ;
12525 char *kwnames
[] = {
12526 (char *) "self", NULL
12529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
12530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12533 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
12535 wxPyEndAllowThreads(__tstate
);
12536 if (PyErr_Occurred()) SWIG_fail
;
12538 resultobj
= SWIG_PyObj_FromInt((int)result
);
12545 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12546 PyObject
*resultobj
;
12547 wxDC
*arg1
= (wxDC
*) 0 ;
12548 wxString
*arg2
= 0 ;
12549 int *arg3
= (int *) 0 ;
12550 int *arg4
= (int *) 0 ;
12551 bool temp2
= False
;
12554 PyObject
* obj0
= 0 ;
12555 PyObject
* obj1
= 0 ;
12556 char *kwnames
[] = {
12557 (char *) "self",(char *) "string", NULL
12562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
12563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12565 arg2
= wxString_in_helper(obj1
);
12566 if (arg2
== NULL
) SWIG_fail
;
12570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12571 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
12573 wxPyEndAllowThreads(__tstate
);
12574 if (PyErr_Occurred()) SWIG_fail
;
12576 Py_INCREF(Py_None
); resultobj
= Py_None
;
12578 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12579 resultobj
= t_output_helper(resultobj
,o
);
12582 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12583 resultobj
= t_output_helper(resultobj
,o
);
12599 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12600 PyObject
*resultobj
;
12601 wxDC
*arg1
= (wxDC
*) 0 ;
12602 wxString
*arg2
= 0 ;
12603 int *arg3
= (int *) 0 ;
12604 int *arg4
= (int *) 0 ;
12605 int *arg5
= (int *) 0 ;
12606 int *arg6
= (int *) 0 ;
12607 wxFont
*arg7
= (wxFont
*) NULL
;
12608 bool temp2
= False
;
12613 PyObject
* obj0
= 0 ;
12614 PyObject
* obj1
= 0 ;
12615 PyObject
* obj2
= 0 ;
12616 char *kwnames
[] = {
12617 (char *) "self",(char *) "string",(char *) "font", NULL
12624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12627 arg2
= wxString_in_helper(obj1
);
12628 if (arg2
== NULL
) SWIG_fail
;
12632 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12636 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12638 wxPyEndAllowThreads(__tstate
);
12639 if (PyErr_Occurred()) SWIG_fail
;
12641 Py_INCREF(Py_None
); resultobj
= Py_None
;
12643 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12644 resultobj
= t_output_helper(resultobj
,o
);
12647 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12648 resultobj
= t_output_helper(resultobj
,o
);
12651 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12652 resultobj
= t_output_helper(resultobj
,o
);
12655 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
12656 resultobj
= t_output_helper(resultobj
,o
);
12672 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12673 PyObject
*resultobj
;
12674 wxDC
*arg1
= (wxDC
*) 0 ;
12675 wxString
*arg2
= 0 ;
12676 int *arg3
= (int *) 0 ;
12677 int *arg4
= (int *) 0 ;
12678 int *arg5
= (int *) 0 ;
12679 wxFont
*arg6
= (wxFont
*) NULL
;
12680 bool temp2
= False
;
12684 PyObject
* obj0
= 0 ;
12685 PyObject
* obj1
= 0 ;
12686 PyObject
* obj2
= 0 ;
12687 char *kwnames
[] = {
12688 (char *) "self",(char *) "text",(char *) "font", NULL
12694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12697 arg2
= wxString_in_helper(obj1
);
12698 if (arg2
== NULL
) SWIG_fail
;
12702 if ((SWIG_ConvertPtr(obj2
,(void **) &arg6
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12711 Py_INCREF(Py_None
); resultobj
= Py_None
;
12713 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12714 resultobj
= t_output_helper(resultobj
,o
);
12717 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12718 resultobj
= t_output_helper(resultobj
,o
);
12721 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12722 resultobj
= t_output_helper(resultobj
,o
);
12738 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
;
12740 wxDC
*arg1
= (wxDC
*) 0 ;
12741 wxString
*arg2
= 0 ;
12743 bool temp2
= False
;
12744 PyObject
* obj0
= 0 ;
12745 PyObject
* obj1
= 0 ;
12746 char *kwnames
[] = {
12747 (char *) "self",(char *) "text", NULL
12750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
12751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12753 arg2
= wxString_in_helper(obj1
);
12754 if (arg2
== NULL
) SWIG_fail
;
12758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12759 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
12761 wxPyEndAllowThreads(__tstate
);
12762 if (PyErr_Occurred()) SWIG_fail
;
12765 resultobj
= PyList_New(0);
12767 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
12768 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
12769 PyList_Append(resultobj
, val
);
12787 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12788 PyObject
*resultobj
;
12789 wxDC
*arg1
= (wxDC
*) 0 ;
12791 PyObject
* obj0
= 0 ;
12792 char *kwnames
[] = {
12793 (char *) "self", NULL
12796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
12797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12800 result
= (arg1
)->GetSize();
12802 wxPyEndAllowThreads(__tstate
);
12803 if (PyErr_Occurred()) SWIG_fail
;
12806 wxSize
* resultptr
;
12807 resultptr
= new wxSize((wxSize
&) result
);
12808 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12816 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12817 PyObject
*resultobj
;
12818 wxDC
*arg1
= (wxDC
*) 0 ;
12819 int *arg2
= (int *) 0 ;
12820 int *arg3
= (int *) 0 ;
12823 PyObject
* obj0
= 0 ;
12824 char *kwnames
[] = {
12825 (char *) "self", NULL
12830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
12831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12834 (arg1
)->GetSize(arg2
,arg3
);
12836 wxPyEndAllowThreads(__tstate
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12839 Py_INCREF(Py_None
); resultobj
= Py_None
;
12841 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12842 resultobj
= t_output_helper(resultobj
,o
);
12845 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12846 resultobj
= t_output_helper(resultobj
,o
);
12854 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12855 PyObject
*resultobj
;
12856 wxDC
*arg1
= (wxDC
*) 0 ;
12858 PyObject
* obj0
= 0 ;
12859 char *kwnames
[] = {
12860 (char *) "self", NULL
12863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
12864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12867 result
= ((wxDC
const *)arg1
)->GetSizeMM();
12869 wxPyEndAllowThreads(__tstate
);
12870 if (PyErr_Occurred()) SWIG_fail
;
12873 wxSize
* resultptr
;
12874 resultptr
= new wxSize((wxSize
&) result
);
12875 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12883 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12884 PyObject
*resultobj
;
12885 wxDC
*arg1
= (wxDC
*) 0 ;
12886 int *arg2
= (int *) 0 ;
12887 int *arg3
= (int *) 0 ;
12890 PyObject
* obj0
= 0 ;
12891 char *kwnames
[] = {
12892 (char *) "self", NULL
12897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
12898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12901 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
12903 wxPyEndAllowThreads(__tstate
);
12904 if (PyErr_Occurred()) SWIG_fail
;
12906 Py_INCREF(Py_None
); resultobj
= Py_None
;
12908 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12909 resultobj
= t_output_helper(resultobj
,o
);
12912 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12913 resultobj
= t_output_helper(resultobj
,o
);
12921 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12922 PyObject
*resultobj
;
12923 wxDC
*arg1
= (wxDC
*) 0 ;
12926 PyObject
* obj0
= 0 ;
12927 PyObject
* obj1
= 0 ;
12928 char *kwnames
[] = {
12929 (char *) "self",(char *) "x", NULL
12932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
12933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12935 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12936 if (PyErr_Occurred()) SWIG_fail
;
12939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12940 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
12942 wxPyEndAllowThreads(__tstate
);
12943 if (PyErr_Occurred()) SWIG_fail
;
12945 resultobj
= SWIG_PyObj_FromInt((int)result
);
12952 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12953 PyObject
*resultobj
;
12954 wxDC
*arg1
= (wxDC
*) 0 ;
12957 PyObject
* obj0
= 0 ;
12958 PyObject
* obj1
= 0 ;
12959 char *kwnames
[] = {
12960 (char *) "self",(char *) "y", NULL
12963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
12964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12966 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12967 if (PyErr_Occurred()) SWIG_fail
;
12970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12971 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
12973 wxPyEndAllowThreads(__tstate
);
12974 if (PyErr_Occurred()) SWIG_fail
;
12976 resultobj
= SWIG_PyObj_FromInt((int)result
);
12983 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12984 PyObject
*resultobj
;
12985 wxDC
*arg1
= (wxDC
*) 0 ;
12988 PyObject
* obj0
= 0 ;
12989 PyObject
* obj1
= 0 ;
12990 char *kwnames
[] = {
12991 (char *) "self",(char *) "x", NULL
12994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
12995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12997 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12998 if (PyErr_Occurred()) SWIG_fail
;
13001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13002 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13004 wxPyEndAllowThreads(__tstate
);
13005 if (PyErr_Occurred()) SWIG_fail
;
13007 resultobj
= SWIG_PyObj_FromInt((int)result
);
13014 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13015 PyObject
*resultobj
;
13016 wxDC
*arg1
= (wxDC
*) 0 ;
13019 PyObject
* obj0
= 0 ;
13020 PyObject
* obj1
= 0 ;
13021 char *kwnames
[] = {
13022 (char *) "self",(char *) "y", NULL
13025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13028 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13029 if (PyErr_Occurred()) SWIG_fail
;
13032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13033 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13035 wxPyEndAllowThreads(__tstate
);
13036 if (PyErr_Occurred()) SWIG_fail
;
13038 resultobj
= SWIG_PyObj_FromInt((int)result
);
13045 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13046 PyObject
*resultobj
;
13047 wxDC
*arg1
= (wxDC
*) 0 ;
13050 PyObject
* obj0
= 0 ;
13051 PyObject
* obj1
= 0 ;
13052 char *kwnames
[] = {
13053 (char *) "self",(char *) "x", NULL
13056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13059 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13060 if (PyErr_Occurred()) SWIG_fail
;
13063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13064 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13069 resultobj
= SWIG_PyObj_FromInt((int)result
);
13076 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13077 PyObject
*resultobj
;
13078 wxDC
*arg1
= (wxDC
*) 0 ;
13081 PyObject
* obj0
= 0 ;
13082 PyObject
* obj1
= 0 ;
13083 char *kwnames
[] = {
13084 (char *) "self",(char *) "y", NULL
13087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13090 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13091 if (PyErr_Occurred()) SWIG_fail
;
13094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13095 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13097 wxPyEndAllowThreads(__tstate
);
13098 if (PyErr_Occurred()) SWIG_fail
;
13100 resultobj
= SWIG_PyObj_FromInt((int)result
);
13107 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13108 PyObject
*resultobj
;
13109 wxDC
*arg1
= (wxDC
*) 0 ;
13112 PyObject
* obj0
= 0 ;
13113 PyObject
* obj1
= 0 ;
13114 char *kwnames
[] = {
13115 (char *) "self",(char *) "x", NULL
13118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13121 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13122 if (PyErr_Occurred()) SWIG_fail
;
13125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13126 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13128 wxPyEndAllowThreads(__tstate
);
13129 if (PyErr_Occurred()) SWIG_fail
;
13131 resultobj
= SWIG_PyObj_FromInt((int)result
);
13138 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13139 PyObject
*resultobj
;
13140 wxDC
*arg1
= (wxDC
*) 0 ;
13143 PyObject
* obj0
= 0 ;
13144 PyObject
* obj1
= 0 ;
13145 char *kwnames
[] = {
13146 (char *) "self",(char *) "y", NULL
13149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13152 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13153 if (PyErr_Occurred()) SWIG_fail
;
13156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13157 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13159 wxPyEndAllowThreads(__tstate
);
13160 if (PyErr_Occurred()) SWIG_fail
;
13162 resultobj
= SWIG_PyObj_FromInt((int)result
);
13169 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13170 PyObject
*resultobj
;
13171 wxDC
*arg1
= (wxDC
*) 0 ;
13173 PyObject
* obj0
= 0 ;
13174 char *kwnames
[] = {
13175 (char *) "self", NULL
13178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13182 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13184 wxPyEndAllowThreads(__tstate
);
13185 if (PyErr_Occurred()) SWIG_fail
;
13187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13194 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13195 PyObject
*resultobj
;
13196 wxDC
*arg1
= (wxDC
*) 0 ;
13198 PyObject
* obj0
= 0 ;
13199 char *kwnames
[] = {
13200 (char *) "self", NULL
13203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13207 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13209 wxPyEndAllowThreads(__tstate
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13219 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13220 PyObject
*resultobj
;
13221 wxDC
*arg1
= (wxDC
*) 0 ;
13223 PyObject
* obj0
= 0 ;
13224 char *kwnames
[] = {
13225 (char *) "self", NULL
13228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13232 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13234 wxPyEndAllowThreads(__tstate
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13237 resultobj
= SWIG_PyObj_FromInt((int)result
);
13244 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13245 PyObject
*resultobj
;
13246 wxDC
*arg1
= (wxDC
*) 0 ;
13248 PyObject
* obj0
= 0 ;
13249 char *kwnames
[] = {
13250 (char *) "self", NULL
13253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 result
= ((wxDC
const *)arg1
)->GetPPI();
13259 wxPyEndAllowThreads(__tstate
);
13260 if (PyErr_Occurred()) SWIG_fail
;
13263 wxSize
* resultptr
;
13264 resultptr
= new wxSize((wxSize
&) result
);
13265 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13273 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13274 PyObject
*resultobj
;
13275 wxDC
*arg1
= (wxDC
*) 0 ;
13277 PyObject
* obj0
= 0 ;
13278 char *kwnames
[] = {
13279 (char *) "self", NULL
13282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13286 result
= (bool)((wxDC
const *)arg1
)->Ok();
13288 wxPyEndAllowThreads(__tstate
);
13289 if (PyErr_Occurred()) SWIG_fail
;
13291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13298 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13299 PyObject
*resultobj
;
13300 wxDC
*arg1
= (wxDC
*) 0 ;
13302 PyObject
* obj0
= 0 ;
13303 char *kwnames
[] = {
13304 (char *) "self", NULL
13307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13311 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13313 wxPyEndAllowThreads(__tstate
);
13314 if (PyErr_Occurred()) SWIG_fail
;
13316 resultobj
= SWIG_PyObj_FromInt((int)result
);
13323 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13324 PyObject
*resultobj
;
13325 wxDC
*arg1
= (wxDC
*) 0 ;
13327 PyObject
* obj0
= 0 ;
13328 char *kwnames
[] = {
13329 (char *) "self", NULL
13332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13338 result
= (wxBrush
*) &_result_ref
;
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13344 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
13351 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13352 PyObject
*resultobj
;
13353 wxDC
*arg1
= (wxDC
*) 0 ;
13355 PyObject
* obj0
= 0 ;
13356 char *kwnames
[] = {
13357 (char *) "self", NULL
13360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13366 result
= (wxBrush
*) &_result_ref
;
13369 wxPyEndAllowThreads(__tstate
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13372 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
13379 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13380 PyObject
*resultobj
;
13381 wxDC
*arg1
= (wxDC
*) 0 ;
13383 PyObject
* obj0
= 0 ;
13384 char *kwnames
[] = {
13385 (char *) "self", NULL
13388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13393 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13394 result
= (wxFont
*) &_result_ref
;
13397 wxPyEndAllowThreads(__tstate
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13400 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
13407 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13408 PyObject
*resultobj
;
13409 wxDC
*arg1
= (wxDC
*) 0 ;
13411 PyObject
* obj0
= 0 ;
13412 char *kwnames
[] = {
13413 (char *) "self", NULL
13416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13421 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13422 result
= (wxPen
*) &_result_ref
;
13425 wxPyEndAllowThreads(__tstate
);
13426 if (PyErr_Occurred()) SWIG_fail
;
13428 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
13435 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13436 PyObject
*resultobj
;
13437 wxDC
*arg1
= (wxDC
*) 0 ;
13439 PyObject
* obj0
= 0 ;
13440 char *kwnames
[] = {
13441 (char *) "self", NULL
13444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13449 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13450 result
= (wxColour
*) &_result_ref
;
13453 wxPyEndAllowThreads(__tstate
);
13454 if (PyErr_Occurred()) SWIG_fail
;
13456 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
13463 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13464 PyObject
*resultobj
;
13465 wxDC
*arg1
= (wxDC
*) 0 ;
13467 PyObject
* obj0
= 0 ;
13468 char *kwnames
[] = {
13469 (char *) "self", NULL
13472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13477 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13478 result
= (wxColour
*) &_result_ref
;
13481 wxPyEndAllowThreads(__tstate
);
13482 if (PyErr_Occurred()) SWIG_fail
;
13484 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
13491 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13492 PyObject
*resultobj
;
13493 wxDC
*arg1
= (wxDC
*) 0 ;
13494 wxColour
*arg2
= 0 ;
13496 PyObject
* obj0
= 0 ;
13497 PyObject
* obj1
= 0 ;
13498 char *kwnames
[] = {
13499 (char *) "self",(char *) "colour", NULL
13502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13506 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13510 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
13512 wxPyEndAllowThreads(__tstate
);
13513 if (PyErr_Occurred()) SWIG_fail
;
13515 Py_INCREF(Py_None
); resultobj
= Py_None
;
13522 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13523 PyObject
*resultobj
;
13524 wxDC
*arg1
= (wxDC
*) 0 ;
13525 wxColour
*arg2
= 0 ;
13527 PyObject
* obj0
= 0 ;
13528 PyObject
* obj1
= 0 ;
13529 char *kwnames
[] = {
13530 (char *) "self",(char *) "colour", NULL
13533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13537 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13541 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
13543 wxPyEndAllowThreads(__tstate
);
13544 if (PyErr_Occurred()) SWIG_fail
;
13546 Py_INCREF(Py_None
); resultobj
= Py_None
;
13553 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13554 PyObject
*resultobj
;
13555 wxDC
*arg1
= (wxDC
*) 0 ;
13557 PyObject
* obj0
= 0 ;
13558 char *kwnames
[] = {
13559 (char *) "self", NULL
13562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
13563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13566 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
13568 wxPyEndAllowThreads(__tstate
);
13569 if (PyErr_Occurred()) SWIG_fail
;
13571 resultobj
= SWIG_PyObj_FromInt((int)result
);
13578 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13579 PyObject
*resultobj
;
13580 wxDC
*arg1
= (wxDC
*) 0 ;
13582 PyObject
* obj0
= 0 ;
13583 PyObject
* obj1
= 0 ;
13584 char *kwnames
[] = {
13585 (char *) "self",(char *) "mode", NULL
13588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13591 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13592 if (PyErr_Occurred()) SWIG_fail
;
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 (arg1
)->SetMapMode(arg2
);
13598 wxPyEndAllowThreads(__tstate
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13601 Py_INCREF(Py_None
); resultobj
= Py_None
;
13608 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13609 PyObject
*resultobj
;
13610 wxDC
*arg1
= (wxDC
*) 0 ;
13611 double *arg2
= (double *) 0 ;
13612 double *arg3
= (double *) 0 ;
13615 PyObject
* obj0
= 0 ;
13616 char *kwnames
[] = {
13617 (char *) "self", NULL
13622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
13623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13626 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
13628 wxPyEndAllowThreads(__tstate
);
13629 if (PyErr_Occurred()) SWIG_fail
;
13631 Py_INCREF(Py_None
); resultobj
= Py_None
;
13633 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13634 resultobj
= t_output_helper(resultobj
,o
);
13637 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
13638 resultobj
= t_output_helper(resultobj
,o
);
13646 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13647 PyObject
*resultobj
;
13648 wxDC
*arg1
= (wxDC
*) 0 ;
13651 PyObject
* obj0
= 0 ;
13652 PyObject
* obj1
= 0 ;
13653 PyObject
* obj2
= 0 ;
13654 char *kwnames
[] = {
13655 (char *) "self",(char *) "x",(char *) "y", NULL
13658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13661 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13665 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13670 (arg1
)->SetUserScale(arg2
,arg3
);
13672 wxPyEndAllowThreads(__tstate
);
13673 if (PyErr_Occurred()) SWIG_fail
;
13675 Py_INCREF(Py_None
); resultobj
= Py_None
;
13682 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13683 PyObject
*resultobj
;
13684 wxDC
*arg1
= (wxDC
*) 0 ;
13685 double *arg2
= (double *) 0 ;
13686 double *arg3
= (double *) 0 ;
13689 PyObject
* obj0
= 0 ;
13690 char *kwnames
[] = {
13691 (char *) "self", NULL
13696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
13697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13700 (arg1
)->GetLogicalScale(arg2
,arg3
);
13702 wxPyEndAllowThreads(__tstate
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13705 Py_INCREF(Py_None
); resultobj
= Py_None
;
13707 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13708 resultobj
= t_output_helper(resultobj
,o
);
13711 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
13712 resultobj
= t_output_helper(resultobj
,o
);
13720 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13721 PyObject
*resultobj
;
13722 wxDC
*arg1
= (wxDC
*) 0 ;
13725 PyObject
* obj0
= 0 ;
13726 PyObject
* obj1
= 0 ;
13727 PyObject
* obj2
= 0 ;
13728 char *kwnames
[] = {
13729 (char *) "self",(char *) "x",(char *) "y", NULL
13732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13735 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
13736 if (PyErr_Occurred()) SWIG_fail
;
13739 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13740 if (PyErr_Occurred()) SWIG_fail
;
13743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13744 (arg1
)->SetLogicalScale(arg2
,arg3
);
13746 wxPyEndAllowThreads(__tstate
);
13747 if (PyErr_Occurred()) SWIG_fail
;
13749 Py_INCREF(Py_None
); resultobj
= Py_None
;
13756 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13757 PyObject
*resultobj
;
13758 wxDC
*arg1
= (wxDC
*) 0 ;
13760 PyObject
* obj0
= 0 ;
13761 char *kwnames
[] = {
13762 (char *) "self", NULL
13765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
13766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13775 wxPoint
* resultptr
;
13776 resultptr
= new wxPoint((wxPoint
&) result
);
13777 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13785 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13786 PyObject
*resultobj
;
13787 wxDC
*arg1
= (wxDC
*) 0 ;
13788 int *arg2
= (int *) 0 ;
13789 int *arg3
= (int *) 0 ;
13792 PyObject
* obj0
= 0 ;
13793 char *kwnames
[] = {
13794 (char *) "self", NULL
13799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
13800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13803 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13808 Py_INCREF(Py_None
); resultobj
= Py_None
;
13810 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13811 resultobj
= t_output_helper(resultobj
,o
);
13814 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13815 resultobj
= t_output_helper(resultobj
,o
);
13823 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13824 PyObject
*resultobj
;
13825 wxDC
*arg1
= (wxDC
*) 0 ;
13828 PyObject
* obj0
= 0 ;
13829 PyObject
* obj1
= 0 ;
13830 PyObject
* obj2
= 0 ;
13831 char *kwnames
[] = {
13832 (char *) "self",(char *) "x",(char *) "y", NULL
13835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13838 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13842 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13843 if (PyErr_Occurred()) SWIG_fail
;
13846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13847 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
13849 wxPyEndAllowThreads(__tstate
);
13850 if (PyErr_Occurred()) SWIG_fail
;
13852 Py_INCREF(Py_None
); resultobj
= Py_None
;
13859 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13860 PyObject
*resultobj
;
13861 wxDC
*arg1
= (wxDC
*) 0 ;
13863 PyObject
* obj0
= 0 ;
13864 char *kwnames
[] = {
13865 (char *) "self", NULL
13868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
13869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13872 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
13874 wxPyEndAllowThreads(__tstate
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13878 wxPoint
* resultptr
;
13879 resultptr
= new wxPoint((wxPoint
&) result
);
13880 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13888 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13889 PyObject
*resultobj
;
13890 wxDC
*arg1
= (wxDC
*) 0 ;
13891 int *arg2
= (int *) 0 ;
13892 int *arg3
= (int *) 0 ;
13895 PyObject
* obj0
= 0 ;
13896 char *kwnames
[] = {
13897 (char *) "self", NULL
13902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
13903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13906 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
13908 wxPyEndAllowThreads(__tstate
);
13909 if (PyErr_Occurred()) SWIG_fail
;
13911 Py_INCREF(Py_None
); resultobj
= Py_None
;
13913 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13914 resultobj
= t_output_helper(resultobj
,o
);
13917 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13918 resultobj
= t_output_helper(resultobj
,o
);
13926 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13927 PyObject
*resultobj
;
13928 wxDC
*arg1
= (wxDC
*) 0 ;
13931 PyObject
* obj0
= 0 ;
13932 PyObject
* obj1
= 0 ;
13933 PyObject
* obj2
= 0 ;
13934 char *kwnames
[] = {
13935 (char *) "self",(char *) "x",(char *) "y", NULL
13938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13941 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13942 if (PyErr_Occurred()) SWIG_fail
;
13945 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13946 if (PyErr_Occurred()) SWIG_fail
;
13949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13950 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
13952 wxPyEndAllowThreads(__tstate
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13955 Py_INCREF(Py_None
); resultobj
= Py_None
;
13962 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13963 PyObject
*resultobj
;
13964 wxDC
*arg1
= (wxDC
*) 0 ;
13967 PyObject
* obj0
= 0 ;
13968 PyObject
* obj1
= 0 ;
13969 PyObject
* obj2
= 0 ;
13970 char *kwnames
[] = {
13971 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
13974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13977 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
13978 if (PyErr_Occurred()) SWIG_fail
;
13981 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
13982 if (PyErr_Occurred()) SWIG_fail
;
13985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13986 (arg1
)->SetAxisOrientation(arg2
,arg3
);
13988 wxPyEndAllowThreads(__tstate
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13991 Py_INCREF(Py_None
); resultobj
= Py_None
;
13998 static PyObject
*_wrap_DC_GetLogicalFunction(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_GetLogicalFunction",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
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14013 wxPyEndAllowThreads(__tstate
);
14014 if (PyErr_Occurred()) SWIG_fail
;
14016 resultobj
= SWIG_PyObj_FromInt((int)result
);
14023 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14024 PyObject
*resultobj
;
14025 wxDC
*arg1
= (wxDC
*) 0 ;
14027 PyObject
* obj0
= 0 ;
14028 PyObject
* obj1
= 0 ;
14029 char *kwnames
[] = {
14030 (char *) "self",(char *) "function", NULL
14033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14036 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14037 if (PyErr_Occurred()) SWIG_fail
;
14040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14041 (arg1
)->SetLogicalFunction(arg2
);
14043 wxPyEndAllowThreads(__tstate
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14046 Py_INCREF(Py_None
); resultobj
= Py_None
;
14053 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14054 PyObject
*resultobj
;
14055 wxDC
*arg1
= (wxDC
*) 0 ;
14057 PyObject
* obj0
= 0 ;
14058 PyObject
* obj1
= 0 ;
14059 char *kwnames
[] = {
14060 (char *) "self",(char *) "opt", NULL
14063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14066 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14067 if (PyErr_Occurred()) SWIG_fail
;
14070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14071 (arg1
)->SetOptimization(arg2
);
14073 wxPyEndAllowThreads(__tstate
);
14074 if (PyErr_Occurred()) SWIG_fail
;
14076 Py_INCREF(Py_None
); resultobj
= Py_None
;
14083 static PyObject
*_wrap_DC_GetOptimization(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_GetOptimization",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
= (bool)(arg1
)->GetOptimization();
14098 wxPyEndAllowThreads(__tstate
);
14099 if (PyErr_Occurred()) SWIG_fail
;
14101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14108 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14109 PyObject
*resultobj
;
14110 wxDC
*arg1
= (wxDC
*) 0 ;
14113 PyObject
* obj0
= 0 ;
14114 PyObject
* obj1
= 0 ;
14115 PyObject
* obj2
= 0 ;
14116 char *kwnames
[] = {
14117 (char *) "self",(char *) "x",(char *) "y", NULL
14120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14123 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14127 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14132 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14134 wxPyEndAllowThreads(__tstate
);
14135 if (PyErr_Occurred()) SWIG_fail
;
14137 Py_INCREF(Py_None
); resultobj
= Py_None
;
14144 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14145 PyObject
*resultobj
;
14146 wxDC
*arg1
= (wxDC
*) 0 ;
14147 PyObject
* obj0
= 0 ;
14148 char *kwnames
[] = {
14149 (char *) "self", NULL
14152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14156 (arg1
)->ResetBoundingBox();
14158 wxPyEndAllowThreads(__tstate
);
14159 if (PyErr_Occurred()) SWIG_fail
;
14161 Py_INCREF(Py_None
); resultobj
= Py_None
;
14168 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14169 PyObject
*resultobj
;
14170 wxDC
*arg1
= (wxDC
*) 0 ;
14172 PyObject
* obj0
= 0 ;
14173 char *kwnames
[] = {
14174 (char *) "self", NULL
14177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14181 result
= (int)((wxDC
const *)arg1
)->MinX();
14183 wxPyEndAllowThreads(__tstate
);
14184 if (PyErr_Occurred()) SWIG_fail
;
14186 resultobj
= SWIG_PyObj_FromInt((int)result
);
14193 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14194 PyObject
*resultobj
;
14195 wxDC
*arg1
= (wxDC
*) 0 ;
14197 PyObject
* obj0
= 0 ;
14198 char *kwnames
[] = {
14199 (char *) "self", NULL
14202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14206 result
= (int)((wxDC
const *)arg1
)->MaxX();
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14211 resultobj
= SWIG_PyObj_FromInt((int)result
);
14218 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14219 PyObject
*resultobj
;
14220 wxDC
*arg1
= (wxDC
*) 0 ;
14222 PyObject
* obj0
= 0 ;
14223 char *kwnames
[] = {
14224 (char *) "self", NULL
14227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14231 result
= (int)((wxDC
const *)arg1
)->MinY();
14233 wxPyEndAllowThreads(__tstate
);
14234 if (PyErr_Occurred()) SWIG_fail
;
14236 resultobj
= SWIG_PyObj_FromInt((int)result
);
14243 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14244 PyObject
*resultobj
;
14245 wxDC
*arg1
= (wxDC
*) 0 ;
14247 PyObject
* obj0
= 0 ;
14248 char *kwnames
[] = {
14249 (char *) "self", NULL
14252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14256 result
= (int)((wxDC
const *)arg1
)->MaxY();
14258 wxPyEndAllowThreads(__tstate
);
14259 if (PyErr_Occurred()) SWIG_fail
;
14261 resultobj
= SWIG_PyObj_FromInt((int)result
);
14268 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14269 PyObject
*resultobj
;
14270 wxDC
*arg1
= (wxDC
*) 0 ;
14271 int *arg2
= (int *) 0 ;
14272 int *arg3
= (int *) 0 ;
14273 int *arg4
= (int *) 0 ;
14274 int *arg5
= (int *) 0 ;
14279 PyObject
* obj0
= 0 ;
14280 char *kwnames
[] = {
14281 (char *) "self", NULL
14288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14292 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14294 wxPyEndAllowThreads(__tstate
);
14295 if (PyErr_Occurred()) SWIG_fail
;
14297 Py_INCREF(Py_None
); resultobj
= Py_None
;
14299 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14300 resultobj
= t_output_helper(resultobj
,o
);
14303 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14304 resultobj
= t_output_helper(resultobj
,o
);
14307 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14308 resultobj
= t_output_helper(resultobj
,o
);
14311 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14312 resultobj
= t_output_helper(resultobj
,o
);
14320 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14321 PyObject
*resultobj
;
14322 wxDC
*arg1
= (wxDC
*) 0 ;
14323 PyObject
*arg2
= (PyObject
*) 0 ;
14324 PyObject
*arg3
= (PyObject
*) 0 ;
14325 PyObject
*arg4
= (PyObject
*) 0 ;
14327 PyObject
* obj0
= 0 ;
14328 PyObject
* obj1
= 0 ;
14329 PyObject
* obj2
= 0 ;
14330 PyObject
* obj3
= 0 ;
14331 char *kwnames
[] = {
14332 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14342 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14344 wxPyEndAllowThreads(__tstate
);
14345 if (PyErr_Occurred()) SWIG_fail
;
14347 resultobj
= result
;
14354 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14355 PyObject
*resultobj
;
14356 wxDC
*arg1
= (wxDC
*) 0 ;
14357 PyObject
*arg2
= (PyObject
*) 0 ;
14358 PyObject
*arg3
= (PyObject
*) 0 ;
14359 PyObject
*arg4
= (PyObject
*) 0 ;
14361 PyObject
* obj0
= 0 ;
14362 PyObject
* obj1
= 0 ;
14363 PyObject
* obj2
= 0 ;
14364 PyObject
* obj3
= 0 ;
14365 char *kwnames
[] = {
14366 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14376 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14378 wxPyEndAllowThreads(__tstate
);
14379 if (PyErr_Occurred()) SWIG_fail
;
14381 resultobj
= result
;
14388 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14389 PyObject
*resultobj
;
14390 wxDC
*arg1
= (wxDC
*) 0 ;
14391 PyObject
*arg2
= (PyObject
*) 0 ;
14392 PyObject
*arg3
= (PyObject
*) 0 ;
14393 PyObject
*arg4
= (PyObject
*) 0 ;
14395 PyObject
* obj0
= 0 ;
14396 PyObject
* obj1
= 0 ;
14397 PyObject
* obj2
= 0 ;
14398 PyObject
* obj3
= 0 ;
14399 char *kwnames
[] = {
14400 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14410 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14412 wxPyEndAllowThreads(__tstate
);
14413 if (PyErr_Occurred()) SWIG_fail
;
14415 resultobj
= result
;
14422 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14423 PyObject
*resultobj
;
14424 wxDC
*arg1
= (wxDC
*) 0 ;
14425 PyObject
*arg2
= (PyObject
*) 0 ;
14426 PyObject
*arg3
= (PyObject
*) 0 ;
14427 PyObject
*arg4
= (PyObject
*) 0 ;
14429 PyObject
* obj0
= 0 ;
14430 PyObject
* obj1
= 0 ;
14431 PyObject
* obj2
= 0 ;
14432 PyObject
* obj3
= 0 ;
14433 char *kwnames
[] = {
14434 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14444 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14446 wxPyEndAllowThreads(__tstate
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14449 resultobj
= result
;
14456 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14457 PyObject
*resultobj
;
14458 wxDC
*arg1
= (wxDC
*) 0 ;
14459 PyObject
*arg2
= (PyObject
*) 0 ;
14460 PyObject
*arg3
= (PyObject
*) 0 ;
14461 PyObject
*arg4
= (PyObject
*) 0 ;
14463 PyObject
* obj0
= 0 ;
14464 PyObject
* obj1
= 0 ;
14465 PyObject
* obj2
= 0 ;
14466 PyObject
* obj3
= 0 ;
14467 char *kwnames
[] = {
14468 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14478 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
14480 wxPyEndAllowThreads(__tstate
);
14481 if (PyErr_Occurred()) SWIG_fail
;
14483 resultobj
= result
;
14490 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14491 PyObject
*resultobj
;
14492 wxDC
*arg1
= (wxDC
*) 0 ;
14493 PyObject
*arg2
= (PyObject
*) 0 ;
14494 PyObject
*arg3
= (PyObject
*) 0 ;
14495 PyObject
*arg4
= (PyObject
*) 0 ;
14496 PyObject
*arg5
= (PyObject
*) 0 ;
14498 PyObject
* obj0
= 0 ;
14499 PyObject
* obj1
= 0 ;
14500 PyObject
* obj2
= 0 ;
14501 PyObject
* obj3
= 0 ;
14502 PyObject
* obj4
= 0 ;
14503 char *kwnames
[] = {
14504 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
14507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14515 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
14517 wxPyEndAllowThreads(__tstate
);
14518 if (PyErr_Occurred()) SWIG_fail
;
14520 resultobj
= result
;
14527 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
14529 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14530 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
14532 return Py_BuildValue((char *)"");
14534 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14535 PyObject
*resultobj
;
14536 wxMemoryDC
*result
;
14537 char *kwnames
[] = {
14541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
14543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14544 result
= (wxMemoryDC
*)new wxMemoryDC();
14546 wxPyEndAllowThreads(__tstate
);
14547 if (PyErr_Occurred()) SWIG_fail
;
14549 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryDC
, 1);
14556 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14557 PyObject
*resultobj
;
14558 wxDC
*arg1
= (wxDC
*) 0 ;
14559 wxMemoryDC
*result
;
14560 PyObject
* obj0
= 0 ;
14561 char *kwnames
[] = {
14562 (char *) "oldDC", NULL
14565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
14566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14569 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
14571 wxPyEndAllowThreads(__tstate
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14574 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryDC
, 1);
14581 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14582 PyObject
*resultobj
;
14583 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
14584 wxBitmap
*arg2
= 0 ;
14585 PyObject
* obj0
= 0 ;
14586 PyObject
* obj1
= 0 ;
14587 char *kwnames
[] = {
14588 (char *) "self",(char *) "bitmap", NULL
14591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14593 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14594 if (arg2
== NULL
) {
14595 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14599 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
14601 wxPyEndAllowThreads(__tstate
);
14602 if (PyErr_Occurred()) SWIG_fail
;
14604 Py_INCREF(Py_None
); resultobj
= Py_None
;
14611 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
14613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14614 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
14616 return Py_BuildValue((char *)"");
14618 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
14619 PyObject
*resultobj
;
14620 wxDC
*arg1
= (wxDC
*) 0 ;
14621 wxBitmap
*arg2
= 0 ;
14622 wxBufferedDC
*result
;
14623 PyObject
* obj0
= 0 ;
14624 PyObject
* obj1
= 0 ;
14626 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
14627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14628 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14629 if (arg2
== NULL
) {
14630 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14634 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
14636 wxPyEndAllowThreads(__tstate
);
14637 if (PyErr_Occurred()) SWIG_fail
;
14639 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
14646 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
14647 PyObject
*resultobj
;
14648 wxDC
*arg1
= (wxDC
*) 0 ;
14650 int arg3
= (int) wxBUFFER_DC_DEFAULT
;
14651 wxBufferedDC
*result
;
14653 PyObject
* obj0
= 0 ;
14654 PyObject
* obj1
= 0 ;
14655 PyObject
* obj2
= 0 ;
14657 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_BufferedDC",&obj0
,&obj1
,&obj2
)) goto fail
;
14658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14661 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14665 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14666 if (PyErr_Occurred()) SWIG_fail
;
14670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14671 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
14673 wxPyEndAllowThreads(__tstate
);
14674 if (PyErr_Occurred()) SWIG_fail
;
14676 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
14683 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
14688 argc
= PyObject_Length(args
);
14689 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
14690 argv
[ii
] = PyTuple_GetItem(args
,ii
);
14696 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
14706 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
14714 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
14718 if ((argc
>= 2) && (argc
<= 3)) {
14722 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
14731 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
14735 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
14738 SWIG_PyObj_AsInt(argv
[2]);
14739 if (PyErr_Occurred()) {
14747 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
14753 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
14758 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
14759 PyObject
*resultobj
;
14760 wxDC
*arg1
= (wxDC
*) 0 ;
14762 int arg3
= (int) wxBUFFER_DC_DEFAULT
;
14763 wxBufferedDC
*result
;
14765 PyObject
* obj0
= 0 ;
14766 PyObject
* obj1
= 0 ;
14767 PyObject
* obj2
= 0 ;
14769 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_BufferedDCInternalBuffer",&obj0
,&obj1
,&obj2
)) goto fail
;
14770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14773 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14777 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14778 if (PyErr_Occurred()) SWIG_fail
;
14782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14783 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
14785 wxPyEndAllowThreads(__tstate
);
14786 if (PyErr_Occurred()) SWIG_fail
;
14788 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
14795 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14796 PyObject
*resultobj
;
14797 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
14798 PyObject
* obj0
= 0 ;
14799 char *kwnames
[] = {
14800 (char *) "self", NULL
14803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
14804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBufferedDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14809 wxPyEndAllowThreads(__tstate
);
14810 if (PyErr_Occurred()) SWIG_fail
;
14812 Py_INCREF(Py_None
); resultobj
= Py_None
;
14819 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
14821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14822 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
14824 return Py_BuildValue((char *)"");
14826 static PyObject
*_wrap_new_BufferedPaintDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
14827 PyObject
*resultobj
;
14828 wxWindow
*arg1
= (wxWindow
*) 0 ;
14829 wxBitmap
*arg2
= 0 ;
14830 wxBufferedPaintDC
*result
;
14831 PyObject
* obj0
= 0 ;
14832 PyObject
* obj1
= 0 ;
14834 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedPaintDC",&obj0
,&obj1
)) goto fail
;
14835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14836 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14837 if (arg2
== NULL
) {
14838 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14842 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
14844 wxPyEndAllowThreads(__tstate
);
14845 if (PyErr_Occurred()) SWIG_fail
;
14847 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedPaintDC
, 1);
14854 static PyObject
*_wrap_new_BufferedPaintDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
14855 PyObject
*resultobj
;
14856 wxWindow
*arg1
= (wxWindow
*) 0 ;
14857 int arg2
= (int) wxBUFFER_DC_DEFAULT
;
14858 wxBufferedPaintDC
*result
;
14859 PyObject
* obj0
= 0 ;
14860 PyObject
* obj1
= 0 ;
14862 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_BufferedPaintDC",&obj0
,&obj1
)) goto fail
;
14863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14866 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14867 if (PyErr_Occurred()) SWIG_fail
;
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,arg2
);
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14877 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedPaintDC
, 1);
14884 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
) {
14889 argc
= PyObject_Length(args
);
14890 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
14891 argv
[ii
] = PyTuple_GetItem(args
,ii
);
14893 if ((argc
>= 1) && (argc
<= 2)) {
14897 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
14906 return _wrap_new_BufferedPaintDC__SWIG_1(self
,args
);
14909 SWIG_PyObj_AsInt(argv
[1]);
14910 if (PyErr_Occurred()) {
14918 return _wrap_new_BufferedPaintDC__SWIG_1(self
,args
);
14926 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
14936 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
14944 return _wrap_new_BufferedPaintDC__SWIG_0(self
,args
);
14949 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedPaintDC'");
14954 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
14956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14957 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
14959 return Py_BuildValue((char *)"");
14961 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14962 PyObject
*resultobj
;
14963 wxScreenDC
*result
;
14964 char *kwnames
[] = {
14968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
14970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14971 result
= (wxScreenDC
*)new wxScreenDC();
14973 wxPyEndAllowThreads(__tstate
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14976 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScreenDC
, 1);
14983 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14984 PyObject
*resultobj
;
14985 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
14986 wxWindow
*arg2
= (wxWindow
*) 0 ;
14988 PyObject
* obj0
= 0 ;
14989 PyObject
* obj1
= 0 ;
14990 char *kwnames
[] = {
14991 (char *) "self",(char *) "window", NULL
14994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
14995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14996 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15001 wxPyEndAllowThreads(__tstate
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15011 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15012 PyObject
*resultobj
;
15013 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15014 wxRect
*arg2
= (wxRect
*) NULL
;
15016 PyObject
* obj0
= 0 ;
15017 PyObject
* obj1
= 0 ;
15018 char *kwnames
[] = {
15019 (char *) "self",(char *) "rect", NULL
15022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15025 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15031 wxPyEndAllowThreads(__tstate
);
15032 if (PyErr_Occurred()) SWIG_fail
;
15034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15041 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15042 PyObject
*resultobj
;
15043 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15045 PyObject
* obj0
= 0 ;
15046 char *kwnames
[] = {
15047 (char *) "self", NULL
15050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15054 result
= (bool)(arg1
)->EndDrawingOnTop();
15056 wxPyEndAllowThreads(__tstate
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15066 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15068 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15069 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15071 return Py_BuildValue((char *)"");
15073 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15074 PyObject
*resultobj
;
15075 wxWindow
*arg1
= (wxWindow
*) 0 ;
15076 wxClientDC
*result
;
15077 PyObject
* obj0
= 0 ;
15078 char *kwnames
[] = {
15079 (char *) "win", NULL
15082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15086 result
= (wxClientDC
*)new wxClientDC(arg1
);
15088 wxPyEndAllowThreads(__tstate
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15091 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClientDC
, 1);
15098 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
15100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15101 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15103 return Py_BuildValue((char *)"");
15105 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15106 PyObject
*resultobj
;
15107 wxWindow
*arg1
= (wxWindow
*) 0 ;
15109 PyObject
* obj0
= 0 ;
15110 char *kwnames
[] = {
15111 (char *) "win", NULL
15114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15118 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15120 wxPyEndAllowThreads(__tstate
);
15121 if (PyErr_Occurred()) SWIG_fail
;
15123 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintDC
, 1);
15130 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15133 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15135 return Py_BuildValue((char *)"");
15137 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15138 PyObject
*resultobj
;
15139 wxWindow
*arg1
= (wxWindow
*) 0 ;
15140 wxWindowDC
*result
;
15141 PyObject
* obj0
= 0 ;
15142 char *kwnames
[] = {
15143 (char *) "win", NULL
15146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15150 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15152 wxPyEndAllowThreads(__tstate
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15155 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDC
, 1);
15162 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
15164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15165 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15167 return Py_BuildValue((char *)"");
15169 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15170 PyObject
*resultobj
;
15173 wxMirrorDC
*result
;
15174 PyObject
* obj0
= 0 ;
15175 PyObject
* obj1
= 0 ;
15176 char *kwnames
[] = {
15177 (char *) "dc",(char *) "mirror", NULL
15180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15182 if (arg1
== NULL
) {
15183 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15186 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15187 if (PyErr_Occurred()) SWIG_fail
;
15190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15191 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15193 wxPyEndAllowThreads(__tstate
);
15194 if (PyErr_Occurred()) SWIG_fail
;
15196 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMirrorDC
, 1);
15203 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
15205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15206 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15208 return Py_BuildValue((char *)"");
15210 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15211 PyObject
*resultobj
;
15212 wxPrintData
*arg1
= 0 ;
15213 wxPostScriptDC
*result
;
15214 PyObject
* obj0
= 0 ;
15215 char *kwnames
[] = {
15216 (char *) "printData", NULL
15219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15221 if (arg1
== NULL
) {
15222 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15226 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15228 wxPyEndAllowThreads(__tstate
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15231 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPostScriptDC
, 1);
15238 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15239 PyObject
*resultobj
;
15240 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15241 wxPrintData
*result
;
15242 PyObject
* obj0
= 0 ;
15243 char *kwnames
[] = {
15244 (char *) "self", NULL
15247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPostScriptDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15252 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15253 result
= (wxPrintData
*) &_result_ref
;
15256 wxPyEndAllowThreads(__tstate
);
15257 if (PyErr_Occurred()) SWIG_fail
;
15259 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
15266 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15267 PyObject
*resultobj
;
15268 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15269 wxPrintData
*arg2
= 0 ;
15270 PyObject
* obj0
= 0 ;
15271 PyObject
* obj1
= 0 ;
15272 char *kwnames
[] = {
15273 (char *) "self",(char *) "data", NULL
15276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPostScriptDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15278 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15279 if (arg2
== NULL
) {
15280 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15284 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15286 wxPyEndAllowThreads(__tstate
);
15287 if (PyErr_Occurred()) SWIG_fail
;
15289 Py_INCREF(Py_None
); resultobj
= Py_None
;
15296 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15297 PyObject
*resultobj
;
15299 PyObject
* obj0
= 0 ;
15300 char *kwnames
[] = {
15301 (char *) "ppi", NULL
15304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15306 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
15307 if (PyErr_Occurred()) SWIG_fail
;
15310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15311 wxPostScriptDC::SetResolution(arg1
);
15313 wxPyEndAllowThreads(__tstate
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15316 Py_INCREF(Py_None
); resultobj
= Py_None
;
15323 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15324 PyObject
*resultobj
;
15326 char *kwnames
[] = {
15330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15333 result
= (int)wxPostScriptDC::GetResolution();
15335 wxPyEndAllowThreads(__tstate
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15338 resultobj
= SWIG_PyObj_FromInt((int)result
);
15345 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
15347 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15348 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15350 return Py_BuildValue((char *)"");
15352 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15353 PyObject
*resultobj
;
15354 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15355 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15356 wxMetaFile
*result
;
15357 bool temp1
= False
;
15358 PyObject
* obj0
= 0 ;
15359 char *kwnames
[] = {
15360 (char *) "filename", NULL
15363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15366 arg1
= wxString_in_helper(obj0
);
15367 if (arg1
== NULL
) SWIG_fail
;
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15378 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFile
, 1);
15393 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
15395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15396 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
15398 return Py_BuildValue((char *)"");
15400 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15401 PyObject
*resultobj
;
15402 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15403 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15404 int arg2
= (int) 0 ;
15405 int arg3
= (int) 0 ;
15406 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15407 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15408 wxMetaFileDC
*result
;
15409 bool temp1
= False
;
15410 bool temp4
= False
;
15411 PyObject
* obj0
= 0 ;
15412 PyObject
* obj1
= 0 ;
15413 PyObject
* obj2
= 0 ;
15414 PyObject
* obj3
= 0 ;
15415 char *kwnames
[] = {
15416 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15422 arg1
= wxString_in_helper(obj0
);
15423 if (arg1
== NULL
) SWIG_fail
;
15429 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15430 if (PyErr_Occurred()) SWIG_fail
;
15435 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15436 if (PyErr_Occurred()) SWIG_fail
;
15441 arg4
= wxString_in_helper(obj3
);
15442 if (arg4
== NULL
) SWIG_fail
;
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15453 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFileDC
, 1);
15476 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
15478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15479 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
15481 return Py_BuildValue((char *)"");
15483 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15484 PyObject
*resultobj
;
15485 wxPrintData
*arg1
= 0 ;
15486 wxPrinterDC
*result
;
15487 PyObject
* obj0
= 0 ;
15488 char *kwnames
[] = {
15489 (char *) "printData", NULL
15492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
15493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15494 if (arg1
== NULL
) {
15495 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15499 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
15501 wxPyEndAllowThreads(__tstate
);
15502 if (PyErr_Occurred()) SWIG_fail
;
15504 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinterDC
, 1);
15511 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
15513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15514 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
15516 return Py_BuildValue((char *)"");
15518 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
;
15522 int arg3
= (int) True
;
15523 int arg4
= (int) 1 ;
15524 wxImageList
*result
;
15525 PyObject
* obj0
= 0 ;
15526 PyObject
* obj1
= 0 ;
15527 PyObject
* obj2
= 0 ;
15528 PyObject
* obj3
= 0 ;
15529 char *kwnames
[] = {
15530 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
15533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15535 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
15536 if (PyErr_Occurred()) SWIG_fail
;
15539 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15540 if (PyErr_Occurred()) SWIG_fail
;
15544 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15545 if (PyErr_Occurred()) SWIG_fail
;
15550 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15556 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15562 resultobj
= wxPyMake_wxObject(result
);
15570 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15571 PyObject
*resultobj
;
15572 wxImageList
*arg1
= (wxImageList
*) 0 ;
15573 PyObject
* obj0
= 0 ;
15574 char *kwnames
[] = {
15575 (char *) "self", NULL
15578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
15579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 wxPyEndAllowThreads(__tstate
);
15585 if (PyErr_Occurred()) SWIG_fail
;
15587 Py_INCREF(Py_None
); resultobj
= Py_None
;
15594 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15595 PyObject
*resultobj
;
15596 wxImageList
*arg1
= (wxImageList
*) 0 ;
15597 wxBitmap
*arg2
= 0 ;
15598 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
15599 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
15601 PyObject
* obj0
= 0 ;
15602 PyObject
* obj1
= 0 ;
15603 PyObject
* obj2
= 0 ;
15604 char *kwnames
[] = {
15605 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
15608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15610 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15611 if (arg2
== NULL
) {
15612 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15615 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15616 if (arg3
== NULL
) {
15617 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15622 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
15624 wxPyEndAllowThreads(__tstate
);
15625 if (PyErr_Occurred()) SWIG_fail
;
15627 resultobj
= SWIG_PyObj_FromInt((int)result
);
15634 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15635 PyObject
*resultobj
;
15636 wxImageList
*arg1
= (wxImageList
*) 0 ;
15637 wxBitmap
*arg2
= 0 ;
15638 wxColour
*arg3
= 0 ;
15641 PyObject
* obj0
= 0 ;
15642 PyObject
* obj1
= 0 ;
15643 PyObject
* obj2
= 0 ;
15644 char *kwnames
[] = {
15645 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
15648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15650 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15651 if (arg2
== NULL
) {
15652 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15656 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15660 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
15662 wxPyEndAllowThreads(__tstate
);
15663 if (PyErr_Occurred()) SWIG_fail
;
15665 resultobj
= SWIG_PyObj_FromInt((int)result
);
15672 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15673 PyObject
*resultobj
;
15674 wxImageList
*arg1
= (wxImageList
*) 0 ;
15677 PyObject
* obj0
= 0 ;
15678 PyObject
* obj1
= 0 ;
15679 char *kwnames
[] = {
15680 (char *) "self",(char *) "icon", NULL
15683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
15684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15685 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15686 if (arg2
== NULL
) {
15687 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15691 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
15693 wxPyEndAllowThreads(__tstate
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15696 resultobj
= SWIG_PyObj_FromInt((int)result
);
15703 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15704 PyObject
*resultobj
;
15705 wxImageList
*arg1
= (wxImageList
*) 0 ;
15707 wxBitmap
*arg3
= 0 ;
15709 PyObject
* obj0
= 0 ;
15710 PyObject
* obj1
= 0 ;
15711 PyObject
* obj2
= 0 ;
15712 char *kwnames
[] = {
15713 (char *) "self",(char *) "index",(char *) "bitmap", NULL
15716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15719 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15720 if (PyErr_Occurred()) SWIG_fail
;
15722 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15723 if (arg3
== NULL
) {
15724 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15728 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
15730 wxPyEndAllowThreads(__tstate
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15740 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15741 PyObject
*resultobj
;
15742 wxImageList
*arg1
= (wxImageList
*) 0 ;
15747 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
15748 bool arg7
= (bool) (bool)False
;
15750 PyObject
* obj0
= 0 ;
15751 PyObject
* obj1
= 0 ;
15752 PyObject
* obj2
= 0 ;
15753 PyObject
* obj3
= 0 ;
15754 PyObject
* obj4
= 0 ;
15755 PyObject
* obj5
= 0 ;
15756 PyObject
* obj6
= 0 ;
15757 char *kwnames
[] = {
15758 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
15761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15764 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15765 if (PyErr_Occurred()) SWIG_fail
;
15767 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15768 if (arg3
== NULL
) {
15769 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15772 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15776 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15777 if (PyErr_Occurred()) SWIG_fail
;
15781 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
15782 if (PyErr_Occurred()) SWIG_fail
;
15787 arg7
= (bool const) SWIG_PyObj_AsBool(obj6
);
15788 if (PyErr_Occurred()) SWIG_fail
;
15792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15793 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
15795 wxPyEndAllowThreads(__tstate
);
15796 if (PyErr_Occurred()) SWIG_fail
;
15798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15805 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15806 PyObject
*resultobj
;
15807 wxImageList
*arg1
= (wxImageList
*) 0 ;
15809 PyObject
* obj0
= 0 ;
15810 char *kwnames
[] = {
15811 (char *) "self", NULL
15814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
15815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15818 result
= (int)(arg1
)->GetImageCount();
15820 wxPyEndAllowThreads(__tstate
);
15821 if (PyErr_Occurred()) SWIG_fail
;
15823 resultobj
= SWIG_PyObj_FromInt((int)result
);
15830 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15831 PyObject
*resultobj
;
15832 wxImageList
*arg1
= (wxImageList
*) 0 ;
15835 PyObject
* obj0
= 0 ;
15836 PyObject
* obj1
= 0 ;
15837 char *kwnames
[] = {
15838 (char *) "self",(char *) "index", NULL
15841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
15842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15844 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15845 if (PyErr_Occurred()) SWIG_fail
;
15848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15849 result
= (bool)(arg1
)->Remove(arg2
);
15851 wxPyEndAllowThreads(__tstate
);
15852 if (PyErr_Occurred()) SWIG_fail
;
15854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15861 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15862 PyObject
*resultobj
;
15863 wxImageList
*arg1
= (wxImageList
*) 0 ;
15865 PyObject
* obj0
= 0 ;
15866 char *kwnames
[] = {
15867 (char *) "self", NULL
15870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
15871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15874 result
= (bool)(arg1
)->RemoveAll();
15876 wxPyEndAllowThreads(__tstate
);
15877 if (PyErr_Occurred()) SWIG_fail
;
15879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15886 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15887 PyObject
*resultobj
;
15888 wxImageList
*arg1
= (wxImageList
*) 0 ;
15894 PyObject
* obj0
= 0 ;
15895 PyObject
* obj1
= 0 ;
15896 char *kwnames
[] = {
15897 (char *) "self",(char *) "index", NULL
15902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15905 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15906 if (PyErr_Occurred()) SWIG_fail
;
15909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15910 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
15912 wxPyEndAllowThreads(__tstate
);
15913 if (PyErr_Occurred()) SWIG_fail
;
15915 Py_INCREF(Py_None
); resultobj
= Py_None
;
15917 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15918 resultobj
= t_output_helper(resultobj
,o
);
15921 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
15922 resultobj
= t_output_helper(resultobj
,o
);
15930 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
15932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15933 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
15935 return Py_BuildValue((char *)"");
15937 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
15938 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
15943 static PyObject
*_wrap_NORMAL_FONT_get() {
15946 pyobj
= SWIG_NewPointerObj((void *) wxNORMAL_FONT
, SWIGTYPE_p_wxFont
, 0);
15951 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
15952 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
15957 static PyObject
*_wrap_SMALL_FONT_get() {
15960 pyobj
= SWIG_NewPointerObj((void *) wxSMALL_FONT
, SWIGTYPE_p_wxFont
, 0);
15965 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
15966 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
15971 static PyObject
*_wrap_ITALIC_FONT_get() {
15974 pyobj
= SWIG_NewPointerObj((void *) wxITALIC_FONT
, SWIGTYPE_p_wxFont
, 0);
15979 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
15980 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
15985 static PyObject
*_wrap_SWISS_FONT_get() {
15988 pyobj
= SWIG_NewPointerObj((void *) wxSWISS_FONT
, SWIGTYPE_p_wxFont
, 0);
15993 static int _wrap_RED_PEN_set(PyObject
*_val
) {
15994 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
15999 static PyObject
*_wrap_RED_PEN_get() {
16002 pyobj
= SWIG_NewPointerObj((void *) wxRED_PEN
, SWIGTYPE_p_wxPen
, 0);
16007 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
16008 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16013 static PyObject
*_wrap_CYAN_PEN_get() {
16016 pyobj
= SWIG_NewPointerObj((void *) wxCYAN_PEN
, SWIGTYPE_p_wxPen
, 0);
16021 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
16022 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16027 static PyObject
*_wrap_GREEN_PEN_get() {
16030 pyobj
= SWIG_NewPointerObj((void *) wxGREEN_PEN
, SWIGTYPE_p_wxPen
, 0);
16035 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
16036 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16041 static PyObject
*_wrap_BLACK_PEN_get() {
16044 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_PEN
, SWIGTYPE_p_wxPen
, 0);
16049 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
16050 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16055 static PyObject
*_wrap_WHITE_PEN_get() {
16058 pyobj
= SWIG_NewPointerObj((void *) wxWHITE_PEN
, SWIGTYPE_p_wxPen
, 0);
16063 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
16064 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16069 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16072 pyobj
= SWIG_NewPointerObj((void *) wxTRANSPARENT_PEN
, SWIGTYPE_p_wxPen
, 0);
16077 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
16078 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16083 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16086 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_DASHED_PEN
, SWIGTYPE_p_wxPen
, 0);
16091 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
16092 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16097 static PyObject
*_wrap_GREY_PEN_get() {
16100 pyobj
= SWIG_NewPointerObj((void *) wxGREY_PEN
, SWIGTYPE_p_wxPen
, 0);
16105 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
16106 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16111 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16114 pyobj
= SWIG_NewPointerObj((void *) wxMEDIUM_GREY_PEN
, SWIGTYPE_p_wxPen
, 0);
16119 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
16120 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16125 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16128 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY_PEN
, SWIGTYPE_p_wxPen
, 0);
16133 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
16134 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16139 static PyObject
*_wrap_BLUE_BRUSH_get() {
16142 pyobj
= SWIG_NewPointerObj((void *) wxBLUE_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16147 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
16148 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16153 static PyObject
*_wrap_GREEN_BRUSH_get() {
16156 pyobj
= SWIG_NewPointerObj((void *) wxGREEN_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16161 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
16162 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16167 static PyObject
*_wrap_WHITE_BRUSH_get() {
16170 pyobj
= SWIG_NewPointerObj((void *) wxWHITE_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16175 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
16176 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16181 static PyObject
*_wrap_BLACK_BRUSH_get() {
16184 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16189 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
16190 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16195 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16198 pyobj
= SWIG_NewPointerObj((void *) wxTRANSPARENT_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16203 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
16204 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16209 static PyObject
*_wrap_CYAN_BRUSH_get() {
16212 pyobj
= SWIG_NewPointerObj((void *) wxCYAN_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16217 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
16218 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16223 static PyObject
*_wrap_RED_BRUSH_get() {
16226 pyobj
= SWIG_NewPointerObj((void *) wxRED_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16231 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
16232 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16237 static PyObject
*_wrap_GREY_BRUSH_get() {
16240 pyobj
= SWIG_NewPointerObj((void *) wxGREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16245 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
16246 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16251 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16254 pyobj
= SWIG_NewPointerObj((void *) wxMEDIUM_GREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16259 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
16260 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16265 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
16268 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16273 static int _wrap_BLACK_set(PyObject
*_val
) {
16274 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
16279 static PyObject
*_wrap_BLACK_get() {
16282 pyobj
= SWIG_NewPointerObj((void *) wxBLACK
, SWIGTYPE_p_wxColour
, 0);
16287 static int _wrap_WHITE_set(PyObject
*_val
) {
16288 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16293 static PyObject
*_wrap_WHITE_get() {
16296 pyobj
= SWIG_NewPointerObj((void *) wxWHITE
, SWIGTYPE_p_wxColour
, 0);
16301 static int _wrap_RED_set(PyObject
*_val
) {
16302 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16307 static PyObject
*_wrap_RED_get() {
16310 pyobj
= SWIG_NewPointerObj((void *) wxRED
, SWIGTYPE_p_wxColour
, 0);
16315 static int _wrap_BLUE_set(PyObject
*_val
) {
16316 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16321 static PyObject
*_wrap_BLUE_get() {
16324 pyobj
= SWIG_NewPointerObj((void *) wxBLUE
, SWIGTYPE_p_wxColour
, 0);
16329 static int _wrap_GREEN_set(PyObject
*_val
) {
16330 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
16335 static PyObject
*_wrap_GREEN_get() {
16338 pyobj
= SWIG_NewPointerObj((void *) wxGREEN
, SWIGTYPE_p_wxColour
, 0);
16343 static int _wrap_CYAN_set(PyObject
*_val
) {
16344 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16349 static PyObject
*_wrap_CYAN_get() {
16352 pyobj
= SWIG_NewPointerObj((void *) wxCYAN
, SWIGTYPE_p_wxColour
, 0);
16357 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
16358 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
16363 static PyObject
*_wrap_LIGHT_GREY_get() {
16366 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY
, SWIGTYPE_p_wxColour
, 0);
16371 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
16372 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
16377 static PyObject
*_wrap_STANDARD_CURSOR_get() {
16380 pyobj
= SWIG_NewPointerObj((void *) wxSTANDARD_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
16385 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
16386 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
16391 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
16394 pyobj
= SWIG_NewPointerObj((void *) wxHOURGLASS_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
16399 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
16400 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
16405 static PyObject
*_wrap_CROSS_CURSOR_get() {
16408 pyobj
= SWIG_NewPointerObj((void *) wxCROSS_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
16413 static int _wrap_NullBitmap_set(PyObject
*_val
) {
16414 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
16419 static PyObject
*_wrap_NullBitmap_get() {
16422 pyobj
= SWIG_NewPointerObj((void *) &wxNullBitmap
, SWIGTYPE_p_wxBitmap
, 0);
16427 static int _wrap_NullIcon_set(PyObject
*_val
) {
16428 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
16433 static PyObject
*_wrap_NullIcon_get() {
16436 pyobj
= SWIG_NewPointerObj((void *) &wxNullIcon
, SWIGTYPE_p_wxIcon
, 0);
16441 static int _wrap_NullCursor_set(PyObject
*_val
) {
16442 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
16447 static PyObject
*_wrap_NullCursor_get() {
16450 pyobj
= SWIG_NewPointerObj((void *) &wxNullCursor
, SWIGTYPE_p_wxCursor
, 0);
16455 static int _wrap_NullPen_set(PyObject
*_val
) {
16456 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
16461 static PyObject
*_wrap_NullPen_get() {
16464 pyobj
= SWIG_NewPointerObj((void *) &wxNullPen
, SWIGTYPE_p_wxPen
, 0);
16469 static int _wrap_NullBrush_set(PyObject
*_val
) {
16470 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
16475 static PyObject
*_wrap_NullBrush_get() {
16478 pyobj
= SWIG_NewPointerObj((void *) &wxNullBrush
, SWIGTYPE_p_wxBrush
, 0);
16483 static int _wrap_NullPalette_set(PyObject
*_val
) {
16484 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
16489 static PyObject
*_wrap_NullPalette_get() {
16492 pyobj
= SWIG_NewPointerObj((void *) &wxNullPalette
, SWIGTYPE_p_wxPalette
, 0);
16497 static int _wrap_NullFont_set(PyObject
*_val
) {
16498 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
16503 static PyObject
*_wrap_NullFont_get() {
16506 pyobj
= SWIG_NewPointerObj((void *) &wxNullFont
, SWIGTYPE_p_wxFont
, 0);
16511 static int _wrap_NullColour_set(PyObject
*_val
) {
16512 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
16517 static PyObject
*_wrap_NullColour_get() {
16520 pyobj
= SWIG_NewPointerObj((void *) &wxNullColour
, SWIGTYPE_p_wxColour
, 0);
16525 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16526 PyObject
*resultobj
;
16527 wxPenList
*arg1
= (wxPenList
*) 0 ;
16528 wxPen
*arg2
= (wxPen
*) 0 ;
16529 PyObject
* obj0
= 0 ;
16530 PyObject
* obj1
= 0 ;
16531 char *kwnames
[] = {
16532 (char *) "self",(char *) "pen", NULL
16535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
16536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16537 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16540 (arg1
)->AddPen(arg2
);
16542 wxPyEndAllowThreads(__tstate
);
16543 if (PyErr_Occurred()) SWIG_fail
;
16545 Py_INCREF(Py_None
); resultobj
= Py_None
;
16552 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16553 PyObject
*resultobj
;
16554 wxPenList
*arg1
= (wxPenList
*) 0 ;
16555 wxColour
*arg2
= 0 ;
16560 PyObject
* obj0
= 0 ;
16561 PyObject
* obj1
= 0 ;
16562 PyObject
* obj2
= 0 ;
16563 PyObject
* obj3
= 0 ;
16564 char *kwnames
[] = {
16565 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
16568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16572 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16575 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16579 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16580 if (PyErr_Occurred()) SWIG_fail
;
16583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16584 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
16586 wxPyEndAllowThreads(__tstate
);
16587 if (PyErr_Occurred()) SWIG_fail
;
16589 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
16596 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16597 PyObject
*resultobj
;
16598 wxPenList
*arg1
= (wxPenList
*) 0 ;
16599 wxPen
*arg2
= (wxPen
*) 0 ;
16600 PyObject
* obj0
= 0 ;
16601 PyObject
* obj1
= 0 ;
16602 char *kwnames
[] = {
16603 (char *) "self",(char *) "pen", NULL
16606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
16607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16608 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16611 (arg1
)->RemovePen(arg2
);
16613 wxPyEndAllowThreads(__tstate
);
16614 if (PyErr_Occurred()) SWIG_fail
;
16616 Py_INCREF(Py_None
); resultobj
= Py_None
;
16623 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16624 PyObject
*resultobj
;
16625 wxPenList
*arg1
= (wxPenList
*) 0 ;
16627 PyObject
* obj0
= 0 ;
16628 char *kwnames
[] = {
16629 (char *) "self", NULL
16632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
16633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16636 result
= (int)(arg1
)->GetCount();
16638 wxPyEndAllowThreads(__tstate
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16641 resultobj
= SWIG_PyObj_FromInt((int)result
);
16648 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
16650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16651 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
16653 return Py_BuildValue((char *)"");
16655 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16656 PyObject
*resultobj
;
16657 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16658 wxBrush
*arg2
= (wxBrush
*) 0 ;
16659 PyObject
* obj0
= 0 ;
16660 PyObject
* obj1
= 0 ;
16661 char *kwnames
[] = {
16662 (char *) "self",(char *) "brush", NULL
16665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
16666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16667 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16670 (arg1
)->AddBrush(arg2
);
16672 wxPyEndAllowThreads(__tstate
);
16673 if (PyErr_Occurred()) SWIG_fail
;
16675 Py_INCREF(Py_None
); resultobj
= Py_None
;
16682 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16683 PyObject
*resultobj
;
16684 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16685 wxColour
*arg2
= 0 ;
16689 PyObject
* obj0
= 0 ;
16690 PyObject
* obj1
= 0 ;
16691 PyObject
* obj2
= 0 ;
16692 char *kwnames
[] = {
16693 (char *) "self",(char *) "colour",(char *) "style", NULL
16696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16700 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16703 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16708 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
16710 wxPyEndAllowThreads(__tstate
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16713 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
16720 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16721 PyObject
*resultobj
;
16722 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16723 wxBrush
*arg2
= (wxBrush
*) 0 ;
16724 PyObject
* obj0
= 0 ;
16725 PyObject
* obj1
= 0 ;
16726 char *kwnames
[] = {
16727 (char *) "self",(char *) "brush", NULL
16730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
16731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16732 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16735 (arg1
)->RemoveBrush(arg2
);
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16740 Py_INCREF(Py_None
); resultobj
= Py_None
;
16747 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
;
16749 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16751 PyObject
* obj0
= 0 ;
16752 char *kwnames
[] = {
16753 (char *) "self", NULL
16756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
16757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16760 result
= (int)(arg1
)->GetCount();
16762 wxPyEndAllowThreads(__tstate
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16765 resultobj
= SWIG_PyObj_FromInt((int)result
);
16772 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
16774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16775 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
16777 return Py_BuildValue((char *)"");
16779 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16780 PyObject
*resultobj
;
16781 wxColourDatabase
*result
;
16782 char *kwnames
[] = {
16786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
16788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16789 result
= (wxColourDatabase
*)new wxColourDatabase();
16791 wxPyEndAllowThreads(__tstate
);
16792 if (PyErr_Occurred()) SWIG_fail
;
16794 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDatabase
, 1);
16801 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16802 PyObject
*resultobj
;
16803 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16804 PyObject
* obj0
= 0 ;
16805 char *kwnames
[] = {
16806 (char *) "self", NULL
16809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
16810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16815 wxPyEndAllowThreads(__tstate
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16818 Py_INCREF(Py_None
); resultobj
= Py_None
;
16825 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16826 PyObject
*resultobj
;
16827 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16828 wxString
*arg2
= 0 ;
16830 bool temp2
= False
;
16831 PyObject
* obj0
= 0 ;
16832 PyObject
* obj1
= 0 ;
16833 char *kwnames
[] = {
16834 (char *) "self",(char *) "name", NULL
16837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
16838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16840 arg2
= wxString_in_helper(obj1
);
16841 if (arg2
== NULL
) SWIG_fail
;
16845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16846 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
16848 wxPyEndAllowThreads(__tstate
);
16849 if (PyErr_Occurred()) SWIG_fail
;
16852 wxColour
* resultptr
;
16853 resultptr
= new wxColour((wxColour
&) result
);
16854 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16870 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16871 PyObject
*resultobj
;
16872 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16873 wxColour
*arg2
= 0 ;
16876 PyObject
* obj0
= 0 ;
16877 PyObject
* obj1
= 0 ;
16878 char *kwnames
[] = {
16879 (char *) "self",(char *) "colour", NULL
16882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
16883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16886 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16890 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
16892 wxPyEndAllowThreads(__tstate
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16908 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16909 PyObject
*resultobj
;
16910 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16911 wxString
*arg2
= 0 ;
16912 wxColour
*arg3
= 0 ;
16913 bool temp2
= False
;
16915 PyObject
* obj0
= 0 ;
16916 PyObject
* obj1
= 0 ;
16917 PyObject
* obj2
= 0 ;
16918 char *kwnames
[] = {
16919 (char *) "self",(char *) "name",(char *) "colour", NULL
16922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16925 arg2
= wxString_in_helper(obj1
);
16926 if (arg2
== NULL
) SWIG_fail
;
16931 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16935 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
16937 wxPyEndAllowThreads(__tstate
);
16938 if (PyErr_Occurred()) SWIG_fail
;
16940 Py_INCREF(Py_None
); resultobj
= Py_None
;
16955 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16956 PyObject
*resultobj
;
16957 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16958 wxString
*arg2
= 0 ;
16962 bool temp2
= False
;
16963 PyObject
* obj0
= 0 ;
16964 PyObject
* obj1
= 0 ;
16965 PyObject
* obj2
= 0 ;
16966 PyObject
* obj3
= 0 ;
16967 PyObject
* obj4
= 0 ;
16968 char *kwnames
[] = {
16969 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
16972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16975 arg2
= wxString_in_helper(obj1
);
16976 if (arg2
== NULL
) SWIG_fail
;
16980 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16981 if (PyErr_Occurred()) SWIG_fail
;
16984 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16985 if (PyErr_Occurred()) SWIG_fail
;
16988 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16993 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
16995 wxPyEndAllowThreads(__tstate
);
16996 if (PyErr_Occurred()) SWIG_fail
;
16998 Py_INCREF(Py_None
); resultobj
= Py_None
;
17013 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
17015 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17016 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17018 return Py_BuildValue((char *)"");
17020 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17021 PyObject
*resultobj
;
17022 wxFontList
*arg1
= (wxFontList
*) 0 ;
17023 wxFont
*arg2
= (wxFont
*) 0 ;
17024 PyObject
* obj0
= 0 ;
17025 PyObject
* obj1
= 0 ;
17026 char *kwnames
[] = {
17027 (char *) "self",(char *) "font", NULL
17030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17032 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17035 (arg1
)->AddFont(arg2
);
17037 wxPyEndAllowThreads(__tstate
);
17038 if (PyErr_Occurred()) SWIG_fail
;
17040 Py_INCREF(Py_None
); resultobj
= Py_None
;
17047 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17048 PyObject
*resultobj
;
17049 wxFontList
*arg1
= (wxFontList
*) 0 ;
17054 bool arg6
= (bool) False
;
17055 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17056 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17057 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17059 bool temp7
= False
;
17060 PyObject
* obj0
= 0 ;
17061 PyObject
* obj1
= 0 ;
17062 PyObject
* obj2
= 0 ;
17063 PyObject
* obj3
= 0 ;
17064 PyObject
* obj4
= 0 ;
17065 PyObject
* obj5
= 0 ;
17066 PyObject
* obj6
= 0 ;
17067 PyObject
* obj7
= 0 ;
17068 char *kwnames
[] = {
17069 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17075 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17076 if (PyErr_Occurred()) SWIG_fail
;
17079 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17080 if (PyErr_Occurred()) SWIG_fail
;
17083 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17084 if (PyErr_Occurred()) SWIG_fail
;
17087 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17092 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17098 arg7
= wxString_in_helper(obj6
);
17099 if (arg7
== NULL
) SWIG_fail
;
17105 arg8
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj7
);
17106 if (PyErr_Occurred()) SWIG_fail
;
17110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17111 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17113 wxPyEndAllowThreads(__tstate
);
17114 if (PyErr_Occurred()) SWIG_fail
;
17116 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
17131 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17132 PyObject
*resultobj
;
17133 wxFontList
*arg1
= (wxFontList
*) 0 ;
17134 wxFont
*arg2
= (wxFont
*) 0 ;
17135 PyObject
* obj0
= 0 ;
17136 PyObject
* obj1
= 0 ;
17137 char *kwnames
[] = {
17138 (char *) "self",(char *) "font", NULL
17141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17143 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17146 (arg1
)->RemoveFont(arg2
);
17148 wxPyEndAllowThreads(__tstate
);
17149 if (PyErr_Occurred()) SWIG_fail
;
17151 Py_INCREF(Py_None
); resultobj
= Py_None
;
17158 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17159 PyObject
*resultobj
;
17160 wxFontList
*arg1
= (wxFontList
*) 0 ;
17162 PyObject
* obj0
= 0 ;
17163 char *kwnames
[] = {
17164 (char *) "self", NULL
17167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17171 result
= (int)(arg1
)->GetCount();
17173 wxPyEndAllowThreads(__tstate
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17176 resultobj
= SWIG_PyObj_FromInt((int)result
);
17183 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
17185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17186 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17188 return Py_BuildValue((char *)"");
17190 static int _wrap_TheFontList_set(PyObject
*_val
) {
17191 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17196 static PyObject
*_wrap_TheFontList_get() {
17199 pyobj
= SWIG_NewPointerObj((void *) wxTheFontList
, SWIGTYPE_p_wxFontList
, 0);
17204 static int _wrap_ThePenList_set(PyObject
*_val
) {
17205 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17210 static PyObject
*_wrap_ThePenList_get() {
17213 pyobj
= SWIG_NewPointerObj((void *) wxThePenList
, SWIGTYPE_p_wxPenList
, 0);
17218 static int _wrap_TheBrushList_set(PyObject
*_val
) {
17219 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17224 static PyObject
*_wrap_TheBrushList_get() {
17227 pyobj
= SWIG_NewPointerObj((void *) wxTheBrushList
, SWIGTYPE_p_wxBrushList
, 0);
17232 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
17233 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17238 static PyObject
*_wrap_TheColourDatabase_get() {
17241 pyobj
= SWIG_NewPointerObj((void *) wxTheColourDatabase
, SWIGTYPE_p_wxColourDatabase
, 0);
17246 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17247 PyObject
*resultobj
;
17249 char *kwnames
[] = {
17253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17256 result
= (wxEffects
*)new wxEffects();
17258 wxPyEndAllowThreads(__tstate
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17261 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEffects
, 1);
17268 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17269 PyObject
*resultobj
;
17270 wxEffects
*arg1
= (wxEffects
*) 0 ;
17272 PyObject
* obj0
= 0 ;
17273 char *kwnames
[] = {
17274 (char *) "self", NULL
17277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
17278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17281 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
17283 wxPyEndAllowThreads(__tstate
);
17284 if (PyErr_Occurred()) SWIG_fail
;
17287 wxColour
* resultptr
;
17288 resultptr
= new wxColour((wxColour
&) result
);
17289 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17297 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17298 PyObject
*resultobj
;
17299 wxEffects
*arg1
= (wxEffects
*) 0 ;
17301 PyObject
* obj0
= 0 ;
17302 char *kwnames
[] = {
17303 (char *) "self", NULL
17306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17310 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17312 wxPyEndAllowThreads(__tstate
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17316 wxColour
* resultptr
;
17317 resultptr
= new wxColour((wxColour
&) result
);
17318 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17326 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17327 PyObject
*resultobj
;
17328 wxEffects
*arg1
= (wxEffects
*) 0 ;
17330 PyObject
* obj0
= 0 ;
17331 char *kwnames
[] = {
17332 (char *) "self", NULL
17335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
17336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
17341 wxPyEndAllowThreads(__tstate
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17345 wxColour
* resultptr
;
17346 resultptr
= new wxColour((wxColour
&) result
);
17347 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17355 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17356 PyObject
*resultobj
;
17357 wxEffects
*arg1
= (wxEffects
*) 0 ;
17359 PyObject
* obj0
= 0 ;
17360 char *kwnames
[] = {
17361 (char *) "self", NULL
17364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
17365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17374 wxColour
* resultptr
;
17375 resultptr
= new wxColour((wxColour
&) result
);
17376 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17384 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17385 PyObject
*resultobj
;
17386 wxEffects
*arg1
= (wxEffects
*) 0 ;
17388 PyObject
* obj0
= 0 ;
17389 char *kwnames
[] = {
17390 (char *) "self", NULL
17393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
17394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17397 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
17399 wxPyEndAllowThreads(__tstate
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17403 wxColour
* resultptr
;
17404 resultptr
= new wxColour((wxColour
&) result
);
17405 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17413 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17414 PyObject
*resultobj
;
17415 wxEffects
*arg1
= (wxEffects
*) 0 ;
17416 wxColour
*arg2
= 0 ;
17418 PyObject
* obj0
= 0 ;
17419 PyObject
* obj1
= 0 ;
17420 char *kwnames
[] = {
17421 (char *) "self",(char *) "c", NULL
17424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17428 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17432 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
17434 wxPyEndAllowThreads(__tstate
);
17435 if (PyErr_Occurred()) SWIG_fail
;
17437 Py_INCREF(Py_None
); resultobj
= Py_None
;
17444 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17445 PyObject
*resultobj
;
17446 wxEffects
*arg1
= (wxEffects
*) 0 ;
17447 wxColour
*arg2
= 0 ;
17449 PyObject
* obj0
= 0 ;
17450 PyObject
* obj1
= 0 ;
17451 char *kwnames
[] = {
17452 (char *) "self",(char *) "c", NULL
17455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17459 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17463 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
17465 wxPyEndAllowThreads(__tstate
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17468 Py_INCREF(Py_None
); resultobj
= Py_None
;
17475 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17476 PyObject
*resultobj
;
17477 wxEffects
*arg1
= (wxEffects
*) 0 ;
17478 wxColour
*arg2
= 0 ;
17480 PyObject
* obj0
= 0 ;
17481 PyObject
* obj1
= 0 ;
17482 char *kwnames
[] = {
17483 (char *) "self",(char *) "c", NULL
17486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17490 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17494 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
17496 wxPyEndAllowThreads(__tstate
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17499 Py_INCREF(Py_None
); resultobj
= Py_None
;
17506 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17507 PyObject
*resultobj
;
17508 wxEffects
*arg1
= (wxEffects
*) 0 ;
17509 wxColour
*arg2
= 0 ;
17511 PyObject
* obj0
= 0 ;
17512 PyObject
* obj1
= 0 ;
17513 char *kwnames
[] = {
17514 (char *) "self",(char *) "c", NULL
17517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17521 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
17527 wxPyEndAllowThreads(__tstate
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17530 Py_INCREF(Py_None
); resultobj
= Py_None
;
17537 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17538 PyObject
*resultobj
;
17539 wxEffects
*arg1
= (wxEffects
*) 0 ;
17540 wxColour
*arg2
= 0 ;
17542 PyObject
* obj0
= 0 ;
17543 PyObject
* obj1
= 0 ;
17544 char *kwnames
[] = {
17545 (char *) "self",(char *) "c", NULL
17548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17552 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
17558 wxPyEndAllowThreads(__tstate
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17561 Py_INCREF(Py_None
); resultobj
= Py_None
;
17568 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17569 PyObject
*resultobj
;
17570 wxEffects
*arg1
= (wxEffects
*) 0 ;
17571 wxColour
*arg2
= 0 ;
17572 wxColour
*arg3
= 0 ;
17573 wxColour
*arg4
= 0 ;
17574 wxColour
*arg5
= 0 ;
17575 wxColour
*arg6
= 0 ;
17581 PyObject
* obj0
= 0 ;
17582 PyObject
* obj1
= 0 ;
17583 PyObject
* obj2
= 0 ;
17584 PyObject
* obj3
= 0 ;
17585 PyObject
* obj4
= 0 ;
17586 PyObject
* obj5
= 0 ;
17587 char *kwnames
[] = {
17588 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
17591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17595 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17599 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17603 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17607 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
17611 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
17614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17615 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
17617 wxPyEndAllowThreads(__tstate
);
17618 if (PyErr_Occurred()) SWIG_fail
;
17620 Py_INCREF(Py_None
); resultobj
= Py_None
;
17627 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17628 PyObject
*resultobj
;
17629 wxEffects
*arg1
= (wxEffects
*) 0 ;
17632 int arg4
= (int) 1 ;
17634 PyObject
* obj0
= 0 ;
17635 PyObject
* obj1
= 0 ;
17636 PyObject
* obj2
= 0 ;
17637 PyObject
* obj3
= 0 ;
17638 char *kwnames
[] = {
17639 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
17642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17644 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17645 if (arg2
== NULL
) {
17646 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17650 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17654 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17655 if (PyErr_Occurred()) SWIG_fail
;
17659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17660 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
17662 wxPyEndAllowThreads(__tstate
);
17663 if (PyErr_Occurred()) SWIG_fail
;
17665 Py_INCREF(Py_None
); resultobj
= Py_None
;
17672 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17673 PyObject
*resultobj
;
17674 wxEffects
*arg1
= (wxEffects
*) 0 ;
17677 wxBitmap
*arg4
= 0 ;
17680 PyObject
* obj0
= 0 ;
17681 PyObject
* obj1
= 0 ;
17682 PyObject
* obj2
= 0 ;
17683 PyObject
* obj3
= 0 ;
17684 char *kwnames
[] = {
17685 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
17688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17692 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17694 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17695 if (arg3
== NULL
) {
17696 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17698 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17699 if (arg4
== NULL
) {
17700 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17704 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
17706 wxPyEndAllowThreads(__tstate
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17716 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
17718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17719 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
17721 return Py_BuildValue((char *)"");
17723 static PyMethodDef SwigMethods
[] = {
17724 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
17725 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
17726 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
17727 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
17728 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
17729 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
17730 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
17731 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
17732 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
17733 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
17734 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
17735 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
17736 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
17737 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17738 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
17739 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
17740 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
17741 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
17742 { (char *)"Colour_InitFromName", (PyCFunction
) _wrap_Colour_InitFromName
, METH_VARARGS
| METH_KEYWORDS
},
17743 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
17744 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
17745 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
17746 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
17747 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
17748 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
17749 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17750 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
17751 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
17752 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
17753 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
17754 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
17755 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
17756 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17757 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17758 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17759 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
17760 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
17761 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
17762 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17763 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17764 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
17765 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
17766 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
17767 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
},
17768 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
17769 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
17770 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
17771 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
17772 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
},
17773 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
17774 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
17775 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
17776 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17777 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
17778 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
17779 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17780 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
17781 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17782 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
17783 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
17784 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
17785 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17786 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
17787 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
17788 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
17789 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
17790 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17791 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17792 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17793 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17794 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
17795 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
17796 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
17797 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
17798 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17799 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
17800 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
17801 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
17802 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17803 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17804 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17805 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
17806 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
17807 { (char *)"new_MaskColour", (PyCFunction
) _wrap_new_MaskColour
, METH_VARARGS
| METH_KEYWORDS
},
17808 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
17809 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
17810 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
17811 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
17812 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
17813 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17814 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
17815 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
17816 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17817 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17818 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17819 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17820 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17821 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17822 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17823 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17824 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
17825 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
17826 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
17827 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
17828 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
17829 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
17830 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
17831 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
17832 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
17833 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
17834 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
17835 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
17836 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
17837 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
17838 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
17839 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
17840 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
17841 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
17842 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
17843 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
17844 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
17845 { (char *)"new_CursorFromBits", (PyCFunction
) _wrap_new_CursorFromBits
, METH_VARARGS
| METH_KEYWORDS
},
17846 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17847 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
17848 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
17849 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17850 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
17851 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
17852 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
17853 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
17854 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
17855 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
17856 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
17857 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
17858 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
17859 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
17860 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
17861 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
17862 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
17863 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
17864 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
17865 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
17866 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
17867 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
17868 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
17869 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
17870 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
17871 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
17872 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17873 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17874 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
17875 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
17876 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
17877 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
17878 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
17879 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
17880 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17881 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
17882 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17883 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
17884 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
17885 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
17886 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
17887 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
17888 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
17889 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
17890 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
17891 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
17892 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
17893 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
17894 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17895 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
17896 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
17897 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
17898 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
17899 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17900 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
17901 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17902 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
17903 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
17904 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
17905 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
17906 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17907 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
17908 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
17909 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
17910 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
17911 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
17912 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
17913 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
17914 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
17915 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
17916 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
17917 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
17918 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
17919 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
17920 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
17921 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
17922 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17923 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17924 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
17925 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
17926 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
17927 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
17928 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17929 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
17930 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17931 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
17932 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
17933 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
17934 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
17935 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
17936 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17937 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
17938 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
17939 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
17940 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
17941 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
17942 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
17943 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
17944 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
17945 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
17946 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17947 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
17948 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
17949 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
17950 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
17951 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17952 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
17953 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
17954 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
17955 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17956 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
17957 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
17958 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
17959 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
17960 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
17961 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
17962 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17963 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
17964 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
17965 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
17966 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17967 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
17968 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
17969 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
17970 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
17971 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
17972 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
17973 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
17974 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
17975 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17976 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17977 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
17978 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
17979 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
17980 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
17981 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
17982 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
17983 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
17984 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
17985 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
17986 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
17987 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
17988 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
17989 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
17990 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
17991 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
17992 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
17993 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
17994 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
17995 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
17996 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
17997 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
17998 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17999 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18000 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18001 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18002 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18003 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
18004 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
18005 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
18006 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
18007 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
18008 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18009 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
18010 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18011 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18012 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
18013 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
18014 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
18015 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18016 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
18017 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18018 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18019 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
18020 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
18021 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18022 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18023 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
18024 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
18025 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
18026 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18027 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18028 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
},
18029 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
18030 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
},
18031 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18032 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
},
18033 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
18034 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
},
18035 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
18036 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
},
18037 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
18038 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
},
18039 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
18040 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
},
18041 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
18042 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
},
18043 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
18044 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
18045 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18046 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18047 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
18048 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18049 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18050 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
},
18051 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
18052 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
},
18053 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
18054 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
18055 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
},
18056 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
18057 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
},
18058 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18059 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
},
18060 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
18061 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
},
18062 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
18063 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
},
18064 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
18065 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
18066 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
18067 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
18068 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
18069 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
18070 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18071 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
18072 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
18073 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
18074 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
18075 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
18076 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
18077 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18078 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18079 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18080 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18081 { (char *)"DC_SetClippingRegionXY", (PyCFunction
) _wrap_DC_SetClippingRegionXY
, METH_VARARGS
| METH_KEYWORDS
},
18082 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18083 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18084 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
18085 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18086 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
18087 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18088 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
18089 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
18090 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18091 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18092 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18093 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
18094 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18095 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
18096 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
18097 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
18098 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
18099 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
18100 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
18101 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
18102 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
18103 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
18104 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
18105 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
18106 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18107 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18108 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18109 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
18110 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18111 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18112 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18113 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18114 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
18115 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
18116 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18117 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18118 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18119 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18120 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18121 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18122 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18123 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18124 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18125 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18126 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18127 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18128 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18129 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18130 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18131 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18132 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
18133 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18134 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18135 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18136 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18137 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18138 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18139 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
18140 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
18141 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
18142 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
18143 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18144 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
18145 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
18146 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
18147 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
18148 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
18149 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
18150 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
18151 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
18152 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
18153 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
18154 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
18155 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
18156 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
18157 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
18158 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
18159 { (char *)"new_BufferedPaintDC", _wrap_new_BufferedPaintDC
, METH_VARARGS
},
18160 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
18161 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
18162 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
18163 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18164 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18165 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
18166 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
18167 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
18168 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18169 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
18170 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
18171 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
18172 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
18173 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
18174 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
18175 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18176 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18177 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18178 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18179 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
18180 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18181 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
18182 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
18183 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
18184 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
18185 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
18186 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18187 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18188 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
18189 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
18190 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18191 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
18192 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
18193 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
18194 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
18195 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
18196 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18197 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
18198 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
18199 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
18200 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
18201 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18202 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
18203 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
18204 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
18205 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
18206 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18207 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
18208 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18209 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18210 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
18211 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
18212 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
18213 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
18214 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
18215 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
18216 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
18217 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
18218 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18219 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
18220 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
18221 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18222 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18223 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18224 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18225 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18226 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18227 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18228 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18229 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18230 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18231 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
18232 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
18233 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18234 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
18239 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18241 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18242 return (void *)((wxWindow
*) ((wxControl
*) x
));
18244 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18245 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18247 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18248 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18250 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
18251 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
18253 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
18254 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18256 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18257 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18259 static void *_p_wxPenTo_p_wxObject(void *x
) {
18260 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
18262 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
18263 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
18265 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18266 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18268 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18269 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18271 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
18272 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
18274 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18275 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18277 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18278 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18280 static void *_p_wxIconTo_p_wxObject(void *x
) {
18281 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
18283 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18284 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18286 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18287 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18289 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18290 return (void *)((wxObject
*) ((wxSizer
*) x
));
18292 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18293 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18295 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18296 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18298 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18299 return (void *)((wxObject
*) ((wxPenList
*) x
));
18301 static void *_p_wxEventTo_p_wxObject(void *x
) {
18302 return (void *)((wxObject
*) ((wxEvent
*) x
));
18304 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18305 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18307 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18308 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18310 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18311 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18313 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18314 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18316 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18317 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18319 static void *_p_wxDCTo_p_wxObject(void *x
) {
18320 return (void *)((wxObject
*) ((wxDC
*) x
));
18322 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18323 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18325 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18326 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18328 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18329 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18331 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18332 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18334 static void *_p_wxControlTo_p_wxObject(void *x
) {
18335 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18337 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18338 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18340 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
18341 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
18343 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18344 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18346 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
18347 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
18349 static void *_p_wxRegionTo_p_wxObject(void *x
) {
18350 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
18352 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18353 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18355 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
18356 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
18358 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
18359 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
18361 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
18362 return (void *)((wxObject
*) ((wxEffects
*) x
));
18364 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18365 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18367 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18368 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18370 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
18371 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
18373 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18374 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18376 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18377 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18379 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18380 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18382 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18383 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18385 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18386 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18388 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18389 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18391 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18392 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18394 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18395 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18397 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18398 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18400 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18401 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18403 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18404 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18406 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18407 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18409 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18410 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18412 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18413 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18415 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18416 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18418 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18419 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18421 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18422 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18424 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18425 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18427 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18428 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18430 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18431 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18433 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18434 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18436 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18437 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18439 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18440 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18442 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
18443 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18445 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
18446 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
18448 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
18449 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
18451 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
18452 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
18454 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18455 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18457 static void *_p_wxImageTo_p_wxObject(void *x
) {
18458 return (void *)((wxObject
*) ((wxImage
*) x
));
18460 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18461 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18463 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
18464 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
18466 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
18467 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
18469 static void *_p_wxImageListTo_p_wxObject(void *x
) {
18470 return (void *)((wxObject
*) ((wxImageList
*) x
));
18472 static void *_p_wxCursorTo_p_wxObject(void *x
) {
18473 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
18475 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
18476 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
18478 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
18479 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
18481 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
18482 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18484 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
18485 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18487 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
18488 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
18490 static void *_p_wxWindowTo_p_wxObject(void *x
) {
18491 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
18493 static void *_p_wxMenuTo_p_wxObject(void *x
) {
18494 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
18496 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
18497 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
18499 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
18500 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
18502 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
18503 return (void *)((wxObject
*) ((wxBrushList
*) x
));
18505 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
18506 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
18508 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
18509 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
18511 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
18512 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
18514 static void *_p_wxMaskTo_p_wxObject(void *x
) {
18515 return (void *)((wxObject
*) ((wxMask
*) x
));
18517 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
18518 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18520 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
18521 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
18523 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
18524 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
18526 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
18527 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
18529 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
18530 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
18532 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
18533 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
18535 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
18536 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18538 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
18539 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
18541 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
18542 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
18544 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
18545 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
18547 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
18548 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18550 static void *_p_wxFontTo_p_wxObject(void *x
) {
18551 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
18553 static void *_p_wxBrushTo_p_wxObject(void *x
) {
18554 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
18556 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
18557 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
18559 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
18560 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18562 static void *_p_wxColourTo_p_wxObject(void *x
) {
18563 return (void *)((wxObject
*) ((wxColour
*) x
));
18565 static void *_p_wxFontListTo_p_wxObject(void *x
) {
18566 return (void *)((wxObject
*) ((wxFontList
*) x
));
18568 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
18569 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
18571 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
18572 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
18574 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
18575 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18577 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
18578 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
18580 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
18581 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
18583 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
18584 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
18586 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
18587 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
18589 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
18590 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
18592 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
18593 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
18595 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
18596 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18598 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
18599 return (void *)((wxDC
*) ((wxClientDC
*) x
));
18601 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
18602 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
18604 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
18605 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
18607 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
18608 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
18610 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
18611 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
18613 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
18614 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
18616 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
18617 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
18619 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
18620 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
18622 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
18623 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
18625 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
18626 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
18628 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
18629 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
18631 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
18632 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
18634 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
18635 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
18637 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
18638 return (void *)((wxPen
*) ((wxPyPen
*) x
));
18640 static swig_type_info _swigt__p_wxPostScriptDC
[] = {{"_p_wxPostScriptDC", 0, "wxPostScriptDC *", 0},{"_p_wxPostScriptDC"},{0}};
18641 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
18642 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
18643 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}};
18644 static swig_type_info _swigt__p_wxMirrorDC
[] = {{"_p_wxMirrorDC", 0, "wxMirrorDC *", 0},{"_p_wxMirrorDC"},{0}};
18645 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
18646 static swig_type_info _swigt__p_wxPyFontEnumerator
[] = {{"_p_wxPyFontEnumerator", 0, "wxPyFontEnumerator *", 0},{"_p_wxPyFontEnumerator"},{0}};
18647 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
18648 static swig_type_info _swigt__p_wxIconLocation
[] = {{"_p_wxIconLocation", 0, "wxIconLocation *", 0},{"_p_wxIconLocation"},{0}};
18649 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
18650 static swig_type_info _swigt__p_wxMetaFileDC
[] = {{"_p_wxMetaFileDC", 0, "wxMetaFileDC *", 0},{"_p_wxMetaFileDC"},{0}};
18651 static swig_type_info _swigt__p_wxMask
[] = {{"_p_wxMask", 0, "wxMask *", 0},{"_p_wxMask"},{0}};
18652 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
18653 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}};
18654 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
18655 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
18656 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}};
18657 static swig_type_info _swigt__p_wxFontMapper
[] = {{"_p_wxFontMapper", 0, "wxFontMapper *", 0},{"_p_wxFontMapper"},{0}};
18658 static swig_type_info _swigt__p_wxEffects
[] = {{"_p_wxEffects", 0, "wxEffects *", 0},{"_p_wxEffects"},{0}};
18659 static swig_type_info _swigt__p_wxNativeEncodingInfo
[] = {{"_p_wxNativeEncodingInfo", 0, "wxNativeEncodingInfo *", 0},{"_p_wxNativeEncodingInfo"},{0}};
18660 static swig_type_info _swigt__p_wxPalette
[] = {{"_p_wxPalette", 0, "wxPalette *", 0},{"_p_wxPalette"},{0}};
18661 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
18662 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}};
18663 static swig_type_info _swigt__p_wxRegionIterator
[] = {{"_p_wxRegionIterator", 0, "wxRegionIterator *", 0},{"_p_wxRegionIterator"},{0}};
18664 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
18665 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
18666 static swig_type_info _swigt__p_wxPrinterDC
[] = {{"_p_wxPrinterDC", 0, "wxPrinterDC *", 0},{"_p_wxPrinterDC"},{0}};
18667 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
18668 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
18669 static swig_type_info _swigt__p_wxDash
[] = {{"_p_wxDash", 0, "wxDash *", 0},{"_p_wxDash"},{0}};
18670 static swig_type_info _swigt__p_wxScreenDC
[] = {{"_p_wxScreenDC", 0, "wxScreenDC *", 0},{"_p_wxScreenDC"},{0}};
18671 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
18672 static swig_type_info _swigt__p_wxClientDC
[] = {{"_p_wxClientDC", 0, "wxClientDC *", 0},{"_p_wxClientDC"},{0}};
18673 static swig_type_info _swigt__p_wxBufferedDC
[] = {{"_p_wxBufferedDC", 0, "wxBufferedDC *", 0},{"_p_wxBufferedDC"},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxBufferedDC
},{0}};
18674 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
18675 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
18676 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}};
18677 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
18678 static swig_type_info _swigt__p_wxLocale
[] = {{"_p_wxLocale", 0, "wxLocale *", 0},{"_p_wxLocale"},{0}};
18679 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
18680 static swig_type_info _swigt__p_wxLanguageInfo
[] = {{"_p_wxLanguageInfo", 0, "wxLanguageInfo *", 0},{"_p_wxLanguageInfo"},{0}};
18681 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxConfigBase"},{0}};
18682 static swig_type_info _swigt__p_wxWindowDC
[] = {{"_p_wxWindowDC", 0, "wxWindowDC *", 0},{"_p_wxWindowDC"},{0}};
18683 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
18684 static swig_type_info _swigt__p_wxBrushList
[] = {{"_p_wxBrushList", 0, "wxBrushList *", 0},{"_p_wxBrushList"},{0}};
18685 static swig_type_info _swigt__p_wxFontList
[] = {{"_p_wxFontList", 0, "wxFontList *", 0},{"_p_wxFontList"},{0}};
18686 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPyPen", _p_wxPyPenTo_p_wxPen
},{"_p_wxPen"},{0}};
18687 static swig_type_info _swigt__p_wxBufferedPaintDC
[] = {{"_p_wxBufferedPaintDC", 0, "wxBufferedPaintDC *", 0},{"_p_wxBufferedPaintDC"},{0}};
18688 static swig_type_info _swigt__p_wxPaintDC
[] = {{"_p_wxPaintDC", 0, "wxPaintDC *", 0},{"_p_wxPaintDC"},{0}};
18689 static swig_type_info _swigt__p_wxPenList
[] = {{"_p_wxPenList", 0, "wxPenList *", 0},{"_p_wxPenList"},{0}};
18690 static swig_type_info _swigt__p_wxPyPen
[] = {{"_p_wxPyPen", 0, "wxPyPen *", 0},{"_p_wxPyPen"},{0}};
18691 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
18692 static swig_type_info _swigt__p_wxMetaFile
[] = {{"_p_wxMetaFile", 0, "wxMetaFile *", 0},{"_p_wxMetaFile"},{0}};
18693 static swig_type_info _swigt__p_wxNativeFontInfo
[] = {{"_p_wxNativeFontInfo", 0, "wxNativeFontInfo *", 0},{"_p_wxNativeFontInfo"},{0}};
18694 static swig_type_info _swigt__p_wxEncodingConverter
[] = {{"_p_wxEncodingConverter", 0, "wxEncodingConverter *", 0},{"_p_wxEncodingConverter"},{0}};
18695 static swig_type_info _swigt__p_wxColourDatabase
[] = {{"_p_wxColourDatabase", 0, "wxColourDatabase *", 0},{"_p_wxColourDatabase"},{0}};
18697 static swig_type_info
*swig_types_initial
[] = {
18698 _swigt__p_wxPostScriptDC
,
18700 _swigt__p_wxColour
,
18702 _swigt__p_wxMirrorDC
,
18704 _swigt__p_wxPyFontEnumerator
,
18706 _swigt__p_wxIconLocation
,
18708 _swigt__p_wxMetaFileDC
,
18711 _swigt__p_wxWindow
,
18714 _swigt__p_wxMemoryDC
,
18715 _swigt__p_wxFontMapper
,
18716 _swigt__p_wxEffects
,
18717 _swigt__p_wxNativeEncodingInfo
,
18718 _swigt__p_wxPalette
,
18719 _swigt__p_wxBitmap
,
18720 _swigt__p_wxObject
,
18721 _swigt__p_wxRegionIterator
,
18723 _swigt__p_wxString
,
18724 _swigt__p_wxPrinterDC
,
18725 _swigt__p_wxIconBundle
,
18728 _swigt__p_wxScreenDC
,
18729 _swigt__p_wxCursor
,
18730 _swigt__p_wxClientDC
,
18731 _swigt__p_wxBufferedDC
,
18732 _swigt__p_wxImageList
,
18733 _swigt__p_unsigned_char
,
18734 _swigt__p_wxGDIObject
,
18736 _swigt__p_wxLocale
,
18737 _swigt__p_wxRegion
,
18738 _swigt__p_wxLanguageInfo
,
18739 _swigt__p_wxConfigBase
,
18740 _swigt__p_wxWindowDC
,
18741 _swigt__p_wxPrintData
,
18742 _swigt__p_wxBrushList
,
18743 _swigt__p_wxFontList
,
18745 _swigt__p_wxBufferedPaintDC
,
18746 _swigt__p_wxPaintDC
,
18747 _swigt__p_wxPenList
,
18750 _swigt__p_wxMetaFile
,
18751 _swigt__p_wxNativeFontInfo
,
18752 _swigt__p_wxEncodingConverter
,
18753 _swigt__p_wxColourDatabase
,
18758 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
18760 static swig_const_info swig_const_table
[] = {
18770 SWIGEXPORT(void) SWIG_init(void) {
18771 static PyObject
*SWIG_globals
= 0;
18772 static int typeinit
= 0;
18775 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
18776 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
18777 d
= PyModule_GetDict(m
);
18780 for (i
= 0; swig_types_initial
[i
]; i
++) {
18781 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
18785 SWIG_InstallConstants(d
,swig_const_table
);
18787 PyDict_SetItemString(d
,"OutRegion", SWIG_PyObj_FromInt((int)wxOutRegion
));
18788 PyDict_SetItemString(d
,"PartRegion", SWIG_PyObj_FromInt((int)wxPartRegion
));
18789 PyDict_SetItemString(d
,"InRegion", SWIG_PyObj_FromInt((int)wxInRegion
));
18790 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_PyObj_FromInt((int)wxFONTFAMILY_DEFAULT
));
18791 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_PyObj_FromInt((int)wxFONTFAMILY_DECORATIVE
));
18792 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_PyObj_FromInt((int)wxFONTFAMILY_ROMAN
));
18793 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_PyObj_FromInt((int)wxFONTFAMILY_SCRIPT
));
18794 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_PyObj_FromInt((int)wxFONTFAMILY_SWISS
));
18795 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_PyObj_FromInt((int)wxFONTFAMILY_MODERN
));
18796 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_PyObj_FromInt((int)wxFONTFAMILY_TELETYPE
));
18797 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_PyObj_FromInt((int)wxFONTFAMILY_MAX
));
18798 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_PyObj_FromInt((int)wxFONTFAMILY_UNKNOWN
));
18799 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_PyObj_FromInt((int)wxFONTSTYLE_NORMAL
));
18800 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_PyObj_FromInt((int)wxFONTSTYLE_ITALIC
));
18801 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_PyObj_FromInt((int)wxFONTSTYLE_SLANT
));
18802 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_PyObj_FromInt((int)wxFONTSTYLE_MAX
));
18803 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_NORMAL
));
18804 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_LIGHT
));
18805 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_BOLD
));
18806 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_MAX
));
18807 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_PyObj_FromInt((int)wxFONTFLAG_DEFAULT
));
18808 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_PyObj_FromInt((int)wxFONTFLAG_ITALIC
));
18809 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_PyObj_FromInt((int)wxFONTFLAG_SLANT
));
18810 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_PyObj_FromInt((int)wxFONTFLAG_LIGHT
));
18811 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_PyObj_FromInt((int)wxFONTFLAG_BOLD
));
18812 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_PyObj_FromInt((int)wxFONTFLAG_ANTIALIASED
));
18813 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_PyObj_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
18814 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_PyObj_FromInt((int)wxFONTFLAG_UNDERLINED
));
18815 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_PyObj_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
18816 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_PyObj_FromInt((int)wxFONTFLAG_MASK
));
18817 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_PyObj_FromInt((int)wxFONTENCODING_SYSTEM
));
18818 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_PyObj_FromInt((int)wxFONTENCODING_DEFAULT
));
18819 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_1
));
18820 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_2
));
18821 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_3
));
18822 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_4
));
18823 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_5
));
18824 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_6
));
18825 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_7
));
18826 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_8
));
18827 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_9
));
18828 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_10
));
18829 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_11
));
18830 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_12
));
18831 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_13
));
18832 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_14
));
18833 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_15
));
18834 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
18835 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_PyObj_FromInt((int)wxFONTENCODING_KOI8
));
18836 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_PyObj_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
18837 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_BULGARIAN
));
18838 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP437
));
18839 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP850
));
18840 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP852
));
18841 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP855
));
18842 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP866
));
18843 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP874
));
18844 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP932
));
18845 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP936
));
18846 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP949
));
18847 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP950
));
18848 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1250
));
18849 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1251
));
18850 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1252
));
18851 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1253
));
18852 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1254
));
18853 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1255
));
18854 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1256
));
18855 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1257
));
18856 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP12_MAX
));
18857 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF7
));
18858 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF8
));
18859 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_PyObj_FromInt((int)wxFONTENCODING_EUC_JP
));
18860 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF16BE
));
18861 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF16LE
));
18862 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF32BE
));
18863 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF32LE
));
18864 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACROMAN
));
18865 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACJAPANESE
));
18866 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
18867 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKOREAN
));
18868 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACARABIC
));
18869 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACHEBREW
));
18870 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGREEK
));
18871 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
18872 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
18873 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
18874 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGUJARATI
));
18875 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACORIYA
));
18876 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACBENGALI
));
18877 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTAMIL
));
18878 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTELUGU
));
18879 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKANNADA
));
18880 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
18881 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACSINHALESE
));
18882 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACBURMESE
));
18883 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKHMER
));
18884 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTHAI
));
18885 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
18886 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
18887 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACARMENIAN
));
18888 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
18889 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTIBETAN
));
18890 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
18891 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
18892 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
18893 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
18894 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACARABICEXT
));
18895 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACSYMBOL
));
18896 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACDINGBATS
));
18897 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTURKISH
));
18898 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCROATIAN
));
18899 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACICELANDIC
));
18900 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACROMANIAN
));
18901 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCELTIC
));
18902 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGAELIC
));
18903 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
18904 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMIN
));
18905 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMAX
));
18906 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_MAX
));
18907 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF16
));
18908 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF32
));
18909 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UNICODE
));
18910 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_PyObj_FromInt((int)wxFONTENCODING_GB2312
));
18911 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_PyObj_FromInt((int)wxFONTENCODING_BIG5
));
18912 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_PyObj_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
18914 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
18916 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_PyObj_FromInt((int)wxLANGUAGE_DEFAULT
));
18917 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_PyObj_FromInt((int)wxLANGUAGE_UNKNOWN
));
18918 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
18919 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_PyObj_FromInt((int)wxLANGUAGE_AFAR
));
18920 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_PyObj_FromInt((int)wxLANGUAGE_AFRIKAANS
));
18921 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ALBANIAN
));
18922 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_AMHARIC
));
18923 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC
));
18924 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
18925 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
18926 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
18927 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
18928 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
18929 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
18930 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
18931 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
18932 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
18933 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
18934 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
18935 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
18936 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
18937 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
18938 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
18939 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
18940 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
18941 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARMENIAN
));
18942 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ASSAMESE
));
18943 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_PyObj_FromInt((int)wxLANGUAGE_AYMARA
));
18944 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_PyObj_FromInt((int)wxLANGUAGE_AZERI
));
18945 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
18946 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
18947 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_PyObj_FromInt((int)wxLANGUAGE_BASHKIR
));
18948 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_PyObj_FromInt((int)wxLANGUAGE_BASQUE
));
18949 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_BELARUSIAN
));
18950 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_PyObj_FromInt((int)wxLANGUAGE_BENGALI
));
18951 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_PyObj_FromInt((int)wxLANGUAGE_BHUTANI
));
18952 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_PyObj_FromInt((int)wxLANGUAGE_BIHARI
));
18953 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_PyObj_FromInt((int)wxLANGUAGE_BISLAMA
));
18954 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_PyObj_FromInt((int)wxLANGUAGE_BRETON
));
18955 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_BULGARIAN
));
18956 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_BURMESE
));
18957 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CAMBODIAN
));
18958 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CATALAN
));
18959 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE
));
18960 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
18961 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
18962 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
18963 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
18964 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
18965 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
18966 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CORSICAN
));
18967 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CROATIAN
));
18968 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_PyObj_FromInt((int)wxLANGUAGE_CZECH
));
18969 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_DANISH
));
18970 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_PyObj_FromInt((int)wxLANGUAGE_DUTCH
));
18971 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
18972 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH
));
18973 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
18974 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_US
));
18975 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
18976 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
18977 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
18978 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
18979 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
18980 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
18981 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
18982 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
18983 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
18984 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
18985 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
18986 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
18987 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
18988 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_PyObj_FromInt((int)wxLANGUAGE_ESPERANTO
));
18989 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ESTONIAN
));
18990 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_FAEROESE
));
18991 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_PyObj_FromInt((int)wxLANGUAGE_FARSI
));
18992 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_PyObj_FromInt((int)wxLANGUAGE_FIJI
));
18993 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_FINNISH
));
18994 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH
));
18995 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
18996 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
18997 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
18998 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
18999 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
19000 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRISIAN
));
19001 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GALICIAN
));
19002 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GEORGIAN
));
19003 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN
));
19004 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19005 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
19006 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19007 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19008 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
19009 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_PyObj_FromInt((int)wxLANGUAGE_GREEK
));
19010 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_GREENLANDIC
));
19011 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_PyObj_FromInt((int)wxLANGUAGE_GUARANI
));
19012 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_PyObj_FromInt((int)wxLANGUAGE_GUJARATI
));
19013 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_PyObj_FromInt((int)wxLANGUAGE_HAUSA
));
19014 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_PyObj_FromInt((int)wxLANGUAGE_HEBREW
));
19015 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_PyObj_FromInt((int)wxLANGUAGE_HINDI
));
19016 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_HUNGARIAN
));
19017 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_ICELANDIC
));
19018 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_INDONESIAN
));
19019 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_PyObj_FromInt((int)wxLANGUAGE_INTERLINGUA
));
19020 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_PyObj_FromInt((int)wxLANGUAGE_INTERLINGUE
));
19021 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_PyObj_FromInt((int)wxLANGUAGE_INUKTITUT
));
19022 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_PyObj_FromInt((int)wxLANGUAGE_INUPIAK
));
19023 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_IRISH
));
19024 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ITALIAN
));
19025 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_PyObj_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
19026 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_JAPANESE
));
19027 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_JAVANESE
));
19028 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_PyObj_FromInt((int)wxLANGUAGE_KANNADA
));
19029 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_PyObj_FromInt((int)wxLANGUAGE_KASHMIRI
));
19030 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
19031 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_PyObj_FromInt((int)wxLANGUAGE_KAZAKH
));
19032 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_PyObj_FromInt((int)wxLANGUAGE_KERNEWEK
));
19033 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_PyObj_FromInt((int)wxLANGUAGE_KINYARWANDA
));
19034 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_PyObj_FromInt((int)wxLANGUAGE_KIRGHIZ
));
19035 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_PyObj_FromInt((int)wxLANGUAGE_KIRUNDI
));
19036 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_PyObj_FromInt((int)wxLANGUAGE_KONKANI
));
19037 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_KOREAN
));
19038 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_KURDISH
));
19039 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LAOTHIAN
));
19040 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LATIN
));
19041 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LATVIAN
));
19042 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_PyObj_FromInt((int)wxLANGUAGE_LINGALA
));
19043 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LITHUANIAN
));
19044 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_MACEDONIAN
));
19045 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAGASY
));
19046 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAY
));
19047 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAYALAM
));
19048 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19049 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
19050 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALTESE
));
19051 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_PyObj_FromInt((int)wxLANGUAGE_MANIPURI
));
19052 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_PyObj_FromInt((int)wxLANGUAGE_MAORI
));
19053 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_PyObj_FromInt((int)wxLANGUAGE_MARATHI
));
19054 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
19055 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_MONGOLIAN
));
19056 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_PyObj_FromInt((int)wxLANGUAGE_NAURU
));
19057 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_PyObj_FromInt((int)wxLANGUAGE_NEPALI
));
19058 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
19059 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_PyObj_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19060 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_PyObj_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19061 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_OCCITAN
));
19062 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ORIYA
));
19063 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_PyObj_FromInt((int)wxLANGUAGE_OROMO
));
19064 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_PyObj_FromInt((int)wxLANGUAGE_PASHTO
));
19065 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_POLISH
));
19066 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_PORTUGUESE
));
19067 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19068 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_PyObj_FromInt((int)wxLANGUAGE_PUNJABI
));
19069 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_PyObj_FromInt((int)wxLANGUAGE_QUECHUA
));
19070 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_PyObj_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
19071 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ROMANIAN
));
19072 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_RUSSIAN
));
19073 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_PyObj_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19074 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SAMOAN
));
19075 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_PyObj_FromInt((int)wxLANGUAGE_SANGHO
));
19076 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_PyObj_FromInt((int)wxLANGUAGE_SANSKRIT
));
19077 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
19078 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBIAN
));
19079 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19080 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
19081 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
19082 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_PyObj_FromInt((int)wxLANGUAGE_SESOTHO
));
19083 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SETSWANA
));
19084 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SHONA
));
19085 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SINDHI
));
19086 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_SINHALESE
));
19087 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SISWATI
));
19088 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_PyObj_FromInt((int)wxLANGUAGE_SLOVAK
));
19089 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SLOVENIAN
));
19090 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SOMALI
));
19091 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH
));
19092 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19093 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19094 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
19095 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19096 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19097 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19098 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
19099 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19100 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19101 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
19102 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
19103 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
19104 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19105 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
19106 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19107 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
19108 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19109 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
19110 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_US
));
19111 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19112 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_SUNDANESE
));
19113 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SWAHILI
));
19114 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_SWEDISH
));
19115 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_PyObj_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
19116 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_PyObj_FromInt((int)wxLANGUAGE_TAGALOG
));
19117 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_PyObj_FromInt((int)wxLANGUAGE_TAJIK
));
19118 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_PyObj_FromInt((int)wxLANGUAGE_TAMIL
));
19119 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_PyObj_FromInt((int)wxLANGUAGE_TATAR
));
19120 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_PyObj_FromInt((int)wxLANGUAGE_TELUGU
));
19121 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_PyObj_FromInt((int)wxLANGUAGE_THAI
));
19122 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_TIBETAN
));
19123 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_PyObj_FromInt((int)wxLANGUAGE_TIGRINYA
));
19124 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_PyObj_FromInt((int)wxLANGUAGE_TONGA
));
19125 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_PyObj_FromInt((int)wxLANGUAGE_TSONGA
));
19126 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_TURKISH
));
19127 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_PyObj_FromInt((int)wxLANGUAGE_TURKMEN
));
19128 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_PyObj_FromInt((int)wxLANGUAGE_TWI
));
19129 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_PyObj_FromInt((int)wxLANGUAGE_UIGHUR
));
19130 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_UKRAINIAN
));
19131 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_PyObj_FromInt((int)wxLANGUAGE_URDU
));
19132 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_URDU_INDIA
));
19133 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
19134 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_PyObj_FromInt((int)wxLANGUAGE_UZBEK
));
19135 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19136 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
19137 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_VIETNAMESE
));
19138 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_PyObj_FromInt((int)wxLANGUAGE_VOLAPUK
));
19139 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_PyObj_FromInt((int)wxLANGUAGE_WELSH
));
19140 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_PyObj_FromInt((int)wxLANGUAGE_WOLOF
));
19141 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_PyObj_FromInt((int)wxLANGUAGE_XHOSA
));
19142 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_YIDDISH
));
19143 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_PyObj_FromInt((int)wxLANGUAGE_YORUBA
));
19144 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_PyObj_FromInt((int)wxLANGUAGE_ZHUANG
));
19145 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_PyObj_FromInt((int)wxLANGUAGE_ZULU
));
19146 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_PyObj_FromInt((int)wxLANGUAGE_USER_DEFINED
));
19147 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_NUMBER
));
19148 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_DATE
));
19149 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_MONEY
));
19150 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_MAX
));
19151 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_PyObj_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
19152 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_PyObj_FromInt((int)wxLOCALE_DECIMAL_POINT
));
19153 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_PyObj_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
19154 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_PyObj_FromInt((int)wxLOCALE_CONV_ENCODING
));
19155 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_PyObj_FromInt((int)wxCONVERT_STRICT
));
19156 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_PyObj_FromInt((int)wxCONVERT_SUBSTITUTE
));
19157 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_PyObj_FromInt((int)wxPLATFORM_CURRENT
));
19158 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_PyObj_FromInt((int)wxPLATFORM_UNIX
));
19159 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_PyObj_FromInt((int)wxPLATFORM_WINDOWS
));
19160 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_PyObj_FromInt((int)wxPLATFORM_OS2
));
19161 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_PyObj_FromInt((int)wxPLATFORM_MAC
));
19162 PyDict_SetItemString(d
,"BUFFER_DC_OVERWRITE_BG", SWIG_PyObj_FromInt((int)wxBUFFER_DC_OVERWRITE_BG
));
19163 PyDict_SetItemString(d
,"BUFFER_DC_PRESERVE_BG", SWIG_PyObj_FromInt((int)wxBUFFER_DC_PRESERVE_BG
));
19164 PyDict_SetItemString(d
,"BUFFER_DC_DEFAULT", SWIG_PyObj_FromInt((int)wxBUFFER_DC_DEFAULT
));
19165 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
19166 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19167 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
19168 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
19169 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_PyObj_FromInt((int)wxIMAGE_LIST_NORMAL
));
19170 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_PyObj_FromInt((int)wxIMAGE_LIST_SMALL
));
19171 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_PyObj_FromInt((int)wxIMAGE_LIST_STATE
));
19172 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19173 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19174 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19175 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19176 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19177 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19178 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19179 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19180 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19181 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19182 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19183 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19184 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19185 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19186 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19187 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19188 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19189 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19190 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19191 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19192 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19193 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19194 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19195 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19196 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19197 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19198 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19199 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19200 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19201 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19202 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19203 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19204 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19205 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19206 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19207 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19208 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19209 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19210 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19211 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19212 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19213 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19214 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19215 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19216 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19217 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19218 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19220 // Work around a chicken/egg problem in drawlist.cpp
19221 wxPyDrawList_SetAPIPtr();