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);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
210 #define SWIGTYPE_p_wxBrush swig_types[1]
211 #define SWIGTYPE_p_wxColour swig_types[2]
212 #define SWIGTYPE_p_wxDC swig_types[3]
213 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
214 #define SWIGTYPE_p_byte swig_types[5]
215 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
216 #define SWIGTYPE_p_char swig_types[7]
217 #define SWIGTYPE_p_wxIconLocation swig_types[8]
218 #define SWIGTYPE_p_wxImage swig_types[9]
219 #define SWIGTYPE_p_wxMetaFileDC swig_types[10]
220 #define SWIGTYPE_p_wxMask swig_types[11]
221 #define SWIGTYPE_p_wxFont swig_types[12]
222 #define SWIGTYPE_p_wxWindow swig_types[13]
223 #define SWIGTYPE_p_wxSize swig_types[14]
224 #define SWIGTYPE_p_double swig_types[15]
225 #define SWIGTYPE_p_wxMemoryDC swig_types[16]
226 #define SWIGTYPE_p_wxFontMapper swig_types[17]
227 #define SWIGTYPE_p_wxEffects swig_types[18]
228 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]
229 #define SWIGTYPE_p_wxPalette swig_types[20]
230 #define SWIGTYPE_p_wxBitmap swig_types[21]
231 #define SWIGTYPE_p_wxObject swig_types[22]
232 #define SWIGTYPE_p_wxRegionIterator swig_types[23]
233 #define SWIGTYPE_p_wxRect swig_types[24]
234 #define SWIGTYPE_p_wxString swig_types[25]
235 #define SWIGTYPE_p_wxPrinterDC swig_types[26]
236 #define SWIGTYPE_p_wxIconBundle swig_types[27]
237 #define SWIGTYPE_p_wxPoint swig_types[28]
238 #define SWIGTYPE_p_wxDash swig_types[29]
239 #define SWIGTYPE_p_wxScreenDC swig_types[30]
240 #define SWIGTYPE_p_wxCursor swig_types[31]
241 #define SWIGTYPE_p_wxClientDC swig_types[32]
242 #define SWIGTYPE_p_wxBufferedDC swig_types[33]
243 #define SWIGTYPE_p_wxImageList swig_types[34]
244 #define SWIGTYPE_p_unsigned_char swig_types[35]
245 #define SWIGTYPE_p_wxGDIObject swig_types[36]
246 #define SWIGTYPE_p_wxIcon swig_types[37]
247 #define SWIGTYPE_p_wxLocale swig_types[38]
248 #define SWIGTYPE_p_wxRegion swig_types[39]
249 #define SWIGTYPE_p_wxLanguageInfo swig_types[40]
250 #define SWIGTYPE_p_wxConfigBase swig_types[41]
251 #define SWIGTYPE_p_wxWindowDC swig_types[42]
252 #define SWIGTYPE_p_wxPrintData swig_types[43]
253 #define SWIGTYPE_p_wxBrushList swig_types[44]
254 #define SWIGTYPE_p_wxFontList swig_types[45]
255 #define SWIGTYPE_p_wxPen swig_types[46]
256 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[47]
257 #define SWIGTYPE_p_wxPaintDC swig_types[48]
258 #define SWIGTYPE_p_wxPenList swig_types[49]
259 #define SWIGTYPE_p_wxPyPen swig_types[50]
260 #define SWIGTYPE_p_int swig_types[51]
261 #define SWIGTYPE_p_wxMetaFile swig_types[52]
262 #define SWIGTYPE_p_wxNativeFontInfo swig_types[53]
263 #define SWIGTYPE_p_wxEncodingConverter swig_types[54]
264 #define SWIGTYPE_p_wxColourDatabase swig_types[55]
265 static swig_type_info
*swig_types
[57];
267 /* -------- TYPES TABLE (END) -------- */
270 /*-----------------------------------------------
272 ------------------------------------------------*/
273 #define SWIG_init init_gdi
275 #define SWIG_name "_gdi"
277 /* Auxiliar swig macros */
280 #define SWIGSTATICINLINE(a) static inline a
281 #define SWIGSTATIC(a) static a
282 #define swig_new_array(type, size) (new type[(size)])
283 #define swig_delete_array(cptr) delete[] cptr
284 #define swig_const_cast(type,a) const_cast<type>(a)
285 #define swig_static_cast(type,a) static_cast<type>(a)
286 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
288 #ifdef HAVE_NUMERIC_CAST
289 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
291 #define swig_numeric_cast(type,a) static_cast<type>(a)
296 #define SWIGSTATICINLINE(a) static a
297 #define SWIGSTATIC(a) static a
298 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
299 #define swig_delete_array(cptr) free((char*)cptr)
300 #define swig_const_cast(type,a) (type)(a)
301 #define swig_static_cast(type,a) (type)(a)
302 #define swig_reinterpret_cast(type,a) (type)(a)
303 #define swig_numeric_cast(type,a) (type)(a)
305 #endif /* __cplusplus */
308 #define SWIG_FromSignedChar PyInt_FromLong
309 #define SWIG_FromUnsignedChar PyInt_FromLong
310 #define SWIG_FromShort PyInt_FromLong
311 #define SWIG_FromUnsignedShort PyInt_FromLong
312 #define SWIG_FromInt PyInt_FromLong
313 #define SWIG_FromLong PyInt_FromLong
314 #define SWIG_FromFloat PyFloat_FromDouble
315 #define SWIG_FromDouble PyFloat_FromDouble
316 #define SWIG_FromFloat PyFloat_FromDouble
317 #define SWIG_FromDouble PyFloat_FromDouble
320 #include "wx/wxPython/wxPython.h"
321 #include "wx/wxPython/pyclasses.h"
324 static const wxString
wxPyEmptyString(wxEmptyString
);
326 SWIGSTATICINLINE(bool)
327 SWIG_AsBool(PyObject
*obj
)
329 return PyObject_IsTrue(obj
) ? true : false;
333 SWIGSTATICINLINE(int)
334 SWIG_CheckBool(PyObject
* obj
)
337 if (PyErr_Occurred()) {
349 SWIGSTATICINLINE(unsigned long)
350 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
351 unsigned long max_value
)
353 if (!PyErr_Occurred()) {
354 if (value
> max_value
) {
356 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
357 value
, type
, max_value
);
358 PyErr_SetObject(PyExc_OverflowError
, err
);
366 SWIGSTATICINLINE(unsigned long)
367 SWIG_AsUnsignedLong(PyObject
* obj
)
369 if (PyLong_Check(obj
)) {
370 return PyLong_AsUnsignedLong(obj
);
372 long i
= PyInt_AsLong(obj
);
373 if ( !PyErr_Occurred() && (i
< 0)) {
374 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
381 SWIGSTATICINLINE(unsigned char)
382 SWIG_AsUnsignedChar(PyObject
*obj
)
384 return swig_numeric_cast(unsigned char,
385 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
386 "unsigned char", UCHAR_MAX
));
390 SWIGSTATICINLINE(int)
391 SWIG_CheckUnsignedChar(PyObject
* obj
)
393 SWIG_AsUnsignedChar(obj
);
394 if (PyErr_Occurred()) {
403 SWIGSTATICINLINE(int)
404 SWIG_CheckUnsignedLong(PyObject
* obj
)
406 SWIG_AsUnsignedLong(obj
);
407 if (PyErr_Occurred()) {
415 PyObject
*wxColour_Get(wxColour
*self
){
416 PyObject
* rv
= PyTuple_New(3);
422 green
= self
->Green();
425 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
426 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
427 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
430 unsigned long wxColour_GetRGB(wxColour
*self
){
431 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
434 SWIGSTATICINLINE(PyObject
* )
435 SWIG_FromUnsignedLong(unsigned long value
)
437 return (value
> LONG_MAX
) ?
438 PyLong_FromUnsignedLong(value
)
439 : PyInt_FromLong(swig_numeric_cast(long,value
));
443 SWIGSTATICINLINE(long)
444 SWIG_CheckLongInRange(long value
, const char* type
,
445 long min_value
, long max_value
)
447 if (!PyErr_Occurred()) {
448 if (value
< min_value
) {
450 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
451 value
, type
, min_value
);
453 PyErr_SetObject(PyExc_OverflowError
, err
);
455 } else if (value
> max_value
) {
457 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
458 value
, type
, max_value
);
459 PyErr_SetObject(PyExc_OverflowError
, err
);
467 SWIGSTATICINLINE(long)
468 SWIG_AsLong(PyObject
* obj
)
470 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
474 #if INT_MAX != LONG_MAX
475 SWIGSTATICINLINE(int)
476 SWIG_AsInt(PyObject
*obj
)
478 return swig_numeric_cast(int,
479 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
480 "int", INT_MIN
, INT_MAX
));
483 #define SWIG_AsInt SWIG_AsLong
487 SWIGSTATICINLINE(int)
488 SWIG_CheckInt(PyObject
* obj
)
491 if (PyErr_Occurred()) {
500 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
506 } else if (target
== Py_None
) {
510 if (!PyTuple_Check(target
)) {
512 target
= PyTuple_New(1);
513 PyTuple_SetItem(target
, 0, o2
);
516 PyTuple_SetItem(o3
, 0, o
);
519 target
= PySequence_Concat(o2
, o3
);
526 PyObject
*wxPen_GetDashes(wxPen
*self
){
528 int count
= self
->GetDashes(&dashes
);
529 bool blocked
= wxPyBeginBlockThreads();
530 PyObject
* retval
= PyList_New(0);
531 for (int x
=0; x
<count
; x
++)
532 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
533 wxPyEndBlockThreads(blocked
);
536 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : False
; }
537 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : True
; }
545 void wxPyPen::SetDashes(int nb_dashes
, const wxDash
*dash
)
549 m_dash
= new wxDash
[nb_dashes
];
550 for (int i
=0; i
<nb_dashes
; i
++) {
553 wxPen::SetDashes(nb_dashes
, m_dash
);
557 SWIGSTATICINLINE(short)
558 SWIG_AsShort(PyObject
*obj
)
560 return swig_numeric_cast(short,
561 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
562 "short", SHRT_MIN
, SHRT_MAX
));
566 SWIGSTATICINLINE(int)
567 SWIG_CheckShort(PyObject
* obj
)
570 if (PyErr_Occurred()) {
579 #include <wx/image.h>
581 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
582 char** cArray
= NULL
;
585 if (!PyList_Check(listOfStrings
)) {
586 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
589 count
= PyList_Size(listOfStrings
);
590 cArray
= new char*[count
];
592 for(int x
=0; x
<count
; x
++) {
593 // TODO: Need some validation and error checking here
594 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
600 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
601 char** cArray
= NULL
;
604 cArray
= ConvertListOfStrings(listOfStrings
);
607 bmp
= new wxBitmap(cArray
);
611 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
614 PyString_AsStringAndSize(bits
, &buf
, &length
);
615 return new wxBitmap(buf
, width
, height
, depth
);
617 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
618 wxMask
*mask
= new wxMask(*self
, colour
);
621 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : False
; }
622 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : True
; }
623 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
625 return new wxMask(bitmap
, *wxBLACK
);
627 return new wxMask(bitmap
, colour
);
630 #include <wx/iconbndl.h>
632 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
633 wxIcon
* icon
= new wxIcon();
634 icon
->CopyFromBitmap(bmp
);
637 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
638 char** cArray
= NULL
;
641 cArray
= ConvertListOfStrings(listOfStrings
);
644 icon
= new wxIcon(cArray
);
648 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
652 return new wxIconLocation(*filename
);
655 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
662 int wxIconLocation_GetIndex(wxIconLocation
*self
){
670 SWIGSTATICINLINE(int)
671 SWIG_CheckLong(PyObject
* obj
)
674 if (PyErr_Occurred()) {
682 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
684 wxCHECK_MSG(False
, NULL
,
685 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
687 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
692 wxRegion
*new_wxRegion(int points
,wxPoint
*points_array
,int fillStyle
){
693 wxPyRaiseNotImplemented();
696 void wxRegionIterator_Next(wxRegionIterator
*self
){
699 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
700 return self
->operator bool();
703 #include <wx/fontutil.h>
704 #include <wx/fontmap.h>
705 #include <wx/fontenum.h>
707 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
708 return self
->ToString();
711 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
712 static wxNativeEncodingInfo info
;
713 if ( wxGetNativeFontEncoding(encoding
, &info
) )
719 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
720 wxFontEncoding alt_enc
;
721 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
722 return PyInt_FromLong(alt_enc
);
728 wxFont
*new_wxFont(wxString
const &info
){
729 wxNativeFontInfo nfi
;
730 nfi
.FromString(info
);
731 return new wxFont(nfi
);
733 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
734 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
736 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
737 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
739 class wxPyFontEnumerator
: public wxFontEnumerator
{
741 wxPyFontEnumerator() {}
742 ~wxPyFontEnumerator() {}
744 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
745 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
750 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
751 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
754 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
755 wxArrayString
* arr
= self
->GetEncodings();
756 return wxArrayString2PyList_helper(*arr
);
758 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
759 wxArrayString
* arr
= self
->GetFacenames();
760 return wxArrayString2PyList_helper(*arr
);
765 #include "wx/wxPython/pydrawxxx.h"
767 wxColour
wxDC_GetPixelXY(wxDC
*self
,int x
,int y
){
769 self
->GetPixel(x
, y
, &col
);
772 wxColour
wxDC_GetPixel(wxDC
*self
,wxPoint
const &pt
){
774 self
->GetPixel(pt
, &col
);
778 SWIGSTATICINLINE(double)
779 SWIG_AsDouble(PyObject
*obj
)
781 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
783 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
785 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
787 if (PyErr_Occurred()) {
789 PyErr_SetString(PyExc_TypeError
, "a double is expected");
795 SWIGSTATICINLINE(int)
796 SWIG_CheckDouble(PyObject
* obj
)
799 if (PyErr_Occurred()) {
807 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
809 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
812 wxRect
wxDC_GetClippingRect(wxDC
*self
){
814 self
->GetClippingBox(rect
);
817 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
819 self
->GetPartialTextExtents(text
, widths
);
822 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
823 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
825 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
826 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
828 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
829 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
831 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
832 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
834 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
835 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
837 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
838 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
841 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
849 //-=-=-=-=-=-=-=-=-=-=-
852 // Use the standard wxBufferedDC
853 #include <wx/dcbuffer.h>
857 // Or, temporarily put a set of classes here similar to the old buffered DC
858 // classes until the real ones can be fixed to work "correctly" again.
860 class wxBufferedDC
: public wxMemoryDC
868 wxBufferedDC() : m_dc( 0 ) {}
870 wxBufferedDC( wxDC
*dc
, const wxBitmap
&buffer
)
871 : m_dc( dc
), m_buffer( buffer
)
873 SelectObject( m_buffer
);
876 wxBufferedDC( wxDC
*dc
, const wxSize
&area
)
877 : m_dc( dc
), m_buffer( area
.GetWidth(), area
.GetHeight() )
879 SelectObject( m_buffer
);
888 void Init( wxDC
*dc
, const wxBitmap
&buffer
) {
889 wxASSERT_MSG( m_dc
== 0 && m_buffer
== wxNullBitmap
,
890 _T("wxBufferedDC already initialised") );
893 SelectObject( m_buffer
);
896 void Init( wxDC
*dc
, const wxSize
&area
) {
897 wxASSERT_MSG( m_dc
== 0 && m_buffer
== wxNullBitmap
,
898 _T("wxBufferedDC already initialised") );
900 m_buffer
= wxBitmap( area
.GetWidth(), area
.GetHeight() );
901 SelectObject( m_buffer
);
905 wxASSERT_MSG( m_dc
!= 0, _T("No low level DC associated with buffer (anymore)") );
906 m_dc
->Blit( 0, 0, m_buffer
.GetWidth(), m_buffer
.GetHeight(), this, 0, 0 );
912 class wxBufferedPaintDC
: public wxBufferedDC
918 wxBufferedPaintDC( wxWindow
*window
, const wxBitmap
&buffer
= wxNullBitmap
)
919 : m_paintdc( window
)
921 window
->PrepareDC( m_paintdc
);
923 if( buffer
!= wxNullBitmap
)
924 Init( &m_paintdc
, buffer
);
926 Init( &m_paintdc
, window
->GetClientSize() );
929 ~wxBufferedPaintDC() {
935 //-=-=-=-=-=-=-=-=-=-=-
941 #include <wx/metafile.h>
945 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
946 self
->AddColour(name
, wxColour(red
, green
, blue
));
949 #include <wx/effects.h>
954 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
964 result
= (wxGDIObject
*)new wxGDIObject();
966 wxPyEndAllowThreads(__tstate
);
967 if (PyErr_Occurred()) SWIG_fail
;
969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
976 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
978 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
979 PyObject
* obj0
= 0 ;
981 (char *) "self", NULL
984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
991 wxPyEndAllowThreads(__tstate
);
992 if (PyErr_Occurred()) SWIG_fail
;
994 Py_INCREF(Py_None
); resultobj
= Py_None
;
1001 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1002 PyObject
*resultobj
;
1003 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1005 PyObject
* obj0
= 0 ;
1007 (char *) "self", NULL
1010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
1011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1015 result
= (bool)(arg1
)->GetVisible();
1017 wxPyEndAllowThreads(__tstate
);
1018 if (PyErr_Occurred()) SWIG_fail
;
1021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1029 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1030 PyObject
*resultobj
;
1031 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1033 PyObject
* obj0
= 0 ;
1034 PyObject
* obj1
= 0 ;
1036 (char *) "self",(char *) "visible", NULL
1039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
1040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1042 arg2
= (bool) SWIG_AsBool(obj1
);
1043 if (PyErr_Occurred()) SWIG_fail
;
1045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1046 (arg1
)->SetVisible(arg2
);
1048 wxPyEndAllowThreads(__tstate
);
1049 if (PyErr_Occurred()) SWIG_fail
;
1051 Py_INCREF(Py_None
); resultobj
= Py_None
;
1058 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1059 PyObject
*resultobj
;
1060 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1062 PyObject
* obj0
= 0 ;
1064 (char *) "self", NULL
1067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1072 result
= (bool)(arg1
)->IsNull();
1074 wxPyEndAllowThreads(__tstate
);
1075 if (PyErr_Occurred()) SWIG_fail
;
1078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1086 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
1088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1089 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1091 return Py_BuildValue((char *)"");
1093 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1094 PyObject
*resultobj
;
1095 unsigned char arg1
= (unsigned char) 0 ;
1096 unsigned char arg2
= (unsigned char) 0 ;
1097 unsigned char arg3
= (unsigned char) 0 ;
1099 PyObject
* obj0
= 0 ;
1100 PyObject
* obj1
= 0 ;
1101 PyObject
* obj2
= 0 ;
1103 (char *) "red",(char *) "green",(char *) "blue", NULL
1106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1108 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
1109 if (PyErr_Occurred()) SWIG_fail
;
1112 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1113 if (PyErr_Occurred()) SWIG_fail
;
1116 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1117 if (PyErr_Occurred()) SWIG_fail
;
1120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1121 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1123 wxPyEndAllowThreads(__tstate
);
1124 if (PyErr_Occurred()) SWIG_fail
;
1126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1133 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1134 PyObject
*resultobj
;
1135 wxString
*arg1
= 0 ;
1137 bool temp1
= False
;
1138 PyObject
* obj0
= 0 ;
1140 (char *) "colorName", NULL
1143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1145 arg1
= wxString_in_helper(obj0
);
1146 if (arg1
== NULL
) SWIG_fail
;
1150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1151 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1153 wxPyEndAllowThreads(__tstate
);
1154 if (PyErr_Occurred()) SWIG_fail
;
1156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1171 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1172 PyObject
*resultobj
;
1173 unsigned long arg1
;
1175 PyObject
* obj0
= 0 ;
1177 (char *) "colRGB", NULL
1180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1181 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1182 if (PyErr_Occurred()) SWIG_fail
;
1184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1185 result
= (wxColour
*)new wxColour(arg1
);
1187 wxPyEndAllowThreads(__tstate
);
1188 if (PyErr_Occurred()) SWIG_fail
;
1190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1197 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1198 PyObject
*resultobj
;
1199 wxColour
*arg1
= (wxColour
*) 0 ;
1200 PyObject
* obj0
= 0 ;
1202 (char *) "self", NULL
1205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1212 wxPyEndAllowThreads(__tstate
);
1213 if (PyErr_Occurred()) SWIG_fail
;
1215 Py_INCREF(Py_None
); resultobj
= Py_None
;
1222 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1223 PyObject
*resultobj
;
1224 wxColour
*arg1
= (wxColour
*) 0 ;
1225 unsigned char result
;
1226 PyObject
* obj0
= 0 ;
1228 (char *) "self", NULL
1231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1236 result
= (unsigned char)(arg1
)->Red();
1238 wxPyEndAllowThreads(__tstate
);
1239 if (PyErr_Occurred()) SWIG_fail
;
1241 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1248 static PyObject
*_wrap_Colour_Green(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1249 PyObject
*resultobj
;
1250 wxColour
*arg1
= (wxColour
*) 0 ;
1251 unsigned char result
;
1252 PyObject
* obj0
= 0 ;
1254 (char *) "self", NULL
1257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1262 result
= (unsigned char)(arg1
)->Green();
1264 wxPyEndAllowThreads(__tstate
);
1265 if (PyErr_Occurred()) SWIG_fail
;
1267 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1274 static PyObject
*_wrap_Colour_Blue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1275 PyObject
*resultobj
;
1276 wxColour
*arg1
= (wxColour
*) 0 ;
1277 unsigned char result
;
1278 PyObject
* obj0
= 0 ;
1280 (char *) "self", NULL
1283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1288 result
= (unsigned char)(arg1
)->Blue();
1290 wxPyEndAllowThreads(__tstate
);
1291 if (PyErr_Occurred()) SWIG_fail
;
1293 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1300 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1301 PyObject
*resultobj
;
1302 wxColour
*arg1
= (wxColour
*) 0 ;
1304 PyObject
* obj0
= 0 ;
1306 (char *) "self", NULL
1309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1314 result
= (bool)(arg1
)->Ok();
1316 wxPyEndAllowThreads(__tstate
);
1317 if (PyErr_Occurred()) SWIG_fail
;
1320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1328 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1329 PyObject
*resultobj
;
1330 wxColour
*arg1
= (wxColour
*) 0 ;
1331 unsigned char arg2
;
1332 unsigned char arg3
;
1333 unsigned char arg4
;
1334 PyObject
* obj0
= 0 ;
1335 PyObject
* obj1
= 0 ;
1336 PyObject
* obj2
= 0 ;
1337 PyObject
* obj3
= 0 ;
1339 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1345 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1346 if (PyErr_Occurred()) SWIG_fail
;
1347 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1348 if (PyErr_Occurred()) SWIG_fail
;
1349 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
1350 if (PyErr_Occurred()) SWIG_fail
;
1352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1353 (arg1
)->Set(arg2
,arg3
,arg4
);
1355 wxPyEndAllowThreads(__tstate
);
1356 if (PyErr_Occurred()) SWIG_fail
;
1358 Py_INCREF(Py_None
); resultobj
= Py_None
;
1365 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1366 PyObject
*resultobj
;
1367 wxColour
*arg1
= (wxColour
*) 0 ;
1368 unsigned long arg2
;
1369 PyObject
* obj0
= 0 ;
1370 PyObject
* obj1
= 0 ;
1372 (char *) "self",(char *) "colRGB", NULL
1375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1378 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1379 if (PyErr_Occurred()) SWIG_fail
;
1381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1384 wxPyEndAllowThreads(__tstate
);
1385 if (PyErr_Occurred()) SWIG_fail
;
1387 Py_INCREF(Py_None
); resultobj
= Py_None
;
1394 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1395 PyObject
*resultobj
;
1396 wxColour
*arg1
= (wxColour
*) 0 ;
1397 wxString
*arg2
= 0 ;
1398 bool temp2
= False
;
1399 PyObject
* obj0
= 0 ;
1400 PyObject
* obj1
= 0 ;
1402 (char *) "self",(char *) "colourName", NULL
1405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1409 arg2
= wxString_in_helper(obj1
);
1410 if (arg2
== NULL
) SWIG_fail
;
1414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1415 (arg1
)->InitFromName((wxString
const &)*arg2
);
1417 wxPyEndAllowThreads(__tstate
);
1418 if (PyErr_Occurred()) SWIG_fail
;
1420 Py_INCREF(Py_None
); resultobj
= Py_None
;
1435 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
*resultobj
;
1437 wxColour
*arg1
= (wxColour
*) 0 ;
1439 PyObject
* obj0
= 0 ;
1441 (char *) "self", NULL
1444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1449 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1451 wxPyEndAllowThreads(__tstate
);
1452 if (PyErr_Occurred()) SWIG_fail
;
1454 resultobj
= SWIG_FromLong((long)result
);
1461 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1462 PyObject
*resultobj
;
1463 wxColour
*arg1
= (wxColour
*) 0 ;
1464 wxColour
*arg2
= 0 ;
1467 PyObject
* obj0
= 0 ;
1468 PyObject
* obj1
= 0 ;
1470 (char *) "self",(char *) "colour", NULL
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1478 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1482 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1484 wxPyEndAllowThreads(__tstate
);
1485 if (PyErr_Occurred()) SWIG_fail
;
1488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1496 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1497 PyObject
*resultobj
;
1498 wxColour
*arg1
= (wxColour
*) 0 ;
1499 wxColour
*arg2
= 0 ;
1502 PyObject
* obj0
= 0 ;
1503 PyObject
* obj1
= 0 ;
1505 (char *) "self",(char *) "colour", NULL
1508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1513 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1517 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1519 wxPyEndAllowThreads(__tstate
);
1520 if (PyErr_Occurred()) SWIG_fail
;
1523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1531 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1532 PyObject
*resultobj
;
1533 wxColour
*arg1
= (wxColour
*) 0 ;
1535 PyObject
* obj0
= 0 ;
1537 (char *) "self", NULL
1540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1545 result
= (PyObject
*)wxColour_Get(arg1
);
1547 wxPyEndAllowThreads(__tstate
);
1548 if (PyErr_Occurred()) SWIG_fail
;
1557 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1558 PyObject
*resultobj
;
1559 wxColour
*arg1
= (wxColour
*) 0 ;
1560 unsigned long result
;
1561 PyObject
* obj0
= 0 ;
1563 (char *) "self", NULL
1566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1571 result
= (unsigned long)wxColour_GetRGB(arg1
);
1573 wxPyEndAllowThreads(__tstate
);
1574 if (PyErr_Occurred()) SWIG_fail
;
1576 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1583 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
1585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1586 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1588 return Py_BuildValue((char *)"");
1590 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
*resultobj
;
1593 unsigned char *arg2
= (unsigned char *) 0 ;
1594 unsigned char *arg3
= (unsigned char *) 0 ;
1595 unsigned char *arg4
= (unsigned char *) 0 ;
1597 PyObject
* obj0
= 0 ;
1598 PyObject
* obj1
= 0 ;
1599 PyObject
* obj2
= 0 ;
1600 PyObject
* obj3
= 0 ;
1602 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1606 arg1
= (int) SWIG_AsInt(obj0
);
1607 if (PyErr_Occurred()) SWIG_fail
;
1608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1610 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1612 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1616 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1618 wxPyEndAllowThreads(__tstate
);
1619 if (PyErr_Occurred()) SWIG_fail
;
1621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1628 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1629 PyObject
*resultobj
;
1630 wxPalette
*arg1
= (wxPalette
*) 0 ;
1631 PyObject
* obj0
= 0 ;
1633 (char *) "self", NULL
1636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1643 wxPyEndAllowThreads(__tstate
);
1644 if (PyErr_Occurred()) SWIG_fail
;
1646 Py_INCREF(Py_None
); resultobj
= Py_None
;
1653 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1654 PyObject
*resultobj
;
1655 wxPalette
*arg1
= (wxPalette
*) 0 ;
1660 PyObject
* obj0
= 0 ;
1661 PyObject
* obj1
= 0 ;
1662 PyObject
* obj2
= 0 ;
1663 PyObject
* obj3
= 0 ;
1665 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1671 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1672 if (PyErr_Occurred()) SWIG_fail
;
1673 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1674 if (PyErr_Occurred()) SWIG_fail
;
1675 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1676 if (PyErr_Occurred()) SWIG_fail
;
1678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1679 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1681 wxPyEndAllowThreads(__tstate
);
1682 if (PyErr_Occurred()) SWIG_fail
;
1684 resultobj
= SWIG_FromInt((int)result
);
1691 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1692 PyObject
*resultobj
;
1693 wxPalette
*arg1
= (wxPalette
*) 0 ;
1695 byte
*arg3
= (byte
*) 0 ;
1696 byte
*arg4
= (byte
*) 0 ;
1697 byte
*arg5
= (byte
*) 0 ;
1702 PyObject
* obj0
= 0 ;
1703 PyObject
* obj1
= 0 ;
1705 (char *) "self",(char *) "pixel", NULL
1711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1714 arg2
= (int) SWIG_AsInt(obj1
);
1715 if (PyErr_Occurred()) SWIG_fail
;
1717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1718 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1720 wxPyEndAllowThreads(__tstate
);
1721 if (PyErr_Occurred()) SWIG_fail
;
1724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1727 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1728 resultobj
= t_output_helper(resultobj
,o
);
1731 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1732 resultobj
= t_output_helper(resultobj
,o
);
1735 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1736 resultobj
= t_output_helper(resultobj
,o
);
1744 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1745 PyObject
*resultobj
;
1746 wxPalette
*arg1
= (wxPalette
*) 0 ;
1748 PyObject
* obj0
= 0 ;
1750 (char *) "self", NULL
1753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1758 result
= (bool)(arg1
)->Ok();
1760 wxPyEndAllowThreads(__tstate
);
1761 if (PyErr_Occurred()) SWIG_fail
;
1764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1772 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
1774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1775 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1777 return Py_BuildValue((char *)"");
1779 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1780 PyObject
*resultobj
;
1781 wxColour
*arg1
= 0 ;
1782 int arg2
= (int) 1 ;
1783 int arg3
= (int) wxSOLID
;
1786 PyObject
* obj0
= 0 ;
1787 PyObject
* obj1
= 0 ;
1788 PyObject
* obj2
= 0 ;
1790 (char *) "colour",(char *) "width",(char *) "style", NULL
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1796 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1799 arg2
= (int) SWIG_AsInt(obj1
);
1800 if (PyErr_Occurred()) SWIG_fail
;
1803 arg3
= (int) SWIG_AsInt(obj2
);
1804 if (PyErr_Occurred()) SWIG_fail
;
1807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1808 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1810 wxPyEndAllowThreads(__tstate
);
1811 if (PyErr_Occurred()) SWIG_fail
;
1813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1820 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
*resultobj
;
1822 wxPen
*arg1
= (wxPen
*) 0 ;
1823 PyObject
* obj0
= 0 ;
1825 (char *) "self", NULL
1828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1835 wxPyEndAllowThreads(__tstate
);
1836 if (PyErr_Occurred()) SWIG_fail
;
1838 Py_INCREF(Py_None
); resultobj
= Py_None
;
1845 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1846 PyObject
*resultobj
;
1847 wxPen
*arg1
= (wxPen
*) 0 ;
1849 PyObject
* obj0
= 0 ;
1851 (char *) "self", NULL
1854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1859 result
= (int)(arg1
)->GetCap();
1861 wxPyEndAllowThreads(__tstate
);
1862 if (PyErr_Occurred()) SWIG_fail
;
1864 resultobj
= SWIG_FromInt((int)result
);
1871 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1872 PyObject
*resultobj
;
1873 wxPen
*arg1
= (wxPen
*) 0 ;
1875 PyObject
* obj0
= 0 ;
1877 (char *) "self", NULL
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1885 result
= (arg1
)->GetColour();
1887 wxPyEndAllowThreads(__tstate
);
1888 if (PyErr_Occurred()) SWIG_fail
;
1891 wxColour
* resultptr
;
1892 resultptr
= new wxColour((wxColour
&) result
);
1893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1901 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
*resultobj
;
1903 wxPen
*arg1
= (wxPen
*) 0 ;
1905 PyObject
* obj0
= 0 ;
1907 (char *) "self", NULL
1910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1915 result
= (int)(arg1
)->GetJoin();
1917 wxPyEndAllowThreads(__tstate
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1920 resultobj
= SWIG_FromInt((int)result
);
1927 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1928 PyObject
*resultobj
;
1929 wxPen
*arg1
= (wxPen
*) 0 ;
1931 PyObject
* obj0
= 0 ;
1933 (char *) "self", NULL
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1941 result
= (int)(arg1
)->GetStyle();
1943 wxPyEndAllowThreads(__tstate
);
1944 if (PyErr_Occurred()) SWIG_fail
;
1946 resultobj
= SWIG_FromInt((int)result
);
1953 static PyObject
*_wrap_Pen_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1954 PyObject
*resultobj
;
1955 wxPen
*arg1
= (wxPen
*) 0 ;
1957 PyObject
* obj0
= 0 ;
1959 (char *) "self", NULL
1962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1967 result
= (int)(arg1
)->GetWidth();
1969 wxPyEndAllowThreads(__tstate
);
1970 if (PyErr_Occurred()) SWIG_fail
;
1972 resultobj
= SWIG_FromInt((int)result
);
1979 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
*resultobj
;
1981 wxPen
*arg1
= (wxPen
*) 0 ;
1983 PyObject
* obj0
= 0 ;
1985 (char *) "self", NULL
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1993 result
= (bool)(arg1
)->Ok();
1995 wxPyEndAllowThreads(__tstate
);
1996 if (PyErr_Occurred()) SWIG_fail
;
1999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2007 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2008 PyObject
*resultobj
;
2009 wxPen
*arg1
= (wxPen
*) 0 ;
2011 PyObject
* obj0
= 0 ;
2012 PyObject
* obj1
= 0 ;
2014 (char *) "self",(char *) "cap_style", NULL
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
2018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2020 arg2
= (int) SWIG_AsInt(obj1
);
2021 if (PyErr_Occurred()) SWIG_fail
;
2023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2024 (arg1
)->SetCap(arg2
);
2026 wxPyEndAllowThreads(__tstate
);
2027 if (PyErr_Occurred()) SWIG_fail
;
2029 Py_INCREF(Py_None
); resultobj
= Py_None
;
2036 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
*resultobj
;
2038 wxPen
*arg1
= (wxPen
*) 0 ;
2039 wxColour
*arg2
= 0 ;
2041 PyObject
* obj0
= 0 ;
2042 PyObject
* obj1
= 0 ;
2044 (char *) "self",(char *) "colour", NULL
2047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2052 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2056 (arg1
)->SetColour(*arg2
);
2058 wxPyEndAllowThreads(__tstate
);
2059 if (PyErr_Occurred()) SWIG_fail
;
2061 Py_INCREF(Py_None
); resultobj
= Py_None
;
2068 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2069 PyObject
*resultobj
;
2070 wxPen
*arg1
= (wxPen
*) 0 ;
2072 PyObject
* obj0
= 0 ;
2073 PyObject
* obj1
= 0 ;
2075 (char *) "self",(char *) "join_style", NULL
2078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2081 arg2
= (int) SWIG_AsInt(obj1
);
2082 if (PyErr_Occurred()) SWIG_fail
;
2084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2085 (arg1
)->SetJoin(arg2
);
2087 wxPyEndAllowThreads(__tstate
);
2088 if (PyErr_Occurred()) SWIG_fail
;
2090 Py_INCREF(Py_None
); resultobj
= Py_None
;
2097 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2098 PyObject
*resultobj
;
2099 wxPen
*arg1
= (wxPen
*) 0 ;
2101 PyObject
* obj0
= 0 ;
2102 PyObject
* obj1
= 0 ;
2104 (char *) "self",(char *) "style", NULL
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2110 arg2
= (int) SWIG_AsInt(obj1
);
2111 if (PyErr_Occurred()) SWIG_fail
;
2113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2114 (arg1
)->SetStyle(arg2
);
2116 wxPyEndAllowThreads(__tstate
);
2117 if (PyErr_Occurred()) SWIG_fail
;
2119 Py_INCREF(Py_None
); resultobj
= Py_None
;
2126 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
*resultobj
;
2128 wxPen
*arg1
= (wxPen
*) 0 ;
2130 PyObject
* obj0
= 0 ;
2131 PyObject
* obj1
= 0 ;
2133 (char *) "self",(char *) "width", NULL
2136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2139 arg2
= (int) SWIG_AsInt(obj1
);
2140 if (PyErr_Occurred()) SWIG_fail
;
2142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2143 (arg1
)->SetWidth(arg2
);
2145 wxPyEndAllowThreads(__tstate
);
2146 if (PyErr_Occurred()) SWIG_fail
;
2148 Py_INCREF(Py_None
); resultobj
= Py_None
;
2155 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2156 PyObject
*resultobj
;
2157 wxPen
*arg1
= (wxPen
*) 0 ;
2159 wxDash
*arg3
= (wxDash
*) 0 ;
2160 PyObject
* obj0
= 0 ;
2161 PyObject
* obj1
= 0 ;
2163 (char *) "self",(char *) "dashes", NULL
2166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2170 arg2
= PyList_Size(obj1
);
2171 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2172 if (arg3
== NULL
) SWIG_fail
;
2175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2176 (arg1
)->SetDashes(arg2
,arg3
);
2178 wxPyEndAllowThreads(__tstate
);
2179 if (PyErr_Occurred()) SWIG_fail
;
2181 Py_INCREF(Py_None
); resultobj
= Py_None
;
2183 if (arg3
) delete [] arg3
;
2188 if (arg3
) delete [] arg3
;
2194 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
*resultobj
;
2196 wxPen
*arg1
= (wxPen
*) 0 ;
2198 PyObject
* obj0
= 0 ;
2200 (char *) "self", NULL
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2208 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2210 wxPyEndAllowThreads(__tstate
);
2211 if (PyErr_Occurred()) SWIG_fail
;
2220 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
*resultobj
;
2222 wxPen
*arg1
= (wxPen
*) 0 ;
2223 wxPen
*arg2
= (wxPen
*) 0 ;
2225 PyObject
* obj0
= 0 ;
2226 PyObject
* obj1
= 0 ;
2228 (char *) "self",(char *) "other", NULL
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2238 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2240 wxPyEndAllowThreads(__tstate
);
2241 if (PyErr_Occurred()) SWIG_fail
;
2244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2252 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2253 PyObject
*resultobj
;
2254 wxPen
*arg1
= (wxPen
*) 0 ;
2255 wxPen
*arg2
= (wxPen
*) 0 ;
2257 PyObject
* obj0
= 0 ;
2258 PyObject
* obj1
= 0 ;
2260 (char *) "self",(char *) "other", NULL
2263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2270 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2272 wxPyEndAllowThreads(__tstate
);
2273 if (PyErr_Occurred()) SWIG_fail
;
2276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2284 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
2286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2287 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2289 return Py_BuildValue((char *)"");
2291 static PyObject
*_wrap_new_PyPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2292 PyObject
*resultobj
;
2293 wxColour
*arg1
= 0 ;
2294 int arg2
= (int) 1 ;
2295 int arg3
= (int) wxSOLID
;
2298 PyObject
* obj0
= 0 ;
2299 PyObject
* obj1
= 0 ;
2300 PyObject
* obj2
= 0 ;
2302 (char *) "colour",(char *) "width",(char *) "style", NULL
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_PyPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2308 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2311 arg2
= (int) SWIG_AsInt(obj1
);
2312 if (PyErr_Occurred()) SWIG_fail
;
2315 arg3
= (int) SWIG_AsInt(obj2
);
2316 if (PyErr_Occurred()) SWIG_fail
;
2319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2320 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
2322 wxPyEndAllowThreads(__tstate
);
2323 if (PyErr_Occurred()) SWIG_fail
;
2325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPen
, 1);
2332 static PyObject
*_wrap_delete_PyPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2333 PyObject
*resultobj
;
2334 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2335 PyObject
* obj0
= 0 ;
2337 (char *) "self", NULL
2340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
2341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
2342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2347 wxPyEndAllowThreads(__tstate
);
2348 if (PyErr_Occurred()) SWIG_fail
;
2350 Py_INCREF(Py_None
); resultobj
= Py_None
;
2357 static PyObject
*_wrap_PyPen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
*resultobj
;
2359 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2361 wxDash
*arg3
= (wxDash
*) 0 ;
2362 PyObject
* obj0
= 0 ;
2363 PyObject
* obj1
= 0 ;
2365 (char *) "self",(char *) "dashes", NULL
2368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
2370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2372 arg2
= PyList_Size(obj1
);
2373 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2374 if (arg3
== NULL
) SWIG_fail
;
2377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2378 (arg1
)->SetDashes(arg2
,arg3
);
2380 wxPyEndAllowThreads(__tstate
);
2381 if (PyErr_Occurred()) SWIG_fail
;
2383 Py_INCREF(Py_None
); resultobj
= Py_None
;
2385 if (arg3
) delete [] arg3
;
2390 if (arg3
) delete [] arg3
;
2396 static PyObject
* PyPen_swigregister(PyObject
*, PyObject
*args
) {
2398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2399 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
2401 return Py_BuildValue((char *)"");
2403 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2404 PyObject
*resultobj
;
2405 wxColour
*arg1
= 0 ;
2406 int arg2
= (int) wxSOLID
;
2409 PyObject
* obj0
= 0 ;
2410 PyObject
* obj1
= 0 ;
2412 (char *) "colour",(char *) "style", NULL
2415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2418 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2421 arg2
= (int) SWIG_AsInt(obj1
);
2422 if (PyErr_Occurred()) SWIG_fail
;
2425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2426 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2428 wxPyEndAllowThreads(__tstate
);
2429 if (PyErr_Occurred()) SWIG_fail
;
2431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2438 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2439 PyObject
*resultobj
;
2440 wxBrush
*arg1
= (wxBrush
*) 0 ;
2441 PyObject
* obj0
= 0 ;
2443 (char *) "self", NULL
2446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2453 wxPyEndAllowThreads(__tstate
);
2454 if (PyErr_Occurred()) SWIG_fail
;
2456 Py_INCREF(Py_None
); resultobj
= Py_None
;
2463 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
*resultobj
;
2465 wxBrush
*arg1
= (wxBrush
*) 0 ;
2466 wxColour
*arg2
= 0 ;
2468 PyObject
* obj0
= 0 ;
2469 PyObject
* obj1
= 0 ;
2471 (char *) "self",(char *) "col", NULL
2474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2479 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2483 (arg1
)->SetColour((wxColour
const &)*arg2
);
2485 wxPyEndAllowThreads(__tstate
);
2486 if (PyErr_Occurred()) SWIG_fail
;
2488 Py_INCREF(Py_None
); resultobj
= Py_None
;
2495 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2496 PyObject
*resultobj
;
2497 wxBrush
*arg1
= (wxBrush
*) 0 ;
2499 PyObject
* obj0
= 0 ;
2500 PyObject
* obj1
= 0 ;
2502 (char *) "self",(char *) "style", NULL
2505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2508 arg2
= (int) SWIG_AsInt(obj1
);
2509 if (PyErr_Occurred()) SWIG_fail
;
2511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2512 (arg1
)->SetStyle(arg2
);
2514 wxPyEndAllowThreads(__tstate
);
2515 if (PyErr_Occurred()) SWIG_fail
;
2517 Py_INCREF(Py_None
); resultobj
= Py_None
;
2524 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
*resultobj
;
2526 wxBrush
*arg1
= (wxBrush
*) 0 ;
2527 wxBitmap
*arg2
= 0 ;
2528 PyObject
* obj0
= 0 ;
2529 PyObject
* obj1
= 0 ;
2531 (char *) "self",(char *) "stipple", NULL
2534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2537 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2538 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2541 PyErr_SetString(PyExc_TypeError
,"null reference");
2545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2546 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2548 wxPyEndAllowThreads(__tstate
);
2549 if (PyErr_Occurred()) SWIG_fail
;
2551 Py_INCREF(Py_None
); resultobj
= Py_None
;
2558 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2559 PyObject
*resultobj
;
2560 wxBrush
*arg1
= (wxBrush
*) 0 ;
2562 PyObject
* obj0
= 0 ;
2564 (char *) "self", NULL
2567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 result
= ((wxBrush
const *)arg1
)->GetColour();
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2578 wxColour
* resultptr
;
2579 resultptr
= new wxColour((wxColour
&) result
);
2580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2588 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2589 PyObject
*resultobj
;
2590 wxBrush
*arg1
= (wxBrush
*) 0 ;
2592 PyObject
* obj0
= 0 ;
2594 (char *) "self", NULL
2597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2602 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2604 wxPyEndAllowThreads(__tstate
);
2605 if (PyErr_Occurred()) SWIG_fail
;
2607 resultobj
= SWIG_FromInt((int)result
);
2614 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
*resultobj
;
2616 wxBrush
*arg1
= (wxBrush
*) 0 ;
2618 PyObject
* obj0
= 0 ;
2620 (char *) "self", NULL
2623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2628 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2630 wxPyEndAllowThreads(__tstate
);
2631 if (PyErr_Occurred()) SWIG_fail
;
2633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2640 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2641 PyObject
*resultobj
;
2642 wxBrush
*arg1
= (wxBrush
*) 0 ;
2644 PyObject
* obj0
= 0 ;
2646 (char *) "self", NULL
2649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 result
= (bool)(arg1
)->Ok();
2656 wxPyEndAllowThreads(__tstate
);
2657 if (PyErr_Occurred()) SWIG_fail
;
2660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2668 static PyObject
*_wrap_Brush_GetMacTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
*resultobj
;
2670 wxBrush
*arg1
= (wxBrush
*) 0 ;
2672 PyObject
* obj0
= 0 ;
2674 (char *) "self", NULL
2677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetMacTheme",kwnames
,&obj0
)) goto fail
;
2678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2682 result
= (short)(arg1
)->GetMacTheme();
2684 wxPyEndAllowThreads(__tstate
);
2685 if (PyErr_Occurred()) SWIG_fail
;
2687 resultobj
= SWIG_FromShort((short)result
);
2694 static PyObject
*_wrap_Brush_SetMacTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2695 PyObject
*resultobj
;
2696 wxBrush
*arg1
= (wxBrush
*) 0 ;
2698 PyObject
* obj0
= 0 ;
2699 PyObject
* obj1
= 0 ;
2701 (char *) "self",(char *) "macThemeBrush", NULL
2704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetMacTheme",kwnames
,&obj0
,&obj1
)) goto fail
;
2705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2707 arg2
= (short) SWIG_AsShort(obj1
);
2708 if (PyErr_Occurred()) SWIG_fail
;
2710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2711 (arg1
)->SetMacTheme(arg2
);
2713 wxPyEndAllowThreads(__tstate
);
2714 if (PyErr_Occurred()) SWIG_fail
;
2716 Py_INCREF(Py_None
); resultobj
= Py_None
;
2723 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
2725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2726 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2728 return Py_BuildValue((char *)"");
2730 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2731 PyObject
*resultobj
;
2732 wxString
*arg1
= 0 ;
2733 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2735 bool temp1
= False
;
2736 PyObject
* obj0
= 0 ;
2737 PyObject
* obj1
= 0 ;
2739 (char *) "name",(char *) "type", NULL
2742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2744 arg1
= wxString_in_helper(obj0
);
2745 if (arg1
== NULL
) SWIG_fail
;
2749 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2750 if (PyErr_Occurred()) SWIG_fail
;
2753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2754 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2756 wxPyEndAllowThreads(__tstate
);
2757 if (PyErr_Occurred()) SWIG_fail
;
2759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2774 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
*resultobj
;
2776 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2777 PyObject
* obj0
= 0 ;
2779 (char *) "self", NULL
2782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2789 wxPyEndAllowThreads(__tstate
);
2790 if (PyErr_Occurred()) SWIG_fail
;
2792 Py_INCREF(Py_None
); resultobj
= Py_None
;
2799 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2800 PyObject
*resultobj
;
2803 int arg3
= (int) -1 ;
2805 PyObject
* obj0
= 0 ;
2806 PyObject
* obj1
= 0 ;
2807 PyObject
* obj2
= 0 ;
2809 (char *) "width",(char *) "height",(char *) "depth", NULL
2812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2813 arg1
= (int) SWIG_AsInt(obj0
);
2814 if (PyErr_Occurred()) SWIG_fail
;
2815 arg2
= (int) SWIG_AsInt(obj1
);
2816 if (PyErr_Occurred()) SWIG_fail
;
2818 arg3
= (int) SWIG_AsInt(obj2
);
2819 if (PyErr_Occurred()) SWIG_fail
;
2822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2823 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2825 wxPyEndAllowThreads(__tstate
);
2826 if (PyErr_Occurred()) SWIG_fail
;
2828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2835 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2836 PyObject
*resultobj
;
2839 PyObject
* obj0
= 0 ;
2841 (char *) "icon", NULL
2844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2846 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2849 PyErr_SetString(PyExc_TypeError
,"null reference");
2853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2854 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2856 wxPyEndAllowThreads(__tstate
);
2857 if (PyErr_Occurred()) SWIG_fail
;
2859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2866 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2867 PyObject
*resultobj
;
2869 int arg2
= (int) -1 ;
2871 PyObject
* obj0
= 0 ;
2872 PyObject
* obj1
= 0 ;
2874 (char *) "image",(char *) "depth", NULL
2877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2879 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2882 PyErr_SetString(PyExc_TypeError
,"null reference");
2886 arg2
= (int) SWIG_AsInt(obj1
);
2887 if (PyErr_Occurred()) SWIG_fail
;
2890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2891 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2893 wxPyEndAllowThreads(__tstate
);
2894 if (PyErr_Occurred()) SWIG_fail
;
2896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2903 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2904 PyObject
*resultobj
;
2905 PyObject
*arg1
= (PyObject
*) 0 ;
2907 PyObject
* obj0
= 0 ;
2909 (char *) "listOfStrings", NULL
2912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2916 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2918 wxPyEndAllowThreads(__tstate
);
2919 if (PyErr_Occurred()) SWIG_fail
;
2921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2928 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2929 PyObject
*resultobj
;
2930 PyObject
*arg1
= (PyObject
*) 0 ;
2933 int arg4
= (int) 1 ;
2935 PyObject
* obj0
= 0 ;
2936 PyObject
* obj1
= 0 ;
2937 PyObject
* obj2
= 0 ;
2938 PyObject
* obj3
= 0 ;
2940 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2945 arg2
= (int) SWIG_AsInt(obj1
);
2946 if (PyErr_Occurred()) SWIG_fail
;
2947 arg3
= (int) SWIG_AsInt(obj2
);
2948 if (PyErr_Occurred()) SWIG_fail
;
2950 arg4
= (int) SWIG_AsInt(obj3
);
2951 if (PyErr_Occurred()) SWIG_fail
;
2954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2955 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2957 wxPyEndAllowThreads(__tstate
);
2958 if (PyErr_Occurred()) SWIG_fail
;
2960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2967 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
*resultobj
;
2969 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2971 PyObject
* obj0
= 0 ;
2973 (char *) "self", NULL
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2981 result
= (bool)(arg1
)->Ok();
2983 wxPyEndAllowThreads(__tstate
);
2984 if (PyErr_Occurred()) SWIG_fail
;
2987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2995 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2996 PyObject
*resultobj
;
2997 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2999 PyObject
* obj0
= 0 ;
3001 (char *) "self", NULL
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
3005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3009 result
= (int)(arg1
)->GetWidth();
3011 wxPyEndAllowThreads(__tstate
);
3012 if (PyErr_Occurred()) SWIG_fail
;
3014 resultobj
= SWIG_FromInt((int)result
);
3021 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3022 PyObject
*resultobj
;
3023 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3025 PyObject
* obj0
= 0 ;
3027 (char *) "self", NULL
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
3031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3035 result
= (int)(arg1
)->GetHeight();
3037 wxPyEndAllowThreads(__tstate
);
3038 if (PyErr_Occurred()) SWIG_fail
;
3040 resultobj
= SWIG_FromInt((int)result
);
3047 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3048 PyObject
*resultobj
;
3049 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3051 PyObject
* obj0
= 0 ;
3053 (char *) "self", NULL
3056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
3057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3061 result
= (int)(arg1
)->GetDepth();
3063 wxPyEndAllowThreads(__tstate
);
3064 if (PyErr_Occurred()) SWIG_fail
;
3066 resultobj
= SWIG_FromInt((int)result
);
3073 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3074 PyObject
*resultobj
;
3075 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3076 SwigValueWrapper
< wxImage
> result
;
3077 PyObject
* obj0
= 0 ;
3079 (char *) "self", NULL
3082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3087 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3089 wxPyEndAllowThreads(__tstate
);
3090 if (PyErr_Occurred()) SWIG_fail
;
3093 wxImage
* resultptr
;
3094 resultptr
= new wxImage((wxImage
&) result
);
3095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3103 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3104 PyObject
*resultobj
;
3105 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3107 PyObject
* obj0
= 0 ;
3109 (char *) "self", NULL
3112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3117 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3119 wxPyEndAllowThreads(__tstate
);
3120 if (PyErr_Occurred()) SWIG_fail
;
3122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3129 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3130 PyObject
*resultobj
;
3131 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3132 wxMask
*arg2
= (wxMask
*) 0 ;
3133 PyObject
* obj0
= 0 ;
3134 PyObject
* obj1
= 0 ;
3136 (char *) "self",(char *) "mask", NULL
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3146 (arg1
)->SetMask(arg2
);
3148 wxPyEndAllowThreads(__tstate
);
3149 if (PyErr_Occurred()) SWIG_fail
;
3151 Py_INCREF(Py_None
); resultobj
= Py_None
;
3158 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3159 PyObject
*resultobj
;
3160 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3161 wxColour
*arg2
= 0 ;
3163 PyObject
* obj0
= 0 ;
3164 PyObject
* obj1
= 0 ;
3166 (char *) "self",(char *) "colour", NULL
3169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3174 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3180 wxPyEndAllowThreads(__tstate
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3183 Py_INCREF(Py_None
); resultobj
= Py_None
;
3190 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
*resultobj
;
3192 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3194 SwigValueWrapper
< wxBitmap
> result
;
3196 PyObject
* obj0
= 0 ;
3197 PyObject
* obj1
= 0 ;
3199 (char *) "self",(char *) "rect", NULL
3202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3207 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3211 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3213 wxPyEndAllowThreads(__tstate
);
3214 if (PyErr_Occurred()) SWIG_fail
;
3217 wxBitmap
* resultptr
;
3218 resultptr
= new wxBitmap((wxBitmap
&) result
);
3219 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3227 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3228 PyObject
*resultobj
;
3229 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3230 wxString
*arg2
= 0 ;
3232 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
3234 bool temp2
= False
;
3235 PyObject
* obj0
= 0 ;
3236 PyObject
* obj1
= 0 ;
3237 PyObject
* obj2
= 0 ;
3238 PyObject
* obj3
= 0 ;
3240 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3247 arg2
= wxString_in_helper(obj1
);
3248 if (arg2
== NULL
) SWIG_fail
;
3251 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3252 if (PyErr_Occurred()) SWIG_fail
;
3254 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3259 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3261 wxPyEndAllowThreads(__tstate
);
3262 if (PyErr_Occurred()) SWIG_fail
;
3265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3281 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
*resultobj
;
3283 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3284 wxString
*arg2
= 0 ;
3287 bool temp2
= False
;
3288 PyObject
* obj0
= 0 ;
3289 PyObject
* obj1
= 0 ;
3290 PyObject
* obj2
= 0 ;
3292 (char *) "self",(char *) "name",(char *) "type", NULL
3295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3299 arg2
= wxString_in_helper(obj1
);
3300 if (arg2
== NULL
) SWIG_fail
;
3303 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3304 if (PyErr_Occurred()) SWIG_fail
;
3306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3307 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3309 wxPyEndAllowThreads(__tstate
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3329 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3330 PyObject
*resultobj
;
3331 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3334 PyObject
* obj0
= 0 ;
3335 PyObject
* obj1
= 0 ;
3337 (char *) "self",(char *) "icon", NULL
3340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3344 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3347 PyErr_SetString(PyExc_TypeError
,"null reference");
3351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3352 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3354 wxPyEndAllowThreads(__tstate
);
3355 if (PyErr_Occurred()) SWIG_fail
;
3358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3366 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
*resultobj
;
3368 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3370 PyObject
* obj0
= 0 ;
3371 PyObject
* obj1
= 0 ;
3373 (char *) "self",(char *) "height", NULL
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3379 arg2
= (int) SWIG_AsInt(obj1
);
3380 if (PyErr_Occurred()) SWIG_fail
;
3382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3383 (arg1
)->SetHeight(arg2
);
3385 wxPyEndAllowThreads(__tstate
);
3386 if (PyErr_Occurred()) SWIG_fail
;
3388 Py_INCREF(Py_None
); resultobj
= Py_None
;
3395 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
*resultobj
;
3397 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3399 PyObject
* obj0
= 0 ;
3400 PyObject
* obj1
= 0 ;
3402 (char *) "self",(char *) "width", NULL
3405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3408 arg2
= (int) SWIG_AsInt(obj1
);
3409 if (PyErr_Occurred()) SWIG_fail
;
3411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3412 (arg1
)->SetWidth(arg2
);
3414 wxPyEndAllowThreads(__tstate
);
3415 if (PyErr_Occurred()) SWIG_fail
;
3417 Py_INCREF(Py_None
); resultobj
= Py_None
;
3424 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3425 PyObject
*resultobj
;
3426 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3428 PyObject
* obj0
= 0 ;
3429 PyObject
* obj1
= 0 ;
3431 (char *) "self",(char *) "depth", NULL
3434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3437 arg2
= (int) SWIG_AsInt(obj1
);
3438 if (PyErr_Occurred()) SWIG_fail
;
3440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3441 (arg1
)->SetDepth(arg2
);
3443 wxPyEndAllowThreads(__tstate
);
3444 if (PyErr_Occurred()) SWIG_fail
;
3446 Py_INCREF(Py_None
); resultobj
= Py_None
;
3453 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3454 PyObject
*resultobj
;
3455 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3456 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3458 PyObject
* obj0
= 0 ;
3459 PyObject
* obj1
= 0 ;
3461 (char *) "self",(char *) "other", NULL
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3473 wxPyEndAllowThreads(__tstate
);
3474 if (PyErr_Occurred()) SWIG_fail
;
3477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3485 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3486 PyObject
*resultobj
;
3487 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3488 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3490 PyObject
* obj0
= 0 ;
3491 PyObject
* obj1
= 0 ;
3493 (char *) "self",(char *) "other", NULL
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3499 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3517 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
3519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3520 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3522 return Py_BuildValue((char *)"");
3524 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
*resultobj
;
3526 wxBitmap
*arg1
= 0 ;
3527 wxColour
const &arg2_defvalue
= wxNullColour
;
3528 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3531 PyObject
* obj0
= 0 ;
3532 PyObject
* obj1
= 0 ;
3534 (char *) "bitmap",(char *) "colour", NULL
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3539 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3542 PyErr_SetString(PyExc_TypeError
,"null reference");
3548 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3553 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3555 wxPyEndAllowThreads(__tstate
);
3556 if (PyErr_Occurred()) SWIG_fail
;
3558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3565 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
3567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3568 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3570 return Py_BuildValue((char *)"");
3572 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3573 PyObject
*resultobj
;
3574 wxString
*arg1
= 0 ;
3576 int arg3
= (int) -1 ;
3577 int arg4
= (int) -1 ;
3579 bool temp1
= False
;
3580 PyObject
* obj0
= 0 ;
3581 PyObject
* obj1
= 0 ;
3582 PyObject
* obj2
= 0 ;
3583 PyObject
* obj3
= 0 ;
3585 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3590 arg1
= wxString_in_helper(obj0
);
3591 if (arg1
== NULL
) SWIG_fail
;
3594 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3595 if (PyErr_Occurred()) SWIG_fail
;
3597 arg3
= (int) SWIG_AsInt(obj2
);
3598 if (PyErr_Occurred()) SWIG_fail
;
3601 arg4
= (int) SWIG_AsInt(obj3
);
3602 if (PyErr_Occurred()) SWIG_fail
;
3605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3606 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3608 wxPyEndAllowThreads(__tstate
);
3609 if (PyErr_Occurred()) SWIG_fail
;
3611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3626 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3627 PyObject
*resultobj
;
3628 wxIcon
*arg1
= (wxIcon
*) 0 ;
3629 PyObject
* obj0
= 0 ;
3631 (char *) "self", NULL
3634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3641 wxPyEndAllowThreads(__tstate
);
3642 if (PyErr_Occurred()) SWIG_fail
;
3644 Py_INCREF(Py_None
); resultobj
= Py_None
;
3651 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3652 PyObject
*resultobj
;
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 result
= (wxIcon
*)new wxIcon();
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) SWIG_fail
;
3666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3673 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3674 PyObject
*resultobj
;
3675 wxIconLocation
*arg1
= 0 ;
3677 PyObject
* obj0
= 0 ;
3679 (char *) "loc", NULL
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3684 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3687 PyErr_SetString(PyExc_TypeError
,"null reference");
3691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3692 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3694 wxPyEndAllowThreads(__tstate
);
3695 if (PyErr_Occurred()) SWIG_fail
;
3697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3704 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
*resultobj
;
3706 wxBitmap
*arg1
= 0 ;
3708 PyObject
* obj0
= 0 ;
3710 (char *) "bmp", NULL
3713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3715 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3718 PyErr_SetString(PyExc_TypeError
,"null reference");
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) SWIG_fail
;
3728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3735 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3736 PyObject
*resultobj
;
3737 PyObject
*arg1
= (PyObject
*) 0 ;
3739 PyObject
* obj0
= 0 ;
3741 (char *) "listOfStrings", NULL
3744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3748 result
= (wxIcon
*)new_wxIcon(arg1
);
3750 wxPyEndAllowThreads(__tstate
);
3751 if (PyErr_Occurred()) SWIG_fail
;
3753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3760 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
*resultobj
;
3762 wxIcon
*arg1
= (wxIcon
*) 0 ;
3764 PyObject
* obj0
= 0 ;
3766 (char *) "self", NULL
3769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3774 result
= (bool)(arg1
)->Ok();
3776 wxPyEndAllowThreads(__tstate
);
3777 if (PyErr_Occurred()) SWIG_fail
;
3780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3788 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3789 PyObject
*resultobj
;
3790 wxIcon
*arg1
= (wxIcon
*) 0 ;
3792 PyObject
* obj0
= 0 ;
3794 (char *) "self", NULL
3797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3802 result
= (int)(arg1
)->GetWidth();
3804 wxPyEndAllowThreads(__tstate
);
3805 if (PyErr_Occurred()) SWIG_fail
;
3807 resultobj
= SWIG_FromInt((int)result
);
3814 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3815 PyObject
*resultobj
;
3816 wxIcon
*arg1
= (wxIcon
*) 0 ;
3818 PyObject
* obj0
= 0 ;
3820 (char *) "self", NULL
3823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3828 result
= (int)(arg1
)->GetHeight();
3830 wxPyEndAllowThreads(__tstate
);
3831 if (PyErr_Occurred()) SWIG_fail
;
3833 resultobj
= SWIG_FromInt((int)result
);
3840 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3841 PyObject
*resultobj
;
3842 wxIcon
*arg1
= (wxIcon
*) 0 ;
3844 PyObject
* obj0
= 0 ;
3846 (char *) "self", NULL
3849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 result
= (int)(arg1
)->GetDepth();
3856 wxPyEndAllowThreads(__tstate
);
3857 if (PyErr_Occurred()) SWIG_fail
;
3859 resultobj
= SWIG_FromInt((int)result
);
3866 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3867 PyObject
*resultobj
;
3868 wxIcon
*arg1
= (wxIcon
*) 0 ;
3870 PyObject
* obj0
= 0 ;
3871 PyObject
* obj1
= 0 ;
3873 (char *) "self",(char *) "w", NULL
3876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3879 arg2
= (int) SWIG_AsInt(obj1
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3883 (arg1
)->SetWidth(arg2
);
3885 wxPyEndAllowThreads(__tstate
);
3886 if (PyErr_Occurred()) SWIG_fail
;
3888 Py_INCREF(Py_None
); resultobj
= Py_None
;
3895 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3896 PyObject
*resultobj
;
3897 wxIcon
*arg1
= (wxIcon
*) 0 ;
3899 PyObject
* obj0
= 0 ;
3900 PyObject
* obj1
= 0 ;
3902 (char *) "self",(char *) "h", NULL
3905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3908 arg2
= (int) SWIG_AsInt(obj1
);
3909 if (PyErr_Occurred()) SWIG_fail
;
3911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3912 (arg1
)->SetHeight(arg2
);
3914 wxPyEndAllowThreads(__tstate
);
3915 if (PyErr_Occurred()) SWIG_fail
;
3917 Py_INCREF(Py_None
); resultobj
= Py_None
;
3924 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3925 PyObject
*resultobj
;
3926 wxIcon
*arg1
= (wxIcon
*) 0 ;
3928 PyObject
* obj0
= 0 ;
3929 PyObject
* obj1
= 0 ;
3931 (char *) "self",(char *) "d", NULL
3934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3937 arg2
= (int) SWIG_AsInt(obj1
);
3938 if (PyErr_Occurred()) SWIG_fail
;
3940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3941 (arg1
)->SetDepth(arg2
);
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3946 Py_INCREF(Py_None
); resultobj
= Py_None
;
3953 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3954 PyObject
*resultobj
;
3955 wxIcon
*arg1
= (wxIcon
*) 0 ;
3956 wxBitmap
*arg2
= 0 ;
3957 PyObject
* obj0
= 0 ;
3958 PyObject
* obj1
= 0 ;
3960 (char *) "self",(char *) "bmp", NULL
3963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3966 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3967 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3970 PyErr_SetString(PyExc_TypeError
,"null reference");
3974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3975 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3977 wxPyEndAllowThreads(__tstate
);
3978 if (PyErr_Occurred()) SWIG_fail
;
3980 Py_INCREF(Py_None
); resultobj
= Py_None
;
3987 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
3989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3990 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3992 return Py_BuildValue((char *)"");
3994 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
3996 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3997 int arg2
= (int) 0 ;
3998 wxIconLocation
*result
;
3999 bool temp1
= False
;
4000 PyObject
* obj0
= 0 ;
4001 PyObject
* obj1
= 0 ;
4003 (char *) "filename",(char *) "num", NULL
4006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4009 arg1
= wxString_in_helper(obj0
);
4010 if (arg1
== NULL
) SWIG_fail
;
4015 arg2
= (int) SWIG_AsInt(obj1
);
4016 if (PyErr_Occurred()) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4040 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
*resultobj
;
4042 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4043 PyObject
* obj0
= 0 ;
4045 (char *) "self", NULL
4048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) SWIG_fail
;
4058 Py_INCREF(Py_None
); resultobj
= Py_None
;
4065 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
*resultobj
;
4067 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4069 PyObject
* obj0
= 0 ;
4071 (char *) "self", NULL
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4079 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4081 wxPyEndAllowThreads(__tstate
);
4082 if (PyErr_Occurred()) SWIG_fail
;
4085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4093 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
;
4095 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4096 wxString
*arg2
= 0 ;
4097 bool temp2
= False
;
4098 PyObject
* obj0
= 0 ;
4099 PyObject
* obj1
= 0 ;
4101 (char *) "self",(char *) "filename", NULL
4104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4108 arg2
= wxString_in_helper(obj1
);
4109 if (arg2
== NULL
) SWIG_fail
;
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 (arg1
)->SetFileName((wxString
const &)*arg2
);
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4119 Py_INCREF(Py_None
); resultobj
= Py_None
;
4134 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4135 PyObject
*resultobj
;
4136 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4138 PyObject
* obj0
= 0 ;
4140 (char *) "self", NULL
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4150 result
= (wxString
*) &_result_ref
;
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) SWIG_fail
;
4158 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4160 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4169 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
*resultobj
;
4171 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4173 PyObject
* obj0
= 0 ;
4174 PyObject
* obj1
= 0 ;
4176 (char *) "self",(char *) "num", NULL
4179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4182 arg2
= (int) SWIG_AsInt(obj1
);
4183 if (PyErr_Occurred()) SWIG_fail
;
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 wxIconLocation_SetIndex(arg1
,arg2
);
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4191 Py_INCREF(Py_None
); resultobj
= Py_None
;
4198 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
*resultobj
;
4200 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4202 PyObject
* obj0
= 0 ;
4204 (char *) "self", NULL
4207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4212 result
= (int)wxIconLocation_GetIndex(arg1
);
4214 wxPyEndAllowThreads(__tstate
);
4215 if (PyErr_Occurred()) SWIG_fail
;
4217 resultobj
= SWIG_FromInt((int)result
);
4224 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
4226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4227 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4229 return Py_BuildValue((char *)"");
4231 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
*resultobj
;
4233 wxIconBundle
*result
;
4238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4241 result
= (wxIconBundle
*)new wxIconBundle();
4243 wxPyEndAllowThreads(__tstate
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4253 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
*resultobj
;
4255 wxString
*arg1
= 0 ;
4257 wxIconBundle
*result
;
4258 bool temp1
= False
;
4259 PyObject
* obj0
= 0 ;
4260 PyObject
* obj1
= 0 ;
4262 (char *) "file",(char *) "type", NULL
4265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4267 arg1
= wxString_in_helper(obj0
);
4268 if (arg1
== NULL
) SWIG_fail
;
4271 arg2
= (long) SWIG_AsLong(obj1
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4295 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
*resultobj
;
4298 wxIconBundle
*result
;
4299 PyObject
* obj0
= 0 ;
4301 (char *) "icon", NULL
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4306 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4309 PyErr_SetString(PyExc_TypeError
,"null reference");
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) SWIG_fail
;
4319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4326 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4327 PyObject
*resultobj
;
4328 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4329 PyObject
* obj0
= 0 ;
4331 (char *) "self", NULL
4334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4341 wxPyEndAllowThreads(__tstate
);
4342 if (PyErr_Occurred()) SWIG_fail
;
4344 Py_INCREF(Py_None
); resultobj
= Py_None
;
4351 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4352 PyObject
*resultobj
;
4353 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4355 PyObject
* obj0
= 0 ;
4356 PyObject
* obj1
= 0 ;
4358 (char *) "self",(char *) "icon", NULL
4361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4365 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4368 PyErr_SetString(PyExc_TypeError
,"null reference");
4372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4373 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4375 wxPyEndAllowThreads(__tstate
);
4376 if (PyErr_Occurred()) SWIG_fail
;
4378 Py_INCREF(Py_None
); resultobj
= Py_None
;
4385 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
*resultobj
;
4387 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4388 wxString
*arg2
= 0 ;
4390 bool temp2
= False
;
4391 PyObject
* obj0
= 0 ;
4392 PyObject
* obj1
= 0 ;
4393 PyObject
* obj2
= 0 ;
4395 (char *) "self",(char *) "file",(char *) "type", NULL
4398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4402 arg2
= wxString_in_helper(obj1
);
4403 if (arg2
== NULL
) SWIG_fail
;
4406 arg3
= (long) SWIG_AsLong(obj2
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4410 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4412 wxPyEndAllowThreads(__tstate
);
4413 if (PyErr_Occurred()) SWIG_fail
;
4415 Py_INCREF(Py_None
); resultobj
= Py_None
;
4430 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
*resultobj
;
4432 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4436 PyObject
* obj0
= 0 ;
4437 PyObject
* obj1
= 0 ;
4439 (char *) "self",(char *) "size", NULL
4442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4447 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4453 result
= (wxIcon
*) &_result_ref
;
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4460 wxIcon
* resultptr
= new wxIcon(*result
);
4461 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4469 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
4471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4472 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4474 return Py_BuildValue((char *)"");
4476 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
*resultobj
;
4478 wxString
*arg1
= (wxString
*) 0 ;
4480 int arg3
= (int) 0 ;
4481 int arg4
= (int) 0 ;
4483 bool temp1
= False
;
4484 PyObject
* obj0
= 0 ;
4485 PyObject
* obj1
= 0 ;
4486 PyObject
* obj2
= 0 ;
4487 PyObject
* obj3
= 0 ;
4489 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4494 arg1
= wxString_in_helper(obj0
);
4495 if (arg1
== NULL
) SWIG_fail
;
4498 arg2
= (long) SWIG_AsLong(obj1
);
4499 if (PyErr_Occurred()) SWIG_fail
;
4501 arg3
= (int) SWIG_AsInt(obj2
);
4502 if (PyErr_Occurred()) SWIG_fail
;
4505 arg4
= (int) SWIG_AsInt(obj3
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4510 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4512 wxPyEndAllowThreads(__tstate
);
4513 if (PyErr_Occurred()) SWIG_fail
;
4515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4530 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
*resultobj
;
4532 wxCursor
*arg1
= (wxCursor
*) 0 ;
4533 PyObject
* obj0
= 0 ;
4535 (char *) "self", NULL
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4545 wxPyEndAllowThreads(__tstate
);
4546 if (PyErr_Occurred()) SWIG_fail
;
4548 Py_INCREF(Py_None
); resultobj
= Py_None
;
4555 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
*resultobj
;
4559 PyObject
* obj0
= 0 ;
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4565 arg1
= (int) SWIG_AsInt(obj0
);
4566 if (PyErr_Occurred()) SWIG_fail
;
4568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4569 result
= (wxCursor
*)new wxCursor(arg1
);
4571 wxPyEndAllowThreads(__tstate
);
4572 if (PyErr_Occurred()) SWIG_fail
;
4574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4581 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4582 PyObject
*resultobj
;
4585 PyObject
* obj0
= 0 ;
4587 (char *) "image", NULL
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4592 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4595 PyErr_SetString(PyExc_TypeError
,"null reference");
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) SWIG_fail
;
4605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4612 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4613 PyObject
*resultobj
;
4614 wxCursor
*arg1
= (wxCursor
*) 0 ;
4616 PyObject
* obj0
= 0 ;
4618 (char *) "self", NULL
4621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 result
= (bool)(arg1
)->Ok();
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4640 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
4642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4643 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4645 return Py_BuildValue((char *)"");
4647 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
*resultobj
;
4649 int arg1
= (int) 0 ;
4650 int arg2
= (int) 0 ;
4651 int arg3
= (int) 0 ;
4652 int arg4
= (int) 0 ;
4654 PyObject
* obj0
= 0 ;
4655 PyObject
* obj1
= 0 ;
4656 PyObject
* obj2
= 0 ;
4657 PyObject
* obj3
= 0 ;
4659 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4664 arg1
= (int) SWIG_AsInt(obj0
);
4665 if (PyErr_Occurred()) SWIG_fail
;
4668 arg2
= (int) SWIG_AsInt(obj1
);
4669 if (PyErr_Occurred()) SWIG_fail
;
4672 arg3
= (int) SWIG_AsInt(obj2
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4676 arg4
= (int) SWIG_AsInt(obj3
);
4677 if (PyErr_Occurred()) SWIG_fail
;
4680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4681 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4683 wxPyEndAllowThreads(__tstate
);
4684 if (PyErr_Occurred()) SWIG_fail
;
4686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4693 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4694 PyObject
*resultobj
;
4695 wxBitmap
*arg1
= 0 ;
4696 wxColour
const &arg2_defvalue
= wxNullColour
;
4697 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4698 int arg3
= (int) 0 ;
4701 PyObject
* obj0
= 0 ;
4702 PyObject
* obj1
= 0 ;
4703 PyObject
* obj2
= 0 ;
4705 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4710 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4713 PyErr_SetString(PyExc_TypeError
,"null reference");
4719 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4723 arg3
= (int) SWIG_AsInt(obj2
);
4724 if (PyErr_Occurred()) SWIG_fail
;
4727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4728 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4730 wxPyEndAllowThreads(__tstate
);
4731 if (PyErr_Occurred()) SWIG_fail
;
4733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4740 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
*resultobj
;
4743 wxPoint
*arg2
= (wxPoint
*) 0 ;
4744 int arg3
= (int) wxWINDING_RULE
;
4746 PyObject
* obj0
= 0 ;
4747 PyObject
* obj1
= 0 ;
4749 (char *) "points",(char *) "fillStyle", NULL
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4754 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4755 if (arg2
== NULL
) SWIG_fail
;
4758 arg3
= (int) SWIG_AsInt(obj1
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4763 result
= (wxRegion
*)new_wxRegion(arg1
,arg2
,arg3
);
4765 wxPyEndAllowThreads(__tstate
);
4766 if (PyErr_Occurred()) SWIG_fail
;
4768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4770 if (arg2
) delete [] arg2
;
4775 if (arg2
) delete [] arg2
;
4781 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4782 PyObject
*resultobj
;
4783 wxRegion
*arg1
= (wxRegion
*) 0 ;
4784 PyObject
* obj0
= 0 ;
4786 (char *) "self", NULL
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4796 wxPyEndAllowThreads(__tstate
);
4797 if (PyErr_Occurred()) SWIG_fail
;
4799 Py_INCREF(Py_None
); resultobj
= Py_None
;
4806 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4807 PyObject
*resultobj
;
4808 wxRegion
*arg1
= (wxRegion
*) 0 ;
4809 PyObject
* obj0
= 0 ;
4811 (char *) "self", NULL
4814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4821 wxPyEndAllowThreads(__tstate
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4824 Py_INCREF(Py_None
); resultobj
= Py_None
;
4831 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4832 PyObject
*resultobj
;
4833 wxRegion
*arg1
= (wxRegion
*) 0 ;
4837 PyObject
* obj0
= 0 ;
4838 PyObject
* obj1
= 0 ;
4839 PyObject
* obj2
= 0 ;
4841 (char *) "self",(char *) "x",(char *) "y", NULL
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4847 arg2
= (int) SWIG_AsInt(obj1
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4849 arg3
= (int) SWIG_AsInt(obj2
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4853 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4858 resultobj
= SWIG_FromInt((int)result
);
4865 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
;
4867 wxRegion
*arg1
= (wxRegion
*) 0 ;
4871 PyObject
* obj0
= 0 ;
4872 PyObject
* obj1
= 0 ;
4874 (char *) "self",(char *) "pt", NULL
4877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4882 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4886 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) SWIG_fail
;
4891 resultobj
= SWIG_FromInt((int)result
);
4898 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4899 PyObject
*resultobj
;
4900 wxRegion
*arg1
= (wxRegion
*) 0 ;
4904 PyObject
* obj0
= 0 ;
4905 PyObject
* obj1
= 0 ;
4907 (char *) "self",(char *) "rect", NULL
4910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4915 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4919 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4921 wxPyEndAllowThreads(__tstate
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4924 resultobj
= SWIG_FromInt((int)result
);
4931 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4932 PyObject
*resultobj
;
4933 wxRegion
*arg1
= (wxRegion
*) 0 ;
4939 PyObject
* obj0
= 0 ;
4940 PyObject
* obj1
= 0 ;
4941 PyObject
* obj2
= 0 ;
4942 PyObject
* obj3
= 0 ;
4943 PyObject
* obj4
= 0 ;
4945 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4951 arg2
= (int) SWIG_AsInt(obj1
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4953 arg3
= (int) SWIG_AsInt(obj2
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4955 arg4
= (int) SWIG_AsInt(obj3
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4957 arg5
= (int) SWIG_AsInt(obj4
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4966 resultobj
= SWIG_FromInt((int)result
);
4973 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
*resultobj
;
4975 wxRegion
*arg1
= (wxRegion
*) 0 ;
4977 PyObject
* obj0
= 0 ;
4979 (char *) "self", NULL
4982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
4983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 result
= (arg1
)->GetBox();
4989 wxPyEndAllowThreads(__tstate
);
4990 if (PyErr_Occurred()) SWIG_fail
;
4994 resultptr
= new wxRect((wxRect
&) result
);
4995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5003 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
*resultobj
;
5005 wxRegion
*arg1
= (wxRegion
*) 0 ;
5011 PyObject
* obj0
= 0 ;
5012 PyObject
* obj1
= 0 ;
5013 PyObject
* obj2
= 0 ;
5014 PyObject
* obj3
= 0 ;
5015 PyObject
* obj4
= 0 ;
5017 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5023 arg2
= (int) SWIG_AsInt(obj1
);
5024 if (PyErr_Occurred()) SWIG_fail
;
5025 arg3
= (int) SWIG_AsInt(obj2
);
5026 if (PyErr_Occurred()) SWIG_fail
;
5027 arg4
= (int) SWIG_AsInt(obj3
);
5028 if (PyErr_Occurred()) SWIG_fail
;
5029 arg5
= (int) SWIG_AsInt(obj4
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5033 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5035 wxPyEndAllowThreads(__tstate
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5047 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
*resultobj
;
5049 wxRegion
*arg1
= (wxRegion
*) 0 ;
5053 PyObject
* obj0
= 0 ;
5054 PyObject
* obj1
= 0 ;
5056 (char *) "self",(char *) "rect", NULL
5059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5064 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5082 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5083 PyObject
*resultobj
;
5084 wxRegion
*arg1
= (wxRegion
*) 0 ;
5085 wxRegion
*arg2
= 0 ;
5087 PyObject
* obj0
= 0 ;
5088 PyObject
* obj1
= 0 ;
5090 (char *) "self",(char *) "region", NULL
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5097 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5100 PyErr_SetString(PyExc_TypeError
,"null reference");
5104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5105 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) SWIG_fail
;
5111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5119 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5120 PyObject
*resultobj
;
5121 wxRegion
*arg1
= (wxRegion
*) 0 ;
5123 PyObject
* obj0
= 0 ;
5125 (char *) "self", NULL
5128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5133 result
= (bool)(arg1
)->IsEmpty();
5135 wxPyEndAllowThreads(__tstate
);
5136 if (PyErr_Occurred()) SWIG_fail
;
5139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5147 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
*resultobj
;
5149 wxRegion
*arg1
= (wxRegion
*) 0 ;
5155 PyObject
* obj0
= 0 ;
5156 PyObject
* obj1
= 0 ;
5157 PyObject
* obj2
= 0 ;
5158 PyObject
* obj3
= 0 ;
5159 PyObject
* obj4
= 0 ;
5161 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5167 arg2
= (int) SWIG_AsInt(obj1
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5169 arg3
= (int) SWIG_AsInt(obj2
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5171 arg4
= (int) SWIG_AsInt(obj3
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5173 arg5
= (int) SWIG_AsInt(obj4
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5177 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5191 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
*resultobj
;
5193 wxRegion
*arg1
= (wxRegion
*) 0 ;
5197 PyObject
* obj0
= 0 ;
5198 PyObject
* obj1
= 0 ;
5200 (char *) "self",(char *) "rect", NULL
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5208 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5212 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5226 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5227 PyObject
*resultobj
;
5228 wxRegion
*arg1
= (wxRegion
*) 0 ;
5229 wxRegion
*arg2
= 0 ;
5231 PyObject
* obj0
= 0 ;
5232 PyObject
* obj1
= 0 ;
5234 (char *) "self",(char *) "region", NULL
5237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5240 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5241 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5244 PyErr_SetString(PyExc_TypeError
,"null reference");
5248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5249 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5251 wxPyEndAllowThreads(__tstate
);
5252 if (PyErr_Occurred()) SWIG_fail
;
5255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5263 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5264 PyObject
*resultobj
;
5265 wxRegion
*arg1
= (wxRegion
*) 0 ;
5271 PyObject
* obj0
= 0 ;
5272 PyObject
* obj1
= 0 ;
5273 PyObject
* obj2
= 0 ;
5274 PyObject
* obj3
= 0 ;
5275 PyObject
* obj4
= 0 ;
5277 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5283 arg2
= (int) SWIG_AsInt(obj1
);
5284 if (PyErr_Occurred()) SWIG_fail
;
5285 arg3
= (int) SWIG_AsInt(obj2
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5287 arg4
= (int) SWIG_AsInt(obj3
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5289 arg5
= (int) SWIG_AsInt(obj4
);
5290 if (PyErr_Occurred()) SWIG_fail
;
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5307 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
*resultobj
;
5309 wxRegion
*arg1
= (wxRegion
*) 0 ;
5313 PyObject
* obj0
= 0 ;
5314 PyObject
* obj1
= 0 ;
5316 (char *) "self",(char *) "rect", NULL
5319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5324 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5342 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
*resultobj
;
5344 wxRegion
*arg1
= (wxRegion
*) 0 ;
5345 wxRegion
*arg2
= 0 ;
5347 PyObject
* obj0
= 0 ;
5348 PyObject
* obj1
= 0 ;
5350 (char *) "self",(char *) "region", NULL
5353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5357 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5360 PyErr_SetString(PyExc_TypeError
,"null reference");
5364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5365 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5367 wxPyEndAllowThreads(__tstate
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5379 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5380 PyObject
*resultobj
;
5381 wxRegion
*arg1
= (wxRegion
*) 0 ;
5387 PyObject
* obj0
= 0 ;
5388 PyObject
* obj1
= 0 ;
5389 PyObject
* obj2
= 0 ;
5390 PyObject
* obj3
= 0 ;
5391 PyObject
* obj4
= 0 ;
5393 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5399 arg2
= (int) SWIG_AsInt(obj1
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5401 arg3
= (int) SWIG_AsInt(obj2
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5403 arg4
= (int) SWIG_AsInt(obj3
);
5404 if (PyErr_Occurred()) SWIG_fail
;
5405 arg5
= (int) SWIG_AsInt(obj4
);
5406 if (PyErr_Occurred()) SWIG_fail
;
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5423 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5424 PyObject
*resultobj
;
5425 wxRegion
*arg1
= (wxRegion
*) 0 ;
5429 PyObject
* obj0
= 0 ;
5430 PyObject
* obj1
= 0 ;
5432 (char *) "self",(char *) "rect", NULL
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5440 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5444 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5446 wxPyEndAllowThreads(__tstate
);
5447 if (PyErr_Occurred()) SWIG_fail
;
5450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5458 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5459 PyObject
*resultobj
;
5460 wxRegion
*arg1
= (wxRegion
*) 0 ;
5461 wxRegion
*arg2
= 0 ;
5463 PyObject
* obj0
= 0 ;
5464 PyObject
* obj1
= 0 ;
5466 (char *) "self",(char *) "region", NULL
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5476 PyErr_SetString(PyExc_TypeError
,"null reference");
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5481 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5483 wxPyEndAllowThreads(__tstate
);
5484 if (PyErr_Occurred()) SWIG_fail
;
5487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5495 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5496 PyObject
*resultobj
;
5497 wxRegion
*arg1
= (wxRegion
*) 0 ;
5498 SwigValueWrapper
< wxBitmap
> result
;
5499 PyObject
* obj0
= 0 ;
5501 (char *) "self", NULL
5504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5509 result
= (arg1
)->ConvertToBitmap();
5511 wxPyEndAllowThreads(__tstate
);
5512 if (PyErr_Occurred()) SWIG_fail
;
5515 wxBitmap
* resultptr
;
5516 resultptr
= new wxBitmap((wxBitmap
&) result
);
5517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5525 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5526 PyObject
*resultobj
;
5527 wxRegion
*arg1
= (wxRegion
*) 0 ;
5528 wxBitmap
*arg2
= 0 ;
5529 wxColour
const &arg3_defvalue
= wxNullColour
;
5530 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
5531 int arg4
= (int) 0 ;
5534 PyObject
* obj0
= 0 ;
5535 PyObject
* obj1
= 0 ;
5536 PyObject
* obj2
= 0 ;
5537 PyObject
* obj3
= 0 ;
5539 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5545 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5546 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5549 PyErr_SetString(PyExc_TypeError
,"null reference");
5555 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5559 arg4
= (int) SWIG_AsInt(obj3
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5564 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5566 wxPyEndAllowThreads(__tstate
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5578 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
5580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5581 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5583 return Py_BuildValue((char *)"");
5585 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5586 PyObject
*resultobj
;
5587 wxRegion
*arg1
= 0 ;
5588 wxRegionIterator
*result
;
5589 PyObject
* obj0
= 0 ;
5591 (char *) "region", NULL
5594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5596 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5599 PyErr_SetString(PyExc_TypeError
,"null reference");
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5606 wxPyEndAllowThreads(__tstate
);
5607 if (PyErr_Occurred()) SWIG_fail
;
5609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5616 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
*resultobj
;
5618 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5619 PyObject
* obj0
= 0 ;
5621 (char *) "self", NULL
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5634 Py_INCREF(Py_None
); resultobj
= Py_None
;
5641 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
*resultobj
;
5643 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5645 PyObject
* obj0
= 0 ;
5647 (char *) "self", NULL
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 result
= (int)(arg1
)->GetX();
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5660 resultobj
= SWIG_FromInt((int)result
);
5667 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
*resultobj
;
5669 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5671 PyObject
* obj0
= 0 ;
5673 (char *) "self", NULL
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5681 result
= (int)(arg1
)->GetY();
5683 wxPyEndAllowThreads(__tstate
);
5684 if (PyErr_Occurred()) SWIG_fail
;
5686 resultobj
= SWIG_FromInt((int)result
);
5693 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5694 PyObject
*resultobj
;
5695 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5697 PyObject
* obj0
= 0 ;
5699 (char *) "self", NULL
5702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 result
= (int)(arg1
)->GetW();
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) SWIG_fail
;
5712 resultobj
= SWIG_FromInt((int)result
);
5719 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
*resultobj
;
5721 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5723 PyObject
* obj0
= 0 ;
5725 (char *) "self", NULL
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 result
= (int)(arg1
)->GetWidth();
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5738 resultobj
= SWIG_FromInt((int)result
);
5745 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5749 PyObject
* obj0
= 0 ;
5751 (char *) "self", NULL
5754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 result
= (int)(arg1
)->GetH();
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5764 resultobj
= SWIG_FromInt((int)result
);
5771 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
*resultobj
;
5773 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5775 PyObject
* obj0
= 0 ;
5777 (char *) "self", NULL
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 result
= (int)(arg1
)->GetHeight();
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5790 resultobj
= SWIG_FromInt((int)result
);
5797 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
*resultobj
;
5799 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5801 PyObject
* obj0
= 0 ;
5803 (char *) "self", NULL
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 result
= (arg1
)->GetRect();
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5818 resultptr
= new wxRect((wxRect
&) result
);
5819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5827 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5828 PyObject
*resultobj
;
5829 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5831 PyObject
* obj0
= 0 ;
5833 (char *) "self", NULL
5836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5841 result
= (bool)(arg1
)->HaveRects();
5843 wxPyEndAllowThreads(__tstate
);
5844 if (PyErr_Occurred()) SWIG_fail
;
5847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5855 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
;
5857 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5858 PyObject
* obj0
= 0 ;
5860 (char *) "self", NULL
5863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5870 wxPyEndAllowThreads(__tstate
);
5871 if (PyErr_Occurred()) SWIG_fail
;
5873 Py_INCREF(Py_None
); resultobj
= Py_None
;
5880 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5881 PyObject
*resultobj
;
5882 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5883 PyObject
* obj0
= 0 ;
5885 (char *) "self", NULL
5888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5893 wxRegionIterator_Next(arg1
);
5895 wxPyEndAllowThreads(__tstate
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5898 Py_INCREF(Py_None
); resultobj
= Py_None
;
5905 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5906 PyObject
*resultobj
;
5907 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5909 PyObject
* obj0
= 0 ;
5911 (char *) "self", NULL
5914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) SWIG_fail
;
5925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5933 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
5935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5936 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
5938 return Py_BuildValue((char *)"");
5940 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
*resultobj
;
5942 wxNativeFontInfo
*result
;
5947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5950 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
5962 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
*resultobj
;
5964 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5965 PyObject
* obj0
= 0 ;
5967 (char *) "self", NULL
5970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
5971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5980 Py_INCREF(Py_None
); resultobj
= Py_None
;
5987 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5988 PyObject
*resultobj
;
5989 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5990 PyObject
* obj0
= 0 ;
5992 (char *) "self", NULL
5995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
5996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6002 wxPyEndAllowThreads(__tstate
);
6003 if (PyErr_Occurred()) SWIG_fail
;
6005 Py_INCREF(Py_None
); resultobj
= Py_None
;
6012 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
*resultobj
;
6014 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6016 PyObject
* obj0
= 0 ;
6017 PyObject
* obj1
= 0 ;
6019 (char *) "self",(char *) "font", NULL
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6025 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6026 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6029 PyErr_SetString(PyExc_TypeError
,"null reference");
6033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6034 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6036 wxPyEndAllowThreads(__tstate
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6039 Py_INCREF(Py_None
); resultobj
= Py_None
;
6046 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6047 PyObject
*resultobj
;
6048 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6050 PyObject
* obj0
= 0 ;
6052 (char *) "self", NULL
6055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6062 wxPyEndAllowThreads(__tstate
);
6063 if (PyErr_Occurred()) SWIG_fail
;
6065 resultobj
= SWIG_FromInt((int)result
);
6072 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6073 PyObject
*resultobj
;
6074 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6076 PyObject
* obj0
= 0 ;
6078 (char *) "self", NULL
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6091 resultobj
= SWIG_FromInt((int)result
);
6098 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
*resultobj
;
6100 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6102 PyObject
* obj0
= 0 ;
6104 (char *) "self", NULL
6107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6117 resultobj
= SWIG_FromInt((int)result
);
6124 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
*resultobj
;
6126 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6128 PyObject
* obj0
= 0 ;
6130 (char *) "self", NULL
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6138 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6140 wxPyEndAllowThreads(__tstate
);
6141 if (PyErr_Occurred()) SWIG_fail
;
6144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6152 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
*resultobj
;
6154 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6156 PyObject
* obj0
= 0 ;
6158 (char *) "self", NULL
6161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6168 wxPyEndAllowThreads(__tstate
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6173 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6175 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6184 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
*resultobj
;
6186 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6188 PyObject
* obj0
= 0 ;
6190 (char *) "self", NULL
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6200 wxPyEndAllowThreads(__tstate
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6203 resultobj
= SWIG_FromInt((int)result
);
6210 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
*resultobj
;
6212 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6214 PyObject
* obj0
= 0 ;
6216 (char *) "self", NULL
6219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6224 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6226 wxPyEndAllowThreads(__tstate
);
6227 if (PyErr_Occurred()) SWIG_fail
;
6229 resultobj
= SWIG_FromInt((int)result
);
6236 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
*resultobj
;
6238 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6240 PyObject
* obj0
= 0 ;
6241 PyObject
* obj1
= 0 ;
6243 (char *) "self",(char *) "pointsize", NULL
6246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6249 arg2
= (int) SWIG_AsInt(obj1
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 (arg1
)->SetPointSize(arg2
);
6255 wxPyEndAllowThreads(__tstate
);
6256 if (PyErr_Occurred()) SWIG_fail
;
6258 Py_INCREF(Py_None
); resultobj
= Py_None
;
6265 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
*resultobj
;
6267 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6269 PyObject
* obj0
= 0 ;
6270 PyObject
* obj1
= 0 ;
6272 (char *) "self",(char *) "style", NULL
6275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6278 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6279 if (PyErr_Occurred()) SWIG_fail
;
6281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6282 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6287 Py_INCREF(Py_None
); resultobj
= Py_None
;
6294 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
;
6296 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6298 PyObject
* obj0
= 0 ;
6299 PyObject
* obj1
= 0 ;
6301 (char *) "self",(char *) "weight", NULL
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6307 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6308 if (PyErr_Occurred()) SWIG_fail
;
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6316 Py_INCREF(Py_None
); resultobj
= Py_None
;
6323 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
*resultobj
;
6325 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6327 PyObject
* obj0
= 0 ;
6328 PyObject
* obj1
= 0 ;
6330 (char *) "self",(char *) "underlined", NULL
6333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6336 arg2
= (bool) SWIG_AsBool(obj1
);
6337 if (PyErr_Occurred()) SWIG_fail
;
6339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6340 (arg1
)->SetUnderlined(arg2
);
6342 wxPyEndAllowThreads(__tstate
);
6343 if (PyErr_Occurred()) SWIG_fail
;
6345 Py_INCREF(Py_None
); resultobj
= Py_None
;
6352 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6353 PyObject
*resultobj
;
6354 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6356 PyObject
* obj0
= 0 ;
6357 PyObject
* obj1
= 0 ;
6359 (char *) "self",(char *) "facename", NULL
6362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6366 wxString
* sptr
= wxString_in_helper(obj1
);
6367 if (sptr
== NULL
) SWIG_fail
;
6372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6373 (arg1
)->SetFaceName(arg2
);
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6378 Py_INCREF(Py_None
); resultobj
= Py_None
;
6385 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6386 PyObject
*resultobj
;
6387 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6389 PyObject
* obj0
= 0 ;
6390 PyObject
* obj1
= 0 ;
6392 (char *) "self",(char *) "family", NULL
6395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6398 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
6399 if (PyErr_Occurred()) SWIG_fail
;
6401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6402 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6404 wxPyEndAllowThreads(__tstate
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6407 Py_INCREF(Py_None
); resultobj
= Py_None
;
6414 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
*resultobj
;
6416 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6418 PyObject
* obj0
= 0 ;
6419 PyObject
* obj1
= 0 ;
6421 (char *) "self",(char *) "encoding", NULL
6424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6427 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6428 if (PyErr_Occurred()) SWIG_fail
;
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6436 Py_INCREF(Py_None
); resultobj
= Py_None
;
6443 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
*resultobj
;
6445 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6446 wxString
*arg2
= 0 ;
6448 bool temp2
= False
;
6449 PyObject
* obj0
= 0 ;
6450 PyObject
* obj1
= 0 ;
6452 (char *) "self",(char *) "s", NULL
6455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6459 arg2
= wxString_in_helper(obj1
);
6460 if (arg2
== NULL
) SWIG_fail
;
6464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6465 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6467 wxPyEndAllowThreads(__tstate
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6487 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
*resultobj
;
6489 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6491 PyObject
* obj0
= 0 ;
6493 (char *) "self", NULL
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6508 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6510 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6519 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6520 PyObject
*resultobj
;
6521 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6523 PyObject
* obj0
= 0 ;
6525 (char *) "self", NULL
6528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6533 result
= wxNativeFontInfo___str__(arg1
);
6535 wxPyEndAllowThreads(__tstate
);
6536 if (PyErr_Occurred()) SWIG_fail
;
6540 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6542 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6551 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
*resultobj
;
6553 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6554 wxString
*arg2
= 0 ;
6556 bool temp2
= False
;
6557 PyObject
* obj0
= 0 ;
6558 PyObject
* obj1
= 0 ;
6560 (char *) "self",(char *) "s", NULL
6563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6567 arg2
= wxString_in_helper(obj1
);
6568 if (arg2
== NULL
) SWIG_fail
;
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6595 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6596 PyObject
*resultobj
;
6597 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6599 PyObject
* obj0
= 0 ;
6601 (char *) "self", NULL
6604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6611 wxPyEndAllowThreads(__tstate
);
6612 if (PyErr_Occurred()) SWIG_fail
;
6616 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6618 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6627 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
6629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6630 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6632 return Py_BuildValue((char *)"");
6634 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
;
6636 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6637 wxString
*arg2
= (wxString
*) 0 ;
6638 bool temp2
= False
;
6639 PyObject
* obj0
= 0 ;
6640 PyObject
* obj1
= 0 ;
6642 (char *) "self",(char *) "facename", NULL
6645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6649 arg2
= wxString_in_helper(obj1
);
6650 if (arg2
== NULL
) SWIG_fail
;
6653 if (arg1
) (arg1
)->facename
= *arg2
;
6655 Py_INCREF(Py_None
); resultobj
= Py_None
;
6670 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6671 PyObject
*resultobj
;
6672 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6674 PyObject
* obj0
= 0 ;
6676 (char *) "self", NULL
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6682 result
= (wxString
*)& ((arg1
)->facename
);
6686 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6688 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6697 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
*resultobj
;
6699 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6701 PyObject
* obj0
= 0 ;
6702 PyObject
* obj1
= 0 ;
6704 (char *) "self",(char *) "encoding", NULL
6707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6710 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6711 if (PyErr_Occurred()) SWIG_fail
;
6712 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6714 Py_INCREF(Py_None
); resultobj
= Py_None
;
6721 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6722 PyObject
*resultobj
;
6723 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6725 PyObject
* obj0
= 0 ;
6727 (char *) "self", NULL
6730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6733 result
= (int) ((arg1
)->encoding
);
6735 resultobj
= SWIG_FromInt((int)result
);
6742 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
*resultobj
;
6744 wxNativeEncodingInfo
*result
;
6749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6752 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) SWIG_fail
;
6757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6764 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6765 PyObject
*resultobj
;
6766 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6767 PyObject
* obj0
= 0 ;
6769 (char *) "self", NULL
6772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6779 wxPyEndAllowThreads(__tstate
);
6780 if (PyErr_Occurred()) SWIG_fail
;
6782 Py_INCREF(Py_None
); resultobj
= Py_None
;
6789 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
*resultobj
;
6791 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6792 wxString
*arg2
= 0 ;
6794 bool temp2
= False
;
6795 PyObject
* obj0
= 0 ;
6796 PyObject
* obj1
= 0 ;
6798 (char *) "self",(char *) "s", NULL
6801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6805 arg2
= wxString_in_helper(obj1
);
6806 if (arg2
== NULL
) SWIG_fail
;
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6833 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6834 PyObject
*resultobj
;
6835 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6837 PyObject
* obj0
= 0 ;
6839 (char *) "self", NULL
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6847 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6849 wxPyEndAllowThreads(__tstate
);
6850 if (PyErr_Occurred()) SWIG_fail
;
6854 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6856 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6865 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
6867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6868 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6870 return Py_BuildValue((char *)"");
6872 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6873 PyObject
*resultobj
;
6875 wxNativeEncodingInfo
*result
;
6876 PyObject
* obj0
= 0 ;
6878 (char *) "encoding", NULL
6881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
6882 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6886 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6888 wxPyEndAllowThreads(__tstate
);
6889 if (PyErr_Occurred()) SWIG_fail
;
6891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6898 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6899 PyObject
*resultobj
;
6900 wxNativeEncodingInfo
*arg1
= 0 ;
6902 PyObject
* obj0
= 0 ;
6904 (char *) "info", NULL
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6909 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6912 PyErr_SetString(PyExc_TypeError
,"null reference");
6916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6917 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6919 wxPyEndAllowThreads(__tstate
);
6920 if (PyErr_Occurred()) SWIG_fail
;
6923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6931 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6932 PyObject
*resultobj
;
6933 wxFontMapper
*result
;
6938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
6940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6941 result
= (wxFontMapper
*)new wxFontMapper();
6943 wxPyEndAllowThreads(__tstate
);
6944 if (PyErr_Occurred()) SWIG_fail
;
6946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
6953 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6954 PyObject
*resultobj
;
6955 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6956 PyObject
* obj0
= 0 ;
6958 (char *) "self", NULL
6961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
6962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
6963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 wxPyEndAllowThreads(__tstate
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6971 Py_INCREF(Py_None
); resultobj
= Py_None
;
6978 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
*resultobj
;
6980 wxFontMapper
*result
;
6985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
6987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6988 result
= (wxFontMapper
*)wxFontMapper::Get();
6990 wxPyEndAllowThreads(__tstate
);
6991 if (PyErr_Occurred()) SWIG_fail
;
6993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7000 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
*resultobj
;
7002 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7003 wxFontMapper
*result
;
7004 PyObject
* obj0
= 0 ;
7006 (char *) "mapper", NULL
7009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7014 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7016 wxPyEndAllowThreads(__tstate
);
7017 if (PyErr_Occurred()) SWIG_fail
;
7019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7026 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
*resultobj
;
7028 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7029 wxString
*arg2
= 0 ;
7030 bool arg3
= (bool) True
;
7032 bool temp2
= False
;
7033 PyObject
* obj0
= 0 ;
7034 PyObject
* obj1
= 0 ;
7035 PyObject
* obj2
= 0 ;
7037 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7044 arg2
= wxString_in_helper(obj1
);
7045 if (arg2
== NULL
) SWIG_fail
;
7049 arg3
= (bool) SWIG_AsBool(obj2
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7054 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7056 wxPyEndAllowThreads(__tstate
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7059 resultobj
= SWIG_FromInt((int)result
);
7074 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
;
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7084 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7089 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7096 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7097 PyObject
*resultobj
;
7100 PyObject
* obj0
= 0 ;
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7106 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 result
= (int)wxFontMapper::GetEncoding(arg1
);
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7115 resultobj
= SWIG_FromInt((int)result
);
7122 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
;
7126 PyObject
* obj0
= 0 ;
7128 (char *) "encoding", NULL
7131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7132 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7143 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7145 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7154 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7155 PyObject
*resultobj
;
7158 PyObject
* obj0
= 0 ;
7160 (char *) "encoding", NULL
7163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7164 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7165 if (PyErr_Occurred()) SWIG_fail
;
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7175 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7177 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7186 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
*resultobj
;
7188 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7189 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7190 PyObject
* obj0
= 0 ;
7191 PyObject
* obj1
= 0 ;
7193 (char *) "self",(char *) "config", NULL
7196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7199 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7203 (arg1
)->SetConfig(arg2
);
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7208 Py_INCREF(Py_None
); resultobj
= Py_None
;
7215 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
*resultobj
;
7217 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7218 wxString
*arg2
= 0 ;
7219 bool temp2
= False
;
7220 PyObject
* obj0
= 0 ;
7221 PyObject
* obj1
= 0 ;
7223 (char *) "self",(char *) "prefix", NULL
7226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7230 arg2
= wxString_in_helper(obj1
);
7231 if (arg2
== NULL
) SWIG_fail
;
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7236 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7241 Py_INCREF(Py_None
); resultobj
= Py_None
;
7256 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
;
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7266 result
= wxFontMapper::GetDefaultConfigPath();
7268 wxPyEndAllowThreads(__tstate
);
7269 if (PyErr_Occurred()) SWIG_fail
;
7273 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7275 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7284 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7285 PyObject
*resultobj
;
7286 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7288 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7289 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7290 bool arg4
= (bool) True
;
7292 bool temp3
= False
;
7293 PyObject
* obj0
= 0 ;
7294 PyObject
* obj1
= 0 ;
7295 PyObject
* obj2
= 0 ;
7296 PyObject
* obj3
= 0 ;
7298 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7304 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7308 arg3
= wxString_in_helper(obj2
);
7309 if (arg3
== NULL
) SWIG_fail
;
7314 arg4
= (bool) SWIG_AsBool(obj3
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7339 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7340 PyObject
*resultobj
;
7341 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7343 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7344 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7346 bool temp3
= False
;
7347 PyObject
* obj0
= 0 ;
7348 PyObject
* obj1
= 0 ;
7349 PyObject
* obj2
= 0 ;
7351 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7357 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7358 if (PyErr_Occurred()) SWIG_fail
;
7361 arg3
= wxString_in_helper(obj2
);
7362 if (arg3
== NULL
) SWIG_fail
;
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7370 wxPyEndAllowThreads(__tstate
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7390 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7391 PyObject
*resultobj
;
7392 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7393 wxWindow
*arg2
= (wxWindow
*) 0 ;
7394 PyObject
* obj0
= 0 ;
7395 PyObject
* obj1
= 0 ;
7397 (char *) "self",(char *) "parent", NULL
7400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7403 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7407 (arg1
)->SetDialogParent(arg2
);
7409 wxPyEndAllowThreads(__tstate
);
7410 if (PyErr_Occurred()) SWIG_fail
;
7412 Py_INCREF(Py_None
); resultobj
= Py_None
;
7419 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7420 PyObject
*resultobj
;
7421 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7422 wxString
*arg2
= 0 ;
7423 bool temp2
= False
;
7424 PyObject
* obj0
= 0 ;
7425 PyObject
* obj1
= 0 ;
7427 (char *) "self",(char *) "title", NULL
7430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7434 arg2
= wxString_in_helper(obj1
);
7435 if (arg2
== NULL
) SWIG_fail
;
7439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7440 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7442 wxPyEndAllowThreads(__tstate
);
7443 if (PyErr_Occurred()) SWIG_fail
;
7445 Py_INCREF(Py_None
); resultobj
= Py_None
;
7460 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
7462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7463 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7465 return Py_BuildValue((char *)"");
7467 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7468 PyObject
*resultobj
;
7473 bool arg5
= (bool) False
;
7474 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7475 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7476 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7478 bool temp6
= False
;
7479 PyObject
* obj0
= 0 ;
7480 PyObject
* obj1
= 0 ;
7481 PyObject
* obj2
= 0 ;
7482 PyObject
* obj3
= 0 ;
7483 PyObject
* obj4
= 0 ;
7484 PyObject
* obj5
= 0 ;
7485 PyObject
* obj6
= 0 ;
7487 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7491 arg1
= (int) SWIG_AsInt(obj0
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7493 arg2
= (int) SWIG_AsInt(obj1
);
7494 if (PyErr_Occurred()) SWIG_fail
;
7495 arg3
= (int) SWIG_AsInt(obj2
);
7496 if (PyErr_Occurred()) SWIG_fail
;
7497 arg4
= (int) SWIG_AsInt(obj3
);
7498 if (PyErr_Occurred()) SWIG_fail
;
7500 arg5
= (bool) SWIG_AsBool(obj4
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7505 arg6
= wxString_in_helper(obj5
);
7506 if (arg6
== NULL
) SWIG_fail
;
7511 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7516 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7518 wxPyEndAllowThreads(__tstate
);
7519 if (PyErr_Occurred()) SWIG_fail
;
7521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7536 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
*resultobj
;
7538 wxFont
*arg1
= (wxFont
*) 0 ;
7539 PyObject
* obj0
= 0 ;
7541 (char *) "self", NULL
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7551 wxPyEndAllowThreads(__tstate
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7554 Py_INCREF(Py_None
); resultobj
= Py_None
;
7561 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7562 PyObject
*resultobj
;
7563 wxNativeFontInfo
*arg1
= 0 ;
7565 PyObject
* obj0
= 0 ;
7567 (char *) "info", NULL
7570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7572 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7575 PyErr_SetString(PyExc_TypeError
,"null reference");
7579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7592 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
;
7594 wxString
*arg1
= 0 ;
7596 bool temp1
= False
;
7597 PyObject
* obj0
= 0 ;
7599 (char *) "info", NULL
7602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7604 arg1
= wxString_in_helper(obj0
);
7605 if (arg1
== NULL
) SWIG_fail
;
7609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7610 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7612 wxPyEndAllowThreads(__tstate
);
7613 if (PyErr_Occurred()) SWIG_fail
;
7615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7630 static PyObject
*_wrap_new_Font2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7631 PyObject
*resultobj
;
7634 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7635 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7636 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7637 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7639 bool temp4
= False
;
7640 PyObject
* obj0
= 0 ;
7641 PyObject
* obj1
= 0 ;
7642 PyObject
* obj2
= 0 ;
7643 PyObject
* obj3
= 0 ;
7644 PyObject
* obj4
= 0 ;
7646 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7650 arg1
= (int) SWIG_AsInt(obj0
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7652 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
7653 if (PyErr_Occurred()) SWIG_fail
;
7655 arg3
= (int) SWIG_AsInt(obj2
);
7656 if (PyErr_Occurred()) SWIG_fail
;
7660 arg4
= wxString_in_helper(obj3
);
7661 if (arg4
== NULL
) SWIG_fail
;
7666 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7671 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7673 wxPyEndAllowThreads(__tstate
);
7674 if (PyErr_Occurred()) SWIG_fail
;
7676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7691 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
*resultobj
;
7693 wxFont
*arg1
= (wxFont
*) 0 ;
7695 PyObject
* obj0
= 0 ;
7697 (char *) "self", NULL
7700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7705 result
= (bool)((wxFont
const *)arg1
)->Ok();
7707 wxPyEndAllowThreads(__tstate
);
7708 if (PyErr_Occurred()) SWIG_fail
;
7711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7719 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7720 PyObject
*resultobj
;
7721 wxFont
*arg1
= (wxFont
*) 0 ;
7722 wxFont
*arg2
= (wxFont
*) 0 ;
7724 PyObject
* obj0
= 0 ;
7725 PyObject
* obj1
= 0 ;
7727 (char *) "self",(char *) "other", NULL
7730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7733 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7737 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
7739 wxPyEndAllowThreads(__tstate
);
7740 if (PyErr_Occurred()) SWIG_fail
;
7743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7751 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
*resultobj
;
7753 wxFont
*arg1
= (wxFont
*) 0 ;
7754 wxFont
*arg2
= (wxFont
*) 0 ;
7756 PyObject
* obj0
= 0 ;
7757 PyObject
* obj1
= 0 ;
7759 (char *) "self",(char *) "other", NULL
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7769 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
7771 wxPyEndAllowThreads(__tstate
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7783 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
*resultobj
;
7785 wxFont
*arg1
= (wxFont
*) 0 ;
7787 PyObject
* obj0
= 0 ;
7789 (char *) "self", NULL
7792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7797 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7799 wxPyEndAllowThreads(__tstate
);
7800 if (PyErr_Occurred()) SWIG_fail
;
7802 resultobj
= SWIG_FromInt((int)result
);
7809 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7810 PyObject
*resultobj
;
7811 wxFont
*arg1
= (wxFont
*) 0 ;
7813 PyObject
* obj0
= 0 ;
7815 (char *) "self", NULL
7818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7825 wxPyEndAllowThreads(__tstate
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7828 resultobj
= SWIG_FromInt((int)result
);
7835 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7836 PyObject
*resultobj
;
7837 wxFont
*arg1
= (wxFont
*) 0 ;
7839 PyObject
* obj0
= 0 ;
7841 (char *) "self", NULL
7844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
7845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7849 result
= (int)((wxFont
const *)arg1
)->GetStyle();
7851 wxPyEndAllowThreads(__tstate
);
7852 if (PyErr_Occurred()) SWIG_fail
;
7854 resultobj
= SWIG_FromInt((int)result
);
7861 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7862 PyObject
*resultobj
;
7863 wxFont
*arg1
= (wxFont
*) 0 ;
7865 PyObject
* obj0
= 0 ;
7867 (char *) "self", NULL
7870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
7871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7875 result
= (int)((wxFont
const *)arg1
)->GetWeight();
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7880 resultobj
= SWIG_FromInt((int)result
);
7887 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7888 PyObject
*resultobj
;
7889 wxFont
*arg1
= (wxFont
*) 0 ;
7891 PyObject
* obj0
= 0 ;
7893 (char *) "self", NULL
7896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7915 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7916 PyObject
*resultobj
;
7917 wxFont
*arg1
= (wxFont
*) 0 ;
7919 PyObject
* obj0
= 0 ;
7921 (char *) "self", NULL
7924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
7925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7929 result
= ((wxFont
const *)arg1
)->GetFaceName();
7931 wxPyEndAllowThreads(__tstate
);
7932 if (PyErr_Occurred()) SWIG_fail
;
7936 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7938 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7947 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7948 PyObject
*resultobj
;
7949 wxFont
*arg1
= (wxFont
*) 0 ;
7951 PyObject
* obj0
= 0 ;
7953 (char *) "self", NULL
7956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
7957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7961 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
7963 wxPyEndAllowThreads(__tstate
);
7964 if (PyErr_Occurred()) SWIG_fail
;
7966 resultobj
= SWIG_FromInt((int)result
);
7973 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7974 PyObject
*resultobj
;
7975 wxFont
*arg1
= (wxFont
*) 0 ;
7976 wxNativeFontInfo
*result
;
7977 PyObject
* obj0
= 0 ;
7979 (char *) "self", NULL
7982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
7983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
7989 wxPyEndAllowThreads(__tstate
);
7990 if (PyErr_Occurred()) SWIG_fail
;
7992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
7999 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
*resultobj
;
8001 wxFont
*arg1
= (wxFont
*) 0 ;
8003 PyObject
* obj0
= 0 ;
8005 (char *) "self", NULL
8008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8013 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8027 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8028 PyObject
*resultobj
;
8029 wxFont
*arg1
= (wxFont
*) 0 ;
8031 PyObject
* obj0
= 0 ;
8033 (char *) "self", NULL
8036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8041 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8043 wxPyEndAllowThreads(__tstate
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8048 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8050 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8059 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8060 PyObject
*resultobj
;
8061 wxFont
*arg1
= (wxFont
*) 0 ;
8063 PyObject
* obj0
= 0 ;
8065 (char *) "self", NULL
8068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8075 wxPyEndAllowThreads(__tstate
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8080 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8082 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8091 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8092 PyObject
*resultobj
;
8093 wxFont
*arg1
= (wxFont
*) 0 ;
8095 PyObject
* obj0
= 0 ;
8096 PyObject
* obj1
= 0 ;
8098 (char *) "self",(char *) "pointSize", NULL
8101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8104 arg2
= (int) SWIG_AsInt(obj1
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8108 (arg1
)->SetPointSize(arg2
);
8110 wxPyEndAllowThreads(__tstate
);
8111 if (PyErr_Occurred()) SWIG_fail
;
8113 Py_INCREF(Py_None
); resultobj
= Py_None
;
8120 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8121 PyObject
*resultobj
;
8122 wxFont
*arg1
= (wxFont
*) 0 ;
8124 PyObject
* obj0
= 0 ;
8125 PyObject
* obj1
= 0 ;
8127 (char *) "self",(char *) "family", NULL
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8133 arg2
= (int) SWIG_AsInt(obj1
);
8134 if (PyErr_Occurred()) SWIG_fail
;
8136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8137 (arg1
)->SetFamily(arg2
);
8139 wxPyEndAllowThreads(__tstate
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8142 Py_INCREF(Py_None
); resultobj
= Py_None
;
8149 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8150 PyObject
*resultobj
;
8151 wxFont
*arg1
= (wxFont
*) 0 ;
8153 PyObject
* obj0
= 0 ;
8154 PyObject
* obj1
= 0 ;
8156 (char *) "self",(char *) "style", NULL
8159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8162 arg2
= (int) SWIG_AsInt(obj1
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 (arg1
)->SetStyle(arg2
);
8168 wxPyEndAllowThreads(__tstate
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8171 Py_INCREF(Py_None
); resultobj
= Py_None
;
8178 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
*resultobj
;
8180 wxFont
*arg1
= (wxFont
*) 0 ;
8182 PyObject
* obj0
= 0 ;
8183 PyObject
* obj1
= 0 ;
8185 (char *) "self",(char *) "weight", NULL
8188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8191 arg2
= (int) SWIG_AsInt(obj1
);
8192 if (PyErr_Occurred()) SWIG_fail
;
8194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8195 (arg1
)->SetWeight(arg2
);
8197 wxPyEndAllowThreads(__tstate
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8200 Py_INCREF(Py_None
); resultobj
= Py_None
;
8207 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
*resultobj
;
8209 wxFont
*arg1
= (wxFont
*) 0 ;
8210 wxString
*arg2
= 0 ;
8211 bool temp2
= False
;
8212 PyObject
* obj0
= 0 ;
8213 PyObject
* obj1
= 0 ;
8215 (char *) "self",(char *) "faceName", NULL
8218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8222 arg2
= wxString_in_helper(obj1
);
8223 if (arg2
== NULL
) SWIG_fail
;
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8230 wxPyEndAllowThreads(__tstate
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8233 Py_INCREF(Py_None
); resultobj
= Py_None
;
8248 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
*resultobj
;
8250 wxFont
*arg1
= (wxFont
*) 0 ;
8252 PyObject
* obj0
= 0 ;
8253 PyObject
* obj1
= 0 ;
8255 (char *) "self",(char *) "underlined", NULL
8258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8261 arg2
= (bool) SWIG_AsBool(obj1
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8265 (arg1
)->SetUnderlined(arg2
);
8267 wxPyEndAllowThreads(__tstate
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8270 Py_INCREF(Py_None
); resultobj
= Py_None
;
8277 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8278 PyObject
*resultobj
;
8279 wxFont
*arg1
= (wxFont
*) 0 ;
8281 PyObject
* obj0
= 0 ;
8282 PyObject
* obj1
= 0 ;
8284 (char *) "self",(char *) "encoding", NULL
8287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8290 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8291 if (PyErr_Occurred()) SWIG_fail
;
8293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8294 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8296 wxPyEndAllowThreads(__tstate
);
8297 if (PyErr_Occurred()) SWIG_fail
;
8299 Py_INCREF(Py_None
); resultobj
= Py_None
;
8306 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8307 PyObject
*resultobj
;
8308 wxFont
*arg1
= (wxFont
*) 0 ;
8309 wxNativeFontInfo
*arg2
= 0 ;
8310 PyObject
* obj0
= 0 ;
8311 PyObject
* obj1
= 0 ;
8313 (char *) "self",(char *) "info", NULL
8316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8319 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8320 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8323 PyErr_SetString(PyExc_TypeError
,"null reference");
8327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8328 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8330 wxPyEndAllowThreads(__tstate
);
8331 if (PyErr_Occurred()) SWIG_fail
;
8333 Py_INCREF(Py_None
); resultobj
= Py_None
;
8340 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8341 PyObject
*resultobj
;
8342 wxFont
*arg1
= (wxFont
*) 0 ;
8343 wxString
*arg2
= 0 ;
8344 bool temp2
= False
;
8345 PyObject
* obj0
= 0 ;
8346 PyObject
* obj1
= 0 ;
8348 (char *) "self",(char *) "info", NULL
8351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8355 arg2
= wxString_in_helper(obj1
);
8356 if (arg2
== NULL
) SWIG_fail
;
8360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8361 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8363 wxPyEndAllowThreads(__tstate
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8366 Py_INCREF(Py_None
); resultobj
= Py_None
;
8381 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
*resultobj
;
8383 wxFont
*arg1
= (wxFont
*) 0 ;
8384 wxString
*arg2
= 0 ;
8385 bool temp2
= False
;
8386 PyObject
* obj0
= 0 ;
8387 PyObject
* obj1
= 0 ;
8389 (char *) "self",(char *) "info", NULL
8392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8396 arg2
= wxString_in_helper(obj1
);
8397 if (arg2
== NULL
) SWIG_fail
;
8401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8402 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8404 wxPyEndAllowThreads(__tstate
);
8405 if (PyErr_Occurred()) SWIG_fail
;
8407 Py_INCREF(Py_None
); resultobj
= Py_None
;
8422 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8423 PyObject
*resultobj
;
8424 wxFont
*arg1
= (wxFont
*) 0 ;
8426 PyObject
* obj0
= 0 ;
8428 (char *) "self", NULL
8431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8436 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8438 wxPyEndAllowThreads(__tstate
);
8439 if (PyErr_Occurred()) SWIG_fail
;
8443 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8445 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8454 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8455 PyObject
*resultobj
;
8456 wxFont
*arg1
= (wxFont
*) 0 ;
8458 PyObject
* obj0
= 0 ;
8460 (char *) "self", NULL
8463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 result
= ((wxFont
const *)arg1
)->GetStyleString();
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8475 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8477 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8486 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8487 PyObject
*resultobj
;
8488 wxFont
*arg1
= (wxFont
*) 0 ;
8490 PyObject
* obj0
= 0 ;
8492 (char *) "self", NULL
8495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8500 result
= ((wxFont
const *)arg1
)->GetWeightString();
8502 wxPyEndAllowThreads(__tstate
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8507 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8509 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8518 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8519 PyObject
*resultobj
;
8520 wxFont
*arg1
= (wxFont
*) 0 ;
8521 bool arg2
= (bool) True
;
8522 PyObject
* obj0
= 0 ;
8523 PyObject
* obj1
= 0 ;
8525 (char *) "self",(char *) "no", NULL
8528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8532 arg2
= (bool) SWIG_AsBool(obj1
);
8533 if (PyErr_Occurred()) SWIG_fail
;
8536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8537 (arg1
)->SetNoAntiAliasing(arg2
);
8539 wxPyEndAllowThreads(__tstate
);
8540 if (PyErr_Occurred()) SWIG_fail
;
8542 Py_INCREF(Py_None
); resultobj
= Py_None
;
8549 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8550 PyObject
*resultobj
;
8551 wxFont
*arg1
= (wxFont
*) 0 ;
8553 PyObject
* obj0
= 0 ;
8555 (char *) "self", NULL
8558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8563 result
= (bool)(arg1
)->GetNoAntiAliasing();
8565 wxPyEndAllowThreads(__tstate
);
8566 if (PyErr_Occurred()) SWIG_fail
;
8569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8577 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8578 PyObject
*resultobj
;
8584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8587 result
= (int)wxFont::GetDefaultEncoding();
8589 wxPyEndAllowThreads(__tstate
);
8590 if (PyErr_Occurred()) SWIG_fail
;
8592 resultobj
= SWIG_FromInt((int)result
);
8599 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8600 PyObject
*resultobj
;
8602 PyObject
* obj0
= 0 ;
8604 (char *) "encoding", NULL
8607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8608 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
8609 if (PyErr_Occurred()) SWIG_fail
;
8611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8612 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8617 Py_INCREF(Py_None
); resultobj
= Py_None
;
8624 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
8626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8627 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8629 return Py_BuildValue((char *)"");
8631 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8632 PyObject
*resultobj
;
8633 wxPyFontEnumerator
*result
;
8638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8641 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8643 wxPyEndAllowThreads(__tstate
);
8644 if (PyErr_Occurred()) SWIG_fail
;
8646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
8653 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8654 PyObject
*resultobj
;
8655 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8656 PyObject
* obj0
= 0 ;
8658 (char *) "self", NULL
8661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8668 wxPyEndAllowThreads(__tstate
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8671 Py_INCREF(Py_None
); resultobj
= Py_None
;
8678 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8679 PyObject
*resultobj
;
8680 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8681 PyObject
*arg2
= (PyObject
*) 0 ;
8682 PyObject
*arg3
= (PyObject
*) 0 ;
8684 PyObject
* obj0
= 0 ;
8685 PyObject
* obj1
= 0 ;
8686 PyObject
* obj2
= 0 ;
8687 PyObject
* obj3
= 0 ;
8689 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8697 arg4
= (bool) SWIG_AsBool(obj3
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8701 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8703 wxPyEndAllowThreads(__tstate
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8706 Py_INCREF(Py_None
); resultobj
= Py_None
;
8713 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8714 PyObject
*resultobj
;
8715 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8716 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8717 bool arg3
= (bool) False
;
8719 PyObject
* obj0
= 0 ;
8720 PyObject
* obj1
= 0 ;
8721 PyObject
* obj2
= 0 ;
8723 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8730 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8731 if (PyErr_Occurred()) SWIG_fail
;
8734 arg3
= (bool) SWIG_AsBool(obj2
);
8735 if (PyErr_Occurred()) SWIG_fail
;
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8741 wxPyEndAllowThreads(__tstate
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8753 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
*resultobj
;
8755 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8756 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8757 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8759 bool temp2
= False
;
8760 PyObject
* obj0
= 0 ;
8761 PyObject
* obj1
= 0 ;
8763 (char *) "self",(char *) "facename", NULL
8766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8771 arg2
= wxString_in_helper(obj1
);
8772 if (arg2
== NULL
) SWIG_fail
;
8777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8778 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8780 wxPyEndAllowThreads(__tstate
);
8781 if (PyErr_Occurred()) SWIG_fail
;
8784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8800 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
*resultobj
;
8802 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8804 PyObject
* obj0
= 0 ;
8806 (char *) "self", NULL
8809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8816 wxPyEndAllowThreads(__tstate
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8826 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8827 PyObject
*resultobj
;
8828 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8830 PyObject
* obj0
= 0 ;
8832 (char *) "self", NULL
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8840 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8852 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
8854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8855 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
8857 return Py_BuildValue((char *)"");
8859 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8860 PyObject
*resultobj
;
8861 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8863 PyObject
* obj0
= 0 ;
8864 PyObject
* obj1
= 0 ;
8866 (char *) "self",(char *) "Language", NULL
8869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8872 arg2
= (int) SWIG_AsInt(obj1
);
8873 if (PyErr_Occurred()) SWIG_fail
;
8874 if (arg1
) (arg1
)->Language
= arg2
;
8876 Py_INCREF(Py_None
); resultobj
= Py_None
;
8883 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8884 PyObject
*resultobj
;
8885 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8887 PyObject
* obj0
= 0 ;
8889 (char *) "self", NULL
8892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
8893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8895 result
= (int) ((arg1
)->Language
);
8897 resultobj
= SWIG_FromInt((int)result
);
8904 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8905 PyObject
*resultobj
;
8906 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8907 wxString
*arg2
= (wxString
*) 0 ;
8908 bool temp2
= False
;
8909 PyObject
* obj0
= 0 ;
8910 PyObject
* obj1
= 0 ;
8912 (char *) "self",(char *) "CanonicalName", NULL
8915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8919 arg2
= wxString_in_helper(obj1
);
8920 if (arg2
== NULL
) SWIG_fail
;
8923 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
8925 Py_INCREF(Py_None
); resultobj
= Py_None
;
8940 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8941 PyObject
*resultobj
;
8942 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8944 PyObject
* obj0
= 0 ;
8946 (char *) "self", NULL
8949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
8950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8952 result
= (wxString
*)& ((arg1
)->CanonicalName
);
8956 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8958 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8967 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8968 PyObject
*resultobj
;
8969 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8970 wxString
*arg2
= (wxString
*) 0 ;
8971 bool temp2
= False
;
8972 PyObject
* obj0
= 0 ;
8973 PyObject
* obj1
= 0 ;
8975 (char *) "self",(char *) "Description", NULL
8978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8982 arg2
= wxString_in_helper(obj1
);
8983 if (arg2
== NULL
) SWIG_fail
;
8986 if (arg1
) (arg1
)->Description
= *arg2
;
8988 Py_INCREF(Py_None
); resultobj
= Py_None
;
9003 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9004 PyObject
*resultobj
;
9005 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9007 PyObject
* obj0
= 0 ;
9009 (char *) "self", NULL
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9015 result
= (wxString
*)& ((arg1
)->Description
);
9019 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9021 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9030 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
9032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9033 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9035 return Py_BuildValue((char *)"");
9037 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9038 PyObject
*resultobj
;
9039 int arg1
= (int) wxLANGUAGE_DEFAULT
;
9040 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9042 PyObject
* obj0
= 0 ;
9043 PyObject
* obj1
= 0 ;
9045 (char *) "language",(char *) "flags", NULL
9048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9050 arg1
= (int) SWIG_AsInt(obj0
);
9051 if (PyErr_Occurred()) SWIG_fail
;
9054 arg2
= (int) SWIG_AsInt(obj1
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9059 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
9061 wxPyEndAllowThreads(__tstate
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9071 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9072 PyObject
*resultobj
;
9073 wxLocale
*arg1
= (wxLocale
*) 0 ;
9074 PyObject
* obj0
= 0 ;
9076 (char *) "self", NULL
9079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9089 Py_INCREF(Py_None
); resultobj
= Py_None
;
9096 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
*resultobj
;
9098 wxLocale
*arg1
= (wxLocale
*) 0 ;
9099 wxString
*arg2
= 0 ;
9100 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9101 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9102 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9103 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9104 bool arg5
= (bool) True
;
9105 bool arg6
= (bool) False
;
9107 bool temp2
= False
;
9108 bool temp3
= False
;
9109 bool temp4
= False
;
9110 PyObject
* obj0
= 0 ;
9111 PyObject
* obj1
= 0 ;
9112 PyObject
* obj2
= 0 ;
9113 PyObject
* obj3
= 0 ;
9114 PyObject
* obj4
= 0 ;
9115 PyObject
* obj5
= 0 ;
9117 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9124 arg2
= wxString_in_helper(obj1
);
9125 if (arg2
== NULL
) SWIG_fail
;
9130 arg3
= wxString_in_helper(obj2
);
9131 if (arg3
== NULL
) SWIG_fail
;
9137 arg4
= wxString_in_helper(obj3
);
9138 if (arg4
== NULL
) SWIG_fail
;
9143 arg5
= (bool) SWIG_AsBool(obj4
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9147 arg6
= (bool) SWIG_AsBool(obj5
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9152 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9190 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9191 PyObject
*resultobj
;
9192 wxLocale
*arg1
= (wxLocale
*) 0 ;
9193 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9194 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9196 PyObject
* obj0
= 0 ;
9197 PyObject
* obj1
= 0 ;
9198 PyObject
* obj2
= 0 ;
9200 (char *) "self",(char *) "language",(char *) "flags", NULL
9203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9207 arg2
= (int) SWIG_AsInt(obj1
);
9208 if (PyErr_Occurred()) SWIG_fail
;
9211 arg3
= (int) SWIG_AsInt(obj2
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9230 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
;
9237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9240 result
= (int)wxLocale::GetSystemLanguage();
9242 wxPyEndAllowThreads(__tstate
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9245 resultobj
= SWIG_FromInt((int)result
);
9252 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9253 PyObject
*resultobj
;
9259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9262 result
= (int)wxLocale::GetSystemEncoding();
9264 wxPyEndAllowThreads(__tstate
);
9265 if (PyErr_Occurred()) SWIG_fail
;
9267 resultobj
= SWIG_FromInt((int)result
);
9274 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9275 PyObject
*resultobj
;
9281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 result
= wxLocale::GetSystemEncodingName();
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9291 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9293 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9302 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
*resultobj
;
9304 wxLocale
*arg1
= (wxLocale
*) 0 ;
9306 PyObject
* obj0
= 0 ;
9308 (char *) "self", NULL
9311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9330 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
;
9332 wxLocale
*arg1
= (wxLocale
*) 0 ;
9334 PyObject
* obj0
= 0 ;
9336 (char *) "self", NULL
9339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 result
= ((wxLocale
const *)arg1
)->GetLocale();
9346 wxPyEndAllowThreads(__tstate
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9351 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9353 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9362 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
*resultobj
;
9364 wxLocale
*arg1
= (wxLocale
*) 0 ;
9366 PyObject
* obj0
= 0 ;
9368 (char *) "self", NULL
9371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9381 resultobj
= SWIG_FromInt((int)result
);
9388 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
*resultobj
;
9390 wxLocale
*arg1
= (wxLocale
*) 0 ;
9392 PyObject
* obj0
= 0 ;
9394 (char *) "self", NULL
9397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9402 result
= ((wxLocale
const *)arg1
)->GetSysName();
9404 wxPyEndAllowThreads(__tstate
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9409 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9411 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9420 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
*resultobj
;
9422 wxLocale
*arg1
= (wxLocale
*) 0 ;
9424 PyObject
* obj0
= 0 ;
9426 (char *) "self", NULL
9429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9434 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9441 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9443 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9452 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9453 PyObject
*resultobj
;
9454 wxString
*arg1
= 0 ;
9455 bool temp1
= False
;
9456 PyObject
* obj0
= 0 ;
9458 (char *) "prefix", NULL
9461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9463 arg1
= wxString_in_helper(obj0
);
9464 if (arg1
== NULL
) SWIG_fail
;
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9471 wxPyEndAllowThreads(__tstate
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9474 Py_INCREF(Py_None
); resultobj
= Py_None
;
9489 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
*resultobj
;
9491 wxLocale
*arg1
= (wxLocale
*) 0 ;
9492 wxString
*arg2
= 0 ;
9494 bool temp2
= False
;
9495 PyObject
* obj0
= 0 ;
9496 PyObject
* obj1
= 0 ;
9498 (char *) "self",(char *) "szDomain", NULL
9501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9505 arg2
= wxString_in_helper(obj1
);
9506 if (arg2
== NULL
) SWIG_fail
;
9510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9511 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9533 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9534 PyObject
*resultobj
;
9535 wxLocale
*arg1
= (wxLocale
*) 0 ;
9536 wxString
*arg2
= 0 ;
9538 bool temp2
= False
;
9539 PyObject
* obj0
= 0 ;
9540 PyObject
* obj1
= 0 ;
9542 (char *) "self",(char *) "szDomain", NULL
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9549 arg2
= wxString_in_helper(obj1
);
9550 if (arg2
== NULL
) SWIG_fail
;
9554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9555 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9557 wxPyEndAllowThreads(__tstate
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9577 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9578 PyObject
*resultobj
;
9580 wxLanguageInfo
*result
;
9581 PyObject
* obj0
= 0 ;
9583 (char *) "lang", NULL
9586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9587 arg1
= (int) SWIG_AsInt(obj0
);
9588 if (PyErr_Occurred()) SWIG_fail
;
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9593 wxPyEndAllowThreads(__tstate
);
9594 if (PyErr_Occurred()) SWIG_fail
;
9596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9603 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9604 PyObject
*resultobj
;
9607 PyObject
* obj0
= 0 ;
9609 (char *) "lang", NULL
9612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9613 arg1
= (int) SWIG_AsInt(obj0
);
9614 if (PyErr_Occurred()) SWIG_fail
;
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 result
= wxLocale::GetLanguageName(arg1
);
9619 wxPyEndAllowThreads(__tstate
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9624 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9626 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9635 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9636 PyObject
*resultobj
;
9637 wxString
*arg1
= 0 ;
9638 wxLanguageInfo
*result
;
9639 bool temp1
= False
;
9640 PyObject
* obj0
= 0 ;
9642 (char *) "locale", NULL
9645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9647 arg1
= wxString_in_helper(obj0
);
9648 if (arg1
== NULL
) SWIG_fail
;
9652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9653 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9655 wxPyEndAllowThreads(__tstate
);
9656 if (PyErr_Occurred()) SWIG_fail
;
9658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9673 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9674 PyObject
*resultobj
;
9675 wxLanguageInfo
*arg1
= 0 ;
9676 PyObject
* obj0
= 0 ;
9678 (char *) "info", NULL
9681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9683 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9686 PyErr_SetString(PyExc_TypeError
,"null reference");
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9693 wxPyEndAllowThreads(__tstate
);
9694 if (PyErr_Occurred()) SWIG_fail
;
9696 Py_INCREF(Py_None
); resultobj
= Py_None
;
9703 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9704 PyObject
*resultobj
;
9705 wxLocale
*arg1
= (wxLocale
*) 0 ;
9706 wxString
*arg2
= 0 ;
9707 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9708 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9710 bool temp2
= False
;
9711 bool temp3
= False
;
9712 PyObject
* obj0
= 0 ;
9713 PyObject
* obj1
= 0 ;
9714 PyObject
* obj2
= 0 ;
9716 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9723 arg2
= wxString_in_helper(obj1
);
9724 if (arg2
== NULL
) SWIG_fail
;
9729 arg3
= wxString_in_helper(obj2
);
9730 if (arg3
== NULL
) SWIG_fail
;
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9743 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9745 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9770 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9771 PyObject
*resultobj
;
9772 wxLocale
*arg1
= (wxLocale
*) 0 ;
9774 PyObject
* obj0
= 0 ;
9776 (char *) "self", NULL
9779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9785 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9786 result
= (wxString
*) &_result_ref
;
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9794 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9796 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9805 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
9807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9808 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9810 return Py_BuildValue((char *)"");
9812 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9813 PyObject
*resultobj
;
9819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 result
= (wxLocale
*)wxGetLocale();
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
9834 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
9835 PyObject
*resultobj
;
9836 wxString
*arg1
= 0 ;
9838 bool temp1
= False
;
9839 PyObject
* obj0
= 0 ;
9841 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9843 arg1
= wxString_in_helper(obj0
);
9844 if (arg1
== NULL
) SWIG_fail
;
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 result
= wxGetTranslation((wxString
const &)*arg1
);
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9856 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9858 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9875 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
9876 PyObject
*resultobj
;
9877 wxString
*arg1
= 0 ;
9878 wxString
*arg2
= 0 ;
9881 bool temp1
= False
;
9882 bool temp2
= False
;
9883 PyObject
* obj0
= 0 ;
9884 PyObject
* obj1
= 0 ;
9885 PyObject
* obj2
= 0 ;
9887 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
9889 arg1
= wxString_in_helper(obj0
);
9890 if (arg1
== NULL
) SWIG_fail
;
9894 arg2
= wxString_in_helper(obj1
);
9895 if (arg2
== NULL
) SWIG_fail
;
9898 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9936 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
9941 argc
= PyObject_Length(args
);
9942 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9943 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9948 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9951 return _wrap_GetTranslation__SWIG_0(self
,args
);
9957 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9961 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9964 _v
= SWIG_CheckUnsignedLong(argv
[2]);
9966 return _wrap_GetTranslation__SWIG_1(self
,args
);
9972 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
9977 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9978 PyObject
*resultobj
;
9979 wxEncodingConverter
*result
;
9984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
9986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9987 result
= (wxEncodingConverter
*)new wxEncodingConverter();
9989 wxPyEndAllowThreads(__tstate
);
9990 if (PyErr_Occurred()) SWIG_fail
;
9992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
9999 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10000 PyObject
*resultobj
;
10001 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10002 PyObject
* obj0
= 0 ;
10003 char *kwnames
[] = {
10004 (char *) "self", NULL
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10017 Py_INCREF(Py_None
); resultobj
= Py_None
;
10024 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
*resultobj
;
10026 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10029 int arg4
= (int) wxCONVERT_STRICT
;
10031 PyObject
* obj0
= 0 ;
10032 PyObject
* obj1
= 0 ;
10033 PyObject
* obj2
= 0 ;
10034 PyObject
* obj3
= 0 ;
10035 char *kwnames
[] = {
10036 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10042 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10044 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10047 arg4
= (int) SWIG_AsInt(obj3
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10066 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10067 PyObject
*resultobj
;
10068 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10069 wxString
*arg2
= 0 ;
10071 bool temp2
= False
;
10072 PyObject
* obj0
= 0 ;
10073 PyObject
* obj1
= 0 ;
10074 char *kwnames
[] = {
10075 (char *) "self",(char *) "input", NULL
10078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10082 arg2
= wxString_in_helper(obj1
);
10083 if (arg2
== NULL
) SWIG_fail
;
10087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10088 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10090 wxPyEndAllowThreads(__tstate
);
10091 if (PyErr_Occurred()) SWIG_fail
;
10095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10114 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10115 PyObject
*resultobj
;
10117 int arg2
= (int) wxPLATFORM_CURRENT
;
10118 wxFontEncodingArray result
;
10119 PyObject
* obj0
= 0 ;
10120 PyObject
* obj1
= 0 ;
10121 char *kwnames
[] = {
10122 (char *) "enc",(char *) "platform", NULL
10125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10126 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10129 arg2
= (int) SWIG_AsInt(obj1
);
10130 if (PyErr_Occurred()) SWIG_fail
;
10133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10134 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10136 wxPyEndAllowThreads(__tstate
);
10137 if (PyErr_Occurred()) SWIG_fail
;
10140 resultobj
= PyList_New(0);
10141 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10142 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10143 PyList_Append(resultobj
, number
);
10153 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10154 PyObject
*resultobj
;
10156 wxFontEncodingArray result
;
10157 PyObject
* obj0
= 0 ;
10158 char *kwnames
[] = {
10159 (char *) "enc", NULL
10162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10163 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10173 resultobj
= PyList_New(0);
10174 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10175 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10176 PyList_Append(resultobj
, number
);
10186 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10187 PyObject
*resultobj
;
10191 PyObject
* obj0
= 0 ;
10192 PyObject
* obj1
= 0 ;
10193 char *kwnames
[] = {
10194 (char *) "encIn",(char *) "encOut", NULL
10197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10198 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10200 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10204 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10206 wxPyEndAllowThreads(__tstate
);
10207 if (PyErr_Occurred()) SWIG_fail
;
10210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10218 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
10220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10221 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10223 return Py_BuildValue((char *)"");
10225 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10226 PyObject
*resultobj
;
10227 wxDC
*arg1
= (wxDC
*) 0 ;
10228 PyObject
* obj0
= 0 ;
10229 char *kwnames
[] = {
10230 (char *) "self", NULL
10233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10240 wxPyEndAllowThreads(__tstate
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10243 Py_INCREF(Py_None
); resultobj
= Py_None
;
10250 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10251 PyObject
*resultobj
;
10252 wxDC
*arg1
= (wxDC
*) 0 ;
10253 PyObject
* obj0
= 0 ;
10254 char *kwnames
[] = {
10255 (char *) "self", NULL
10258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10263 (arg1
)->BeginDrawing();
10265 wxPyEndAllowThreads(__tstate
);
10266 if (PyErr_Occurred()) SWIG_fail
;
10268 Py_INCREF(Py_None
); resultobj
= Py_None
;
10275 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10276 PyObject
*resultobj
;
10277 wxDC
*arg1
= (wxDC
*) 0 ;
10278 PyObject
* obj0
= 0 ;
10279 char *kwnames
[] = {
10280 (char *) "self", NULL
10283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10288 (arg1
)->EndDrawing();
10290 wxPyEndAllowThreads(__tstate
);
10291 if (PyErr_Occurred()) SWIG_fail
;
10293 Py_INCREF(Py_None
); resultobj
= Py_None
;
10300 static PyObject
*_wrap_DC_FloodFillXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10301 PyObject
*resultobj
;
10302 wxDC
*arg1
= (wxDC
*) 0 ;
10305 wxColour
*arg4
= 0 ;
10306 int arg5
= (int) wxFLOOD_SURFACE
;
10309 PyObject
* obj0
= 0 ;
10310 PyObject
* obj1
= 0 ;
10311 PyObject
* obj2
= 0 ;
10312 PyObject
* obj3
= 0 ;
10313 PyObject
* obj4
= 0 ;
10314 char *kwnames
[] = {
10315 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFillXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10321 arg2
= (int) SWIG_AsInt(obj1
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10323 arg3
= (int) SWIG_AsInt(obj2
);
10324 if (PyErr_Occurred()) SWIG_fail
;
10327 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10330 arg5
= (int) SWIG_AsInt(obj4
);
10331 if (PyErr_Occurred()) SWIG_fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10349 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10350 PyObject
*resultobj
;
10351 wxDC
*arg1
= (wxDC
*) 0 ;
10352 wxPoint
*arg2
= 0 ;
10353 wxColour
*arg3
= 0 ;
10354 int arg4
= (int) wxFLOOD_SURFACE
;
10358 PyObject
* obj0
= 0 ;
10359 PyObject
* obj1
= 0 ;
10360 PyObject
* obj2
= 0 ;
10361 PyObject
* obj3
= 0 ;
10362 char *kwnames
[] = {
10363 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10371 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10375 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10378 arg4
= (int) SWIG_AsInt(obj3
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10385 wxPyEndAllowThreads(__tstate
);
10386 if (PyErr_Occurred()) SWIG_fail
;
10389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10397 static PyObject
*_wrap_DC_GetPixelXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10398 PyObject
*resultobj
;
10399 wxDC
*arg1
= (wxDC
*) 0 ;
10403 PyObject
* obj0
= 0 ;
10404 PyObject
* obj1
= 0 ;
10405 PyObject
* obj2
= 0 ;
10406 char *kwnames
[] = {
10407 (char *) "self",(char *) "x",(char *) "y", NULL
10410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixelXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10413 arg2
= (int) SWIG_AsInt(obj1
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10415 arg3
= (int) SWIG_AsInt(obj2
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10419 result
= wxDC_GetPixelXY(arg1
,arg2
,arg3
);
10421 wxPyEndAllowThreads(__tstate
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10425 wxColour
* resultptr
;
10426 resultptr
= new wxColour((wxColour
&) result
);
10427 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10435 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10436 PyObject
*resultobj
;
10437 wxDC
*arg1
= (wxDC
*) 0 ;
10438 wxPoint
*arg2
= 0 ;
10441 PyObject
* obj0
= 0 ;
10442 PyObject
* obj1
= 0 ;
10443 char *kwnames
[] = {
10444 (char *) "self",(char *) "pt", NULL
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
;
10448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10452 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10456 result
= wxDC_GetPixel(arg1
,(wxPoint
const &)*arg2
);
10458 wxPyEndAllowThreads(__tstate
);
10459 if (PyErr_Occurred()) SWIG_fail
;
10462 wxColour
* resultptr
;
10463 resultptr
= new wxColour((wxColour
&) result
);
10464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10472 static PyObject
*_wrap_DC_DrawLineXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
*resultobj
;
10474 wxDC
*arg1
= (wxDC
*) 0 ;
10479 PyObject
* obj0
= 0 ;
10480 PyObject
* obj1
= 0 ;
10481 PyObject
* obj2
= 0 ;
10482 PyObject
* obj3
= 0 ;
10483 PyObject
* obj4
= 0 ;
10484 char *kwnames
[] = {
10485 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLineXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10491 arg2
= (int) SWIG_AsInt(obj1
);
10492 if (PyErr_Occurred()) SWIG_fail
;
10493 arg3
= (int) SWIG_AsInt(obj2
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10495 arg4
= (int) SWIG_AsInt(obj3
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10497 arg5
= (int) SWIG_AsInt(obj4
);
10498 if (PyErr_Occurred()) SWIG_fail
;
10500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10501 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10506 Py_INCREF(Py_None
); resultobj
= Py_None
;
10513 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
*resultobj
;
10515 wxDC
*arg1
= (wxDC
*) 0 ;
10516 wxPoint
*arg2
= 0 ;
10517 wxPoint
*arg3
= 0 ;
10520 PyObject
* obj0
= 0 ;
10521 PyObject
* obj1
= 0 ;
10522 PyObject
* obj2
= 0 ;
10523 char *kwnames
[] = {
10524 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10532 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10536 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10540 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10542 wxPyEndAllowThreads(__tstate
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10545 Py_INCREF(Py_None
); resultobj
= Py_None
;
10552 static PyObject
*_wrap_DC_CrossHairXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10553 PyObject
*resultobj
;
10554 wxDC
*arg1
= (wxDC
*) 0 ;
10557 PyObject
* obj0
= 0 ;
10558 PyObject
* obj1
= 0 ;
10559 PyObject
* obj2
= 0 ;
10560 char *kwnames
[] = {
10561 (char *) "self",(char *) "x",(char *) "y", NULL
10564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHairXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10567 arg2
= (int) SWIG_AsInt(obj1
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10569 arg3
= (int) SWIG_AsInt(obj2
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10573 (arg1
)->CrossHair(arg2
,arg3
);
10575 wxPyEndAllowThreads(__tstate
);
10576 if (PyErr_Occurred()) SWIG_fail
;
10578 Py_INCREF(Py_None
); resultobj
= Py_None
;
10585 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10586 PyObject
*resultobj
;
10587 wxDC
*arg1
= (wxDC
*) 0 ;
10588 wxPoint
*arg2
= 0 ;
10590 PyObject
* obj0
= 0 ;
10591 PyObject
* obj1
= 0 ;
10592 char *kwnames
[] = {
10593 (char *) "self",(char *) "pt", NULL
10596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
;
10597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10601 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10605 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10607 wxPyEndAllowThreads(__tstate
);
10608 if (PyErr_Occurred()) SWIG_fail
;
10610 Py_INCREF(Py_None
); resultobj
= Py_None
;
10617 static PyObject
*_wrap_DC_DrawArcXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10618 PyObject
*resultobj
;
10619 wxDC
*arg1
= (wxDC
*) 0 ;
10626 PyObject
* obj0
= 0 ;
10627 PyObject
* obj1
= 0 ;
10628 PyObject
* obj2
= 0 ;
10629 PyObject
* obj3
= 0 ;
10630 PyObject
* obj4
= 0 ;
10631 PyObject
* obj5
= 0 ;
10632 PyObject
* obj6
= 0 ;
10633 char *kwnames
[] = {
10634 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10640 arg2
= (int) SWIG_AsInt(obj1
);
10641 if (PyErr_Occurred()) SWIG_fail
;
10642 arg3
= (int) SWIG_AsInt(obj2
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10644 arg4
= (int) SWIG_AsInt(obj3
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10646 arg5
= (int) SWIG_AsInt(obj4
);
10647 if (PyErr_Occurred()) SWIG_fail
;
10648 arg6
= (int) SWIG_AsInt(obj5
);
10649 if (PyErr_Occurred()) SWIG_fail
;
10650 arg7
= (int) SWIG_AsInt(obj6
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10659 Py_INCREF(Py_None
); resultobj
= Py_None
;
10666 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10667 PyObject
*resultobj
;
10668 wxDC
*arg1
= (wxDC
*) 0 ;
10669 wxPoint
*arg2
= 0 ;
10670 wxPoint
*arg3
= 0 ;
10671 wxPoint
*arg4
= 0 ;
10675 PyObject
* obj0
= 0 ;
10676 PyObject
* obj1
= 0 ;
10677 PyObject
* obj2
= 0 ;
10678 PyObject
* obj3
= 0 ;
10679 char *kwnames
[] = {
10680 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10688 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10692 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10696 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10700 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10702 wxPyEndAllowThreads(__tstate
);
10703 if (PyErr_Occurred()) SWIG_fail
;
10705 Py_INCREF(Py_None
); resultobj
= Py_None
;
10712 static PyObject
*_wrap_DC_DrawCheckMarkXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10713 PyObject
*resultobj
;
10714 wxDC
*arg1
= (wxDC
*) 0 ;
10719 PyObject
* obj0
= 0 ;
10720 PyObject
* obj1
= 0 ;
10721 PyObject
* obj2
= 0 ;
10722 PyObject
* obj3
= 0 ;
10723 PyObject
* obj4
= 0 ;
10724 char *kwnames
[] = {
10725 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMarkXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10731 arg2
= (int) SWIG_AsInt(obj1
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10733 arg3
= (int) SWIG_AsInt(obj2
);
10734 if (PyErr_Occurred()) SWIG_fail
;
10735 arg4
= (int) SWIG_AsInt(obj3
);
10736 if (PyErr_Occurred()) SWIG_fail
;
10737 arg5
= (int) SWIG_AsInt(obj4
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10741 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10743 wxPyEndAllowThreads(__tstate
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10746 Py_INCREF(Py_None
); resultobj
= Py_None
;
10753 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10754 PyObject
*resultobj
;
10755 wxDC
*arg1
= (wxDC
*) 0 ;
10758 PyObject
* obj0
= 0 ;
10759 PyObject
* obj1
= 0 ;
10760 char *kwnames
[] = {
10761 (char *) "self",(char *) "rect", NULL
10764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
;
10765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10769 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10773 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10775 wxPyEndAllowThreads(__tstate
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10778 Py_INCREF(Py_None
); resultobj
= Py_None
;
10785 static PyObject
*_wrap_DC_DrawEllipticArcXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10786 PyObject
*resultobj
;
10787 wxDC
*arg1
= (wxDC
*) 0 ;
10794 PyObject
* obj0
= 0 ;
10795 PyObject
* obj1
= 0 ;
10796 PyObject
* obj2
= 0 ;
10797 PyObject
* obj3
= 0 ;
10798 PyObject
* obj4
= 0 ;
10799 PyObject
* obj5
= 0 ;
10800 PyObject
* obj6
= 0 ;
10801 char *kwnames
[] = {
10802 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10808 arg2
= (int) SWIG_AsInt(obj1
);
10809 if (PyErr_Occurred()) SWIG_fail
;
10810 arg3
= (int) SWIG_AsInt(obj2
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10812 arg4
= (int) SWIG_AsInt(obj3
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10814 arg5
= (int) SWIG_AsInt(obj4
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10816 arg6
= (double) SWIG_AsDouble(obj5
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10818 arg7
= (double) SWIG_AsDouble(obj6
);
10819 if (PyErr_Occurred()) SWIG_fail
;
10821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10822 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10824 wxPyEndAllowThreads(__tstate
);
10825 if (PyErr_Occurred()) SWIG_fail
;
10827 Py_INCREF(Py_None
); resultobj
= Py_None
;
10834 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10835 PyObject
*resultobj
;
10836 wxDC
*arg1
= (wxDC
*) 0 ;
10837 wxPoint
*arg2
= 0 ;
10843 PyObject
* obj0
= 0 ;
10844 PyObject
* obj1
= 0 ;
10845 PyObject
* obj2
= 0 ;
10846 PyObject
* obj3
= 0 ;
10847 PyObject
* obj4
= 0 ;
10848 char *kwnames
[] = {
10849 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
10852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10857 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10861 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10863 arg4
= (double) SWIG_AsDouble(obj3
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10865 arg5
= (double) SWIG_AsDouble(obj4
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10869 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
10871 wxPyEndAllowThreads(__tstate
);
10872 if (PyErr_Occurred()) SWIG_fail
;
10874 Py_INCREF(Py_None
); resultobj
= Py_None
;
10881 static PyObject
*_wrap_DC_DrawPointXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10882 PyObject
*resultobj
;
10883 wxDC
*arg1
= (wxDC
*) 0 ;
10886 PyObject
* obj0
= 0 ;
10887 PyObject
* obj1
= 0 ;
10888 PyObject
* obj2
= 0 ;
10889 char *kwnames
[] = {
10890 (char *) "self",(char *) "x",(char *) "y", NULL
10893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPointXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10896 arg2
= (int) SWIG_AsInt(obj1
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10898 arg3
= (int) SWIG_AsInt(obj2
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10902 (arg1
)->DrawPoint(arg2
,arg3
);
10904 wxPyEndAllowThreads(__tstate
);
10905 if (PyErr_Occurred()) SWIG_fail
;
10907 Py_INCREF(Py_None
); resultobj
= Py_None
;
10914 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10915 PyObject
*resultobj
;
10916 wxDC
*arg1
= (wxDC
*) 0 ;
10917 wxPoint
*arg2
= 0 ;
10919 PyObject
* obj0
= 0 ;
10920 PyObject
* obj1
= 0 ;
10921 char *kwnames
[] = {
10922 (char *) "self",(char *) "pt", NULL
10925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10930 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10934 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10939 Py_INCREF(Py_None
); resultobj
= Py_None
;
10946 static PyObject
*_wrap_DC_DrawRectangleXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
*resultobj
;
10948 wxDC
*arg1
= (wxDC
*) 0 ;
10953 PyObject
* obj0
= 0 ;
10954 PyObject
* obj1
= 0 ;
10955 PyObject
* obj2
= 0 ;
10956 PyObject
* obj3
= 0 ;
10957 PyObject
* obj4
= 0 ;
10958 char *kwnames
[] = {
10959 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10965 arg2
= (int) SWIG_AsInt(obj1
);
10966 if (PyErr_Occurred()) SWIG_fail
;
10967 arg3
= (int) SWIG_AsInt(obj2
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10969 arg4
= (int) SWIG_AsInt(obj3
);
10970 if (PyErr_Occurred()) SWIG_fail
;
10971 arg5
= (int) SWIG_AsInt(obj4
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
10977 wxPyEndAllowThreads(__tstate
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10980 Py_INCREF(Py_None
); resultobj
= Py_None
;
10987 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10988 PyObject
*resultobj
;
10989 wxDC
*arg1
= (wxDC
*) 0 ;
10990 wxPoint
*arg2
= 0 ;
10994 PyObject
* obj0
= 0 ;
10995 PyObject
* obj1
= 0 ;
10996 PyObject
* obj2
= 0 ;
10997 char *kwnames
[] = {
10998 (char *) "self",(char *) "pt",(char *) "sz", NULL
11001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11006 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11010 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11014 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11016 wxPyEndAllowThreads(__tstate
);
11017 if (PyErr_Occurred()) SWIG_fail
;
11019 Py_INCREF(Py_None
); resultobj
= Py_None
;
11026 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11027 PyObject
*resultobj
;
11028 wxDC
*arg1
= (wxDC
*) 0 ;
11031 PyObject
* obj0
= 0 ;
11032 PyObject
* obj1
= 0 ;
11033 char *kwnames
[] = {
11034 (char *) "self",(char *) "rect", NULL
11037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11042 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11046 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11051 Py_INCREF(Py_None
); resultobj
= Py_None
;
11058 static PyObject
*_wrap_DC_DrawRoundedRectangleXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11059 PyObject
*resultobj
;
11060 wxDC
*arg1
= (wxDC
*) 0 ;
11066 PyObject
* obj0
= 0 ;
11067 PyObject
* obj1
= 0 ;
11068 PyObject
* obj2
= 0 ;
11069 PyObject
* obj3
= 0 ;
11070 PyObject
* obj4
= 0 ;
11071 PyObject
* obj5
= 0 ;
11072 char *kwnames
[] = {
11073 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11079 arg2
= (int) SWIG_AsInt(obj1
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11081 arg3
= (int) SWIG_AsInt(obj2
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11083 arg4
= (int) SWIG_AsInt(obj3
);
11084 if (PyErr_Occurred()) SWIG_fail
;
11085 arg5
= (int) SWIG_AsInt(obj4
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11087 arg6
= (double) SWIG_AsDouble(obj5
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11091 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11093 wxPyEndAllowThreads(__tstate
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11096 Py_INCREF(Py_None
); resultobj
= Py_None
;
11103 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11104 PyObject
*resultobj
;
11105 wxDC
*arg1
= (wxDC
*) 0 ;
11106 wxPoint
*arg2
= 0 ;
11111 PyObject
* obj0
= 0 ;
11112 PyObject
* obj1
= 0 ;
11113 PyObject
* obj2
= 0 ;
11114 PyObject
* obj3
= 0 ;
11115 char *kwnames
[] = {
11116 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11124 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11128 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11130 arg4
= (double) SWIG_AsDouble(obj3
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11139 Py_INCREF(Py_None
); resultobj
= Py_None
;
11146 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
;
11148 wxDC
*arg1
= (wxDC
*) 0 ;
11152 PyObject
* obj0
= 0 ;
11153 PyObject
* obj1
= 0 ;
11154 PyObject
* obj2
= 0 ;
11155 char *kwnames
[] = {
11156 (char *) "self",(char *) "r",(char *) "radius", NULL
11159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11164 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11166 arg3
= (double) SWIG_AsDouble(obj2
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11175 Py_INCREF(Py_None
); resultobj
= Py_None
;
11182 static PyObject
*_wrap_DC_DrawCircleXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
;
11184 wxDC
*arg1
= (wxDC
*) 0 ;
11188 PyObject
* obj0
= 0 ;
11189 PyObject
* obj1
= 0 ;
11190 PyObject
* obj2
= 0 ;
11191 PyObject
* obj3
= 0 ;
11192 char *kwnames
[] = {
11193 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11199 arg2
= (int) SWIG_AsInt(obj1
);
11200 if (PyErr_Occurred()) SWIG_fail
;
11201 arg3
= (int) SWIG_AsInt(obj2
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11203 arg4
= (int) SWIG_AsInt(obj3
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11207 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11209 wxPyEndAllowThreads(__tstate
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11212 Py_INCREF(Py_None
); resultobj
= Py_None
;
11219 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11220 PyObject
*resultobj
;
11221 wxDC
*arg1
= (wxDC
*) 0 ;
11222 wxPoint
*arg2
= 0 ;
11225 PyObject
* obj0
= 0 ;
11226 PyObject
* obj1
= 0 ;
11227 PyObject
* obj2
= 0 ;
11228 char *kwnames
[] = {
11229 (char *) "self",(char *) "pt",(char *) "radius", NULL
11232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11237 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11239 arg3
= (int) SWIG_AsInt(obj2
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11243 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11245 wxPyEndAllowThreads(__tstate
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11248 Py_INCREF(Py_None
); resultobj
= Py_None
;
11255 static PyObject
*_wrap_DC_DrawEllipseXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11256 PyObject
*resultobj
;
11257 wxDC
*arg1
= (wxDC
*) 0 ;
11262 PyObject
* obj0
= 0 ;
11263 PyObject
* obj1
= 0 ;
11264 PyObject
* obj2
= 0 ;
11265 PyObject
* obj3
= 0 ;
11266 PyObject
* obj4
= 0 ;
11267 char *kwnames
[] = {
11268 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipseXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11274 arg2
= (int) SWIG_AsInt(obj1
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11276 arg3
= (int) SWIG_AsInt(obj2
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11278 arg4
= (int) SWIG_AsInt(obj3
);
11279 if (PyErr_Occurred()) SWIG_fail
;
11280 arg5
= (int) SWIG_AsInt(obj4
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11289 Py_INCREF(Py_None
); resultobj
= Py_None
;
11296 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11297 PyObject
*resultobj
;
11298 wxDC
*arg1
= (wxDC
*) 0 ;
11299 wxPoint
*arg2
= 0 ;
11303 PyObject
* obj0
= 0 ;
11304 PyObject
* obj1
= 0 ;
11305 PyObject
* obj2
= 0 ;
11306 char *kwnames
[] = {
11307 (char *) "self",(char *) "pt",(char *) "sz", NULL
11310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11315 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11319 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11323 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11325 wxPyEndAllowThreads(__tstate
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11328 Py_INCREF(Py_None
); resultobj
= Py_None
;
11335 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11336 PyObject
*resultobj
;
11337 wxDC
*arg1
= (wxDC
*) 0 ;
11340 PyObject
* obj0
= 0 ;
11341 PyObject
* obj1
= 0 ;
11342 char *kwnames
[] = {
11343 (char *) "self",(char *) "rect", NULL
11346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11351 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11355 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11357 wxPyEndAllowThreads(__tstate
);
11358 if (PyErr_Occurred()) SWIG_fail
;
11360 Py_INCREF(Py_None
); resultobj
= Py_None
;
11367 static PyObject
*_wrap_DC_DrawIconXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11368 PyObject
*resultobj
;
11369 wxDC
*arg1
= (wxDC
*) 0 ;
11373 PyObject
* obj0
= 0 ;
11374 PyObject
* obj1
= 0 ;
11375 PyObject
* obj2
= 0 ;
11376 PyObject
* obj3
= 0 ;
11377 char *kwnames
[] = {
11378 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11385 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11387 if (arg2
== NULL
) {
11388 PyErr_SetString(PyExc_TypeError
,"null reference");
11391 arg3
= (int) SWIG_AsInt(obj2
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11393 arg4
= (int) SWIG_AsInt(obj3
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11397 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11399 wxPyEndAllowThreads(__tstate
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11402 Py_INCREF(Py_None
); resultobj
= Py_None
;
11409 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11410 PyObject
*resultobj
;
11411 wxDC
*arg1
= (wxDC
*) 0 ;
11413 wxPoint
*arg3
= 0 ;
11415 PyObject
* obj0
= 0 ;
11416 PyObject
* obj1
= 0 ;
11417 PyObject
* obj2
= 0 ;
11418 char *kwnames
[] = {
11419 (char *) "self",(char *) "icon",(char *) "pt", NULL
11422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11426 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11428 if (arg2
== NULL
) {
11429 PyErr_SetString(PyExc_TypeError
,"null reference");
11434 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 Py_INCREF(Py_None
); resultobj
= Py_None
;
11450 static PyObject
*_wrap_DC_DrawBitmapXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11451 PyObject
*resultobj
;
11452 wxDC
*arg1
= (wxDC
*) 0 ;
11453 wxBitmap
*arg2
= 0 ;
11456 bool arg5
= (bool) False
;
11457 PyObject
* obj0
= 0 ;
11458 PyObject
* obj1
= 0 ;
11459 PyObject
* obj2
= 0 ;
11460 PyObject
* obj3
= 0 ;
11461 PyObject
* obj4
= 0 ;
11462 char *kwnames
[] = {
11463 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmapXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11470 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11472 if (arg2
== NULL
) {
11473 PyErr_SetString(PyExc_TypeError
,"null reference");
11476 arg3
= (int) SWIG_AsInt(obj2
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11478 arg4
= (int) SWIG_AsInt(obj3
);
11479 if (PyErr_Occurred()) SWIG_fail
;
11481 arg5
= (bool) SWIG_AsBool(obj4
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11486 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11488 wxPyEndAllowThreads(__tstate
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11491 Py_INCREF(Py_None
); resultobj
= Py_None
;
11498 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11499 PyObject
*resultobj
;
11500 wxDC
*arg1
= (wxDC
*) 0 ;
11501 wxBitmap
*arg2
= 0 ;
11502 wxPoint
*arg3
= 0 ;
11503 bool arg4
= (bool) False
;
11505 PyObject
* obj0
= 0 ;
11506 PyObject
* obj1
= 0 ;
11507 PyObject
* obj2
= 0 ;
11508 PyObject
* obj3
= 0 ;
11509 char *kwnames
[] = {
11510 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11517 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11519 if (arg2
== NULL
) {
11520 PyErr_SetString(PyExc_TypeError
,"null reference");
11525 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11528 arg4
= (bool) SWIG_AsBool(obj3
);
11529 if (PyErr_Occurred()) SWIG_fail
;
11532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11533 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11535 wxPyEndAllowThreads(__tstate
);
11536 if (PyErr_Occurred()) SWIG_fail
;
11538 Py_INCREF(Py_None
); resultobj
= Py_None
;
11545 static PyObject
*_wrap_DC_DrawTextXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11546 PyObject
*resultobj
;
11547 wxDC
*arg1
= (wxDC
*) 0 ;
11548 wxString
*arg2
= 0 ;
11551 bool temp2
= False
;
11552 PyObject
* obj0
= 0 ;
11553 PyObject
* obj1
= 0 ;
11554 PyObject
* obj2
= 0 ;
11555 PyObject
* obj3
= 0 ;
11556 char *kwnames
[] = {
11557 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11564 arg2
= wxString_in_helper(obj1
);
11565 if (arg2
== NULL
) SWIG_fail
;
11568 arg3
= (int) SWIG_AsInt(obj2
);
11569 if (PyErr_Occurred()) SWIG_fail
;
11570 arg4
= (int) SWIG_AsInt(obj3
);
11571 if (PyErr_Occurred()) SWIG_fail
;
11573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11574 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11576 wxPyEndAllowThreads(__tstate
);
11577 if (PyErr_Occurred()) SWIG_fail
;
11579 Py_INCREF(Py_None
); resultobj
= Py_None
;
11594 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11595 PyObject
*resultobj
;
11596 wxDC
*arg1
= (wxDC
*) 0 ;
11597 wxString
*arg2
= 0 ;
11598 wxPoint
*arg3
= 0 ;
11599 bool temp2
= False
;
11601 PyObject
* obj0
= 0 ;
11602 PyObject
* obj1
= 0 ;
11603 PyObject
* obj2
= 0 ;
11604 char *kwnames
[] = {
11605 (char *) "self",(char *) "text",(char *) "pt", NULL
11608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11612 arg2
= wxString_in_helper(obj1
);
11613 if (arg2
== NULL
) SWIG_fail
;
11618 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11622 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11624 wxPyEndAllowThreads(__tstate
);
11625 if (PyErr_Occurred()) SWIG_fail
;
11627 Py_INCREF(Py_None
); resultobj
= Py_None
;
11642 static PyObject
*_wrap_DC_DrawRotatedTextXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11643 PyObject
*resultobj
;
11644 wxDC
*arg1
= (wxDC
*) 0 ;
11645 wxString
*arg2
= 0 ;
11649 bool temp2
= False
;
11650 PyObject
* obj0
= 0 ;
11651 PyObject
* obj1
= 0 ;
11652 PyObject
* obj2
= 0 ;
11653 PyObject
* obj3
= 0 ;
11654 PyObject
* obj4
= 0 ;
11655 char *kwnames
[] = {
11656 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11663 arg2
= wxString_in_helper(obj1
);
11664 if (arg2
== NULL
) SWIG_fail
;
11667 arg3
= (int) SWIG_AsInt(obj2
);
11668 if (PyErr_Occurred()) SWIG_fail
;
11669 arg4
= (int) SWIG_AsInt(obj3
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11671 arg5
= (double) SWIG_AsDouble(obj4
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11677 wxPyEndAllowThreads(__tstate
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11680 Py_INCREF(Py_None
); resultobj
= Py_None
;
11695 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11696 PyObject
*resultobj
;
11697 wxDC
*arg1
= (wxDC
*) 0 ;
11698 wxString
*arg2
= 0 ;
11699 wxPoint
*arg3
= 0 ;
11701 bool temp2
= False
;
11703 PyObject
* obj0
= 0 ;
11704 PyObject
* obj1
= 0 ;
11705 PyObject
* obj2
= 0 ;
11706 PyObject
* obj3
= 0 ;
11707 char *kwnames
[] = {
11708 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11715 arg2
= wxString_in_helper(obj1
);
11716 if (arg2
== NULL
) SWIG_fail
;
11721 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11723 arg4
= (double) SWIG_AsDouble(obj3
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11727 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11729 wxPyEndAllowThreads(__tstate
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11732 Py_INCREF(Py_None
); resultobj
= Py_None
;
11747 static PyObject
*_wrap_DC_BlitXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11748 PyObject
*resultobj
;
11749 wxDC
*arg1
= (wxDC
*) 0 ;
11754 wxDC
*arg6
= (wxDC
*) 0 ;
11757 int arg9
= (int) wxCOPY
;
11758 bool arg10
= (bool) False
;
11759 int arg11
= (int) -1 ;
11760 int arg12
= (int) -1 ;
11762 PyObject
* obj0
= 0 ;
11763 PyObject
* obj1
= 0 ;
11764 PyObject
* obj2
= 0 ;
11765 PyObject
* obj3
= 0 ;
11766 PyObject
* obj4
= 0 ;
11767 PyObject
* obj5
= 0 ;
11768 PyObject
* obj6
= 0 ;
11769 PyObject
* obj7
= 0 ;
11770 PyObject
* obj8
= 0 ;
11771 PyObject
* obj9
= 0 ;
11772 PyObject
* obj10
= 0 ;
11773 PyObject
* obj11
= 0 ;
11774 char *kwnames
[] = {
11775 (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
11778 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
;
11779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11781 arg2
= (int) SWIG_AsInt(obj1
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11783 arg3
= (int) SWIG_AsInt(obj2
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11785 arg4
= (int) SWIG_AsInt(obj3
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11787 arg5
= (int) SWIG_AsInt(obj4
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11789 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
11790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11791 arg7
= (int) SWIG_AsInt(obj6
);
11792 if (PyErr_Occurred()) SWIG_fail
;
11793 arg8
= (int) SWIG_AsInt(obj7
);
11794 if (PyErr_Occurred()) SWIG_fail
;
11796 arg9
= (int) SWIG_AsInt(obj8
);
11797 if (PyErr_Occurred()) SWIG_fail
;
11800 arg10
= (bool) SWIG_AsBool(obj9
);
11801 if (PyErr_Occurred()) SWIG_fail
;
11804 arg11
= (int) SWIG_AsInt(obj10
);
11805 if (PyErr_Occurred()) SWIG_fail
;
11808 arg12
= (int) SWIG_AsInt(obj11
);
11809 if (PyErr_Occurred()) SWIG_fail
;
11812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11813 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
11815 wxPyEndAllowThreads(__tstate
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11827 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11828 PyObject
*resultobj
;
11829 wxDC
*arg1
= (wxDC
*) 0 ;
11830 wxPoint
*arg2
= 0 ;
11832 wxDC
*arg4
= (wxDC
*) 0 ;
11833 wxPoint
*arg5
= 0 ;
11834 int arg6
= (int) wxCOPY
;
11835 bool arg7
= (bool) False
;
11836 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
11837 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
11843 PyObject
* obj0
= 0 ;
11844 PyObject
* obj1
= 0 ;
11845 PyObject
* obj2
= 0 ;
11846 PyObject
* obj3
= 0 ;
11847 PyObject
* obj4
= 0 ;
11848 PyObject
* obj5
= 0 ;
11849 PyObject
* obj6
= 0 ;
11850 PyObject
* obj7
= 0 ;
11851 char *kwnames
[] = {
11852 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11860 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11864 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11866 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
11867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11870 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11873 arg6
= (int) SWIG_AsInt(obj5
);
11874 if (PyErr_Occurred()) SWIG_fail
;
11877 arg7
= (bool) SWIG_AsBool(obj6
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11883 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
11887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11888 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
11890 wxPyEndAllowThreads(__tstate
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11902 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11903 PyObject
*resultobj
;
11904 wxDC
*arg1
= (wxDC
*) 0 ;
11906 wxPoint
*arg3
= (wxPoint
*) 0 ;
11907 int arg4
= (int) 0 ;
11908 int arg5
= (int) 0 ;
11909 PyObject
* obj0
= 0 ;
11910 PyObject
* obj1
= 0 ;
11911 PyObject
* obj2
= 0 ;
11912 PyObject
* obj3
= 0 ;
11913 char *kwnames
[] = {
11914 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
11917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11921 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11922 if (arg3
== NULL
) SWIG_fail
;
11925 arg4
= (int) SWIG_AsInt(obj2
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11929 arg5
= (int) SWIG_AsInt(obj3
);
11930 if (PyErr_Occurred()) SWIG_fail
;
11933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11934 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
11936 wxPyEndAllowThreads(__tstate
);
11937 if (PyErr_Occurred()) SWIG_fail
;
11939 Py_INCREF(Py_None
); resultobj
= Py_None
;
11941 if (arg3
) delete [] arg3
;
11946 if (arg3
) delete [] arg3
;
11952 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11953 PyObject
*resultobj
;
11954 wxDC
*arg1
= (wxDC
*) 0 ;
11956 wxPoint
*arg3
= (wxPoint
*) 0 ;
11957 int arg4
= (int) 0 ;
11958 int arg5
= (int) 0 ;
11959 int arg6
= (int) wxODDEVEN_RULE
;
11960 PyObject
* obj0
= 0 ;
11961 PyObject
* obj1
= 0 ;
11962 PyObject
* obj2
= 0 ;
11963 PyObject
* obj3
= 0 ;
11964 PyObject
* obj4
= 0 ;
11965 char *kwnames
[] = {
11966 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
11969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11973 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11974 if (arg3
== NULL
) SWIG_fail
;
11977 arg4
= (int) SWIG_AsInt(obj2
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11981 arg5
= (int) SWIG_AsInt(obj3
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11985 arg6
= (int) SWIG_AsInt(obj4
);
11986 if (PyErr_Occurred()) SWIG_fail
;
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11995 Py_INCREF(Py_None
); resultobj
= Py_None
;
11997 if (arg3
) delete [] arg3
;
12002 if (arg3
) delete [] arg3
;
12008 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12009 PyObject
*resultobj
;
12010 wxDC
*arg1
= (wxDC
*) 0 ;
12011 wxString
*arg2
= 0 ;
12013 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12014 int arg5
= (int) -1 ;
12015 bool temp2
= False
;
12017 PyObject
* obj0
= 0 ;
12018 PyObject
* obj1
= 0 ;
12019 PyObject
* obj2
= 0 ;
12020 PyObject
* obj3
= 0 ;
12021 PyObject
* obj4
= 0 ;
12022 char *kwnames
[] = {
12023 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12030 arg2
= wxString_in_helper(obj1
);
12031 if (arg2
== NULL
) SWIG_fail
;
12036 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12039 arg4
= (int) SWIG_AsInt(obj3
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12043 arg5
= (int) SWIG_AsInt(obj4
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12053 Py_INCREF(Py_None
); resultobj
= Py_None
;
12068 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12069 PyObject
*resultobj
;
12070 wxDC
*arg1
= (wxDC
*) 0 ;
12071 wxString
*arg2
= 0 ;
12072 wxBitmap
*arg3
= 0 ;
12074 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12075 int arg6
= (int) -1 ;
12077 bool temp2
= False
;
12079 PyObject
* obj0
= 0 ;
12080 PyObject
* obj1
= 0 ;
12081 PyObject
* obj2
= 0 ;
12082 PyObject
* obj3
= 0 ;
12083 PyObject
* obj4
= 0 ;
12084 PyObject
* obj5
= 0 ;
12085 char *kwnames
[] = {
12086 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12093 arg2
= wxString_in_helper(obj1
);
12094 if (arg2
== NULL
) SWIG_fail
;
12097 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12098 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12100 if (arg3
== NULL
) {
12101 PyErr_SetString(PyExc_TypeError
,"null reference");
12106 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12109 arg5
= (int) SWIG_AsInt(obj4
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12113 arg6
= (int) SWIG_AsInt(obj5
);
12114 if (PyErr_Occurred()) SWIG_fail
;
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12118 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12120 wxPyEndAllowThreads(__tstate
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12124 wxRect
* resultptr
;
12125 resultptr
= new wxRect((wxRect
&) result
);
12126 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12142 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12143 PyObject
*resultobj
;
12144 wxDC
*arg1
= (wxDC
*) 0 ;
12146 wxPoint
*arg3
= (wxPoint
*) 0 ;
12147 PyObject
* obj0
= 0 ;
12148 PyObject
* obj1
= 0 ;
12149 char *kwnames
[] = {
12150 (char *) "self",(char *) "points", NULL
12153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12157 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12158 if (arg3
== NULL
) SWIG_fail
;
12161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12162 (arg1
)->DrawSpline(arg2
,arg3
);
12164 wxPyEndAllowThreads(__tstate
);
12165 if (PyErr_Occurred()) SWIG_fail
;
12167 Py_INCREF(Py_None
); resultobj
= Py_None
;
12169 if (arg3
) delete [] arg3
;
12174 if (arg3
) delete [] arg3
;
12180 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12181 PyObject
*resultobj
;
12182 wxDC
*arg1
= (wxDC
*) 0 ;
12183 PyObject
* obj0
= 0 ;
12184 char *kwnames
[] = {
12185 (char *) "self", NULL
12188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12195 wxPyEndAllowThreads(__tstate
);
12196 if (PyErr_Occurred()) SWIG_fail
;
12198 Py_INCREF(Py_None
); resultobj
= Py_None
;
12205 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12206 PyObject
*resultobj
;
12207 wxDC
*arg1
= (wxDC
*) 0 ;
12208 wxString
*arg2
= 0 ;
12210 bool temp2
= False
;
12211 PyObject
* obj0
= 0 ;
12212 PyObject
* obj1
= 0 ;
12213 char *kwnames
[] = {
12214 (char *) "self",(char *) "message", NULL
12217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12221 arg2
= wxString_in_helper(obj1
);
12222 if (arg2
== NULL
) SWIG_fail
;
12226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12227 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12229 wxPyEndAllowThreads(__tstate
);
12230 if (PyErr_Occurred()) SWIG_fail
;
12233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12249 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12250 PyObject
*resultobj
;
12251 wxDC
*arg1
= (wxDC
*) 0 ;
12252 PyObject
* obj0
= 0 ;
12253 char *kwnames
[] = {
12254 (char *) "self", NULL
12257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12264 wxPyEndAllowThreads(__tstate
);
12265 if (PyErr_Occurred()) SWIG_fail
;
12267 Py_INCREF(Py_None
); resultobj
= Py_None
;
12274 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12275 PyObject
*resultobj
;
12276 wxDC
*arg1
= (wxDC
*) 0 ;
12277 PyObject
* obj0
= 0 ;
12278 char *kwnames
[] = {
12279 (char *) "self", NULL
12282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12287 (arg1
)->StartPage();
12289 wxPyEndAllowThreads(__tstate
);
12290 if (PyErr_Occurred()) SWIG_fail
;
12292 Py_INCREF(Py_None
); resultobj
= Py_None
;
12299 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12300 PyObject
*resultobj
;
12301 wxDC
*arg1
= (wxDC
*) 0 ;
12302 PyObject
* obj0
= 0 ;
12303 char *kwnames
[] = {
12304 (char *) "self", NULL
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 wxPyEndAllowThreads(__tstate
);
12315 if (PyErr_Occurred()) SWIG_fail
;
12317 Py_INCREF(Py_None
); resultobj
= Py_None
;
12324 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12325 PyObject
*resultobj
;
12326 wxDC
*arg1
= (wxDC
*) 0 ;
12328 PyObject
* obj0
= 0 ;
12329 PyObject
* obj1
= 0 ;
12330 char *kwnames
[] = {
12331 (char *) "self",(char *) "font", NULL
12334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12338 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12340 if (arg2
== NULL
) {
12341 PyErr_SetString(PyExc_TypeError
,"null reference");
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 (arg1
)->SetFont((wxFont
const &)*arg2
);
12348 wxPyEndAllowThreads(__tstate
);
12349 if (PyErr_Occurred()) SWIG_fail
;
12351 Py_INCREF(Py_None
); resultobj
= Py_None
;
12358 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12359 PyObject
*resultobj
;
12360 wxDC
*arg1
= (wxDC
*) 0 ;
12362 PyObject
* obj0
= 0 ;
12363 PyObject
* obj1
= 0 ;
12364 char *kwnames
[] = {
12365 (char *) "self",(char *) "pen", NULL
12368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12371 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12372 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12374 if (arg2
== NULL
) {
12375 PyErr_SetString(PyExc_TypeError
,"null reference");
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 (arg1
)->SetPen((wxPen
const &)*arg2
);
12382 wxPyEndAllowThreads(__tstate
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12385 Py_INCREF(Py_None
); resultobj
= Py_None
;
12392 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12393 PyObject
*resultobj
;
12394 wxDC
*arg1
= (wxDC
*) 0 ;
12395 wxBrush
*arg2
= 0 ;
12396 PyObject
* obj0
= 0 ;
12397 PyObject
* obj1
= 0 ;
12398 char *kwnames
[] = {
12399 (char *) "self",(char *) "brush", NULL
12402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12406 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12408 if (arg2
== NULL
) {
12409 PyErr_SetString(PyExc_TypeError
,"null reference");
12413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12414 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12416 wxPyEndAllowThreads(__tstate
);
12417 if (PyErr_Occurred()) SWIG_fail
;
12419 Py_INCREF(Py_None
); resultobj
= Py_None
;
12426 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12427 PyObject
*resultobj
;
12428 wxDC
*arg1
= (wxDC
*) 0 ;
12429 wxBrush
*arg2
= 0 ;
12430 PyObject
* obj0
= 0 ;
12431 PyObject
* obj1
= 0 ;
12432 char *kwnames
[] = {
12433 (char *) "self",(char *) "brush", NULL
12436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12440 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12442 if (arg2
== NULL
) {
12443 PyErr_SetString(PyExc_TypeError
,"null reference");
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 Py_INCREF(Py_None
); resultobj
= Py_None
;
12460 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12461 PyObject
*resultobj
;
12462 wxDC
*arg1
= (wxDC
*) 0 ;
12464 PyObject
* obj0
= 0 ;
12465 PyObject
* obj1
= 0 ;
12466 char *kwnames
[] = {
12467 (char *) "self",(char *) "mode", NULL
12470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12473 arg2
= (int) SWIG_AsInt(obj1
);
12474 if (PyErr_Occurred()) SWIG_fail
;
12476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12477 (arg1
)->SetBackgroundMode(arg2
);
12479 wxPyEndAllowThreads(__tstate
);
12480 if (PyErr_Occurred()) SWIG_fail
;
12482 Py_INCREF(Py_None
); resultobj
= Py_None
;
12489 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12490 PyObject
*resultobj
;
12491 wxDC
*arg1
= (wxDC
*) 0 ;
12492 wxPalette
*arg2
= 0 ;
12493 PyObject
* obj0
= 0 ;
12494 PyObject
* obj1
= 0 ;
12495 char *kwnames
[] = {
12496 (char *) "self",(char *) "palette", NULL
12499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
12503 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12505 if (arg2
== NULL
) {
12506 PyErr_SetString(PyExc_TypeError
,"null reference");
12510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12513 wxPyEndAllowThreads(__tstate
);
12514 if (PyErr_Occurred()) SWIG_fail
;
12516 Py_INCREF(Py_None
); resultobj
= Py_None
;
12523 static PyObject
*_wrap_DC_SetClippingRegionXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12524 PyObject
*resultobj
;
12525 wxDC
*arg1
= (wxDC
*) 0 ;
12530 PyObject
* obj0
= 0 ;
12531 PyObject
* obj1
= 0 ;
12532 PyObject
* obj2
= 0 ;
12533 PyObject
* obj3
= 0 ;
12534 PyObject
* obj4
= 0 ;
12535 char *kwnames
[] = {
12536 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegionXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12542 arg2
= (int) SWIG_AsInt(obj1
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12544 arg3
= (int) SWIG_AsInt(obj2
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12546 arg4
= (int) SWIG_AsInt(obj3
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12548 arg5
= (int) SWIG_AsInt(obj4
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12552 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12554 wxPyEndAllowThreads(__tstate
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12557 Py_INCREF(Py_None
); resultobj
= Py_None
;
12564 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12565 PyObject
*resultobj
;
12566 wxDC
*arg1
= (wxDC
*) 0 ;
12567 wxPoint
*arg2
= 0 ;
12571 PyObject
* obj0
= 0 ;
12572 PyObject
* obj1
= 0 ;
12573 PyObject
* obj2
= 0 ;
12574 char *kwnames
[] = {
12575 (char *) "self",(char *) "pt",(char *) "sz", NULL
12578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12583 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12587 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12591 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12593 wxPyEndAllowThreads(__tstate
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12596 Py_INCREF(Py_None
); resultobj
= Py_None
;
12603 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12604 PyObject
*resultobj
;
12605 wxDC
*arg1
= (wxDC
*) 0 ;
12608 PyObject
* obj0
= 0 ;
12609 PyObject
* obj1
= 0 ;
12610 char *kwnames
[] = {
12611 (char *) "self",(char *) "rect", NULL
12614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12619 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12623 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12625 wxPyEndAllowThreads(__tstate
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12628 Py_INCREF(Py_None
); resultobj
= Py_None
;
12635 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12636 PyObject
*resultobj
;
12637 wxDC
*arg1
= (wxDC
*) 0 ;
12638 wxRegion
*arg2
= 0 ;
12639 PyObject
* obj0
= 0 ;
12640 PyObject
* obj1
= 0 ;
12641 char *kwnames
[] = {
12642 (char *) "self",(char *) "region", NULL
12645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12649 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12651 if (arg2
== NULL
) {
12652 PyErr_SetString(PyExc_TypeError
,"null reference");
12656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12657 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12659 wxPyEndAllowThreads(__tstate
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12662 Py_INCREF(Py_None
); resultobj
= Py_None
;
12669 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
*resultobj
;
12671 wxDC
*arg1
= (wxDC
*) 0 ;
12672 PyObject
* obj0
= 0 ;
12673 char *kwnames
[] = {
12674 (char *) "self", NULL
12677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12682 (arg1
)->DestroyClippingRegion();
12684 wxPyEndAllowThreads(__tstate
);
12685 if (PyErr_Occurred()) SWIG_fail
;
12687 Py_INCREF(Py_None
); resultobj
= Py_None
;
12694 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12695 PyObject
*resultobj
;
12696 wxDC
*arg1
= (wxDC
*) 0 ;
12697 int *arg2
= (int *) 0 ;
12698 int *arg3
= (int *) 0 ;
12699 int *arg4
= (int *) 0 ;
12700 int *arg5
= (int *) 0 ;
12705 PyObject
* obj0
= 0 ;
12706 char *kwnames
[] = {
12707 (char *) "self", NULL
12714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12719 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12721 wxPyEndAllowThreads(__tstate
);
12722 if (PyErr_Occurred()) SWIG_fail
;
12724 Py_INCREF(Py_None
); resultobj
= Py_None
;
12726 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12727 resultobj
= t_output_helper(resultobj
,o
);
12730 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12731 resultobj
= t_output_helper(resultobj
,o
);
12734 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12735 resultobj
= t_output_helper(resultobj
,o
);
12738 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12739 resultobj
= t_output_helper(resultobj
,o
);
12747 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12748 PyObject
*resultobj
;
12749 wxDC
*arg1
= (wxDC
*) 0 ;
12751 PyObject
* obj0
= 0 ;
12752 char *kwnames
[] = {
12753 (char *) "self", NULL
12756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12761 result
= wxDC_GetClippingRect(arg1
);
12763 wxPyEndAllowThreads(__tstate
);
12764 if (PyErr_Occurred()) SWIG_fail
;
12767 wxRect
* resultptr
;
12768 resultptr
= new wxRect((wxRect
&) result
);
12769 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12777 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12778 PyObject
*resultobj
;
12779 wxDC
*arg1
= (wxDC
*) 0 ;
12781 PyObject
* obj0
= 0 ;
12782 char *kwnames
[] = {
12783 (char *) "self", NULL
12786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12791 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
12793 wxPyEndAllowThreads(__tstate
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12796 resultobj
= SWIG_FromInt((int)result
);
12803 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12804 PyObject
*resultobj
;
12805 wxDC
*arg1
= (wxDC
*) 0 ;
12807 PyObject
* obj0
= 0 ;
12808 char *kwnames
[] = {
12809 (char *) "self", NULL
12812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
12813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
12819 wxPyEndAllowThreads(__tstate
);
12820 if (PyErr_Occurred()) SWIG_fail
;
12822 resultobj
= SWIG_FromInt((int)result
);
12829 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12830 PyObject
*resultobj
;
12831 wxDC
*arg1
= (wxDC
*) 0 ;
12832 wxString
*arg2
= 0 ;
12833 int *arg3
= (int *) 0 ;
12834 int *arg4
= (int *) 0 ;
12835 bool temp2
= False
;
12838 PyObject
* obj0
= 0 ;
12839 PyObject
* obj1
= 0 ;
12840 char *kwnames
[] = {
12841 (char *) "self",(char *) "string", NULL
12846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
12847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12850 arg2
= wxString_in_helper(obj1
);
12851 if (arg2
== NULL
) SWIG_fail
;
12855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12856 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12861 Py_INCREF(Py_None
); resultobj
= Py_None
;
12863 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12864 resultobj
= t_output_helper(resultobj
,o
);
12867 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12868 resultobj
= t_output_helper(resultobj
,o
);
12884 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12885 PyObject
*resultobj
;
12886 wxDC
*arg1
= (wxDC
*) 0 ;
12887 wxString
*arg2
= 0 ;
12888 int *arg3
= (int *) 0 ;
12889 int *arg4
= (int *) 0 ;
12890 int *arg5
= (int *) 0 ;
12891 int *arg6
= (int *) 0 ;
12892 wxFont
*arg7
= (wxFont
*) NULL
;
12893 bool temp2
= False
;
12898 PyObject
* obj0
= 0 ;
12899 PyObject
* obj1
= 0 ;
12900 PyObject
* obj2
= 0 ;
12901 char *kwnames
[] = {
12902 (char *) "self",(char *) "string",(char *) "font", NULL
12909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12913 arg2
= wxString_in_helper(obj1
);
12914 if (arg2
== NULL
) SWIG_fail
;
12918 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
12919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12923 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12925 wxPyEndAllowThreads(__tstate
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12928 Py_INCREF(Py_None
); resultobj
= Py_None
;
12930 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12931 resultobj
= t_output_helper(resultobj
,o
);
12934 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12935 resultobj
= t_output_helper(resultobj
,o
);
12938 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12939 resultobj
= t_output_helper(resultobj
,o
);
12942 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
12943 resultobj
= t_output_helper(resultobj
,o
);
12959 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12960 PyObject
*resultobj
;
12961 wxDC
*arg1
= (wxDC
*) 0 ;
12962 wxString
*arg2
= 0 ;
12963 int *arg3
= (int *) 0 ;
12964 int *arg4
= (int *) 0 ;
12965 int *arg5
= (int *) 0 ;
12966 wxFont
*arg6
= (wxFont
*) NULL
;
12967 bool temp2
= False
;
12971 PyObject
* obj0
= 0 ;
12972 PyObject
* obj1
= 0 ;
12973 PyObject
* obj2
= 0 ;
12974 char *kwnames
[] = {
12975 (char *) "self",(char *) "text",(char *) "font", NULL
12981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12985 arg2
= wxString_in_helper(obj1
);
12986 if (arg2
== NULL
) SWIG_fail
;
12990 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
12991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12995 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
12997 wxPyEndAllowThreads(__tstate
);
12998 if (PyErr_Occurred()) SWIG_fail
;
13000 Py_INCREF(Py_None
); resultobj
= Py_None
;
13002 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13003 resultobj
= t_output_helper(resultobj
,o
);
13006 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13007 resultobj
= t_output_helper(resultobj
,o
);
13010 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13011 resultobj
= t_output_helper(resultobj
,o
);
13027 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13028 PyObject
*resultobj
;
13029 wxDC
*arg1
= (wxDC
*) 0 ;
13030 wxString
*arg2
= 0 ;
13032 bool temp2
= False
;
13033 PyObject
* obj0
= 0 ;
13034 PyObject
* obj1
= 0 ;
13035 char *kwnames
[] = {
13036 (char *) "self",(char *) "text", NULL
13039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13043 arg2
= wxString_in_helper(obj1
);
13044 if (arg2
== NULL
) SWIG_fail
;
13048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13049 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13051 wxPyEndAllowThreads(__tstate
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13055 resultobj
= PyList_New(0);
13057 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13058 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13059 PyList_Append(resultobj
, val
);
13077 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13078 PyObject
*resultobj
;
13079 wxDC
*arg1
= (wxDC
*) 0 ;
13081 PyObject
* obj0
= 0 ;
13082 char *kwnames
[] = {
13083 (char *) "self", NULL
13086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 result
= (arg1
)->GetSize();
13093 wxPyEndAllowThreads(__tstate
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13097 wxSize
* resultptr
;
13098 resultptr
= new wxSize((wxSize
&) result
);
13099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13107 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13108 PyObject
*resultobj
;
13109 wxDC
*arg1
= (wxDC
*) 0 ;
13110 int *arg2
= (int *) 0 ;
13111 int *arg3
= (int *) 0 ;
13114 PyObject
* obj0
= 0 ;
13115 char *kwnames
[] = {
13116 (char *) "self", NULL
13121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13126 (arg1
)->GetSize(arg2
,arg3
);
13128 wxPyEndAllowThreads(__tstate
);
13129 if (PyErr_Occurred()) SWIG_fail
;
13131 Py_INCREF(Py_None
); resultobj
= Py_None
;
13133 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13134 resultobj
= t_output_helper(resultobj
,o
);
13137 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13138 resultobj
= t_output_helper(resultobj
,o
);
13146 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13147 PyObject
*resultobj
;
13148 wxDC
*arg1
= (wxDC
*) 0 ;
13150 PyObject
* obj0
= 0 ;
13151 char *kwnames
[] = {
13152 (char *) "self", NULL
13155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13160 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13162 wxPyEndAllowThreads(__tstate
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13166 wxSize
* resultptr
;
13167 resultptr
= new wxSize((wxSize
&) result
);
13168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13176 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13177 PyObject
*resultobj
;
13178 wxDC
*arg1
= (wxDC
*) 0 ;
13179 int *arg2
= (int *) 0 ;
13180 int *arg3
= (int *) 0 ;
13183 PyObject
* obj0
= 0 ;
13184 char *kwnames
[] = {
13185 (char *) "self", NULL
13190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13195 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13200 Py_INCREF(Py_None
); resultobj
= Py_None
;
13202 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13203 resultobj
= t_output_helper(resultobj
,o
);
13206 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13207 resultobj
= t_output_helper(resultobj
,o
);
13215 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13216 PyObject
*resultobj
;
13217 wxDC
*arg1
= (wxDC
*) 0 ;
13220 PyObject
* obj0
= 0 ;
13221 PyObject
* obj1
= 0 ;
13222 char *kwnames
[] = {
13223 (char *) "self",(char *) "x", NULL
13226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13229 arg2
= (int) SWIG_AsInt(obj1
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13233 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13235 wxPyEndAllowThreads(__tstate
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13238 resultobj
= SWIG_FromInt((int)result
);
13245 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13246 PyObject
*resultobj
;
13247 wxDC
*arg1
= (wxDC
*) 0 ;
13250 PyObject
* obj0
= 0 ;
13251 PyObject
* obj1
= 0 ;
13252 char *kwnames
[] = {
13253 (char *) "self",(char *) "y", NULL
13256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13259 arg2
= (int) SWIG_AsInt(obj1
);
13260 if (PyErr_Occurred()) SWIG_fail
;
13262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13263 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13268 resultobj
= SWIG_FromInt((int)result
);
13275 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13276 PyObject
*resultobj
;
13277 wxDC
*arg1
= (wxDC
*) 0 ;
13280 PyObject
* obj0
= 0 ;
13281 PyObject
* obj1
= 0 ;
13282 char *kwnames
[] = {
13283 (char *) "self",(char *) "x", NULL
13286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13289 arg2
= (int) SWIG_AsInt(obj1
);
13290 if (PyErr_Occurred()) SWIG_fail
;
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13293 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13298 resultobj
= SWIG_FromInt((int)result
);
13305 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13306 PyObject
*resultobj
;
13307 wxDC
*arg1
= (wxDC
*) 0 ;
13310 PyObject
* obj0
= 0 ;
13311 PyObject
* obj1
= 0 ;
13312 char *kwnames
[] = {
13313 (char *) "self",(char *) "y", NULL
13316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13319 arg2
= (int) SWIG_AsInt(obj1
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 resultobj
= SWIG_FromInt((int)result
);
13335 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13336 PyObject
*resultobj
;
13337 wxDC
*arg1
= (wxDC
*) 0 ;
13340 PyObject
* obj0
= 0 ;
13341 PyObject
* obj1
= 0 ;
13342 char *kwnames
[] = {
13343 (char *) "self",(char *) "x", NULL
13346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13349 arg2
= (int) SWIG_AsInt(obj1
);
13350 if (PyErr_Occurred()) SWIG_fail
;
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13353 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13355 wxPyEndAllowThreads(__tstate
);
13356 if (PyErr_Occurred()) SWIG_fail
;
13358 resultobj
= SWIG_FromInt((int)result
);
13365 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13366 PyObject
*resultobj
;
13367 wxDC
*arg1
= (wxDC
*) 0 ;
13370 PyObject
* obj0
= 0 ;
13371 PyObject
* obj1
= 0 ;
13372 char *kwnames
[] = {
13373 (char *) "self",(char *) "y", NULL
13376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13379 arg2
= (int) SWIG_AsInt(obj1
);
13380 if (PyErr_Occurred()) SWIG_fail
;
13382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13383 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13385 wxPyEndAllowThreads(__tstate
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13388 resultobj
= SWIG_FromInt((int)result
);
13395 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13396 PyObject
*resultobj
;
13397 wxDC
*arg1
= (wxDC
*) 0 ;
13400 PyObject
* obj0
= 0 ;
13401 PyObject
* obj1
= 0 ;
13402 char *kwnames
[] = {
13403 (char *) "self",(char *) "x", NULL
13406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13409 arg2
= (int) SWIG_AsInt(obj1
);
13410 if (PyErr_Occurred()) SWIG_fail
;
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13413 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13415 wxPyEndAllowThreads(__tstate
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13418 resultobj
= SWIG_FromInt((int)result
);
13425 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13426 PyObject
*resultobj
;
13427 wxDC
*arg1
= (wxDC
*) 0 ;
13430 PyObject
* obj0
= 0 ;
13431 PyObject
* obj1
= 0 ;
13432 char *kwnames
[] = {
13433 (char *) "self",(char *) "y", NULL
13436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13439 arg2
= (int) SWIG_AsInt(obj1
);
13440 if (PyErr_Occurred()) SWIG_fail
;
13442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13443 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13445 wxPyEndAllowThreads(__tstate
);
13446 if (PyErr_Occurred()) SWIG_fail
;
13448 resultobj
= SWIG_FromInt((int)result
);
13455 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13456 PyObject
*resultobj
;
13457 wxDC
*arg1
= (wxDC
*) 0 ;
13459 PyObject
* obj0
= 0 ;
13460 char *kwnames
[] = {
13461 (char *) "self", NULL
13464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13469 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13471 wxPyEndAllowThreads(__tstate
);
13472 if (PyErr_Occurred()) SWIG_fail
;
13475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13483 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13484 PyObject
*resultobj
;
13485 wxDC
*arg1
= (wxDC
*) 0 ;
13487 PyObject
* obj0
= 0 ;
13488 char *kwnames
[] = {
13489 (char *) "self", NULL
13492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13497 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13499 wxPyEndAllowThreads(__tstate
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13511 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13512 PyObject
*resultobj
;
13513 wxDC
*arg1
= (wxDC
*) 0 ;
13515 PyObject
* obj0
= 0 ;
13516 char *kwnames
[] = {
13517 (char *) "self", NULL
13520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13525 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13527 wxPyEndAllowThreads(__tstate
);
13528 if (PyErr_Occurred()) SWIG_fail
;
13530 resultobj
= SWIG_FromInt((int)result
);
13537 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13538 PyObject
*resultobj
;
13539 wxDC
*arg1
= (wxDC
*) 0 ;
13541 PyObject
* obj0
= 0 ;
13542 char *kwnames
[] = {
13543 (char *) "self", NULL
13546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13551 result
= ((wxDC
const *)arg1
)->GetPPI();
13553 wxPyEndAllowThreads(__tstate
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13557 wxSize
* resultptr
;
13558 resultptr
= new wxSize((wxSize
&) result
);
13559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13567 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13568 PyObject
*resultobj
;
13569 wxDC
*arg1
= (wxDC
*) 0 ;
13571 PyObject
* obj0
= 0 ;
13572 char *kwnames
[] = {
13573 (char *) "self", NULL
13576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13581 result
= (bool)((wxDC
const *)arg1
)->Ok();
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13595 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13596 PyObject
*resultobj
;
13597 wxDC
*arg1
= (wxDC
*) 0 ;
13599 PyObject
* obj0
= 0 ;
13600 char *kwnames
[] = {
13601 (char *) "self", NULL
13604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13609 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13611 wxPyEndAllowThreads(__tstate
);
13612 if (PyErr_Occurred()) SWIG_fail
;
13614 resultobj
= SWIG_FromInt((int)result
);
13621 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13622 PyObject
*resultobj
;
13623 wxDC
*arg1
= (wxDC
*) 0 ;
13625 PyObject
* obj0
= 0 ;
13626 char *kwnames
[] = {
13627 (char *) "self", NULL
13630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13637 result
= (wxBrush
*) &_result_ref
;
13640 wxPyEndAllowThreads(__tstate
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13644 wxBrush
* resultptr
= new wxBrush(*result
);
13645 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13653 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13654 PyObject
*resultobj
;
13655 wxDC
*arg1
= (wxDC
*) 0 ;
13657 PyObject
* obj0
= 0 ;
13658 char *kwnames
[] = {
13659 (char *) "self", NULL
13662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13668 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13669 result
= (wxBrush
*) &_result_ref
;
13672 wxPyEndAllowThreads(__tstate
);
13673 if (PyErr_Occurred()) SWIG_fail
;
13676 wxBrush
* resultptr
= new wxBrush(*result
);
13677 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13685 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13686 PyObject
*resultobj
;
13687 wxDC
*arg1
= (wxDC
*) 0 ;
13689 PyObject
* obj0
= 0 ;
13690 char *kwnames
[] = {
13691 (char *) "self", NULL
13694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13700 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13701 result
= (wxFont
*) &_result_ref
;
13704 wxPyEndAllowThreads(__tstate
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13708 wxFont
* resultptr
= new wxFont(*result
);
13709 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13717 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13718 PyObject
*resultobj
;
13719 wxDC
*arg1
= (wxDC
*) 0 ;
13721 PyObject
* obj0
= 0 ;
13722 char *kwnames
[] = {
13723 (char *) "self", NULL
13726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13732 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13733 result
= (wxPen
*) &_result_ref
;
13736 wxPyEndAllowThreads(__tstate
);
13737 if (PyErr_Occurred()) SWIG_fail
;
13740 wxPen
* resultptr
= new wxPen(*result
);
13741 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
13749 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13750 PyObject
*resultobj
;
13751 wxDC
*arg1
= (wxDC
*) 0 ;
13753 PyObject
* obj0
= 0 ;
13754 char *kwnames
[] = {
13755 (char *) "self", NULL
13758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13764 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13765 result
= (wxColour
*) &_result_ref
;
13768 wxPyEndAllowThreads(__tstate
);
13769 if (PyErr_Occurred()) SWIG_fail
;
13771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13778 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13779 PyObject
*resultobj
;
13780 wxDC
*arg1
= (wxDC
*) 0 ;
13782 PyObject
* obj0
= 0 ;
13783 char *kwnames
[] = {
13784 (char *) "self", NULL
13787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13793 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13794 result
= (wxColour
*) &_result_ref
;
13797 wxPyEndAllowThreads(__tstate
);
13798 if (PyErr_Occurred()) SWIG_fail
;
13800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13807 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13808 PyObject
*resultobj
;
13809 wxDC
*arg1
= (wxDC
*) 0 ;
13810 wxColour
*arg2
= 0 ;
13812 PyObject
* obj0
= 0 ;
13813 PyObject
* obj1
= 0 ;
13814 char *kwnames
[] = {
13815 (char *) "self",(char *) "colour", NULL
13818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13823 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13827 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
13829 wxPyEndAllowThreads(__tstate
);
13830 if (PyErr_Occurred()) SWIG_fail
;
13832 Py_INCREF(Py_None
); resultobj
= Py_None
;
13839 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13840 PyObject
*resultobj
;
13841 wxDC
*arg1
= (wxDC
*) 0 ;
13842 wxColour
*arg2
= 0 ;
13844 PyObject
* obj0
= 0 ;
13845 PyObject
* obj1
= 0 ;
13846 char *kwnames
[] = {
13847 (char *) "self",(char *) "colour", NULL
13850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13855 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13859 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
13861 wxPyEndAllowThreads(__tstate
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13864 Py_INCREF(Py_None
); resultobj
= Py_None
;
13871 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13872 PyObject
*resultobj
;
13873 wxDC
*arg1
= (wxDC
*) 0 ;
13875 PyObject
* obj0
= 0 ;
13876 char *kwnames
[] = {
13877 (char *) "self", NULL
13880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
13881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13885 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
13887 wxPyEndAllowThreads(__tstate
);
13888 if (PyErr_Occurred()) SWIG_fail
;
13890 resultobj
= SWIG_FromInt((int)result
);
13897 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13898 PyObject
*resultobj
;
13899 wxDC
*arg1
= (wxDC
*) 0 ;
13901 PyObject
* obj0
= 0 ;
13902 PyObject
* obj1
= 0 ;
13903 char *kwnames
[] = {
13904 (char *) "self",(char *) "mode", NULL
13907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13910 arg2
= (int) SWIG_AsInt(obj1
);
13911 if (PyErr_Occurred()) SWIG_fail
;
13913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13914 (arg1
)->SetMapMode(arg2
);
13916 wxPyEndAllowThreads(__tstate
);
13917 if (PyErr_Occurred()) SWIG_fail
;
13919 Py_INCREF(Py_None
); resultobj
= Py_None
;
13926 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13927 PyObject
*resultobj
;
13928 wxDC
*arg1
= (wxDC
*) 0 ;
13929 double *arg2
= (double *) 0 ;
13930 double *arg3
= (double *) 0 ;
13933 PyObject
* obj0
= 0 ;
13934 char *kwnames
[] = {
13935 (char *) "self", NULL
13940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
13941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13945 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
13947 wxPyEndAllowThreads(__tstate
);
13948 if (PyErr_Occurred()) SWIG_fail
;
13950 Py_INCREF(Py_None
); resultobj
= Py_None
;
13952 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13953 resultobj
= t_output_helper(resultobj
,o
);
13956 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
13957 resultobj
= t_output_helper(resultobj
,o
);
13965 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13966 PyObject
*resultobj
;
13967 wxDC
*arg1
= (wxDC
*) 0 ;
13970 PyObject
* obj0
= 0 ;
13971 PyObject
* obj1
= 0 ;
13972 PyObject
* obj2
= 0 ;
13973 char *kwnames
[] = {
13974 (char *) "self",(char *) "x",(char *) "y", NULL
13977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13980 arg2
= (double) SWIG_AsDouble(obj1
);
13981 if (PyErr_Occurred()) SWIG_fail
;
13982 arg3
= (double) SWIG_AsDouble(obj2
);
13983 if (PyErr_Occurred()) SWIG_fail
;
13985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13986 (arg1
)->SetUserScale(arg2
,arg3
);
13988 wxPyEndAllowThreads(__tstate
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13991 Py_INCREF(Py_None
); resultobj
= Py_None
;
13998 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13999 PyObject
*resultobj
;
14000 wxDC
*arg1
= (wxDC
*) 0 ;
14001 double *arg2
= (double *) 0 ;
14002 double *arg3
= (double *) 0 ;
14005 PyObject
* obj0
= 0 ;
14006 char *kwnames
[] = {
14007 (char *) "self", NULL
14012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14017 (arg1
)->GetLogicalScale(arg2
,arg3
);
14019 wxPyEndAllowThreads(__tstate
);
14020 if (PyErr_Occurred()) SWIG_fail
;
14022 Py_INCREF(Py_None
); resultobj
= Py_None
;
14024 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14025 resultobj
= t_output_helper(resultobj
,o
);
14028 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14029 resultobj
= t_output_helper(resultobj
,o
);
14037 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14038 PyObject
*resultobj
;
14039 wxDC
*arg1
= (wxDC
*) 0 ;
14042 PyObject
* obj0
= 0 ;
14043 PyObject
* obj1
= 0 ;
14044 PyObject
* obj2
= 0 ;
14045 char *kwnames
[] = {
14046 (char *) "self",(char *) "x",(char *) "y", NULL
14049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14052 arg2
= (double) SWIG_AsDouble(obj1
);
14053 if (PyErr_Occurred()) SWIG_fail
;
14054 arg3
= (double) SWIG_AsDouble(obj2
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14058 (arg1
)->SetLogicalScale(arg2
,arg3
);
14060 wxPyEndAllowThreads(__tstate
);
14061 if (PyErr_Occurred()) SWIG_fail
;
14063 Py_INCREF(Py_None
); resultobj
= Py_None
;
14070 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14071 PyObject
*resultobj
;
14072 wxDC
*arg1
= (wxDC
*) 0 ;
14074 PyObject
* obj0
= 0 ;
14075 char *kwnames
[] = {
14076 (char *) "self", NULL
14079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14084 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14090 wxPoint
* resultptr
;
14091 resultptr
= new wxPoint((wxPoint
&) result
);
14092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14100 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14101 PyObject
*resultobj
;
14102 wxDC
*arg1
= (wxDC
*) 0 ;
14103 int *arg2
= (int *) 0 ;
14104 int *arg3
= (int *) 0 ;
14107 PyObject
* obj0
= 0 ;
14108 char *kwnames
[] = {
14109 (char *) "self", NULL
14114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14119 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14124 Py_INCREF(Py_None
); resultobj
= Py_None
;
14126 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14127 resultobj
= t_output_helper(resultobj
,o
);
14130 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14131 resultobj
= t_output_helper(resultobj
,o
);
14139 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14140 PyObject
*resultobj
;
14141 wxDC
*arg1
= (wxDC
*) 0 ;
14144 PyObject
* obj0
= 0 ;
14145 PyObject
* obj1
= 0 ;
14146 PyObject
* obj2
= 0 ;
14147 char *kwnames
[] = {
14148 (char *) "self",(char *) "x",(char *) "y", NULL
14151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14154 arg2
= (int) SWIG_AsInt(obj1
);
14155 if (PyErr_Occurred()) SWIG_fail
;
14156 arg3
= (int) SWIG_AsInt(obj2
);
14157 if (PyErr_Occurred()) SWIG_fail
;
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14162 wxPyEndAllowThreads(__tstate
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14165 Py_INCREF(Py_None
); resultobj
= Py_None
;
14172 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14173 PyObject
*resultobj
;
14174 wxDC
*arg1
= (wxDC
*) 0 ;
14176 PyObject
* obj0
= 0 ;
14177 char *kwnames
[] = {
14178 (char *) "self", NULL
14181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14186 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14188 wxPyEndAllowThreads(__tstate
);
14189 if (PyErr_Occurred()) SWIG_fail
;
14192 wxPoint
* resultptr
;
14193 resultptr
= new wxPoint((wxPoint
&) result
);
14194 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14202 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14203 PyObject
*resultobj
;
14204 wxDC
*arg1
= (wxDC
*) 0 ;
14205 int *arg2
= (int *) 0 ;
14206 int *arg3
= (int *) 0 ;
14209 PyObject
* obj0
= 0 ;
14210 char *kwnames
[] = {
14211 (char *) "self", NULL
14216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14221 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14223 wxPyEndAllowThreads(__tstate
);
14224 if (PyErr_Occurred()) SWIG_fail
;
14226 Py_INCREF(Py_None
); resultobj
= Py_None
;
14228 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14229 resultobj
= t_output_helper(resultobj
,o
);
14232 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14233 resultobj
= t_output_helper(resultobj
,o
);
14241 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14242 PyObject
*resultobj
;
14243 wxDC
*arg1
= (wxDC
*) 0 ;
14246 PyObject
* obj0
= 0 ;
14247 PyObject
* obj1
= 0 ;
14248 PyObject
* obj2
= 0 ;
14249 char *kwnames
[] = {
14250 (char *) "self",(char *) "x",(char *) "y", NULL
14253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14256 arg2
= (int) SWIG_AsInt(obj1
);
14257 if (PyErr_Occurred()) SWIG_fail
;
14258 arg3
= (int) SWIG_AsInt(obj2
);
14259 if (PyErr_Occurred()) SWIG_fail
;
14261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14262 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14264 wxPyEndAllowThreads(__tstate
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14267 Py_INCREF(Py_None
); resultobj
= Py_None
;
14274 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14275 PyObject
*resultobj
;
14276 wxDC
*arg1
= (wxDC
*) 0 ;
14279 PyObject
* obj0
= 0 ;
14280 PyObject
* obj1
= 0 ;
14281 PyObject
* obj2
= 0 ;
14282 char *kwnames
[] = {
14283 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14289 arg2
= (bool) SWIG_AsBool(obj1
);
14290 if (PyErr_Occurred()) SWIG_fail
;
14291 arg3
= (bool) SWIG_AsBool(obj2
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14295 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14297 wxPyEndAllowThreads(__tstate
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14300 Py_INCREF(Py_None
); resultobj
= Py_None
;
14307 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14308 PyObject
*resultobj
;
14309 wxDC
*arg1
= (wxDC
*) 0 ;
14311 PyObject
* obj0
= 0 ;
14312 char *kwnames
[] = {
14313 (char *) "self", NULL
14316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14321 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14323 wxPyEndAllowThreads(__tstate
);
14324 if (PyErr_Occurred()) SWIG_fail
;
14326 resultobj
= SWIG_FromInt((int)result
);
14333 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14334 PyObject
*resultobj
;
14335 wxDC
*arg1
= (wxDC
*) 0 ;
14337 PyObject
* obj0
= 0 ;
14338 PyObject
* obj1
= 0 ;
14339 char *kwnames
[] = {
14340 (char *) "self",(char *) "function", NULL
14343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14346 arg2
= (int) SWIG_AsInt(obj1
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14350 (arg1
)->SetLogicalFunction(arg2
);
14352 wxPyEndAllowThreads(__tstate
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14355 Py_INCREF(Py_None
); resultobj
= Py_None
;
14362 static PyObject
*_wrap_DC_SetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14363 PyObject
*resultobj
;
14364 wxDC
*arg1
= (wxDC
*) 0 ;
14366 PyObject
* obj0
= 0 ;
14367 PyObject
* obj1
= 0 ;
14368 char *kwnames
[] = {
14369 (char *) "self",(char *) "opt", NULL
14372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14375 arg2
= (bool) SWIG_AsBool(obj1
);
14376 if (PyErr_Occurred()) SWIG_fail
;
14378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14379 (arg1
)->SetOptimization(arg2
);
14381 wxPyEndAllowThreads(__tstate
);
14382 if (PyErr_Occurred()) SWIG_fail
;
14384 Py_INCREF(Py_None
); resultobj
= Py_None
;
14391 static PyObject
*_wrap_DC_GetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14392 PyObject
*resultobj
;
14393 wxDC
*arg1
= (wxDC
*) 0 ;
14395 PyObject
* obj0
= 0 ;
14396 char *kwnames
[] = {
14397 (char *) "self", NULL
14400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14405 result
= (bool)(arg1
)->GetOptimization();
14407 wxPyEndAllowThreads(__tstate
);
14408 if (PyErr_Occurred()) SWIG_fail
;
14411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14419 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14420 PyObject
*resultobj
;
14421 wxDC
*arg1
= (wxDC
*) 0 ;
14424 PyObject
* obj0
= 0 ;
14425 PyObject
* obj1
= 0 ;
14426 PyObject
* obj2
= 0 ;
14427 char *kwnames
[] = {
14428 (char *) "self",(char *) "x",(char *) "y", NULL
14431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14434 arg2
= (int) SWIG_AsInt(obj1
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14436 arg3
= (int) SWIG_AsInt(obj2
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14440 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14442 wxPyEndAllowThreads(__tstate
);
14443 if (PyErr_Occurred()) SWIG_fail
;
14445 Py_INCREF(Py_None
); resultobj
= Py_None
;
14452 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14453 PyObject
*resultobj
;
14454 wxDC
*arg1
= (wxDC
*) 0 ;
14455 PyObject
* obj0
= 0 ;
14456 char *kwnames
[] = {
14457 (char *) "self", NULL
14460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14465 (arg1
)->ResetBoundingBox();
14467 wxPyEndAllowThreads(__tstate
);
14468 if (PyErr_Occurred()) SWIG_fail
;
14470 Py_INCREF(Py_None
); resultobj
= Py_None
;
14477 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14478 PyObject
*resultobj
;
14479 wxDC
*arg1
= (wxDC
*) 0 ;
14481 PyObject
* obj0
= 0 ;
14482 char *kwnames
[] = {
14483 (char *) "self", NULL
14486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14491 result
= (int)((wxDC
const *)arg1
)->MinX();
14493 wxPyEndAllowThreads(__tstate
);
14494 if (PyErr_Occurred()) SWIG_fail
;
14496 resultobj
= SWIG_FromInt((int)result
);
14503 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14504 PyObject
*resultobj
;
14505 wxDC
*arg1
= (wxDC
*) 0 ;
14507 PyObject
* obj0
= 0 ;
14508 char *kwnames
[] = {
14509 (char *) "self", NULL
14512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14517 result
= (int)((wxDC
const *)arg1
)->MaxX();
14519 wxPyEndAllowThreads(__tstate
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14522 resultobj
= SWIG_FromInt((int)result
);
14529 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14530 PyObject
*resultobj
;
14531 wxDC
*arg1
= (wxDC
*) 0 ;
14533 PyObject
* obj0
= 0 ;
14534 char *kwnames
[] = {
14535 (char *) "self", NULL
14538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14543 result
= (int)((wxDC
const *)arg1
)->MinY();
14545 wxPyEndAllowThreads(__tstate
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14548 resultobj
= SWIG_FromInt((int)result
);
14555 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14556 PyObject
*resultobj
;
14557 wxDC
*arg1
= (wxDC
*) 0 ;
14559 PyObject
* obj0
= 0 ;
14560 char *kwnames
[] = {
14561 (char *) "self", NULL
14564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14569 result
= (int)((wxDC
const *)arg1
)->MaxY();
14571 wxPyEndAllowThreads(__tstate
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14574 resultobj
= SWIG_FromInt((int)result
);
14581 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14582 PyObject
*resultobj
;
14583 wxDC
*arg1
= (wxDC
*) 0 ;
14584 int *arg2
= (int *) 0 ;
14585 int *arg3
= (int *) 0 ;
14586 int *arg4
= (int *) 0 ;
14587 int *arg5
= (int *) 0 ;
14592 PyObject
* obj0
= 0 ;
14593 char *kwnames
[] = {
14594 (char *) "self", NULL
14601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14606 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14608 wxPyEndAllowThreads(__tstate
);
14609 if (PyErr_Occurred()) SWIG_fail
;
14611 Py_INCREF(Py_None
); resultobj
= Py_None
;
14613 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14614 resultobj
= t_output_helper(resultobj
,o
);
14617 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14618 resultobj
= t_output_helper(resultobj
,o
);
14621 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14622 resultobj
= t_output_helper(resultobj
,o
);
14625 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14626 resultobj
= t_output_helper(resultobj
,o
);
14634 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14635 PyObject
*resultobj
;
14636 wxDC
*arg1
= (wxDC
*) 0 ;
14637 PyObject
*arg2
= (PyObject
*) 0 ;
14638 PyObject
*arg3
= (PyObject
*) 0 ;
14639 PyObject
*arg4
= (PyObject
*) 0 ;
14641 PyObject
* obj0
= 0 ;
14642 PyObject
* obj1
= 0 ;
14643 PyObject
* obj2
= 0 ;
14644 PyObject
* obj3
= 0 ;
14645 char *kwnames
[] = {
14646 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14657 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14659 wxPyEndAllowThreads(__tstate
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14662 resultobj
= result
;
14669 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14670 PyObject
*resultobj
;
14671 wxDC
*arg1
= (wxDC
*) 0 ;
14672 PyObject
*arg2
= (PyObject
*) 0 ;
14673 PyObject
*arg3
= (PyObject
*) 0 ;
14674 PyObject
*arg4
= (PyObject
*) 0 ;
14676 PyObject
* obj0
= 0 ;
14677 PyObject
* obj1
= 0 ;
14678 PyObject
* obj2
= 0 ;
14679 PyObject
* obj3
= 0 ;
14680 char *kwnames
[] = {
14681 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14692 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14694 wxPyEndAllowThreads(__tstate
);
14695 if (PyErr_Occurred()) SWIG_fail
;
14697 resultobj
= result
;
14704 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14705 PyObject
*resultobj
;
14706 wxDC
*arg1
= (wxDC
*) 0 ;
14707 PyObject
*arg2
= (PyObject
*) 0 ;
14708 PyObject
*arg3
= (PyObject
*) 0 ;
14709 PyObject
*arg4
= (PyObject
*) 0 ;
14711 PyObject
* obj0
= 0 ;
14712 PyObject
* obj1
= 0 ;
14713 PyObject
* obj2
= 0 ;
14714 PyObject
* obj3
= 0 ;
14715 char *kwnames
[] = {
14716 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14727 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14729 wxPyEndAllowThreads(__tstate
);
14730 if (PyErr_Occurred()) SWIG_fail
;
14732 resultobj
= result
;
14739 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14740 PyObject
*resultobj
;
14741 wxDC
*arg1
= (wxDC
*) 0 ;
14742 PyObject
*arg2
= (PyObject
*) 0 ;
14743 PyObject
*arg3
= (PyObject
*) 0 ;
14744 PyObject
*arg4
= (PyObject
*) 0 ;
14746 PyObject
* obj0
= 0 ;
14747 PyObject
* obj1
= 0 ;
14748 PyObject
* obj2
= 0 ;
14749 PyObject
* obj3
= 0 ;
14750 char *kwnames
[] = {
14751 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14762 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14764 wxPyEndAllowThreads(__tstate
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14767 resultobj
= result
;
14774 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14775 PyObject
*resultobj
;
14776 wxDC
*arg1
= (wxDC
*) 0 ;
14777 PyObject
*arg2
= (PyObject
*) 0 ;
14778 PyObject
*arg3
= (PyObject
*) 0 ;
14779 PyObject
*arg4
= (PyObject
*) 0 ;
14781 PyObject
* obj0
= 0 ;
14782 PyObject
* obj1
= 0 ;
14783 PyObject
* obj2
= 0 ;
14784 PyObject
* obj3
= 0 ;
14785 char *kwnames
[] = {
14786 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14797 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
14799 wxPyEndAllowThreads(__tstate
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14802 resultobj
= result
;
14809 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14810 PyObject
*resultobj
;
14811 wxDC
*arg1
= (wxDC
*) 0 ;
14812 PyObject
*arg2
= (PyObject
*) 0 ;
14813 PyObject
*arg3
= (PyObject
*) 0 ;
14814 PyObject
*arg4
= (PyObject
*) 0 ;
14815 PyObject
*arg5
= (PyObject
*) 0 ;
14817 PyObject
* obj0
= 0 ;
14818 PyObject
* obj1
= 0 ;
14819 PyObject
* obj2
= 0 ;
14820 PyObject
* obj3
= 0 ;
14821 PyObject
* obj4
= 0 ;
14822 char *kwnames
[] = {
14823 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14835 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
14837 wxPyEndAllowThreads(__tstate
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14840 resultobj
= result
;
14847 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
14849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14850 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
14852 return Py_BuildValue((char *)"");
14854 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14855 PyObject
*resultobj
;
14856 wxMemoryDC
*result
;
14857 char *kwnames
[] = {
14861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
14863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14864 result
= (wxMemoryDC
*)new wxMemoryDC();
14866 wxPyEndAllowThreads(__tstate
);
14867 if (PyErr_Occurred()) SWIG_fail
;
14869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
14876 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14877 PyObject
*resultobj
;
14878 wxDC
*arg1
= (wxDC
*) 0 ;
14879 wxMemoryDC
*result
;
14880 PyObject
* obj0
= 0 ;
14881 char *kwnames
[] = {
14882 (char *) "oldDC", NULL
14885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
14886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14890 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
14892 wxPyEndAllowThreads(__tstate
);
14893 if (PyErr_Occurred()) SWIG_fail
;
14895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
14902 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14903 PyObject
*resultobj
;
14904 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
14905 wxBitmap
*arg2
= 0 ;
14906 PyObject
* obj0
= 0 ;
14907 PyObject
* obj1
= 0 ;
14908 char *kwnames
[] = {
14909 (char *) "self",(char *) "bitmap", NULL
14912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
14914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
14916 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14918 if (arg2
== NULL
) {
14919 PyErr_SetString(PyExc_TypeError
,"null reference");
14923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14924 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
14926 wxPyEndAllowThreads(__tstate
);
14927 if (PyErr_Occurred()) SWIG_fail
;
14929 Py_INCREF(Py_None
); resultobj
= Py_None
;
14936 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
14938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14939 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
14941 return Py_BuildValue((char *)"");
14943 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
14944 PyObject
*resultobj
;
14945 wxDC
*arg1
= (wxDC
*) 0 ;
14946 wxBitmap
*arg2
= 0 ;
14947 wxBufferedDC
*result
;
14948 PyObject
* obj0
= 0 ;
14949 PyObject
* obj1
= 0 ;
14951 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
14952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14954 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
14955 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14957 if (arg2
== NULL
) {
14958 PyErr_SetString(PyExc_TypeError
,"null reference");
14962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14963 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
14965 wxPyEndAllowThreads(__tstate
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
14975 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
14976 PyObject
*resultobj
;
14977 wxDC
*arg1
= (wxDC
*) 0 ;
14979 wxBufferedDC
*result
;
14981 PyObject
* obj0
= 0 ;
14982 PyObject
* obj1
= 0 ;
14984 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
14985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14989 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14993 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
14995 wxPyEndAllowThreads(__tstate
);
14996 if (PyErr_Occurred()) SWIG_fail
;
14998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15005 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15010 argc
= PyObject_Length(args
);
15011 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15012 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15018 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15028 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15036 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15044 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15053 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15056 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15061 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15066 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*, PyObject
*args
) {
15067 PyObject
*resultobj
;
15068 wxDC
*arg1
= (wxDC
*) 0 ;
15070 wxBufferedDC
*result
;
15072 PyObject
* obj0
= 0 ;
15073 PyObject
* obj1
= 0 ;
15075 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
15076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15080 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15084 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15086 wxPyEndAllowThreads(__tstate
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15096 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15097 PyObject
*resultobj
;
15098 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15099 PyObject
* obj0
= 0 ;
15100 char *kwnames
[] = {
15101 (char *) "self", NULL
15104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15111 wxPyEndAllowThreads(__tstate
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15114 Py_INCREF(Py_None
); resultobj
= Py_None
;
15121 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15122 PyObject
*resultobj
;
15123 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15124 PyObject
* obj0
= 0 ;
15125 char *kwnames
[] = {
15126 (char *) "self", NULL
15129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 wxPyEndAllowThreads(__tstate
);
15137 if (PyErr_Occurred()) SWIG_fail
;
15139 Py_INCREF(Py_None
); resultobj
= Py_None
;
15146 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
15148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15149 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15151 return Py_BuildValue((char *)"");
15153 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15154 PyObject
*resultobj
;
15155 wxWindow
*arg1
= (wxWindow
*) 0 ;
15156 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15157 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15158 wxBufferedPaintDC
*result
;
15159 PyObject
* obj0
= 0 ;
15160 PyObject
* obj1
= 0 ;
15161 char *kwnames
[] = {
15162 (char *) "window",(char *) "buffer", NULL
15165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15169 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15170 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15172 if (arg2
== NULL
) {
15173 PyErr_SetString(PyExc_TypeError
,"null reference");
15178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15179 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15181 wxPyEndAllowThreads(__tstate
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15191 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
15193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15194 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15196 return Py_BuildValue((char *)"");
15198 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15199 PyObject
*resultobj
;
15200 wxScreenDC
*result
;
15201 char *kwnames
[] = {
15205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15208 result
= (wxScreenDC
*)new wxScreenDC();
15210 wxPyEndAllowThreads(__tstate
);
15211 if (PyErr_Occurred()) SWIG_fail
;
15213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15220 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15221 PyObject
*resultobj
;
15222 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15223 wxWindow
*arg2
= (wxWindow
*) 0 ;
15225 PyObject
* obj0
= 0 ;
15226 PyObject
* obj1
= 0 ;
15227 char *kwnames
[] = {
15228 (char *) "self",(char *) "window", NULL
15231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15238 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15240 wxPyEndAllowThreads(__tstate
);
15241 if (PyErr_Occurred()) SWIG_fail
;
15244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15252 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15253 PyObject
*resultobj
;
15254 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15255 wxRect
*arg2
= (wxRect
*) NULL
;
15257 PyObject
* obj0
= 0 ;
15258 PyObject
* obj1
= 0 ;
15259 char *kwnames
[] = {
15260 (char *) "self",(char *) "rect", NULL
15263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15272 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15274 wxPyEndAllowThreads(__tstate
);
15275 if (PyErr_Occurred()) SWIG_fail
;
15278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15286 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15287 PyObject
*resultobj
;
15288 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15290 PyObject
* obj0
= 0 ;
15291 char *kwnames
[] = {
15292 (char *) "self", NULL
15295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15300 result
= (bool)(arg1
)->EndDrawingOnTop();
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15314 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
15316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15317 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15319 return Py_BuildValue((char *)"");
15321 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15322 PyObject
*resultobj
;
15323 wxWindow
*arg1
= (wxWindow
*) 0 ;
15324 wxClientDC
*result
;
15325 PyObject
* obj0
= 0 ;
15326 char *kwnames
[] = {
15327 (char *) "win", NULL
15330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15335 result
= (wxClientDC
*)new wxClientDC(arg1
);
15337 wxPyEndAllowThreads(__tstate
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15347 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
15349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15350 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15352 return Py_BuildValue((char *)"");
15354 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15355 PyObject
*resultobj
;
15356 wxWindow
*arg1
= (wxWindow
*) 0 ;
15358 PyObject
* obj0
= 0 ;
15359 char *kwnames
[] = {
15360 (char *) "win", NULL
15363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15368 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15370 wxPyEndAllowThreads(__tstate
);
15371 if (PyErr_Occurred()) SWIG_fail
;
15373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15380 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
15382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15383 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15385 return Py_BuildValue((char *)"");
15387 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15388 PyObject
*resultobj
;
15389 wxWindow
*arg1
= (wxWindow
*) 0 ;
15390 wxWindowDC
*result
;
15391 PyObject
* obj0
= 0 ;
15392 char *kwnames
[] = {
15393 (char *) "win", NULL
15396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15401 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15403 wxPyEndAllowThreads(__tstate
);
15404 if (PyErr_Occurred()) SWIG_fail
;
15406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15413 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
15415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15416 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15418 return Py_BuildValue((char *)"");
15420 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15421 PyObject
*resultobj
;
15424 wxMirrorDC
*result
;
15425 PyObject
* obj0
= 0 ;
15426 PyObject
* obj1
= 0 ;
15427 char *kwnames
[] = {
15428 (char *) "dc",(char *) "mirror", NULL
15431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15433 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15435 if (arg1
== NULL
) {
15436 PyErr_SetString(PyExc_TypeError
,"null reference");
15439 arg2
= (bool) SWIG_AsBool(obj1
);
15440 if (PyErr_Occurred()) SWIG_fail
;
15442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15443 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15445 wxPyEndAllowThreads(__tstate
);
15446 if (PyErr_Occurred()) SWIG_fail
;
15448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15455 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
15457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15458 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15460 return Py_BuildValue((char *)"");
15462 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15463 PyObject
*resultobj
;
15464 wxPrintData
*arg1
= 0 ;
15465 wxPostScriptDC
*result
;
15466 PyObject
* obj0
= 0 ;
15467 char *kwnames
[] = {
15468 (char *) "printData", NULL
15471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15475 if (arg1
== NULL
) {
15476 PyErr_SetString(PyExc_TypeError
,"null reference");
15480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15481 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15483 wxPyEndAllowThreads(__tstate
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15493 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15494 PyObject
*resultobj
;
15495 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15496 wxPrintData
*result
;
15497 PyObject
* obj0
= 0 ;
15498 char *kwnames
[] = {
15499 (char *) "self", NULL
15502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15508 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15509 result
= (wxPrintData
*) &_result_ref
;
15512 wxPyEndAllowThreads(__tstate
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15522 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15523 PyObject
*resultobj
;
15524 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15525 wxPrintData
*arg2
= 0 ;
15526 PyObject
* obj0
= 0 ;
15527 PyObject
* obj1
= 0 ;
15528 char *kwnames
[] = {
15529 (char *) "self",(char *) "data", NULL
15532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15536 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15538 if (arg2
== NULL
) {
15539 PyErr_SetString(PyExc_TypeError
,"null reference");
15543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15544 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15546 wxPyEndAllowThreads(__tstate
);
15547 if (PyErr_Occurred()) SWIG_fail
;
15549 Py_INCREF(Py_None
); resultobj
= Py_None
;
15556 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15557 PyObject
*resultobj
;
15559 PyObject
* obj0
= 0 ;
15560 char *kwnames
[] = {
15561 (char *) "ppi", NULL
15564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15565 arg1
= (int) SWIG_AsInt(obj0
);
15566 if (PyErr_Occurred()) SWIG_fail
;
15568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15569 wxPostScriptDC::SetResolution(arg1
);
15571 wxPyEndAllowThreads(__tstate
);
15572 if (PyErr_Occurred()) SWIG_fail
;
15574 Py_INCREF(Py_None
); resultobj
= Py_None
;
15581 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15582 PyObject
*resultobj
;
15584 char *kwnames
[] = {
15588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15591 result
= (int)wxPostScriptDC::GetResolution();
15593 wxPyEndAllowThreads(__tstate
);
15594 if (PyErr_Occurred()) SWIG_fail
;
15596 resultobj
= SWIG_FromInt((int)result
);
15603 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
15605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15606 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15608 return Py_BuildValue((char *)"");
15610 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15611 PyObject
*resultobj
;
15612 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15613 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15614 wxMetaFile
*result
;
15615 bool temp1
= False
;
15616 PyObject
* obj0
= 0 ;
15617 char *kwnames
[] = {
15618 (char *) "filename", NULL
15621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15624 arg1
= wxString_in_helper(obj0
);
15625 if (arg1
== NULL
) SWIG_fail
;
15630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15631 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15633 wxPyEndAllowThreads(__tstate
);
15634 if (PyErr_Occurred()) SWIG_fail
;
15636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
15651 static PyObject
*_wrap_delete_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15652 PyObject
*resultobj
;
15653 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15654 PyObject
* obj0
= 0 ;
15655 char *kwnames
[] = {
15656 (char *) "self", NULL
15659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
15660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15669 Py_INCREF(Py_None
); resultobj
= Py_None
;
15676 static PyObject
*_wrap_MetaFile_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15677 PyObject
*resultobj
;
15678 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15680 PyObject
* obj0
= 0 ;
15681 char *kwnames
[] = {
15682 (char *) "self", NULL
15685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
15686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15690 result
= (bool)(arg1
)->Ok();
15692 wxPyEndAllowThreads(__tstate
);
15693 if (PyErr_Occurred()) SWIG_fail
;
15696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15704 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15705 PyObject
*resultobj
;
15706 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15707 int arg2
= (int) 0 ;
15708 int arg3
= (int) 0 ;
15710 PyObject
* obj0
= 0 ;
15711 PyObject
* obj1
= 0 ;
15712 PyObject
* obj2
= 0 ;
15713 char *kwnames
[] = {
15714 (char *) "self",(char *) "width",(char *) "height", NULL
15717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15721 arg2
= (int) SWIG_AsInt(obj1
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15725 arg3
= (int) SWIG_AsInt(obj2
);
15726 if (PyErr_Occurred()) SWIG_fail
;
15729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15730 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
15732 wxPyEndAllowThreads(__tstate
);
15733 if (PyErr_Occurred()) SWIG_fail
;
15736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15744 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15745 PyObject
*resultobj
;
15746 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15748 PyObject
* obj0
= 0 ;
15749 char *kwnames
[] = {
15750 (char *) "self", NULL
15753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
15754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15758 result
= (arg1
)->GetSize();
15760 wxPyEndAllowThreads(__tstate
);
15761 if (PyErr_Occurred()) SWIG_fail
;
15764 wxSize
* resultptr
;
15765 resultptr
= new wxSize((wxSize
&) result
);
15766 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15774 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15775 PyObject
*resultobj
;
15776 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15778 PyObject
* obj0
= 0 ;
15779 char *kwnames
[] = {
15780 (char *) "self", NULL
15783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
15784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15788 result
= (int)(arg1
)->GetWidth();
15790 wxPyEndAllowThreads(__tstate
);
15791 if (PyErr_Occurred()) SWIG_fail
;
15793 resultobj
= SWIG_FromInt((int)result
);
15800 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15801 PyObject
*resultobj
;
15802 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15804 PyObject
* obj0
= 0 ;
15805 char *kwnames
[] = {
15806 (char *) "self", NULL
15809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
15810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15814 result
= (int)(arg1
)->GetHeight();
15816 wxPyEndAllowThreads(__tstate
);
15817 if (PyErr_Occurred()) SWIG_fail
;
15819 resultobj
= SWIG_FromInt((int)result
);
15826 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
15828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15829 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
15831 return Py_BuildValue((char *)"");
15833 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15834 PyObject
*resultobj
;
15835 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15836 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15837 int arg2
= (int) 0 ;
15838 int arg3
= (int) 0 ;
15839 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15840 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15841 wxMetaFileDC
*result
;
15842 bool temp1
= False
;
15843 bool temp4
= False
;
15844 PyObject
* obj0
= 0 ;
15845 PyObject
* obj1
= 0 ;
15846 PyObject
* obj2
= 0 ;
15847 PyObject
* obj3
= 0 ;
15848 char *kwnames
[] = {
15849 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15855 arg1
= wxString_in_helper(obj0
);
15856 if (arg1
== NULL
) SWIG_fail
;
15861 arg2
= (int) SWIG_AsInt(obj1
);
15862 if (PyErr_Occurred()) SWIG_fail
;
15865 arg3
= (int) SWIG_AsInt(obj2
);
15866 if (PyErr_Occurred()) SWIG_fail
;
15870 arg4
= wxString_in_helper(obj3
);
15871 if (arg4
== NULL
) SWIG_fail
;
15876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15877 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
15879 wxPyEndAllowThreads(__tstate
);
15880 if (PyErr_Occurred()) SWIG_fail
;
15882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
15905 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15906 PyObject
*resultobj
;
15907 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
15908 wxMetaFile
*result
;
15909 PyObject
* obj0
= 0 ;
15910 char *kwnames
[] = {
15911 (char *) "self", NULL
15914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
15915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
,
15916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15919 result
= (wxMetaFile
*)(arg1
)->Close();
15921 wxPyEndAllowThreads(__tstate
);
15922 if (PyErr_Occurred()) SWIG_fail
;
15924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
15931 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
15933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15934 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
15936 return Py_BuildValue((char *)"");
15938 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
;
15940 wxPrintData
*arg1
= 0 ;
15941 wxPrinterDC
*result
;
15942 PyObject
* obj0
= 0 ;
15943 char *kwnames
[] = {
15944 (char *) "printData", NULL
15947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
15948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15949 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15951 if (arg1
== NULL
) {
15952 PyErr_SetString(PyExc_TypeError
,"null reference");
15956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15957 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
15959 wxPyEndAllowThreads(__tstate
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
15969 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
15971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15972 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
15974 return Py_BuildValue((char *)"");
15976 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15977 PyObject
*resultobj
;
15980 int arg3
= (int) True
;
15981 int arg4
= (int) 1 ;
15982 wxImageList
*result
;
15983 PyObject
* obj0
= 0 ;
15984 PyObject
* obj1
= 0 ;
15985 PyObject
* obj2
= 0 ;
15986 PyObject
* obj3
= 0 ;
15987 char *kwnames
[] = {
15988 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
15991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15992 arg1
= (int) SWIG_AsInt(obj0
);
15993 if (PyErr_Occurred()) SWIG_fail
;
15994 arg2
= (int) SWIG_AsInt(obj1
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15997 arg3
= (int) SWIG_AsInt(obj2
);
15998 if (PyErr_Occurred()) SWIG_fail
;
16001 arg4
= (int) SWIG_AsInt(obj3
);
16002 if (PyErr_Occurred()) SWIG_fail
;
16005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16006 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16008 wxPyEndAllowThreads(__tstate
);
16009 if (PyErr_Occurred()) SWIG_fail
;
16012 resultobj
= wxPyMake_wxObject(result
);
16020 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16021 PyObject
*resultobj
;
16022 wxImageList
*arg1
= (wxImageList
*) 0 ;
16023 PyObject
* obj0
= 0 ;
16024 char *kwnames
[] = {
16025 (char *) "self", NULL
16028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16035 wxPyEndAllowThreads(__tstate
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16038 Py_INCREF(Py_None
); resultobj
= Py_None
;
16045 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16046 PyObject
*resultobj
;
16047 wxImageList
*arg1
= (wxImageList
*) 0 ;
16048 wxBitmap
*arg2
= 0 ;
16049 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16050 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16052 PyObject
* obj0
= 0 ;
16053 PyObject
* obj1
= 0 ;
16054 PyObject
* obj2
= 0 ;
16055 char *kwnames
[] = {
16056 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16062 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16063 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16065 if (arg2
== NULL
) {
16066 PyErr_SetString(PyExc_TypeError
,"null reference");
16070 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16071 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16073 if (arg3
== NULL
) {
16074 PyErr_SetString(PyExc_TypeError
,"null reference");
16079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16080 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16082 wxPyEndAllowThreads(__tstate
);
16083 if (PyErr_Occurred()) SWIG_fail
;
16085 resultobj
= SWIG_FromInt((int)result
);
16092 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16093 PyObject
*resultobj
;
16094 wxImageList
*arg1
= (wxImageList
*) 0 ;
16095 wxBitmap
*arg2
= 0 ;
16096 wxColour
*arg3
= 0 ;
16099 PyObject
* obj0
= 0 ;
16100 PyObject
* obj1
= 0 ;
16101 PyObject
* obj2
= 0 ;
16102 char *kwnames
[] = {
16103 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16110 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16112 if (arg2
== NULL
) {
16113 PyErr_SetString(PyExc_TypeError
,"null reference");
16118 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16122 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16124 wxPyEndAllowThreads(__tstate
);
16125 if (PyErr_Occurred()) SWIG_fail
;
16127 resultobj
= SWIG_FromInt((int)result
);
16134 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16135 PyObject
*resultobj
;
16136 wxImageList
*arg1
= (wxImageList
*) 0 ;
16139 PyObject
* obj0
= 0 ;
16140 PyObject
* obj1
= 0 ;
16141 char *kwnames
[] = {
16142 (char *) "self",(char *) "icon", NULL
16145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16148 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16149 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16151 if (arg2
== NULL
) {
16152 PyErr_SetString(PyExc_TypeError
,"null reference");
16156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16157 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16159 wxPyEndAllowThreads(__tstate
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16162 resultobj
= SWIG_FromInt((int)result
);
16169 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16170 PyObject
*resultobj
;
16171 wxImageList
*arg1
= (wxImageList
*) 0 ;
16173 wxBitmap
*arg3
= 0 ;
16175 PyObject
* obj0
= 0 ;
16176 PyObject
* obj1
= 0 ;
16177 PyObject
* obj2
= 0 ;
16178 char *kwnames
[] = {
16179 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16185 arg2
= (int) SWIG_AsInt(obj1
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16187 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16188 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16190 if (arg3
== NULL
) {
16191 PyErr_SetString(PyExc_TypeError
,"null reference");
16195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16196 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16198 wxPyEndAllowThreads(__tstate
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16210 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16211 PyObject
*resultobj
;
16212 wxImageList
*arg1
= (wxImageList
*) 0 ;
16217 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16218 bool arg7
= (bool) (bool)False
;
16220 PyObject
* obj0
= 0 ;
16221 PyObject
* obj1
= 0 ;
16222 PyObject
* obj2
= 0 ;
16223 PyObject
* obj3
= 0 ;
16224 PyObject
* obj4
= 0 ;
16225 PyObject
* obj5
= 0 ;
16226 PyObject
* obj6
= 0 ;
16227 char *kwnames
[] = {
16228 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16234 arg2
= (int) SWIG_AsInt(obj1
);
16235 if (PyErr_Occurred()) SWIG_fail
;
16236 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16237 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16239 if (arg3
== NULL
) {
16240 PyErr_SetString(PyExc_TypeError
,"null reference");
16243 arg4
= (int) SWIG_AsInt(obj3
);
16244 if (PyErr_Occurred()) SWIG_fail
;
16245 arg5
= (int) SWIG_AsInt(obj4
);
16246 if (PyErr_Occurred()) SWIG_fail
;
16248 arg6
= (int) SWIG_AsInt(obj5
);
16249 if (PyErr_Occurred()) SWIG_fail
;
16252 arg7
= (bool const) SWIG_AsBool(obj6
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16257 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16259 wxPyEndAllowThreads(__tstate
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16271 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16272 PyObject
*resultobj
;
16273 wxImageList
*arg1
= (wxImageList
*) 0 ;
16275 PyObject
* obj0
= 0 ;
16276 char *kwnames
[] = {
16277 (char *) "self", NULL
16280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16285 result
= (int)(arg1
)->GetImageCount();
16287 wxPyEndAllowThreads(__tstate
);
16288 if (PyErr_Occurred()) SWIG_fail
;
16290 resultobj
= SWIG_FromInt((int)result
);
16297 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16298 PyObject
*resultobj
;
16299 wxImageList
*arg1
= (wxImageList
*) 0 ;
16302 PyObject
* obj0
= 0 ;
16303 PyObject
* obj1
= 0 ;
16304 char *kwnames
[] = {
16305 (char *) "self",(char *) "index", NULL
16308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16311 arg2
= (int) SWIG_AsInt(obj1
);
16312 if (PyErr_Occurred()) SWIG_fail
;
16314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16315 result
= (bool)(arg1
)->Remove(arg2
);
16317 wxPyEndAllowThreads(__tstate
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16329 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16330 PyObject
*resultobj
;
16331 wxImageList
*arg1
= (wxImageList
*) 0 ;
16333 PyObject
* obj0
= 0 ;
16334 char *kwnames
[] = {
16335 (char *) "self", NULL
16338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16343 result
= (bool)(arg1
)->RemoveAll();
16345 wxPyEndAllowThreads(__tstate
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16357 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
;
16359 wxImageList
*arg1
= (wxImageList
*) 0 ;
16365 PyObject
* obj0
= 0 ;
16366 PyObject
* obj1
= 0 ;
16367 char *kwnames
[] = {
16368 (char *) "self",(char *) "index", NULL
16373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16376 arg2
= (int) SWIG_AsInt(obj1
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16380 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16382 wxPyEndAllowThreads(__tstate
);
16383 if (PyErr_Occurred()) SWIG_fail
;
16385 Py_INCREF(Py_None
); resultobj
= Py_None
;
16387 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16388 resultobj
= t_output_helper(resultobj
,o
);
16391 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
16392 resultobj
= t_output_helper(resultobj
,o
);
16400 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
16402 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16403 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16405 return Py_BuildValue((char *)"");
16407 static int _wrap_NORMAL_FONT_set(PyObject
*) {
16408 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16413 static PyObject
*_wrap_NORMAL_FONT_get() {
16416 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16421 static int _wrap_SMALL_FONT_set(PyObject
*) {
16422 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16427 static PyObject
*_wrap_SMALL_FONT_get() {
16430 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16435 static int _wrap_ITALIC_FONT_set(PyObject
*) {
16436 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16441 static PyObject
*_wrap_ITALIC_FONT_get() {
16444 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16449 static int _wrap_SWISS_FONT_set(PyObject
*) {
16450 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16455 static PyObject
*_wrap_SWISS_FONT_get() {
16458 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16463 static int _wrap_RED_PEN_set(PyObject
*) {
16464 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16469 static PyObject
*_wrap_RED_PEN_get() {
16472 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16477 static int _wrap_CYAN_PEN_set(PyObject
*) {
16478 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16483 static PyObject
*_wrap_CYAN_PEN_get() {
16486 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16491 static int _wrap_GREEN_PEN_set(PyObject
*) {
16492 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16497 static PyObject
*_wrap_GREEN_PEN_get() {
16500 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16505 static int _wrap_BLACK_PEN_set(PyObject
*) {
16506 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16511 static PyObject
*_wrap_BLACK_PEN_get() {
16514 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16519 static int _wrap_WHITE_PEN_set(PyObject
*) {
16520 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16525 static PyObject
*_wrap_WHITE_PEN_get() {
16528 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16533 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
16534 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16539 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16542 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16547 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
16548 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16553 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16556 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16561 static int _wrap_GREY_PEN_set(PyObject
*) {
16562 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16567 static PyObject
*_wrap_GREY_PEN_get() {
16570 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16575 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
16576 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16581 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16584 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16589 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
16590 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16595 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16598 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16603 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
16604 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16609 static PyObject
*_wrap_BLUE_BRUSH_get() {
16612 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16617 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
16618 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16623 static PyObject
*_wrap_GREEN_BRUSH_get() {
16626 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16631 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
16632 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16637 static PyObject
*_wrap_WHITE_BRUSH_get() {
16640 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16645 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
16646 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16651 static PyObject
*_wrap_BLACK_BRUSH_get() {
16654 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16659 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
16660 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16665 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16668 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16673 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
16674 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16679 static PyObject
*_wrap_CYAN_BRUSH_get() {
16682 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16687 static int _wrap_RED_BRUSH_set(PyObject
*) {
16688 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16693 static PyObject
*_wrap_RED_BRUSH_get() {
16696 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16701 static int _wrap_GREY_BRUSH_set(PyObject
*) {
16702 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16707 static PyObject
*_wrap_GREY_BRUSH_get() {
16710 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16715 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
16716 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16721 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16724 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16729 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
16730 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16735 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
16738 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16743 static int _wrap_BLACK_set(PyObject
*) {
16744 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
16749 static PyObject
*_wrap_BLACK_get() {
16752 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
16757 static int _wrap_WHITE_set(PyObject
*) {
16758 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16763 static PyObject
*_wrap_WHITE_get() {
16766 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
16771 static int _wrap_RED_set(PyObject
*) {
16772 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16777 static PyObject
*_wrap_RED_get() {
16780 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
16785 static int _wrap_BLUE_set(PyObject
*) {
16786 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16791 static PyObject
*_wrap_BLUE_get() {
16794 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
16799 static int _wrap_GREEN_set(PyObject
*) {
16800 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
16805 static PyObject
*_wrap_GREEN_get() {
16808 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
16813 static int _wrap_CYAN_set(PyObject
*) {
16814 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16819 static PyObject
*_wrap_CYAN_get() {
16822 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
16827 static int _wrap_LIGHT_GREY_set(PyObject
*) {
16828 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
16833 static PyObject
*_wrap_LIGHT_GREY_get() {
16836 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
16841 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
16842 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
16847 static PyObject
*_wrap_STANDARD_CURSOR_get() {
16850 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16855 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
16856 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
16861 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
16864 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16869 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
16870 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
16875 static PyObject
*_wrap_CROSS_CURSOR_get() {
16878 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16883 static int _wrap_NullBitmap_set(PyObject
*) {
16884 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
16889 static PyObject
*_wrap_NullBitmap_get() {
16892 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
16897 static int _wrap_NullIcon_set(PyObject
*) {
16898 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
16903 static PyObject
*_wrap_NullIcon_get() {
16906 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
16911 static int _wrap_NullCursor_set(PyObject
*) {
16912 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
16917 static PyObject
*_wrap_NullCursor_get() {
16920 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
16925 static int _wrap_NullPen_set(PyObject
*) {
16926 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
16931 static PyObject
*_wrap_NullPen_get() {
16934 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
16939 static int _wrap_NullBrush_set(PyObject
*) {
16940 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
16945 static PyObject
*_wrap_NullBrush_get() {
16948 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
16953 static int _wrap_NullPalette_set(PyObject
*) {
16954 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
16959 static PyObject
*_wrap_NullPalette_get() {
16962 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
16967 static int _wrap_NullFont_set(PyObject
*) {
16968 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
16973 static PyObject
*_wrap_NullFont_get() {
16976 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
16981 static int _wrap_NullColour_set(PyObject
*) {
16982 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
16987 static PyObject
*_wrap_NullColour_get() {
16990 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
16995 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16996 PyObject
*resultobj
;
16997 wxPenList
*arg1
= (wxPenList
*) 0 ;
16998 wxPen
*arg2
= (wxPen
*) 0 ;
16999 PyObject
* obj0
= 0 ;
17000 PyObject
* obj1
= 0 ;
17001 char *kwnames
[] = {
17002 (char *) "self",(char *) "pen", NULL
17005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17012 (arg1
)->AddPen(arg2
);
17014 wxPyEndAllowThreads(__tstate
);
17015 if (PyErr_Occurred()) SWIG_fail
;
17017 Py_INCREF(Py_None
); resultobj
= Py_None
;
17024 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17025 PyObject
*resultobj
;
17026 wxPenList
*arg1
= (wxPenList
*) 0 ;
17027 wxColour
*arg2
= 0 ;
17032 PyObject
* obj0
= 0 ;
17033 PyObject
* obj1
= 0 ;
17034 PyObject
* obj2
= 0 ;
17035 PyObject
* obj3
= 0 ;
17036 char *kwnames
[] = {
17037 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17045 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17047 arg3
= (int) SWIG_AsInt(obj2
);
17048 if (PyErr_Occurred()) SWIG_fail
;
17049 arg4
= (int) SWIG_AsInt(obj3
);
17050 if (PyErr_Occurred()) SWIG_fail
;
17052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17053 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17055 wxPyEndAllowThreads(__tstate
);
17056 if (PyErr_Occurred()) SWIG_fail
;
17058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17065 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17066 PyObject
*resultobj
;
17067 wxPenList
*arg1
= (wxPenList
*) 0 ;
17068 wxPen
*arg2
= (wxPen
*) 0 ;
17069 PyObject
* obj0
= 0 ;
17070 PyObject
* obj1
= 0 ;
17071 char *kwnames
[] = {
17072 (char *) "self",(char *) "pen", NULL
17075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17082 (arg1
)->RemovePen(arg2
);
17084 wxPyEndAllowThreads(__tstate
);
17085 if (PyErr_Occurred()) SWIG_fail
;
17087 Py_INCREF(Py_None
); resultobj
= Py_None
;
17094 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17095 PyObject
*resultobj
;
17096 wxPenList
*arg1
= (wxPenList
*) 0 ;
17098 PyObject
* obj0
= 0 ;
17099 char *kwnames
[] = {
17100 (char *) "self", NULL
17103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17108 result
= (int)(arg1
)->GetCount();
17110 wxPyEndAllowThreads(__tstate
);
17111 if (PyErr_Occurred()) SWIG_fail
;
17113 resultobj
= SWIG_FromInt((int)result
);
17120 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
17122 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17123 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17125 return Py_BuildValue((char *)"");
17127 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17128 PyObject
*resultobj
;
17129 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17130 wxBrush
*arg2
= (wxBrush
*) 0 ;
17131 PyObject
* obj0
= 0 ;
17132 PyObject
* obj1
= 0 ;
17133 char *kwnames
[] = {
17134 (char *) "self",(char *) "brush", NULL
17137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17140 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17144 (arg1
)->AddBrush(arg2
);
17146 wxPyEndAllowThreads(__tstate
);
17147 if (PyErr_Occurred()) SWIG_fail
;
17149 Py_INCREF(Py_None
); resultobj
= Py_None
;
17156 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17157 PyObject
*resultobj
;
17158 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17159 wxColour
*arg2
= 0 ;
17163 PyObject
* obj0
= 0 ;
17164 PyObject
* obj1
= 0 ;
17165 PyObject
* obj2
= 0 ;
17166 char *kwnames
[] = {
17167 (char *) "self",(char *) "colour",(char *) "style", NULL
17170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17175 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17177 arg3
= (int) SWIG_AsInt(obj2
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17181 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17183 wxPyEndAllowThreads(__tstate
);
17184 if (PyErr_Occurred()) SWIG_fail
;
17186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17193 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17194 PyObject
*resultobj
;
17195 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17196 wxBrush
*arg2
= (wxBrush
*) 0 ;
17197 PyObject
* obj0
= 0 ;
17198 PyObject
* obj1
= 0 ;
17199 char *kwnames
[] = {
17200 (char *) "self",(char *) "brush", NULL
17203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17210 (arg1
)->RemoveBrush(arg2
);
17212 wxPyEndAllowThreads(__tstate
);
17213 if (PyErr_Occurred()) SWIG_fail
;
17215 Py_INCREF(Py_None
); resultobj
= Py_None
;
17222 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17223 PyObject
*resultobj
;
17224 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17226 PyObject
* obj0
= 0 ;
17227 char *kwnames
[] = {
17228 (char *) "self", NULL
17231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17236 result
= (int)(arg1
)->GetCount();
17238 wxPyEndAllowThreads(__tstate
);
17239 if (PyErr_Occurred()) SWIG_fail
;
17241 resultobj
= SWIG_FromInt((int)result
);
17248 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
17250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17251 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17253 return Py_BuildValue((char *)"");
17255 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17256 PyObject
*resultobj
;
17257 wxColourDatabase
*result
;
17258 char *kwnames
[] = {
17262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17265 result
= (wxColourDatabase
*)new wxColourDatabase();
17267 wxPyEndAllowThreads(__tstate
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17277 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17278 PyObject
*resultobj
;
17279 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17280 PyObject
* obj0
= 0 ;
17281 char *kwnames
[] = {
17282 (char *) "self", NULL
17285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17292 wxPyEndAllowThreads(__tstate
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17295 Py_INCREF(Py_None
); resultobj
= Py_None
;
17302 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17303 PyObject
*resultobj
;
17304 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17305 wxString
*arg2
= 0 ;
17307 bool temp2
= False
;
17308 PyObject
* obj0
= 0 ;
17309 PyObject
* obj1
= 0 ;
17310 char *kwnames
[] = {
17311 (char *) "self",(char *) "name", NULL
17314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17318 arg2
= wxString_in_helper(obj1
);
17319 if (arg2
== NULL
) SWIG_fail
;
17323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17324 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17326 wxPyEndAllowThreads(__tstate
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17330 wxColour
* resultptr
;
17331 resultptr
= new wxColour((wxColour
&) result
);
17332 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17348 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17349 PyObject
*resultobj
;
17350 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17351 wxColour
*arg2
= 0 ;
17354 PyObject
* obj0
= 0 ;
17355 PyObject
* obj1
= 0 ;
17356 char *kwnames
[] = {
17357 (char *) "self",(char *) "colour", NULL
17360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17365 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17369 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17371 wxPyEndAllowThreads(__tstate
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17378 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17387 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17388 PyObject
*resultobj
;
17389 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17390 wxString
*arg2
= 0 ;
17391 wxColour
*arg3
= 0 ;
17392 bool temp2
= False
;
17394 PyObject
* obj0
= 0 ;
17395 PyObject
* obj1
= 0 ;
17396 PyObject
* obj2
= 0 ;
17397 char *kwnames
[] = {
17398 (char *) "self",(char *) "name",(char *) "colour", NULL
17401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17405 arg2
= wxString_in_helper(obj1
);
17406 if (arg2
== NULL
) SWIG_fail
;
17411 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17415 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17417 wxPyEndAllowThreads(__tstate
);
17418 if (PyErr_Occurred()) SWIG_fail
;
17420 Py_INCREF(Py_None
); resultobj
= Py_None
;
17435 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17436 PyObject
*resultobj
;
17437 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17438 wxString
*arg2
= 0 ;
17442 bool temp2
= False
;
17443 PyObject
* obj0
= 0 ;
17444 PyObject
* obj1
= 0 ;
17445 PyObject
* obj2
= 0 ;
17446 PyObject
* obj3
= 0 ;
17447 PyObject
* obj4
= 0 ;
17448 char *kwnames
[] = {
17449 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17456 arg2
= wxString_in_helper(obj1
);
17457 if (arg2
== NULL
) SWIG_fail
;
17460 arg3
= (int) SWIG_AsInt(obj2
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17462 arg4
= (int) SWIG_AsInt(obj3
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17464 arg5
= (int) SWIG_AsInt(obj4
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17468 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17470 wxPyEndAllowThreads(__tstate
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17473 Py_INCREF(Py_None
); resultobj
= Py_None
;
17488 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
17490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17491 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17493 return Py_BuildValue((char *)"");
17495 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17496 PyObject
*resultobj
;
17497 wxFontList
*arg1
= (wxFontList
*) 0 ;
17498 wxFont
*arg2
= (wxFont
*) 0 ;
17499 PyObject
* obj0
= 0 ;
17500 PyObject
* obj1
= 0 ;
17501 char *kwnames
[] = {
17502 (char *) "self",(char *) "font", NULL
17505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17508 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17512 (arg1
)->AddFont(arg2
);
17514 wxPyEndAllowThreads(__tstate
);
17515 if (PyErr_Occurred()) SWIG_fail
;
17517 Py_INCREF(Py_None
); resultobj
= Py_None
;
17524 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17525 PyObject
*resultobj
;
17526 wxFontList
*arg1
= (wxFontList
*) 0 ;
17531 bool arg6
= (bool) False
;
17532 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17533 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17534 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17536 bool temp7
= False
;
17537 PyObject
* obj0
= 0 ;
17538 PyObject
* obj1
= 0 ;
17539 PyObject
* obj2
= 0 ;
17540 PyObject
* obj3
= 0 ;
17541 PyObject
* obj4
= 0 ;
17542 PyObject
* obj5
= 0 ;
17543 PyObject
* obj6
= 0 ;
17544 PyObject
* obj7
= 0 ;
17545 char *kwnames
[] = {
17546 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17552 arg2
= (int) SWIG_AsInt(obj1
);
17553 if (PyErr_Occurred()) SWIG_fail
;
17554 arg3
= (int) SWIG_AsInt(obj2
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17556 arg4
= (int) SWIG_AsInt(obj3
);
17557 if (PyErr_Occurred()) SWIG_fail
;
17558 arg5
= (int) SWIG_AsInt(obj4
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17561 arg6
= (bool) SWIG_AsBool(obj5
);
17562 if (PyErr_Occurred()) SWIG_fail
;
17566 arg7
= wxString_in_helper(obj6
);
17567 if (arg7
== NULL
) SWIG_fail
;
17572 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17577 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17579 wxPyEndAllowThreads(__tstate
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17597 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17598 PyObject
*resultobj
;
17599 wxFontList
*arg1
= (wxFontList
*) 0 ;
17600 wxFont
*arg2
= (wxFont
*) 0 ;
17601 PyObject
* obj0
= 0 ;
17602 PyObject
* obj1
= 0 ;
17603 char *kwnames
[] = {
17604 (char *) "self",(char *) "font", NULL
17607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17614 (arg1
)->RemoveFont(arg2
);
17616 wxPyEndAllowThreads(__tstate
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17619 Py_INCREF(Py_None
); resultobj
= Py_None
;
17626 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17627 PyObject
*resultobj
;
17628 wxFontList
*arg1
= (wxFontList
*) 0 ;
17630 PyObject
* obj0
= 0 ;
17631 char *kwnames
[] = {
17632 (char *) "self", NULL
17635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17640 result
= (int)(arg1
)->GetCount();
17642 wxPyEndAllowThreads(__tstate
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17645 resultobj
= SWIG_FromInt((int)result
);
17652 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
17654 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17655 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17657 return Py_BuildValue((char *)"");
17659 static int _wrap_TheFontList_set(PyObject
*) {
17660 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17665 static PyObject
*_wrap_TheFontList_get() {
17668 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
17673 static int _wrap_ThePenList_set(PyObject
*) {
17674 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17679 static PyObject
*_wrap_ThePenList_get() {
17682 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
17687 static int _wrap_TheBrushList_set(PyObject
*) {
17688 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17693 static PyObject
*_wrap_TheBrushList_get() {
17696 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
17701 static int _wrap_TheColourDatabase_set(PyObject
*) {
17702 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17707 static PyObject
*_wrap_TheColourDatabase_get() {
17710 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
17715 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17716 PyObject
*resultobj
;
17718 char *kwnames
[] = {
17722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17725 result
= (wxEffects
*)new wxEffects();
17727 wxPyEndAllowThreads(__tstate
);
17728 if (PyErr_Occurred()) SWIG_fail
;
17730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
17737 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17738 PyObject
*resultobj
;
17739 wxEffects
*arg1
= (wxEffects
*) 0 ;
17741 PyObject
* obj0
= 0 ;
17742 char *kwnames
[] = {
17743 (char *) "self", NULL
17746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
17747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17751 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
17753 wxPyEndAllowThreads(__tstate
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17757 wxColour
* resultptr
;
17758 resultptr
= new wxColour((wxColour
&) result
);
17759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17767 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17768 PyObject
*resultobj
;
17769 wxEffects
*arg1
= (wxEffects
*) 0 ;
17771 PyObject
* obj0
= 0 ;
17772 char *kwnames
[] = {
17773 (char *) "self", NULL
17776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17781 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17783 wxPyEndAllowThreads(__tstate
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17787 wxColour
* resultptr
;
17788 resultptr
= new wxColour((wxColour
&) result
);
17789 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17797 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17798 PyObject
*resultobj
;
17799 wxEffects
*arg1
= (wxEffects
*) 0 ;
17801 PyObject
* obj0
= 0 ;
17802 char *kwnames
[] = {
17803 (char *) "self", NULL
17806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
17807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17811 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
17813 wxPyEndAllowThreads(__tstate
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17817 wxColour
* resultptr
;
17818 resultptr
= new wxColour((wxColour
&) result
);
17819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17827 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17828 PyObject
*resultobj
;
17829 wxEffects
*arg1
= (wxEffects
*) 0 ;
17831 PyObject
* obj0
= 0 ;
17832 char *kwnames
[] = {
17833 (char *) "self", NULL
17836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
17837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17841 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
17843 wxPyEndAllowThreads(__tstate
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17847 wxColour
* resultptr
;
17848 resultptr
= new wxColour((wxColour
&) result
);
17849 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17857 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17858 PyObject
*resultobj
;
17859 wxEffects
*arg1
= (wxEffects
*) 0 ;
17861 PyObject
* obj0
= 0 ;
17862 char *kwnames
[] = {
17863 (char *) "self", NULL
17866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
17867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17871 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
17873 wxPyEndAllowThreads(__tstate
);
17874 if (PyErr_Occurred()) SWIG_fail
;
17877 wxColour
* resultptr
;
17878 resultptr
= new wxColour((wxColour
&) result
);
17879 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17887 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17888 PyObject
*resultobj
;
17889 wxEffects
*arg1
= (wxEffects
*) 0 ;
17890 wxColour
*arg2
= 0 ;
17892 PyObject
* obj0
= 0 ;
17893 PyObject
* obj1
= 0 ;
17894 char *kwnames
[] = {
17895 (char *) "self",(char *) "c", NULL
17898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17903 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17907 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
17909 wxPyEndAllowThreads(__tstate
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17912 Py_INCREF(Py_None
); resultobj
= Py_None
;
17919 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17920 PyObject
*resultobj
;
17921 wxEffects
*arg1
= (wxEffects
*) 0 ;
17922 wxColour
*arg2
= 0 ;
17924 PyObject
* obj0
= 0 ;
17925 PyObject
* obj1
= 0 ;
17926 char *kwnames
[] = {
17927 (char *) "self",(char *) "c", NULL
17930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17935 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17939 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
17941 wxPyEndAllowThreads(__tstate
);
17942 if (PyErr_Occurred()) SWIG_fail
;
17944 Py_INCREF(Py_None
); resultobj
= Py_None
;
17951 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17952 PyObject
*resultobj
;
17953 wxEffects
*arg1
= (wxEffects
*) 0 ;
17954 wxColour
*arg2
= 0 ;
17956 PyObject
* obj0
= 0 ;
17957 PyObject
* obj1
= 0 ;
17958 char *kwnames
[] = {
17959 (char *) "self",(char *) "c", NULL
17962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17967 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17971 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
17973 wxPyEndAllowThreads(__tstate
);
17974 if (PyErr_Occurred()) SWIG_fail
;
17976 Py_INCREF(Py_None
); resultobj
= Py_None
;
17983 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17984 PyObject
*resultobj
;
17985 wxEffects
*arg1
= (wxEffects
*) 0 ;
17986 wxColour
*arg2
= 0 ;
17988 PyObject
* obj0
= 0 ;
17989 PyObject
* obj1
= 0 ;
17990 char *kwnames
[] = {
17991 (char *) "self",(char *) "c", NULL
17994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17999 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18003 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18005 wxPyEndAllowThreads(__tstate
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18008 Py_INCREF(Py_None
); resultobj
= Py_None
;
18015 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18016 PyObject
*resultobj
;
18017 wxEffects
*arg1
= (wxEffects
*) 0 ;
18018 wxColour
*arg2
= 0 ;
18020 PyObject
* obj0
= 0 ;
18021 PyObject
* obj1
= 0 ;
18022 char *kwnames
[] = {
18023 (char *) "self",(char *) "c", NULL
18026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18031 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18035 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18037 wxPyEndAllowThreads(__tstate
);
18038 if (PyErr_Occurred()) SWIG_fail
;
18040 Py_INCREF(Py_None
); resultobj
= Py_None
;
18047 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18048 PyObject
*resultobj
;
18049 wxEffects
*arg1
= (wxEffects
*) 0 ;
18050 wxColour
*arg2
= 0 ;
18051 wxColour
*arg3
= 0 ;
18052 wxColour
*arg4
= 0 ;
18053 wxColour
*arg5
= 0 ;
18054 wxColour
*arg6
= 0 ;
18060 PyObject
* obj0
= 0 ;
18061 PyObject
* obj1
= 0 ;
18062 PyObject
* obj2
= 0 ;
18063 PyObject
* obj3
= 0 ;
18064 PyObject
* obj4
= 0 ;
18065 PyObject
* obj5
= 0 ;
18066 char *kwnames
[] = {
18067 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18075 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18079 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18083 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18087 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18091 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18095 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18097 wxPyEndAllowThreads(__tstate
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18100 Py_INCREF(Py_None
); resultobj
= Py_None
;
18107 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18108 PyObject
*resultobj
;
18109 wxEffects
*arg1
= (wxEffects
*) 0 ;
18112 int arg4
= (int) 1 ;
18114 PyObject
* obj0
= 0 ;
18115 PyObject
* obj1
= 0 ;
18116 PyObject
* obj2
= 0 ;
18117 PyObject
* obj3
= 0 ;
18118 char *kwnames
[] = {
18119 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18125 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18126 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18128 if (arg2
== NULL
) {
18129 PyErr_SetString(PyExc_TypeError
,"null reference");
18134 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18137 arg4
= (int) SWIG_AsInt(obj3
);
18138 if (PyErr_Occurred()) SWIG_fail
;
18141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18142 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18144 wxPyEndAllowThreads(__tstate
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18147 Py_INCREF(Py_None
); resultobj
= Py_None
;
18154 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18155 PyObject
*resultobj
;
18156 wxEffects
*arg1
= (wxEffects
*) 0 ;
18159 wxBitmap
*arg4
= 0 ;
18162 PyObject
* obj0
= 0 ;
18163 PyObject
* obj1
= 0 ;
18164 PyObject
* obj2
= 0 ;
18165 PyObject
* obj3
= 0 ;
18166 char *kwnames
[] = {
18167 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18175 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18177 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18178 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18180 if (arg3
== NULL
) {
18181 PyErr_SetString(PyExc_TypeError
,"null reference");
18184 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18185 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18187 if (arg4
== NULL
) {
18188 PyErr_SetString(PyExc_TypeError
,"null reference");
18192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18193 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18195 wxPyEndAllowThreads(__tstate
);
18196 if (PyErr_Occurred()) SWIG_fail
;
18199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18207 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
18209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18210 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18212 return Py_BuildValue((char *)"");
18214 static PyMethodDef SwigMethods
[] = {
18215 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18216 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18217 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18218 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18219 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18220 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
18221 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18222 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18223 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18224 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18225 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18226 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18227 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18228 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18229 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18230 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18231 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18232 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18233 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18234 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18235 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18236 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18237 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
18238 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18239 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18240 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18241 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18242 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18243 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
18244 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18245 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18246 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18247 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18248 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18249 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18250 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18251 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18252 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18253 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18254 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18255 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18256 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18257 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18258 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18259 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18260 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18261 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
18262 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18263 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18264 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18265 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
, NULL
},
18266 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18267 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18268 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18269 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18270 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18271 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18272 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18273 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18274 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18275 { (char *)"Brush_GetMacTheme", (PyCFunction
) _wrap_Brush_GetMacTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18276 { (char *)"Brush_SetMacTheme", (PyCFunction
) _wrap_Brush_SetMacTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18277 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
18278 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18279 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18280 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18281 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18282 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18283 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18284 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18285 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18286 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18287 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18288 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18289 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18290 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18291 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18292 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18293 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18294 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18295 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18296 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18297 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18298 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18299 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18300 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18301 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18302 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
18303 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18304 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
18305 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18306 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18307 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18308 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18309 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18310 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18311 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18312 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18313 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18314 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18315 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18316 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18317 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18318 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18319 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
18320 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18321 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18322 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18323 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18324 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18325 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18326 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18327 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
18328 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18329 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18330 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18331 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18332 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18333 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18334 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18335 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
18336 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18337 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18338 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18339 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18340 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18341 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
18342 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18343 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18344 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18345 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18346 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18347 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18348 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18349 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18350 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18351 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18352 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18353 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18354 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18355 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18356 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18357 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18358 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18359 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18360 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18361 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18362 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18363 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18364 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18365 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18366 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18367 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
18368 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18369 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18370 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18371 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18372 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18373 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18374 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18375 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18376 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18377 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18378 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18379 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18380 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18381 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
18382 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18383 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18384 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18385 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18386 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18387 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18388 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18389 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18390 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18391 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18392 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18393 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18394 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18395 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18396 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18397 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18398 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18399 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18400 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18401 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18402 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18403 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18404 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18405 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
18406 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18407 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18408 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18409 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18410 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18411 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18412 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18413 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18414 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
18415 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18416 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18417 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18418 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18419 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18420 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18421 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18422 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18423 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18424 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18425 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18426 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18427 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18428 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18429 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18430 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18431 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18432 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18433 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
18434 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18435 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18436 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18437 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18438 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18439 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18440 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18441 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18442 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18443 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18444 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18445 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18446 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18447 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18448 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18449 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18450 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18451 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18452 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18453 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18454 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18455 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18456 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18457 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18458 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18459 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18460 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18461 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18462 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18463 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18464 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18465 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18466 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18467 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18468 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18469 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18470 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
18471 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18472 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18473 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18474 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18475 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18476 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18477 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18478 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
18479 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18480 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18481 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18482 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18483 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18484 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18485 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
18486 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18487 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18488 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18489 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18490 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18491 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18492 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18493 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18494 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18495 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18496 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18497 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18498 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18499 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18500 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18501 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18502 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18503 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18504 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18505 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18506 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18507 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
18508 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18509 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
18510 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18511 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18512 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18513 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18514 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18515 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18516 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18517 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
18518 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18519 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18520 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18521 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18522 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18523 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18524 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18525 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18526 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18527 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18528 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18529 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18530 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18531 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18532 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18533 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18534 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18535 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18536 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18537 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18538 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18539 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18540 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18541 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18542 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18543 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18544 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18545 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18546 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18547 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18548 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18549 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18550 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18551 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18552 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18553 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18554 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18555 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18556 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18557 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18558 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18559 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18560 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18561 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18562 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18563 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18564 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18565 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18566 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18567 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18568 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18569 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18570 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18571 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18572 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18573 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18574 { (char *)"DC_SetClippingRegionXY", (PyCFunction
) _wrap_DC_SetClippingRegionXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18575 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18576 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18577 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18578 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18579 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18580 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18581 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18582 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18583 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18584 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18585 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18586 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18587 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18588 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18589 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18590 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18591 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18592 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18593 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18594 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18595 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18596 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18597 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18598 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18599 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18600 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18601 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18602 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18603 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18604 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18605 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18606 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18607 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18608 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18609 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18610 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18611 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18612 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18613 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18614 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18615 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18616 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18617 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18618 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18619 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18620 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18621 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18622 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18623 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18624 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18625 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18626 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18627 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18628 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18629 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18630 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18631 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18632 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18633 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18634 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18635 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18636 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18637 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18638 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18639 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18640 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18641 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18642 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18643 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
18644 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18645 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18646 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18647 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
18648 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
18649 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
, NULL
},
18650 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18651 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18652 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
18653 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18654 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
18655 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18656 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18657 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18658 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18659 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
18660 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18661 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
18662 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18663 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
18664 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18665 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
18666 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18667 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
18668 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18669 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18670 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18671 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18672 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18673 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
18674 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18675 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18676 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18677 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18678 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18679 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18680 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18681 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
18682 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18683 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18684 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
18685 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18686 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
18687 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18688 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18689 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18690 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18691 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18692 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18693 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18694 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18695 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18696 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18697 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18698 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
18699 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18700 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18701 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18702 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18703 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
18704 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18705 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18706 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18707 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18708 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
18709 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18710 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18711 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18712 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18713 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18714 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18715 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
18716 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18717 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18718 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18719 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18720 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
18721 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18722 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18723 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18724 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18725 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18726 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18727 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18728 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18729 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18730 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18731 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18732 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18733 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18734 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18735 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
18736 { NULL
, NULL
, 0, NULL
}
18740 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18742 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18743 return (void *)((wxWindow
*) ((wxControl
*) x
));
18745 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18746 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18748 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18749 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18751 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
18752 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
18754 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
18755 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18757 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18758 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18760 static void *_p_wxPenTo_p_wxObject(void *x
) {
18761 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
18763 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
18764 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
18766 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18767 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18769 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18770 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18772 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
18773 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
18775 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18776 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18778 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18779 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18781 static void *_p_wxIconTo_p_wxObject(void *x
) {
18782 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
18784 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18785 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18787 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18788 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18790 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18791 return (void *)((wxObject
*) ((wxSizer
*) x
));
18793 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18794 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18796 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18797 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18799 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18800 return (void *)((wxObject
*) ((wxPenList
*) x
));
18802 static void *_p_wxEventTo_p_wxObject(void *x
) {
18803 return (void *)((wxObject
*) ((wxEvent
*) x
));
18805 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18806 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18808 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18809 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18811 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18812 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18814 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18815 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18817 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18818 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18820 static void *_p_wxDCTo_p_wxObject(void *x
) {
18821 return (void *)((wxObject
*) ((wxDC
*) x
));
18823 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18824 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18826 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18827 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18829 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18830 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18832 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18833 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18835 static void *_p_wxControlTo_p_wxObject(void *x
) {
18836 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18838 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18839 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18841 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
18842 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
18844 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18845 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18847 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
18848 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
18850 static void *_p_wxRegionTo_p_wxObject(void *x
) {
18851 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
18853 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18854 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18856 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
18857 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
18859 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
18860 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
18862 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
18863 return (void *)((wxObject
*) ((wxEffects
*) x
));
18865 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18866 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18868 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18869 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18871 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
18872 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
18874 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18875 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18877 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18878 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18880 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18881 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18883 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18884 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18886 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18887 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18889 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18890 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18892 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18893 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18895 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18896 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18898 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18899 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18901 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18902 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18904 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18905 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18907 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18908 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18910 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18911 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18913 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18914 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18916 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18917 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18919 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18920 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18922 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18923 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18925 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18926 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18928 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18929 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18931 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18932 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18934 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18935 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18937 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18938 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18940 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18941 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18943 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
18944 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18946 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
18947 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
18949 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
18950 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
18952 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
18953 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
18955 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18956 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18958 static void *_p_wxImageTo_p_wxObject(void *x
) {
18959 return (void *)((wxObject
*) ((wxImage
*) x
));
18961 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18962 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18964 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
18965 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
18967 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
18968 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
18970 static void *_p_wxImageListTo_p_wxObject(void *x
) {
18971 return (void *)((wxObject
*) ((wxImageList
*) x
));
18973 static void *_p_wxCursorTo_p_wxObject(void *x
) {
18974 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
18976 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
18977 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
18979 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
18980 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
18982 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
18983 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18985 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
18986 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18988 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
18989 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
18991 static void *_p_wxWindowTo_p_wxObject(void *x
) {
18992 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
18994 static void *_p_wxMenuTo_p_wxObject(void *x
) {
18995 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
18997 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
18998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19000 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19001 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19003 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19004 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19006 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
19007 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
19009 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19010 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19012 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19013 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19015 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19016 return (void *)((wxObject
*) ((wxMask
*) x
));
19018 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19019 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19021 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19022 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19024 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19025 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19027 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19028 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19030 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19031 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19033 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19034 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19036 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19037 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19039 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19040 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19042 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19043 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19045 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19046 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19048 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19049 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19051 static void *_p_wxFontTo_p_wxObject(void *x
) {
19052 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19054 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19055 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19057 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19058 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19060 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19061 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19063 static void *_p_wxColourTo_p_wxObject(void *x
) {
19064 return (void *)((wxObject
*) ((wxColour
*) x
));
19066 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19067 return (void *)((wxObject
*) ((wxFontList
*) x
));
19069 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19070 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19072 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19073 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19075 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19076 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19078 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19079 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19081 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19082 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19084 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19085 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19087 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19088 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19090 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19091 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19093 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19094 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19096 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19097 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19099 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19100 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19102 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19103 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19105 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19106 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19108 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19109 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19111 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
19112 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
19114 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19115 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19117 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19118 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19120 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19121 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19123 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19124 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19126 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19127 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19129 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19130 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19132 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19133 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19135 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19136 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19138 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
19139 return (void *)((wxPen
*) ((wxPyPen
*) x
));
19141 static swig_type_info _swigt__p_wxPostScriptDC
[] = {{"_p_wxPostScriptDC", 0, "wxPostScriptDC *", 0, 0, 0, 0},{"_p_wxPostScriptDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19142 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0, 0, 0, 0},{"_p_wxBrush", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19143 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19144 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxClientDC", _p_wxClientDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxDC
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19145 static swig_type_info _swigt__p_wxMirrorDC
[] = {{"_p_wxMirrorDC", 0, "wxMirrorDC *", 0, 0, 0, 0},{"_p_wxMirrorDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19146 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{"_p_byte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19147 static swig_type_info _swigt__p_wxPyFontEnumerator
[] = {{"_p_wxPyFontEnumerator", 0, "wxPyFontEnumerator *", 0, 0, 0, 0},{"_p_wxPyFontEnumerator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19148 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19149 static swig_type_info _swigt__p_wxIconLocation
[] = {{"_p_wxIconLocation", 0, "wxIconLocation *", 0, 0, 0, 0},{"_p_wxIconLocation", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19150 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0, 0, 0, 0},{"_p_wxImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19151 static swig_type_info _swigt__p_wxMetaFileDC
[] = {{"_p_wxMetaFileDC", 0, "wxMetaFileDC *", 0, 0, 0, 0},{"_p_wxMetaFileDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19152 static swig_type_info _swigt__p_wxMask
[] = {{"_p_wxMask", 0, "wxMask *", 0, 0, 0, 0},{"_p_wxMask", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19153 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19154 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19155 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19156 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0, 0, 0, 0},{"_p_double", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19157 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxMemoryDC
, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", 0, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxMemoryDC
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19158 static swig_type_info _swigt__p_wxFontMapper
[] = {{"_p_wxFontMapper", 0, "wxFontMapper *", 0, 0, 0, 0},{"_p_wxFontMapper", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19159 static swig_type_info _swigt__p_wxEffects
[] = {{"_p_wxEffects", 0, "wxEffects *", 0, 0, 0, 0},{"_p_wxEffects", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19160 static swig_type_info _swigt__p_wxNativeEncodingInfo
[] = {{"_p_wxNativeEncodingInfo", 0, "wxNativeEncodingInfo *", 0, 0, 0, 0},{"_p_wxNativeEncodingInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19161 static swig_type_info _swigt__p_wxPalette
[] = {{"_p_wxPalette", 0, "wxPalette *", 0, 0, 0, 0},{"_p_wxPalette", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19162 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19163 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRegionIterator", _p_wxRegionIteratorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPen", _p_wxPenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDatabase", _p_wxColourDatabaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPenList", _p_wxPenListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMask", _p_wxMaskTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFont", _p_wxFontTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxClientDC", _p_wxClientDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRegion", _p_wxRegionTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDC", _p_wxDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIcon", _p_wxIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGDIObject", _p_wxGDIObjectTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEffects", _p_wxEffectsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPalette", _p_wxPaletteTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageList", _p_wxImageListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCursor", _p_wxCursorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEncodingConverter", _p_wxEncodingConverterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBrushList", _p_wxBrushListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPen", _p_wxPyPenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBitmap", _p_wxBitmapTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBrush", _p_wxBrushTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMetaFile", _p_wxMetaFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColour", _p_wxColourTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontList", _p_wxFontListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19164 static swig_type_info _swigt__p_wxRegionIterator
[] = {{"_p_wxRegionIterator", 0, "wxRegionIterator *", 0, 0, 0, 0},{"_p_wxRegionIterator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19165 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19166 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19167 static swig_type_info _swigt__p_wxPrinterDC
[] = {{"_p_wxPrinterDC", 0, "wxPrinterDC *", 0, 0, 0, 0},{"_p_wxPrinterDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19168 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0, 0, 0, 0},{"_p_wxIconBundle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19169 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19170 static swig_type_info _swigt__p_wxDash
[] = {{"_p_wxDash", 0, "wxDash *", 0, 0, 0, 0},{"_p_wxDash", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19171 static swig_type_info _swigt__p_wxScreenDC
[] = {{"_p_wxScreenDC", 0, "wxScreenDC *", 0, 0, 0, 0},{"_p_wxScreenDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19172 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19173 static swig_type_info _swigt__p_wxClientDC
[] = {{"_p_wxClientDC", 0, "wxClientDC *", 0, 0, 0, 0},{"_p_wxClientDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19174 static swig_type_info _swigt__p_wxBufferedDC
[] = {{"_p_wxBufferedDC", 0, "wxBufferedDC *", 0, 0, 0, 0},{"_p_wxBufferedDC", 0, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxBufferedDC
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19175 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0, 0, 0, 0},{"_p_wxImageList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19176 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{"_p_byte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19177 static swig_type_info _swigt__p_wxGDIObject
[] = {{"_p_wxGDIObject", 0, "wxGDIObject *", 0, 0, 0, 0},{"_p_wxIcon", _p_wxIconTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxPyPen", _p_wxPyPenTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxPen", _p_wxPenTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxFont", _p_wxFontTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxPalette", _p_wxPaletteTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxGDIObject", 0, 0, 0, 0, 0, 0},{"_p_wxCursor", _p_wxCursorTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxBitmap", _p_wxBitmapTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxRegion", _p_wxRegionTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxBrush", _p_wxBrushTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19178 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19179 static swig_type_info _swigt__p_wxLocale
[] = {{"_p_wxLocale", 0, "wxLocale *", 0, 0, 0, 0},{"_p_wxLocale", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19180 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19181 static swig_type_info _swigt__p_wxLanguageInfo
[] = {{"_p_wxLanguageInfo", 0, "wxLanguageInfo *", 0, 0, 0, 0},{"_p_wxLanguageInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19182 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19183 static swig_type_info _swigt__p_wxWindowDC
[] = {{"_p_wxWindowDC", 0, "wxWindowDC *", 0, 0, 0, 0},{"_p_wxWindowDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19184 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19185 static swig_type_info _swigt__p_wxBrushList
[] = {{"_p_wxBrushList", 0, "wxBrushList *", 0, 0, 0, 0},{"_p_wxBrushList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19186 static swig_type_info _swigt__p_wxFontList
[] = {{"_p_wxFontList", 0, "wxFontList *", 0, 0, 0, 0},{"_p_wxFontList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19187 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0, 0, 0, 0},{"_p_wxPyPen", _p_wxPyPenTo_p_wxPen
, 0, 0, 0, 0, 0},{"_p_wxPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19188 static swig_type_info _swigt__p_wxBufferedPaintDC
[] = {{"_p_wxBufferedPaintDC", 0, "wxBufferedPaintDC *", 0, 0, 0, 0},{"_p_wxBufferedPaintDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19189 static swig_type_info _swigt__p_wxPaintDC
[] = {{"_p_wxPaintDC", 0, "wxPaintDC *", 0, 0, 0, 0},{"_p_wxPaintDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19190 static swig_type_info _swigt__p_wxPenList
[] = {{"_p_wxPenList", 0, "wxPenList *", 0, 0, 0, 0},{"_p_wxPenList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19191 static swig_type_info _swigt__p_wxPyPen
[] = {{"_p_wxPyPen", 0, "wxPyPen *", 0, 0, 0, 0},{"_p_wxPyPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19192 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19193 static swig_type_info _swigt__p_wxMetaFile
[] = {{"_p_wxMetaFile", 0, "wxMetaFile *", 0, 0, 0, 0},{"_p_wxMetaFile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19194 static swig_type_info _swigt__p_wxNativeFontInfo
[] = {{"_p_wxNativeFontInfo", 0, "wxNativeFontInfo *", 0, 0, 0, 0},{"_p_wxNativeFontInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19195 static swig_type_info _swigt__p_wxEncodingConverter
[] = {{"_p_wxEncodingConverter", 0, "wxEncodingConverter *", 0, 0, 0, 0},{"_p_wxEncodingConverter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19196 static swig_type_info _swigt__p_wxColourDatabase
[] = {{"_p_wxColourDatabase", 0, "wxColourDatabase *", 0, 0, 0, 0},{"_p_wxColourDatabase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19198 static swig_type_info
*swig_types_initial
[] = {
19199 _swigt__p_wxPostScriptDC
,
19201 _swigt__p_wxColour
,
19203 _swigt__p_wxMirrorDC
,
19205 _swigt__p_wxPyFontEnumerator
,
19207 _swigt__p_wxIconLocation
,
19209 _swigt__p_wxMetaFileDC
,
19212 _swigt__p_wxWindow
,
19215 _swigt__p_wxMemoryDC
,
19216 _swigt__p_wxFontMapper
,
19217 _swigt__p_wxEffects
,
19218 _swigt__p_wxNativeEncodingInfo
,
19219 _swigt__p_wxPalette
,
19220 _swigt__p_wxBitmap
,
19221 _swigt__p_wxObject
,
19222 _swigt__p_wxRegionIterator
,
19224 _swigt__p_wxString
,
19225 _swigt__p_wxPrinterDC
,
19226 _swigt__p_wxIconBundle
,
19229 _swigt__p_wxScreenDC
,
19230 _swigt__p_wxCursor
,
19231 _swigt__p_wxClientDC
,
19232 _swigt__p_wxBufferedDC
,
19233 _swigt__p_wxImageList
,
19234 _swigt__p_unsigned_char
,
19235 _swigt__p_wxGDIObject
,
19237 _swigt__p_wxLocale
,
19238 _swigt__p_wxRegion
,
19239 _swigt__p_wxLanguageInfo
,
19240 _swigt__p_wxConfigBase
,
19241 _swigt__p_wxWindowDC
,
19242 _swigt__p_wxPrintData
,
19243 _swigt__p_wxBrushList
,
19244 _swigt__p_wxFontList
,
19246 _swigt__p_wxBufferedPaintDC
,
19247 _swigt__p_wxPaintDC
,
19248 _swigt__p_wxPenList
,
19251 _swigt__p_wxMetaFile
,
19252 _swigt__p_wxNativeFontInfo
,
19253 _swigt__p_wxEncodingConverter
,
19254 _swigt__p_wxColourDatabase
,
19259 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19261 static swig_const_info swig_const_table
[] = {
19262 {0, 0, 0, 0.0, 0, 0}};
19271 SWIGEXPORT(void) SWIG_init(void) {
19272 static PyObject
*SWIG_globals
= 0;
19273 static int typeinit
= 0;
19276 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19277 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19278 d
= PyModule_GetDict(m
);
19281 for (i
= 0; swig_types_initial
[i
]; i
++) {
19282 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19286 SWIG_InstallConstants(d
,swig_const_table
);
19288 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
19289 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
19290 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
19291 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
19292 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
19293 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
19294 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
19295 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
19296 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
19297 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
19298 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
19299 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
19300 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
19301 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
19302 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
19303 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
19304 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
19305 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
19306 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
19307 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
19308 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
19309 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
19310 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
19311 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
19312 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
19313 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
19314 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
19315 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
19316 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
19317 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
19318 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
19319 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
19320 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
19321 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
19322 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
19323 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
19324 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
19325 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
19326 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
19327 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
19328 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
19329 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
19330 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
19331 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
19332 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
19333 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
19334 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
19335 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
19336 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
19337 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
19338 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
19339 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
19340 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
19341 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
19342 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
19343 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
19344 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
19345 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
19346 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
19347 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
19348 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
19349 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
19350 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
19351 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
19352 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
19353 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
19354 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
19355 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
19356 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
19357 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
19358 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
19359 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
19360 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
19361 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
19362 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
19363 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
19364 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
19365 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
19366 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
19367 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
19368 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
19369 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
19370 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
19371 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
19372 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
19373 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
19374 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
19375 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
19376 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
19377 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
19378 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
19379 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
19380 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
19381 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
19382 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
19383 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
19384 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
19385 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
19386 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
19387 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
19388 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
19389 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
19390 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
19391 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
19392 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
19393 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
19394 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
19395 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
19396 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
19397 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
19398 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
19399 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
19400 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
19401 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
19402 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
19403 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
19404 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
19405 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
19406 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
19407 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
19408 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
19409 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
19410 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
19411 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
19412 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
19413 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
19415 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19417 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
19418 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
19419 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
19420 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
19421 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
19422 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
19423 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
19424 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
19425 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
19426 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19427 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
19428 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
19429 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
19430 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
19431 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
19432 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
19433 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
19434 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
19435 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
19436 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19437 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
19438 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
19439 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
19440 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
19441 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
19442 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
19443 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
19444 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
19445 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
19446 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
19447 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
19448 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
19449 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
19450 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
19451 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
19452 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
19453 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
19454 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
19455 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
19456 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
19457 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
19458 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
19459 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
19460 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
19461 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19462 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19463 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
19464 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
19465 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19466 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
19467 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
19468 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
19469 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
19470 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
19471 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
19472 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
19473 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
19474 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
19475 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
19476 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19477 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
19478 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19479 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
19480 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19481 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
19482 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
19483 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19484 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19485 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19486 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19487 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19488 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19489 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
19490 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
19491 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
19492 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
19493 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
19494 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
19495 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
19496 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
19497 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
19498 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19499 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
19500 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
19501 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
19502 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
19503 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
19504 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
19505 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19506 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
19507 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19508 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19509 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
19510 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
19511 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
19512 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
19513 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
19514 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
19515 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
19516 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
19517 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
19518 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
19519 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
19520 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
19521 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
19522 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
19523 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
19524 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
19525 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
19526 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
19527 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
19528 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
19529 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
19530 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
19531 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
19532 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
19533 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
19534 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
19535 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
19536 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
19537 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
19538 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
19539 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
19540 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
19541 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
19542 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
19543 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
19544 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
19545 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
19546 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
19547 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
19548 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
19549 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19550 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
19551 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
19552 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
19553 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
19554 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
19555 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
19556 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
19557 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
19558 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
19559 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
19560 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19561 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19562 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
19563 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
19564 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
19565 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
19566 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
19567 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
19568 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19569 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
19570 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
19571 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
19572 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
19573 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
19574 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19575 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
19576 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
19577 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
19578 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
19579 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
19580 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19581 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
19582 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
19583 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
19584 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
19585 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
19586 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
19587 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
19588 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
19589 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
19590 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
19591 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
19592 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
19593 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19594 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19595 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
19596 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19597 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19598 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19599 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
19600 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19601 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19602 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
19603 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
19604 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
19605 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19606 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
19607 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19608 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
19609 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19610 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
19611 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
19612 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19613 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
19614 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
19615 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
19616 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
19617 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
19618 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
19619 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
19620 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
19621 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
19622 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
19623 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
19624 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
19625 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
19626 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
19627 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
19628 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
19629 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
19630 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
19631 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
19632 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
19633 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
19634 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
19635 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
19636 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19637 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
19638 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
19639 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
19640 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
19641 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
19642 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
19643 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
19644 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
19645 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
19646 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
19647 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
19648 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
19649 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
19650 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
19651 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
19652 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
19653 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
19654 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
19655 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
19656 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
19657 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
19658 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
19659 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
19660 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
19661 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
19662 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
19663 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
19664 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19665 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
19666 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
19667 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
19668 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
19669 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
19670 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19671 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19672 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19673 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19674 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19675 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19676 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19677 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19678 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19679 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19680 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19681 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19682 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19683 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19684 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19685 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19686 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19687 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19688 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19689 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19690 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19691 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19692 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19693 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19694 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19695 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19696 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19697 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19698 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19699 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19700 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19701 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19702 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19703 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19704 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19705 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19706 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19707 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19708 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19709 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19710 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19711 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19712 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19713 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19714 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19715 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19716 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19718 // Work around a chicken/egg problem in drawlist.cpp
19719 wxPyDrawList_SetAPIPtr();