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_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
212 #define SWIGTYPE_p_wxBrush swig_types[1]
213 #define SWIGTYPE_p_wxColour swig_types[2]
214 #define SWIGTYPE_p_wxDC swig_types[3]
215 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
216 #define SWIGTYPE_p_byte swig_types[5]
217 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
218 #define SWIGTYPE_p_char swig_types[7]
219 #define SWIGTYPE_p_wxIconLocation swig_types[8]
220 #define SWIGTYPE_p_wxImage swig_types[9]
221 #define SWIGTYPE_p_wxMetaFileDC swig_types[10]
222 #define SWIGTYPE_p_wxMask swig_types[11]
223 #define SWIGTYPE_p_wxSize swig_types[12]
224 #define SWIGTYPE_p_wxFont swig_types[13]
225 #define SWIGTYPE_p_wxWindow swig_types[14]
226 #define SWIGTYPE_p_double swig_types[15]
227 #define SWIGTYPE_p_wxMemoryDC swig_types[16]
228 #define SWIGTYPE_p_wxFontMapper swig_types[17]
229 #define SWIGTYPE_p_wxEffects swig_types[18]
230 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]
231 #define SWIGTYPE_p_wxPalette swig_types[20]
232 #define SWIGTYPE_p_wxBitmap swig_types[21]
233 #define SWIGTYPE_p_wxObject swig_types[22]
234 #define SWIGTYPE_p_wxRegionIterator swig_types[23]
235 #define SWIGTYPE_p_wxRect swig_types[24]
236 #define SWIGTYPE_p_wxString swig_types[25]
237 #define SWIGTYPE_p_wxPrinterDC swig_types[26]
238 #define SWIGTYPE_p_wxIconBundle swig_types[27]
239 #define SWIGTYPE_p_wxPoint swig_types[28]
240 #define SWIGTYPE_p_wxDash swig_types[29]
241 #define SWIGTYPE_p_wxScreenDC swig_types[30]
242 #define SWIGTYPE_p_wxCursor swig_types[31]
243 #define SWIGTYPE_p_wxClientDC swig_types[32]
244 #define SWIGTYPE_p_wxBufferedDC swig_types[33]
245 #define SWIGTYPE_p_wxImageList swig_types[34]
246 #define SWIGTYPE_p_unsigned_char swig_types[35]
247 #define SWIGTYPE_p_wxGDIObject swig_types[36]
248 #define SWIGTYPE_p_wxIcon swig_types[37]
249 #define SWIGTYPE_p_wxLocale swig_types[38]
250 #define SWIGTYPE_p_wxRegion swig_types[39]
251 #define SWIGTYPE_p_wxLanguageInfo swig_types[40]
252 #define SWIGTYPE_p_wxConfigBase swig_types[41]
253 #define SWIGTYPE_p_wxWindowDC swig_types[42]
254 #define SWIGTYPE_p_wxPrintData swig_types[43]
255 #define SWIGTYPE_p_wxBrushList swig_types[44]
256 #define SWIGTYPE_p_wxFontList swig_types[45]
257 #define SWIGTYPE_p_wxPen swig_types[46]
258 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[47]
259 #define SWIGTYPE_p_wxPaintDC swig_types[48]
260 #define SWIGTYPE_p_wxPenList swig_types[49]
261 #define SWIGTYPE_p_int swig_types[50]
262 #define SWIGTYPE_p_wxMetaFile swig_types[51]
263 #define SWIGTYPE_p_wxNativeFontInfo swig_types[52]
264 #define SWIGTYPE_p_wxEncodingConverter swig_types[53]
265 #define SWIGTYPE_p_wxColourDatabase swig_types[54]
266 static swig_type_info
*swig_types
[56];
268 /* -------- TYPES TABLE (END) -------- */
271 /*-----------------------------------------------
273 ------------------------------------------------*/
274 #define SWIG_init init_gdi_
276 #define SWIG_name "_gdi_"
278 /* Auxiliar swig macros that appear in the header */
280 #define SWIG_OLDOBJ 1
281 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
282 #define SWIG_PYSTR SWIG_NEWOBJ + 1
285 #define SWIGSTATICINLINE(a) static inline a
286 #define SWIGSTATIC(a) static a
287 #define swig_new_array(size,Type) (new Type[(size)])
288 #define swig_delete(cptr) delete cptr
289 #define swig_delete_array(cptr) delete[] cptr
290 #define swig_const_cast(a,Type) const_cast<Type >(a)
291 #define swig_static_cast(a,Type) static_cast<Type >(a)
292 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
293 #define swig_new_copy(ptr,Type) (new Type(*ptr))
294 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
298 #define SWIGSTATICINLINE(a) static a
299 #define SWIGSTATIC(a) static a
300 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
301 #define swig_delete(cptr) free((char*)cptr)
302 #define swig_delete_array(cptr) free((char*)cptr)
303 #define swig_const_cast(a,Type) (Type)(a)
304 #define swig_static_cast(a,Type) (Type)(a)
305 #define swig_reinterpret_cast(a,Type) (Type)(a)
306 #define swig_numeric_cast(a,Type) (Type)(a)
307 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
309 #endif /* __cplusplus */
312 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
313 #define SWIG_From_signed_SS_char PyInt_FromLong
315 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
316 #define SWIG_From_unsigned_SS_char PyInt_FromLong
318 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
319 #define SWIG_From_short PyInt_FromLong
321 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
322 #define SWIG_From_unsigned_SS_short PyInt_FromLong
324 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
325 #define SWIG_From_int PyInt_FromLong
327 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
328 #define SWIG_From_long PyInt_FromLong
330 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
331 #define SWIG_From_float PyFloat_FromDouble
333 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
334 #define SWIG_From_double PyFloat_FromDouble
338 #include "wx/wxPython/wxPython.h"
339 #include "wx/wxPython/pyclasses.h"
342 static const wxString
wxPyEmptyString(wxEmptyString
);
347 SWIGSTATICINLINE(int)
348 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
351 if (value
< min_value
) {
353 PyErr_Format(PyExc_OverflowError
,
354 "value %ld is less than '%s' minimum %ld",
355 value
, errmsg
, min_value
);
358 } else if (value
> max_value
) {
360 PyErr_Format(PyExc_OverflowError
,
361 "value %ld is greater than '%s' maximum %ld",
362 value
, errmsg
, max_value
);
370 // See my_fragments.i
371 SWIGSTATICINLINE(int)
372 SWIG_AsVal_long(PyObject
* obj
, long* val
)
374 if (PyNumber_Check(obj
)) {
375 if (val
) *val
= PyInt_AsLong(obj
);
379 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
380 obj
->ob_type
->tp_name
);
381 PyErr_SetObject(PyExc_TypeError
, errmsg
);
388 #if INT_MAX != LONG_MAX
389 SWIGSTATICINLINE(int)
390 SWIG_AsVal_int(PyObject
*obj
, int *val
)
392 const char* errmsg
= val
? "int" : 0;
394 if (SWIG_AsVal_long(obj
, &v
)) {
395 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
396 if (val
) *val
= swig_numeric_cast(v
, int);
405 PyErr_SetString(PyExc_TypeError
, "an int is expected");
410 SWIGSTATICINLINE(int)
411 SWIG_AsVal_int(PyObject
*obj
, int *val
)
413 return SWIG_AsVal_long(obj
,(long*)val
);
418 SWIGSTATICINLINE(int)
419 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
421 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
422 if (obj
== Py_True
) {
423 if (val
) *val
= true;
426 if (obj
== Py_False
) {
427 if (val
) *val
= false;
431 if (SWIG_AsVal_int(obj
, &res
)) {
432 if (val
) *val
= (bool)res
;
436 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
442 SWIGSTATICINLINE(bool)
443 SWIG_As_bool(PyObject
* obj
)
446 if (!SWIG_AsVal_bool(obj
, &v
)) {
448 this is needed to make valgrind/purify happier. the other
449 solution is throw an exception, but since this code should work
452 memset((void*)&v
, 0, sizeof(bool));
458 SWIGSTATICINLINE(int)
459 SWIG_Check_bool(PyObject
* obj
)
461 return SWIG_AsVal_bool(obj
, (bool*)0);
465 // See my_fragments.i
466 SWIGSTATICINLINE(int)
467 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
470 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
471 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
475 *val
= (unsigned long)v
;
480 SWIGSTATICINLINE(int)
481 SWIG_CheckUnsignedLongInRange(unsigned long value
,
482 unsigned long max_value
,
485 if (value
> max_value
) {
487 PyErr_Format(PyExc_OverflowError
,
488 "value %ld is greater than '%s' minimum %ld",
489 value
, errmsg
, max_value
);
497 SWIGSTATICINLINE(int)
498 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
500 const char* errmsg
= val
? "unsigned char" : 0;
502 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
503 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
504 if (val
) *val
= swig_numeric_cast(v
, unsigned char);
513 PyErr_SetString(PyExc_TypeError
, "an unsigned char is expected");
519 SWIGSTATICINLINE(unsigned char)
520 SWIG_As_unsigned_SS_char(PyObject
* obj
)
523 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
525 this is needed to make valgrind/purify happier. the other
526 solution is throw an exception, but since this code should work
529 memset((void*)&v
, 0, sizeof(unsigned char));
535 SWIGSTATICINLINE(int)
536 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
538 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
542 SWIGSTATICINLINE(unsigned long)
543 SWIG_As_unsigned_SS_long(PyObject
* obj
)
546 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
548 this is needed to make valgrind/purify happier. the other
549 solution is throw an exception, but since this code should work
552 memset((void*)&v
, 0, sizeof(unsigned long));
558 SWIGSTATICINLINE(int)
559 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
561 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
564 PyObject
*wxColour_Get(wxColour
*self
){
565 PyObject
* rv
= PyTuple_New(3);
571 green
= self
->Green();
574 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
575 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
576 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
579 unsigned long wxColour_GetRGB(wxColour
*self
){
580 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
583 SWIGSTATICINLINE(PyObject
* )
584 SWIG_From_unsigned_SS_long(unsigned long value
)
586 return (value
> LONG_MAX
) ?
587 PyLong_FromUnsignedLong(value
)
588 : PyInt_FromLong(swig_numeric_cast(value
,long));
592 SWIGSTATICINLINE(int)
593 SWIG_As_int(PyObject
* obj
)
596 if (!SWIG_AsVal_int(obj
, &v
)) {
598 this is needed to make valgrind/purify happier. the other
599 solution is throw an exception, but since this code should work
602 memset((void*)&v
, 0, sizeof(int));
608 SWIGSTATICINLINE(int)
609 SWIG_Check_int(PyObject
* obj
)
611 return SWIG_AsVal_int(obj
, (int*)0);
615 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
621 } else if (target
== Py_None
) {
626 target
= PyTuple_New(1);
627 PyTuple_SetItem(target
, 0, o2
);
630 PyTuple_SetItem(o3
, 0, o
);
633 target
= PySequence_Concat(o2
, o3
);
641 PyObject
*wxPen_GetDashes(wxPen
*self
){
643 int count
= self
->GetDashes(&dashes
);
644 bool blocked
= wxPyBeginBlockThreads();
645 PyObject
* retval
= PyList_New(0);
646 for (int x
=0; x
<count
; x
++) {
647 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
648 PyList_Append(retval
, pyint
);
651 wxPyEndBlockThreads(blocked
);
654 void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
655 bool blocked
= wxPyBeginBlockThreads();
656 int size
= PyList_Size(pyDashes
);
657 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
659 // black magic warning! The array of wxDashes needs to exist as
660 // long as the pen does because wxPen does not copy the array. So
661 // stick a copy in a Python string object and attach it to _self,
662 // and then call SetDashes with a pointer to that array. Then
663 // when the Python pen object is destroyed the array will be
665 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
666 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
668 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
670 Py_DECREF(strDashes
);
671 wxPyEndBlockThreads(blocked
);
673 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : False
; }
674 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : True
; }
676 #include <wx/image.h>
678 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
679 char** cArray
= NULL
;
682 if (!PyList_Check(listOfStrings
)) {
683 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
686 count
= PyList_Size(listOfStrings
);
687 cArray
= new char*[count
];
689 for(int x
=0; x
<count
; x
++) {
690 // TODO: Need some validation and error checking here
691 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
697 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
698 char** cArray
= NULL
;
701 cArray
= ConvertListOfStrings(listOfStrings
);
704 bmp
= new wxBitmap(cArray
);
708 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
711 PyString_AsStringAndSize(bits
, &buf
, &length
);
712 return new wxBitmap(buf
, width
, height
, depth
);
715 SWIGSTATICINLINE(long)
716 SWIG_As_long(PyObject
* obj
)
719 if (!SWIG_AsVal_long(obj
, &v
)) {
721 this is needed to make valgrind/purify happier. the other
722 solution is throw an exception, but since this code should work
725 memset((void*)&v
, 0, sizeof(long));
731 SWIGSTATICINLINE(int)
732 SWIG_Check_long(PyObject
* obj
)
734 return SWIG_AsVal_long(obj
, (long*)0);
737 void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
738 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
739 wxSize
size(self
->GetWidth(), self
->GetHeight());
742 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
743 wxMask
*mask
= new wxMask(*self
, colour
);
746 void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
747 self
->SetWidth(size
.x
);
748 self
->SetHeight(size
.y
);
750 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : False
; }
751 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : True
; }
752 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
754 return new wxMask(bitmap
, *wxBLACK
);
756 return new wxMask(bitmap
, colour
);
759 #include <wx/iconbndl.h>
761 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
762 wxIcon
* icon
= new wxIcon();
763 icon
->CopyFromBitmap(bmp
);
766 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
767 char** cArray
= NULL
;
770 cArray
= ConvertListOfStrings(listOfStrings
);
773 icon
= new wxIcon(cArray
);
777 void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
778 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
780 return new wxIconLocation(*filename
, num
);
785 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
792 int wxIconLocation_GetIndex(wxIconLocation
*self
){
794 return self
->GetIndex();
799 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
801 wxCHECK_MSG(False
, NULL
,
802 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
804 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
807 void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
810 void wxRegionIterator_Next(wxRegionIterator
*self
){
813 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
814 return self
->operator bool();
817 #include <wx/fontutil.h>
818 #include <wx/fontmap.h>
819 #include <wx/fontenum.h>
821 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
822 return self
->ToString();
825 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
826 { wxPyRaiseNotImplemented(); return NULL
; }
828 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
829 { wxPyRaiseNotImplemented(); return False
; }
831 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
832 wxFontEncoding alt_enc
;
833 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
834 return PyInt_FromLong(alt_enc
);
840 wxFont
*new_wxFont(wxString
const &info
){
841 wxNativeFontInfo nfi
;
842 nfi
.FromString(info
);
843 return new wxFont(nfi
);
845 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
846 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
848 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
849 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
851 class wxPyFontEnumerator
: public wxFontEnumerator
{
853 wxPyFontEnumerator() {}
854 ~wxPyFontEnumerator() {}
856 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
857 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
862 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
863 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
866 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
867 wxArrayString
* arr
= self
->GetEncodings();
869 return wxArrayString2PyList_helper(*arr
);
871 return PyList_New(0);
873 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
874 wxArrayString
* arr
= self
->GetFacenames();
876 return wxArrayString2PyList_helper(*arr
);
878 return PyList_New(0);
882 wxLocale
*new_wxLocale(int language
,int flags
){
884 return new wxLocale();
886 return new wxLocale(language
, flags
);
889 #include "wx/wxPython/pydrawxxx.h"
891 wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
893 self
->GetPixel(x
, y
, &col
);
896 wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
898 self
->GetPixel(pt
, &col
);
902 // See my_fragments.i
903 SWIGSTATICINLINE(int)
904 SWIG_AsVal_double(PyObject
*obj
, double* val
)
906 if (PyNumber_Check(obj
)) {
907 if (val
) *val
= PyFloat_AsDouble(obj
);
911 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
912 obj
->ob_type
->tp_name
);
913 PyErr_SetObject(PyExc_TypeError
, errmsg
);
920 SWIGSTATICINLINE(double)
921 SWIG_As_double(PyObject
* obj
)
924 if (!SWIG_AsVal_double(obj
, &v
)) {
926 this is needed to make valgrind/purify happier. the other
927 solution is throw an exception, but since this code should work
930 memset((void*)&v
, 0, sizeof(double));
936 SWIGSTATICINLINE(int)
937 SWIG_Check_double(PyObject
* obj
)
939 return SWIG_AsVal_double(obj
, (double*)0);
942 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
944 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
948 wxRect
wxDC_GetClippingRect(wxDC
*self
){
950 self
->GetClippingBox(rect
);
953 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
955 self
->GetPartialTextExtents(text
, widths
);
959 void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
960 self
->SetLogicalOrigin(point
.x
, point
.y
);
962 void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
963 self
->SetDeviceOrigin(point
.x
, point
.y
);
965 void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
966 self
->CalcBoundingBox(point
.x
, point
.y
);
968 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
969 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
971 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
972 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
974 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
975 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
977 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
978 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
980 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
981 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
983 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
984 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
987 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
995 #include <wx/dcbuffer.h>
1001 #include <wx/metafile.h>
1005 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
1006 self
->AddColour(name
, wxColour(red
, green
, blue
));
1009 #include <wx/effects.h>
1014 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1015 PyObject
*resultobj
;
1016 wxGDIObject
*result
;
1021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
1023 if (!wxPyCheckForApp()) SWIG_fail
;
1024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1025 result
= (wxGDIObject
*)new wxGDIObject();
1027 wxPyEndAllowThreads(__tstate
);
1028 if (PyErr_Occurred()) SWIG_fail
;
1030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
1037 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1038 PyObject
*resultobj
;
1039 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1040 PyObject
* obj0
= 0 ;
1042 (char *) "self", NULL
1045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
1046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1052 wxPyEndAllowThreads(__tstate
);
1053 if (PyErr_Occurred()) SWIG_fail
;
1055 Py_INCREF(Py_None
); resultobj
= Py_None
;
1062 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1063 PyObject
*resultobj
;
1064 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1066 PyObject
* obj0
= 0 ;
1068 (char *) "self", NULL
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
1072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1076 result
= (bool)(arg1
)->GetVisible();
1078 wxPyEndAllowThreads(__tstate
);
1079 if (PyErr_Occurred()) SWIG_fail
;
1082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1090 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1091 PyObject
*resultobj
;
1092 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1094 PyObject
* obj0
= 0 ;
1095 PyObject
* obj1
= 0 ;
1097 (char *) "self",(char *) "visible", NULL
1100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
1101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1103 arg2
= (bool)SWIG_As_bool(obj1
);
1104 if (PyErr_Occurred()) SWIG_fail
;
1106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1107 (arg1
)->SetVisible(arg2
);
1109 wxPyEndAllowThreads(__tstate
);
1110 if (PyErr_Occurred()) SWIG_fail
;
1112 Py_INCREF(Py_None
); resultobj
= Py_None
;
1119 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1120 PyObject
*resultobj
;
1121 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1123 PyObject
* obj0
= 0 ;
1125 (char *) "self", NULL
1128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1133 result
= (bool)(arg1
)->IsNull();
1135 wxPyEndAllowThreads(__tstate
);
1136 if (PyErr_Occurred()) SWIG_fail
;
1139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1147 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
1149 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1150 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1152 return Py_BuildValue((char *)"");
1154 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1155 PyObject
*resultobj
;
1156 byte arg1
= (byte
) 0 ;
1157 byte arg2
= (byte
) 0 ;
1158 byte arg3
= (byte
) 0 ;
1160 PyObject
* obj0
= 0 ;
1161 PyObject
* obj1
= 0 ;
1162 PyObject
* obj2
= 0 ;
1164 (char *) "red",(char *) "green",(char *) "blue", NULL
1167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1169 arg1
= (byte
)SWIG_As_unsigned_SS_char(obj0
);
1170 if (PyErr_Occurred()) SWIG_fail
;
1173 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1174 if (PyErr_Occurred()) SWIG_fail
;
1177 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1178 if (PyErr_Occurred()) SWIG_fail
;
1181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1182 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1184 wxPyEndAllowThreads(__tstate
);
1185 if (PyErr_Occurred()) SWIG_fail
;
1187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1194 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1195 PyObject
*resultobj
;
1196 wxString
*arg1
= 0 ;
1198 bool temp1
= False
;
1199 PyObject
* obj0
= 0 ;
1201 (char *) "colorName", NULL
1204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1206 arg1
= wxString_in_helper(obj0
);
1207 if (arg1
== NULL
) SWIG_fail
;
1211 if (!wxPyCheckForApp()) SWIG_fail
;
1212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1213 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1215 wxPyEndAllowThreads(__tstate
);
1216 if (PyErr_Occurred()) SWIG_fail
;
1218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1233 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1234 PyObject
*resultobj
;
1235 unsigned long arg1
;
1237 PyObject
* obj0
= 0 ;
1239 (char *) "colRGB", NULL
1242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1243 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
1244 if (PyErr_Occurred()) SWIG_fail
;
1246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1247 result
= (wxColour
*)new wxColour(arg1
);
1249 wxPyEndAllowThreads(__tstate
);
1250 if (PyErr_Occurred()) SWIG_fail
;
1252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1259 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1260 PyObject
*resultobj
;
1261 wxColour
*arg1
= (wxColour
*) 0 ;
1262 PyObject
* obj0
= 0 ;
1264 (char *) "self", NULL
1267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1274 wxPyEndAllowThreads(__tstate
);
1275 if (PyErr_Occurred()) SWIG_fail
;
1277 Py_INCREF(Py_None
); resultobj
= Py_None
;
1284 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1285 PyObject
*resultobj
;
1286 wxColour
*arg1
= (wxColour
*) 0 ;
1288 PyObject
* obj0
= 0 ;
1290 (char *) "self", NULL
1293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1298 result
= (byte
)(arg1
)->Red();
1300 wxPyEndAllowThreads(__tstate
);
1301 if (PyErr_Occurred()) SWIG_fail
;
1303 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1310 static PyObject
*_wrap_Colour_Green(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1311 PyObject
*resultobj
;
1312 wxColour
*arg1
= (wxColour
*) 0 ;
1314 PyObject
* obj0
= 0 ;
1316 (char *) "self", NULL
1319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1324 result
= (byte
)(arg1
)->Green();
1326 wxPyEndAllowThreads(__tstate
);
1327 if (PyErr_Occurred()) SWIG_fail
;
1329 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1336 static PyObject
*_wrap_Colour_Blue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1337 PyObject
*resultobj
;
1338 wxColour
*arg1
= (wxColour
*) 0 ;
1340 PyObject
* obj0
= 0 ;
1342 (char *) "self", NULL
1345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1350 result
= (byte
)(arg1
)->Blue();
1352 wxPyEndAllowThreads(__tstate
);
1353 if (PyErr_Occurred()) SWIG_fail
;
1355 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1362 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1363 PyObject
*resultobj
;
1364 wxColour
*arg1
= (wxColour
*) 0 ;
1366 PyObject
* obj0
= 0 ;
1368 (char *) "self", NULL
1371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1376 result
= (bool)(arg1
)->Ok();
1378 wxPyEndAllowThreads(__tstate
);
1379 if (PyErr_Occurred()) SWIG_fail
;
1382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1390 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1391 PyObject
*resultobj
;
1392 wxColour
*arg1
= (wxColour
*) 0 ;
1396 PyObject
* obj0
= 0 ;
1397 PyObject
* obj1
= 0 ;
1398 PyObject
* obj2
= 0 ;
1399 PyObject
* obj3
= 0 ;
1401 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1407 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1408 if (PyErr_Occurred()) SWIG_fail
;
1409 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1410 if (PyErr_Occurred()) SWIG_fail
;
1411 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
1412 if (PyErr_Occurred()) SWIG_fail
;
1414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1415 (arg1
)->Set(arg2
,arg3
,arg4
);
1417 wxPyEndAllowThreads(__tstate
);
1418 if (PyErr_Occurred()) SWIG_fail
;
1420 Py_INCREF(Py_None
); resultobj
= Py_None
;
1427 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1428 PyObject
*resultobj
;
1429 wxColour
*arg1
= (wxColour
*) 0 ;
1430 unsigned long arg2
;
1431 PyObject
* obj0
= 0 ;
1432 PyObject
* obj1
= 0 ;
1434 (char *) "self",(char *) "colRGB", NULL
1437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1440 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
1441 if (PyErr_Occurred()) SWIG_fail
;
1443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1446 wxPyEndAllowThreads(__tstate
);
1447 if (PyErr_Occurred()) SWIG_fail
;
1449 Py_INCREF(Py_None
); resultobj
= Py_None
;
1456 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1457 PyObject
*resultobj
;
1458 wxColour
*arg1
= (wxColour
*) 0 ;
1459 wxString
*arg2
= 0 ;
1460 bool temp2
= False
;
1461 PyObject
* obj0
= 0 ;
1462 PyObject
* obj1
= 0 ;
1464 (char *) "self",(char *) "colourName", NULL
1467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1471 arg2
= wxString_in_helper(obj1
);
1472 if (arg2
== NULL
) SWIG_fail
;
1476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1477 (arg1
)->InitFromName((wxString
const &)*arg2
);
1479 wxPyEndAllowThreads(__tstate
);
1480 if (PyErr_Occurred()) SWIG_fail
;
1482 Py_INCREF(Py_None
); resultobj
= Py_None
;
1497 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1498 PyObject
*resultobj
;
1499 wxColour
*arg1
= (wxColour
*) 0 ;
1501 PyObject
* obj0
= 0 ;
1503 (char *) "self", NULL
1506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1511 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1513 wxPyEndAllowThreads(__tstate
);
1514 if (PyErr_Occurred()) SWIG_fail
;
1516 resultobj
= SWIG_From_long((long)result
);
1523 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1524 PyObject
*resultobj
;
1525 wxColour
*arg1
= (wxColour
*) 0 ;
1526 wxColour
*arg2
= 0 ;
1529 PyObject
* obj0
= 0 ;
1530 PyObject
* obj1
= 0 ;
1532 (char *) "self",(char *) "colour", NULL
1535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1540 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1544 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1546 wxPyEndAllowThreads(__tstate
);
1547 if (PyErr_Occurred()) SWIG_fail
;
1550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1558 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1559 PyObject
*resultobj
;
1560 wxColour
*arg1
= (wxColour
*) 0 ;
1561 wxColour
*arg2
= 0 ;
1564 PyObject
* obj0
= 0 ;
1565 PyObject
* obj1
= 0 ;
1567 (char *) "self",(char *) "colour", NULL
1570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1575 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1579 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1581 wxPyEndAllowThreads(__tstate
);
1582 if (PyErr_Occurred()) SWIG_fail
;
1585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1593 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1594 PyObject
*resultobj
;
1595 wxColour
*arg1
= (wxColour
*) 0 ;
1597 PyObject
* obj0
= 0 ;
1599 (char *) "self", NULL
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1607 result
= (PyObject
*)wxColour_Get(arg1
);
1609 wxPyEndAllowThreads(__tstate
);
1610 if (PyErr_Occurred()) SWIG_fail
;
1619 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
*resultobj
;
1621 wxColour
*arg1
= (wxColour
*) 0 ;
1622 unsigned long result
;
1623 PyObject
* obj0
= 0 ;
1625 (char *) "self", NULL
1628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1633 result
= (unsigned long)wxColour_GetRGB(arg1
);
1635 wxPyEndAllowThreads(__tstate
);
1636 if (PyErr_Occurred()) SWIG_fail
;
1638 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
1645 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
1647 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1648 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1650 return Py_BuildValue((char *)"");
1652 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
*resultobj
;
1655 unsigned char *arg2
= (unsigned char *) 0 ;
1656 unsigned char *arg3
= (unsigned char *) 0 ;
1657 unsigned char *arg4
= (unsigned char *) 0 ;
1659 PyObject
* obj0
= 0 ;
1660 PyObject
* obj1
= 0 ;
1661 PyObject
* obj2
= 0 ;
1662 PyObject
* obj3
= 0 ;
1664 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1668 arg1
= (int)SWIG_As_int(obj0
);
1669 if (PyErr_Occurred()) SWIG_fail
;
1670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1672 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1674 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1677 if (!wxPyCheckForApp()) SWIG_fail
;
1678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1679 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1681 wxPyEndAllowThreads(__tstate
);
1682 if (PyErr_Occurred()) SWIG_fail
;
1684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1691 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1692 PyObject
*resultobj
;
1693 wxPalette
*arg1
= (wxPalette
*) 0 ;
1694 PyObject
* obj0
= 0 ;
1696 (char *) "self", NULL
1699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1706 wxPyEndAllowThreads(__tstate
);
1707 if (PyErr_Occurred()) SWIG_fail
;
1709 Py_INCREF(Py_None
); resultobj
= Py_None
;
1716 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1717 PyObject
*resultobj
;
1718 wxPalette
*arg1
= (wxPalette
*) 0 ;
1723 PyObject
* obj0
= 0 ;
1724 PyObject
* obj1
= 0 ;
1725 PyObject
* obj2
= 0 ;
1726 PyObject
* obj3
= 0 ;
1728 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1734 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1735 if (PyErr_Occurred()) SWIG_fail
;
1736 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1737 if (PyErr_Occurred()) SWIG_fail
;
1738 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
1739 if (PyErr_Occurred()) SWIG_fail
;
1741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1742 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1744 wxPyEndAllowThreads(__tstate
);
1745 if (PyErr_Occurred()) SWIG_fail
;
1747 resultobj
= SWIG_From_int((int)result
);
1754 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1755 PyObject
*resultobj
;
1756 wxPalette
*arg1
= (wxPalette
*) 0 ;
1758 byte
*arg3
= (byte
*) 0 ;
1759 byte
*arg4
= (byte
*) 0 ;
1760 byte
*arg5
= (byte
*) 0 ;
1768 PyObject
* obj0
= 0 ;
1769 PyObject
* obj1
= 0 ;
1771 (char *) "self",(char *) "pixel", NULL
1774 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
1775 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
1776 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1780 arg2
= (int)SWIG_As_int(obj1
);
1781 if (PyErr_Occurred()) SWIG_fail
;
1783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1784 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1786 wxPyEndAllowThreads(__tstate
);
1787 if (PyErr_Occurred()) SWIG_fail
;
1790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1792 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
1793 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
1794 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
1795 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
1796 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
1797 SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_byte
, 0)));
1804 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
*resultobj
;
1806 wxPalette
*arg1
= (wxPalette
*) 0 ;
1808 PyObject
* obj0
= 0 ;
1810 (char *) "self", NULL
1813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1818 result
= (bool)(arg1
)->Ok();
1820 wxPyEndAllowThreads(__tstate
);
1821 if (PyErr_Occurred()) SWIG_fail
;
1824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1832 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
1834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1835 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1837 return Py_BuildValue((char *)"");
1839 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1840 PyObject
*resultobj
;
1841 wxColour
*arg1
= 0 ;
1842 int arg2
= (int) 1 ;
1843 int arg3
= (int) wxSOLID
;
1846 PyObject
* obj0
= 0 ;
1847 PyObject
* obj1
= 0 ;
1848 PyObject
* obj2
= 0 ;
1850 (char *) "colour",(char *) "width",(char *) "style", NULL
1853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1856 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1859 arg2
= (int)SWIG_As_int(obj1
);
1860 if (PyErr_Occurred()) SWIG_fail
;
1863 arg3
= (int)SWIG_As_int(obj2
);
1864 if (PyErr_Occurred()) SWIG_fail
;
1867 if (!wxPyCheckForApp()) SWIG_fail
;
1868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1869 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1871 wxPyEndAllowThreads(__tstate
);
1872 if (PyErr_Occurred()) SWIG_fail
;
1874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1881 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1882 PyObject
*resultobj
;
1883 wxPen
*arg1
= (wxPen
*) 0 ;
1884 PyObject
* obj0
= 0 ;
1886 (char *) "self", NULL
1889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1896 wxPyEndAllowThreads(__tstate
);
1897 if (PyErr_Occurred()) SWIG_fail
;
1899 Py_INCREF(Py_None
); resultobj
= Py_None
;
1906 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
*resultobj
;
1908 wxPen
*arg1
= (wxPen
*) 0 ;
1910 PyObject
* obj0
= 0 ;
1912 (char *) "self", NULL
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1920 result
= (int)(arg1
)->GetCap();
1922 wxPyEndAllowThreads(__tstate
);
1923 if (PyErr_Occurred()) SWIG_fail
;
1925 resultobj
= SWIG_From_int((int)result
);
1932 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
*resultobj
;
1934 wxPen
*arg1
= (wxPen
*) 0 ;
1936 PyObject
* obj0
= 0 ;
1938 (char *) "self", NULL
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1946 result
= (arg1
)->GetColour();
1948 wxPyEndAllowThreads(__tstate
);
1949 if (PyErr_Occurred()) SWIG_fail
;
1952 wxColour
* resultptr
;
1953 resultptr
= new wxColour((wxColour
&) result
);
1954 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1962 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1963 PyObject
*resultobj
;
1964 wxPen
*arg1
= (wxPen
*) 0 ;
1966 PyObject
* obj0
= 0 ;
1968 (char *) "self", NULL
1971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1976 result
= (int)(arg1
)->GetJoin();
1978 wxPyEndAllowThreads(__tstate
);
1979 if (PyErr_Occurred()) SWIG_fail
;
1981 resultobj
= SWIG_From_int((int)result
);
1988 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1989 PyObject
*resultobj
;
1990 wxPen
*arg1
= (wxPen
*) 0 ;
1992 PyObject
* obj0
= 0 ;
1994 (char *) "self", NULL
1997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2002 result
= (int)(arg1
)->GetStyle();
2004 wxPyEndAllowThreads(__tstate
);
2005 if (PyErr_Occurred()) SWIG_fail
;
2007 resultobj
= SWIG_From_int((int)result
);
2014 static PyObject
*_wrap_Pen_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
*resultobj
;
2016 wxPen
*arg1
= (wxPen
*) 0 ;
2018 PyObject
* obj0
= 0 ;
2020 (char *) "self", NULL
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
2024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2028 result
= (int)(arg1
)->GetWidth();
2030 wxPyEndAllowThreads(__tstate
);
2031 if (PyErr_Occurred()) SWIG_fail
;
2033 resultobj
= SWIG_From_int((int)result
);
2040 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2041 PyObject
*resultobj
;
2042 wxPen
*arg1
= (wxPen
*) 0 ;
2044 PyObject
* obj0
= 0 ;
2046 (char *) "self", NULL
2049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
2050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2054 result
= (bool)(arg1
)->Ok();
2056 wxPyEndAllowThreads(__tstate
);
2057 if (PyErr_Occurred()) SWIG_fail
;
2060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2068 static PyObject
*_wrap_Pen_SetCap(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 *) "cap_style", NULL
2078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",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_As_int(obj1
);
2082 if (PyErr_Occurred()) SWIG_fail
;
2084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2085 (arg1
)->SetCap(arg2
);
2087 wxPyEndAllowThreads(__tstate
);
2088 if (PyErr_Occurred()) SWIG_fail
;
2090 Py_INCREF(Py_None
); resultobj
= Py_None
;
2097 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2098 PyObject
*resultobj
;
2099 wxPen
*arg1
= (wxPen
*) 0 ;
2100 wxColour
*arg2
= 0 ;
2102 PyObject
* obj0
= 0 ;
2103 PyObject
* obj1
= 0 ;
2105 (char *) "self",(char *) "colour", NULL
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2113 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2117 (arg1
)->SetColour(*arg2
);
2119 wxPyEndAllowThreads(__tstate
);
2120 if (PyErr_Occurred()) SWIG_fail
;
2122 Py_INCREF(Py_None
); resultobj
= Py_None
;
2129 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2130 PyObject
*resultobj
;
2131 wxPen
*arg1
= (wxPen
*) 0 ;
2133 PyObject
* obj0
= 0 ;
2134 PyObject
* obj1
= 0 ;
2136 (char *) "self",(char *) "join_style", NULL
2139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2142 arg2
= (int)SWIG_As_int(obj1
);
2143 if (PyErr_Occurred()) SWIG_fail
;
2145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2146 (arg1
)->SetJoin(arg2
);
2148 wxPyEndAllowThreads(__tstate
);
2149 if (PyErr_Occurred()) SWIG_fail
;
2151 Py_INCREF(Py_None
); resultobj
= Py_None
;
2158 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2159 PyObject
*resultobj
;
2160 wxPen
*arg1
= (wxPen
*) 0 ;
2162 PyObject
* obj0
= 0 ;
2163 PyObject
* obj1
= 0 ;
2165 (char *) "self",(char *) "style", NULL
2168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2171 arg2
= (int)SWIG_As_int(obj1
);
2172 if (PyErr_Occurred()) SWIG_fail
;
2174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2175 (arg1
)->SetStyle(arg2
);
2177 wxPyEndAllowThreads(__tstate
);
2178 if (PyErr_Occurred()) SWIG_fail
;
2180 Py_INCREF(Py_None
); resultobj
= Py_None
;
2187 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2188 PyObject
*resultobj
;
2189 wxPen
*arg1
= (wxPen
*) 0 ;
2191 PyObject
* obj0
= 0 ;
2192 PyObject
* obj1
= 0 ;
2194 (char *) "self",(char *) "width", NULL
2197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2200 arg2
= (int)SWIG_As_int(obj1
);
2201 if (PyErr_Occurred()) SWIG_fail
;
2203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2204 (arg1
)->SetWidth(arg2
);
2206 wxPyEndAllowThreads(__tstate
);
2207 if (PyErr_Occurred()) SWIG_fail
;
2209 Py_INCREF(Py_None
); resultobj
= Py_None
;
2216 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2217 PyObject
*resultobj
;
2218 wxPen
*arg1
= (wxPen
*) 0 ;
2220 wxDash
*arg3
= (wxDash
*) 0 ;
2221 PyObject
* obj0
= 0 ;
2222 PyObject
* obj1
= 0 ;
2224 (char *) "self",(char *) "dashes", NULL
2227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2231 arg2
= PyList_Size(obj1
);
2232 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2233 if (arg3
== NULL
) SWIG_fail
;
2236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2237 (arg1
)->SetDashes(arg2
,arg3
);
2239 wxPyEndAllowThreads(__tstate
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2242 Py_INCREF(Py_None
); resultobj
= Py_None
;
2244 if (arg3
) delete [] arg3
;
2249 if (arg3
) delete [] arg3
;
2255 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2256 PyObject
*resultobj
;
2257 wxPen
*arg1
= (wxPen
*) 0 ;
2259 PyObject
* obj0
= 0 ;
2261 (char *) "self", NULL
2264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2269 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2271 wxPyEndAllowThreads(__tstate
);
2272 if (PyErr_Occurred()) SWIG_fail
;
2281 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2282 PyObject
*resultobj
;
2283 wxPen
*arg1
= (wxPen
*) 0 ;
2284 PyObject
*arg2
= (PyObject
*) 0 ;
2285 PyObject
*arg3
= (PyObject
*) 0 ;
2286 PyObject
* obj0
= 0 ;
2287 PyObject
* obj1
= 0 ;
2288 PyObject
* obj2
= 0 ;
2290 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2300 wxPen__SetDashes(arg1
,arg2
,arg3
);
2302 wxPyEndAllowThreads(__tstate
);
2303 if (PyErr_Occurred()) SWIG_fail
;
2305 Py_INCREF(Py_None
); resultobj
= Py_None
;
2312 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2313 PyObject
*resultobj
;
2314 wxPen
*arg1
= (wxPen
*) 0 ;
2316 PyObject
* obj0
= 0 ;
2318 (char *) "self", NULL
2321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) SWIG_fail
;
2331 resultobj
= SWIG_From_int((int)result
);
2338 static PyObject
*_wrap_Pen_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2339 PyObject
*resultobj
;
2340 wxPen
*arg1
= (wxPen
*) 0 ;
2342 PyObject
* obj0
= 0 ;
2344 (char *) "self", NULL
2347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStipple",kwnames
,&obj0
)) goto fail
;
2348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2352 result
= (wxBitmap
*)(arg1
)->GetStipple();
2354 wxPyEndAllowThreads(__tstate
);
2355 if (PyErr_Occurred()) SWIG_fail
;
2357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2364 static PyObject
*_wrap_Pen_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2365 PyObject
*resultobj
;
2366 wxPen
*arg1
= (wxPen
*) 0 ;
2367 wxBitmap
*arg2
= 0 ;
2368 PyObject
* obj0
= 0 ;
2369 PyObject
* obj1
= 0 ;
2371 (char *) "self",(char *) "stipple", NULL
2374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2378 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2381 PyErr_SetString(PyExc_TypeError
,"null reference");
2385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2386 (arg1
)->SetStipple(*arg2
);
2388 wxPyEndAllowThreads(__tstate
);
2389 if (PyErr_Occurred()) SWIG_fail
;
2391 Py_INCREF(Py_None
); resultobj
= Py_None
;
2398 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2399 PyObject
*resultobj
;
2400 wxPen
*arg1
= (wxPen
*) 0 ;
2401 wxPen
*arg2
= (wxPen
*) 0 ;
2403 PyObject
* obj0
= 0 ;
2404 PyObject
* obj1
= 0 ;
2406 (char *) "self",(char *) "other", NULL
2409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2412 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2416 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2418 wxPyEndAllowThreads(__tstate
);
2419 if (PyErr_Occurred()) SWIG_fail
;
2422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2430 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2431 PyObject
*resultobj
;
2432 wxPen
*arg1
= (wxPen
*) 0 ;
2433 wxPen
*arg2
= (wxPen
*) 0 ;
2435 PyObject
* obj0
= 0 ;
2436 PyObject
* obj1
= 0 ;
2438 (char *) "self",(char *) "other", NULL
2441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2444 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2448 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2450 wxPyEndAllowThreads(__tstate
);
2451 if (PyErr_Occurred()) SWIG_fail
;
2454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2462 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
2464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2465 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2467 return Py_BuildValue((char *)"");
2469 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
*resultobj
;
2471 wxColour
*arg1
= 0 ;
2472 int arg2
= (int) wxSOLID
;
2475 PyObject
* obj0
= 0 ;
2476 PyObject
* obj1
= 0 ;
2478 (char *) "colour",(char *) "style", NULL
2481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2484 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2487 arg2
= (int)SWIG_As_int(obj1
);
2488 if (PyErr_Occurred()) SWIG_fail
;
2491 if (!wxPyCheckForApp()) SWIG_fail
;
2492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2493 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2495 wxPyEndAllowThreads(__tstate
);
2496 if (PyErr_Occurred()) SWIG_fail
;
2498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2505 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2506 PyObject
*resultobj
;
2507 wxBrush
*arg1
= (wxBrush
*) 0 ;
2508 PyObject
* obj0
= 0 ;
2510 (char *) "self", NULL
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2520 wxPyEndAllowThreads(__tstate
);
2521 if (PyErr_Occurred()) SWIG_fail
;
2523 Py_INCREF(Py_None
); resultobj
= Py_None
;
2530 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
*resultobj
;
2532 wxBrush
*arg1
= (wxBrush
*) 0 ;
2533 wxColour
*arg2
= 0 ;
2535 PyObject
* obj0
= 0 ;
2536 PyObject
* obj1
= 0 ;
2538 (char *) "self",(char *) "col", NULL
2541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2546 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2550 (arg1
)->SetColour((wxColour
const &)*arg2
);
2552 wxPyEndAllowThreads(__tstate
);
2553 if (PyErr_Occurred()) SWIG_fail
;
2555 Py_INCREF(Py_None
); resultobj
= Py_None
;
2562 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2563 PyObject
*resultobj
;
2564 wxBrush
*arg1
= (wxBrush
*) 0 ;
2566 PyObject
* obj0
= 0 ;
2567 PyObject
* obj1
= 0 ;
2569 (char *) "self",(char *) "style", NULL
2572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2575 arg2
= (int)SWIG_As_int(obj1
);
2576 if (PyErr_Occurred()) SWIG_fail
;
2578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2579 (arg1
)->SetStyle(arg2
);
2581 wxPyEndAllowThreads(__tstate
);
2582 if (PyErr_Occurred()) SWIG_fail
;
2584 Py_INCREF(Py_None
); resultobj
= Py_None
;
2591 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2592 PyObject
*resultobj
;
2593 wxBrush
*arg1
= (wxBrush
*) 0 ;
2594 wxBitmap
*arg2
= 0 ;
2595 PyObject
* obj0
= 0 ;
2596 PyObject
* obj1
= 0 ;
2598 (char *) "self",(char *) "stipple", NULL
2601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2604 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2605 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2608 PyErr_SetString(PyExc_TypeError
,"null reference");
2612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2613 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2615 wxPyEndAllowThreads(__tstate
);
2616 if (PyErr_Occurred()) SWIG_fail
;
2618 Py_INCREF(Py_None
); resultobj
= Py_None
;
2625 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
*resultobj
;
2627 wxBrush
*arg1
= (wxBrush
*) 0 ;
2629 PyObject
* obj0
= 0 ;
2631 (char *) "self", NULL
2634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2639 result
= ((wxBrush
const *)arg1
)->GetColour();
2641 wxPyEndAllowThreads(__tstate
);
2642 if (PyErr_Occurred()) SWIG_fail
;
2645 wxColour
* resultptr
;
2646 resultptr
= new wxColour((wxColour
&) result
);
2647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2655 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
*resultobj
;
2657 wxBrush
*arg1
= (wxBrush
*) 0 ;
2659 PyObject
* obj0
= 0 ;
2661 (char *) "self", NULL
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2669 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2671 wxPyEndAllowThreads(__tstate
);
2672 if (PyErr_Occurred()) SWIG_fail
;
2674 resultobj
= SWIG_From_int((int)result
);
2681 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
*resultobj
;
2683 wxBrush
*arg1
= (wxBrush
*) 0 ;
2685 PyObject
* obj0
= 0 ;
2687 (char *) "self", NULL
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2695 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2697 wxPyEndAllowThreads(__tstate
);
2698 if (PyErr_Occurred()) SWIG_fail
;
2700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2707 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2708 PyObject
*resultobj
;
2709 wxBrush
*arg1
= (wxBrush
*) 0 ;
2711 PyObject
* obj0
= 0 ;
2713 (char *) "self", NULL
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2721 result
= (bool)(arg1
)->Ok();
2723 wxPyEndAllowThreads(__tstate
);
2724 if (PyErr_Occurred()) SWIG_fail
;
2727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2735 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
2737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2738 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2740 return Py_BuildValue((char *)"");
2742 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2743 PyObject
*resultobj
;
2744 wxString
*arg1
= 0 ;
2745 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2747 bool temp1
= False
;
2748 PyObject
* obj0
= 0 ;
2749 PyObject
* obj1
= 0 ;
2751 (char *) "name",(char *) "type", NULL
2754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2756 arg1
= wxString_in_helper(obj0
);
2757 if (arg1
== NULL
) SWIG_fail
;
2761 arg2
= (int)SWIG_As_int(obj1
);
2762 if (PyErr_Occurred()) SWIG_fail
;
2765 if (!wxPyCheckForApp()) SWIG_fail
;
2766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2767 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2769 wxPyEndAllowThreads(__tstate
);
2770 if (PyErr_Occurred()) SWIG_fail
;
2772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2787 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2788 PyObject
*resultobj
;
2789 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2790 PyObject
* obj0
= 0 ;
2792 (char *) "self", NULL
2795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2802 wxPyEndAllowThreads(__tstate
);
2803 if (PyErr_Occurred()) SWIG_fail
;
2805 Py_INCREF(Py_None
); resultobj
= Py_None
;
2812 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2813 PyObject
*resultobj
;
2816 int arg3
= (int) -1 ;
2818 PyObject
* obj0
= 0 ;
2819 PyObject
* obj1
= 0 ;
2820 PyObject
* obj2
= 0 ;
2822 (char *) "width",(char *) "height",(char *) "depth", NULL
2825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2826 arg1
= (int)SWIG_As_int(obj0
);
2827 if (PyErr_Occurred()) SWIG_fail
;
2828 arg2
= (int)SWIG_As_int(obj1
);
2829 if (PyErr_Occurred()) SWIG_fail
;
2831 arg3
= (int)SWIG_As_int(obj2
);
2832 if (PyErr_Occurred()) SWIG_fail
;
2835 if (!wxPyCheckForApp()) SWIG_fail
;
2836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2837 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2839 wxPyEndAllowThreads(__tstate
);
2840 if (PyErr_Occurred()) SWIG_fail
;
2842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2849 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
*resultobj
;
2853 PyObject
* obj0
= 0 ;
2855 (char *) "icon", NULL
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2860 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2863 PyErr_SetString(PyExc_TypeError
,"null reference");
2867 if (!wxPyCheckForApp()) SWIG_fail
;
2868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2869 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2871 wxPyEndAllowThreads(__tstate
);
2872 if (PyErr_Occurred()) SWIG_fail
;
2874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2881 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
*resultobj
;
2884 int arg2
= (int) -1 ;
2886 PyObject
* obj0
= 0 ;
2887 PyObject
* obj1
= 0 ;
2889 (char *) "image",(char *) "depth", NULL
2892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2894 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2897 PyErr_SetString(PyExc_TypeError
,"null reference");
2901 arg2
= (int)SWIG_As_int(obj1
);
2902 if (PyErr_Occurred()) SWIG_fail
;
2905 if (!wxPyCheckForApp()) SWIG_fail
;
2906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2907 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2909 wxPyEndAllowThreads(__tstate
);
2910 if (PyErr_Occurred()) SWIG_fail
;
2912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2919 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2920 PyObject
*resultobj
;
2921 PyObject
*arg1
= (PyObject
*) 0 ;
2923 PyObject
* obj0
= 0 ;
2925 (char *) "listOfStrings", NULL
2928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2931 if (!wxPyCheckForApp()) SWIG_fail
;
2932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2933 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2935 wxPyEndAllowThreads(__tstate
);
2936 if (PyErr_Occurred()) SWIG_fail
;
2938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2945 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
*resultobj
;
2947 PyObject
*arg1
= (PyObject
*) 0 ;
2950 int arg4
= (int) 1 ;
2952 PyObject
* obj0
= 0 ;
2953 PyObject
* obj1
= 0 ;
2954 PyObject
* obj2
= 0 ;
2955 PyObject
* obj3
= 0 ;
2957 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2962 arg2
= (int)SWIG_As_int(obj1
);
2963 if (PyErr_Occurred()) SWIG_fail
;
2964 arg3
= (int)SWIG_As_int(obj2
);
2965 if (PyErr_Occurred()) SWIG_fail
;
2967 arg4
= (int)SWIG_As_int(obj3
);
2968 if (PyErr_Occurred()) SWIG_fail
;
2971 if (!wxPyCheckForApp()) SWIG_fail
;
2972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2973 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2975 wxPyEndAllowThreads(__tstate
);
2976 if (PyErr_Occurred()) SWIG_fail
;
2978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2985 static PyObject
*_wrap_Bitmap_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2986 PyObject
*resultobj
;
2987 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2988 wxPalette
*arg2
= 0 ;
2989 PyObject
* obj0
= 0 ;
2990 PyObject
* obj1
= 0 ;
2992 (char *) "self",(char *) "palette", NULL
2995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
2996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2998 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
2999 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3002 PyErr_SetString(PyExc_TypeError
,"null reference");
3006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3007 (arg1
)->SetPalette(*arg2
);
3009 wxPyEndAllowThreads(__tstate
);
3010 if (PyErr_Occurred()) SWIG_fail
;
3012 Py_INCREF(Py_None
); resultobj
= Py_None
;
3019 static PyObject
*_wrap_Bitmap_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3020 PyObject
*resultobj
;
3021 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3023 PyObject
* obj0
= 0 ;
3025 (char *) "self", NULL
3028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHandle",kwnames
,&obj0
)) goto fail
;
3029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3033 result
= (long)(arg1
)->GetHandle();
3035 wxPyEndAllowThreads(__tstate
);
3036 if (PyErr_Occurred()) SWIG_fail
;
3038 resultobj
= SWIG_From_long((long)result
);
3045 static PyObject
*_wrap_Bitmap_SetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3046 PyObject
*resultobj
;
3047 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3049 PyObject
* obj0
= 0 ;
3050 PyObject
* obj1
= 0 ;
3052 (char *) "self",(char *) "handle", NULL
3055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
3056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3058 arg2
= (long)SWIG_As_long(obj1
);
3059 if (PyErr_Occurred()) SWIG_fail
;
3061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3062 wxBitmap_SetHandle(arg1
,arg2
);
3064 wxPyEndAllowThreads(__tstate
);
3065 if (PyErr_Occurred()) SWIG_fail
;
3067 Py_INCREF(Py_None
); resultobj
= Py_None
;
3074 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
*resultobj
;
3076 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3078 PyObject
* obj0
= 0 ;
3080 (char *) "self", NULL
3083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
3084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3088 result
= (bool)(arg1
)->Ok();
3090 wxPyEndAllowThreads(__tstate
);
3091 if (PyErr_Occurred()) SWIG_fail
;
3094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3102 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
*resultobj
;
3104 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3106 PyObject
* obj0
= 0 ;
3108 (char *) "self", NULL
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
3112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3116 result
= (int)(arg1
)->GetWidth();
3118 wxPyEndAllowThreads(__tstate
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3121 resultobj
= SWIG_From_int((int)result
);
3128 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3129 PyObject
*resultobj
;
3130 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3132 PyObject
* obj0
= 0 ;
3134 (char *) "self", NULL
3137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
3138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3142 result
= (int)(arg1
)->GetHeight();
3144 wxPyEndAllowThreads(__tstate
);
3145 if (PyErr_Occurred()) SWIG_fail
;
3147 resultobj
= SWIG_From_int((int)result
);
3154 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3155 PyObject
*resultobj
;
3156 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3158 PyObject
* obj0
= 0 ;
3160 (char *) "self", NULL
3163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
3164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3168 result
= (int)(arg1
)->GetDepth();
3170 wxPyEndAllowThreads(__tstate
);
3171 if (PyErr_Occurred()) SWIG_fail
;
3173 resultobj
= SWIG_From_int((int)result
);
3180 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
*resultobj
;
3182 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3184 PyObject
* obj0
= 0 ;
3186 (char *) "self", NULL
3189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
3190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3194 result
= wxBitmap_GetSize(arg1
);
3196 wxPyEndAllowThreads(__tstate
);
3197 if (PyErr_Occurred()) SWIG_fail
;
3201 resultptr
= new wxSize((wxSize
&) result
);
3202 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3210 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3211 PyObject
*resultobj
;
3212 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3213 SwigValueWrapper
< wxImage
> result
;
3214 PyObject
* obj0
= 0 ;
3216 (char *) "self", NULL
3219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3224 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3226 wxPyEndAllowThreads(__tstate
);
3227 if (PyErr_Occurred()) SWIG_fail
;
3230 wxImage
* resultptr
;
3231 resultptr
= new wxImage((wxImage
&) result
);
3232 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3240 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
*resultobj
;
3242 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3244 PyObject
* obj0
= 0 ;
3246 (char *) "self", NULL
3249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3254 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3256 wxPyEndAllowThreads(__tstate
);
3257 if (PyErr_Occurred()) SWIG_fail
;
3259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3266 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
*resultobj
;
3268 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3269 wxMask
*arg2
= (wxMask
*) 0 ;
3270 PyObject
* obj0
= 0 ;
3271 PyObject
* obj1
= 0 ;
3273 (char *) "self",(char *) "mask", NULL
3276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3283 (arg1
)->SetMask(arg2
);
3285 wxPyEndAllowThreads(__tstate
);
3286 if (PyErr_Occurred()) SWIG_fail
;
3288 Py_INCREF(Py_None
); resultobj
= Py_None
;
3295 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3296 PyObject
*resultobj
;
3297 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3298 wxColour
*arg2
= 0 ;
3300 PyObject
* obj0
= 0 ;
3301 PyObject
* obj1
= 0 ;
3303 (char *) "self",(char *) "colour", NULL
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3311 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3315 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3317 wxPyEndAllowThreads(__tstate
);
3318 if (PyErr_Occurred()) SWIG_fail
;
3320 Py_INCREF(Py_None
); resultobj
= Py_None
;
3327 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
*resultobj
;
3329 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3331 SwigValueWrapper
< wxBitmap
> result
;
3333 PyObject
* obj0
= 0 ;
3334 PyObject
* obj1
= 0 ;
3336 (char *) "self",(char *) "rect", NULL
3339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3344 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3348 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3350 wxPyEndAllowThreads(__tstate
);
3351 if (PyErr_Occurred()) SWIG_fail
;
3354 wxBitmap
* resultptr
;
3355 resultptr
= new wxBitmap((wxBitmap
&) result
);
3356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3364 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3365 PyObject
*resultobj
;
3366 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3367 wxString
*arg2
= 0 ;
3369 wxPalette
*arg4
= (wxPalette
*) NULL
;
3371 bool temp2
= False
;
3372 PyObject
* obj0
= 0 ;
3373 PyObject
* obj1
= 0 ;
3374 PyObject
* obj2
= 0 ;
3375 PyObject
* obj3
= 0 ;
3377 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3384 arg2
= wxString_in_helper(obj1
);
3385 if (arg2
== NULL
) SWIG_fail
;
3388 arg3
= (int)SWIG_As_int(obj2
);
3389 if (PyErr_Occurred()) SWIG_fail
;
3391 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3396 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3398 wxPyEndAllowThreads(__tstate
);
3399 if (PyErr_Occurred()) SWIG_fail
;
3402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3418 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3419 PyObject
*resultobj
;
3420 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3421 wxString
*arg2
= 0 ;
3424 bool temp2
= False
;
3425 PyObject
* obj0
= 0 ;
3426 PyObject
* obj1
= 0 ;
3427 PyObject
* obj2
= 0 ;
3429 (char *) "self",(char *) "name",(char *) "type", NULL
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3436 arg2
= wxString_in_helper(obj1
);
3437 if (arg2
== NULL
) SWIG_fail
;
3440 arg3
= (int)SWIG_As_int(obj2
);
3441 if (PyErr_Occurred()) SWIG_fail
;
3443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3444 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3446 wxPyEndAllowThreads(__tstate
);
3447 if (PyErr_Occurred()) SWIG_fail
;
3450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3466 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3467 PyObject
*resultobj
;
3468 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3471 PyObject
* obj0
= 0 ;
3472 PyObject
* obj1
= 0 ;
3474 (char *) "self",(char *) "icon", NULL
3477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3481 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3484 PyErr_SetString(PyExc_TypeError
,"null reference");
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3489 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) SWIG_fail
;
3495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3503 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
*resultobj
;
3505 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3507 PyObject
* obj0
= 0 ;
3508 PyObject
* obj1
= 0 ;
3510 (char *) "self",(char *) "height", NULL
3513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3516 arg2
= (int)SWIG_As_int(obj1
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3520 (arg1
)->SetHeight(arg2
);
3522 wxPyEndAllowThreads(__tstate
);
3523 if (PyErr_Occurred()) SWIG_fail
;
3525 Py_INCREF(Py_None
); resultobj
= Py_None
;
3532 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
*resultobj
;
3534 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3536 PyObject
* obj0
= 0 ;
3537 PyObject
* obj1
= 0 ;
3539 (char *) "self",(char *) "width", NULL
3542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3545 arg2
= (int)SWIG_As_int(obj1
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 (arg1
)->SetWidth(arg2
);
3551 wxPyEndAllowThreads(__tstate
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3554 Py_INCREF(Py_None
); resultobj
= Py_None
;
3561 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3562 PyObject
*resultobj
;
3563 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3565 PyObject
* obj0
= 0 ;
3566 PyObject
* obj1
= 0 ;
3568 (char *) "self",(char *) "depth", NULL
3571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3574 arg2
= (int)SWIG_As_int(obj1
);
3575 if (PyErr_Occurred()) SWIG_fail
;
3577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3578 (arg1
)->SetDepth(arg2
);
3580 wxPyEndAllowThreads(__tstate
);
3581 if (PyErr_Occurred()) SWIG_fail
;
3583 Py_INCREF(Py_None
); resultobj
= Py_None
;
3590 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3591 PyObject
*resultobj
;
3592 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3595 PyObject
* obj0
= 0 ;
3596 PyObject
* obj1
= 0 ;
3598 (char *) "self",(char *) "size", NULL
3601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3606 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3610 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3612 wxPyEndAllowThreads(__tstate
);
3613 if (PyErr_Occurred()) SWIG_fail
;
3615 Py_INCREF(Py_None
); resultobj
= Py_None
;
3622 static PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3623 PyObject
*resultobj
;
3624 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3625 wxCursor
*arg2
= 0 ;
3627 PyObject
* obj0
= 0 ;
3628 PyObject
* obj1
= 0 ;
3630 (char *) "self",(char *) "cursor", NULL
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
3634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
3637 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3640 PyErr_SetString(PyExc_TypeError
,"null reference");
3644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3645 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
3647 wxPyEndAllowThreads(__tstate
);
3648 if (PyErr_Occurred()) SWIG_fail
;
3651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3659 static PyObject
*_wrap_Bitmap_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3660 PyObject
*resultobj
;
3661 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3663 PyObject
* obj0
= 0 ;
3665 (char *) "self", NULL
3668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetQuality",kwnames
,&obj0
)) goto fail
;
3669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3673 result
= (int)(arg1
)->GetQuality();
3675 wxPyEndAllowThreads(__tstate
);
3676 if (PyErr_Occurred()) SWIG_fail
;
3678 resultobj
= SWIG_From_int((int)result
);
3685 static PyObject
*_wrap_Bitmap_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3686 PyObject
*resultobj
;
3687 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3689 PyObject
* obj0
= 0 ;
3690 PyObject
* obj1
= 0 ;
3692 (char *) "self",(char *) "q", NULL
3695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
3696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3698 arg2
= (int)SWIG_As_int(obj1
);
3699 if (PyErr_Occurred()) SWIG_fail
;
3701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 (arg1
)->SetQuality(arg2
);
3704 wxPyEndAllowThreads(__tstate
);
3705 if (PyErr_Occurred()) SWIG_fail
;
3707 Py_INCREF(Py_None
); resultobj
= Py_None
;
3714 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
*resultobj
;
3716 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3717 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3719 PyObject
* obj0
= 0 ;
3720 PyObject
* obj1
= 0 ;
3722 (char *) "self",(char *) "other", NULL
3725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3732 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3734 wxPyEndAllowThreads(__tstate
);
3735 if (PyErr_Occurred()) SWIG_fail
;
3738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3746 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
*resultobj
;
3748 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3749 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3751 PyObject
* obj0
= 0 ;
3752 PyObject
* obj1
= 0 ;
3754 (char *) "self",(char *) "other", NULL
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3764 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3766 wxPyEndAllowThreads(__tstate
);
3767 if (PyErr_Occurred()) SWIG_fail
;
3770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3778 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
3780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3781 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3783 return Py_BuildValue((char *)"");
3785 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
*resultobj
;
3787 wxBitmap
*arg1
= 0 ;
3788 wxColour
const &arg2_defvalue
= wxNullColour
;
3789 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3792 PyObject
* obj0
= 0 ;
3793 PyObject
* obj1
= 0 ;
3795 (char *) "bitmap",(char *) "colour", NULL
3798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3800 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3803 PyErr_SetString(PyExc_TypeError
,"null reference");
3809 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3813 if (!wxPyCheckForApp()) SWIG_fail
;
3814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3815 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3817 wxPyEndAllowThreads(__tstate
);
3818 if (PyErr_Occurred()) SWIG_fail
;
3820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3827 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
3829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3830 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3832 return Py_BuildValue((char *)"");
3834 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3835 PyObject
*resultobj
;
3836 wxString
*arg1
= 0 ;
3838 int arg3
= (int) -1 ;
3839 int arg4
= (int) -1 ;
3841 bool temp1
= False
;
3842 PyObject
* obj0
= 0 ;
3843 PyObject
* obj1
= 0 ;
3844 PyObject
* obj2
= 0 ;
3845 PyObject
* obj3
= 0 ;
3847 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3852 arg1
= wxString_in_helper(obj0
);
3853 if (arg1
== NULL
) SWIG_fail
;
3856 arg2
= (int)SWIG_As_int(obj1
);
3857 if (PyErr_Occurred()) SWIG_fail
;
3859 arg3
= (int)SWIG_As_int(obj2
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3863 arg4
= (int)SWIG_As_int(obj3
);
3864 if (PyErr_Occurred()) SWIG_fail
;
3867 if (!wxPyCheckForApp()) SWIG_fail
;
3868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3869 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3871 wxPyEndAllowThreads(__tstate
);
3872 if (PyErr_Occurred()) SWIG_fail
;
3874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3889 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
*resultobj
;
3891 wxIcon
*arg1
= (wxIcon
*) 0 ;
3892 PyObject
* obj0
= 0 ;
3894 (char *) "self", NULL
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3907 Py_INCREF(Py_None
); resultobj
= Py_None
;
3914 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
*resultobj
;
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3923 if (!wxPyCheckForApp()) SWIG_fail
;
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 result
= (wxIcon
*)new wxIcon();
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3937 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
*resultobj
;
3939 wxIconLocation
*arg1
= 0 ;
3941 PyObject
* obj0
= 0 ;
3943 (char *) "loc", NULL
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3948 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3951 PyErr_SetString(PyExc_TypeError
,"null reference");
3955 if (!wxPyCheckForApp()) SWIG_fail
;
3956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3957 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3959 wxPyEndAllowThreads(__tstate
);
3960 if (PyErr_Occurred()) SWIG_fail
;
3962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3969 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3970 PyObject
*resultobj
;
3971 wxBitmap
*arg1
= 0 ;
3973 PyObject
* obj0
= 0 ;
3975 (char *) "bmp", NULL
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3980 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3983 PyErr_SetString(PyExc_TypeError
,"null reference");
3987 if (!wxPyCheckForApp()) SWIG_fail
;
3988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3989 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3991 wxPyEndAllowThreads(__tstate
);
3992 if (PyErr_Occurred()) SWIG_fail
;
3994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
4001 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
*resultobj
;
4003 PyObject
*arg1
= (PyObject
*) 0 ;
4005 PyObject
* obj0
= 0 ;
4007 (char *) "listOfStrings", NULL
4010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
4013 if (!wxPyCheckForApp()) SWIG_fail
;
4014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4015 result
= (wxIcon
*)new_wxIcon(arg1
);
4017 wxPyEndAllowThreads(__tstate
);
4018 if (PyErr_Occurred()) SWIG_fail
;
4020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
4027 static PyObject
*_wrap_Icon_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4028 PyObject
*resultobj
;
4029 wxIcon
*arg1
= (wxIcon
*) 0 ;
4030 wxString
*arg2
= 0 ;
4033 bool temp2
= False
;
4034 PyObject
* obj0
= 0 ;
4035 PyObject
* obj1
= 0 ;
4036 PyObject
* obj2
= 0 ;
4038 (char *) "self",(char *) "name",(char *) "type", NULL
4041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4045 arg2
= wxString_in_helper(obj1
);
4046 if (arg2
== NULL
) SWIG_fail
;
4049 arg3
= (int)SWIG_As_int(obj2
);
4050 if (PyErr_Occurred()) SWIG_fail
;
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4053 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) SWIG_fail
;
4059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4075 static PyObject
*_wrap_Icon_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4076 PyObject
*resultobj
;
4077 wxIcon
*arg1
= (wxIcon
*) 0 ;
4079 PyObject
* obj0
= 0 ;
4081 (char *) "self", NULL
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHandle",kwnames
,&obj0
)) goto fail
;
4085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 result
= (long)(arg1
)->GetHandle();
4091 wxPyEndAllowThreads(__tstate
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4094 resultobj
= SWIG_From_long((long)result
);
4101 static PyObject
*_wrap_Icon_SetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
*resultobj
;
4103 wxIcon
*arg1
= (wxIcon
*) 0 ;
4105 PyObject
* obj0
= 0 ;
4106 PyObject
* obj1
= 0 ;
4108 (char *) "self",(char *) "handle", NULL
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
4112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4114 arg2
= (long)SWIG_As_long(obj1
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 wxIcon_SetHandle(arg1
,arg2
);
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4123 Py_INCREF(Py_None
); resultobj
= Py_None
;
4130 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
*resultobj
;
4132 wxIcon
*arg1
= (wxIcon
*) 0 ;
4134 PyObject
* obj0
= 0 ;
4136 (char *) "self", NULL
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
4140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 result
= (bool)(arg1
)->Ok();
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4158 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
*resultobj
;
4160 wxIcon
*arg1
= (wxIcon
*) 0 ;
4162 PyObject
* obj0
= 0 ;
4164 (char *) "self", NULL
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
4168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4172 result
= (int)(arg1
)->GetWidth();
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4177 resultobj
= SWIG_From_int((int)result
);
4184 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
*resultobj
;
4186 wxIcon
*arg1
= (wxIcon
*) 0 ;
4188 PyObject
* obj0
= 0 ;
4190 (char *) "self", NULL
4193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
4194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4198 result
= (int)(arg1
)->GetHeight();
4200 wxPyEndAllowThreads(__tstate
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4203 resultobj
= SWIG_From_int((int)result
);
4210 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
*resultobj
;
4212 wxIcon
*arg1
= (wxIcon
*) 0 ;
4214 PyObject
* obj0
= 0 ;
4216 (char *) "self", NULL
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
4220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 result
= (int)(arg1
)->GetDepth();
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= SWIG_From_int((int)result
);
4236 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
*resultobj
;
4238 wxIcon
*arg1
= (wxIcon
*) 0 ;
4240 PyObject
* obj0
= 0 ;
4241 PyObject
* obj1
= 0 ;
4243 (char *) "self",(char *) "w", NULL
4246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4249 arg2
= (int)SWIG_As_int(obj1
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4253 (arg1
)->SetWidth(arg2
);
4255 wxPyEndAllowThreads(__tstate
);
4256 if (PyErr_Occurred()) SWIG_fail
;
4258 Py_INCREF(Py_None
); resultobj
= Py_None
;
4265 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
*resultobj
;
4267 wxIcon
*arg1
= (wxIcon
*) 0 ;
4269 PyObject
* obj0
= 0 ;
4270 PyObject
* obj1
= 0 ;
4272 (char *) "self",(char *) "h", NULL
4275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4278 arg2
= (int)SWIG_As_int(obj1
);
4279 if (PyErr_Occurred()) SWIG_fail
;
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4282 (arg1
)->SetHeight(arg2
);
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 Py_INCREF(Py_None
); resultobj
= Py_None
;
4294 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
;
4296 wxIcon
*arg1
= (wxIcon
*) 0 ;
4298 PyObject
* obj0
= 0 ;
4299 PyObject
* obj1
= 0 ;
4301 (char *) "self",(char *) "d", NULL
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4307 arg2
= (int)SWIG_As_int(obj1
);
4308 if (PyErr_Occurred()) SWIG_fail
;
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 (arg1
)->SetDepth(arg2
);
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) SWIG_fail
;
4316 Py_INCREF(Py_None
); resultobj
= Py_None
;
4323 static PyObject
*_wrap_Icon_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4324 PyObject
*resultobj
;
4325 wxIcon
*arg1
= (wxIcon
*) 0 ;
4328 PyObject
* obj0
= 0 ;
4329 PyObject
* obj1
= 0 ;
4331 (char *) "self",(char *) "size", NULL
4334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4339 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4343 (arg1
)->SetSize((wxSize
const &)*arg2
);
4345 wxPyEndAllowThreads(__tstate
);
4346 if (PyErr_Occurred()) SWIG_fail
;
4348 Py_INCREF(Py_None
); resultobj
= Py_None
;
4355 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
*resultobj
;
4357 wxIcon
*arg1
= (wxIcon
*) 0 ;
4358 wxBitmap
*arg2
= 0 ;
4359 PyObject
* obj0
= 0 ;
4360 PyObject
* obj1
= 0 ;
4362 (char *) "self",(char *) "bmp", NULL
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4368 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4369 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4372 PyErr_SetString(PyExc_TypeError
,"null reference");
4376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4377 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
4379 wxPyEndAllowThreads(__tstate
);
4380 if (PyErr_Occurred()) SWIG_fail
;
4382 Py_INCREF(Py_None
); resultobj
= Py_None
;
4389 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
4391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4392 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4394 return Py_BuildValue((char *)"");
4396 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4397 PyObject
*resultobj
;
4398 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4399 int arg2
= (int) 0 ;
4400 wxIconLocation
*result
;
4401 bool temp1
= False
;
4402 PyObject
* obj0
= 0 ;
4403 PyObject
* obj1
= 0 ;
4405 (char *) "filename",(char *) "num", NULL
4408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4411 arg1
= wxString_in_helper(obj0
);
4412 if (arg1
== NULL
) SWIG_fail
;
4417 arg2
= (int)SWIG_As_int(obj1
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4424 wxPyEndAllowThreads(__tstate
);
4425 if (PyErr_Occurred()) SWIG_fail
;
4427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4442 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4443 PyObject
*resultobj
;
4444 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4445 PyObject
* obj0
= 0 ;
4447 (char *) "self", NULL
4450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4457 wxPyEndAllowThreads(__tstate
);
4458 if (PyErr_Occurred()) SWIG_fail
;
4460 Py_INCREF(Py_None
); resultobj
= Py_None
;
4467 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4468 PyObject
*resultobj
;
4469 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4471 PyObject
* obj0
= 0 ;
4473 (char *) "self", NULL
4476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4481 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4495 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
*resultobj
;
4497 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4498 wxString
*arg2
= 0 ;
4499 bool temp2
= False
;
4500 PyObject
* obj0
= 0 ;
4501 PyObject
* obj1
= 0 ;
4503 (char *) "self",(char *) "filename", NULL
4506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4510 arg2
= wxString_in_helper(obj1
);
4511 if (arg2
== NULL
) SWIG_fail
;
4515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4516 (arg1
)->SetFileName((wxString
const &)*arg2
);
4518 wxPyEndAllowThreads(__tstate
);
4519 if (PyErr_Occurred()) SWIG_fail
;
4521 Py_INCREF(Py_None
); resultobj
= Py_None
;
4536 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4537 PyObject
*resultobj
;
4538 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4540 PyObject
* obj0
= 0 ;
4542 (char *) "self", NULL
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4552 result
= (wxString
*) &_result_ref
;
4555 wxPyEndAllowThreads(__tstate
);
4556 if (PyErr_Occurred()) SWIG_fail
;
4560 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4562 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4571 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4572 PyObject
*resultobj
;
4573 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4575 PyObject
* obj0
= 0 ;
4576 PyObject
* obj1
= 0 ;
4578 (char *) "self",(char *) "num", NULL
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4584 arg2
= (int)SWIG_As_int(obj1
);
4585 if (PyErr_Occurred()) SWIG_fail
;
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4588 wxIconLocation_SetIndex(arg1
,arg2
);
4590 wxPyEndAllowThreads(__tstate
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4593 Py_INCREF(Py_None
); resultobj
= Py_None
;
4600 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
*resultobj
;
4602 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4604 PyObject
* obj0
= 0 ;
4606 (char *) "self", NULL
4609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4614 result
= (int)wxIconLocation_GetIndex(arg1
);
4616 wxPyEndAllowThreads(__tstate
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4619 resultobj
= SWIG_From_int((int)result
);
4626 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
4628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4629 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4631 return Py_BuildValue((char *)"");
4633 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4634 PyObject
*resultobj
;
4635 wxIconBundle
*result
;
4640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4643 result
= (wxIconBundle
*)new wxIconBundle();
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4655 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4656 PyObject
*resultobj
;
4657 wxString
*arg1
= 0 ;
4659 wxIconBundle
*result
;
4660 bool temp1
= False
;
4661 PyObject
* obj0
= 0 ;
4662 PyObject
* obj1
= 0 ;
4664 (char *) "file",(char *) "type", NULL
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4669 arg1
= wxString_in_helper(obj0
);
4670 if (arg1
== NULL
) SWIG_fail
;
4673 arg2
= (long)SWIG_As_long(obj1
);
4674 if (PyErr_Occurred()) SWIG_fail
;
4676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4677 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4679 wxPyEndAllowThreads(__tstate
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4697 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4698 PyObject
*resultobj
;
4700 wxIconBundle
*result
;
4701 PyObject
* obj0
= 0 ;
4703 (char *) "icon", NULL
4706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4708 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4711 PyErr_SetString(PyExc_TypeError
,"null reference");
4715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4716 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) SWIG_fail
;
4721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4728 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4729 PyObject
*resultobj
;
4730 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4731 PyObject
* obj0
= 0 ;
4733 (char *) "self", NULL
4736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) SWIG_fail
;
4746 Py_INCREF(Py_None
); resultobj
= Py_None
;
4753 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
*resultobj
;
4755 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4757 PyObject
* obj0
= 0 ;
4758 PyObject
* obj1
= 0 ;
4760 (char *) "self",(char *) "icon", NULL
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4767 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4770 PyErr_SetString(PyExc_TypeError
,"null reference");
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4780 Py_INCREF(Py_None
); resultobj
= Py_None
;
4787 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
*resultobj
;
4789 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4790 wxString
*arg2
= 0 ;
4792 bool temp2
= False
;
4793 PyObject
* obj0
= 0 ;
4794 PyObject
* obj1
= 0 ;
4795 PyObject
* obj2
= 0 ;
4797 (char *) "self",(char *) "file",(char *) "type", NULL
4800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4804 arg2
= wxString_in_helper(obj1
);
4805 if (arg2
== NULL
) SWIG_fail
;
4808 arg3
= (long)SWIG_As_long(obj2
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4812 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4817 Py_INCREF(Py_None
); resultobj
= Py_None
;
4832 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
*resultobj
;
4834 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4838 PyObject
* obj0
= 0 ;
4839 PyObject
* obj1
= 0 ;
4841 (char *) "self",(char *) "size", NULL
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4849 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4855 result
= (wxIcon
*) &_result_ref
;
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4862 wxIcon
* resultptr
= new wxIcon(*result
);
4863 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4871 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
4873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4874 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4876 return Py_BuildValue((char *)"");
4878 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4879 PyObject
*resultobj
;
4880 wxString
*arg1
= (wxString
*) 0 ;
4882 int arg3
= (int) 0 ;
4883 int arg4
= (int) 0 ;
4885 bool temp1
= False
;
4886 PyObject
* obj0
= 0 ;
4887 PyObject
* obj1
= 0 ;
4888 PyObject
* obj2
= 0 ;
4889 PyObject
* obj3
= 0 ;
4891 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4896 arg1
= wxString_in_helper(obj0
);
4897 if (arg1
== NULL
) SWIG_fail
;
4900 arg2
= (long)SWIG_As_long(obj1
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4903 arg3
= (int)SWIG_As_int(obj2
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4907 arg4
= (int)SWIG_As_int(obj3
);
4908 if (PyErr_Occurred()) SWIG_fail
;
4911 if (!wxPyCheckForApp()) SWIG_fail
;
4912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4913 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4915 wxPyEndAllowThreads(__tstate
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4933 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
*resultobj
;
4935 wxCursor
*arg1
= (wxCursor
*) 0 ;
4936 PyObject
* obj0
= 0 ;
4938 (char *) "self", NULL
4941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4951 Py_INCREF(Py_None
); resultobj
= Py_None
;
4958 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4959 PyObject
*resultobj
;
4962 PyObject
* obj0
= 0 ;
4967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4968 arg1
= (int)SWIG_As_int(obj0
);
4969 if (PyErr_Occurred()) SWIG_fail
;
4971 if (!wxPyCheckForApp()) SWIG_fail
;
4972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4973 result
= (wxCursor
*)new wxCursor(arg1
);
4975 wxPyEndAllowThreads(__tstate
);
4976 if (PyErr_Occurred()) SWIG_fail
;
4978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4985 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
*resultobj
;
4989 PyObject
* obj0
= 0 ;
4991 (char *) "image", NULL
4994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4996 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4999 PyErr_SetString(PyExc_TypeError
,"null reference");
5003 if (!wxPyCheckForApp()) SWIG_fail
;
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
5017 static PyObject
*_wrap_Cursor_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5018 PyObject
*resultobj
;
5019 wxCursor
*arg1
= (wxCursor
*) 0 ;
5021 PyObject
* obj0
= 0 ;
5023 (char *) "self", NULL
5026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHandle",kwnames
,&obj0
)) goto fail
;
5027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 result
= (long)(arg1
)->GetHandle();
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5036 resultobj
= SWIG_From_long((long)result
);
5043 static PyObject
*_wrap_Cursor_SetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5044 PyObject
*resultobj
;
5045 wxCursor
*arg1
= (wxCursor
*) 0 ;
5047 PyObject
* obj0
= 0 ;
5048 PyObject
* obj1
= 0 ;
5050 (char *) "self",(char *) "handle", NULL
5053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
5054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5056 arg2
= (long)SWIG_As_long(obj1
);
5057 if (PyErr_Occurred()) SWIG_fail
;
5059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5060 wxCursor_SetHandle(arg1
,arg2
);
5062 wxPyEndAllowThreads(__tstate
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5065 Py_INCREF(Py_None
); resultobj
= Py_None
;
5072 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
*resultobj
;
5074 wxCursor
*arg1
= (wxCursor
*) 0 ;
5076 PyObject
* obj0
= 0 ;
5078 (char *) "self", NULL
5081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
5082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5086 result
= (bool)(arg1
)->Ok();
5088 wxPyEndAllowThreads(__tstate
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5100 static PyObject
*_wrap_Cursor_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5101 PyObject
*resultobj
;
5102 wxCursor
*arg1
= (wxCursor
*) 0 ;
5104 PyObject
* obj0
= 0 ;
5106 (char *) "self", NULL
5109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetWidth",kwnames
,&obj0
)) goto fail
;
5110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 result
= (int)(arg1
)->GetWidth();
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) SWIG_fail
;
5119 resultobj
= SWIG_From_int((int)result
);
5126 static PyObject
*_wrap_Cursor_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5127 PyObject
*resultobj
;
5128 wxCursor
*arg1
= (wxCursor
*) 0 ;
5130 PyObject
* obj0
= 0 ;
5132 (char *) "self", NULL
5135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHeight",kwnames
,&obj0
)) goto fail
;
5136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5140 result
= (int)(arg1
)->GetHeight();
5142 wxPyEndAllowThreads(__tstate
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5145 resultobj
= SWIG_From_int((int)result
);
5152 static PyObject
*_wrap_Cursor_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5153 PyObject
*resultobj
;
5154 wxCursor
*arg1
= (wxCursor
*) 0 ;
5156 PyObject
* obj0
= 0 ;
5158 (char *) "self", NULL
5161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetDepth",kwnames
,&obj0
)) goto fail
;
5162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5166 result
= (int)(arg1
)->GetDepth();
5168 wxPyEndAllowThreads(__tstate
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5171 resultobj
= SWIG_From_int((int)result
);
5178 static PyObject
*_wrap_Cursor_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5179 PyObject
*resultobj
;
5180 wxCursor
*arg1
= (wxCursor
*) 0 ;
5182 PyObject
* obj0
= 0 ;
5183 PyObject
* obj1
= 0 ;
5185 (char *) "self",(char *) "w", NULL
5188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5191 arg2
= (int)SWIG_As_int(obj1
);
5192 if (PyErr_Occurred()) SWIG_fail
;
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5195 (arg1
)->SetWidth(arg2
);
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 Py_INCREF(Py_None
); resultobj
= Py_None
;
5207 static PyObject
*_wrap_Cursor_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
*resultobj
;
5209 wxCursor
*arg1
= (wxCursor
*) 0 ;
5211 PyObject
* obj0
= 0 ;
5212 PyObject
* obj1
= 0 ;
5214 (char *) "self",(char *) "h", NULL
5217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5220 arg2
= (int)SWIG_As_int(obj1
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 (arg1
)->SetHeight(arg2
);
5226 wxPyEndAllowThreads(__tstate
);
5227 if (PyErr_Occurred()) SWIG_fail
;
5229 Py_INCREF(Py_None
); resultobj
= Py_None
;
5236 static PyObject
*_wrap_Cursor_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5237 PyObject
*resultobj
;
5238 wxCursor
*arg1
= (wxCursor
*) 0 ;
5240 PyObject
* obj0
= 0 ;
5241 PyObject
* obj1
= 0 ;
5243 (char *) "self",(char *) "d", NULL
5246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5249 arg2
= (int)SWIG_As_int(obj1
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5253 (arg1
)->SetDepth(arg2
);
5255 wxPyEndAllowThreads(__tstate
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5258 Py_INCREF(Py_None
); resultobj
= Py_None
;
5265 static PyObject
*_wrap_Cursor_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
*resultobj
;
5267 wxCursor
*arg1
= (wxCursor
*) 0 ;
5270 PyObject
* obj0
= 0 ;
5271 PyObject
* obj1
= 0 ;
5273 (char *) "self",(char *) "size", NULL
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5281 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5285 (arg1
)->SetSize((wxSize
const &)*arg2
);
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5290 Py_INCREF(Py_None
); resultobj
= Py_None
;
5297 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
5299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5300 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
5302 return Py_BuildValue((char *)"");
5304 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
*resultobj
;
5306 int arg1
= (int) 0 ;
5307 int arg2
= (int) 0 ;
5308 int arg3
= (int) 0 ;
5309 int arg4
= (int) 0 ;
5311 PyObject
* obj0
= 0 ;
5312 PyObject
* obj1
= 0 ;
5313 PyObject
* obj2
= 0 ;
5314 PyObject
* obj3
= 0 ;
5316 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5321 arg1
= (int)SWIG_As_int(obj0
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5325 arg2
= (int)SWIG_As_int(obj1
);
5326 if (PyErr_Occurred()) SWIG_fail
;
5329 arg3
= (int)SWIG_As_int(obj2
);
5330 if (PyErr_Occurred()) SWIG_fail
;
5333 arg4
= (int)SWIG_As_int(obj3
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5337 if (!wxPyCheckForApp()) SWIG_fail
;
5338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5339 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
5341 wxPyEndAllowThreads(__tstate
);
5342 if (PyErr_Occurred()) SWIG_fail
;
5344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5351 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5352 PyObject
*resultobj
;
5353 wxBitmap
*arg1
= 0 ;
5355 PyObject
* obj0
= 0 ;
5357 (char *) "bmp", NULL
5360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
5361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5362 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5365 PyErr_SetString(PyExc_TypeError
,"null reference");
5369 if (!wxPyCheckForApp()) SWIG_fail
;
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5371 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
5373 wxPyEndAllowThreads(__tstate
);
5374 if (PyErr_Occurred()) SWIG_fail
;
5376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5383 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5384 PyObject
*resultobj
;
5385 wxBitmap
*arg1
= 0 ;
5386 wxColour
*arg2
= 0 ;
5387 int arg3
= (int) 0 ;
5390 PyObject
* obj0
= 0 ;
5391 PyObject
* obj1
= 0 ;
5392 PyObject
* obj2
= 0 ;
5394 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5399 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5402 PyErr_SetString(PyExc_TypeError
,"null reference");
5407 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5410 arg3
= (int)SWIG_As_int(obj2
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5414 if (!wxPyCheckForApp()) SWIG_fail
;
5415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
5418 wxPyEndAllowThreads(__tstate
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5428 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5429 PyObject
*resultobj
;
5431 wxPoint
*arg2
= (wxPoint
*) 0 ;
5432 int arg3
= (int) wxWINDING_RULE
;
5434 PyObject
* obj0
= 0 ;
5435 PyObject
* obj1
= 0 ;
5437 (char *) "points",(char *) "fillStyle", NULL
5440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
5442 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
5443 if (arg2
== NULL
) SWIG_fail
;
5446 arg3
= (int)SWIG_As_int(obj1
);
5447 if (PyErr_Occurred()) SWIG_fail
;
5450 if (!wxPyCheckForApp()) SWIG_fail
;
5451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5452 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
5454 wxPyEndAllowThreads(__tstate
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5459 if (arg2
) delete [] arg2
;
5464 if (arg2
) delete [] arg2
;
5470 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5471 PyObject
*resultobj
;
5472 wxRegion
*arg1
= (wxRegion
*) 0 ;
5473 PyObject
* obj0
= 0 ;
5475 (char *) "self", NULL
5478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
5479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 wxPyEndAllowThreads(__tstate
);
5486 if (PyErr_Occurred()) SWIG_fail
;
5488 Py_INCREF(Py_None
); resultobj
= Py_None
;
5495 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5496 PyObject
*resultobj
;
5497 wxRegion
*arg1
= (wxRegion
*) 0 ;
5498 PyObject
* obj0
= 0 ;
5500 (char *) "self", NULL
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
5504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5510 wxPyEndAllowThreads(__tstate
);
5511 if (PyErr_Occurred()) SWIG_fail
;
5513 Py_INCREF(Py_None
); resultobj
= Py_None
;
5520 static PyObject
*_wrap_Region_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5521 PyObject
*resultobj
;
5522 wxRegion
*arg1
= (wxRegion
*) 0 ;
5526 PyObject
* obj0
= 0 ;
5527 PyObject
* obj1
= 0 ;
5528 PyObject
* obj2
= 0 ;
5530 (char *) "self",(char *) "x",(char *) "y", NULL
5533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5536 arg2
= (int)SWIG_As_int(obj1
);
5537 if (PyErr_Occurred()) SWIG_fail
;
5538 arg3
= (int)SWIG_As_int(obj2
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5556 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5557 PyObject
*resultobj
;
5558 wxRegion
*arg1
= (wxRegion
*) 0 ;
5562 PyObject
* obj0
= 0 ;
5563 PyObject
* obj1
= 0 ;
5564 PyObject
* obj2
= 0 ;
5566 (char *) "self",(char *) "x",(char *) "y", NULL
5569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5572 arg2
= (int)SWIG_As_int(obj1
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5574 arg3
= (int)SWIG_As_int(obj2
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5578 result
= (int)(arg1
)->Contains(arg2
,arg3
);
5580 wxPyEndAllowThreads(__tstate
);
5581 if (PyErr_Occurred()) SWIG_fail
;
5583 resultobj
= SWIG_From_int((int)result
);
5590 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5591 PyObject
*resultobj
;
5592 wxRegion
*arg1
= (wxRegion
*) 0 ;
5596 PyObject
* obj0
= 0 ;
5597 PyObject
* obj1
= 0 ;
5599 (char *) "self",(char *) "pt", NULL
5602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
5603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5607 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
5613 wxPyEndAllowThreads(__tstate
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5616 resultobj
= SWIG_From_int((int)result
);
5623 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5624 PyObject
*resultobj
;
5625 wxRegion
*arg1
= (wxRegion
*) 0 ;
5629 PyObject
* obj0
= 0 ;
5630 PyObject
* obj1
= 0 ;
5632 (char *) "self",(char *) "rect", NULL
5635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5640 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5644 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
5646 wxPyEndAllowThreads(__tstate
);
5647 if (PyErr_Occurred()) SWIG_fail
;
5649 resultobj
= SWIG_From_int((int)result
);
5656 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
;
5658 wxRegion
*arg1
= (wxRegion
*) 0 ;
5664 PyObject
* obj0
= 0 ;
5665 PyObject
* obj1
= 0 ;
5666 PyObject
* obj2
= 0 ;
5667 PyObject
* obj3
= 0 ;
5668 PyObject
* obj4
= 0 ;
5670 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5676 arg2
= (int)SWIG_As_int(obj1
);
5677 if (PyErr_Occurred()) SWIG_fail
;
5678 arg3
= (int)SWIG_As_int(obj2
);
5679 if (PyErr_Occurred()) SWIG_fail
;
5680 arg4
= (int)SWIG_As_int(obj3
);
5681 if (PyErr_Occurred()) SWIG_fail
;
5682 arg5
= (int)SWIG_As_int(obj4
);
5683 if (PyErr_Occurred()) SWIG_fail
;
5685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5686 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5688 wxPyEndAllowThreads(__tstate
);
5689 if (PyErr_Occurred()) SWIG_fail
;
5691 resultobj
= SWIG_From_int((int)result
);
5698 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
*resultobj
;
5700 wxRegion
*arg1
= (wxRegion
*) 0 ;
5702 PyObject
* obj0
= 0 ;
5704 (char *) "self", NULL
5707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5712 result
= (arg1
)->GetBox();
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5719 resultptr
= new wxRect((wxRect
&) result
);
5720 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5728 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5729 PyObject
*resultobj
;
5730 wxRegion
*arg1
= (wxRegion
*) 0 ;
5736 PyObject
* obj0
= 0 ;
5737 PyObject
* obj1
= 0 ;
5738 PyObject
* obj2
= 0 ;
5739 PyObject
* obj3
= 0 ;
5740 PyObject
* obj4
= 0 ;
5742 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5748 arg2
= (int)SWIG_As_int(obj1
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5750 arg3
= (int)SWIG_As_int(obj2
);
5751 if (PyErr_Occurred()) SWIG_fail
;
5752 arg4
= (int)SWIG_As_int(obj3
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5754 arg5
= (int)SWIG_As_int(obj4
);
5755 if (PyErr_Occurred()) SWIG_fail
;
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5772 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
;
5774 wxRegion
*arg1
= (wxRegion
*) 0 ;
5778 PyObject
* obj0
= 0 ;
5779 PyObject
* obj1
= 0 ;
5781 (char *) "self",(char *) "rect", NULL
5784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5789 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) SWIG_fail
;
5799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5807 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
*resultobj
;
5809 wxRegion
*arg1
= (wxRegion
*) 0 ;
5810 wxRegion
*arg2
= 0 ;
5812 PyObject
* obj0
= 0 ;
5813 PyObject
* obj1
= 0 ;
5815 (char *) "self",(char *) "region", NULL
5818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5821 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5822 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5825 PyErr_SetString(PyExc_TypeError
,"null reference");
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5844 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
*resultobj
;
5846 wxRegion
*arg1
= (wxRegion
*) 0 ;
5848 PyObject
* obj0
= 0 ;
5850 (char *) "self", NULL
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 result
= (bool)(arg1
)->IsEmpty();
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5872 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
*resultobj
;
5874 wxRegion
*arg1
= (wxRegion
*) 0 ;
5880 PyObject
* obj0
= 0 ;
5881 PyObject
* obj1
= 0 ;
5882 PyObject
* obj2
= 0 ;
5883 PyObject
* obj3
= 0 ;
5884 PyObject
* obj4
= 0 ;
5886 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5892 arg2
= (int)SWIG_As_int(obj1
);
5893 if (PyErr_Occurred()) SWIG_fail
;
5894 arg3
= (int)SWIG_As_int(obj2
);
5895 if (PyErr_Occurred()) SWIG_fail
;
5896 arg4
= (int)SWIG_As_int(obj3
);
5897 if (PyErr_Occurred()) SWIG_fail
;
5898 arg5
= (int)SWIG_As_int(obj4
);
5899 if (PyErr_Occurred()) SWIG_fail
;
5901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5902 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5904 wxPyEndAllowThreads(__tstate
);
5905 if (PyErr_Occurred()) SWIG_fail
;
5908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5916 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5917 PyObject
*resultobj
;
5918 wxRegion
*arg1
= (wxRegion
*) 0 ;
5922 PyObject
* obj0
= 0 ;
5923 PyObject
* obj1
= 0 ;
5925 (char *) "self",(char *) "rect", NULL
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5933 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5937 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5951 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5952 PyObject
*resultobj
;
5953 wxRegion
*arg1
= (wxRegion
*) 0 ;
5954 wxRegion
*arg2
= 0 ;
5956 PyObject
* obj0
= 0 ;
5957 PyObject
* obj1
= 0 ;
5959 (char *) "self",(char *) "region", NULL
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5969 PyErr_SetString(PyExc_TypeError
,"null reference");
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5988 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5989 PyObject
*resultobj
;
5990 wxRegion
*arg1
= (wxRegion
*) 0 ;
5996 PyObject
* obj0
= 0 ;
5997 PyObject
* obj1
= 0 ;
5998 PyObject
* obj2
= 0 ;
5999 PyObject
* obj3
= 0 ;
6000 PyObject
* obj4
= 0 ;
6002 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6008 arg2
= (int)SWIG_As_int(obj1
);
6009 if (PyErr_Occurred()) SWIG_fail
;
6010 arg3
= (int)SWIG_As_int(obj2
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6012 arg4
= (int)SWIG_As_int(obj3
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6014 arg5
= (int)SWIG_As_int(obj4
);
6015 if (PyErr_Occurred()) SWIG_fail
;
6017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6018 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
6020 wxPyEndAllowThreads(__tstate
);
6021 if (PyErr_Occurred()) SWIG_fail
;
6024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6032 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6033 PyObject
*resultobj
;
6034 wxRegion
*arg1
= (wxRegion
*) 0 ;
6038 PyObject
* obj0
= 0 ;
6039 PyObject
* obj1
= 0 ;
6041 (char *) "self",(char *) "rect", NULL
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6049 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6053 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
6055 wxPyEndAllowThreads(__tstate
);
6056 if (PyErr_Occurred()) SWIG_fail
;
6059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6067 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6068 PyObject
*resultobj
;
6069 wxRegion
*arg1
= (wxRegion
*) 0 ;
6070 wxRegion
*arg2
= 0 ;
6072 PyObject
* obj0
= 0 ;
6073 PyObject
* obj1
= 0 ;
6075 (char *) "self",(char *) "region", NULL
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
6082 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6085 PyErr_SetString(PyExc_TypeError
,"null reference");
6089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6104 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6105 PyObject
*resultobj
;
6106 wxRegion
*arg1
= (wxRegion
*) 0 ;
6112 PyObject
* obj0
= 0 ;
6113 PyObject
* obj1
= 0 ;
6114 PyObject
* obj2
= 0 ;
6115 PyObject
* obj3
= 0 ;
6116 PyObject
* obj4
= 0 ;
6118 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6124 arg2
= (int)SWIG_As_int(obj1
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6126 arg3
= (int)SWIG_As_int(obj2
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6128 arg4
= (int)SWIG_As_int(obj3
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6130 arg5
= (int)SWIG_As_int(obj4
);
6131 if (PyErr_Occurred()) SWIG_fail
;
6133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6134 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6148 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
*resultobj
;
6150 wxRegion
*arg1
= (wxRegion
*) 0 ;
6154 PyObject
* obj0
= 0 ;
6155 PyObject
* obj1
= 0 ;
6157 (char *) "self",(char *) "rect", NULL
6160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6165 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6169 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6183 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
*resultobj
;
6185 wxRegion
*arg1
= (wxRegion
*) 0 ;
6186 wxRegion
*arg2
= 0 ;
6188 PyObject
* obj0
= 0 ;
6189 PyObject
* obj1
= 0 ;
6191 (char *) "self",(char *) "region", NULL
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6197 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
6198 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6201 PyErr_SetString(PyExc_TypeError
,"null reference");
6205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6206 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6220 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
*resultobj
;
6222 wxRegion
*arg1
= (wxRegion
*) 0 ;
6223 SwigValueWrapper
< wxBitmap
> result
;
6224 PyObject
* obj0
= 0 ;
6226 (char *) "self", NULL
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
6230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6234 result
= (arg1
)->ConvertToBitmap();
6236 wxPyEndAllowThreads(__tstate
);
6237 if (PyErr_Occurred()) SWIG_fail
;
6240 wxBitmap
* resultptr
;
6241 resultptr
= new wxBitmap((wxBitmap
&) result
);
6242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6250 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6251 PyObject
*resultobj
;
6252 wxRegion
*arg1
= (wxRegion
*) 0 ;
6253 wxBitmap
*arg2
= 0 ;
6255 PyObject
* obj0
= 0 ;
6256 PyObject
* obj1
= 0 ;
6258 (char *) "self",(char *) "bmp", NULL
6261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
6265 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6268 PyErr_SetString(PyExc_TypeError
,"null reference");
6272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6273 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
6275 wxPyEndAllowThreads(__tstate
);
6276 if (PyErr_Occurred()) SWIG_fail
;
6279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6287 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
*resultobj
;
6289 wxRegion
*arg1
= (wxRegion
*) 0 ;
6290 wxBitmap
*arg2
= 0 ;
6291 wxColour
*arg3
= 0 ;
6292 int arg4
= (int) 0 ;
6295 PyObject
* obj0
= 0 ;
6296 PyObject
* obj1
= 0 ;
6297 PyObject
* obj2
= 0 ;
6298 PyObject
* obj3
= 0 ;
6300 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
6307 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6310 PyErr_SetString(PyExc_TypeError
,"null reference");
6315 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6318 arg4
= (int)SWIG_As_int(obj3
);
6319 if (PyErr_Occurred()) SWIG_fail
;
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6337 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
6339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6340 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
6342 return Py_BuildValue((char *)"");
6344 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6345 PyObject
*resultobj
;
6346 wxRegion
*arg1
= 0 ;
6347 wxRegionIterator
*result
;
6348 PyObject
* obj0
= 0 ;
6350 (char *) "region", NULL
6353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
6354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6355 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6358 PyErr_SetString(PyExc_TypeError
,"null reference");
6362 if (!wxPyCheckForApp()) SWIG_fail
;
6363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6364 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
6366 wxPyEndAllowThreads(__tstate
);
6367 if (PyErr_Occurred()) SWIG_fail
;
6369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
6376 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
;
6378 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6379 PyObject
* obj0
= 0 ;
6381 (char *) "self", NULL
6384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
6385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6391 wxPyEndAllowThreads(__tstate
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6394 Py_INCREF(Py_None
); resultobj
= Py_None
;
6401 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
;
6403 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6405 PyObject
* obj0
= 0 ;
6407 (char *) "self", NULL
6410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
6411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 result
= (int)(arg1
)->GetX();
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6420 resultobj
= SWIG_From_int((int)result
);
6427 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
*resultobj
;
6429 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6431 PyObject
* obj0
= 0 ;
6433 (char *) "self", NULL
6436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
6437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6441 result
= (int)(arg1
)->GetY();
6443 wxPyEndAllowThreads(__tstate
);
6444 if (PyErr_Occurred()) SWIG_fail
;
6446 resultobj
= SWIG_From_int((int)result
);
6453 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6454 PyObject
*resultobj
;
6455 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6457 PyObject
* obj0
= 0 ;
6459 (char *) "self", NULL
6462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
6463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6467 result
= (int)(arg1
)->GetW();
6469 wxPyEndAllowThreads(__tstate
);
6470 if (PyErr_Occurred()) SWIG_fail
;
6472 resultobj
= SWIG_From_int((int)result
);
6479 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6480 PyObject
*resultobj
;
6481 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6483 PyObject
* obj0
= 0 ;
6485 (char *) "self", NULL
6488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
6489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6493 result
= (int)(arg1
)->GetWidth();
6495 wxPyEndAllowThreads(__tstate
);
6496 if (PyErr_Occurred()) SWIG_fail
;
6498 resultobj
= SWIG_From_int((int)result
);
6505 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6506 PyObject
*resultobj
;
6507 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6509 PyObject
* obj0
= 0 ;
6511 (char *) "self", NULL
6514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
6515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6519 result
= (int)(arg1
)->GetH();
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6524 resultobj
= SWIG_From_int((int)result
);
6531 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6532 PyObject
*resultobj
;
6533 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6535 PyObject
* obj0
= 0 ;
6537 (char *) "self", NULL
6540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
6541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 result
= (int)(arg1
)->GetHeight();
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) SWIG_fail
;
6550 resultobj
= SWIG_From_int((int)result
);
6557 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
*resultobj
;
6559 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6561 PyObject
* obj0
= 0 ;
6563 (char *) "self", NULL
6566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
6567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 result
= (arg1
)->GetRect();
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) SWIG_fail
;
6578 resultptr
= new wxRect((wxRect
&) result
);
6579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6587 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6588 PyObject
*resultobj
;
6589 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6591 PyObject
* obj0
= 0 ;
6593 (char *) "self", NULL
6596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
6597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6601 result
= (bool)(arg1
)->HaveRects();
6603 wxPyEndAllowThreads(__tstate
);
6604 if (PyErr_Occurred()) SWIG_fail
;
6607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6615 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6616 PyObject
*resultobj
;
6617 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6618 PyObject
* obj0
= 0 ;
6620 (char *) "self", NULL
6623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
6624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6630 wxPyEndAllowThreads(__tstate
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6633 Py_INCREF(Py_None
); resultobj
= Py_None
;
6640 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
;
6642 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6643 PyObject
* obj0
= 0 ;
6645 (char *) "self", NULL
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
6649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6653 wxRegionIterator_Next(arg1
);
6655 wxPyEndAllowThreads(__tstate
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6658 Py_INCREF(Py_None
); resultobj
= Py_None
;
6665 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6666 PyObject
*resultobj
;
6667 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6669 PyObject
* obj0
= 0 ;
6671 (char *) "self", NULL
6674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
6675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6679 result
= (bool)wxRegionIterator___nonzero__(arg1
);
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6693 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
6695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6696 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6698 return Py_BuildValue((char *)"");
6700 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
*resultobj
;
6702 wxNativeFontInfo
*result
;
6707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6712 wxPyEndAllowThreads(__tstate
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6722 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6723 PyObject
*resultobj
;
6724 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6725 PyObject
* obj0
= 0 ;
6727 (char *) "self", NULL
6730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6737 wxPyEndAllowThreads(__tstate
);
6738 if (PyErr_Occurred()) SWIG_fail
;
6740 Py_INCREF(Py_None
); resultobj
= Py_None
;
6747 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6748 PyObject
*resultobj
;
6749 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6750 PyObject
* obj0
= 0 ;
6752 (char *) "self", NULL
6755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6762 wxPyEndAllowThreads(__tstate
);
6763 if (PyErr_Occurred()) SWIG_fail
;
6765 Py_INCREF(Py_None
); resultobj
= Py_None
;
6772 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6773 PyObject
*resultobj
;
6774 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6776 PyObject
* obj0
= 0 ;
6777 PyObject
* obj1
= 0 ;
6779 (char *) "self",(char *) "font", NULL
6782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6785 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6786 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6789 PyErr_SetString(PyExc_TypeError
,"null reference");
6793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6794 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6799 Py_INCREF(Py_None
); resultobj
= Py_None
;
6806 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6807 PyObject
*resultobj
;
6808 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6810 PyObject
* obj0
= 0 ;
6812 (char *) "self", NULL
6815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6820 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6822 wxPyEndAllowThreads(__tstate
);
6823 if (PyErr_Occurred()) SWIG_fail
;
6825 resultobj
= SWIG_From_int((int)result
);
6832 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6833 PyObject
*resultobj
;
6834 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6836 PyObject
* obj0
= 0 ;
6838 (char *) "self", NULL
6841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6851 resultobj
= SWIG_From_int((int)result
);
6858 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
;
6860 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6862 PyObject
* obj0
= 0 ;
6864 (char *) "self", NULL
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6877 resultobj
= SWIG_From_int((int)result
);
6884 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
;
6886 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6888 PyObject
* obj0
= 0 ;
6890 (char *) "self", NULL
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6900 wxPyEndAllowThreads(__tstate
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6912 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6913 PyObject
*resultobj
;
6914 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6916 PyObject
* obj0
= 0 ;
6918 (char *) "self", NULL
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6933 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6935 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6944 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
*resultobj
;
6946 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6948 PyObject
* obj0
= 0 ;
6950 (char *) "self", NULL
6953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6958 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6960 wxPyEndAllowThreads(__tstate
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6963 resultobj
= SWIG_From_int((int)result
);
6970 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
;
6972 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6974 PyObject
* obj0
= 0 ;
6976 (char *) "self", NULL
6979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6984 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6986 wxPyEndAllowThreads(__tstate
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6989 resultobj
= SWIG_From_int((int)result
);
6996 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
*resultobj
;
6998 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7000 PyObject
* obj0
= 0 ;
7001 PyObject
* obj1
= 0 ;
7003 (char *) "self",(char *) "pointsize", NULL
7006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7009 arg2
= (int)SWIG_As_int(obj1
);
7010 if (PyErr_Occurred()) SWIG_fail
;
7012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7013 (arg1
)->SetPointSize(arg2
);
7015 wxPyEndAllowThreads(__tstate
);
7016 if (PyErr_Occurred()) SWIG_fail
;
7018 Py_INCREF(Py_None
); resultobj
= Py_None
;
7025 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7026 PyObject
*resultobj
;
7027 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7029 PyObject
* obj0
= 0 ;
7030 PyObject
* obj1
= 0 ;
7032 (char *) "self",(char *) "style", NULL
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7038 arg2
= (int)SWIG_As_int(obj1
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 (arg1
)->SetStyle((wxFontStyle
)arg2
);
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7047 Py_INCREF(Py_None
); resultobj
= Py_None
;
7054 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
*resultobj
;
7056 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7058 PyObject
* obj0
= 0 ;
7059 PyObject
* obj1
= 0 ;
7061 (char *) "self",(char *) "weight", NULL
7064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7067 arg2
= (int)SWIG_As_int(obj1
);
7068 if (PyErr_Occurred()) SWIG_fail
;
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 (arg1
)->SetWeight((wxFontWeight
)arg2
);
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 Py_INCREF(Py_None
); resultobj
= Py_None
;
7083 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
;
7085 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7087 PyObject
* obj0
= 0 ;
7088 PyObject
* obj1
= 0 ;
7090 (char *) "self",(char *) "underlined", NULL
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
7094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7096 arg2
= (bool)SWIG_As_bool(obj1
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 (arg1
)->SetUnderlined(arg2
);
7102 wxPyEndAllowThreads(__tstate
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7105 Py_INCREF(Py_None
); resultobj
= Py_None
;
7112 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
*resultobj
;
7114 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7116 PyObject
* obj0
= 0 ;
7117 PyObject
* obj1
= 0 ;
7119 (char *) "self",(char *) "facename", NULL
7122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
7123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7126 wxString
* sptr
= wxString_in_helper(obj1
);
7127 if (sptr
== NULL
) SWIG_fail
;
7132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7133 (arg1
)->SetFaceName(arg2
);
7135 wxPyEndAllowThreads(__tstate
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7138 Py_INCREF(Py_None
); resultobj
= Py_None
;
7145 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
*resultobj
;
7147 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7149 PyObject
* obj0
= 0 ;
7150 PyObject
* obj1
= 0 ;
7152 (char *) "self",(char *) "family", NULL
7155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
7156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7158 arg2
= (int)SWIG_As_int(obj1
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7162 (arg1
)->SetFamily((wxFontFamily
)arg2
);
7164 wxPyEndAllowThreads(__tstate
);
7165 if (PyErr_Occurred()) SWIG_fail
;
7167 Py_INCREF(Py_None
); resultobj
= Py_None
;
7174 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
*resultobj
;
7176 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7178 PyObject
* obj0
= 0 ;
7179 PyObject
* obj1
= 0 ;
7181 (char *) "self",(char *) "encoding", NULL
7184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
7185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7187 arg2
= (int)SWIG_As_int(obj1
);
7188 if (PyErr_Occurred()) SWIG_fail
;
7190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7191 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
7193 wxPyEndAllowThreads(__tstate
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7196 Py_INCREF(Py_None
); resultobj
= Py_None
;
7203 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
*resultobj
;
7205 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7206 wxString
*arg2
= 0 ;
7208 bool temp2
= False
;
7209 PyObject
* obj0
= 0 ;
7210 PyObject
* obj1
= 0 ;
7212 (char *) "self",(char *) "s", NULL
7215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7219 arg2
= wxString_in_helper(obj1
);
7220 if (arg2
== NULL
) SWIG_fail
;
7224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7225 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7227 wxPyEndAllowThreads(__tstate
);
7228 if (PyErr_Occurred()) SWIG_fail
;
7231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7247 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
*resultobj
;
7249 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7251 PyObject
* obj0
= 0 ;
7253 (char *) "self", NULL
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
7257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7279 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7280 PyObject
*resultobj
;
7281 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7283 PyObject
* obj0
= 0 ;
7285 (char *) "self", NULL
7288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
7289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7293 result
= wxNativeFontInfo___str__(arg1
);
7295 wxPyEndAllowThreads(__tstate
);
7296 if (PyErr_Occurred()) SWIG_fail
;
7300 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7302 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7311 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7312 PyObject
*resultobj
;
7313 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7314 wxString
*arg2
= 0 ;
7316 bool temp2
= False
;
7317 PyObject
* obj0
= 0 ;
7318 PyObject
* obj1
= 0 ;
7320 (char *) "self",(char *) "s", NULL
7323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
7324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7327 arg2
= wxString_in_helper(obj1
);
7328 if (arg2
== NULL
) SWIG_fail
;
7332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7333 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
7335 wxPyEndAllowThreads(__tstate
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7355 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7356 PyObject
*resultobj
;
7357 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7359 PyObject
* obj0
= 0 ;
7361 (char *) "self", NULL
7364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
7365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7376 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7378 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7387 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
7389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7390 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
7392 return Py_BuildValue((char *)"");
7394 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7395 PyObject
*resultobj
;
7396 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7397 wxString
*arg2
= (wxString
*) 0 ;
7398 bool temp2
= False
;
7399 PyObject
* obj0
= 0 ;
7400 PyObject
* obj1
= 0 ;
7402 (char *) "self",(char *) "facename", NULL
7405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7409 arg2
= wxString_in_helper(obj1
);
7410 if (arg2
== NULL
) SWIG_fail
;
7413 if (arg1
) (arg1
)->facename
= *arg2
;
7415 Py_INCREF(Py_None
); resultobj
= Py_None
;
7430 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7431 PyObject
*resultobj
;
7432 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7434 PyObject
* obj0
= 0 ;
7436 (char *) "self", NULL
7439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
7440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7442 result
= (wxString
*)& ((arg1
)->facename
);
7446 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7448 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7457 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7458 PyObject
*resultobj
;
7459 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7461 PyObject
* obj0
= 0 ;
7462 PyObject
* obj1
= 0 ;
7464 (char *) "self",(char *) "encoding", NULL
7467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7470 arg2
= (int)SWIG_As_int(obj1
);
7471 if (PyErr_Occurred()) SWIG_fail
;
7472 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
7474 Py_INCREF(Py_None
); resultobj
= Py_None
;
7481 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7482 PyObject
*resultobj
;
7483 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7485 PyObject
* obj0
= 0 ;
7487 (char *) "self", NULL
7490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
7491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7493 result
= (int) ((arg1
)->encoding
);
7495 resultobj
= SWIG_From_int((int)result
);
7502 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7503 PyObject
*resultobj
;
7504 wxNativeEncodingInfo
*result
;
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
7524 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
*resultobj
;
7526 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7527 PyObject
* obj0
= 0 ;
7529 (char *) "self", NULL
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
7533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7542 Py_INCREF(Py_None
); resultobj
= Py_None
;
7549 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
*resultobj
;
7551 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7552 wxString
*arg2
= 0 ;
7554 bool temp2
= False
;
7555 PyObject
* obj0
= 0 ;
7556 PyObject
* obj1
= 0 ;
7558 (char *) "self",(char *) "s", NULL
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7565 arg2
= wxString_in_helper(obj1
);
7566 if (arg2
== NULL
) SWIG_fail
;
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7593 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7594 PyObject
*resultobj
;
7595 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7597 PyObject
* obj0
= 0 ;
7599 (char *) "self", NULL
7602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
7603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7607 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7614 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7616 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7625 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
7627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7628 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
7630 return Py_BuildValue((char *)"");
7632 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
*resultobj
;
7635 wxNativeEncodingInfo
*result
;
7636 PyObject
* obj0
= 0 ;
7638 (char *) "encoding", NULL
7641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
7642 arg1
= (int)SWIG_As_int(obj0
);
7643 if (PyErr_Occurred()) SWIG_fail
;
7645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7646 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
7648 wxPyEndAllowThreads(__tstate
);
7649 if (PyErr_Occurred()) SWIG_fail
;
7651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
7658 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7659 PyObject
*resultobj
;
7660 wxNativeEncodingInfo
*arg1
= 0 ;
7662 PyObject
* obj0
= 0 ;
7664 (char *) "info", NULL
7667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
7668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7669 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7672 PyErr_SetString(PyExc_TypeError
,"null reference");
7676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7677 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
7679 wxPyEndAllowThreads(__tstate
);
7680 if (PyErr_Occurred()) SWIG_fail
;
7683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7691 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
*resultobj
;
7693 wxFontMapper
*result
;
7698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7701 result
= (wxFontMapper
*)new wxFontMapper();
7703 wxPyEndAllowThreads(__tstate
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7713 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
*resultobj
;
7715 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7716 PyObject
* obj0
= 0 ;
7718 (char *) "self", NULL
7721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7728 wxPyEndAllowThreads(__tstate
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7731 Py_INCREF(Py_None
); resultobj
= Py_None
;
7738 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7739 PyObject
*resultobj
;
7740 wxFontMapper
*result
;
7745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7748 result
= (wxFontMapper
*)wxFontMapper::Get();
7750 wxPyEndAllowThreads(__tstate
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7760 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7761 PyObject
*resultobj
;
7762 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7763 wxFontMapper
*result
;
7764 PyObject
* obj0
= 0 ;
7766 (char *) "mapper", NULL
7769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7774 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7786 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7787 PyObject
*resultobj
;
7788 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7789 wxString
*arg2
= 0 ;
7790 bool arg3
= (bool) True
;
7792 bool temp2
= False
;
7793 PyObject
* obj0
= 0 ;
7794 PyObject
* obj1
= 0 ;
7795 PyObject
* obj2
= 0 ;
7797 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7804 arg2
= wxString_in_helper(obj1
);
7805 if (arg2
== NULL
) SWIG_fail
;
7809 arg3
= (bool)SWIG_As_bool(obj2
);
7810 if (PyErr_Occurred()) SWIG_fail
;
7813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7814 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7816 wxPyEndAllowThreads(__tstate
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7819 resultobj
= SWIG_From_int((int)result
);
7834 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
*resultobj
;
7841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7844 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7846 wxPyEndAllowThreads(__tstate
);
7847 if (PyErr_Occurred()) SWIG_fail
;
7849 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7856 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7857 PyObject
*resultobj
;
7860 PyObject
* obj0
= 0 ;
7865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7866 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7870 result
= (int)wxFontMapper::GetEncoding(arg1
);
7872 wxPyEndAllowThreads(__tstate
);
7873 if (PyErr_Occurred()) SWIG_fail
;
7875 resultobj
= SWIG_From_int((int)result
);
7882 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
*resultobj
;
7886 PyObject
* obj0
= 0 ;
7888 (char *) "encoding", NULL
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7892 arg1
= (int)SWIG_As_int(obj0
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7914 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
*resultobj
;
7918 PyObject
* obj0
= 0 ;
7920 (char *) "encoding", NULL
7923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7924 arg1
= (int)SWIG_As_int(obj0
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7928 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7930 wxPyEndAllowThreads(__tstate
);
7931 if (PyErr_Occurred()) SWIG_fail
;
7935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7946 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7947 PyObject
*resultobj
;
7948 wxString
*arg1
= 0 ;
7950 bool temp1
= False
;
7951 PyObject
* obj0
= 0 ;
7953 (char *) "name", NULL
7956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7958 arg1
= wxString_in_helper(obj0
);
7959 if (arg1
== NULL
) SWIG_fail
;
7963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7964 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7966 wxPyEndAllowThreads(__tstate
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7969 resultobj
= SWIG_From_int((int)result
);
7984 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
*resultobj
;
7986 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7987 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7988 PyObject
* obj0
= 0 ;
7989 PyObject
* obj1
= 0 ;
7991 (char *) "self",(char *) "config", NULL
7994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8001 (arg1
)->SetConfig(arg2
);
8003 wxPyEndAllowThreads(__tstate
);
8004 if (PyErr_Occurred()) SWIG_fail
;
8006 Py_INCREF(Py_None
); resultobj
= Py_None
;
8013 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8014 PyObject
*resultobj
;
8015 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8016 wxString
*arg2
= 0 ;
8017 bool temp2
= False
;
8018 PyObject
* obj0
= 0 ;
8019 PyObject
* obj1
= 0 ;
8021 (char *) "self",(char *) "prefix", NULL
8024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
8025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8028 arg2
= wxString_in_helper(obj1
);
8029 if (arg2
== NULL
) SWIG_fail
;
8033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8034 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
8036 wxPyEndAllowThreads(__tstate
);
8037 if (PyErr_Occurred()) SWIG_fail
;
8039 Py_INCREF(Py_None
); resultobj
= Py_None
;
8054 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8055 PyObject
*resultobj
;
8061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 result
= wxFontMapper::GetDefaultConfigPath();
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8082 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
*resultobj
;
8084 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8086 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8087 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8088 bool arg4
= (bool) True
;
8090 bool temp3
= False
;
8091 PyObject
* obj0
= 0 ;
8092 PyObject
* obj1
= 0 ;
8093 PyObject
* obj2
= 0 ;
8094 PyObject
* obj3
= 0 ;
8096 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
8099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8102 arg2
= (int)SWIG_As_int(obj1
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8106 arg3
= wxString_in_helper(obj2
);
8107 if (arg3
== NULL
) SWIG_fail
;
8112 arg4
= (bool)SWIG_As_bool(obj3
);
8113 if (PyErr_Occurred()) SWIG_fail
;
8116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8117 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
8119 wxPyEndAllowThreads(__tstate
);
8120 if (PyErr_Occurred()) SWIG_fail
;
8137 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8138 PyObject
*resultobj
;
8139 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8141 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8142 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8144 bool temp3
= False
;
8145 PyObject
* obj0
= 0 ;
8146 PyObject
* obj1
= 0 ;
8147 PyObject
* obj2
= 0 ;
8149 (char *) "self",(char *) "encoding",(char *) "facename", NULL
8152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8155 arg2
= (int)SWIG_As_int(obj1
);
8156 if (PyErr_Occurred()) SWIG_fail
;
8159 arg3
= wxString_in_helper(obj2
);
8160 if (arg3
== NULL
) SWIG_fail
;
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
8168 wxPyEndAllowThreads(__tstate
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8188 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8189 PyObject
*resultobj
;
8190 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8191 wxWindow
*arg2
= (wxWindow
*) 0 ;
8192 PyObject
* obj0
= 0 ;
8193 PyObject
* obj1
= 0 ;
8195 (char *) "self",(char *) "parent", NULL
8198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
8199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8201 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8205 (arg1
)->SetDialogParent(arg2
);
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8210 Py_INCREF(Py_None
); resultobj
= Py_None
;
8217 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
*resultobj
;
8219 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8220 wxString
*arg2
= 0 ;
8221 bool temp2
= False
;
8222 PyObject
* obj0
= 0 ;
8223 PyObject
* obj1
= 0 ;
8225 (char *) "self",(char *) "title", NULL
8228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
8229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8232 arg2
= wxString_in_helper(obj1
);
8233 if (arg2
== NULL
) SWIG_fail
;
8237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8238 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
8240 wxPyEndAllowThreads(__tstate
);
8241 if (PyErr_Occurred()) SWIG_fail
;
8243 Py_INCREF(Py_None
); resultobj
= Py_None
;
8258 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
8260 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8261 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
8263 return Py_BuildValue((char *)"");
8265 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8266 PyObject
*resultobj
;
8271 bool arg5
= (bool) False
;
8272 wxString
const &arg6_defvalue
= wxPyEmptyString
;
8273 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8274 int arg7
= (int) wxFONTENCODING_DEFAULT
;
8276 bool temp6
= False
;
8277 PyObject
* obj0
= 0 ;
8278 PyObject
* obj1
= 0 ;
8279 PyObject
* obj2
= 0 ;
8280 PyObject
* obj3
= 0 ;
8281 PyObject
* obj4
= 0 ;
8282 PyObject
* obj5
= 0 ;
8283 PyObject
* obj6
= 0 ;
8285 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
8288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8289 arg1
= (int)SWIG_As_int(obj0
);
8290 if (PyErr_Occurred()) SWIG_fail
;
8291 arg2
= (int)SWIG_As_int(obj1
);
8292 if (PyErr_Occurred()) SWIG_fail
;
8293 arg3
= (int)SWIG_As_int(obj2
);
8294 if (PyErr_Occurred()) SWIG_fail
;
8295 arg4
= (int)SWIG_As_int(obj3
);
8296 if (PyErr_Occurred()) SWIG_fail
;
8298 arg5
= (bool)SWIG_As_bool(obj4
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8303 arg6
= wxString_in_helper(obj5
);
8304 if (arg6
== NULL
) SWIG_fail
;
8309 arg7
= (int)SWIG_As_int(obj6
);
8310 if (PyErr_Occurred()) SWIG_fail
;
8313 if (!wxPyCheckForApp()) SWIG_fail
;
8314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8315 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
8317 wxPyEndAllowThreads(__tstate
);
8318 if (PyErr_Occurred()) SWIG_fail
;
8320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8335 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8336 PyObject
*resultobj
;
8337 wxFont
*arg1
= (wxFont
*) 0 ;
8338 PyObject
* obj0
= 0 ;
8340 (char *) "self", NULL
8343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
8344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 wxPyEndAllowThreads(__tstate
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8353 Py_INCREF(Py_None
); resultobj
= Py_None
;
8360 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8361 PyObject
*resultobj
;
8362 wxNativeFontInfo
*arg1
= 0 ;
8364 PyObject
* obj0
= 0 ;
8366 (char *) "info", NULL
8369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
8370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
8371 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8374 PyErr_SetString(PyExc_TypeError
,"null reference");
8378 if (!wxPyCheckForApp()) SWIG_fail
;
8379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8380 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
8382 wxPyEndAllowThreads(__tstate
);
8383 if (PyErr_Occurred()) SWIG_fail
;
8385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8392 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8393 PyObject
*resultobj
;
8394 wxString
*arg1
= 0 ;
8396 bool temp1
= False
;
8397 PyObject
* obj0
= 0 ;
8399 (char *) "info", NULL
8402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
8404 arg1
= wxString_in_helper(obj0
);
8405 if (arg1
== NULL
) SWIG_fail
;
8409 if (!wxPyCheckForApp()) SWIG_fail
;
8410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8411 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8431 static PyObject
*_wrap_new_Font2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
*resultobj
;
8435 int arg3
= (int) wxFONTFLAG_DEFAULT
;
8436 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8437 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8438 int arg5
= (int) wxFONTENCODING_DEFAULT
;
8440 bool temp4
= False
;
8441 PyObject
* obj0
= 0 ;
8442 PyObject
* obj1
= 0 ;
8443 PyObject
* obj2
= 0 ;
8444 PyObject
* obj3
= 0 ;
8445 PyObject
* obj4
= 0 ;
8447 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
8450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8451 arg1
= (int)SWIG_As_int(obj0
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8453 arg2
= (int)SWIG_As_int(obj1
);
8454 if (PyErr_Occurred()) SWIG_fail
;
8456 arg3
= (int)SWIG_As_int(obj2
);
8457 if (PyErr_Occurred()) SWIG_fail
;
8461 arg4
= wxString_in_helper(obj3
);
8462 if (arg4
== NULL
) SWIG_fail
;
8467 arg5
= (int)SWIG_As_int(obj4
);
8468 if (PyErr_Occurred()) SWIG_fail
;
8471 if (!wxPyCheckForApp()) SWIG_fail
;
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8493 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8494 PyObject
*resultobj
;
8495 wxFont
*arg1
= (wxFont
*) 0 ;
8497 PyObject
* obj0
= 0 ;
8499 (char *) "self", NULL
8502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
8503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8507 result
= (bool)((wxFont
const *)arg1
)->Ok();
8509 wxPyEndAllowThreads(__tstate
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8521 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8522 PyObject
*resultobj
;
8523 wxFont
*arg1
= (wxFont
*) 0 ;
8524 wxFont
*arg2
= (wxFont
*) 0 ;
8526 PyObject
* obj0
= 0 ;
8527 PyObject
* obj1
= 0 ;
8529 (char *) "self",(char *) "other", NULL
8532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
8533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8539 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
8541 wxPyEndAllowThreads(__tstate
);
8542 if (PyErr_Occurred()) SWIG_fail
;
8545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8553 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8554 PyObject
*resultobj
;
8555 wxFont
*arg1
= (wxFont
*) 0 ;
8556 wxFont
*arg2
= (wxFont
*) 0 ;
8558 PyObject
* obj0
= 0 ;
8559 PyObject
* obj1
= 0 ;
8561 (char *) "self",(char *) "other", NULL
8564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
8565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
8573 wxPyEndAllowThreads(__tstate
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8585 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8586 PyObject
*resultobj
;
8587 wxFont
*arg1
= (wxFont
*) 0 ;
8589 PyObject
* obj0
= 0 ;
8591 (char *) "self", NULL
8594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
8595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8599 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
8601 wxPyEndAllowThreads(__tstate
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8604 resultobj
= SWIG_From_int((int)result
);
8611 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8612 PyObject
*resultobj
;
8613 wxFont
*arg1
= (wxFont
*) 0 ;
8615 PyObject
* obj0
= 0 ;
8617 (char *) "self", NULL
8620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
8621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8625 result
= (int)((wxFont
const *)arg1
)->GetFamily();
8627 wxPyEndAllowThreads(__tstate
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8630 resultobj
= SWIG_From_int((int)result
);
8637 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8638 PyObject
*resultobj
;
8639 wxFont
*arg1
= (wxFont
*) 0 ;
8641 PyObject
* obj0
= 0 ;
8643 (char *) "self", NULL
8646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
8647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 result
= (int)((wxFont
const *)arg1
)->GetStyle();
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 resultobj
= SWIG_From_int((int)result
);
8663 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8664 PyObject
*resultobj
;
8665 wxFont
*arg1
= (wxFont
*) 0 ;
8667 PyObject
* obj0
= 0 ;
8669 (char *) "self", NULL
8672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
8673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8677 result
= (int)((wxFont
const *)arg1
)->GetWeight();
8679 wxPyEndAllowThreads(__tstate
);
8680 if (PyErr_Occurred()) SWIG_fail
;
8682 resultobj
= SWIG_From_int((int)result
);
8689 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8690 PyObject
*resultobj
;
8691 wxFont
*arg1
= (wxFont
*) 0 ;
8693 PyObject
* obj0
= 0 ;
8695 (char *) "self", NULL
8698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8703 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8705 wxPyEndAllowThreads(__tstate
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8717 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8718 PyObject
*resultobj
;
8719 wxFont
*arg1
= (wxFont
*) 0 ;
8721 PyObject
* obj0
= 0 ;
8723 (char *) "self", NULL
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8731 result
= ((wxFont
const *)arg1
)->GetFaceName();
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8738 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8740 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8749 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8750 PyObject
*resultobj
;
8751 wxFont
*arg1
= (wxFont
*) 0 ;
8753 PyObject
* obj0
= 0 ;
8755 (char *) "self", NULL
8758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8763 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8765 wxPyEndAllowThreads(__tstate
);
8766 if (PyErr_Occurred()) SWIG_fail
;
8768 resultobj
= SWIG_From_int((int)result
);
8775 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8776 PyObject
*resultobj
;
8777 wxFont
*arg1
= (wxFont
*) 0 ;
8778 wxNativeFontInfo
*result
;
8779 PyObject
* obj0
= 0 ;
8781 (char *) "self", NULL
8784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8789 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8791 wxPyEndAllowThreads(__tstate
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8801 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8802 PyObject
*resultobj
;
8803 wxFont
*arg1
= (wxFont
*) 0 ;
8805 PyObject
* obj0
= 0 ;
8807 (char *) "self", NULL
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8815 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8817 wxPyEndAllowThreads(__tstate
);
8818 if (PyErr_Occurred()) SWIG_fail
;
8821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8829 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
;
8831 wxFont
*arg1
= (wxFont
*) 0 ;
8833 PyObject
* obj0
= 0 ;
8835 (char *) "self", NULL
8838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8843 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8845 wxPyEndAllowThreads(__tstate
);
8846 if (PyErr_Occurred()) SWIG_fail
;
8850 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8852 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8861 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8862 PyObject
*resultobj
;
8863 wxFont
*arg1
= (wxFont
*) 0 ;
8865 PyObject
* obj0
= 0 ;
8867 (char *) "self", NULL
8870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8875 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8877 wxPyEndAllowThreads(__tstate
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8882 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8884 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8893 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
*resultobj
;
8895 wxFont
*arg1
= (wxFont
*) 0 ;
8897 PyObject
* obj0
= 0 ;
8898 PyObject
* obj1
= 0 ;
8900 (char *) "self",(char *) "pointSize", NULL
8903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8906 arg2
= (int)SWIG_As_int(obj1
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8910 (arg1
)->SetPointSize(arg2
);
8912 wxPyEndAllowThreads(__tstate
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8915 Py_INCREF(Py_None
); resultobj
= Py_None
;
8922 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
*resultobj
;
8924 wxFont
*arg1
= (wxFont
*) 0 ;
8926 PyObject
* obj0
= 0 ;
8927 PyObject
* obj1
= 0 ;
8929 (char *) "self",(char *) "family", NULL
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8935 arg2
= (int)SWIG_As_int(obj1
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8939 (arg1
)->SetFamily(arg2
);
8941 wxPyEndAllowThreads(__tstate
);
8942 if (PyErr_Occurred()) SWIG_fail
;
8944 Py_INCREF(Py_None
); resultobj
= Py_None
;
8951 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8952 PyObject
*resultobj
;
8953 wxFont
*arg1
= (wxFont
*) 0 ;
8955 PyObject
* obj0
= 0 ;
8956 PyObject
* obj1
= 0 ;
8958 (char *) "self",(char *) "style", NULL
8961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8964 arg2
= (int)SWIG_As_int(obj1
);
8965 if (PyErr_Occurred()) SWIG_fail
;
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 (arg1
)->SetStyle(arg2
);
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8973 Py_INCREF(Py_None
); resultobj
= Py_None
;
8980 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
*resultobj
;
8982 wxFont
*arg1
= (wxFont
*) 0 ;
8984 PyObject
* obj0
= 0 ;
8985 PyObject
* obj1
= 0 ;
8987 (char *) "self",(char *) "weight", NULL
8990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8993 arg2
= (int)SWIG_As_int(obj1
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8997 (arg1
)->SetWeight(arg2
);
8999 wxPyEndAllowThreads(__tstate
);
9000 if (PyErr_Occurred()) SWIG_fail
;
9002 Py_INCREF(Py_None
); resultobj
= Py_None
;
9009 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9010 PyObject
*resultobj
;
9011 wxFont
*arg1
= (wxFont
*) 0 ;
9012 wxString
*arg2
= 0 ;
9013 bool temp2
= False
;
9014 PyObject
* obj0
= 0 ;
9015 PyObject
* obj1
= 0 ;
9017 (char *) "self",(char *) "faceName", NULL
9020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
9021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9024 arg2
= wxString_in_helper(obj1
);
9025 if (arg2
== NULL
) SWIG_fail
;
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 (arg1
)->SetFaceName((wxString
const &)*arg2
);
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9035 Py_INCREF(Py_None
); resultobj
= Py_None
;
9050 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9051 PyObject
*resultobj
;
9052 wxFont
*arg1
= (wxFont
*) 0 ;
9054 PyObject
* obj0
= 0 ;
9055 PyObject
* obj1
= 0 ;
9057 (char *) "self",(char *) "underlined", NULL
9060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
9061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9063 arg2
= (bool)SWIG_As_bool(obj1
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9067 (arg1
)->SetUnderlined(arg2
);
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9072 Py_INCREF(Py_None
); resultobj
= Py_None
;
9079 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9080 PyObject
*resultobj
;
9081 wxFont
*arg1
= (wxFont
*) 0 ;
9083 PyObject
* obj0
= 0 ;
9084 PyObject
* obj1
= 0 ;
9086 (char *) "self",(char *) "encoding", NULL
9089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
9090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9092 arg2
= (int)SWIG_As_int(obj1
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9096 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
9098 wxPyEndAllowThreads(__tstate
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9101 Py_INCREF(Py_None
); resultobj
= Py_None
;
9108 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9109 PyObject
*resultobj
;
9110 wxFont
*arg1
= (wxFont
*) 0 ;
9111 wxNativeFontInfo
*arg2
= 0 ;
9112 PyObject
* obj0
= 0 ;
9113 PyObject
* obj1
= 0 ;
9115 (char *) "self",(char *) "info", NULL
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
9119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
9122 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9125 PyErr_SetString(PyExc_TypeError
,"null reference");
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 Py_INCREF(Py_None
); resultobj
= Py_None
;
9142 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
;
9144 wxFont
*arg1
= (wxFont
*) 0 ;
9145 wxString
*arg2
= 0 ;
9146 bool temp2
= False
;
9147 PyObject
* obj0
= 0 ;
9148 PyObject
* obj1
= 0 ;
9150 (char *) "self",(char *) "info", NULL
9153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
9154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9157 arg2
= wxString_in_helper(obj1
);
9158 if (arg2
== NULL
) SWIG_fail
;
9162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9163 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
9165 wxPyEndAllowThreads(__tstate
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9168 Py_INCREF(Py_None
); resultobj
= Py_None
;
9183 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9184 PyObject
*resultobj
;
9185 wxFont
*arg1
= (wxFont
*) 0 ;
9186 wxString
*arg2
= 0 ;
9187 bool temp2
= False
;
9188 PyObject
* obj0
= 0 ;
9189 PyObject
* obj1
= 0 ;
9191 (char *) "self",(char *) "info", NULL
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
9195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9198 arg2
= wxString_in_helper(obj1
);
9199 if (arg2
== NULL
) SWIG_fail
;
9203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9204 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
9206 wxPyEndAllowThreads(__tstate
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9209 Py_INCREF(Py_None
); resultobj
= Py_None
;
9224 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9225 PyObject
*resultobj
;
9226 wxFont
*arg1
= (wxFont
*) 0 ;
9228 PyObject
* obj0
= 0 ;
9230 (char *) "self", NULL
9233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
9234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9238 result
= ((wxFont
const *)arg1
)->GetFamilyString();
9240 wxPyEndAllowThreads(__tstate
);
9241 if (PyErr_Occurred()) SWIG_fail
;
9245 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9247 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9256 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9257 PyObject
*resultobj
;
9258 wxFont
*arg1
= (wxFont
*) 0 ;
9260 PyObject
* obj0
= 0 ;
9262 (char *) "self", NULL
9265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
9266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9270 result
= ((wxFont
const *)arg1
)->GetStyleString();
9272 wxPyEndAllowThreads(__tstate
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9277 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9279 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9288 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
*resultobj
;
9290 wxFont
*arg1
= (wxFont
*) 0 ;
9292 PyObject
* obj0
= 0 ;
9294 (char *) "self", NULL
9297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
9298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 result
= ((wxFont
const *)arg1
)->GetWeightString();
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9309 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9311 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9320 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9321 PyObject
*resultobj
;
9322 wxFont
*arg1
= (wxFont
*) 0 ;
9323 bool arg2
= (bool) True
;
9324 PyObject
* obj0
= 0 ;
9325 PyObject
* obj1
= 0 ;
9327 (char *) "self",(char *) "no", NULL
9330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
9331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9334 arg2
= (bool)SWIG_As_bool(obj1
);
9335 if (PyErr_Occurred()) SWIG_fail
;
9338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9339 (arg1
)->SetNoAntiAliasing(arg2
);
9341 wxPyEndAllowThreads(__tstate
);
9342 if (PyErr_Occurred()) SWIG_fail
;
9344 Py_INCREF(Py_None
); resultobj
= Py_None
;
9351 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9352 PyObject
*resultobj
;
9353 wxFont
*arg1
= (wxFont
*) 0 ;
9355 PyObject
* obj0
= 0 ;
9357 (char *) "self", NULL
9360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
9361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9379 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
;
9386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
9388 if (!wxPyCheckForApp()) SWIG_fail
;
9389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9390 result
= (int)wxFont::GetDefaultEncoding();
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9395 resultobj
= SWIG_From_int((int)result
);
9402 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
*resultobj
;
9405 PyObject
* obj0
= 0 ;
9407 (char *) "encoding", NULL
9410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
9411 arg1
= (int)SWIG_As_int(obj0
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9414 if (!wxPyCheckForApp()) SWIG_fail
;
9415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9416 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
9418 wxPyEndAllowThreads(__tstate
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9421 Py_INCREF(Py_None
); resultobj
= Py_None
;
9428 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
9430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9431 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
9433 return Py_BuildValue((char *)"");
9435 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9436 PyObject
*resultobj
;
9437 wxPyFontEnumerator
*result
;
9442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
9444 if (!wxPyCheckForApp()) SWIG_fail
;
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
9458 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9459 PyObject
*resultobj
;
9460 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9461 PyObject
* obj0
= 0 ;
9463 (char *) "self", NULL
9466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
9467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 wxPyEndAllowThreads(__tstate
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9476 Py_INCREF(Py_None
); resultobj
= Py_None
;
9483 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
*resultobj
;
9485 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9486 PyObject
*arg2
= (PyObject
*) 0 ;
9487 PyObject
*arg3
= (PyObject
*) 0 ;
9489 PyObject
* obj0
= 0 ;
9490 PyObject
* obj1
= 0 ;
9491 PyObject
* obj2
= 0 ;
9492 PyObject
* obj3
= 0 ;
9494 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9502 arg4
= (bool)SWIG_As_bool(obj3
);
9503 if (PyErr_Occurred()) SWIG_fail
;
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9511 Py_INCREF(Py_None
); resultobj
= Py_None
;
9518 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9519 PyObject
*resultobj
;
9520 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9521 int arg2
= (int) wxFONTENCODING_SYSTEM
;
9522 bool arg3
= (bool) False
;
9524 PyObject
* obj0
= 0 ;
9525 PyObject
* obj1
= 0 ;
9526 PyObject
* obj2
= 0 ;
9528 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
9531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9535 arg2
= (int)SWIG_As_int(obj1
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9539 arg3
= (bool)SWIG_As_bool(obj2
);
9540 if (PyErr_Occurred()) SWIG_fail
;
9543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9544 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
9546 wxPyEndAllowThreads(__tstate
);
9547 if (PyErr_Occurred()) SWIG_fail
;
9550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9558 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9559 PyObject
*resultobj
;
9560 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9561 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9562 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9564 bool temp2
= False
;
9565 PyObject
* obj0
= 0 ;
9566 PyObject
* obj1
= 0 ;
9568 (char *) "self",(char *) "facename", NULL
9571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
9572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9576 arg2
= wxString_in_helper(obj1
);
9577 if (arg2
== NULL
) SWIG_fail
;
9582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9583 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
9585 wxPyEndAllowThreads(__tstate
);
9586 if (PyErr_Occurred()) SWIG_fail
;
9589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9605 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9606 PyObject
*resultobj
;
9607 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9609 PyObject
* obj0
= 0 ;
9611 (char *) "self", NULL
9614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
9615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9619 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
9621 wxPyEndAllowThreads(__tstate
);
9622 if (PyErr_Occurred()) SWIG_fail
;
9631 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9632 PyObject
*resultobj
;
9633 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9635 PyObject
* obj0
= 0 ;
9637 (char *) "self", NULL
9640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
9641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9645 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9657 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
9659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9660 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
9662 return Py_BuildValue((char *)"");
9664 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9665 PyObject
*resultobj
;
9666 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9668 PyObject
* obj0
= 0 ;
9669 PyObject
* obj1
= 0 ;
9671 (char *) "self",(char *) "Language", NULL
9674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9677 arg2
= (int)SWIG_As_int(obj1
);
9678 if (PyErr_Occurred()) SWIG_fail
;
9679 if (arg1
) (arg1
)->Language
= arg2
;
9681 Py_INCREF(Py_None
); resultobj
= Py_None
;
9688 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
;
9690 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9692 PyObject
* obj0
= 0 ;
9694 (char *) "self", NULL
9697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9700 result
= (int) ((arg1
)->Language
);
9702 resultobj
= SWIG_From_int((int)result
);
9709 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
*resultobj
;
9711 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9712 wxString
*arg2
= (wxString
*) 0 ;
9713 bool temp2
= False
;
9714 PyObject
* obj0
= 0 ;
9715 PyObject
* obj1
= 0 ;
9717 (char *) "self",(char *) "CanonicalName", NULL
9720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9724 arg2
= wxString_in_helper(obj1
);
9725 if (arg2
== NULL
) SWIG_fail
;
9728 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9730 Py_INCREF(Py_None
); resultobj
= Py_None
;
9745 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9746 PyObject
*resultobj
;
9747 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9749 PyObject
* obj0
= 0 ;
9751 (char *) "self", NULL
9754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9757 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9761 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9763 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9772 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
*resultobj
;
9774 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9775 wxString
*arg2
= (wxString
*) 0 ;
9776 bool temp2
= False
;
9777 PyObject
* obj0
= 0 ;
9778 PyObject
* obj1
= 0 ;
9780 (char *) "self",(char *) "Description", NULL
9783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9787 arg2
= wxString_in_helper(obj1
);
9788 if (arg2
== NULL
) SWIG_fail
;
9791 if (arg1
) (arg1
)->Description
= *arg2
;
9793 Py_INCREF(Py_None
); resultobj
= Py_None
;
9808 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9809 PyObject
*resultobj
;
9810 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9812 PyObject
* obj0
= 0 ;
9814 (char *) "self", NULL
9817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9820 result
= (wxString
*)& ((arg1
)->Description
);
9824 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9826 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9835 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
9837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9838 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9840 return Py_BuildValue((char *)"");
9842 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
*resultobj
;
9844 int arg1
= (int) -1 ;
9845 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9847 PyObject
* obj0
= 0 ;
9848 PyObject
* obj1
= 0 ;
9850 (char *) "language",(char *) "flags", NULL
9853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9855 arg1
= (int)SWIG_As_int(obj0
);
9856 if (PyErr_Occurred()) SWIG_fail
;
9859 arg2
= (int)SWIG_As_int(obj1
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9864 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9876 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9877 PyObject
*resultobj
;
9878 wxLocale
*arg1
= (wxLocale
*) 0 ;
9879 PyObject
* obj0
= 0 ;
9881 (char *) "self", NULL
9884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 wxPyEndAllowThreads(__tstate
);
9892 if (PyErr_Occurred()) SWIG_fail
;
9894 Py_INCREF(Py_None
); resultobj
= Py_None
;
9901 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9902 PyObject
*resultobj
;
9903 wxLocale
*arg1
= (wxLocale
*) 0 ;
9904 wxString
*arg2
= 0 ;
9905 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9906 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9907 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9908 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9909 bool arg5
= (bool) True
;
9910 bool arg6
= (bool) False
;
9912 bool temp2
= False
;
9913 bool temp3
= False
;
9914 bool temp4
= False
;
9915 PyObject
* obj0
= 0 ;
9916 PyObject
* obj1
= 0 ;
9917 PyObject
* obj2
= 0 ;
9918 PyObject
* obj3
= 0 ;
9919 PyObject
* obj4
= 0 ;
9920 PyObject
* obj5
= 0 ;
9922 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9929 arg2
= wxString_in_helper(obj1
);
9930 if (arg2
== NULL
) SWIG_fail
;
9935 arg3
= wxString_in_helper(obj2
);
9936 if (arg3
== NULL
) SWIG_fail
;
9942 arg4
= wxString_in_helper(obj3
);
9943 if (arg4
== NULL
) SWIG_fail
;
9948 arg5
= (bool)SWIG_As_bool(obj4
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9952 arg6
= (bool)SWIG_As_bool(obj5
);
9953 if (PyErr_Occurred()) SWIG_fail
;
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9959 wxPyEndAllowThreads(__tstate
);
9960 if (PyErr_Occurred()) SWIG_fail
;
9963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9995 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9996 PyObject
*resultobj
;
9997 wxLocale
*arg1
= (wxLocale
*) 0 ;
9998 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9999 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
10001 PyObject
* obj0
= 0 ;
10002 PyObject
* obj1
= 0 ;
10003 PyObject
* obj2
= 0 ;
10004 char *kwnames
[] = {
10005 (char *) "self",(char *) "language",(char *) "flags", NULL
10008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10012 arg2
= (int)SWIG_As_int(obj1
);
10013 if (PyErr_Occurred()) SWIG_fail
;
10016 arg3
= (int)SWIG_As_int(obj2
);
10017 if (PyErr_Occurred()) SWIG_fail
;
10020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10021 result
= (bool)(arg1
)->Init(arg2
,arg3
);
10023 wxPyEndAllowThreads(__tstate
);
10024 if (PyErr_Occurred()) SWIG_fail
;
10027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10035 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10036 PyObject
*resultobj
;
10038 char *kwnames
[] = {
10042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 result
= (int)wxLocale::GetSystemLanguage();
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10050 resultobj
= SWIG_From_int((int)result
);
10057 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
*resultobj
;
10060 char *kwnames
[] = {
10064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 result
= (int)wxLocale::GetSystemEncoding();
10069 wxPyEndAllowThreads(__tstate
);
10070 if (PyErr_Occurred()) SWIG_fail
;
10072 resultobj
= SWIG_From_int((int)result
);
10079 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10080 PyObject
*resultobj
;
10082 char *kwnames
[] = {
10086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
10088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10089 result
= wxLocale::GetSystemEncodingName();
10091 wxPyEndAllowThreads(__tstate
);
10092 if (PyErr_Occurred()) SWIG_fail
;
10096 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10098 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10107 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10108 PyObject
*resultobj
;
10109 wxLocale
*arg1
= (wxLocale
*) 0 ;
10111 PyObject
* obj0
= 0 ;
10112 char *kwnames
[] = {
10113 (char *) "self", NULL
10116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
10117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10121 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
10123 wxPyEndAllowThreads(__tstate
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10135 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10136 PyObject
*resultobj
;
10137 wxLocale
*arg1
= (wxLocale
*) 0 ;
10139 PyObject
* obj0
= 0 ;
10140 char *kwnames
[] = {
10141 (char *) "self", NULL
10144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
10145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10149 result
= ((wxLocale
const *)arg1
)->GetLocale();
10151 wxPyEndAllowThreads(__tstate
);
10152 if (PyErr_Occurred()) SWIG_fail
;
10156 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10158 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10167 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10168 PyObject
*resultobj
;
10169 wxLocale
*arg1
= (wxLocale
*) 0 ;
10171 PyObject
* obj0
= 0 ;
10172 char *kwnames
[] = {
10173 (char *) "self", NULL
10176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
10177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10181 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
10183 wxPyEndAllowThreads(__tstate
);
10184 if (PyErr_Occurred()) SWIG_fail
;
10186 resultobj
= SWIG_From_int((int)result
);
10193 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10194 PyObject
*resultobj
;
10195 wxLocale
*arg1
= (wxLocale
*) 0 ;
10197 PyObject
* obj0
= 0 ;
10198 char *kwnames
[] = {
10199 (char *) "self", NULL
10202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
10203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10207 result
= ((wxLocale
const *)arg1
)->GetSysName();
10209 wxPyEndAllowThreads(__tstate
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10214 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10216 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10225 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10226 PyObject
*resultobj
;
10227 wxLocale
*arg1
= (wxLocale
*) 0 ;
10229 PyObject
* obj0
= 0 ;
10230 char *kwnames
[] = {
10231 (char *) "self", NULL
10234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
10235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10239 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
10241 wxPyEndAllowThreads(__tstate
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10246 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10248 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10257 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10258 PyObject
*resultobj
;
10259 wxString
*arg1
= 0 ;
10260 bool temp1
= False
;
10261 PyObject
* obj0
= 0 ;
10262 char *kwnames
[] = {
10263 (char *) "prefix", NULL
10266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
10268 arg1
= wxString_in_helper(obj0
);
10269 if (arg1
== NULL
) SWIG_fail
;
10273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10274 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
10276 wxPyEndAllowThreads(__tstate
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10279 Py_INCREF(Py_None
); resultobj
= Py_None
;
10294 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
*resultobj
;
10296 wxLocale
*arg1
= (wxLocale
*) 0 ;
10297 wxString
*arg2
= 0 ;
10299 bool temp2
= False
;
10300 PyObject
* obj0
= 0 ;
10301 PyObject
* obj1
= 0 ;
10302 char *kwnames
[] = {
10303 (char *) "self",(char *) "szDomain", NULL
10306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
10307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10310 arg2
= wxString_in_helper(obj1
);
10311 if (arg2
== NULL
) SWIG_fail
;
10315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10316 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
10318 wxPyEndAllowThreads(__tstate
);
10319 if (PyErr_Occurred()) SWIG_fail
;
10322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10338 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10339 PyObject
*resultobj
;
10340 wxLocale
*arg1
= (wxLocale
*) 0 ;
10341 wxString
*arg2
= 0 ;
10343 bool temp2
= False
;
10344 PyObject
* obj0
= 0 ;
10345 PyObject
* obj1
= 0 ;
10346 char *kwnames
[] = {
10347 (char *) "self",(char *) "szDomain", NULL
10350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
10351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10354 arg2
= wxString_in_helper(obj1
);
10355 if (arg2
== NULL
) SWIG_fail
;
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10382 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10383 PyObject
*resultobj
;
10385 wxLanguageInfo
*result
;
10386 PyObject
* obj0
= 0 ;
10387 char *kwnames
[] = {
10388 (char *) "lang", NULL
10391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
10392 arg1
= (int)SWIG_As_int(obj0
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10408 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10409 PyObject
*resultobj
;
10412 PyObject
* obj0
= 0 ;
10413 char *kwnames
[] = {
10414 (char *) "lang", NULL
10417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
10418 arg1
= (int)SWIG_As_int(obj0
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10422 result
= wxLocale::GetLanguageName(arg1
);
10424 wxPyEndAllowThreads(__tstate
);
10425 if (PyErr_Occurred()) SWIG_fail
;
10429 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10431 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10440 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10441 PyObject
*resultobj
;
10442 wxString
*arg1
= 0 ;
10443 wxLanguageInfo
*result
;
10444 bool temp1
= False
;
10445 PyObject
* obj0
= 0 ;
10446 char *kwnames
[] = {
10447 (char *) "locale", NULL
10450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
10452 arg1
= wxString_in_helper(obj0
);
10453 if (arg1
== NULL
) SWIG_fail
;
10457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10458 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10478 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10479 PyObject
*resultobj
;
10480 wxLanguageInfo
*arg1
= 0 ;
10481 PyObject
* obj0
= 0 ;
10482 char *kwnames
[] = {
10483 (char *) "info", NULL
10486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
10487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10488 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10490 if (arg1
== NULL
) {
10491 PyErr_SetString(PyExc_TypeError
,"null reference");
10495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10496 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
10498 wxPyEndAllowThreads(__tstate
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10501 Py_INCREF(Py_None
); resultobj
= Py_None
;
10508 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10509 PyObject
*resultobj
;
10510 wxLocale
*arg1
= (wxLocale
*) 0 ;
10511 wxString
*arg2
= 0 ;
10512 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10513 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10515 bool temp2
= False
;
10516 bool temp3
= False
;
10517 PyObject
* obj0
= 0 ;
10518 PyObject
* obj1
= 0 ;
10519 PyObject
* obj2
= 0 ;
10520 char *kwnames
[] = {
10521 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
10524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10528 arg2
= wxString_in_helper(obj1
);
10529 if (arg2
== NULL
) SWIG_fail
;
10534 arg3
= wxString_in_helper(obj2
);
10535 if (arg3
== NULL
) SWIG_fail
;
10540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10541 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10543 wxPyEndAllowThreads(__tstate
);
10544 if (PyErr_Occurred()) SWIG_fail
;
10548 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10550 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10575 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10576 PyObject
*resultobj
;
10577 wxLocale
*arg1
= (wxLocale
*) 0 ;
10579 PyObject
* obj0
= 0 ;
10580 char *kwnames
[] = {
10581 (char *) "self", NULL
10584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
10585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
10591 result
= (wxString
*) &_result_ref
;
10594 wxPyEndAllowThreads(__tstate
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10599 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10601 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10610 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
10612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10613 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
10615 return Py_BuildValue((char *)"");
10617 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10618 PyObject
*resultobj
;
10620 char *kwnames
[] = {
10624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
10626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10627 result
= (wxLocale
*)wxGetLocale();
10629 wxPyEndAllowThreads(__tstate
);
10630 if (PyErr_Occurred()) SWIG_fail
;
10632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
10639 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
10640 PyObject
*resultobj
;
10641 wxString
*arg1
= 0 ;
10643 bool temp1
= False
;
10644 PyObject
* obj0
= 0 ;
10646 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
10648 arg1
= wxString_in_helper(obj0
);
10649 if (arg1
== NULL
) SWIG_fail
;
10653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 result
= wxGetTranslation((wxString
const &)*arg1
);
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10661 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10663 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10680 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
10681 PyObject
*resultobj
;
10682 wxString
*arg1
= 0 ;
10683 wxString
*arg2
= 0 ;
10686 bool temp1
= False
;
10687 bool temp2
= False
;
10688 PyObject
* obj0
= 0 ;
10689 PyObject
* obj1
= 0 ;
10690 PyObject
* obj2
= 0 ;
10692 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
10694 arg1
= wxString_in_helper(obj0
);
10695 if (arg1
== NULL
) SWIG_fail
;
10699 arg2
= wxString_in_helper(obj1
);
10700 if (arg2
== NULL
) SWIG_fail
;
10703 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10707 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10714 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10716 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10741 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10746 argc
= PyObject_Length(args
);
10747 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10748 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10753 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10756 return _wrap_GetTranslation__SWIG_0(self
,args
);
10762 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10766 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10769 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
10771 return _wrap_GetTranslation__SWIG_1(self
,args
);
10777 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10782 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10783 PyObject
*resultobj
;
10784 wxEncodingConverter
*result
;
10785 char *kwnames
[] = {
10789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10792 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10794 wxPyEndAllowThreads(__tstate
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10804 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
;
10806 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10807 PyObject
* obj0
= 0 ;
10808 char *kwnames
[] = {
10809 (char *) "self", NULL
10812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10819 wxPyEndAllowThreads(__tstate
);
10820 if (PyErr_Occurred()) SWIG_fail
;
10822 Py_INCREF(Py_None
); resultobj
= Py_None
;
10829 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10830 PyObject
*resultobj
;
10831 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10834 int arg4
= (int) wxCONVERT_STRICT
;
10836 PyObject
* obj0
= 0 ;
10837 PyObject
* obj1
= 0 ;
10838 PyObject
* obj2
= 0 ;
10839 PyObject
* obj3
= 0 ;
10840 char *kwnames
[] = {
10841 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10847 arg2
= (int)SWIG_As_int(obj1
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10849 arg3
= (int)SWIG_As_int(obj2
);
10850 if (PyErr_Occurred()) SWIG_fail
;
10852 arg4
= (int)SWIG_As_int(obj3
);
10853 if (PyErr_Occurred()) SWIG_fail
;
10856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10857 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10859 wxPyEndAllowThreads(__tstate
);
10860 if (PyErr_Occurred()) SWIG_fail
;
10863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10871 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10872 PyObject
*resultobj
;
10873 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10874 wxString
*arg2
= 0 ;
10876 bool temp2
= False
;
10877 PyObject
* obj0
= 0 ;
10878 PyObject
* obj1
= 0 ;
10879 char *kwnames
[] = {
10880 (char *) "self",(char *) "input", NULL
10883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10887 arg2
= wxString_in_helper(obj1
);
10888 if (arg2
== NULL
) SWIG_fail
;
10892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10900 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10902 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10919 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10920 PyObject
*resultobj
;
10922 int arg2
= (int) wxPLATFORM_CURRENT
;
10923 wxFontEncodingArray result
;
10924 PyObject
* obj0
= 0 ;
10925 PyObject
* obj1
= 0 ;
10926 char *kwnames
[] = {
10927 (char *) "enc",(char *) "platform", NULL
10930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10931 arg1
= (int)SWIG_As_int(obj0
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10934 arg2
= (int)SWIG_As_int(obj1
);
10935 if (PyErr_Occurred()) SWIG_fail
;
10938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10939 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10941 wxPyEndAllowThreads(__tstate
);
10942 if (PyErr_Occurred()) SWIG_fail
;
10945 resultobj
= PyList_New(0);
10946 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10947 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10948 PyList_Append(resultobj
, number
);
10958 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10959 PyObject
*resultobj
;
10961 wxFontEncodingArray result
;
10962 PyObject
* obj0
= 0 ;
10963 char *kwnames
[] = {
10964 (char *) "enc", NULL
10967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10968 arg1
= (int)SWIG_As_int(obj0
);
10969 if (PyErr_Occurred()) SWIG_fail
;
10971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10972 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10974 wxPyEndAllowThreads(__tstate
);
10975 if (PyErr_Occurred()) SWIG_fail
;
10978 resultobj
= PyList_New(0);
10979 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10980 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10981 PyList_Append(resultobj
, number
);
10991 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10992 PyObject
*resultobj
;
10996 PyObject
* obj0
= 0 ;
10997 PyObject
* obj1
= 0 ;
10998 char *kwnames
[] = {
10999 (char *) "encIn",(char *) "encOut", NULL
11002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
11003 arg1
= (int)SWIG_As_int(obj0
);
11004 if (PyErr_Occurred()) SWIG_fail
;
11005 arg2
= (int)SWIG_As_int(obj1
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11009 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11023 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
11025 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11026 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
11028 return Py_BuildValue((char *)"");
11030 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11031 PyObject
*resultobj
;
11032 wxDC
*arg1
= (wxDC
*) 0 ;
11033 PyObject
* obj0
= 0 ;
11034 char *kwnames
[] = {
11035 (char *) "self", NULL
11038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
11039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11045 wxPyEndAllowThreads(__tstate
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11048 Py_INCREF(Py_None
); resultobj
= Py_None
;
11055 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11056 PyObject
*resultobj
;
11057 wxDC
*arg1
= (wxDC
*) 0 ;
11058 PyObject
* obj0
= 0 ;
11059 char *kwnames
[] = {
11060 (char *) "self", NULL
11063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
11064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11068 (arg1
)->BeginDrawing();
11070 wxPyEndAllowThreads(__tstate
);
11071 if (PyErr_Occurred()) SWIG_fail
;
11073 Py_INCREF(Py_None
); resultobj
= Py_None
;
11080 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11081 PyObject
*resultobj
;
11082 wxDC
*arg1
= (wxDC
*) 0 ;
11083 PyObject
* obj0
= 0 ;
11084 char *kwnames
[] = {
11085 (char *) "self", NULL
11088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
11089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 (arg1
)->EndDrawing();
11095 wxPyEndAllowThreads(__tstate
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11098 Py_INCREF(Py_None
); resultobj
= Py_None
;
11105 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11106 PyObject
*resultobj
;
11107 wxDC
*arg1
= (wxDC
*) 0 ;
11110 wxColour
*arg4
= 0 ;
11111 int arg5
= (int) wxFLOOD_SURFACE
;
11114 PyObject
* obj0
= 0 ;
11115 PyObject
* obj1
= 0 ;
11116 PyObject
* obj2
= 0 ;
11117 PyObject
* obj3
= 0 ;
11118 PyObject
* obj4
= 0 ;
11119 char *kwnames
[] = {
11120 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
11123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11126 arg2
= (int)SWIG_As_int(obj1
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11128 arg3
= (int)SWIG_As_int(obj2
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11132 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
11135 arg5
= (int)SWIG_As_int(obj4
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11140 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
11142 wxPyEndAllowThreads(__tstate
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11154 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11155 PyObject
*resultobj
;
11156 wxDC
*arg1
= (wxDC
*) 0 ;
11157 wxPoint
*arg2
= 0 ;
11158 wxColour
*arg3
= 0 ;
11159 int arg4
= (int) wxFLOOD_SURFACE
;
11163 PyObject
* obj0
= 0 ;
11164 PyObject
* obj1
= 0 ;
11165 PyObject
* obj2
= 0 ;
11166 PyObject
* obj3
= 0 ;
11167 char *kwnames
[] = {
11168 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
11171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11176 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11180 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11183 arg4
= (int)SWIG_As_int(obj3
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11188 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11190 wxPyEndAllowThreads(__tstate
);
11191 if (PyErr_Occurred()) SWIG_fail
;
11194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11202 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11203 PyObject
*resultobj
;
11204 wxDC
*arg1
= (wxDC
*) 0 ;
11208 PyObject
* obj0
= 0 ;
11209 PyObject
* obj1
= 0 ;
11210 PyObject
* obj2
= 0 ;
11211 char *kwnames
[] = {
11212 (char *) "self",(char *) "x",(char *) "y", NULL
11215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11218 arg2
= (int)SWIG_As_int(obj1
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11220 arg3
= (int)SWIG_As_int(obj2
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11224 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
11226 wxPyEndAllowThreads(__tstate
);
11227 if (PyErr_Occurred()) SWIG_fail
;
11230 wxColour
* resultptr
;
11231 resultptr
= new wxColour((wxColour
&) result
);
11232 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11240 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11241 PyObject
*resultobj
;
11242 wxDC
*arg1
= (wxDC
*) 0 ;
11243 wxPoint
*arg2
= 0 ;
11246 PyObject
* obj0
= 0 ;
11247 PyObject
* obj1
= 0 ;
11248 char *kwnames
[] = {
11249 (char *) "self",(char *) "pt", NULL
11252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11257 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11261 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
11263 wxPyEndAllowThreads(__tstate
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11267 wxColour
* resultptr
;
11268 resultptr
= new wxColour((wxColour
&) result
);
11269 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11277 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11278 PyObject
*resultobj
;
11279 wxDC
*arg1
= (wxDC
*) 0 ;
11284 PyObject
* obj0
= 0 ;
11285 PyObject
* obj1
= 0 ;
11286 PyObject
* obj2
= 0 ;
11287 PyObject
* obj3
= 0 ;
11288 PyObject
* obj4
= 0 ;
11289 char *kwnames
[] = {
11290 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
11293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11296 arg2
= (int)SWIG_As_int(obj1
);
11297 if (PyErr_Occurred()) SWIG_fail
;
11298 arg3
= (int)SWIG_As_int(obj2
);
11299 if (PyErr_Occurred()) SWIG_fail
;
11300 arg4
= (int)SWIG_As_int(obj3
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11302 arg5
= (int)SWIG_As_int(obj4
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11306 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
11308 wxPyEndAllowThreads(__tstate
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11311 Py_INCREF(Py_None
); resultobj
= Py_None
;
11318 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11319 PyObject
*resultobj
;
11320 wxDC
*arg1
= (wxDC
*) 0 ;
11321 wxPoint
*arg2
= 0 ;
11322 wxPoint
*arg3
= 0 ;
11325 PyObject
* obj0
= 0 ;
11326 PyObject
* obj1
= 0 ;
11327 PyObject
* obj2
= 0 ;
11328 char *kwnames
[] = {
11329 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
11332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11337 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11341 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
11347 wxPyEndAllowThreads(__tstate
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11350 Py_INCREF(Py_None
); resultobj
= Py_None
;
11357 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11358 PyObject
*resultobj
;
11359 wxDC
*arg1
= (wxDC
*) 0 ;
11362 PyObject
* obj0
= 0 ;
11363 PyObject
* obj1
= 0 ;
11364 PyObject
* obj2
= 0 ;
11365 char *kwnames
[] = {
11366 (char *) "self",(char *) "x",(char *) "y", NULL
11369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11372 arg2
= (int)SWIG_As_int(obj1
);
11373 if (PyErr_Occurred()) SWIG_fail
;
11374 arg3
= (int)SWIG_As_int(obj2
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11378 (arg1
)->CrossHair(arg2
,arg3
);
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11383 Py_INCREF(Py_None
); resultobj
= Py_None
;
11390 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
;
11392 wxDC
*arg1
= (wxDC
*) 0 ;
11393 wxPoint
*arg2
= 0 ;
11395 PyObject
* obj0
= 0 ;
11396 PyObject
* obj1
= 0 ;
11397 char *kwnames
[] = {
11398 (char *) "self",(char *) "pt", NULL
11401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11406 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11410 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
11412 wxPyEndAllowThreads(__tstate
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11415 Py_INCREF(Py_None
); resultobj
= Py_None
;
11422 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11423 PyObject
*resultobj
;
11424 wxDC
*arg1
= (wxDC
*) 0 ;
11431 PyObject
* obj0
= 0 ;
11432 PyObject
* obj1
= 0 ;
11433 PyObject
* obj2
= 0 ;
11434 PyObject
* obj3
= 0 ;
11435 PyObject
* obj4
= 0 ;
11436 PyObject
* obj5
= 0 ;
11437 PyObject
* obj6
= 0 ;
11438 char *kwnames
[] = {
11439 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
11442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11445 arg2
= (int)SWIG_As_int(obj1
);
11446 if (PyErr_Occurred()) SWIG_fail
;
11447 arg3
= (int)SWIG_As_int(obj2
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11449 arg4
= (int)SWIG_As_int(obj3
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11451 arg5
= (int)SWIG_As_int(obj4
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11453 arg6
= (int)SWIG_As_int(obj5
);
11454 if (PyErr_Occurred()) SWIG_fail
;
11455 arg7
= (int)SWIG_As_int(obj6
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11459 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11464 Py_INCREF(Py_None
); resultobj
= Py_None
;
11471 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11472 PyObject
*resultobj
;
11473 wxDC
*arg1
= (wxDC
*) 0 ;
11474 wxPoint
*arg2
= 0 ;
11475 wxPoint
*arg3
= 0 ;
11476 wxPoint
*arg4
= 0 ;
11480 PyObject
* obj0
= 0 ;
11481 PyObject
* obj1
= 0 ;
11482 PyObject
* obj2
= 0 ;
11483 PyObject
* obj3
= 0 ;
11484 char *kwnames
[] = {
11485 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
11488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11493 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11497 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11501 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11505 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
11507 wxPyEndAllowThreads(__tstate
);
11508 if (PyErr_Occurred()) SWIG_fail
;
11510 Py_INCREF(Py_None
); resultobj
= Py_None
;
11517 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11518 PyObject
*resultobj
;
11519 wxDC
*arg1
= (wxDC
*) 0 ;
11524 PyObject
* obj0
= 0 ;
11525 PyObject
* obj1
= 0 ;
11526 PyObject
* obj2
= 0 ;
11527 PyObject
* obj3
= 0 ;
11528 PyObject
* obj4
= 0 ;
11529 char *kwnames
[] = {
11530 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11536 arg2
= (int)SWIG_As_int(obj1
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11538 arg3
= (int)SWIG_As_int(obj2
);
11539 if (PyErr_Occurred()) SWIG_fail
;
11540 arg4
= (int)SWIG_As_int(obj3
);
11541 if (PyErr_Occurred()) SWIG_fail
;
11542 arg5
= (int)SWIG_As_int(obj4
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11546 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
11548 wxPyEndAllowThreads(__tstate
);
11549 if (PyErr_Occurred()) SWIG_fail
;
11551 Py_INCREF(Py_None
); resultobj
= Py_None
;
11558 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11559 PyObject
*resultobj
;
11560 wxDC
*arg1
= (wxDC
*) 0 ;
11563 PyObject
* obj0
= 0 ;
11564 PyObject
* obj1
= 0 ;
11565 char *kwnames
[] = {
11566 (char *) "self",(char *) "rect", NULL
11569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11574 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11578 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
11580 wxPyEndAllowThreads(__tstate
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11583 Py_INCREF(Py_None
); resultobj
= Py_None
;
11590 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11591 PyObject
*resultobj
;
11592 wxDC
*arg1
= (wxDC
*) 0 ;
11599 PyObject
* obj0
= 0 ;
11600 PyObject
* obj1
= 0 ;
11601 PyObject
* obj2
= 0 ;
11602 PyObject
* obj3
= 0 ;
11603 PyObject
* obj4
= 0 ;
11604 PyObject
* obj5
= 0 ;
11605 PyObject
* obj6
= 0 ;
11606 char *kwnames
[] = {
11607 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
11610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11613 arg2
= (int)SWIG_As_int(obj1
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11615 arg3
= (int)SWIG_As_int(obj2
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11617 arg4
= (int)SWIG_As_int(obj3
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11619 arg5
= (int)SWIG_As_int(obj4
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11621 arg6
= (double)SWIG_As_double(obj5
);
11622 if (PyErr_Occurred()) SWIG_fail
;
11623 arg7
= (double)SWIG_As_double(obj6
);
11624 if (PyErr_Occurred()) SWIG_fail
;
11626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11627 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11629 wxPyEndAllowThreads(__tstate
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11632 Py_INCREF(Py_None
); resultobj
= Py_None
;
11639 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11640 PyObject
*resultobj
;
11641 wxDC
*arg1
= (wxDC
*) 0 ;
11642 wxPoint
*arg2
= 0 ;
11648 PyObject
* obj0
= 0 ;
11649 PyObject
* obj1
= 0 ;
11650 PyObject
* obj2
= 0 ;
11651 PyObject
* obj3
= 0 ;
11652 PyObject
* obj4
= 0 ;
11653 char *kwnames
[] = {
11654 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
11657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11662 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11666 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11668 arg4
= (double)SWIG_As_double(obj3
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11670 arg5
= (double)SWIG_As_double(obj4
);
11671 if (PyErr_Occurred()) SWIG_fail
;
11673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11674 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
11676 wxPyEndAllowThreads(__tstate
);
11677 if (PyErr_Occurred()) SWIG_fail
;
11679 Py_INCREF(Py_None
); resultobj
= Py_None
;
11686 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11687 PyObject
*resultobj
;
11688 wxDC
*arg1
= (wxDC
*) 0 ;
11691 PyObject
* obj0
= 0 ;
11692 PyObject
* obj1
= 0 ;
11693 PyObject
* obj2
= 0 ;
11694 char *kwnames
[] = {
11695 (char *) "self",(char *) "x",(char *) "y", NULL
11698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11701 arg2
= (int)SWIG_As_int(obj1
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11703 arg3
= (int)SWIG_As_int(obj2
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11707 (arg1
)->DrawPoint(arg2
,arg3
);
11709 wxPyEndAllowThreads(__tstate
);
11710 if (PyErr_Occurred()) SWIG_fail
;
11712 Py_INCREF(Py_None
); resultobj
= Py_None
;
11719 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11720 PyObject
*resultobj
;
11721 wxDC
*arg1
= (wxDC
*) 0 ;
11722 wxPoint
*arg2
= 0 ;
11724 PyObject
* obj0
= 0 ;
11725 PyObject
* obj1
= 0 ;
11726 char *kwnames
[] = {
11727 (char *) "self",(char *) "pt", NULL
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11735 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11739 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11741 wxPyEndAllowThreads(__tstate
);
11742 if (PyErr_Occurred()) SWIG_fail
;
11744 Py_INCREF(Py_None
); resultobj
= Py_None
;
11751 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11752 PyObject
*resultobj
;
11753 wxDC
*arg1
= (wxDC
*) 0 ;
11758 PyObject
* obj0
= 0 ;
11759 PyObject
* obj1
= 0 ;
11760 PyObject
* obj2
= 0 ;
11761 PyObject
* obj3
= 0 ;
11762 PyObject
* obj4
= 0 ;
11763 char *kwnames
[] = {
11764 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11770 arg2
= (int)SWIG_As_int(obj1
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11772 arg3
= (int)SWIG_As_int(obj2
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11774 arg4
= (int)SWIG_As_int(obj3
);
11775 if (PyErr_Occurred()) SWIG_fail
;
11776 arg5
= (int)SWIG_As_int(obj4
);
11777 if (PyErr_Occurred()) SWIG_fail
;
11779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11780 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11782 wxPyEndAllowThreads(__tstate
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11785 Py_INCREF(Py_None
); resultobj
= Py_None
;
11792 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
;
11794 wxDC
*arg1
= (wxDC
*) 0 ;
11797 PyObject
* obj0
= 0 ;
11798 PyObject
* obj1
= 0 ;
11799 char *kwnames
[] = {
11800 (char *) "self",(char *) "rect", NULL
11803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11808 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11814 wxPyEndAllowThreads(__tstate
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11817 Py_INCREF(Py_None
); resultobj
= Py_None
;
11824 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11825 PyObject
*resultobj
;
11826 wxDC
*arg1
= (wxDC
*) 0 ;
11827 wxPoint
*arg2
= 0 ;
11831 PyObject
* obj0
= 0 ;
11832 PyObject
* obj1
= 0 ;
11833 PyObject
* obj2
= 0 ;
11834 char *kwnames
[] = {
11835 (char *) "self",(char *) "pt",(char *) "sz", NULL
11838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11843 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11847 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11851 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11853 wxPyEndAllowThreads(__tstate
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11856 Py_INCREF(Py_None
); resultobj
= Py_None
;
11863 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11864 PyObject
*resultobj
;
11865 wxDC
*arg1
= (wxDC
*) 0 ;
11871 PyObject
* obj0
= 0 ;
11872 PyObject
* obj1
= 0 ;
11873 PyObject
* obj2
= 0 ;
11874 PyObject
* obj3
= 0 ;
11875 PyObject
* obj4
= 0 ;
11876 PyObject
* obj5
= 0 ;
11877 char *kwnames
[] = {
11878 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11884 arg2
= (int)SWIG_As_int(obj1
);
11885 if (PyErr_Occurred()) SWIG_fail
;
11886 arg3
= (int)SWIG_As_int(obj2
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11888 arg4
= (int)SWIG_As_int(obj3
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11890 arg5
= (int)SWIG_As_int(obj4
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11892 arg6
= (double)SWIG_As_double(obj5
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11896 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11898 wxPyEndAllowThreads(__tstate
);
11899 if (PyErr_Occurred()) SWIG_fail
;
11901 Py_INCREF(Py_None
); resultobj
= Py_None
;
11908 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11909 PyObject
*resultobj
;
11910 wxDC
*arg1
= (wxDC
*) 0 ;
11914 PyObject
* obj0
= 0 ;
11915 PyObject
* obj1
= 0 ;
11916 PyObject
* obj2
= 0 ;
11917 char *kwnames
[] = {
11918 (char *) "self",(char *) "r",(char *) "radius", NULL
11921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11926 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11928 arg3
= (double)SWIG_As_double(obj2
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11932 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11934 wxPyEndAllowThreads(__tstate
);
11935 if (PyErr_Occurred()) SWIG_fail
;
11937 Py_INCREF(Py_None
); resultobj
= Py_None
;
11944 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11945 PyObject
*resultobj
;
11946 wxDC
*arg1
= (wxDC
*) 0 ;
11947 wxPoint
*arg2
= 0 ;
11952 PyObject
* obj0
= 0 ;
11953 PyObject
* obj1
= 0 ;
11954 PyObject
* obj2
= 0 ;
11955 PyObject
* obj3
= 0 ;
11956 char *kwnames
[] = {
11957 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11965 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11969 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11971 arg4
= (double)SWIG_As_double(obj3
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11975 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11980 Py_INCREF(Py_None
); resultobj
= Py_None
;
11987 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11988 PyObject
*resultobj
;
11989 wxDC
*arg1
= (wxDC
*) 0 ;
11993 PyObject
* obj0
= 0 ;
11994 PyObject
* obj1
= 0 ;
11995 PyObject
* obj2
= 0 ;
11996 PyObject
* obj3
= 0 ;
11997 char *kwnames
[] = {
11998 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
12001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12004 arg2
= (int)SWIG_As_int(obj1
);
12005 if (PyErr_Occurred()) SWIG_fail
;
12006 arg3
= (int)SWIG_As_int(obj2
);
12007 if (PyErr_Occurred()) SWIG_fail
;
12008 arg4
= (int)SWIG_As_int(obj3
);
12009 if (PyErr_Occurred()) SWIG_fail
;
12011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12012 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
12014 wxPyEndAllowThreads(__tstate
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12017 Py_INCREF(Py_None
); resultobj
= Py_None
;
12024 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12025 PyObject
*resultobj
;
12026 wxDC
*arg1
= (wxDC
*) 0 ;
12027 wxPoint
*arg2
= 0 ;
12030 PyObject
* obj0
= 0 ;
12031 PyObject
* obj1
= 0 ;
12032 PyObject
* obj2
= 0 ;
12033 char *kwnames
[] = {
12034 (char *) "self",(char *) "pt",(char *) "radius", NULL
12037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12042 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12044 arg3
= (int)SWIG_As_int(obj2
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12053 Py_INCREF(Py_None
); resultobj
= Py_None
;
12060 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12061 PyObject
*resultobj
;
12062 wxDC
*arg1
= (wxDC
*) 0 ;
12067 PyObject
* obj0
= 0 ;
12068 PyObject
* obj1
= 0 ;
12069 PyObject
* obj2
= 0 ;
12070 PyObject
* obj3
= 0 ;
12071 PyObject
* obj4
= 0 ;
12072 char *kwnames
[] = {
12073 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12079 arg2
= (int)SWIG_As_int(obj1
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12081 arg3
= (int)SWIG_As_int(obj2
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12083 arg4
= (int)SWIG_As_int(obj3
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12085 arg5
= (int)SWIG_As_int(obj4
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12094 Py_INCREF(Py_None
); resultobj
= Py_None
;
12101 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12102 PyObject
*resultobj
;
12103 wxDC
*arg1
= (wxDC
*) 0 ;
12106 PyObject
* obj0
= 0 ;
12107 PyObject
* obj1
= 0 ;
12108 char *kwnames
[] = {
12109 (char *) "self",(char *) "rect", NULL
12112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12117 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 Py_INCREF(Py_None
); resultobj
= Py_None
;
12133 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
;
12135 wxDC
*arg1
= (wxDC
*) 0 ;
12136 wxPoint
*arg2
= 0 ;
12140 PyObject
* obj0
= 0 ;
12141 PyObject
* obj1
= 0 ;
12142 PyObject
* obj2
= 0 ;
12143 char *kwnames
[] = {
12144 (char *) "self",(char *) "pt",(char *) "sz", NULL
12147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12152 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12156 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12165 Py_INCREF(Py_None
); resultobj
= Py_None
;
12172 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12173 PyObject
*resultobj
;
12174 wxDC
*arg1
= (wxDC
*) 0 ;
12178 PyObject
* obj0
= 0 ;
12179 PyObject
* obj1
= 0 ;
12180 PyObject
* obj2
= 0 ;
12181 PyObject
* obj3
= 0 ;
12182 char *kwnames
[] = {
12183 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
12186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
12190 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12192 if (arg2
== NULL
) {
12193 PyErr_SetString(PyExc_TypeError
,"null reference");
12196 arg3
= (int)SWIG_As_int(obj2
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12198 arg4
= (int)SWIG_As_int(obj3
);
12199 if (PyErr_Occurred()) SWIG_fail
;
12201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12202 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
12204 wxPyEndAllowThreads(__tstate
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12207 Py_INCREF(Py_None
); resultobj
= Py_None
;
12214 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12215 PyObject
*resultobj
;
12216 wxDC
*arg1
= (wxDC
*) 0 ;
12218 wxPoint
*arg3
= 0 ;
12220 PyObject
* obj0
= 0 ;
12221 PyObject
* obj1
= 0 ;
12222 PyObject
* obj2
= 0 ;
12223 char *kwnames
[] = {
12224 (char *) "self",(char *) "icon",(char *) "pt", NULL
12227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12230 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
12231 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12233 if (arg2
== NULL
) {
12234 PyErr_SetString(PyExc_TypeError
,"null reference");
12239 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12243 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12248 Py_INCREF(Py_None
); resultobj
= Py_None
;
12255 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12256 PyObject
*resultobj
;
12257 wxDC
*arg1
= (wxDC
*) 0 ;
12258 wxBitmap
*arg2
= 0 ;
12261 bool arg5
= (bool) False
;
12262 PyObject
* obj0
= 0 ;
12263 PyObject
* obj1
= 0 ;
12264 PyObject
* obj2
= 0 ;
12265 PyObject
* obj3
= 0 ;
12266 PyObject
* obj4
= 0 ;
12267 char *kwnames
[] = {
12268 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
12271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12274 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
12275 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12277 if (arg2
== NULL
) {
12278 PyErr_SetString(PyExc_TypeError
,"null reference");
12281 arg3
= (int)SWIG_As_int(obj2
);
12282 if (PyErr_Occurred()) SWIG_fail
;
12283 arg4
= (int)SWIG_As_int(obj3
);
12284 if (PyErr_Occurred()) SWIG_fail
;
12286 arg5
= (bool)SWIG_As_bool(obj4
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12291 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
12293 wxPyEndAllowThreads(__tstate
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12296 Py_INCREF(Py_None
); resultobj
= Py_None
;
12303 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12304 PyObject
*resultobj
;
12305 wxDC
*arg1
= (wxDC
*) 0 ;
12306 wxBitmap
*arg2
= 0 ;
12307 wxPoint
*arg3
= 0 ;
12308 bool arg4
= (bool) False
;
12310 PyObject
* obj0
= 0 ;
12311 PyObject
* obj1
= 0 ;
12312 PyObject
* obj2
= 0 ;
12313 PyObject
* obj3
= 0 ;
12314 char *kwnames
[] = {
12315 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
12318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
12322 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12324 if (arg2
== NULL
) {
12325 PyErr_SetString(PyExc_TypeError
,"null reference");
12330 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12333 arg4
= (bool)SWIG_As_bool(obj3
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12338 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12340 wxPyEndAllowThreads(__tstate
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12343 Py_INCREF(Py_None
); resultobj
= Py_None
;
12350 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12351 PyObject
*resultobj
;
12352 wxDC
*arg1
= (wxDC
*) 0 ;
12353 wxString
*arg2
= 0 ;
12356 bool temp2
= False
;
12357 PyObject
* obj0
= 0 ;
12358 PyObject
* obj1
= 0 ;
12359 PyObject
* obj2
= 0 ;
12360 PyObject
* obj3
= 0 ;
12361 char *kwnames
[] = {
12362 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
12365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12369 arg2
= wxString_in_helper(obj1
);
12370 if (arg2
== NULL
) SWIG_fail
;
12373 arg3
= (int)SWIG_As_int(obj2
);
12374 if (PyErr_Occurred()) SWIG_fail
;
12375 arg4
= (int)SWIG_As_int(obj3
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12379 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
12381 wxPyEndAllowThreads(__tstate
);
12382 if (PyErr_Occurred()) SWIG_fail
;
12384 Py_INCREF(Py_None
); resultobj
= Py_None
;
12399 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12400 PyObject
*resultobj
;
12401 wxDC
*arg1
= (wxDC
*) 0 ;
12402 wxString
*arg2
= 0 ;
12403 wxPoint
*arg3
= 0 ;
12404 bool temp2
= False
;
12406 PyObject
* obj0
= 0 ;
12407 PyObject
* obj1
= 0 ;
12408 PyObject
* obj2
= 0 ;
12409 char *kwnames
[] = {
12410 (char *) "self",(char *) "text",(char *) "pt", NULL
12413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12417 arg2
= wxString_in_helper(obj1
);
12418 if (arg2
== NULL
) SWIG_fail
;
12423 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12432 Py_INCREF(Py_None
); resultobj
= Py_None
;
12447 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12448 PyObject
*resultobj
;
12449 wxDC
*arg1
= (wxDC
*) 0 ;
12450 wxString
*arg2
= 0 ;
12454 bool temp2
= False
;
12455 PyObject
* obj0
= 0 ;
12456 PyObject
* obj1
= 0 ;
12457 PyObject
* obj2
= 0 ;
12458 PyObject
* obj3
= 0 ;
12459 PyObject
* obj4
= 0 ;
12460 char *kwnames
[] = {
12461 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
12464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12468 arg2
= wxString_in_helper(obj1
);
12469 if (arg2
== NULL
) SWIG_fail
;
12472 arg3
= (int)SWIG_As_int(obj2
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12474 arg4
= (int)SWIG_As_int(obj3
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12476 arg5
= (double)SWIG_As_double(obj4
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12480 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12485 Py_INCREF(Py_None
); resultobj
= Py_None
;
12500 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
*resultobj
;
12502 wxDC
*arg1
= (wxDC
*) 0 ;
12503 wxString
*arg2
= 0 ;
12504 wxPoint
*arg3
= 0 ;
12506 bool temp2
= False
;
12508 PyObject
* obj0
= 0 ;
12509 PyObject
* obj1
= 0 ;
12510 PyObject
* obj2
= 0 ;
12511 PyObject
* obj3
= 0 ;
12512 char *kwnames
[] = {
12513 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
12516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12520 arg2
= wxString_in_helper(obj1
);
12521 if (arg2
== NULL
) SWIG_fail
;
12526 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12528 arg4
= (double)SWIG_As_double(obj3
);
12529 if (PyErr_Occurred()) SWIG_fail
;
12531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12532 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12534 wxPyEndAllowThreads(__tstate
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12537 Py_INCREF(Py_None
); resultobj
= Py_None
;
12552 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12553 PyObject
*resultobj
;
12554 wxDC
*arg1
= (wxDC
*) 0 ;
12559 wxDC
*arg6
= (wxDC
*) 0 ;
12562 int arg9
= (int) wxCOPY
;
12563 bool arg10
= (bool) False
;
12564 int arg11
= (int) -1 ;
12565 int arg12
= (int) -1 ;
12567 PyObject
* obj0
= 0 ;
12568 PyObject
* obj1
= 0 ;
12569 PyObject
* obj2
= 0 ;
12570 PyObject
* obj3
= 0 ;
12571 PyObject
* obj4
= 0 ;
12572 PyObject
* obj5
= 0 ;
12573 PyObject
* obj6
= 0 ;
12574 PyObject
* obj7
= 0 ;
12575 PyObject
* obj8
= 0 ;
12576 PyObject
* obj9
= 0 ;
12577 PyObject
* obj10
= 0 ;
12578 PyObject
* obj11
= 0 ;
12579 char *kwnames
[] = {
12580 (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
12583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO|OOOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
)) goto fail
;
12584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12586 arg2
= (int)SWIG_As_int(obj1
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12588 arg3
= (int)SWIG_As_int(obj2
);
12589 if (PyErr_Occurred()) SWIG_fail
;
12590 arg4
= (int)SWIG_As_int(obj3
);
12591 if (PyErr_Occurred()) SWIG_fail
;
12592 arg5
= (int)SWIG_As_int(obj4
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12594 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
12595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12596 arg7
= (int)SWIG_As_int(obj6
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12598 arg8
= (int)SWIG_As_int(obj7
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12601 arg9
= (int)SWIG_As_int(obj8
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12605 arg10
= (bool)SWIG_As_bool(obj9
);
12606 if (PyErr_Occurred()) SWIG_fail
;
12609 arg11
= (int)SWIG_As_int(obj10
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12613 arg12
= (int)SWIG_As_int(obj11
);
12614 if (PyErr_Occurred()) SWIG_fail
;
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12632 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12633 PyObject
*resultobj
;
12634 wxDC
*arg1
= (wxDC
*) 0 ;
12635 wxPoint
*arg2
= 0 ;
12637 wxDC
*arg4
= (wxDC
*) 0 ;
12638 wxPoint
*arg5
= 0 ;
12639 int arg6
= (int) wxCOPY
;
12640 bool arg7
= (bool) False
;
12641 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
12642 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
12648 PyObject
* obj0
= 0 ;
12649 PyObject
* obj1
= 0 ;
12650 PyObject
* obj2
= 0 ;
12651 PyObject
* obj3
= 0 ;
12652 PyObject
* obj4
= 0 ;
12653 PyObject
* obj5
= 0 ;
12654 PyObject
* obj6
= 0 ;
12655 PyObject
* obj7
= 0 ;
12656 char *kwnames
[] = {
12657 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12665 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12669 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12671 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
12672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12675 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12678 arg6
= (int)SWIG_As_int(obj5
);
12679 if (PyErr_Occurred()) SWIG_fail
;
12682 arg7
= (bool)SWIG_As_bool(obj6
);
12683 if (PyErr_Occurred()) SWIG_fail
;
12688 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
12692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12693 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
12695 wxPyEndAllowThreads(__tstate
);
12696 if (PyErr_Occurred()) SWIG_fail
;
12699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12707 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12708 PyObject
*resultobj
;
12709 wxDC
*arg1
= (wxDC
*) 0 ;
12714 PyObject
* obj0
= 0 ;
12715 PyObject
* obj1
= 0 ;
12716 PyObject
* obj2
= 0 ;
12717 PyObject
* obj3
= 0 ;
12718 PyObject
* obj4
= 0 ;
12719 char *kwnames
[] = {
12720 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12726 arg2
= (int)SWIG_As_int(obj1
);
12727 if (PyErr_Occurred()) SWIG_fail
;
12728 arg3
= (int)SWIG_As_int(obj2
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12730 arg4
= (int)SWIG_As_int(obj3
);
12731 if (PyErr_Occurred()) SWIG_fail
;
12732 arg5
= (int)SWIG_As_int(obj4
);
12733 if (PyErr_Occurred()) SWIG_fail
;
12735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12736 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12738 wxPyEndAllowThreads(__tstate
);
12739 if (PyErr_Occurred()) SWIG_fail
;
12741 Py_INCREF(Py_None
); resultobj
= Py_None
;
12748 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12749 PyObject
*resultobj
;
12750 wxDC
*arg1
= (wxDC
*) 0 ;
12751 wxPoint
*arg2
= 0 ;
12755 PyObject
* obj0
= 0 ;
12756 PyObject
* obj1
= 0 ;
12757 PyObject
* obj2
= 0 ;
12758 char *kwnames
[] = {
12759 (char *) "self",(char *) "pt",(char *) "sz", NULL
12762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12767 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12771 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12775 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12777 wxPyEndAllowThreads(__tstate
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12780 Py_INCREF(Py_None
); resultobj
= Py_None
;
12787 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12788 PyObject
*resultobj
;
12789 wxDC
*arg1
= (wxDC
*) 0 ;
12790 wxRegion
*arg2
= 0 ;
12791 PyObject
* obj0
= 0 ;
12792 PyObject
* obj1
= 0 ;
12793 char *kwnames
[] = {
12794 (char *) "self",(char *) "region", NULL
12797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12801 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12803 if (arg2
== NULL
) {
12804 PyErr_SetString(PyExc_TypeError
,"null reference");
12808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12809 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12811 wxPyEndAllowThreads(__tstate
);
12812 if (PyErr_Occurred()) SWIG_fail
;
12814 Py_INCREF(Py_None
); resultobj
= Py_None
;
12821 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12822 PyObject
*resultobj
;
12823 wxDC
*arg1
= (wxDC
*) 0 ;
12826 PyObject
* obj0
= 0 ;
12827 PyObject
* obj1
= 0 ;
12828 char *kwnames
[] = {
12829 (char *) "self",(char *) "rect", NULL
12832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12837 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12841 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12843 wxPyEndAllowThreads(__tstate
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12846 Py_INCREF(Py_None
); resultobj
= Py_None
;
12853 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12854 PyObject
*resultobj
;
12855 wxDC
*arg1
= (wxDC
*) 0 ;
12857 wxPoint
*arg3
= (wxPoint
*) 0 ;
12858 int arg4
= (int) 0 ;
12859 int arg5
= (int) 0 ;
12860 PyObject
* obj0
= 0 ;
12861 PyObject
* obj1
= 0 ;
12862 PyObject
* obj2
= 0 ;
12863 PyObject
* obj3
= 0 ;
12864 char *kwnames
[] = {
12865 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12872 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12873 if (arg3
== NULL
) SWIG_fail
;
12876 arg4
= (int)SWIG_As_int(obj2
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12880 arg5
= (int)SWIG_As_int(obj3
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12890 Py_INCREF(Py_None
); resultobj
= Py_None
;
12892 if (arg3
) delete [] arg3
;
12897 if (arg3
) delete [] arg3
;
12903 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12904 PyObject
*resultobj
;
12905 wxDC
*arg1
= (wxDC
*) 0 ;
12907 wxPoint
*arg3
= (wxPoint
*) 0 ;
12908 int arg4
= (int) 0 ;
12909 int arg5
= (int) 0 ;
12910 int arg6
= (int) wxODDEVEN_RULE
;
12911 PyObject
* obj0
= 0 ;
12912 PyObject
* obj1
= 0 ;
12913 PyObject
* obj2
= 0 ;
12914 PyObject
* obj3
= 0 ;
12915 PyObject
* obj4
= 0 ;
12916 char *kwnames
[] = {
12917 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12924 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12925 if (arg3
== NULL
) SWIG_fail
;
12928 arg4
= (int)SWIG_As_int(obj2
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12932 arg5
= (int)SWIG_As_int(obj3
);
12933 if (PyErr_Occurred()) SWIG_fail
;
12936 arg6
= (int)SWIG_As_int(obj4
);
12937 if (PyErr_Occurred()) SWIG_fail
;
12940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12943 wxPyEndAllowThreads(__tstate
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12946 Py_INCREF(Py_None
); resultobj
= Py_None
;
12948 if (arg3
) delete [] arg3
;
12953 if (arg3
) delete [] arg3
;
12959 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12960 PyObject
*resultobj
;
12961 wxDC
*arg1
= (wxDC
*) 0 ;
12962 wxString
*arg2
= 0 ;
12964 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12965 int arg5
= (int) -1 ;
12966 bool temp2
= False
;
12968 PyObject
* obj0
= 0 ;
12969 PyObject
* obj1
= 0 ;
12970 PyObject
* obj2
= 0 ;
12971 PyObject
* obj3
= 0 ;
12972 PyObject
* obj4
= 0 ;
12973 char *kwnames
[] = {
12974 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12981 arg2
= wxString_in_helper(obj1
);
12982 if (arg2
== NULL
) SWIG_fail
;
12987 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12990 arg4
= (int)SWIG_As_int(obj3
);
12991 if (PyErr_Occurred()) SWIG_fail
;
12994 arg5
= (int)SWIG_As_int(obj4
);
12995 if (PyErr_Occurred()) SWIG_fail
;
12998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12999 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
13001 wxPyEndAllowThreads(__tstate
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13004 Py_INCREF(Py_None
); resultobj
= Py_None
;
13019 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13020 PyObject
*resultobj
;
13021 wxDC
*arg1
= (wxDC
*) 0 ;
13022 wxString
*arg2
= 0 ;
13023 wxBitmap
*arg3
= 0 ;
13025 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
13026 int arg6
= (int) -1 ;
13028 bool temp2
= False
;
13030 PyObject
* obj0
= 0 ;
13031 PyObject
* obj1
= 0 ;
13032 PyObject
* obj2
= 0 ;
13033 PyObject
* obj3
= 0 ;
13034 PyObject
* obj4
= 0 ;
13035 PyObject
* obj5
= 0 ;
13036 char *kwnames
[] = {
13037 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
13040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13044 arg2
= wxString_in_helper(obj1
);
13045 if (arg2
== NULL
) SWIG_fail
;
13048 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
13049 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13051 if (arg3
== NULL
) {
13052 PyErr_SetString(PyExc_TypeError
,"null reference");
13057 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
13060 arg5
= (int)SWIG_As_int(obj4
);
13061 if (PyErr_Occurred()) SWIG_fail
;
13064 arg6
= (int)SWIG_As_int(obj5
);
13065 if (PyErr_Occurred()) SWIG_fail
;
13068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13069 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
13071 wxPyEndAllowThreads(__tstate
);
13072 if (PyErr_Occurred()) SWIG_fail
;
13075 wxRect
* resultptr
;
13076 resultptr
= new wxRect((wxRect
&) result
);
13077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13093 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13094 PyObject
*resultobj
;
13095 wxDC
*arg1
= (wxDC
*) 0 ;
13097 wxPoint
*arg3
= (wxPoint
*) 0 ;
13098 PyObject
* obj0
= 0 ;
13099 PyObject
* obj1
= 0 ;
13100 char *kwnames
[] = {
13101 (char *) "self",(char *) "points", NULL
13104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
13105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13108 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
13109 if (arg3
== NULL
) SWIG_fail
;
13112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13113 (arg1
)->DrawSpline(arg2
,arg3
);
13115 wxPyEndAllowThreads(__tstate
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13118 Py_INCREF(Py_None
); resultobj
= Py_None
;
13120 if (arg3
) delete [] arg3
;
13125 if (arg3
) delete [] arg3
;
13131 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13132 PyObject
*resultobj
;
13133 wxDC
*arg1
= (wxDC
*) 0 ;
13134 PyObject
* obj0
= 0 ;
13135 char *kwnames
[] = {
13136 (char *) "self", NULL
13139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
13140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13146 wxPyEndAllowThreads(__tstate
);
13147 if (PyErr_Occurred()) SWIG_fail
;
13149 Py_INCREF(Py_None
); resultobj
= Py_None
;
13156 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13157 PyObject
*resultobj
;
13158 wxDC
*arg1
= (wxDC
*) 0 ;
13159 wxString
*arg2
= 0 ;
13161 bool temp2
= False
;
13162 PyObject
* obj0
= 0 ;
13163 PyObject
* obj1
= 0 ;
13164 char *kwnames
[] = {
13165 (char *) "self",(char *) "message", NULL
13168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
13169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13172 arg2
= wxString_in_helper(obj1
);
13173 if (arg2
== NULL
) SWIG_fail
;
13177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13178 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
13180 wxPyEndAllowThreads(__tstate
);
13181 if (PyErr_Occurred()) SWIG_fail
;
13184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13200 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13201 PyObject
*resultobj
;
13202 wxDC
*arg1
= (wxDC
*) 0 ;
13203 PyObject
* obj0
= 0 ;
13204 char *kwnames
[] = {
13205 (char *) "self", NULL
13208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
13209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13218 Py_INCREF(Py_None
); resultobj
= Py_None
;
13225 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13226 PyObject
*resultobj
;
13227 wxDC
*arg1
= (wxDC
*) 0 ;
13228 PyObject
* obj0
= 0 ;
13229 char *kwnames
[] = {
13230 (char *) "self", NULL
13233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
13234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13238 (arg1
)->StartPage();
13240 wxPyEndAllowThreads(__tstate
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13243 Py_INCREF(Py_None
); resultobj
= Py_None
;
13250 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13251 PyObject
*resultobj
;
13252 wxDC
*arg1
= (wxDC
*) 0 ;
13253 PyObject
* obj0
= 0 ;
13254 char *kwnames
[] = {
13255 (char *) "self", NULL
13258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
13259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13268 Py_INCREF(Py_None
); resultobj
= Py_None
;
13275 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13276 PyObject
*resultobj
;
13277 wxDC
*arg1
= (wxDC
*) 0 ;
13279 PyObject
* obj0
= 0 ;
13280 PyObject
* obj1
= 0 ;
13281 char *kwnames
[] = {
13282 (char *) "self",(char *) "font", NULL
13285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13288 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13289 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13291 if (arg2
== NULL
) {
13292 PyErr_SetString(PyExc_TypeError
,"null reference");
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 (arg1
)->SetFont((wxFont
const &)*arg2
);
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13302 Py_INCREF(Py_None
); resultobj
= Py_None
;
13309 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
*resultobj
;
13311 wxDC
*arg1
= (wxDC
*) 0 ;
13313 PyObject
* obj0
= 0 ;
13314 PyObject
* obj1
= 0 ;
13315 char *kwnames
[] = {
13316 (char *) "self",(char *) "pen", NULL
13319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
13320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
13323 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13325 if (arg2
== NULL
) {
13326 PyErr_SetString(PyExc_TypeError
,"null reference");
13330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13331 (arg1
)->SetPen((wxPen
const &)*arg2
);
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13336 Py_INCREF(Py_None
); resultobj
= Py_None
;
13343 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13344 PyObject
*resultobj
;
13345 wxDC
*arg1
= (wxDC
*) 0 ;
13346 wxBrush
*arg2
= 0 ;
13347 PyObject
* obj0
= 0 ;
13348 PyObject
* obj1
= 0 ;
13349 char *kwnames
[] = {
13350 (char *) "self",(char *) "brush", NULL
13353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
13354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13357 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13359 if (arg2
== NULL
) {
13360 PyErr_SetString(PyExc_TypeError
,"null reference");
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 Py_INCREF(Py_None
); resultobj
= Py_None
;
13377 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13378 PyObject
*resultobj
;
13379 wxDC
*arg1
= (wxDC
*) 0 ;
13380 wxBrush
*arg2
= 0 ;
13381 PyObject
* obj0
= 0 ;
13382 PyObject
* obj1
= 0 ;
13383 char *kwnames
[] = {
13384 (char *) "self",(char *) "brush", NULL
13387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13391 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13393 if (arg2
== NULL
) {
13394 PyErr_SetString(PyExc_TypeError
,"null reference");
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13404 Py_INCREF(Py_None
); resultobj
= Py_None
;
13411 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13412 PyObject
*resultobj
;
13413 wxDC
*arg1
= (wxDC
*) 0 ;
13415 PyObject
* obj0
= 0 ;
13416 PyObject
* obj1
= 0 ;
13417 char *kwnames
[] = {
13418 (char *) "self",(char *) "mode", NULL
13421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13424 arg2
= (int)SWIG_As_int(obj1
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 (arg1
)->SetBackgroundMode(arg2
);
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13433 Py_INCREF(Py_None
); resultobj
= Py_None
;
13440 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13441 PyObject
*resultobj
;
13442 wxDC
*arg1
= (wxDC
*) 0 ;
13443 wxPalette
*arg2
= 0 ;
13444 PyObject
* obj0
= 0 ;
13445 PyObject
* obj1
= 0 ;
13446 char *kwnames
[] = {
13447 (char *) "self",(char *) "palette", NULL
13450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
13451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
13454 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13456 if (arg2
== NULL
) {
13457 PyErr_SetString(PyExc_TypeError
,"null reference");
13461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13462 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 Py_INCREF(Py_None
); resultobj
= Py_None
;
13474 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13475 PyObject
*resultobj
;
13476 wxDC
*arg1
= (wxDC
*) 0 ;
13477 PyObject
* obj0
= 0 ;
13478 char *kwnames
[] = {
13479 (char *) "self", NULL
13482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
13483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13487 (arg1
)->DestroyClippingRegion();
13489 wxPyEndAllowThreads(__tstate
);
13490 if (PyErr_Occurred()) SWIG_fail
;
13492 Py_INCREF(Py_None
); resultobj
= Py_None
;
13499 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13500 PyObject
*resultobj
;
13501 wxDC
*arg1
= (wxDC
*) 0 ;
13502 int *arg2
= (int *) 0 ;
13503 int *arg3
= (int *) 0 ;
13504 int *arg4
= (int *) 0 ;
13505 int *arg5
= (int *) 0 ;
13514 PyObject
* obj0
= 0 ;
13515 char *kwnames
[] = {
13516 (char *) "self", NULL
13519 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13520 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13521 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13522 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
13524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13528 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
13530 wxPyEndAllowThreads(__tstate
);
13531 if (PyErr_Occurred()) SWIG_fail
;
13533 Py_INCREF(Py_None
); resultobj
= Py_None
;
13534 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13535 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13536 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13537 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13538 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13539 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13540 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13541 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13548 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13549 PyObject
*resultobj
;
13550 wxDC
*arg1
= (wxDC
*) 0 ;
13552 PyObject
* obj0
= 0 ;
13553 char *kwnames
[] = {
13554 (char *) "self", NULL
13557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
13558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13562 result
= wxDC_GetClippingRect(arg1
);
13564 wxPyEndAllowThreads(__tstate
);
13565 if (PyErr_Occurred()) SWIG_fail
;
13568 wxRect
* resultptr
;
13569 resultptr
= new wxRect((wxRect
&) result
);
13570 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13578 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13579 PyObject
*resultobj
;
13580 wxDC
*arg1
= (wxDC
*) 0 ;
13582 PyObject
* obj0
= 0 ;
13583 char *kwnames
[] = {
13584 (char *) "self", NULL
13587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
13588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13592 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
13594 wxPyEndAllowThreads(__tstate
);
13595 if (PyErr_Occurred()) SWIG_fail
;
13597 resultobj
= SWIG_From_int((int)result
);
13604 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13605 PyObject
*resultobj
;
13606 wxDC
*arg1
= (wxDC
*) 0 ;
13608 PyObject
* obj0
= 0 ;
13609 char *kwnames
[] = {
13610 (char *) "self", NULL
13613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
13614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13618 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
13620 wxPyEndAllowThreads(__tstate
);
13621 if (PyErr_Occurred()) SWIG_fail
;
13623 resultobj
= SWIG_From_int((int)result
);
13630 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13631 PyObject
*resultobj
;
13632 wxDC
*arg1
= (wxDC
*) 0 ;
13633 wxString
*arg2
= 0 ;
13634 int *arg3
= (int *) 0 ;
13635 int *arg4
= (int *) 0 ;
13636 bool temp2
= False
;
13641 PyObject
* obj0
= 0 ;
13642 PyObject
* obj1
= 0 ;
13643 char *kwnames
[] = {
13644 (char *) "self",(char *) "string", NULL
13647 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13648 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
13650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13653 arg2
= wxString_in_helper(obj1
);
13654 if (arg2
== NULL
) SWIG_fail
;
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13664 Py_INCREF(Py_None
); resultobj
= Py_None
;
13665 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13666 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13667 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13668 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13683 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13684 PyObject
*resultobj
;
13685 wxDC
*arg1
= (wxDC
*) 0 ;
13686 wxString
*arg2
= 0 ;
13687 int *arg3
= (int *) 0 ;
13688 int *arg4
= (int *) 0 ;
13689 int *arg5
= (int *) 0 ;
13690 int *arg6
= (int *) 0 ;
13691 wxFont
*arg7
= (wxFont
*) NULL
;
13692 bool temp2
= False
;
13701 PyObject
* obj0
= 0 ;
13702 PyObject
* obj1
= 0 ;
13703 PyObject
* obj2
= 0 ;
13704 char *kwnames
[] = {
13705 (char *) "self",(char *) "string",(char *) "font", NULL
13708 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13709 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13710 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13711 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
13712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13716 arg2
= wxString_in_helper(obj1
);
13717 if (arg2
== NULL
) SWIG_fail
;
13721 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
13722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13726 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13728 wxPyEndAllowThreads(__tstate
);
13729 if (PyErr_Occurred()) SWIG_fail
;
13731 Py_INCREF(Py_None
); resultobj
= Py_None
;
13732 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13733 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13734 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13735 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13736 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13737 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13738 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
13739 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
13754 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13755 PyObject
*resultobj
;
13756 wxDC
*arg1
= (wxDC
*) 0 ;
13757 wxString
*arg2
= 0 ;
13758 int *arg3
= (int *) 0 ;
13759 int *arg4
= (int *) 0 ;
13760 int *arg5
= (int *) 0 ;
13761 wxFont
*arg6
= (wxFont
*) NULL
;
13762 bool temp2
= False
;
13769 PyObject
* obj0
= 0 ;
13770 PyObject
* obj1
= 0 ;
13771 PyObject
* obj2
= 0 ;
13772 char *kwnames
[] = {
13773 (char *) "self",(char *) "text",(char *) "font", NULL
13776 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13777 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13778 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13783 arg2
= wxString_in_helper(obj1
);
13784 if (arg2
== NULL
) SWIG_fail
;
13788 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13793 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13795 wxPyEndAllowThreads(__tstate
);
13796 if (PyErr_Occurred()) SWIG_fail
;
13798 Py_INCREF(Py_None
); resultobj
= Py_None
;
13799 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13800 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13801 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13802 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13803 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13804 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13819 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13820 PyObject
*resultobj
;
13821 wxDC
*arg1
= (wxDC
*) 0 ;
13822 wxString
*arg2
= 0 ;
13824 bool temp2
= False
;
13825 PyObject
* obj0
= 0 ;
13826 PyObject
* obj1
= 0 ;
13827 char *kwnames
[] = {
13828 (char *) "self",(char *) "text", NULL
13831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13835 arg2
= wxString_in_helper(obj1
);
13836 if (arg2
== NULL
) SWIG_fail
;
13840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13841 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13843 wxPyEndAllowThreads(__tstate
);
13844 if (PyErr_Occurred()) SWIG_fail
;
13847 resultobj
= PyList_New(0);
13849 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13850 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13851 PyList_Append(resultobj
, val
);
13869 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13870 PyObject
*resultobj
;
13871 wxDC
*arg1
= (wxDC
*) 0 ;
13873 PyObject
* obj0
= 0 ;
13874 char *kwnames
[] = {
13875 (char *) "self", NULL
13878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13883 result
= (arg1
)->GetSize();
13885 wxPyEndAllowThreads(__tstate
);
13886 if (PyErr_Occurred()) SWIG_fail
;
13889 wxSize
* resultptr
;
13890 resultptr
= new wxSize((wxSize
&) result
);
13891 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13899 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13900 PyObject
*resultobj
;
13901 wxDC
*arg1
= (wxDC
*) 0 ;
13902 int *arg2
= (int *) 0 ;
13903 int *arg3
= (int *) 0 ;
13908 PyObject
* obj0
= 0 ;
13909 char *kwnames
[] = {
13910 (char *) "self", NULL
13913 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13914 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13920 (arg1
)->GetSize(arg2
,arg3
);
13922 wxPyEndAllowThreads(__tstate
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13925 Py_INCREF(Py_None
); resultobj
= Py_None
;
13926 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13927 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13928 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13929 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13936 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13937 PyObject
*resultobj
;
13938 wxDC
*arg1
= (wxDC
*) 0 ;
13940 PyObject
* obj0
= 0 ;
13941 char *kwnames
[] = {
13942 (char *) "self", NULL
13945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13950 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13952 wxPyEndAllowThreads(__tstate
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13956 wxSize
* resultptr
;
13957 resultptr
= new wxSize((wxSize
&) result
);
13958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13966 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13967 PyObject
*resultobj
;
13968 wxDC
*arg1
= (wxDC
*) 0 ;
13969 int *arg2
= (int *) 0 ;
13970 int *arg3
= (int *) 0 ;
13975 PyObject
* obj0
= 0 ;
13976 char *kwnames
[] = {
13977 (char *) "self", NULL
13980 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13981 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13987 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13989 wxPyEndAllowThreads(__tstate
);
13990 if (PyErr_Occurred()) SWIG_fail
;
13992 Py_INCREF(Py_None
); resultobj
= Py_None
;
13993 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13994 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13995 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13996 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14003 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14004 PyObject
*resultobj
;
14005 wxDC
*arg1
= (wxDC
*) 0 ;
14008 PyObject
* obj0
= 0 ;
14009 PyObject
* obj1
= 0 ;
14010 char *kwnames
[] = {
14011 (char *) "self",(char *) "x", NULL
14014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
14015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14017 arg2
= (int)SWIG_As_int(obj1
);
14018 if (PyErr_Occurred()) SWIG_fail
;
14020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14021 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
14023 wxPyEndAllowThreads(__tstate
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14026 resultobj
= SWIG_From_int((int)result
);
14033 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14034 PyObject
*resultobj
;
14035 wxDC
*arg1
= (wxDC
*) 0 ;
14038 PyObject
* obj0
= 0 ;
14039 PyObject
* obj1
= 0 ;
14040 char *kwnames
[] = {
14041 (char *) "self",(char *) "y", NULL
14044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
14045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14047 arg2
= (int)SWIG_As_int(obj1
);
14048 if (PyErr_Occurred()) SWIG_fail
;
14050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14051 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
14053 wxPyEndAllowThreads(__tstate
);
14054 if (PyErr_Occurred()) SWIG_fail
;
14056 resultobj
= SWIG_From_int((int)result
);
14063 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14064 PyObject
*resultobj
;
14065 wxDC
*arg1
= (wxDC
*) 0 ;
14068 PyObject
* obj0
= 0 ;
14069 PyObject
* obj1
= 0 ;
14070 char *kwnames
[] = {
14071 (char *) "self",(char *) "x", NULL
14074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
14075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14077 arg2
= (int)SWIG_As_int(obj1
);
14078 if (PyErr_Occurred()) SWIG_fail
;
14080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14081 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
14083 wxPyEndAllowThreads(__tstate
);
14084 if (PyErr_Occurred()) SWIG_fail
;
14086 resultobj
= SWIG_From_int((int)result
);
14093 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14094 PyObject
*resultobj
;
14095 wxDC
*arg1
= (wxDC
*) 0 ;
14098 PyObject
* obj0
= 0 ;
14099 PyObject
* obj1
= 0 ;
14100 char *kwnames
[] = {
14101 (char *) "self",(char *) "y", NULL
14104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
14105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14107 arg2
= (int)SWIG_As_int(obj1
);
14108 if (PyErr_Occurred()) SWIG_fail
;
14110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14111 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
14113 wxPyEndAllowThreads(__tstate
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14116 resultobj
= SWIG_From_int((int)result
);
14123 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14124 PyObject
*resultobj
;
14125 wxDC
*arg1
= (wxDC
*) 0 ;
14128 PyObject
* obj0
= 0 ;
14129 PyObject
* obj1
= 0 ;
14130 char *kwnames
[] = {
14131 (char *) "self",(char *) "x", NULL
14134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
14135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14137 arg2
= (int)SWIG_As_int(obj1
);
14138 if (PyErr_Occurred()) SWIG_fail
;
14140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14141 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
14143 wxPyEndAllowThreads(__tstate
);
14144 if (PyErr_Occurred()) SWIG_fail
;
14146 resultobj
= SWIG_From_int((int)result
);
14153 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14154 PyObject
*resultobj
;
14155 wxDC
*arg1
= (wxDC
*) 0 ;
14158 PyObject
* obj0
= 0 ;
14159 PyObject
* obj1
= 0 ;
14160 char *kwnames
[] = {
14161 (char *) "self",(char *) "y", NULL
14164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
14165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14167 arg2
= (int)SWIG_As_int(obj1
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14171 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
14173 wxPyEndAllowThreads(__tstate
);
14174 if (PyErr_Occurred()) SWIG_fail
;
14176 resultobj
= SWIG_From_int((int)result
);
14183 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14184 PyObject
*resultobj
;
14185 wxDC
*arg1
= (wxDC
*) 0 ;
14188 PyObject
* obj0
= 0 ;
14189 PyObject
* obj1
= 0 ;
14190 char *kwnames
[] = {
14191 (char *) "self",(char *) "x", NULL
14194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
14195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14197 arg2
= (int)SWIG_As_int(obj1
);
14198 if (PyErr_Occurred()) SWIG_fail
;
14200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14201 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
14203 wxPyEndAllowThreads(__tstate
);
14204 if (PyErr_Occurred()) SWIG_fail
;
14206 resultobj
= SWIG_From_int((int)result
);
14213 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14214 PyObject
*resultobj
;
14215 wxDC
*arg1
= (wxDC
*) 0 ;
14218 PyObject
* obj0
= 0 ;
14219 PyObject
* obj1
= 0 ;
14220 char *kwnames
[] = {
14221 (char *) "self",(char *) "y", NULL
14224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
14225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14227 arg2
= (int)SWIG_As_int(obj1
);
14228 if (PyErr_Occurred()) SWIG_fail
;
14230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14231 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
14233 wxPyEndAllowThreads(__tstate
);
14234 if (PyErr_Occurred()) SWIG_fail
;
14236 resultobj
= SWIG_From_int((int)result
);
14243 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14244 PyObject
*resultobj
;
14245 wxDC
*arg1
= (wxDC
*) 0 ;
14247 PyObject
* obj0
= 0 ;
14248 char *kwnames
[] = {
14249 (char *) "self", NULL
14252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
14253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14257 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
14259 wxPyEndAllowThreads(__tstate
);
14260 if (PyErr_Occurred()) SWIG_fail
;
14263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14271 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14272 PyObject
*resultobj
;
14273 wxDC
*arg1
= (wxDC
*) 0 ;
14275 PyObject
* obj0
= 0 ;
14276 char *kwnames
[] = {
14277 (char *) "self", NULL
14280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
14281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14285 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
14287 wxPyEndAllowThreads(__tstate
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14299 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14300 PyObject
*resultobj
;
14301 wxDC
*arg1
= (wxDC
*) 0 ;
14303 PyObject
* obj0
= 0 ;
14304 char *kwnames
[] = {
14305 (char *) "self", NULL
14308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
14309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14313 result
= (int)((wxDC
const *)arg1
)->GetDepth();
14315 wxPyEndAllowThreads(__tstate
);
14316 if (PyErr_Occurred()) SWIG_fail
;
14318 resultobj
= SWIG_From_int((int)result
);
14325 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14326 PyObject
*resultobj
;
14327 wxDC
*arg1
= (wxDC
*) 0 ;
14329 PyObject
* obj0
= 0 ;
14330 char *kwnames
[] = {
14331 (char *) "self", NULL
14334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
14335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 result
= ((wxDC
const *)arg1
)->GetPPI();
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14345 wxSize
* resultptr
;
14346 resultptr
= new wxSize((wxSize
&) result
);
14347 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14355 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14356 PyObject
*resultobj
;
14357 wxDC
*arg1
= (wxDC
*) 0 ;
14359 PyObject
* obj0
= 0 ;
14360 char *kwnames
[] = {
14361 (char *) "self", NULL
14364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
14365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14369 result
= (bool)((wxDC
const *)arg1
)->Ok();
14371 wxPyEndAllowThreads(__tstate
);
14372 if (PyErr_Occurred()) SWIG_fail
;
14375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14383 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14384 PyObject
*resultobj
;
14385 wxDC
*arg1
= (wxDC
*) 0 ;
14387 PyObject
* obj0
= 0 ;
14388 char *kwnames
[] = {
14389 (char *) "self", NULL
14392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
14393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14397 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14402 resultobj
= SWIG_From_int((int)result
);
14409 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14410 PyObject
*resultobj
;
14411 wxDC
*arg1
= (wxDC
*) 0 ;
14413 PyObject
* obj0
= 0 ;
14414 char *kwnames
[] = {
14415 (char *) "self", NULL
14418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
14419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14424 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
14425 result
= (wxBrush
*) &_result_ref
;
14428 wxPyEndAllowThreads(__tstate
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14432 wxBrush
* resultptr
= new wxBrush(*result
);
14433 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14441 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14442 PyObject
*resultobj
;
14443 wxDC
*arg1
= (wxDC
*) 0 ;
14445 PyObject
* obj0
= 0 ;
14446 char *kwnames
[] = {
14447 (char *) "self", NULL
14450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
14451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14456 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
14457 result
= (wxBrush
*) &_result_ref
;
14460 wxPyEndAllowThreads(__tstate
);
14461 if (PyErr_Occurred()) SWIG_fail
;
14464 wxBrush
* resultptr
= new wxBrush(*result
);
14465 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14473 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14474 PyObject
*resultobj
;
14475 wxDC
*arg1
= (wxDC
*) 0 ;
14477 PyObject
* obj0
= 0 ;
14478 char *kwnames
[] = {
14479 (char *) "self", NULL
14482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
14483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14488 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
14489 result
= (wxFont
*) &_result_ref
;
14492 wxPyEndAllowThreads(__tstate
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14496 wxFont
* resultptr
= new wxFont(*result
);
14497 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
14505 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14506 PyObject
*resultobj
;
14507 wxDC
*arg1
= (wxDC
*) 0 ;
14509 PyObject
* obj0
= 0 ;
14510 char *kwnames
[] = {
14511 (char *) "self", NULL
14514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
14515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14520 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
14521 result
= (wxPen
*) &_result_ref
;
14524 wxPyEndAllowThreads(__tstate
);
14525 if (PyErr_Occurred()) SWIG_fail
;
14528 wxPen
* resultptr
= new wxPen(*result
);
14529 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
14537 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14538 PyObject
*resultobj
;
14539 wxDC
*arg1
= (wxDC
*) 0 ;
14541 PyObject
* obj0
= 0 ;
14542 char *kwnames
[] = {
14543 (char *) "self", NULL
14546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
14547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14552 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
14553 result
= (wxColour
*) &_result_ref
;
14556 wxPyEndAllowThreads(__tstate
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14566 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14567 PyObject
*resultobj
;
14568 wxDC
*arg1
= (wxDC
*) 0 ;
14570 PyObject
* obj0
= 0 ;
14571 char *kwnames
[] = {
14572 (char *) "self", NULL
14575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
14576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14581 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
14582 result
= (wxColour
*) &_result_ref
;
14585 wxPyEndAllowThreads(__tstate
);
14586 if (PyErr_Occurred()) SWIG_fail
;
14588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14595 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14596 PyObject
*resultobj
;
14597 wxDC
*arg1
= (wxDC
*) 0 ;
14598 wxColour
*arg2
= 0 ;
14600 PyObject
* obj0
= 0 ;
14601 PyObject
* obj1
= 0 ;
14602 char *kwnames
[] = {
14603 (char *) "self",(char *) "colour", NULL
14606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14611 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14615 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
14617 wxPyEndAllowThreads(__tstate
);
14618 if (PyErr_Occurred()) SWIG_fail
;
14620 Py_INCREF(Py_None
); resultobj
= Py_None
;
14627 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14628 PyObject
*resultobj
;
14629 wxDC
*arg1
= (wxDC
*) 0 ;
14630 wxColour
*arg2
= 0 ;
14632 PyObject
* obj0
= 0 ;
14633 PyObject
* obj1
= 0 ;
14634 char *kwnames
[] = {
14635 (char *) "self",(char *) "colour", NULL
14638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14643 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14647 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
14649 wxPyEndAllowThreads(__tstate
);
14650 if (PyErr_Occurred()) SWIG_fail
;
14652 Py_INCREF(Py_None
); resultobj
= Py_None
;
14659 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14660 PyObject
*resultobj
;
14661 wxDC
*arg1
= (wxDC
*) 0 ;
14663 PyObject
* obj0
= 0 ;
14664 char *kwnames
[] = {
14665 (char *) "self", NULL
14668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
14669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14673 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
14675 wxPyEndAllowThreads(__tstate
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14678 resultobj
= SWIG_From_int((int)result
);
14685 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14686 PyObject
*resultobj
;
14687 wxDC
*arg1
= (wxDC
*) 0 ;
14689 PyObject
* obj0
= 0 ;
14690 PyObject
* obj1
= 0 ;
14691 char *kwnames
[] = {
14692 (char *) "self",(char *) "mode", NULL
14695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14698 arg2
= (int)SWIG_As_int(obj1
);
14699 if (PyErr_Occurred()) SWIG_fail
;
14701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14702 (arg1
)->SetMapMode(arg2
);
14704 wxPyEndAllowThreads(__tstate
);
14705 if (PyErr_Occurred()) SWIG_fail
;
14707 Py_INCREF(Py_None
); resultobj
= Py_None
;
14714 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14715 PyObject
*resultobj
;
14716 wxDC
*arg1
= (wxDC
*) 0 ;
14717 double *arg2
= (double *) 0 ;
14718 double *arg3
= (double *) 0 ;
14723 PyObject
* obj0
= 0 ;
14724 char *kwnames
[] = {
14725 (char *) "self", NULL
14728 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14729 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14735 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14737 wxPyEndAllowThreads(__tstate
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14740 Py_INCREF(Py_None
); resultobj
= Py_None
;
14741 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14742 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
14743 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14744 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
14751 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14752 PyObject
*resultobj
;
14753 wxDC
*arg1
= (wxDC
*) 0 ;
14756 PyObject
* obj0
= 0 ;
14757 PyObject
* obj1
= 0 ;
14758 PyObject
* obj2
= 0 ;
14759 char *kwnames
[] = {
14760 (char *) "self",(char *) "x",(char *) "y", NULL
14763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14766 arg2
= (double)SWIG_As_double(obj1
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14768 arg3
= (double)SWIG_As_double(obj2
);
14769 if (PyErr_Occurred()) SWIG_fail
;
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 (arg1
)->SetUserScale(arg2
,arg3
);
14774 wxPyEndAllowThreads(__tstate
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14777 Py_INCREF(Py_None
); resultobj
= Py_None
;
14784 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14785 PyObject
*resultobj
;
14786 wxDC
*arg1
= (wxDC
*) 0 ;
14787 double *arg2
= (double *) 0 ;
14788 double *arg3
= (double *) 0 ;
14793 PyObject
* obj0
= 0 ;
14794 char *kwnames
[] = {
14795 (char *) "self", NULL
14798 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14799 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 (arg1
)->GetLogicalScale(arg2
,arg3
);
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 Py_INCREF(Py_None
); resultobj
= Py_None
;
14811 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14812 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
14813 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14814 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
14821 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14822 PyObject
*resultobj
;
14823 wxDC
*arg1
= (wxDC
*) 0 ;
14826 PyObject
* obj0
= 0 ;
14827 PyObject
* obj1
= 0 ;
14828 PyObject
* obj2
= 0 ;
14829 char *kwnames
[] = {
14830 (char *) "self",(char *) "x",(char *) "y", NULL
14833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14836 arg2
= (double)SWIG_As_double(obj1
);
14837 if (PyErr_Occurred()) SWIG_fail
;
14838 arg3
= (double)SWIG_As_double(obj2
);
14839 if (PyErr_Occurred()) SWIG_fail
;
14841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14842 (arg1
)->SetLogicalScale(arg2
,arg3
);
14844 wxPyEndAllowThreads(__tstate
);
14845 if (PyErr_Occurred()) SWIG_fail
;
14847 Py_INCREF(Py_None
); resultobj
= Py_None
;
14854 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14855 PyObject
*resultobj
;
14856 wxDC
*arg1
= (wxDC
*) 0 ;
14858 PyObject
* obj0
= 0 ;
14859 char *kwnames
[] = {
14860 (char *) "self", NULL
14863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14868 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14870 wxPyEndAllowThreads(__tstate
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14874 wxPoint
* resultptr
;
14875 resultptr
= new wxPoint((wxPoint
&) result
);
14876 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14884 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
;
14886 wxDC
*arg1
= (wxDC
*) 0 ;
14887 int *arg2
= (int *) 0 ;
14888 int *arg3
= (int *) 0 ;
14893 PyObject
* obj0
= 0 ;
14894 char *kwnames
[] = {
14895 (char *) "self", NULL
14898 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14899 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14905 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14907 wxPyEndAllowThreads(__tstate
);
14908 if (PyErr_Occurred()) SWIG_fail
;
14910 Py_INCREF(Py_None
); resultobj
= Py_None
;
14911 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14912 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14913 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14914 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14921 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14922 PyObject
*resultobj
;
14923 wxDC
*arg1
= (wxDC
*) 0 ;
14926 PyObject
* obj0
= 0 ;
14927 PyObject
* obj1
= 0 ;
14928 PyObject
* obj2
= 0 ;
14929 char *kwnames
[] = {
14930 (char *) "self",(char *) "x",(char *) "y", NULL
14933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14936 arg2
= (int)SWIG_As_int(obj1
);
14937 if (PyErr_Occurred()) SWIG_fail
;
14938 arg3
= (int)SWIG_As_int(obj2
);
14939 if (PyErr_Occurred()) SWIG_fail
;
14941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14942 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14944 wxPyEndAllowThreads(__tstate
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14947 Py_INCREF(Py_None
); resultobj
= Py_None
;
14954 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14955 PyObject
*resultobj
;
14956 wxDC
*arg1
= (wxDC
*) 0 ;
14957 wxPoint
*arg2
= 0 ;
14959 PyObject
* obj0
= 0 ;
14960 PyObject
* obj1
= 0 ;
14961 char *kwnames
[] = {
14962 (char *) "self",(char *) "point", NULL
14965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14970 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14974 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14976 wxPyEndAllowThreads(__tstate
);
14977 if (PyErr_Occurred()) SWIG_fail
;
14979 Py_INCREF(Py_None
); resultobj
= Py_None
;
14986 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14987 PyObject
*resultobj
;
14988 wxDC
*arg1
= (wxDC
*) 0 ;
14990 PyObject
* obj0
= 0 ;
14991 char *kwnames
[] = {
14992 (char *) "self", NULL
14995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15006 wxPoint
* resultptr
;
15007 resultptr
= new wxPoint((wxPoint
&) result
);
15008 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15016 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15017 PyObject
*resultobj
;
15018 wxDC
*arg1
= (wxDC
*) 0 ;
15019 int *arg2
= (int *) 0 ;
15020 int *arg3
= (int *) 0 ;
15025 PyObject
* obj0
= 0 ;
15026 char *kwnames
[] = {
15027 (char *) "self", NULL
15030 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15031 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
15033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15037 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
15039 wxPyEndAllowThreads(__tstate
);
15040 if (PyErr_Occurred()) SWIG_fail
;
15042 Py_INCREF(Py_None
); resultobj
= Py_None
;
15043 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15044 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15045 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15046 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15053 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15054 PyObject
*resultobj
;
15055 wxDC
*arg1
= (wxDC
*) 0 ;
15058 PyObject
* obj0
= 0 ;
15059 PyObject
* obj1
= 0 ;
15060 PyObject
* obj2
= 0 ;
15061 char *kwnames
[] = {
15062 (char *) "self",(char *) "x",(char *) "y", NULL
15065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15068 arg2
= (int)SWIG_As_int(obj1
);
15069 if (PyErr_Occurred()) SWIG_fail
;
15070 arg3
= (int)SWIG_As_int(obj2
);
15071 if (PyErr_Occurred()) SWIG_fail
;
15073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15074 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15079 Py_INCREF(Py_None
); resultobj
= Py_None
;
15086 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15087 PyObject
*resultobj
;
15088 wxDC
*arg1
= (wxDC
*) 0 ;
15089 wxPoint
*arg2
= 0 ;
15091 PyObject
* obj0
= 0 ;
15092 PyObject
* obj1
= 0 ;
15093 char *kwnames
[] = {
15094 (char *) "self",(char *) "point", NULL
15097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
15098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15102 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15106 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
15108 wxPyEndAllowThreads(__tstate
);
15109 if (PyErr_Occurred()) SWIG_fail
;
15111 Py_INCREF(Py_None
); resultobj
= Py_None
;
15118 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15119 PyObject
*resultobj
;
15120 wxDC
*arg1
= (wxDC
*) 0 ;
15123 PyObject
* obj0
= 0 ;
15124 PyObject
* obj1
= 0 ;
15125 PyObject
* obj2
= 0 ;
15126 char *kwnames
[] = {
15127 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
15130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15133 arg2
= (bool)SWIG_As_bool(obj1
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15135 arg3
= (bool)SWIG_As_bool(obj2
);
15136 if (PyErr_Occurred()) SWIG_fail
;
15138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15139 (arg1
)->SetAxisOrientation(arg2
,arg3
);
15141 wxPyEndAllowThreads(__tstate
);
15142 if (PyErr_Occurred()) SWIG_fail
;
15144 Py_INCREF(Py_None
); resultobj
= Py_None
;
15151 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15152 PyObject
*resultobj
;
15153 wxDC
*arg1
= (wxDC
*) 0 ;
15155 PyObject
* obj0
= 0 ;
15156 char *kwnames
[] = {
15157 (char *) "self", NULL
15160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
15161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15165 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
15167 wxPyEndAllowThreads(__tstate
);
15168 if (PyErr_Occurred()) SWIG_fail
;
15170 resultobj
= SWIG_From_int((int)result
);
15177 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15178 PyObject
*resultobj
;
15179 wxDC
*arg1
= (wxDC
*) 0 ;
15181 PyObject
* obj0
= 0 ;
15182 PyObject
* obj1
= 0 ;
15183 char *kwnames
[] = {
15184 (char *) "self",(char *) "function", NULL
15187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
15188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15190 arg2
= (int)SWIG_As_int(obj1
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15194 (arg1
)->SetLogicalFunction(arg2
);
15196 wxPyEndAllowThreads(__tstate
);
15197 if (PyErr_Occurred()) SWIG_fail
;
15199 Py_INCREF(Py_None
); resultobj
= Py_None
;
15206 static PyObject
*_wrap_DC_SetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15207 PyObject
*resultobj
;
15208 wxDC
*arg1
= (wxDC
*) 0 ;
15210 PyObject
* obj0
= 0 ;
15211 PyObject
* obj1
= 0 ;
15212 char *kwnames
[] = {
15213 (char *) "self",(char *) "optimize", NULL
15216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
15217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15219 arg2
= (bool)SWIG_As_bool(obj1
);
15220 if (PyErr_Occurred()) SWIG_fail
;
15222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15223 (arg1
)->SetOptimization(arg2
);
15225 wxPyEndAllowThreads(__tstate
);
15226 if (PyErr_Occurred()) SWIG_fail
;
15228 Py_INCREF(Py_None
); resultobj
= Py_None
;
15235 static PyObject
*_wrap_DC_GetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15236 PyObject
*resultobj
;
15237 wxDC
*arg1
= (wxDC
*) 0 ;
15239 PyObject
* obj0
= 0 ;
15240 char *kwnames
[] = {
15241 (char *) "self", NULL
15244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
15245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15249 result
= (bool)(arg1
)->GetOptimization();
15251 wxPyEndAllowThreads(__tstate
);
15252 if (PyErr_Occurred()) SWIG_fail
;
15255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15263 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15264 PyObject
*resultobj
;
15265 wxDC
*arg1
= (wxDC
*) 0 ;
15268 PyObject
* obj0
= 0 ;
15269 PyObject
* obj1
= 0 ;
15270 PyObject
* obj2
= 0 ;
15271 char *kwnames
[] = {
15272 (char *) "self",(char *) "x",(char *) "y", NULL
15275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15278 arg2
= (int)SWIG_As_int(obj1
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15280 arg3
= (int)SWIG_As_int(obj2
);
15281 if (PyErr_Occurred()) SWIG_fail
;
15283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15284 (arg1
)->CalcBoundingBox(arg2
,arg3
);
15286 wxPyEndAllowThreads(__tstate
);
15287 if (PyErr_Occurred()) SWIG_fail
;
15289 Py_INCREF(Py_None
); resultobj
= Py_None
;
15296 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15297 PyObject
*resultobj
;
15298 wxDC
*arg1
= (wxDC
*) 0 ;
15299 wxPoint
*arg2
= 0 ;
15301 PyObject
* obj0
= 0 ;
15302 PyObject
* obj1
= 0 ;
15303 char *kwnames
[] = {
15304 (char *) "self",(char *) "point", NULL
15307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
15308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15312 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15321 Py_INCREF(Py_None
); resultobj
= Py_None
;
15328 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15329 PyObject
*resultobj
;
15330 wxDC
*arg1
= (wxDC
*) 0 ;
15331 PyObject
* obj0
= 0 ;
15332 char *kwnames
[] = {
15333 (char *) "self", NULL
15336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
15337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15341 (arg1
)->ResetBoundingBox();
15343 wxPyEndAllowThreads(__tstate
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15346 Py_INCREF(Py_None
); resultobj
= Py_None
;
15353 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15354 PyObject
*resultobj
;
15355 wxDC
*arg1
= (wxDC
*) 0 ;
15357 PyObject
* obj0
= 0 ;
15358 char *kwnames
[] = {
15359 (char *) "self", NULL
15362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
15363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15367 result
= (int)((wxDC
const *)arg1
)->MinX();
15369 wxPyEndAllowThreads(__tstate
);
15370 if (PyErr_Occurred()) SWIG_fail
;
15372 resultobj
= SWIG_From_int((int)result
);
15379 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15380 PyObject
*resultobj
;
15381 wxDC
*arg1
= (wxDC
*) 0 ;
15383 PyObject
* obj0
= 0 ;
15384 char *kwnames
[] = {
15385 (char *) "self", NULL
15388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
15389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15393 result
= (int)((wxDC
const *)arg1
)->MaxX();
15395 wxPyEndAllowThreads(__tstate
);
15396 if (PyErr_Occurred()) SWIG_fail
;
15398 resultobj
= SWIG_From_int((int)result
);
15405 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15406 PyObject
*resultobj
;
15407 wxDC
*arg1
= (wxDC
*) 0 ;
15409 PyObject
* obj0
= 0 ;
15410 char *kwnames
[] = {
15411 (char *) "self", NULL
15414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
15415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 result
= (int)((wxDC
const *)arg1
)->MinY();
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15424 resultobj
= SWIG_From_int((int)result
);
15431 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15432 PyObject
*resultobj
;
15433 wxDC
*arg1
= (wxDC
*) 0 ;
15435 PyObject
* obj0
= 0 ;
15436 char *kwnames
[] = {
15437 (char *) "self", NULL
15440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
15441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15445 result
= (int)((wxDC
const *)arg1
)->MaxY();
15447 wxPyEndAllowThreads(__tstate
);
15448 if (PyErr_Occurred()) SWIG_fail
;
15450 resultobj
= SWIG_From_int((int)result
);
15457 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15458 PyObject
*resultobj
;
15459 wxDC
*arg1
= (wxDC
*) 0 ;
15460 int *arg2
= (int *) 0 ;
15461 int *arg3
= (int *) 0 ;
15462 int *arg4
= (int *) 0 ;
15463 int *arg5
= (int *) 0 ;
15472 PyObject
* obj0
= 0 ;
15473 char *kwnames
[] = {
15474 (char *) "self", NULL
15477 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15478 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15479 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15480 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
15482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15486 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
15488 wxPyEndAllowThreads(__tstate
);
15489 if (PyErr_Occurred()) SWIG_fail
;
15491 Py_INCREF(Py_None
); resultobj
= Py_None
;
15492 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15493 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15494 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15495 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15496 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15497 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15498 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15499 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15506 static PyObject
*_wrap_DC_GetHDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15507 PyObject
*resultobj
;
15508 wxDC
*arg1
= (wxDC
*) 0 ;
15510 PyObject
* obj0
= 0 ;
15511 char *kwnames
[] = {
15512 (char *) "self", NULL
15515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetHDC",kwnames
,&obj0
)) goto fail
;
15516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15520 result
= (long)(arg1
)->GetHDC();
15522 wxPyEndAllowThreads(__tstate
);
15523 if (PyErr_Occurred()) SWIG_fail
;
15525 resultobj
= SWIG_From_long((long)result
);
15532 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15533 PyObject
*resultobj
;
15534 wxDC
*arg1
= (wxDC
*) 0 ;
15535 PyObject
*arg2
= (PyObject
*) 0 ;
15536 PyObject
*arg3
= (PyObject
*) 0 ;
15537 PyObject
*arg4
= (PyObject
*) 0 ;
15539 PyObject
* obj0
= 0 ;
15540 PyObject
* obj1
= 0 ;
15541 PyObject
* obj2
= 0 ;
15542 PyObject
* obj3
= 0 ;
15543 char *kwnames
[] = {
15544 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15555 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
15557 wxPyEndAllowThreads(__tstate
);
15558 if (PyErr_Occurred()) SWIG_fail
;
15560 resultobj
= result
;
15567 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15568 PyObject
*resultobj
;
15569 wxDC
*arg1
= (wxDC
*) 0 ;
15570 PyObject
*arg2
= (PyObject
*) 0 ;
15571 PyObject
*arg3
= (PyObject
*) 0 ;
15572 PyObject
*arg4
= (PyObject
*) 0 ;
15574 PyObject
* obj0
= 0 ;
15575 PyObject
* obj1
= 0 ;
15576 PyObject
* obj2
= 0 ;
15577 PyObject
* obj3
= 0 ;
15578 char *kwnames
[] = {
15579 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15590 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15595 resultobj
= result
;
15602 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15603 PyObject
*resultobj
;
15604 wxDC
*arg1
= (wxDC
*) 0 ;
15605 PyObject
*arg2
= (PyObject
*) 0 ;
15606 PyObject
*arg3
= (PyObject
*) 0 ;
15607 PyObject
*arg4
= (PyObject
*) 0 ;
15609 PyObject
* obj0
= 0 ;
15610 PyObject
* obj1
= 0 ;
15611 PyObject
* obj2
= 0 ;
15612 PyObject
* obj3
= 0 ;
15613 char *kwnames
[] = {
15614 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15625 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
15627 wxPyEndAllowThreads(__tstate
);
15628 if (PyErr_Occurred()) SWIG_fail
;
15630 resultobj
= result
;
15637 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15638 PyObject
*resultobj
;
15639 wxDC
*arg1
= (wxDC
*) 0 ;
15640 PyObject
*arg2
= (PyObject
*) 0 ;
15641 PyObject
*arg3
= (PyObject
*) 0 ;
15642 PyObject
*arg4
= (PyObject
*) 0 ;
15644 PyObject
* obj0
= 0 ;
15645 PyObject
* obj1
= 0 ;
15646 PyObject
* obj2
= 0 ;
15647 PyObject
* obj3
= 0 ;
15648 char *kwnames
[] = {
15649 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15660 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
15662 wxPyEndAllowThreads(__tstate
);
15663 if (PyErr_Occurred()) SWIG_fail
;
15665 resultobj
= result
;
15672 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15673 PyObject
*resultobj
;
15674 wxDC
*arg1
= (wxDC
*) 0 ;
15675 PyObject
*arg2
= (PyObject
*) 0 ;
15676 PyObject
*arg3
= (PyObject
*) 0 ;
15677 PyObject
*arg4
= (PyObject
*) 0 ;
15679 PyObject
* obj0
= 0 ;
15680 PyObject
* obj1
= 0 ;
15681 PyObject
* obj2
= 0 ;
15682 PyObject
* obj3
= 0 ;
15683 char *kwnames
[] = {
15684 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15695 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15697 wxPyEndAllowThreads(__tstate
);
15698 if (PyErr_Occurred()) SWIG_fail
;
15700 resultobj
= result
;
15707 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15708 PyObject
*resultobj
;
15709 wxDC
*arg1
= (wxDC
*) 0 ;
15710 PyObject
*arg2
= (PyObject
*) 0 ;
15711 PyObject
*arg3
= (PyObject
*) 0 ;
15712 PyObject
*arg4
= (PyObject
*) 0 ;
15713 PyObject
*arg5
= (PyObject
*) 0 ;
15715 PyObject
* obj0
= 0 ;
15716 PyObject
* obj1
= 0 ;
15717 PyObject
* obj2
= 0 ;
15718 PyObject
* obj3
= 0 ;
15719 PyObject
* obj4
= 0 ;
15720 char *kwnames
[] = {
15721 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15733 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
15735 wxPyEndAllowThreads(__tstate
);
15736 if (PyErr_Occurred()) SWIG_fail
;
15738 resultobj
= result
;
15745 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
15747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15748 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15750 return Py_BuildValue((char *)"");
15752 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15753 PyObject
*resultobj
;
15754 wxMemoryDC
*result
;
15755 char *kwnames
[] = {
15759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15761 if (!wxPyCheckForApp()) SWIG_fail
;
15762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15763 result
= (wxMemoryDC
*)new wxMemoryDC();
15765 wxPyEndAllowThreads(__tstate
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15775 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15776 PyObject
*resultobj
;
15777 wxDC
*arg1
= (wxDC
*) 0 ;
15778 wxMemoryDC
*result
;
15779 PyObject
* obj0
= 0 ;
15780 char *kwnames
[] = {
15781 (char *) "oldDC", NULL
15784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15788 if (!wxPyCheckForApp()) SWIG_fail
;
15789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15790 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15792 wxPyEndAllowThreads(__tstate
);
15793 if (PyErr_Occurred()) SWIG_fail
;
15795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15802 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15803 PyObject
*resultobj
;
15804 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15805 wxBitmap
*arg2
= 0 ;
15806 PyObject
* obj0
= 0 ;
15807 PyObject
* obj1
= 0 ;
15808 char *kwnames
[] = {
15809 (char *) "self",(char *) "bitmap", NULL
15812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15815 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15816 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15818 if (arg2
== NULL
) {
15819 PyErr_SetString(PyExc_TypeError
,"null reference");
15823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15824 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15826 wxPyEndAllowThreads(__tstate
);
15827 if (PyErr_Occurred()) SWIG_fail
;
15829 Py_INCREF(Py_None
); resultobj
= Py_None
;
15836 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
15838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15839 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15841 return Py_BuildValue((char *)"");
15843 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
15844 PyObject
*resultobj
;
15845 wxDC
*arg1
= (wxDC
*) 0 ;
15846 wxBitmap
*arg2
= 0 ;
15847 wxBufferedDC
*result
;
15848 PyObject
* obj0
= 0 ;
15849 PyObject
* obj1
= 0 ;
15851 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15857 if (arg2
== NULL
) {
15858 PyErr_SetString(PyExc_TypeError
,"null reference");
15862 if (!wxPyCheckForApp()) SWIG_fail
;
15863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15864 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15866 wxPyEndAllowThreads(__tstate
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15876 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
15877 PyObject
*resultobj
;
15878 wxDC
*arg1
= (wxDC
*) 0 ;
15880 wxBufferedDC
*result
;
15882 PyObject
* obj0
= 0 ;
15883 PyObject
* obj1
= 0 ;
15885 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15890 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15893 if (!wxPyCheckForApp()) SWIG_fail
;
15894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15895 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15897 wxPyEndAllowThreads(__tstate
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15907 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15912 argc
= PyObject_Length(args
);
15913 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15914 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15920 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15930 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15938 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15946 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15955 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15958 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15963 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15968 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15969 PyObject
*resultobj
;
15970 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15971 PyObject
* obj0
= 0 ;
15972 char *kwnames
[] = {
15973 (char *) "self", NULL
15976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15983 wxPyEndAllowThreads(__tstate
);
15984 if (PyErr_Occurred()) SWIG_fail
;
15986 Py_INCREF(Py_None
); resultobj
= Py_None
;
15993 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15994 PyObject
*resultobj
;
15995 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15996 PyObject
* obj0
= 0 ;
15997 char *kwnames
[] = {
15998 (char *) "self", NULL
16001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
16002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
16003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16008 wxPyEndAllowThreads(__tstate
);
16009 if (PyErr_Occurred()) SWIG_fail
;
16011 Py_INCREF(Py_None
); resultobj
= Py_None
;
16018 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
16020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16021 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
16023 return Py_BuildValue((char *)"");
16025 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16026 PyObject
*resultobj
;
16027 wxWindow
*arg1
= (wxWindow
*) 0 ;
16028 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
16029 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
16030 wxBufferedPaintDC
*result
;
16031 PyObject
* obj0
= 0 ;
16032 PyObject
* obj1
= 0 ;
16033 char *kwnames
[] = {
16034 (char *) "window",(char *) "buffer", NULL
16037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
16038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16042 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16044 if (arg2
== NULL
) {
16045 PyErr_SetString(PyExc_TypeError
,"null reference");
16050 if (!wxPyCheckForApp()) SWIG_fail
;
16051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16052 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
16064 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
16066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16067 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
16069 return Py_BuildValue((char *)"");
16071 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16072 PyObject
*resultobj
;
16073 wxScreenDC
*result
;
16074 char *kwnames
[] = {
16078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
16080 if (!wxPyCheckForApp()) SWIG_fail
;
16081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16082 result
= (wxScreenDC
*)new wxScreenDC();
16084 wxPyEndAllowThreads(__tstate
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
16094 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16095 PyObject
*resultobj
;
16096 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
16097 wxWindow
*arg2
= (wxWindow
*) 0 ;
16099 PyObject
* obj0
= 0 ;
16100 PyObject
* obj1
= 0 ;
16101 char *kwnames
[] = {
16102 (char *) "self",(char *) "window", NULL
16105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
16106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
16107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16108 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16112 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
16114 wxPyEndAllowThreads(__tstate
);
16115 if (PyErr_Occurred()) SWIG_fail
;
16118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16126 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16127 PyObject
*resultobj
;
16128 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
16129 wxRect
*arg2
= (wxRect
*) NULL
;
16131 PyObject
* obj0
= 0 ;
16132 PyObject
* obj1
= 0 ;
16133 char *kwnames
[] = {
16134 (char *) "self",(char *) "rect", NULL
16137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
16138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
16139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16141 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16146 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
16148 wxPyEndAllowThreads(__tstate
);
16149 if (PyErr_Occurred()) SWIG_fail
;
16152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16160 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16161 PyObject
*resultobj
;
16162 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
16164 PyObject
* obj0
= 0 ;
16165 char *kwnames
[] = {
16166 (char *) "self", NULL
16169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
16170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
16171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16174 result
= (bool)(arg1
)->EndDrawingOnTop();
16176 wxPyEndAllowThreads(__tstate
);
16177 if (PyErr_Occurred()) SWIG_fail
;
16180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16188 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
16190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16191 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
16193 return Py_BuildValue((char *)"");
16195 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16196 PyObject
*resultobj
;
16197 wxWindow
*arg1
= (wxWindow
*) 0 ;
16198 wxClientDC
*result
;
16199 PyObject
* obj0
= 0 ;
16200 char *kwnames
[] = {
16201 (char *) "win", NULL
16204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
16205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16208 if (!wxPyCheckForApp()) SWIG_fail
;
16209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16210 result
= (wxClientDC
*)new wxClientDC(arg1
);
16212 wxPyEndAllowThreads(__tstate
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
16222 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
16224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16225 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
16227 return Py_BuildValue((char *)"");
16229 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16230 PyObject
*resultobj
;
16231 wxWindow
*arg1
= (wxWindow
*) 0 ;
16233 PyObject
* obj0
= 0 ;
16234 char *kwnames
[] = {
16235 (char *) "win", NULL
16238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
16239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16242 if (!wxPyCheckForApp()) SWIG_fail
;
16243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16244 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
16246 wxPyEndAllowThreads(__tstate
);
16247 if (PyErr_Occurred()) SWIG_fail
;
16249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
16256 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
16258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16259 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
16261 return Py_BuildValue((char *)"");
16263 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16264 PyObject
*resultobj
;
16265 wxWindow
*arg1
= (wxWindow
*) 0 ;
16266 wxWindowDC
*result
;
16267 PyObject
* obj0
= 0 ;
16268 char *kwnames
[] = {
16269 (char *) "win", NULL
16272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
16273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16276 if (!wxPyCheckForApp()) SWIG_fail
;
16277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16278 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
16280 wxPyEndAllowThreads(__tstate
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
16290 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
16292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16293 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
16295 return Py_BuildValue((char *)"");
16297 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16298 PyObject
*resultobj
;
16301 wxMirrorDC
*result
;
16302 PyObject
* obj0
= 0 ;
16303 PyObject
* obj1
= 0 ;
16304 char *kwnames
[] = {
16305 (char *) "dc",(char *) "mirror", NULL
16308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
16309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
16310 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16312 if (arg1
== NULL
) {
16313 PyErr_SetString(PyExc_TypeError
,"null reference");
16316 arg2
= (bool)SWIG_As_bool(obj1
);
16317 if (PyErr_Occurred()) SWIG_fail
;
16319 if (!wxPyCheckForApp()) SWIG_fail
;
16320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16321 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
16323 wxPyEndAllowThreads(__tstate
);
16324 if (PyErr_Occurred()) SWIG_fail
;
16326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
16333 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
16335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16336 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
16338 return Py_BuildValue((char *)"");
16340 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16341 PyObject
*resultobj
;
16342 wxPrintData
*arg1
= 0 ;
16343 wxPostScriptDC
*result
;
16344 PyObject
* obj0
= 0 ;
16345 char *kwnames
[] = {
16346 (char *) "printData", NULL
16349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
16350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16351 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16353 if (arg1
== NULL
) {
16354 PyErr_SetString(PyExc_TypeError
,"null reference");
16358 if (!wxPyCheckForApp()) SWIG_fail
;
16359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16360 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
16362 wxPyEndAllowThreads(__tstate
);
16363 if (PyErr_Occurred()) SWIG_fail
;
16365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
16372 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16373 PyObject
*resultobj
;
16374 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16375 wxPrintData
*result
;
16376 PyObject
* obj0
= 0 ;
16377 char *kwnames
[] = {
16378 (char *) "self", NULL
16381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
16382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16387 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
16388 result
= (wxPrintData
*) &_result_ref
;
16391 wxPyEndAllowThreads(__tstate
);
16392 if (PyErr_Occurred()) SWIG_fail
;
16394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
16401 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16402 PyObject
*resultobj
;
16403 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16404 wxPrintData
*arg2
= 0 ;
16405 PyObject
* obj0
= 0 ;
16406 PyObject
* obj1
= 0 ;
16407 char *kwnames
[] = {
16408 (char *) "self",(char *) "data", NULL
16411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
16412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16414 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
16415 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16417 if (arg2
== NULL
) {
16418 PyErr_SetString(PyExc_TypeError
,"null reference");
16422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16423 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
16425 wxPyEndAllowThreads(__tstate
);
16426 if (PyErr_Occurred()) SWIG_fail
;
16428 Py_INCREF(Py_None
); resultobj
= Py_None
;
16435 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16436 PyObject
*resultobj
;
16438 PyObject
* obj0
= 0 ;
16439 char *kwnames
[] = {
16440 (char *) "ppi", NULL
16443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
16444 arg1
= (int)SWIG_As_int(obj0
);
16445 if (PyErr_Occurred()) SWIG_fail
;
16447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16448 wxPostScriptDC::SetResolution(arg1
);
16450 wxPyEndAllowThreads(__tstate
);
16451 if (PyErr_Occurred()) SWIG_fail
;
16453 Py_INCREF(Py_None
); resultobj
= Py_None
;
16460 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16461 PyObject
*resultobj
;
16463 char *kwnames
[] = {
16467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
16469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16470 result
= (int)wxPostScriptDC::GetResolution();
16472 wxPyEndAllowThreads(__tstate
);
16473 if (PyErr_Occurred()) SWIG_fail
;
16475 resultobj
= SWIG_From_int((int)result
);
16482 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
16484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16485 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
16487 return Py_BuildValue((char *)"");
16489 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16490 PyObject
*resultobj
;
16491 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16492 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16493 wxMetaFile
*result
;
16494 bool temp1
= False
;
16495 PyObject
* obj0
= 0 ;
16496 char *kwnames
[] = {
16497 (char *) "filename", NULL
16500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
16503 arg1
= wxString_in_helper(obj0
);
16504 if (arg1
== NULL
) SWIG_fail
;
16509 if (!wxPyCheckForApp()) SWIG_fail
;
16510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16511 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
16513 wxPyEndAllowThreads(__tstate
);
16514 if (PyErr_Occurred()) SWIG_fail
;
16516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
16531 static PyObject
*_wrap_delete_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16532 PyObject
*resultobj
;
16533 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16534 PyObject
* obj0
= 0 ;
16535 char *kwnames
[] = {
16536 (char *) "self", NULL
16539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
16540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16546 wxPyEndAllowThreads(__tstate
);
16547 if (PyErr_Occurred()) SWIG_fail
;
16549 Py_INCREF(Py_None
); resultobj
= Py_None
;
16556 static PyObject
*_wrap_MetaFile_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16557 PyObject
*resultobj
;
16558 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16560 PyObject
* obj0
= 0 ;
16561 char *kwnames
[] = {
16562 (char *) "self", NULL
16565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
16566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16570 result
= (bool)(arg1
)->Ok();
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16584 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16585 PyObject
*resultobj
;
16586 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16587 int arg2
= (int) 0 ;
16588 int arg3
= (int) 0 ;
16590 PyObject
* obj0
= 0 ;
16591 PyObject
* obj1
= 0 ;
16592 PyObject
* obj2
= 0 ;
16593 char *kwnames
[] = {
16594 (char *) "self",(char *) "width",(char *) "height", NULL
16597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16601 arg2
= (int)SWIG_As_int(obj1
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16605 arg3
= (int)SWIG_As_int(obj2
);
16606 if (PyErr_Occurred()) SWIG_fail
;
16609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16610 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
16612 wxPyEndAllowThreads(__tstate
);
16613 if (PyErr_Occurred()) SWIG_fail
;
16616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16624 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16625 PyObject
*resultobj
;
16626 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16628 PyObject
* obj0
= 0 ;
16629 char *kwnames
[] = {
16630 (char *) "self", NULL
16633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
16634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16638 result
= (arg1
)->GetSize();
16640 wxPyEndAllowThreads(__tstate
);
16641 if (PyErr_Occurred()) SWIG_fail
;
16644 wxSize
* resultptr
;
16645 resultptr
= new wxSize((wxSize
&) result
);
16646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16654 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16655 PyObject
*resultobj
;
16656 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16658 PyObject
* obj0
= 0 ;
16659 char *kwnames
[] = {
16660 (char *) "self", NULL
16663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
16664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16668 result
= (int)(arg1
)->GetWidth();
16670 wxPyEndAllowThreads(__tstate
);
16671 if (PyErr_Occurred()) SWIG_fail
;
16673 resultobj
= SWIG_From_int((int)result
);
16680 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16681 PyObject
*resultobj
;
16682 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16684 PyObject
* obj0
= 0 ;
16685 char *kwnames
[] = {
16686 (char *) "self", NULL
16689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
16690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16694 result
= (int)(arg1
)->GetHeight();
16696 wxPyEndAllowThreads(__tstate
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16699 resultobj
= SWIG_From_int((int)result
);
16706 static PyObject
*_wrap_MetaFile_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
;
16708 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16710 PyObject
* obj0
= 0 ;
16711 char *kwnames
[] = {
16712 (char *) "self", NULL
16715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetFileName",kwnames
,&obj0
)) goto fail
;
16716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16721 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
16722 result
= (wxString
*) &_result_ref
;
16725 wxPyEndAllowThreads(__tstate
);
16726 if (PyErr_Occurred()) SWIG_fail
;
16730 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16732 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16741 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
16743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16744 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
16746 return Py_BuildValue((char *)"");
16748 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16749 PyObject
*resultobj
;
16750 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16751 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16752 int arg2
= (int) 0 ;
16753 int arg3
= (int) 0 ;
16754 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16755 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16756 wxMetaFileDC
*result
;
16757 bool temp1
= False
;
16758 bool temp4
= False
;
16759 PyObject
* obj0
= 0 ;
16760 PyObject
* obj1
= 0 ;
16761 PyObject
* obj2
= 0 ;
16762 PyObject
* obj3
= 0 ;
16763 char *kwnames
[] = {
16764 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
16767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16770 arg1
= wxString_in_helper(obj0
);
16771 if (arg1
== NULL
) SWIG_fail
;
16776 arg2
= (int)SWIG_As_int(obj1
);
16777 if (PyErr_Occurred()) SWIG_fail
;
16780 arg3
= (int)SWIG_As_int(obj2
);
16781 if (PyErr_Occurred()) SWIG_fail
;
16785 arg4
= wxString_in_helper(obj3
);
16786 if (arg4
== NULL
) SWIG_fail
;
16791 if (!wxPyCheckForApp()) SWIG_fail
;
16792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16793 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
16795 wxPyEndAllowThreads(__tstate
);
16796 if (PyErr_Occurred()) SWIG_fail
;
16798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
16821 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16822 PyObject
*resultobj
;
16823 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
16824 wxMetaFile
*result
;
16825 PyObject
* obj0
= 0 ;
16826 char *kwnames
[] = {
16827 (char *) "self", NULL
16830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
16831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
,
16832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16835 result
= (wxMetaFile
*)(arg1
)->Close();
16837 wxPyEndAllowThreads(__tstate
);
16838 if (PyErr_Occurred()) SWIG_fail
;
16840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
16847 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
16849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16850 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
16852 return Py_BuildValue((char *)"");
16854 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16855 PyObject
*resultobj
;
16856 wxPrintData
*arg1
= 0 ;
16857 wxPrinterDC
*result
;
16858 PyObject
* obj0
= 0 ;
16859 char *kwnames
[] = {
16860 (char *) "printData", NULL
16863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16865 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16867 if (arg1
== NULL
) {
16868 PyErr_SetString(PyExc_TypeError
,"null reference");
16872 if (!wxPyCheckForApp()) SWIG_fail
;
16873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16874 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16876 wxPyEndAllowThreads(__tstate
);
16877 if (PyErr_Occurred()) SWIG_fail
;
16879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16886 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
16888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16889 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16891 return Py_BuildValue((char *)"");
16893 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16894 PyObject
*resultobj
;
16897 int arg3
= (int) True
;
16898 int arg4
= (int) 1 ;
16899 wxImageList
*result
;
16900 PyObject
* obj0
= 0 ;
16901 PyObject
* obj1
= 0 ;
16902 PyObject
* obj2
= 0 ;
16903 PyObject
* obj3
= 0 ;
16904 char *kwnames
[] = {
16905 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16909 arg1
= (int)SWIG_As_int(obj0
);
16910 if (PyErr_Occurred()) SWIG_fail
;
16911 arg2
= (int)SWIG_As_int(obj1
);
16912 if (PyErr_Occurred()) SWIG_fail
;
16914 arg3
= (int)SWIG_As_int(obj2
);
16915 if (PyErr_Occurred()) SWIG_fail
;
16918 arg4
= (int)SWIG_As_int(obj3
);
16919 if (PyErr_Occurred()) SWIG_fail
;
16922 if (!wxPyCheckForApp()) SWIG_fail
;
16923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16924 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16926 wxPyEndAllowThreads(__tstate
);
16927 if (PyErr_Occurred()) SWIG_fail
;
16930 resultobj
= wxPyMake_wxObject(result
, 1);
16938 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16939 PyObject
*resultobj
;
16940 wxImageList
*arg1
= (wxImageList
*) 0 ;
16941 PyObject
* obj0
= 0 ;
16942 char *kwnames
[] = {
16943 (char *) "self", NULL
16946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16953 wxPyEndAllowThreads(__tstate
);
16954 if (PyErr_Occurred()) SWIG_fail
;
16956 Py_INCREF(Py_None
); resultobj
= Py_None
;
16963 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16964 PyObject
*resultobj
;
16965 wxImageList
*arg1
= (wxImageList
*) 0 ;
16966 wxBitmap
*arg2
= 0 ;
16967 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16968 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16970 PyObject
* obj0
= 0 ;
16971 PyObject
* obj1
= 0 ;
16972 PyObject
* obj2
= 0 ;
16973 char *kwnames
[] = {
16974 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16981 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16983 if (arg2
== NULL
) {
16984 PyErr_SetString(PyExc_TypeError
,"null reference");
16988 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16989 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16991 if (arg3
== NULL
) {
16992 PyErr_SetString(PyExc_TypeError
,"null reference");
16997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16998 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
17000 wxPyEndAllowThreads(__tstate
);
17001 if (PyErr_Occurred()) SWIG_fail
;
17003 resultobj
= SWIG_From_int((int)result
);
17010 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17011 PyObject
*resultobj
;
17012 wxImageList
*arg1
= (wxImageList
*) 0 ;
17013 wxBitmap
*arg2
= 0 ;
17014 wxColour
*arg3
= 0 ;
17017 PyObject
* obj0
= 0 ;
17018 PyObject
* obj1
= 0 ;
17019 PyObject
* obj2
= 0 ;
17020 char *kwnames
[] = {
17021 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
17024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
17028 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17030 if (arg2
== NULL
) {
17031 PyErr_SetString(PyExc_TypeError
,"null reference");
17036 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17040 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
17042 wxPyEndAllowThreads(__tstate
);
17043 if (PyErr_Occurred()) SWIG_fail
;
17045 resultobj
= SWIG_From_int((int)result
);
17052 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17053 PyObject
*resultobj
;
17054 wxImageList
*arg1
= (wxImageList
*) 0 ;
17057 PyObject
* obj0
= 0 ;
17058 PyObject
* obj1
= 0 ;
17059 char *kwnames
[] = {
17060 (char *) "self",(char *) "icon", NULL
17063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
17064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17066 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
17067 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17069 if (arg2
== NULL
) {
17070 PyErr_SetString(PyExc_TypeError
,"null reference");
17074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17075 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
17077 wxPyEndAllowThreads(__tstate
);
17078 if (PyErr_Occurred()) SWIG_fail
;
17080 resultobj
= SWIG_From_int((int)result
);
17087 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17088 PyObject
*resultobj
;
17089 wxImageList
*arg1
= (wxImageList
*) 0 ;
17091 wxBitmap
*arg3
= 0 ;
17092 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
17093 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
17095 PyObject
* obj0
= 0 ;
17096 PyObject
* obj1
= 0 ;
17097 PyObject
* obj2
= 0 ;
17098 PyObject
* obj3
= 0 ;
17099 char *kwnames
[] = {
17100 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
17103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17106 arg2
= (int)SWIG_As_int(obj1
);
17107 if (PyErr_Occurred()) SWIG_fail
;
17108 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
17109 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17111 if (arg3
== NULL
) {
17112 PyErr_SetString(PyExc_TypeError
,"null reference");
17116 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
17117 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17119 if (arg4
== NULL
) {
17120 PyErr_SetString(PyExc_TypeError
,"null reference");
17125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17126 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
17128 wxPyEndAllowThreads(__tstate
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17140 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17141 PyObject
*resultobj
;
17142 wxImageList
*arg1
= (wxImageList
*) 0 ;
17147 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
17148 bool arg7
= (bool) (bool)False
;
17150 PyObject
* obj0
= 0 ;
17151 PyObject
* obj1
= 0 ;
17152 PyObject
* obj2
= 0 ;
17153 PyObject
* obj3
= 0 ;
17154 PyObject
* obj4
= 0 ;
17155 PyObject
* obj5
= 0 ;
17156 PyObject
* obj6
= 0 ;
17157 char *kwnames
[] = {
17158 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
17161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17164 arg2
= (int)SWIG_As_int(obj1
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17166 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
17167 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17169 if (arg3
== NULL
) {
17170 PyErr_SetString(PyExc_TypeError
,"null reference");
17173 arg4
= (int)SWIG_As_int(obj3
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17175 arg5
= (int)SWIG_As_int(obj4
);
17176 if (PyErr_Occurred()) SWIG_fail
;
17178 arg6
= (int)SWIG_As_int(obj5
);
17179 if (PyErr_Occurred()) SWIG_fail
;
17182 arg7
= (bool)SWIG_As_bool(obj6
);
17183 if (PyErr_Occurred()) SWIG_fail
;
17186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17187 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
17189 wxPyEndAllowThreads(__tstate
);
17190 if (PyErr_Occurred()) SWIG_fail
;
17193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17201 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17202 PyObject
*resultobj
;
17203 wxImageList
*arg1
= (wxImageList
*) 0 ;
17205 PyObject
* obj0
= 0 ;
17206 char *kwnames
[] = {
17207 (char *) "self", NULL
17210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
17211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17215 result
= (int)(arg1
)->GetImageCount();
17217 wxPyEndAllowThreads(__tstate
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17220 resultobj
= SWIG_From_int((int)result
);
17227 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17228 PyObject
*resultobj
;
17229 wxImageList
*arg1
= (wxImageList
*) 0 ;
17232 PyObject
* obj0
= 0 ;
17233 PyObject
* obj1
= 0 ;
17234 char *kwnames
[] = {
17235 (char *) "self",(char *) "index", NULL
17238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
17239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17241 arg2
= (int)SWIG_As_int(obj1
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17245 result
= (bool)(arg1
)->Remove(arg2
);
17247 wxPyEndAllowThreads(__tstate
);
17248 if (PyErr_Occurred()) SWIG_fail
;
17251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17259 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17260 PyObject
*resultobj
;
17261 wxImageList
*arg1
= (wxImageList
*) 0 ;
17263 PyObject
* obj0
= 0 ;
17264 char *kwnames
[] = {
17265 (char *) "self", NULL
17268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
17269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17273 result
= (bool)(arg1
)->RemoveAll();
17275 wxPyEndAllowThreads(__tstate
);
17276 if (PyErr_Occurred()) SWIG_fail
;
17279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17287 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17288 PyObject
*resultobj
;
17289 wxImageList
*arg1
= (wxImageList
*) 0 ;
17297 PyObject
* obj0
= 0 ;
17298 PyObject
* obj1
= 0 ;
17299 char *kwnames
[] = {
17300 (char *) "self",(char *) "index", NULL
17303 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17304 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
17305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17308 arg2
= (int)SWIG_As_int(obj1
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17312 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
17314 wxPyEndAllowThreads(__tstate
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17317 Py_INCREF(Py_None
); resultobj
= Py_None
;
17318 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17319 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17320 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
17321 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
17328 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
17330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17331 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
17333 return Py_BuildValue((char *)"");
17335 static int _wrap_NORMAL_FONT_set(PyObject
*) {
17336 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
17341 static PyObject
*_wrap_NORMAL_FONT_get() {
17344 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
17349 static int _wrap_SMALL_FONT_set(PyObject
*) {
17350 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
17355 static PyObject
*_wrap_SMALL_FONT_get() {
17358 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
17363 static int _wrap_ITALIC_FONT_set(PyObject
*) {
17364 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
17369 static PyObject
*_wrap_ITALIC_FONT_get() {
17372 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
17377 static int _wrap_SWISS_FONT_set(PyObject
*) {
17378 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
17383 static PyObject
*_wrap_SWISS_FONT_get() {
17386 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
17391 static int _wrap_RED_PEN_set(PyObject
*) {
17392 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
17397 static PyObject
*_wrap_RED_PEN_get() {
17400 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
17405 static int _wrap_CYAN_PEN_set(PyObject
*) {
17406 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
17411 static PyObject
*_wrap_CYAN_PEN_get() {
17414 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
17419 static int _wrap_GREEN_PEN_set(PyObject
*) {
17420 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
17425 static PyObject
*_wrap_GREEN_PEN_get() {
17428 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
17433 static int _wrap_BLACK_PEN_set(PyObject
*) {
17434 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
17439 static PyObject
*_wrap_BLACK_PEN_get() {
17442 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
17447 static int _wrap_WHITE_PEN_set(PyObject
*) {
17448 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
17453 static PyObject
*_wrap_WHITE_PEN_get() {
17456 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
17461 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
17462 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
17467 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
17470 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
17475 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
17476 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
17481 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
17484 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
17489 static int _wrap_GREY_PEN_set(PyObject
*) {
17490 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
17495 static PyObject
*_wrap_GREY_PEN_get() {
17498 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17503 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
17504 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
17509 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
17512 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17517 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
17518 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
17523 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
17526 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17531 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
17532 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
17537 static PyObject
*_wrap_BLUE_BRUSH_get() {
17540 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17545 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
17546 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
17551 static PyObject
*_wrap_GREEN_BRUSH_get() {
17554 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17559 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
17560 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
17565 static PyObject
*_wrap_WHITE_BRUSH_get() {
17568 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17573 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
17574 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
17579 static PyObject
*_wrap_BLACK_BRUSH_get() {
17582 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17587 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
17588 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
17593 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
17596 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17601 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
17602 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
17607 static PyObject
*_wrap_CYAN_BRUSH_get() {
17610 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17615 static int _wrap_RED_BRUSH_set(PyObject
*) {
17616 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
17621 static PyObject
*_wrap_RED_BRUSH_get() {
17624 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17629 static int _wrap_GREY_BRUSH_set(PyObject
*) {
17630 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
17635 static PyObject
*_wrap_GREY_BRUSH_get() {
17638 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17643 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
17644 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
17649 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
17652 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17657 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
17658 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
17663 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
17666 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17671 static int _wrap_BLACK_set(PyObject
*) {
17672 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
17677 static PyObject
*_wrap_BLACK_get() {
17680 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
17685 static int _wrap_WHITE_set(PyObject
*) {
17686 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
17691 static PyObject
*_wrap_WHITE_get() {
17694 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
17699 static int _wrap_RED_set(PyObject
*) {
17700 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
17705 static PyObject
*_wrap_RED_get() {
17708 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
17713 static int _wrap_BLUE_set(PyObject
*) {
17714 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
17719 static PyObject
*_wrap_BLUE_get() {
17722 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
17727 static int _wrap_GREEN_set(PyObject
*) {
17728 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
17733 static PyObject
*_wrap_GREEN_get() {
17736 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
17741 static int _wrap_CYAN_set(PyObject
*) {
17742 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
17747 static PyObject
*_wrap_CYAN_get() {
17750 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
17755 static int _wrap_LIGHT_GREY_set(PyObject
*) {
17756 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
17761 static PyObject
*_wrap_LIGHT_GREY_get() {
17764 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
17769 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
17770 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
17775 static PyObject
*_wrap_STANDARD_CURSOR_get() {
17778 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17783 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
17784 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
17789 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
17792 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17797 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
17798 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
17803 static PyObject
*_wrap_CROSS_CURSOR_get() {
17806 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17811 static int _wrap_NullBitmap_set(PyObject
*) {
17812 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
17817 static PyObject
*_wrap_NullBitmap_get() {
17820 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
17825 static int _wrap_NullIcon_set(PyObject
*) {
17826 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
17831 static PyObject
*_wrap_NullIcon_get() {
17834 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
17839 static int _wrap_NullCursor_set(PyObject
*) {
17840 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
17845 static PyObject
*_wrap_NullCursor_get() {
17848 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
17853 static int _wrap_NullPen_set(PyObject
*) {
17854 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
17859 static PyObject
*_wrap_NullPen_get() {
17862 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
17867 static int _wrap_NullBrush_set(PyObject
*) {
17868 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17873 static PyObject
*_wrap_NullBrush_get() {
17876 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
17881 static int _wrap_NullPalette_set(PyObject
*) {
17882 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17887 static PyObject
*_wrap_NullPalette_get() {
17890 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17895 static int _wrap_NullFont_set(PyObject
*) {
17896 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17901 static PyObject
*_wrap_NullFont_get() {
17904 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17909 static int _wrap_NullColour_set(PyObject
*) {
17910 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17915 static PyObject
*_wrap_NullColour_get() {
17918 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17923 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17924 PyObject
*resultobj
;
17925 wxPenList
*arg1
= (wxPenList
*) 0 ;
17926 wxPen
*arg2
= (wxPen
*) 0 ;
17927 PyObject
* obj0
= 0 ;
17928 PyObject
* obj1
= 0 ;
17929 char *kwnames
[] = {
17930 (char *) "self",(char *) "pen", NULL
17933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17936 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17940 (arg1
)->AddPen(arg2
);
17942 wxPyEndAllowThreads(__tstate
);
17943 if (PyErr_Occurred()) SWIG_fail
;
17945 Py_INCREF(Py_None
); resultobj
= Py_None
;
17952 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17953 PyObject
*resultobj
;
17954 wxPenList
*arg1
= (wxPenList
*) 0 ;
17955 wxColour
*arg2
= 0 ;
17960 PyObject
* obj0
= 0 ;
17961 PyObject
* obj1
= 0 ;
17962 PyObject
* obj2
= 0 ;
17963 PyObject
* obj3
= 0 ;
17964 char *kwnames
[] = {
17965 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17973 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17975 arg3
= (int)SWIG_As_int(obj2
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17977 arg4
= (int)SWIG_As_int(obj3
);
17978 if (PyErr_Occurred()) SWIG_fail
;
17980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17981 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17983 wxPyEndAllowThreads(__tstate
);
17984 if (PyErr_Occurred()) SWIG_fail
;
17986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17993 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17994 PyObject
*resultobj
;
17995 wxPenList
*arg1
= (wxPenList
*) 0 ;
17996 wxPen
*arg2
= (wxPen
*) 0 ;
17997 PyObject
* obj0
= 0 ;
17998 PyObject
* obj1
= 0 ;
17999 char *kwnames
[] = {
18000 (char *) "self",(char *) "pen", NULL
18003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
18004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
18005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
18007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18010 (arg1
)->RemovePen(arg2
);
18012 wxPyEndAllowThreads(__tstate
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18015 Py_INCREF(Py_None
); resultobj
= Py_None
;
18022 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18023 PyObject
*resultobj
;
18024 wxPenList
*arg1
= (wxPenList
*) 0 ;
18026 PyObject
* obj0
= 0 ;
18027 char *kwnames
[] = {
18028 (char *) "self", NULL
18031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
18032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
18033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18036 result
= (int)(arg1
)->GetCount();
18038 wxPyEndAllowThreads(__tstate
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18041 resultobj
= SWIG_From_int((int)result
);
18048 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
18050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18051 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
18053 return Py_BuildValue((char *)"");
18055 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18056 PyObject
*resultobj
;
18057 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
18058 wxBrush
*arg2
= (wxBrush
*) 0 ;
18059 PyObject
* obj0
= 0 ;
18060 PyObject
* obj1
= 0 ;
18061 char *kwnames
[] = {
18062 (char *) "self",(char *) "brush", NULL
18065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
18066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
18067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18068 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
18069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18072 (arg1
)->AddBrush(arg2
);
18074 wxPyEndAllowThreads(__tstate
);
18075 if (PyErr_Occurred()) SWIG_fail
;
18077 Py_INCREF(Py_None
); resultobj
= Py_None
;
18084 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18085 PyObject
*resultobj
;
18086 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
18087 wxColour
*arg2
= 0 ;
18091 PyObject
* obj0
= 0 ;
18092 PyObject
* obj1
= 0 ;
18093 PyObject
* obj2
= 0 ;
18094 char *kwnames
[] = {
18095 (char *) "self",(char *) "colour",(char *) "style", NULL
18098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
18100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18103 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18105 arg3
= (int)SWIG_As_int(obj2
);
18106 if (PyErr_Occurred()) SWIG_fail
;
18108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18109 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
18111 wxPyEndAllowThreads(__tstate
);
18112 if (PyErr_Occurred()) SWIG_fail
;
18114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
18121 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18122 PyObject
*resultobj
;
18123 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
18124 wxBrush
*arg2
= (wxBrush
*) 0 ;
18125 PyObject
* obj0
= 0 ;
18126 PyObject
* obj1
= 0 ;
18127 char *kwnames
[] = {
18128 (char *) "self",(char *) "brush", NULL
18131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
18132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
18133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
18135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18138 (arg1
)->RemoveBrush(arg2
);
18140 wxPyEndAllowThreads(__tstate
);
18141 if (PyErr_Occurred()) SWIG_fail
;
18143 Py_INCREF(Py_None
); resultobj
= Py_None
;
18150 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18151 PyObject
*resultobj
;
18152 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
18154 PyObject
* obj0
= 0 ;
18155 char *kwnames
[] = {
18156 (char *) "self", NULL
18159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
18160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
18161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18164 result
= (int)(arg1
)->GetCount();
18166 wxPyEndAllowThreads(__tstate
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18169 resultobj
= SWIG_From_int((int)result
);
18176 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
18178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18179 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
18181 return Py_BuildValue((char *)"");
18183 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18184 PyObject
*resultobj
;
18185 wxColourDatabase
*result
;
18186 char *kwnames
[] = {
18190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
18192 if (!wxPyCheckForApp()) SWIG_fail
;
18193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18194 result
= (wxColourDatabase
*)new wxColourDatabase();
18196 wxPyEndAllowThreads(__tstate
);
18197 if (PyErr_Occurred()) SWIG_fail
;
18199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
18206 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18207 PyObject
*resultobj
;
18208 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18209 PyObject
* obj0
= 0 ;
18210 char *kwnames
[] = {
18211 (char *) "self", NULL
18214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
18215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18221 wxPyEndAllowThreads(__tstate
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18224 Py_INCREF(Py_None
); resultobj
= Py_None
;
18231 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18232 PyObject
*resultobj
;
18233 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18234 wxString
*arg2
= 0 ;
18236 bool temp2
= False
;
18237 PyObject
* obj0
= 0 ;
18238 PyObject
* obj1
= 0 ;
18239 char *kwnames
[] = {
18240 (char *) "self",(char *) "name", NULL
18243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
18244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18247 arg2
= wxString_in_helper(obj1
);
18248 if (arg2
== NULL
) SWIG_fail
;
18252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18253 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
18255 wxPyEndAllowThreads(__tstate
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18259 wxColour
* resultptr
;
18260 resultptr
= new wxColour((wxColour
&) result
);
18261 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18277 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18278 PyObject
*resultobj
;
18279 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18280 wxColour
*arg2
= 0 ;
18283 PyObject
* obj0
= 0 ;
18284 PyObject
* obj1
= 0 ;
18285 char *kwnames
[] = {
18286 (char *) "self",(char *) "colour", NULL
18289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
18290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18294 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18298 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
18300 wxPyEndAllowThreads(__tstate
);
18301 if (PyErr_Occurred()) SWIG_fail
;
18305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18316 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18317 PyObject
*resultobj
;
18318 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18319 wxString
*arg2
= 0 ;
18320 wxColour
*arg3
= 0 ;
18321 bool temp2
= False
;
18323 PyObject
* obj0
= 0 ;
18324 PyObject
* obj1
= 0 ;
18325 PyObject
* obj2
= 0 ;
18326 char *kwnames
[] = {
18327 (char *) "self",(char *) "name",(char *) "colour", NULL
18330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18334 arg2
= wxString_in_helper(obj1
);
18335 if (arg2
== NULL
) SWIG_fail
;
18340 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18344 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
18346 wxPyEndAllowThreads(__tstate
);
18347 if (PyErr_Occurred()) SWIG_fail
;
18349 Py_INCREF(Py_None
); resultobj
= Py_None
;
18364 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18365 PyObject
*resultobj
;
18366 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18367 wxString
*arg2
= 0 ;
18371 bool temp2
= False
;
18372 PyObject
* obj0
= 0 ;
18373 PyObject
* obj1
= 0 ;
18374 PyObject
* obj2
= 0 ;
18375 PyObject
* obj3
= 0 ;
18376 PyObject
* obj4
= 0 ;
18377 char *kwnames
[] = {
18378 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
18381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18385 arg2
= wxString_in_helper(obj1
);
18386 if (arg2
== NULL
) SWIG_fail
;
18389 arg3
= (int)SWIG_As_int(obj2
);
18390 if (PyErr_Occurred()) SWIG_fail
;
18391 arg4
= (int)SWIG_As_int(obj3
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18393 arg5
= (int)SWIG_As_int(obj4
);
18394 if (PyErr_Occurred()) SWIG_fail
;
18396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18397 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
18399 wxPyEndAllowThreads(__tstate
);
18400 if (PyErr_Occurred()) SWIG_fail
;
18402 Py_INCREF(Py_None
); resultobj
= Py_None
;
18417 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
18419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18420 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
18422 return Py_BuildValue((char *)"");
18424 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18425 PyObject
*resultobj
;
18426 wxFontList
*arg1
= (wxFontList
*) 0 ;
18427 wxFont
*arg2
= (wxFont
*) 0 ;
18428 PyObject
* obj0
= 0 ;
18429 PyObject
* obj1
= 0 ;
18430 char *kwnames
[] = {
18431 (char *) "self",(char *) "font", NULL
18434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18441 (arg1
)->AddFont(arg2
);
18443 wxPyEndAllowThreads(__tstate
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18446 Py_INCREF(Py_None
); resultobj
= Py_None
;
18453 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
;
18455 wxFontList
*arg1
= (wxFontList
*) 0 ;
18460 bool arg6
= (bool) False
;
18461 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18462 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18463 int arg8
= (int) wxFONTENCODING_DEFAULT
;
18465 bool temp7
= False
;
18466 PyObject
* obj0
= 0 ;
18467 PyObject
* obj1
= 0 ;
18468 PyObject
* obj2
= 0 ;
18469 PyObject
* obj3
= 0 ;
18470 PyObject
* obj4
= 0 ;
18471 PyObject
* obj5
= 0 ;
18472 PyObject
* obj6
= 0 ;
18473 PyObject
* obj7
= 0 ;
18474 char *kwnames
[] = {
18475 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
18478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18481 arg2
= (int)SWIG_As_int(obj1
);
18482 if (PyErr_Occurred()) SWIG_fail
;
18483 arg3
= (int)SWIG_As_int(obj2
);
18484 if (PyErr_Occurred()) SWIG_fail
;
18485 arg4
= (int)SWIG_As_int(obj3
);
18486 if (PyErr_Occurred()) SWIG_fail
;
18487 arg5
= (int)SWIG_As_int(obj4
);
18488 if (PyErr_Occurred()) SWIG_fail
;
18490 arg6
= (bool)SWIG_As_bool(obj5
);
18491 if (PyErr_Occurred()) SWIG_fail
;
18495 arg7
= wxString_in_helper(obj6
);
18496 if (arg7
== NULL
) SWIG_fail
;
18501 arg8
= (int)SWIG_As_int(obj7
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
18508 wxPyEndAllowThreads(__tstate
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
18526 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18527 PyObject
*resultobj
;
18528 wxFontList
*arg1
= (wxFontList
*) 0 ;
18529 wxFont
*arg2
= (wxFont
*) 0 ;
18530 PyObject
* obj0
= 0 ;
18531 PyObject
* obj1
= 0 ;
18532 char *kwnames
[] = {
18533 (char *) "self",(char *) "font", NULL
18536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18539 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18543 (arg1
)->RemoveFont(arg2
);
18545 wxPyEndAllowThreads(__tstate
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18548 Py_INCREF(Py_None
); resultobj
= Py_None
;
18555 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18556 PyObject
*resultobj
;
18557 wxFontList
*arg1
= (wxFontList
*) 0 ;
18559 PyObject
* obj0
= 0 ;
18560 char *kwnames
[] = {
18561 (char *) "self", NULL
18564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
18565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18569 result
= (int)(arg1
)->GetCount();
18571 wxPyEndAllowThreads(__tstate
);
18572 if (PyErr_Occurred()) SWIG_fail
;
18574 resultobj
= SWIG_From_int((int)result
);
18581 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
18583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18584 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
18586 return Py_BuildValue((char *)"");
18588 static int _wrap_TheFontList_set(PyObject
*) {
18589 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
18594 static PyObject
*_wrap_TheFontList_get() {
18597 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
18602 static int _wrap_ThePenList_set(PyObject
*) {
18603 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
18608 static PyObject
*_wrap_ThePenList_get() {
18611 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
18616 static int _wrap_TheBrushList_set(PyObject
*) {
18617 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
18622 static PyObject
*_wrap_TheBrushList_get() {
18625 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
18630 static int _wrap_TheColourDatabase_set(PyObject
*) {
18631 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
18636 static PyObject
*_wrap_TheColourDatabase_get() {
18639 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
18644 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18645 PyObject
*resultobj
;
18647 char *kwnames
[] = {
18651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
18653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18654 result
= (wxEffects
*)new wxEffects();
18656 wxPyEndAllowThreads(__tstate
);
18657 if (PyErr_Occurred()) SWIG_fail
;
18659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
18666 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18667 PyObject
*resultobj
;
18668 wxEffects
*arg1
= (wxEffects
*) 0 ;
18670 PyObject
* obj0
= 0 ;
18671 char *kwnames
[] = {
18672 (char *) "self", NULL
18675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
18676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18680 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18686 wxColour
* resultptr
;
18687 resultptr
= new wxColour((wxColour
&) result
);
18688 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18696 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18697 PyObject
*resultobj
;
18698 wxEffects
*arg1
= (wxEffects
*) 0 ;
18700 PyObject
* obj0
= 0 ;
18701 char *kwnames
[] = {
18702 (char *) "self", NULL
18705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
18706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18710 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
18712 wxPyEndAllowThreads(__tstate
);
18713 if (PyErr_Occurred()) SWIG_fail
;
18716 wxColour
* resultptr
;
18717 resultptr
= new wxColour((wxColour
&) result
);
18718 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18726 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18727 PyObject
*resultobj
;
18728 wxEffects
*arg1
= (wxEffects
*) 0 ;
18730 PyObject
* obj0
= 0 ;
18731 char *kwnames
[] = {
18732 (char *) "self", NULL
18735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
18736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18740 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
18742 wxPyEndAllowThreads(__tstate
);
18743 if (PyErr_Occurred()) SWIG_fail
;
18746 wxColour
* resultptr
;
18747 resultptr
= new wxColour((wxColour
&) result
);
18748 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18756 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18757 PyObject
*resultobj
;
18758 wxEffects
*arg1
= (wxEffects
*) 0 ;
18760 PyObject
* obj0
= 0 ;
18761 char *kwnames
[] = {
18762 (char *) "self", NULL
18765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
18766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18770 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
18772 wxPyEndAllowThreads(__tstate
);
18773 if (PyErr_Occurred()) SWIG_fail
;
18776 wxColour
* resultptr
;
18777 resultptr
= new wxColour((wxColour
&) result
);
18778 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18786 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18787 PyObject
*resultobj
;
18788 wxEffects
*arg1
= (wxEffects
*) 0 ;
18790 PyObject
* obj0
= 0 ;
18791 char *kwnames
[] = {
18792 (char *) "self", NULL
18795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
18796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18800 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
18802 wxPyEndAllowThreads(__tstate
);
18803 if (PyErr_Occurred()) SWIG_fail
;
18806 wxColour
* resultptr
;
18807 resultptr
= new wxColour((wxColour
&) result
);
18808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18816 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18817 PyObject
*resultobj
;
18818 wxEffects
*arg1
= (wxEffects
*) 0 ;
18819 wxColour
*arg2
= 0 ;
18821 PyObject
* obj0
= 0 ;
18822 PyObject
* obj1
= 0 ;
18823 char *kwnames
[] = {
18824 (char *) "self",(char *) "c", NULL
18827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18832 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18836 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
18838 wxPyEndAllowThreads(__tstate
);
18839 if (PyErr_Occurred()) SWIG_fail
;
18841 Py_INCREF(Py_None
); resultobj
= Py_None
;
18848 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18849 PyObject
*resultobj
;
18850 wxEffects
*arg1
= (wxEffects
*) 0 ;
18851 wxColour
*arg2
= 0 ;
18853 PyObject
* obj0
= 0 ;
18854 PyObject
* obj1
= 0 ;
18855 char *kwnames
[] = {
18856 (char *) "self",(char *) "c", NULL
18859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18864 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18868 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18870 wxPyEndAllowThreads(__tstate
);
18871 if (PyErr_Occurred()) SWIG_fail
;
18873 Py_INCREF(Py_None
); resultobj
= Py_None
;
18880 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18881 PyObject
*resultobj
;
18882 wxEffects
*arg1
= (wxEffects
*) 0 ;
18883 wxColour
*arg2
= 0 ;
18885 PyObject
* obj0
= 0 ;
18886 PyObject
* obj1
= 0 ;
18887 char *kwnames
[] = {
18888 (char *) "self",(char *) "c", NULL
18891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18896 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18900 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18902 wxPyEndAllowThreads(__tstate
);
18903 if (PyErr_Occurred()) SWIG_fail
;
18905 Py_INCREF(Py_None
); resultobj
= Py_None
;
18912 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18913 PyObject
*resultobj
;
18914 wxEffects
*arg1
= (wxEffects
*) 0 ;
18915 wxColour
*arg2
= 0 ;
18917 PyObject
* obj0
= 0 ;
18918 PyObject
* obj1
= 0 ;
18919 char *kwnames
[] = {
18920 (char *) "self",(char *) "c", NULL
18923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18928 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18932 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18934 wxPyEndAllowThreads(__tstate
);
18935 if (PyErr_Occurred()) SWIG_fail
;
18937 Py_INCREF(Py_None
); resultobj
= Py_None
;
18944 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18945 PyObject
*resultobj
;
18946 wxEffects
*arg1
= (wxEffects
*) 0 ;
18947 wxColour
*arg2
= 0 ;
18949 PyObject
* obj0
= 0 ;
18950 PyObject
* obj1
= 0 ;
18951 char *kwnames
[] = {
18952 (char *) "self",(char *) "c", NULL
18955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18960 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18964 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18966 wxPyEndAllowThreads(__tstate
);
18967 if (PyErr_Occurred()) SWIG_fail
;
18969 Py_INCREF(Py_None
); resultobj
= Py_None
;
18976 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18977 PyObject
*resultobj
;
18978 wxEffects
*arg1
= (wxEffects
*) 0 ;
18979 wxColour
*arg2
= 0 ;
18980 wxColour
*arg3
= 0 ;
18981 wxColour
*arg4
= 0 ;
18982 wxColour
*arg5
= 0 ;
18983 wxColour
*arg6
= 0 ;
18989 PyObject
* obj0
= 0 ;
18990 PyObject
* obj1
= 0 ;
18991 PyObject
* obj2
= 0 ;
18992 PyObject
* obj3
= 0 ;
18993 PyObject
* obj4
= 0 ;
18994 PyObject
* obj5
= 0 ;
18995 char *kwnames
[] = {
18996 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19004 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19008 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19012 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
19016 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
19020 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
19023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19024 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
19026 wxPyEndAllowThreads(__tstate
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19029 Py_INCREF(Py_None
); resultobj
= Py_None
;
19036 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19037 PyObject
*resultobj
;
19038 wxEffects
*arg1
= (wxEffects
*) 0 ;
19041 int arg4
= (int) 1 ;
19043 PyObject
* obj0
= 0 ;
19044 PyObject
* obj1
= 0 ;
19045 PyObject
* obj2
= 0 ;
19046 PyObject
* obj3
= 0 ;
19047 char *kwnames
[] = {
19048 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
19051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19054 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19055 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19057 if (arg2
== NULL
) {
19058 PyErr_SetString(PyExc_TypeError
,"null reference");
19063 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
19066 arg4
= (int)SWIG_As_int(obj3
);
19067 if (PyErr_Occurred()) SWIG_fail
;
19070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19071 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
19073 wxPyEndAllowThreads(__tstate
);
19074 if (PyErr_Occurred()) SWIG_fail
;
19076 Py_INCREF(Py_None
); resultobj
= Py_None
;
19083 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19084 PyObject
*resultobj
;
19085 wxEffects
*arg1
= (wxEffects
*) 0 ;
19088 wxBitmap
*arg4
= 0 ;
19091 PyObject
* obj0
= 0 ;
19092 PyObject
* obj1
= 0 ;
19093 PyObject
* obj2
= 0 ;
19094 PyObject
* obj3
= 0 ;
19095 char *kwnames
[] = {
19096 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
19099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19104 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19106 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
19107 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19109 if (arg3
== NULL
) {
19110 PyErr_SetString(PyExc_TypeError
,"null reference");
19113 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
19114 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19116 if (arg4
== NULL
) {
19117 PyErr_SetString(PyExc_TypeError
,"null reference");
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19122 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19136 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
19138 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19139 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
19141 return Py_BuildValue((char *)"");
19143 static PyMethodDef SwigMethods
[] = {
19144 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19145 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19146 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19147 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19148 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19149 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
19150 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19151 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19152 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19153 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19154 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19155 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19156 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19157 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19158 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19159 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19160 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19161 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19162 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19163 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19164 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19165 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19166 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
19167 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19168 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19169 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19170 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19171 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19172 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
19173 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19174 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19175 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19176 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19177 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19178 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19179 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19180 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19181 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19182 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19183 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19184 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19185 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19186 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19187 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19188 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19189 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19190 { (char *)"Pen_GetStipple", (PyCFunction
) _wrap_Pen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19191 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19192 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19193 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19194 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
19195 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19196 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19197 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19198 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19199 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19200 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19201 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19202 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19203 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19204 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
19205 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19206 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19207 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19208 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19209 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19210 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19211 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19212 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19213 { (char *)"Bitmap_GetHandle", (PyCFunction
) _wrap_Bitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19214 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19215 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19216 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19217 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19218 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19219 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19220 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19221 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19222 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19223 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19224 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19225 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19226 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19227 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19228 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19229 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19230 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19231 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19232 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19233 { (char *)"Bitmap_GetQuality", (PyCFunction
) _wrap_Bitmap_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19234 { (char *)"Bitmap_SetQuality", (PyCFunction
) _wrap_Bitmap_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19235 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19236 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19237 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
19238 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19239 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
19240 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19241 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19242 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19243 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19244 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19245 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19246 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19247 { (char *)"Icon_GetHandle", (PyCFunction
) _wrap_Icon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19248 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19249 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19250 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19251 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19252 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19253 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19254 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19255 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19256 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19257 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19258 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
19259 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19260 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19261 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19262 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19263 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19264 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19265 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19266 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
19267 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19268 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19269 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19270 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19271 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19272 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19273 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19274 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
19275 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19276 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19277 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19278 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19279 { (char *)"Cursor_GetHandle", (PyCFunction
) _wrap_Cursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19280 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19281 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19282 { (char *)"Cursor_GetWidth", (PyCFunction
) _wrap_Cursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19283 { (char *)"Cursor_GetHeight", (PyCFunction
) _wrap_Cursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19284 { (char *)"Cursor_GetDepth", (PyCFunction
) _wrap_Cursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19285 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19286 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19287 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19288 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19289 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
19290 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19291 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19292 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19293 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19294 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19295 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19296 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19297 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19298 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19299 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19300 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19301 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19302 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19303 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19304 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19305 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19306 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19307 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19308 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19309 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19310 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19311 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19312 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19313 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19314 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19315 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19316 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19317 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19318 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
19319 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19320 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19321 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19322 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19323 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19324 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19325 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19326 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19327 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19328 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19329 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19330 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19331 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19332 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
19333 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19334 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19335 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19336 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19337 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19338 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19339 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19340 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19341 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19342 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19343 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19344 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19345 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19346 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19347 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19348 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19349 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19350 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19351 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19352 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19353 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19354 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19355 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19356 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
19357 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19358 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19359 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19360 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19361 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19362 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19363 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19364 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19365 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
19366 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19367 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19368 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19369 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19370 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19371 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19372 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19373 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19374 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19375 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19376 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19377 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19378 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19379 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19380 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19381 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19382 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19383 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19384 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19385 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
19386 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19387 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19388 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19389 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19390 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19391 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19392 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19393 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19394 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19395 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19396 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19397 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19398 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19399 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19400 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19401 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19402 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19403 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19404 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19405 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19406 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19407 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19408 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19409 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19410 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19411 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19412 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19413 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19414 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19415 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19416 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19417 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19418 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19419 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19420 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19421 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19422 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
19423 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19424 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19425 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19426 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19427 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19428 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19429 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19430 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
19431 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19432 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19433 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19434 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19435 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19436 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19437 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
19438 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19439 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19440 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19441 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19442 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19443 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19444 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19445 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19446 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19447 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19448 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19449 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19450 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19451 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19452 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19453 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19454 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19455 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19456 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19457 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19458 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19459 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
19460 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19461 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
19462 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19463 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19464 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19465 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19466 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19467 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19468 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19469 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
19470 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19471 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19472 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19473 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19474 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19475 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19476 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19477 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19478 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19479 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19480 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19481 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19482 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19483 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19484 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19485 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19486 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19487 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19488 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19489 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19490 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19491 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19492 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19493 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19494 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19495 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19496 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19497 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19498 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19499 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19500 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19501 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19502 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19503 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19504 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19505 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19506 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19507 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19508 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19509 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19510 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19511 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19512 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19513 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19514 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19515 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19516 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19517 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19518 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19519 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19520 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19521 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19522 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19523 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19524 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19525 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19526 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19527 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19528 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19529 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19530 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19531 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19532 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19533 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19534 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19535 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19536 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19537 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19538 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19539 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19540 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19541 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19542 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19543 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19544 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19545 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19546 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19547 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19548 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19549 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19550 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19551 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19552 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19553 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19554 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19555 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19556 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19557 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19558 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19559 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19560 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19561 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19562 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19563 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19564 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19565 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19566 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19567 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19568 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19569 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19570 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19571 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19572 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19573 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19574 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19575 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19576 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19577 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19578 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19579 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19580 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19581 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19582 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19583 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19584 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19585 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19586 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19587 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19588 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19589 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19590 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19591 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19592 { (char *)"DC_GetHDC", (PyCFunction
) _wrap_DC_GetHDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19593 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19594 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19595 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19596 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19597 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19598 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19599 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
19600 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19601 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19602 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19603 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
19604 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
19605 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19606 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19607 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
19608 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19609 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
19610 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19611 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19612 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19613 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19614 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
19615 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19616 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
19617 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19618 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
19619 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19620 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
19621 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19622 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
19623 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19624 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19625 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19626 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19627 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19628 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
19629 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19630 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19631 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19632 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19633 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19634 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19635 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19636 { (char *)"MetaFile_GetFileName", (PyCFunction
) _wrap_MetaFile_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19637 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
19638 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19639 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19640 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
19641 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19642 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
19643 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19644 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19645 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19646 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19647 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19648 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19649 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19650 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19651 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19652 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19653 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19654 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
19655 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19656 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19657 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19658 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19659 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
19660 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19661 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19662 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19663 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19664 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
19665 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19666 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19667 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19668 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19669 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19670 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19671 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
19672 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19673 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19674 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19675 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19676 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
19677 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19678 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19679 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19680 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19681 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19682 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19683 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19684 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19685 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19686 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19687 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19688 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19689 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19690 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19691 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
19692 { NULL
, NULL
, 0, NULL
}
19696 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19698 static void *_p_wxControlTo_p_wxWindow(void *x
) {
19699 return (void *)((wxWindow
*) ((wxControl
*) x
));
19701 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
19702 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
19704 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
19705 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
19707 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
19708 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
19710 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
19711 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19713 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
19714 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
19716 static void *_p_wxPenTo_p_wxObject(void *x
) {
19717 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
19719 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
19720 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
19722 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
19723 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
19725 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
19726 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
19728 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
19729 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
19731 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
19732 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
19734 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
19735 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
19737 static void *_p_wxIconTo_p_wxObject(void *x
) {
19738 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
19740 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
19741 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
19743 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
19744 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
19746 static void *_p_wxSizerTo_p_wxObject(void *x
) {
19747 return (void *)((wxObject
*) ((wxSizer
*) x
));
19749 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
19750 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
19752 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
19753 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19755 static void *_p_wxPenListTo_p_wxObject(void *x
) {
19756 return (void *)((wxObject
*) ((wxPenList
*) x
));
19758 static void *_p_wxEventTo_p_wxObject(void *x
) {
19759 return (void *)((wxObject
*) ((wxEvent
*) x
));
19761 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
19762 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
19764 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
19765 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
19767 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
19768 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
19770 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
19771 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
19773 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
19774 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
19776 static void *_p_wxDCTo_p_wxObject(void *x
) {
19777 return (void *)((wxObject
*) ((wxDC
*) x
));
19779 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
19780 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
19782 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
19783 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
19785 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
19786 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
19788 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
19789 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
19791 static void *_p_wxControlTo_p_wxObject(void *x
) {
19792 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
19794 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
19795 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
19797 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
19798 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
19800 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
19801 return (void *)((wxObject
*) ((wxFSFile
*) x
));
19803 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
19804 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
19806 static void *_p_wxRegionTo_p_wxObject(void *x
) {
19807 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
19809 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
19810 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
19812 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
19813 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
19815 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
19816 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
19818 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
19819 return (void *)((wxObject
*) ((wxEffects
*) x
));
19821 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
19822 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
19824 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
19825 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19827 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
19828 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
19830 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
19831 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
19833 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
19834 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
19836 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
19837 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
19839 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
19840 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19842 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
19843 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19845 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19846 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19848 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19849 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19851 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19852 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19854 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19855 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19857 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19858 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19860 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19861 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19863 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19864 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19866 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19867 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19869 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19870 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19872 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19873 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19875 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19876 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19878 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19879 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19881 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19882 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19884 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19885 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19887 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19888 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19890 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19891 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19893 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19894 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19896 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19897 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19899 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19900 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19902 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19903 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19905 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19906 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19908 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19909 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19911 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19912 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19914 static void *_p_wxImageTo_p_wxObject(void *x
) {
19915 return (void *)((wxObject
*) ((wxImage
*) x
));
19917 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19918 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19920 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19921 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19923 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19924 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19926 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19927 return (void *)((wxObject
*) ((wxImageList
*) x
));
19929 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19930 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19932 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19933 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19935 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19936 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19938 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19939 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19941 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19942 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19944 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19945 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19947 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19948 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19950 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19951 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19953 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19954 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19956 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19957 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19959 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19960 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19962 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19963 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19965 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19966 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19968 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19969 return (void *)((wxObject
*) ((wxMask
*) x
));
19971 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19972 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19974 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19975 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19977 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19978 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19980 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19981 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19983 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19984 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19986 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19987 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19989 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19990 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19992 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19993 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19995 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19996 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19998 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19999 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
20001 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
20002 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
20004 static void *_p_wxFontTo_p_wxObject(void *x
) {
20005 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
20007 static void *_p_wxBrushTo_p_wxObject(void *x
) {
20008 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
20010 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
20011 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
20013 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
20014 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
20016 static void *_p_wxColourTo_p_wxObject(void *x
) {
20017 return (void *)((wxObject
*) ((wxColour
*) x
));
20019 static void *_p_wxFontListTo_p_wxObject(void *x
) {
20020 return (void *)((wxObject
*) ((wxFontList
*) x
));
20022 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
20023 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
20025 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
20026 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
20028 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
20029 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
20031 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
20032 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
20034 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
20035 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
20037 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
20038 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
20040 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
20041 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
20043 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
20044 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
20046 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
20047 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
20049 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
20050 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
20052 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
20053 return (void *)((wxDC
*) ((wxClientDC
*) x
));
20055 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
20056 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
20058 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
20059 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
20061 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
20062 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
20064 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
20065 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
20067 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
20068 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
20070 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
20071 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
20073 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
20074 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
20076 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
20077 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
20079 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
20080 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
20082 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
20083 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
20085 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
20086 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
20088 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}};
20089 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}};
20090 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}};
20091 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}};
20092 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}};
20093 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}};
20094 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}};
20095 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}};
20096 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}};
20097 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}};
20098 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}};
20099 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}};
20100 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}};
20101 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}};
20102 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}};
20103 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}};
20104 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}};
20105 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}};
20106 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}};
20107 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}};
20108 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}};
20109 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}};
20110 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_wxPCXHandler", _p_wxPCXHandlerTo_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_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_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}};
20111 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}};
20112 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}};
20113 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}};
20114 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}};
20115 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}};
20116 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}};
20117 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}};
20118 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}};
20119 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}};
20120 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}};
20121 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}};
20122 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}};
20123 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}};
20124 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_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}};
20125 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}};
20126 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}};
20127 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}};
20128 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}};
20129 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}};
20130 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}};
20131 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}};
20132 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}};
20133 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}};
20134 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0, 0, 0, 0},{"_p_wxPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
20135 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}};
20136 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}};
20137 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}};
20138 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}};
20139 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}};
20140 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}};
20141 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}};
20142 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}};
20144 static swig_type_info
*swig_types_initial
[] = {
20145 _swigt__p_wxPostScriptDC
,
20147 _swigt__p_wxColour
,
20149 _swigt__p_wxMirrorDC
,
20151 _swigt__p_wxPyFontEnumerator
,
20153 _swigt__p_wxIconLocation
,
20155 _swigt__p_wxMetaFileDC
,
20159 _swigt__p_wxWindow
,
20161 _swigt__p_wxMemoryDC
,
20162 _swigt__p_wxFontMapper
,
20163 _swigt__p_wxEffects
,
20164 _swigt__p_wxNativeEncodingInfo
,
20165 _swigt__p_wxPalette
,
20166 _swigt__p_wxBitmap
,
20167 _swigt__p_wxObject
,
20168 _swigt__p_wxRegionIterator
,
20170 _swigt__p_wxString
,
20171 _swigt__p_wxPrinterDC
,
20172 _swigt__p_wxIconBundle
,
20175 _swigt__p_wxScreenDC
,
20176 _swigt__p_wxCursor
,
20177 _swigt__p_wxClientDC
,
20178 _swigt__p_wxBufferedDC
,
20179 _swigt__p_wxImageList
,
20180 _swigt__p_unsigned_char
,
20181 _swigt__p_wxGDIObject
,
20183 _swigt__p_wxLocale
,
20184 _swigt__p_wxRegion
,
20185 _swigt__p_wxLanguageInfo
,
20186 _swigt__p_wxConfigBase
,
20187 _swigt__p_wxWindowDC
,
20188 _swigt__p_wxPrintData
,
20189 _swigt__p_wxBrushList
,
20190 _swigt__p_wxFontList
,
20192 _swigt__p_wxBufferedPaintDC
,
20193 _swigt__p_wxPaintDC
,
20194 _swigt__p_wxPenList
,
20196 _swigt__p_wxMetaFile
,
20197 _swigt__p_wxNativeFontInfo
,
20198 _swigt__p_wxEncodingConverter
,
20199 _swigt__p_wxColourDatabase
,
20204 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
20206 static swig_const_info swig_const_table
[] = {
20207 {0, 0, 0, 0.0, 0, 0}};
20216 SWIGEXPORT(void) SWIG_init(void) {
20217 static PyObject
*SWIG_globals
= 0;
20218 static int typeinit
= 0;
20221 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
20222 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
20223 d
= PyModule_GetDict(m
);
20226 for (i
= 0; swig_types_initial
[i
]; i
++) {
20227 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
20231 SWIG_InstallConstants(d
,swig_const_table
);
20233 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)wxOutRegion
));
20234 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)wxPartRegion
));
20235 PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)wxInRegion
));
20236 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)wxFONTFAMILY_DEFAULT
));
20237 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)wxFONTFAMILY_DECORATIVE
));
20238 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)wxFONTFAMILY_ROMAN
));
20239 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)wxFONTFAMILY_SCRIPT
));
20240 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)wxFONTFAMILY_SWISS
));
20241 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)wxFONTFAMILY_MODERN
));
20242 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)wxFONTFAMILY_TELETYPE
));
20243 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)wxFONTFAMILY_MAX
));
20244 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)wxFONTFAMILY_UNKNOWN
));
20245 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)wxFONTSTYLE_NORMAL
));
20246 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)wxFONTSTYLE_ITALIC
));
20247 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)wxFONTSTYLE_SLANT
));
20248 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)wxFONTSTYLE_MAX
));
20249 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)wxFONTWEIGHT_NORMAL
));
20250 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)wxFONTWEIGHT_LIGHT
));
20251 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)wxFONTWEIGHT_BOLD
));
20252 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)wxFONTWEIGHT_MAX
));
20253 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)wxFONTFLAG_DEFAULT
));
20254 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)wxFONTFLAG_ITALIC
));
20255 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)wxFONTFLAG_SLANT
));
20256 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)wxFONTFLAG_LIGHT
));
20257 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)wxFONTFLAG_BOLD
));
20258 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_ANTIALIASED
));
20259 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_NOT_ANTIALIASED
));
20260 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)wxFONTFLAG_UNDERLINED
));
20261 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)wxFONTFLAG_STRIKETHROUGH
));
20262 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)wxFONTFLAG_MASK
));
20263 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)wxFONTENCODING_SYSTEM
));
20264 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)wxFONTENCODING_DEFAULT
));
20265 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)wxFONTENCODING_ISO8859_1
));
20266 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)wxFONTENCODING_ISO8859_2
));
20267 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)wxFONTENCODING_ISO8859_3
));
20268 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)wxFONTENCODING_ISO8859_4
));
20269 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)wxFONTENCODING_ISO8859_5
));
20270 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)wxFONTENCODING_ISO8859_6
));
20271 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)wxFONTENCODING_ISO8859_7
));
20272 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)wxFONTENCODING_ISO8859_8
));
20273 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)wxFONTENCODING_ISO8859_9
));
20274 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)wxFONTENCODING_ISO8859_10
));
20275 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)wxFONTENCODING_ISO8859_11
));
20276 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)wxFONTENCODING_ISO8859_12
));
20277 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)wxFONTENCODING_ISO8859_13
));
20278 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)wxFONTENCODING_ISO8859_14
));
20279 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)wxFONTENCODING_ISO8859_15
));
20280 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)wxFONTENCODING_ISO8859_MAX
));
20281 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)wxFONTENCODING_KOI8
));
20282 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)wxFONTENCODING_KOI8_U
));
20283 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)wxFONTENCODING_ALTERNATIVE
));
20284 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)wxFONTENCODING_BULGARIAN
));
20285 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)wxFONTENCODING_CP437
));
20286 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)wxFONTENCODING_CP850
));
20287 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)wxFONTENCODING_CP852
));
20288 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)wxFONTENCODING_CP855
));
20289 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)wxFONTENCODING_CP866
));
20290 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)wxFONTENCODING_CP874
));
20291 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)wxFONTENCODING_CP932
));
20292 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)wxFONTENCODING_CP936
));
20293 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)wxFONTENCODING_CP949
));
20294 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)wxFONTENCODING_CP950
));
20295 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)wxFONTENCODING_CP1250
));
20296 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)wxFONTENCODING_CP1251
));
20297 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)wxFONTENCODING_CP1252
));
20298 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)wxFONTENCODING_CP1253
));
20299 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)wxFONTENCODING_CP1254
));
20300 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)wxFONTENCODING_CP1255
));
20301 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)wxFONTENCODING_CP1256
));
20302 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)wxFONTENCODING_CP1257
));
20303 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)wxFONTENCODING_CP12_MAX
));
20304 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)wxFONTENCODING_UTF7
));
20305 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)wxFONTENCODING_UTF8
));
20306 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)wxFONTENCODING_EUC_JP
));
20307 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)wxFONTENCODING_UTF16BE
));
20308 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)wxFONTENCODING_UTF16LE
));
20309 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)wxFONTENCODING_UTF32BE
));
20310 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)wxFONTENCODING_UTF32LE
));
20311 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)wxFONTENCODING_MACROMAN
));
20312 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)wxFONTENCODING_MACJAPANESE
));
20313 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)wxFONTENCODING_MACCHINESETRAD
));
20314 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)wxFONTENCODING_MACKOREAN
));
20315 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)wxFONTENCODING_MACARABIC
));
20316 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)wxFONTENCODING_MACHEBREW
));
20317 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)wxFONTENCODING_MACGREEK
));
20318 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)wxFONTENCODING_MACCYRILLIC
));
20319 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)wxFONTENCODING_MACDEVANAGARI
));
20320 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)wxFONTENCODING_MACGURMUKHI
));
20321 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)wxFONTENCODING_MACGUJARATI
));
20322 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)wxFONTENCODING_MACORIYA
));
20323 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)wxFONTENCODING_MACBENGALI
));
20324 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)wxFONTENCODING_MACTAMIL
));
20325 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)wxFONTENCODING_MACTELUGU
));
20326 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)wxFONTENCODING_MACKANNADA
));
20327 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)wxFONTENCODING_MACMALAJALAM
));
20328 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)wxFONTENCODING_MACSINHALESE
));
20329 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)wxFONTENCODING_MACBURMESE
));
20330 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)wxFONTENCODING_MACKHMER
));
20331 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)wxFONTENCODING_MACTHAI
));
20332 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)wxFONTENCODING_MACLAOTIAN
));
20333 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)wxFONTENCODING_MACGEORGIAN
));
20334 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)wxFONTENCODING_MACARMENIAN
));
20335 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)wxFONTENCODING_MACCHINESESIMP
));
20336 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)wxFONTENCODING_MACTIBETAN
));
20337 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)wxFONTENCODING_MACMONGOLIAN
));
20338 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)wxFONTENCODING_MACETHIOPIC
));
20339 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)wxFONTENCODING_MACCENTRALEUR
));
20340 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)wxFONTENCODING_MACVIATNAMESE
));
20341 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)wxFONTENCODING_MACARABICEXT
));
20342 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)wxFONTENCODING_MACSYMBOL
));
20343 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)wxFONTENCODING_MACDINGBATS
));
20344 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)wxFONTENCODING_MACTURKISH
));
20345 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)wxFONTENCODING_MACCROATIAN
));
20346 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)wxFONTENCODING_MACICELANDIC
));
20347 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)wxFONTENCODING_MACROMANIAN
));
20348 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)wxFONTENCODING_MACCELTIC
));
20349 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)wxFONTENCODING_MACGAELIC
));
20350 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)wxFONTENCODING_MACKEYBOARD
));
20351 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)wxFONTENCODING_MACMIN
));
20352 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)wxFONTENCODING_MACMAX
));
20353 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)wxFONTENCODING_MAX
));
20354 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)wxFONTENCODING_UTF16
));
20355 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)wxFONTENCODING_UTF32
));
20356 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)wxFONTENCODING_UNICODE
));
20357 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)wxFONTENCODING_GB2312
));
20358 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)wxFONTENCODING_BIG5
));
20359 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)wxFONTENCODING_SHIFT_JIS
));
20361 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
20363 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)wxLANGUAGE_DEFAULT
));
20364 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)wxLANGUAGE_UNKNOWN
));
20365 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)wxLANGUAGE_ABKHAZIAN
));
20366 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)wxLANGUAGE_AFAR
));
20367 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)wxLANGUAGE_AFRIKAANS
));
20368 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)wxLANGUAGE_ALBANIAN
));
20369 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)wxLANGUAGE_AMHARIC
));
20370 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)wxLANGUAGE_ARABIC
));
20371 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_ALGERIA
));
20372 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)wxLANGUAGE_ARABIC_BAHRAIN
));
20373 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)wxLANGUAGE_ARABIC_EGYPT
));
20374 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)wxLANGUAGE_ARABIC_IRAQ
));
20375 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_JORDAN
));
20376 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)wxLANGUAGE_ARABIC_KUWAIT
));
20377 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)wxLANGUAGE_ARABIC_LEBANON
));
20378 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)wxLANGUAGE_ARABIC_LIBYA
));
20379 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)wxLANGUAGE_ARABIC_MOROCCO
));
20380 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_OMAN
));
20381 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)wxLANGUAGE_ARABIC_QATAR
));
20382 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
20383 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_SUDAN
));
20384 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SYRIA
));
20385 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_TUNISIA
));
20386 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)wxLANGUAGE_ARABIC_UAE
));
20387 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)wxLANGUAGE_ARABIC_YEMEN
));
20388 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)wxLANGUAGE_ARMENIAN
));
20389 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)wxLANGUAGE_ASSAMESE
));
20390 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)wxLANGUAGE_AYMARA
));
20391 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)wxLANGUAGE_AZERI
));
20392 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_AZERI_CYRILLIC
));
20393 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)wxLANGUAGE_AZERI_LATIN
));
20394 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)wxLANGUAGE_BASHKIR
));
20395 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)wxLANGUAGE_BASQUE
));
20396 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)wxLANGUAGE_BELARUSIAN
));
20397 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)wxLANGUAGE_BENGALI
));
20398 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)wxLANGUAGE_BHUTANI
));
20399 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)wxLANGUAGE_BIHARI
));
20400 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)wxLANGUAGE_BISLAMA
));
20401 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)wxLANGUAGE_BRETON
));
20402 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)wxLANGUAGE_BULGARIAN
));
20403 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)wxLANGUAGE_BURMESE
));
20404 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)wxLANGUAGE_CAMBODIAN
));
20405 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)wxLANGUAGE_CATALAN
));
20406 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)wxLANGUAGE_CHINESE
));
20407 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
20408 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
20409 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)wxLANGUAGE_CHINESE_HONGKONG
));
20410 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)wxLANGUAGE_CHINESE_MACAU
));
20411 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)wxLANGUAGE_CHINESE_SINGAPORE
));
20412 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)wxLANGUAGE_CHINESE_TAIWAN
));
20413 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)wxLANGUAGE_CORSICAN
));
20414 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)wxLANGUAGE_CROATIAN
));
20415 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)wxLANGUAGE_CZECH
));
20416 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)wxLANGUAGE_DANISH
));
20417 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)wxLANGUAGE_DUTCH
));
20418 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_DUTCH_BELGIAN
));
20419 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)wxLANGUAGE_ENGLISH
));
20420 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_UK
));
20421 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)wxLANGUAGE_ENGLISH_US
));
20422 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
20423 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BELIZE
));
20424 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
20425 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CANADA
));
20426 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
20427 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_DENMARK
));
20428 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_EIRE
));
20429 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_JAMAICA
));
20430 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
20431 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
20432 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
20433 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
20434 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
20435 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)wxLANGUAGE_ESPERANTO
));
20436 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)wxLANGUAGE_ESTONIAN
));
20437 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)wxLANGUAGE_FAEROESE
));
20438 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)wxLANGUAGE_FARSI
));
20439 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)wxLANGUAGE_FIJI
));
20440 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)wxLANGUAGE_FINNISH
));
20441 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)wxLANGUAGE_FRENCH
));
20442 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_BELGIAN
));
20443 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_CANADIAN
));
20444 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
20445 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)wxLANGUAGE_FRENCH_MONACO
));
20446 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)wxLANGUAGE_FRENCH_SWISS
));
20447 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)wxLANGUAGE_FRISIAN
));
20448 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)wxLANGUAGE_GALICIAN
));
20449 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)wxLANGUAGE_GEORGIAN
));
20450 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)wxLANGUAGE_GERMAN
));
20451 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
20452 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)wxLANGUAGE_GERMAN_BELGIUM
));
20453 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
20454 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
20455 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)wxLANGUAGE_GERMAN_SWISS
));
20456 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)wxLANGUAGE_GREEK
));
20457 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)wxLANGUAGE_GREENLANDIC
));
20458 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)wxLANGUAGE_GUARANI
));
20459 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)wxLANGUAGE_GUJARATI
));
20460 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)wxLANGUAGE_HAUSA
));
20461 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)wxLANGUAGE_HEBREW
));
20462 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)wxLANGUAGE_HINDI
));
20463 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)wxLANGUAGE_HUNGARIAN
));
20464 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)wxLANGUAGE_ICELANDIC
));
20465 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)wxLANGUAGE_INDONESIAN
));
20466 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)wxLANGUAGE_INTERLINGUA
));
20467 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)wxLANGUAGE_INTERLINGUE
));
20468 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)wxLANGUAGE_INUKTITUT
));
20469 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)wxLANGUAGE_INUPIAK
));
20470 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)wxLANGUAGE_IRISH
));
20471 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)wxLANGUAGE_ITALIAN
));
20472 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)wxLANGUAGE_ITALIAN_SWISS
));
20473 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)wxLANGUAGE_JAPANESE
));
20474 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)wxLANGUAGE_JAVANESE
));
20475 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)wxLANGUAGE_KANNADA
));
20476 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)wxLANGUAGE_KASHMIRI
));
20477 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)wxLANGUAGE_KASHMIRI_INDIA
));
20478 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)wxLANGUAGE_KAZAKH
));
20479 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)wxLANGUAGE_KERNEWEK
));
20480 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)wxLANGUAGE_KINYARWANDA
));
20481 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)wxLANGUAGE_KIRGHIZ
));
20482 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)wxLANGUAGE_KIRUNDI
));
20483 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)wxLANGUAGE_KONKANI
));
20484 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)wxLANGUAGE_KOREAN
));
20485 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)wxLANGUAGE_KURDISH
));
20486 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)wxLANGUAGE_LAOTHIAN
));
20487 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)wxLANGUAGE_LATIN
));
20488 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)wxLANGUAGE_LATVIAN
));
20489 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)wxLANGUAGE_LINGALA
));
20490 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)wxLANGUAGE_LITHUANIAN
));
20491 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)wxLANGUAGE_MACEDONIAN
));
20492 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)wxLANGUAGE_MALAGASY
));
20493 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)wxLANGUAGE_MALAY
));
20494 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)wxLANGUAGE_MALAYALAM
));
20495 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
20496 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)wxLANGUAGE_MALAY_MALAYSIA
));
20497 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)wxLANGUAGE_MALTESE
));
20498 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)wxLANGUAGE_MANIPURI
));
20499 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)wxLANGUAGE_MAORI
));
20500 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)wxLANGUAGE_MARATHI
));
20501 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)wxLANGUAGE_MOLDAVIAN
));
20502 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)wxLANGUAGE_MONGOLIAN
));
20503 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)wxLANGUAGE_NAURU
));
20504 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)wxLANGUAGE_NEPALI
));
20505 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)wxLANGUAGE_NEPALI_INDIA
));
20506 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
20507 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
20508 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)wxLANGUAGE_OCCITAN
));
20509 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)wxLANGUAGE_ORIYA
));
20510 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)wxLANGUAGE_OROMO
));
20511 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)wxLANGUAGE_PASHTO
));
20512 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)wxLANGUAGE_POLISH
));
20513 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE
));
20514 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
20515 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)wxLANGUAGE_PUNJABI
));
20516 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)wxLANGUAGE_QUECHUA
));
20517 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)wxLANGUAGE_RHAETO_ROMANCE
));
20518 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)wxLANGUAGE_ROMANIAN
));
20519 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)wxLANGUAGE_RUSSIAN
));
20520 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
20521 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)wxLANGUAGE_SAMOAN
));
20522 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)wxLANGUAGE_SANGHO
));
20523 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)wxLANGUAGE_SANSKRIT
));
20524 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)wxLANGUAGE_SCOTS_GAELIC
));
20525 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)wxLANGUAGE_SERBIAN
));
20526 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
20527 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)wxLANGUAGE_SERBIAN_LATIN
));
20528 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)wxLANGUAGE_SERBO_CROATIAN
));
20529 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)wxLANGUAGE_SESOTHO
));
20530 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)wxLANGUAGE_SETSWANA
));
20531 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)wxLANGUAGE_SHONA
));
20532 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)wxLANGUAGE_SINDHI
));
20533 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)wxLANGUAGE_SINHALESE
));
20534 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)wxLANGUAGE_SISWATI
));
20535 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)wxLANGUAGE_SLOVAK
));
20536 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)wxLANGUAGE_SLOVENIAN
));
20537 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)wxLANGUAGE_SOMALI
));
20538 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)wxLANGUAGE_SPANISH
));
20539 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)wxLANGUAGE_SPANISH_ARGENTINA
));
20540 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_BOLIVIA
));
20541 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)wxLANGUAGE_SPANISH_CHILE
));
20542 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COLOMBIA
));
20543 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
20544 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
20545 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_ECUADOR
));
20546 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
20547 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)wxLANGUAGE_SPANISH_GUATEMALA
));
20548 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)wxLANGUAGE_SPANISH_HONDURAS
));
20549 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MEXICAN
));
20550 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MODERN
));
20551 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)wxLANGUAGE_SPANISH_NICARAGUA
));
20552 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)wxLANGUAGE_SPANISH_PANAMA
));
20553 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_PARAGUAY
));
20554 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)wxLANGUAGE_SPANISH_PERU
));
20555 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
20556 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_URUGUAY
));
20557 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)wxLANGUAGE_SPANISH_US
));
20558 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)wxLANGUAGE_SPANISH_VENEZUELA
));
20559 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)wxLANGUAGE_SUNDANESE
));
20560 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)wxLANGUAGE_SWAHILI
));
20561 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)wxLANGUAGE_SWEDISH
));
20562 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)wxLANGUAGE_SWEDISH_FINLAND
));
20563 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)wxLANGUAGE_TAGALOG
));
20564 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)wxLANGUAGE_TAJIK
));
20565 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)wxLANGUAGE_TAMIL
));
20566 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)wxLANGUAGE_TATAR
));
20567 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)wxLANGUAGE_TELUGU
));
20568 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)wxLANGUAGE_THAI
));
20569 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)wxLANGUAGE_TIBETAN
));
20570 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)wxLANGUAGE_TIGRINYA
));
20571 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)wxLANGUAGE_TONGA
));
20572 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)wxLANGUAGE_TSONGA
));
20573 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)wxLANGUAGE_TURKISH
));
20574 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)wxLANGUAGE_TURKMEN
));
20575 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)wxLANGUAGE_TWI
));
20576 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)wxLANGUAGE_UIGHUR
));
20577 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)wxLANGUAGE_UKRAINIAN
));
20578 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)wxLANGUAGE_URDU
));
20579 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)wxLANGUAGE_URDU_INDIA
));
20580 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)wxLANGUAGE_URDU_PAKISTAN
));
20581 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)wxLANGUAGE_UZBEK
));
20582 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_UZBEK_CYRILLIC
));
20583 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)wxLANGUAGE_UZBEK_LATIN
));
20584 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)wxLANGUAGE_VIETNAMESE
));
20585 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)wxLANGUAGE_VOLAPUK
));
20586 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)wxLANGUAGE_WELSH
));
20587 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)wxLANGUAGE_WOLOF
));
20588 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)wxLANGUAGE_XHOSA
));
20589 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)wxLANGUAGE_YIDDISH
));
20590 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)wxLANGUAGE_YORUBA
));
20591 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)wxLANGUAGE_ZHUANG
));
20592 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)wxLANGUAGE_ZULU
));
20593 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)wxLANGUAGE_USER_DEFINED
));
20594 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)wxLOCALE_CAT_NUMBER
));
20595 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)wxLOCALE_CAT_DATE
));
20596 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)wxLOCALE_CAT_MONEY
));
20597 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)wxLOCALE_CAT_MAX
));
20598 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)wxLOCALE_THOUSANDS_SEP
));
20599 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)wxLOCALE_DECIMAL_POINT
));
20600 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)wxLOCALE_LOAD_DEFAULT
));
20601 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)wxLOCALE_CONV_ENCODING
));
20602 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)wxCONVERT_STRICT
));
20603 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)wxCONVERT_SUBSTITUTE
));
20604 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)wxPLATFORM_CURRENT
));
20605 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)wxPLATFORM_UNIX
));
20606 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)wxPLATFORM_WINDOWS
));
20607 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)wxPLATFORM_OS2
));
20608 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)wxPLATFORM_MAC
));
20609 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)wxIMAGELIST_DRAW_NORMAL
));
20610 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)wxIMAGELIST_DRAW_TRANSPARENT
));
20611 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)wxIMAGELIST_DRAW_SELECTED
));
20612 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)wxIMAGELIST_DRAW_FOCUSED
));
20613 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)wxIMAGE_LIST_NORMAL
));
20614 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)wxIMAGE_LIST_SMALL
));
20615 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)wxIMAGE_LIST_STATE
));
20616 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
20617 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
20618 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
20619 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
20620 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
20621 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
20622 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
20623 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
20624 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
20625 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
20626 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
20627 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
20628 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
20629 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
20630 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
20631 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
20632 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
20633 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
20634 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
20635 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
20636 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
20637 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
20638 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
20639 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
20640 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
20641 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
20642 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
20643 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
20644 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
20645 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
20646 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
20647 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
20648 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
20649 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
20650 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
20651 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
20652 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
20653 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
20654 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
20655 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
20656 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
20657 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
20658 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
20659 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
20660 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
20661 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
20662 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
20664 // Work around a chicken/egg problem in drawlist.cpp
20665 wxPyDrawList_SetAPIPtr();