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
) {
625 if (!PyTuple_Check(target
)) {
627 target
= PyTuple_New(1);
628 PyTuple_SetItem(target
, 0, o2
);
631 PyTuple_SetItem(o3
, 0, o
);
634 target
= PySequence_Concat(o2
, o3
);
642 PyObject
*wxPen_GetDashes(wxPen
*self
){
644 int count
= self
->GetDashes(&dashes
);
645 bool blocked
= wxPyBeginBlockThreads();
646 PyObject
* retval
= PyList_New(0);
647 for (int x
=0; x
<count
; x
++) {
648 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
649 PyList_Append(retval
, pyint
);
652 wxPyEndBlockThreads(blocked
);
655 void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
656 bool blocked
= wxPyBeginBlockThreads();
657 int size
= PyList_Size(pyDashes
);
658 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
660 // black magic warning! The array of wxDashes needs to exist as
661 // long as the pen does because wxPen does not copy the array. So
662 // stick a copy in a Python string object and attach it to _self,
663 // and then call SetDashes with a pointer to that array. Then
664 // when the Python pen object is destroyed the array will be
666 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
667 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
669 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
671 Py_DECREF(strDashes
);
672 wxPyEndBlockThreads(blocked
);
674 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
675 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
677 #include <wx/image.h>
679 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
680 char** cArray
= NULL
;
683 if (!PyList_Check(listOfStrings
)) {
684 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
687 count
= PyList_Size(listOfStrings
);
688 cArray
= new char*[count
];
690 for(int x
=0; x
<count
; x
++) {
691 // TODO: Need some validation and error checking here
692 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
698 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
699 char** cArray
= NULL
;
702 cArray
= ConvertListOfStrings(listOfStrings
);
705 bmp
= new wxBitmap(cArray
);
709 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
712 PyString_AsStringAndSize(bits
, &buf
, &length
);
713 return new wxBitmap(buf
, width
, height
, depth
);
716 SWIGSTATICINLINE(long)
717 SWIG_As_long(PyObject
* obj
)
720 if (!SWIG_AsVal_long(obj
, &v
)) {
722 this is needed to make valgrind/purify happier. the other
723 solution is throw an exception, but since this code should work
726 memset((void*)&v
, 0, sizeof(long));
732 SWIGSTATICINLINE(int)
733 SWIG_Check_long(PyObject
* obj
)
735 return SWIG_AsVal_long(obj
, (long*)0);
738 void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
739 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
740 wxSize
size(self
->GetWidth(), self
->GetHeight());
743 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
744 wxMask
*mask
= new wxMask(*self
, colour
);
747 void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
748 self
->SetWidth(size
.x
);
749 self
->SetHeight(size
.y
);
751 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
752 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
753 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
755 return new wxMask(bitmap
, *wxBLACK
);
757 return new wxMask(bitmap
, colour
);
760 #include <wx/iconbndl.h>
762 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
763 wxIcon
* icon
= new wxIcon();
764 icon
->CopyFromBitmap(bmp
);
767 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
768 char** cArray
= NULL
;
771 cArray
= ConvertListOfStrings(listOfStrings
);
774 icon
= new wxIcon(cArray
);
778 void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
779 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
781 return new wxIconLocation(*filename
, num
);
786 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
793 int wxIconLocation_GetIndex(wxIconLocation
*self
){
795 return self
->GetIndex();
800 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
802 wxCHECK_MSG(false, NULL
,
803 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
805 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
808 void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
811 void wxRegionIterator_Next(wxRegionIterator
*self
){
814 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
815 return self
->operator bool();
818 #include <wx/fontutil.h>
819 #include <wx/fontmap.h>
820 #include <wx/fontenum.h>
822 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
823 return self
->ToString();
826 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
827 { wxPyRaiseNotImplemented(); return NULL
; }
829 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
830 { wxPyRaiseNotImplemented(); return false; }
832 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
833 wxFontEncoding alt_enc
;
834 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
835 return PyInt_FromLong(alt_enc
);
841 wxFont
*new_wxFont(wxString
const &info
){
842 wxNativeFontInfo nfi
;
843 nfi
.FromString(info
);
844 return new wxFont(nfi
);
846 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
847 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
849 wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
,wxString
const &face
,wxFontEncoding encoding
){
850 return wxFontBase::New(pixelSize
, family
,
851 style
, weight
, underlined
,
854 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
855 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
857 class wxPyFontEnumerator
: public wxFontEnumerator
{
859 wxPyFontEnumerator() {}
860 ~wxPyFontEnumerator() {}
862 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
863 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
868 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
869 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
872 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
873 wxArrayString
* arr
= self
->GetEncodings();
875 return wxArrayString2PyList_helper(*arr
);
877 return PyList_New(0);
879 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
880 wxArrayString
* arr
= self
->GetFacenames();
882 return wxArrayString2PyList_helper(*arr
);
884 return PyList_New(0);
889 wxLocale
*new_wxLocale(int language
,int flags
){
892 loc
= new wxLocale();
894 loc
= new wxLocale(language
, flags
);
895 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
896 // for the floating point conversions and such to work right.
897 #if PY_VERSION_HEX < 0x02040000
898 setlocale(LC_NUMERIC
, "C");
902 bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
,wxString
const &szLocale
,bool bLoadDefault
,bool bConvertEncoding
){
903 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
904 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
905 // for the floating point conversions and such to work right.
906 #if PY_VERSION_HEX < 0x02040000
907 setlocale(LC_NUMERIC
, "C");
911 bool wxLocale_Init2(wxLocale
*self
,int language
,int flags
){
912 bool rc
= self
->Init(language
, flags
);
913 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
914 // for the floating point conversions and such to work right.
915 #if PY_VERSION_HEX < 0x02040000
916 setlocale(LC_NUMERIC
, "C");
921 #include "wx/wxPython/pydrawxxx.h"
923 wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
925 self
->GetPixel(x
, y
, &col
);
928 wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
930 self
->GetPixel(pt
, &col
);
934 // See my_fragments.i
935 SWIGSTATICINLINE(int)
936 SWIG_AsVal_double(PyObject
*obj
, double* val
)
938 if (PyNumber_Check(obj
)) {
939 if (val
) *val
= PyFloat_AsDouble(obj
);
943 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
944 obj
->ob_type
->tp_name
);
945 PyErr_SetObject(PyExc_TypeError
, errmsg
);
952 SWIGSTATICINLINE(double)
953 SWIG_As_double(PyObject
* obj
)
956 if (!SWIG_AsVal_double(obj
, &v
)) {
958 this is needed to make valgrind/purify happier. the other
959 solution is throw an exception, but since this code should work
962 memset((void*)&v
, 0, sizeof(double));
968 SWIGSTATICINLINE(int)
969 SWIG_Check_double(PyObject
* obj
)
971 return SWIG_AsVal_double(obj
, (double*)0);
974 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
976 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
980 wxRect
wxDC_GetClippingRect(wxDC
*self
){
982 self
->GetClippingBox(rect
);
985 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
987 self
->GetPartialTextExtents(text
, widths
);
991 void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
992 self
->SetLogicalOrigin(point
.x
, point
.y
);
994 void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
995 self
->SetDeviceOrigin(point
.x
, point
.y
);
997 void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
998 self
->CalcBoundingBox(point
.x
, point
.y
);
1000 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1001 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
1003 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1004 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
1006 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1007 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
1009 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1010 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
1012 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1013 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
1015 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
1016 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
1019 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
1027 #include <wx/dcbuffer.h>
1030 #include <wx/dcps.h>
1033 #include <wx/metafile.h>
1037 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
1038 self
->AddColour(name
, wxColour(red
, green
, blue
));
1041 #include <wx/effects.h>
1046 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1047 PyObject
*resultobj
;
1048 wxGDIObject
*result
;
1053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
1055 if (!wxPyCheckForApp()) SWIG_fail
;
1056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1057 result
= (wxGDIObject
*)new wxGDIObject();
1059 wxPyEndAllowThreads(__tstate
);
1060 if (PyErr_Occurred()) SWIG_fail
;
1062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
1069 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1070 PyObject
*resultobj
;
1071 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1072 PyObject
* obj0
= 0 ;
1074 (char *) "self", NULL
1077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
1078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1084 wxPyEndAllowThreads(__tstate
);
1085 if (PyErr_Occurred()) SWIG_fail
;
1087 Py_INCREF(Py_None
); resultobj
= Py_None
;
1094 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1095 PyObject
*resultobj
;
1096 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1098 PyObject
* obj0
= 0 ;
1100 (char *) "self", NULL
1103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
1104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1108 result
= (bool)(arg1
)->GetVisible();
1110 wxPyEndAllowThreads(__tstate
);
1111 if (PyErr_Occurred()) SWIG_fail
;
1114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1122 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1123 PyObject
*resultobj
;
1124 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1126 PyObject
* obj0
= 0 ;
1127 PyObject
* obj1
= 0 ;
1129 (char *) "self",(char *) "visible", NULL
1132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
1133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1135 arg2
= (bool)SWIG_As_bool(obj1
);
1136 if (PyErr_Occurred()) SWIG_fail
;
1138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1139 (arg1
)->SetVisible(arg2
);
1141 wxPyEndAllowThreads(__tstate
);
1142 if (PyErr_Occurred()) SWIG_fail
;
1144 Py_INCREF(Py_None
); resultobj
= Py_None
;
1151 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1152 PyObject
*resultobj
;
1153 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1155 PyObject
* obj0
= 0 ;
1157 (char *) "self", NULL
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1165 result
= (bool)(arg1
)->IsNull();
1167 wxPyEndAllowThreads(__tstate
);
1168 if (PyErr_Occurred()) SWIG_fail
;
1171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1179 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
1181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1182 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1184 return Py_BuildValue((char *)"");
1186 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1187 PyObject
*resultobj
;
1188 byte arg1
= (byte
) 0 ;
1189 byte arg2
= (byte
) 0 ;
1190 byte arg3
= (byte
) 0 ;
1192 PyObject
* obj0
= 0 ;
1193 PyObject
* obj1
= 0 ;
1194 PyObject
* obj2
= 0 ;
1196 (char *) "red",(char *) "green",(char *) "blue", NULL
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1201 arg1
= (byte
)SWIG_As_unsigned_SS_char(obj0
);
1202 if (PyErr_Occurred()) SWIG_fail
;
1205 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1206 if (PyErr_Occurred()) SWIG_fail
;
1209 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1210 if (PyErr_Occurred()) SWIG_fail
;
1213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1214 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1216 wxPyEndAllowThreads(__tstate
);
1217 if (PyErr_Occurred()) SWIG_fail
;
1219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1226 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1227 PyObject
*resultobj
;
1228 wxString
*arg1
= 0 ;
1230 bool temp1
= false ;
1231 PyObject
* obj0
= 0 ;
1233 (char *) "colorName", NULL
1236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1238 arg1
= wxString_in_helper(obj0
);
1239 if (arg1
== NULL
) SWIG_fail
;
1243 if (!wxPyCheckForApp()) SWIG_fail
;
1244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1245 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1247 wxPyEndAllowThreads(__tstate
);
1248 if (PyErr_Occurred()) SWIG_fail
;
1250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1265 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1266 PyObject
*resultobj
;
1267 unsigned long arg1
;
1269 PyObject
* obj0
= 0 ;
1271 (char *) "colRGB", NULL
1274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1275 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
1276 if (PyErr_Occurred()) SWIG_fail
;
1278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1279 result
= (wxColour
*)new wxColour(arg1
);
1281 wxPyEndAllowThreads(__tstate
);
1282 if (PyErr_Occurred()) SWIG_fail
;
1284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1291 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1292 PyObject
*resultobj
;
1293 wxColour
*arg1
= (wxColour
*) 0 ;
1294 PyObject
* obj0
= 0 ;
1296 (char *) "self", NULL
1299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1306 wxPyEndAllowThreads(__tstate
);
1307 if (PyErr_Occurred()) SWIG_fail
;
1309 Py_INCREF(Py_None
); resultobj
= Py_None
;
1316 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1317 PyObject
*resultobj
;
1318 wxColour
*arg1
= (wxColour
*) 0 ;
1320 PyObject
* obj0
= 0 ;
1322 (char *) "self", NULL
1325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1330 result
= (byte
)(arg1
)->Red();
1332 wxPyEndAllowThreads(__tstate
);
1333 if (PyErr_Occurred()) SWIG_fail
;
1335 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1342 static PyObject
*_wrap_Colour_Green(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1343 PyObject
*resultobj
;
1344 wxColour
*arg1
= (wxColour
*) 0 ;
1346 PyObject
* obj0
= 0 ;
1348 (char *) "self", NULL
1351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1356 result
= (byte
)(arg1
)->Green();
1358 wxPyEndAllowThreads(__tstate
);
1359 if (PyErr_Occurred()) SWIG_fail
;
1361 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1368 static PyObject
*_wrap_Colour_Blue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1369 PyObject
*resultobj
;
1370 wxColour
*arg1
= (wxColour
*) 0 ;
1372 PyObject
* obj0
= 0 ;
1374 (char *) "self", NULL
1377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1382 result
= (byte
)(arg1
)->Blue();
1384 wxPyEndAllowThreads(__tstate
);
1385 if (PyErr_Occurred()) SWIG_fail
;
1387 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1394 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1395 PyObject
*resultobj
;
1396 wxColour
*arg1
= (wxColour
*) 0 ;
1398 PyObject
* obj0
= 0 ;
1400 (char *) "self", NULL
1403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1408 result
= (bool)(arg1
)->Ok();
1410 wxPyEndAllowThreads(__tstate
);
1411 if (PyErr_Occurred()) SWIG_fail
;
1414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1422 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
*resultobj
;
1424 wxColour
*arg1
= (wxColour
*) 0 ;
1428 PyObject
* obj0
= 0 ;
1429 PyObject
* obj1
= 0 ;
1430 PyObject
* obj2
= 0 ;
1431 PyObject
* obj3
= 0 ;
1433 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1439 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1440 if (PyErr_Occurred()) SWIG_fail
;
1441 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1442 if (PyErr_Occurred()) SWIG_fail
;
1443 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
1444 if (PyErr_Occurred()) SWIG_fail
;
1446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1447 (arg1
)->Set(arg2
,arg3
,arg4
);
1449 wxPyEndAllowThreads(__tstate
);
1450 if (PyErr_Occurred()) SWIG_fail
;
1452 Py_INCREF(Py_None
); resultobj
= Py_None
;
1459 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1460 PyObject
*resultobj
;
1461 wxColour
*arg1
= (wxColour
*) 0 ;
1462 unsigned long arg2
;
1463 PyObject
* obj0
= 0 ;
1464 PyObject
* obj1
= 0 ;
1466 (char *) "self",(char *) "colRGB", NULL
1469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1472 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
1473 if (PyErr_Occurred()) SWIG_fail
;
1475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1478 wxPyEndAllowThreads(__tstate
);
1479 if (PyErr_Occurred()) SWIG_fail
;
1481 Py_INCREF(Py_None
); resultobj
= Py_None
;
1488 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1489 PyObject
*resultobj
;
1490 wxColour
*arg1
= (wxColour
*) 0 ;
1491 wxString
*arg2
= 0 ;
1492 bool temp2
= false ;
1493 PyObject
* obj0
= 0 ;
1494 PyObject
* obj1
= 0 ;
1496 (char *) "self",(char *) "colourName", NULL
1499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1503 arg2
= wxString_in_helper(obj1
);
1504 if (arg2
== NULL
) SWIG_fail
;
1508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1509 (arg1
)->InitFromName((wxString
const &)*arg2
);
1511 wxPyEndAllowThreads(__tstate
);
1512 if (PyErr_Occurred()) SWIG_fail
;
1514 Py_INCREF(Py_None
); resultobj
= Py_None
;
1529 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1530 PyObject
*resultobj
;
1531 wxColour
*arg1
= (wxColour
*) 0 ;
1533 PyObject
* obj0
= 0 ;
1535 (char *) "self", NULL
1538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1543 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1545 wxPyEndAllowThreads(__tstate
);
1546 if (PyErr_Occurred()) SWIG_fail
;
1548 resultobj
= SWIG_From_long((long)result
);
1555 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1556 PyObject
*resultobj
;
1557 wxColour
*arg1
= (wxColour
*) 0 ;
1558 wxColour
*arg2
= 0 ;
1561 PyObject
* obj0
= 0 ;
1562 PyObject
* obj1
= 0 ;
1564 (char *) "self",(char *) "colour", NULL
1567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1572 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1576 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1578 wxPyEndAllowThreads(__tstate
);
1579 if (PyErr_Occurred()) SWIG_fail
;
1582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1590 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
*resultobj
;
1592 wxColour
*arg1
= (wxColour
*) 0 ;
1593 wxColour
*arg2
= 0 ;
1596 PyObject
* obj0
= 0 ;
1597 PyObject
* obj1
= 0 ;
1599 (char *) "self",(char *) "colour", NULL
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1607 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1611 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1613 wxPyEndAllowThreads(__tstate
);
1614 if (PyErr_Occurred()) SWIG_fail
;
1617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1625 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1626 PyObject
*resultobj
;
1627 wxColour
*arg1
= (wxColour
*) 0 ;
1629 PyObject
* obj0
= 0 ;
1631 (char *) "self", NULL
1634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1639 result
= (PyObject
*)wxColour_Get(arg1
);
1641 wxPyEndAllowThreads(__tstate
);
1642 if (PyErr_Occurred()) SWIG_fail
;
1651 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1652 PyObject
*resultobj
;
1653 wxColour
*arg1
= (wxColour
*) 0 ;
1654 unsigned long result
;
1655 PyObject
* obj0
= 0 ;
1657 (char *) "self", NULL
1660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1665 result
= (unsigned long)wxColour_GetRGB(arg1
);
1667 wxPyEndAllowThreads(__tstate
);
1668 if (PyErr_Occurred()) SWIG_fail
;
1670 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
1677 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
1679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1680 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1682 return Py_BuildValue((char *)"");
1684 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1685 PyObject
*resultobj
;
1687 unsigned char *arg2
= (unsigned char *) 0 ;
1688 unsigned char *arg3
= (unsigned char *) 0 ;
1689 unsigned char *arg4
= (unsigned char *) 0 ;
1691 PyObject
* obj0
= 0 ;
1692 PyObject
* obj1
= 0 ;
1693 PyObject
* obj2
= 0 ;
1694 PyObject
* obj3
= 0 ;
1696 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1700 arg1
= (int)SWIG_As_int(obj0
);
1701 if (PyErr_Occurred()) SWIG_fail
;
1702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1704 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1706 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1709 if (!wxPyCheckForApp()) SWIG_fail
;
1710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1711 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1713 wxPyEndAllowThreads(__tstate
);
1714 if (PyErr_Occurred()) SWIG_fail
;
1716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1723 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1724 PyObject
*resultobj
;
1725 wxPalette
*arg1
= (wxPalette
*) 0 ;
1726 PyObject
* obj0
= 0 ;
1728 (char *) "self", NULL
1731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1738 wxPyEndAllowThreads(__tstate
);
1739 if (PyErr_Occurred()) SWIG_fail
;
1741 Py_INCREF(Py_None
); resultobj
= Py_None
;
1748 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1749 PyObject
*resultobj
;
1750 wxPalette
*arg1
= (wxPalette
*) 0 ;
1755 PyObject
* obj0
= 0 ;
1756 PyObject
* obj1
= 0 ;
1757 PyObject
* obj2
= 0 ;
1758 PyObject
* obj3
= 0 ;
1760 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1766 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1767 if (PyErr_Occurred()) SWIG_fail
;
1768 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1769 if (PyErr_Occurred()) SWIG_fail
;
1770 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
1771 if (PyErr_Occurred()) SWIG_fail
;
1773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1774 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1776 wxPyEndAllowThreads(__tstate
);
1777 if (PyErr_Occurred()) SWIG_fail
;
1779 resultobj
= SWIG_From_int((int)result
);
1786 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1787 PyObject
*resultobj
;
1788 wxPalette
*arg1
= (wxPalette
*) 0 ;
1790 byte
*arg3
= (byte
*) 0 ;
1791 byte
*arg4
= (byte
*) 0 ;
1792 byte
*arg5
= (byte
*) 0 ;
1800 PyObject
* obj0
= 0 ;
1801 PyObject
* obj1
= 0 ;
1803 (char *) "self",(char *) "pixel", NULL
1806 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
1807 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
1808 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
1809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1812 arg2
= (int)SWIG_As_int(obj1
);
1813 if (PyErr_Occurred()) SWIG_fail
;
1815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1816 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1818 wxPyEndAllowThreads(__tstate
);
1819 if (PyErr_Occurred()) SWIG_fail
;
1822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1824 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
1825 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
1826 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
1827 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
1828 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
1829 SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_byte
, 0)));
1836 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1837 PyObject
*resultobj
;
1838 wxPalette
*arg1
= (wxPalette
*) 0 ;
1840 PyObject
* obj0
= 0 ;
1842 (char *) "self", NULL
1845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1850 result
= (bool)(arg1
)->Ok();
1852 wxPyEndAllowThreads(__tstate
);
1853 if (PyErr_Occurred()) SWIG_fail
;
1856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1864 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
1866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1867 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1869 return Py_BuildValue((char *)"");
1871 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1872 PyObject
*resultobj
;
1873 wxColour
*arg1
= 0 ;
1874 int arg2
= (int) 1 ;
1875 int arg3
= (int) wxSOLID
;
1878 PyObject
* obj0
= 0 ;
1879 PyObject
* obj1
= 0 ;
1880 PyObject
* obj2
= 0 ;
1882 (char *) "colour",(char *) "width",(char *) "style", NULL
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1888 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1891 arg2
= (int)SWIG_As_int(obj1
);
1892 if (PyErr_Occurred()) SWIG_fail
;
1895 arg3
= (int)SWIG_As_int(obj2
);
1896 if (PyErr_Occurred()) SWIG_fail
;
1899 if (!wxPyCheckForApp()) SWIG_fail
;
1900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1901 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1903 wxPyEndAllowThreads(__tstate
);
1904 if (PyErr_Occurred()) SWIG_fail
;
1906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1913 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
*resultobj
;
1915 wxPen
*arg1
= (wxPen
*) 0 ;
1916 PyObject
* obj0
= 0 ;
1918 (char *) "self", NULL
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1928 wxPyEndAllowThreads(__tstate
);
1929 if (PyErr_Occurred()) SWIG_fail
;
1931 Py_INCREF(Py_None
); resultobj
= Py_None
;
1938 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1939 PyObject
*resultobj
;
1940 wxPen
*arg1
= (wxPen
*) 0 ;
1942 PyObject
* obj0
= 0 ;
1944 (char *) "self", NULL
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1952 result
= (int)(arg1
)->GetCap();
1954 wxPyEndAllowThreads(__tstate
);
1955 if (PyErr_Occurred()) SWIG_fail
;
1957 resultobj
= SWIG_From_int((int)result
);
1964 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
*resultobj
;
1966 wxPen
*arg1
= (wxPen
*) 0 ;
1968 PyObject
* obj0
= 0 ;
1970 (char *) "self", NULL
1973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1978 result
= (arg1
)->GetColour();
1980 wxPyEndAllowThreads(__tstate
);
1981 if (PyErr_Occurred()) SWIG_fail
;
1984 wxColour
* resultptr
;
1985 resultptr
= new wxColour((wxColour
&) result
);
1986 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1994 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
*resultobj
;
1996 wxPen
*arg1
= (wxPen
*) 0 ;
1998 PyObject
* obj0
= 0 ;
2000 (char *) "self", NULL
2003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
2004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2008 result
= (int)(arg1
)->GetJoin();
2010 wxPyEndAllowThreads(__tstate
);
2011 if (PyErr_Occurred()) SWIG_fail
;
2013 resultobj
= SWIG_From_int((int)result
);
2020 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2021 PyObject
*resultobj
;
2022 wxPen
*arg1
= (wxPen
*) 0 ;
2024 PyObject
* obj0
= 0 ;
2026 (char *) "self", NULL
2029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
2030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2034 result
= (int)(arg1
)->GetStyle();
2036 wxPyEndAllowThreads(__tstate
);
2037 if (PyErr_Occurred()) SWIG_fail
;
2039 resultobj
= SWIG_From_int((int)result
);
2046 static PyObject
*_wrap_Pen_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2047 PyObject
*resultobj
;
2048 wxPen
*arg1
= (wxPen
*) 0 ;
2050 PyObject
* obj0
= 0 ;
2052 (char *) "self", NULL
2055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
2056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2060 result
= (int)(arg1
)->GetWidth();
2062 wxPyEndAllowThreads(__tstate
);
2063 if (PyErr_Occurred()) SWIG_fail
;
2065 resultobj
= SWIG_From_int((int)result
);
2072 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2073 PyObject
*resultobj
;
2074 wxPen
*arg1
= (wxPen
*) 0 ;
2076 PyObject
* obj0
= 0 ;
2078 (char *) "self", NULL
2081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
2082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2086 result
= (bool)(arg1
)->Ok();
2088 wxPyEndAllowThreads(__tstate
);
2089 if (PyErr_Occurred()) SWIG_fail
;
2092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2100 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
*resultobj
;
2102 wxPen
*arg1
= (wxPen
*) 0 ;
2104 PyObject
* obj0
= 0 ;
2105 PyObject
* obj1
= 0 ;
2107 (char *) "self",(char *) "cap_style", NULL
2110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
2111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2113 arg2
= (int)SWIG_As_int(obj1
);
2114 if (PyErr_Occurred()) SWIG_fail
;
2116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2117 (arg1
)->SetCap(arg2
);
2119 wxPyEndAllowThreads(__tstate
);
2120 if (PyErr_Occurred()) SWIG_fail
;
2122 Py_INCREF(Py_None
); resultobj
= Py_None
;
2129 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2130 PyObject
*resultobj
;
2131 wxPen
*arg1
= (wxPen
*) 0 ;
2132 wxColour
*arg2
= 0 ;
2134 PyObject
* obj0
= 0 ;
2135 PyObject
* obj1
= 0 ;
2137 (char *) "self",(char *) "colour", NULL
2140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2145 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2149 (arg1
)->SetColour(*arg2
);
2151 wxPyEndAllowThreads(__tstate
);
2152 if (PyErr_Occurred()) SWIG_fail
;
2154 Py_INCREF(Py_None
); resultobj
= Py_None
;
2161 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2162 PyObject
*resultobj
;
2163 wxPen
*arg1
= (wxPen
*) 0 ;
2165 PyObject
* obj0
= 0 ;
2166 PyObject
* obj1
= 0 ;
2168 (char *) "self",(char *) "join_style", NULL
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2174 arg2
= (int)SWIG_As_int(obj1
);
2175 if (PyErr_Occurred()) SWIG_fail
;
2177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2178 (arg1
)->SetJoin(arg2
);
2180 wxPyEndAllowThreads(__tstate
);
2181 if (PyErr_Occurred()) SWIG_fail
;
2183 Py_INCREF(Py_None
); resultobj
= Py_None
;
2190 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
*resultobj
;
2192 wxPen
*arg1
= (wxPen
*) 0 ;
2194 PyObject
* obj0
= 0 ;
2195 PyObject
* obj1
= 0 ;
2197 (char *) "self",(char *) "style", NULL
2200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2203 arg2
= (int)SWIG_As_int(obj1
);
2204 if (PyErr_Occurred()) SWIG_fail
;
2206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2207 (arg1
)->SetStyle(arg2
);
2209 wxPyEndAllowThreads(__tstate
);
2210 if (PyErr_Occurred()) SWIG_fail
;
2212 Py_INCREF(Py_None
); resultobj
= Py_None
;
2219 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2220 PyObject
*resultobj
;
2221 wxPen
*arg1
= (wxPen
*) 0 ;
2223 PyObject
* obj0
= 0 ;
2224 PyObject
* obj1
= 0 ;
2226 (char *) "self",(char *) "width", NULL
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2232 arg2
= (int)SWIG_As_int(obj1
);
2233 if (PyErr_Occurred()) SWIG_fail
;
2235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2236 (arg1
)->SetWidth(arg2
);
2238 wxPyEndAllowThreads(__tstate
);
2239 if (PyErr_Occurred()) SWIG_fail
;
2241 Py_INCREF(Py_None
); resultobj
= Py_None
;
2248 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2249 PyObject
*resultobj
;
2250 wxPen
*arg1
= (wxPen
*) 0 ;
2252 wxDash
*arg3
= (wxDash
*) 0 ;
2253 PyObject
* obj0
= 0 ;
2254 PyObject
* obj1
= 0 ;
2256 (char *) "self",(char *) "dashes", NULL
2259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2263 arg2
= PyList_Size(obj1
);
2264 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2265 if (arg3
== NULL
) SWIG_fail
;
2268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2269 (arg1
)->SetDashes(arg2
,arg3
);
2271 wxPyEndAllowThreads(__tstate
);
2272 if (PyErr_Occurred()) SWIG_fail
;
2274 Py_INCREF(Py_None
); resultobj
= Py_None
;
2276 if (arg3
) delete [] arg3
;
2281 if (arg3
) delete [] arg3
;
2287 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2288 PyObject
*resultobj
;
2289 wxPen
*arg1
= (wxPen
*) 0 ;
2291 PyObject
* obj0
= 0 ;
2293 (char *) "self", NULL
2296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2301 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2303 wxPyEndAllowThreads(__tstate
);
2304 if (PyErr_Occurred()) SWIG_fail
;
2313 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
*resultobj
;
2315 wxPen
*arg1
= (wxPen
*) 0 ;
2316 PyObject
*arg2
= (PyObject
*) 0 ;
2317 PyObject
*arg3
= (PyObject
*) 0 ;
2318 PyObject
* obj0
= 0 ;
2319 PyObject
* obj1
= 0 ;
2320 PyObject
* obj2
= 0 ;
2322 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2332 wxPen__SetDashes(arg1
,arg2
,arg3
);
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) SWIG_fail
;
2337 Py_INCREF(Py_None
); resultobj
= Py_None
;
2344 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2345 PyObject
*resultobj
;
2346 wxPen
*arg1
= (wxPen
*) 0 ;
2348 PyObject
* obj0
= 0 ;
2350 (char *) "self", NULL
2353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2358 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2360 wxPyEndAllowThreads(__tstate
);
2361 if (PyErr_Occurred()) SWIG_fail
;
2363 resultobj
= SWIG_From_int((int)result
);
2370 static PyObject
*_wrap_Pen_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2371 PyObject
*resultobj
;
2372 wxPen
*arg1
= (wxPen
*) 0 ;
2374 PyObject
* obj0
= 0 ;
2376 (char *) "self", NULL
2379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStipple",kwnames
,&obj0
)) goto fail
;
2380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2384 result
= (wxBitmap
*)(arg1
)->GetStipple();
2386 wxPyEndAllowThreads(__tstate
);
2387 if (PyErr_Occurred()) SWIG_fail
;
2389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2396 static PyObject
*_wrap_Pen_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2397 PyObject
*resultobj
;
2398 wxPen
*arg1
= (wxPen
*) 0 ;
2399 wxBitmap
*arg2
= 0 ;
2400 PyObject
* obj0
= 0 ;
2401 PyObject
* obj1
= 0 ;
2403 (char *) "self",(char *) "stipple", NULL
2406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2410 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2413 PyErr_SetString(PyExc_TypeError
,"null reference");
2417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2418 (arg1
)->SetStipple(*arg2
);
2420 wxPyEndAllowThreads(__tstate
);
2421 if (PyErr_Occurred()) SWIG_fail
;
2423 Py_INCREF(Py_None
); resultobj
= Py_None
;
2430 static PyObject
*_wrap_Pen___eq__(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___eq__",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___eq__(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
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2463 PyObject
*resultobj
;
2464 wxPen
*arg1
= (wxPen
*) 0 ;
2465 wxPen
*arg2
= (wxPen
*) 0 ;
2467 PyObject
* obj0
= 0 ;
2468 PyObject
* obj1
= 0 ;
2470 (char *) "self",(char *) "other", NULL
2473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2480 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2482 wxPyEndAllowThreads(__tstate
);
2483 if (PyErr_Occurred()) SWIG_fail
;
2486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2494 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
2496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2497 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2499 return Py_BuildValue((char *)"");
2501 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2502 PyObject
*resultobj
;
2503 wxColour
*arg1
= 0 ;
2504 int arg2
= (int) wxSOLID
;
2507 PyObject
* obj0
= 0 ;
2508 PyObject
* obj1
= 0 ;
2510 (char *) "colour",(char *) "style", NULL
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2516 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2519 arg2
= (int)SWIG_As_int(obj1
);
2520 if (PyErr_Occurred()) SWIG_fail
;
2523 if (!wxPyCheckForApp()) SWIG_fail
;
2524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2525 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2527 wxPyEndAllowThreads(__tstate
);
2528 if (PyErr_Occurred()) SWIG_fail
;
2530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2537 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2538 PyObject
*resultobj
;
2539 wxBrush
*arg1
= (wxBrush
*) 0 ;
2540 PyObject
* obj0
= 0 ;
2542 (char *) "self", NULL
2545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2552 wxPyEndAllowThreads(__tstate
);
2553 if (PyErr_Occurred()) SWIG_fail
;
2555 Py_INCREF(Py_None
); resultobj
= Py_None
;
2562 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2563 PyObject
*resultobj
;
2564 wxBrush
*arg1
= (wxBrush
*) 0 ;
2565 wxColour
*arg2
= 0 ;
2567 PyObject
* obj0
= 0 ;
2568 PyObject
* obj1
= 0 ;
2570 (char *) "self",(char *) "col", NULL
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2578 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2582 (arg1
)->SetColour((wxColour
const &)*arg2
);
2584 wxPyEndAllowThreads(__tstate
);
2585 if (PyErr_Occurred()) SWIG_fail
;
2587 Py_INCREF(Py_None
); resultobj
= Py_None
;
2594 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2595 PyObject
*resultobj
;
2596 wxBrush
*arg1
= (wxBrush
*) 0 ;
2598 PyObject
* obj0
= 0 ;
2599 PyObject
* obj1
= 0 ;
2601 (char *) "self",(char *) "style", NULL
2604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2607 arg2
= (int)SWIG_As_int(obj1
);
2608 if (PyErr_Occurred()) SWIG_fail
;
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 (arg1
)->SetStyle(arg2
);
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) SWIG_fail
;
2616 Py_INCREF(Py_None
); resultobj
= Py_None
;
2623 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
*resultobj
;
2625 wxBrush
*arg1
= (wxBrush
*) 0 ;
2626 wxBitmap
*arg2
= 0 ;
2627 PyObject
* obj0
= 0 ;
2628 PyObject
* obj1
= 0 ;
2630 (char *) "self",(char *) "stipple", NULL
2633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2637 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2640 PyErr_SetString(PyExc_TypeError
,"null reference");
2644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2645 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2647 wxPyEndAllowThreads(__tstate
);
2648 if (PyErr_Occurred()) SWIG_fail
;
2650 Py_INCREF(Py_None
); resultobj
= Py_None
;
2657 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2658 PyObject
*resultobj
;
2659 wxBrush
*arg1
= (wxBrush
*) 0 ;
2661 PyObject
* obj0
= 0 ;
2663 (char *) "self", NULL
2666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2671 result
= ((wxBrush
const *)arg1
)->GetColour();
2673 wxPyEndAllowThreads(__tstate
);
2674 if (PyErr_Occurred()) SWIG_fail
;
2677 wxColour
* resultptr
;
2678 resultptr
= new wxColour((wxColour
&) result
);
2679 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2687 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2688 PyObject
*resultobj
;
2689 wxBrush
*arg1
= (wxBrush
*) 0 ;
2691 PyObject
* obj0
= 0 ;
2693 (char *) "self", NULL
2696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2701 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2703 wxPyEndAllowThreads(__tstate
);
2704 if (PyErr_Occurred()) SWIG_fail
;
2706 resultobj
= SWIG_From_int((int)result
);
2713 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2714 PyObject
*resultobj
;
2715 wxBrush
*arg1
= (wxBrush
*) 0 ;
2717 PyObject
* obj0
= 0 ;
2719 (char *) "self", NULL
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2727 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2729 wxPyEndAllowThreads(__tstate
);
2730 if (PyErr_Occurred()) SWIG_fail
;
2732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2739 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2740 PyObject
*resultobj
;
2741 wxBrush
*arg1
= (wxBrush
*) 0 ;
2743 PyObject
* obj0
= 0 ;
2745 (char *) "self", NULL
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2753 result
= (bool)(arg1
)->Ok();
2755 wxPyEndAllowThreads(__tstate
);
2756 if (PyErr_Occurred()) SWIG_fail
;
2759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2767 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
2769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2770 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2772 return Py_BuildValue((char *)"");
2774 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
*resultobj
;
2776 wxString
*arg1
= 0 ;
2777 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2779 bool temp1
= false ;
2780 PyObject
* obj0
= 0 ;
2781 PyObject
* obj1
= 0 ;
2783 (char *) "name",(char *) "type", NULL
2786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2788 arg1
= wxString_in_helper(obj0
);
2789 if (arg1
== NULL
) SWIG_fail
;
2793 arg2
= (int)SWIG_As_int(obj1
);
2794 if (PyErr_Occurred()) SWIG_fail
;
2797 if (!wxPyCheckForApp()) SWIG_fail
;
2798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2799 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2801 wxPyEndAllowThreads(__tstate
);
2802 if (PyErr_Occurred()) SWIG_fail
;
2804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2819 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2820 PyObject
*resultobj
;
2821 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2822 PyObject
* obj0
= 0 ;
2824 (char *) "self", NULL
2827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2834 wxPyEndAllowThreads(__tstate
);
2835 if (PyErr_Occurred()) SWIG_fail
;
2837 Py_INCREF(Py_None
); resultobj
= Py_None
;
2844 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2845 PyObject
*resultobj
;
2848 int arg3
= (int) -1 ;
2850 PyObject
* obj0
= 0 ;
2851 PyObject
* obj1
= 0 ;
2852 PyObject
* obj2
= 0 ;
2854 (char *) "width",(char *) "height",(char *) "depth", NULL
2857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2858 arg1
= (int)SWIG_As_int(obj0
);
2859 if (PyErr_Occurred()) SWIG_fail
;
2860 arg2
= (int)SWIG_As_int(obj1
);
2861 if (PyErr_Occurred()) SWIG_fail
;
2863 arg3
= (int)SWIG_As_int(obj2
);
2864 if (PyErr_Occurred()) SWIG_fail
;
2867 if (!wxPyCheckForApp()) SWIG_fail
;
2868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2869 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2871 wxPyEndAllowThreads(__tstate
);
2872 if (PyErr_Occurred()) SWIG_fail
;
2874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2881 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
*resultobj
;
2885 PyObject
* obj0
= 0 ;
2887 (char *) "icon", NULL
2890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2892 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2895 PyErr_SetString(PyExc_TypeError
,"null reference");
2899 if (!wxPyCheckForApp()) SWIG_fail
;
2900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2901 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2903 wxPyEndAllowThreads(__tstate
);
2904 if (PyErr_Occurred()) SWIG_fail
;
2906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2913 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2914 PyObject
*resultobj
;
2916 int arg2
= (int) -1 ;
2918 PyObject
* obj0
= 0 ;
2919 PyObject
* obj1
= 0 ;
2921 (char *) "image",(char *) "depth", NULL
2924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2926 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2929 PyErr_SetString(PyExc_TypeError
,"null reference");
2933 arg2
= (int)SWIG_As_int(obj1
);
2934 if (PyErr_Occurred()) SWIG_fail
;
2937 if (!wxPyCheckForApp()) SWIG_fail
;
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) SWIG_fail
;
2944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2951 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2952 PyObject
*resultobj
;
2953 PyObject
*arg1
= (PyObject
*) 0 ;
2955 PyObject
* obj0
= 0 ;
2957 (char *) "listOfStrings", NULL
2960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2963 if (!wxPyCheckForApp()) SWIG_fail
;
2964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2965 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2967 wxPyEndAllowThreads(__tstate
);
2968 if (PyErr_Occurred()) SWIG_fail
;
2970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2977 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2978 PyObject
*resultobj
;
2979 PyObject
*arg1
= (PyObject
*) 0 ;
2982 int arg4
= (int) 1 ;
2984 PyObject
* obj0
= 0 ;
2985 PyObject
* obj1
= 0 ;
2986 PyObject
* obj2
= 0 ;
2987 PyObject
* obj3
= 0 ;
2989 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2994 arg2
= (int)SWIG_As_int(obj1
);
2995 if (PyErr_Occurred()) SWIG_fail
;
2996 arg3
= (int)SWIG_As_int(obj2
);
2997 if (PyErr_Occurred()) SWIG_fail
;
2999 arg4
= (int)SWIG_As_int(obj3
);
3000 if (PyErr_Occurred()) SWIG_fail
;
3003 if (!wxPyCheckForApp()) SWIG_fail
;
3004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3005 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
3007 wxPyEndAllowThreads(__tstate
);
3008 if (PyErr_Occurred()) SWIG_fail
;
3010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
3017 static PyObject
*_wrap_Bitmap_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
*resultobj
;
3019 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3021 PyObject
* obj0
= 0 ;
3023 (char *) "self", NULL
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHandle",kwnames
,&obj0
)) goto fail
;
3027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3031 result
= (long)(arg1
)->GetHandle();
3033 wxPyEndAllowThreads(__tstate
);
3034 if (PyErr_Occurred()) SWIG_fail
;
3036 resultobj
= SWIG_From_long((long)result
);
3043 static PyObject
*_wrap_Bitmap_SetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3044 PyObject
*resultobj
;
3045 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3047 PyObject
* obj0
= 0 ;
3048 PyObject
* obj1
= 0 ;
3050 (char *) "self",(char *) "handle", NULL
3053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
3054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3056 arg2
= (long)SWIG_As_long(obj1
);
3057 if (PyErr_Occurred()) SWIG_fail
;
3059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3060 wxBitmap_SetHandle(arg1
,arg2
);
3062 wxPyEndAllowThreads(__tstate
);
3063 if (PyErr_Occurred()) SWIG_fail
;
3065 Py_INCREF(Py_None
); resultobj
= Py_None
;
3072 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3073 PyObject
*resultobj
;
3074 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3076 PyObject
* obj0
= 0 ;
3078 (char *) "self", NULL
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
3082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3086 result
= (bool)(arg1
)->Ok();
3088 wxPyEndAllowThreads(__tstate
);
3089 if (PyErr_Occurred()) SWIG_fail
;
3092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3100 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
*resultobj
;
3102 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3104 PyObject
* obj0
= 0 ;
3106 (char *) "self", NULL
3109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
3110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3114 result
= (int)(arg1
)->GetWidth();
3116 wxPyEndAllowThreads(__tstate
);
3117 if (PyErr_Occurred()) SWIG_fail
;
3119 resultobj
= SWIG_From_int((int)result
);
3126 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3127 PyObject
*resultobj
;
3128 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3130 PyObject
* obj0
= 0 ;
3132 (char *) "self", NULL
3135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
3136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3140 result
= (int)(arg1
)->GetHeight();
3142 wxPyEndAllowThreads(__tstate
);
3143 if (PyErr_Occurred()) SWIG_fail
;
3145 resultobj
= SWIG_From_int((int)result
);
3152 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
*resultobj
;
3154 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3156 PyObject
* obj0
= 0 ;
3158 (char *) "self", NULL
3161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
3162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3166 result
= (int)(arg1
)->GetDepth();
3168 wxPyEndAllowThreads(__tstate
);
3169 if (PyErr_Occurred()) SWIG_fail
;
3171 resultobj
= SWIG_From_int((int)result
);
3178 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3179 PyObject
*resultobj
;
3180 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3182 PyObject
* obj0
= 0 ;
3184 (char *) "self", NULL
3187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
3188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3192 result
= wxBitmap_GetSize(arg1
);
3194 wxPyEndAllowThreads(__tstate
);
3195 if (PyErr_Occurred()) SWIG_fail
;
3199 resultptr
= new wxSize((wxSize
&) result
);
3200 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3208 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
*resultobj
;
3210 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3211 SwigValueWrapper
< wxImage
> result
;
3212 PyObject
* obj0
= 0 ;
3214 (char *) "self", NULL
3217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3222 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3224 wxPyEndAllowThreads(__tstate
);
3225 if (PyErr_Occurred()) SWIG_fail
;
3228 wxImage
* resultptr
;
3229 resultptr
= new wxImage((wxImage
&) result
);
3230 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3238 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3239 PyObject
*resultobj
;
3240 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3242 PyObject
* obj0
= 0 ;
3244 (char *) "self", NULL
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3252 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3254 wxPyEndAllowThreads(__tstate
);
3255 if (PyErr_Occurred()) SWIG_fail
;
3257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3264 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3265 PyObject
*resultobj
;
3266 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3267 wxMask
*arg2
= (wxMask
*) 0 ;
3268 PyObject
* obj0
= 0 ;
3269 PyObject
* obj1
= 0 ;
3271 (char *) "self",(char *) "mask", NULL
3274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3281 (arg1
)->SetMask(arg2
);
3283 wxPyEndAllowThreads(__tstate
);
3284 if (PyErr_Occurred()) SWIG_fail
;
3286 Py_INCREF(Py_None
); resultobj
= Py_None
;
3293 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3294 PyObject
*resultobj
;
3295 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3296 wxColour
*arg2
= 0 ;
3298 PyObject
* obj0
= 0 ;
3299 PyObject
* obj1
= 0 ;
3301 (char *) "self",(char *) "colour", NULL
3304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3309 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3313 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3315 wxPyEndAllowThreads(__tstate
);
3316 if (PyErr_Occurred()) SWIG_fail
;
3318 Py_INCREF(Py_None
); resultobj
= Py_None
;
3325 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3326 PyObject
*resultobj
;
3327 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3329 SwigValueWrapper
< wxBitmap
> result
;
3331 PyObject
* obj0
= 0 ;
3332 PyObject
* obj1
= 0 ;
3334 (char *) "self",(char *) "rect", NULL
3337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3342 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3346 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3348 wxPyEndAllowThreads(__tstate
);
3349 if (PyErr_Occurred()) SWIG_fail
;
3352 wxBitmap
* resultptr
;
3353 resultptr
= new wxBitmap((wxBitmap
&) result
);
3354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3362 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3363 PyObject
*resultobj
;
3364 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3365 wxString
*arg2
= 0 ;
3367 wxPalette
*arg4
= (wxPalette
*) NULL
;
3369 bool temp2
= false ;
3370 PyObject
* obj0
= 0 ;
3371 PyObject
* obj1
= 0 ;
3372 PyObject
* obj2
= 0 ;
3373 PyObject
* obj3
= 0 ;
3375 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3382 arg2
= wxString_in_helper(obj1
);
3383 if (arg2
== NULL
) SWIG_fail
;
3386 arg3
= (int)SWIG_As_int(obj2
);
3387 if (PyErr_Occurred()) SWIG_fail
;
3389 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3394 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3396 wxPyEndAllowThreads(__tstate
);
3397 if (PyErr_Occurred()) SWIG_fail
;
3400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3416 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
*resultobj
;
3418 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3419 wxString
*arg2
= 0 ;
3422 bool temp2
= false ;
3423 PyObject
* obj0
= 0 ;
3424 PyObject
* obj1
= 0 ;
3425 PyObject
* obj2
= 0 ;
3427 (char *) "self",(char *) "name",(char *) "type", NULL
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3434 arg2
= wxString_in_helper(obj1
);
3435 if (arg2
== NULL
) SWIG_fail
;
3438 arg3
= (int)SWIG_As_int(obj2
);
3439 if (PyErr_Occurred()) SWIG_fail
;
3441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3442 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3444 wxPyEndAllowThreads(__tstate
);
3445 if (PyErr_Occurred()) SWIG_fail
;
3448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3464 static PyObject
*_wrap_Bitmap_GetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
*resultobj
;
3466 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3468 PyObject
* obj0
= 0 ;
3470 (char *) "self", NULL
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetPalette",kwnames
,&obj0
)) goto fail
;
3474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3478 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
3480 wxPyEndAllowThreads(__tstate
);
3481 if (PyErr_Occurred()) SWIG_fail
;
3483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 0);
3490 static PyObject
*_wrap_Bitmap_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
*resultobj
;
3492 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3493 wxPalette
*arg2
= 0 ;
3494 PyObject
* obj0
= 0 ;
3495 PyObject
* obj1
= 0 ;
3497 (char *) "self",(char *) "palette", NULL
3500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
3501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
3504 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3507 PyErr_SetString(PyExc_TypeError
,"null reference");
3511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3512 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
3514 wxPyEndAllowThreads(__tstate
);
3515 if (PyErr_Occurred()) SWIG_fail
;
3517 Py_INCREF(Py_None
); resultobj
= Py_None
;
3524 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
*resultobj
;
3526 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3529 PyObject
* obj0
= 0 ;
3530 PyObject
* obj1
= 0 ;
3532 (char *) "self",(char *) "icon", NULL
3535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3539 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3542 PyErr_SetString(PyExc_TypeError
,"null reference");
3546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3547 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3549 wxPyEndAllowThreads(__tstate
);
3550 if (PyErr_Occurred()) SWIG_fail
;
3553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3561 static PyObject
*_wrap_Bitmap_SetHeight(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 *) "height", NULL
3571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",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
)->SetHeight(arg2
);
3580 wxPyEndAllowThreads(__tstate
);
3581 if (PyErr_Occurred()) SWIG_fail
;
3583 Py_INCREF(Py_None
); resultobj
= Py_None
;
3590 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3591 PyObject
*resultobj
;
3592 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3594 PyObject
* obj0
= 0 ;
3595 PyObject
* obj1
= 0 ;
3597 (char *) "self",(char *) "width", NULL
3600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3603 arg2
= (int)SWIG_As_int(obj1
);
3604 if (PyErr_Occurred()) SWIG_fail
;
3606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3607 (arg1
)->SetWidth(arg2
);
3609 wxPyEndAllowThreads(__tstate
);
3610 if (PyErr_Occurred()) SWIG_fail
;
3612 Py_INCREF(Py_None
); resultobj
= Py_None
;
3619 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3620 PyObject
*resultobj
;
3621 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3623 PyObject
* obj0
= 0 ;
3624 PyObject
* obj1
= 0 ;
3626 (char *) "self",(char *) "depth", NULL
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3632 arg2
= (int)SWIG_As_int(obj1
);
3633 if (PyErr_Occurred()) SWIG_fail
;
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 (arg1
)->SetDepth(arg2
);
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3641 Py_INCREF(Py_None
); resultobj
= Py_None
;
3648 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
*resultobj
;
3650 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3653 PyObject
* obj0
= 0 ;
3654 PyObject
* obj1
= 0 ;
3656 (char *) "self",(char *) "size", NULL
3659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3664 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3668 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3670 wxPyEndAllowThreads(__tstate
);
3671 if (PyErr_Occurred()) SWIG_fail
;
3673 Py_INCREF(Py_None
); resultobj
= Py_None
;
3680 static PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3681 PyObject
*resultobj
;
3682 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3683 wxCursor
*arg2
= 0 ;
3685 PyObject
* obj0
= 0 ;
3686 PyObject
* obj1
= 0 ;
3688 (char *) "self",(char *) "cursor", NULL
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
3692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3694 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
3695 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3698 PyErr_SetString(PyExc_TypeError
,"null reference");
3702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3703 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
3705 wxPyEndAllowThreads(__tstate
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3717 static PyObject
*_wrap_Bitmap_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
*resultobj
;
3719 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3721 PyObject
* obj0
= 0 ;
3723 (char *) "self", NULL
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetQuality",kwnames
,&obj0
)) goto fail
;
3727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3731 result
= (int)(arg1
)->GetQuality();
3733 wxPyEndAllowThreads(__tstate
);
3734 if (PyErr_Occurred()) SWIG_fail
;
3736 resultobj
= SWIG_From_int((int)result
);
3743 static PyObject
*_wrap_Bitmap_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3744 PyObject
*resultobj
;
3745 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3747 PyObject
* obj0
= 0 ;
3748 PyObject
* obj1
= 0 ;
3750 (char *) "self",(char *) "q", NULL
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
3754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3756 arg2
= (int)SWIG_As_int(obj1
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 (arg1
)->SetQuality(arg2
);
3762 wxPyEndAllowThreads(__tstate
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3765 Py_INCREF(Py_None
); resultobj
= Py_None
;
3772 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
*resultobj
;
3774 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3775 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3777 PyObject
* obj0
= 0 ;
3778 PyObject
* obj1
= 0 ;
3780 (char *) "self",(char *) "other", NULL
3783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3786 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3790 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3792 wxPyEndAllowThreads(__tstate
);
3793 if (PyErr_Occurred()) SWIG_fail
;
3796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3804 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3806 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3807 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3809 PyObject
* obj0
= 0 ;
3810 PyObject
* obj1
= 0 ;
3812 (char *) "self",(char *) "other", NULL
3815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) SWIG_fail
;
3828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3836 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
3838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3839 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3841 return Py_BuildValue((char *)"");
3843 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3844 PyObject
*resultobj
;
3845 wxBitmap
*arg1
= 0 ;
3846 wxColour
const &arg2_defvalue
= wxNullColour
;
3847 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3850 PyObject
* obj0
= 0 ;
3851 PyObject
* obj1
= 0 ;
3853 (char *) "bitmap",(char *) "colour", NULL
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3858 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3861 PyErr_SetString(PyExc_TypeError
,"null reference");
3867 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3871 if (!wxPyCheckForApp()) SWIG_fail
;
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3885 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
3887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3888 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3890 return Py_BuildValue((char *)"");
3892 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3893 PyObject
*resultobj
;
3894 wxString
*arg1
= 0 ;
3896 int arg3
= (int) -1 ;
3897 int arg4
= (int) -1 ;
3899 bool temp1
= false ;
3900 PyObject
* obj0
= 0 ;
3901 PyObject
* obj1
= 0 ;
3902 PyObject
* obj2
= 0 ;
3903 PyObject
* obj3
= 0 ;
3905 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3910 arg1
= wxString_in_helper(obj0
);
3911 if (arg1
== NULL
) SWIG_fail
;
3914 arg2
= (int)SWIG_As_int(obj1
);
3915 if (PyErr_Occurred()) SWIG_fail
;
3917 arg3
= (int)SWIG_As_int(obj2
);
3918 if (PyErr_Occurred()) SWIG_fail
;
3921 arg4
= (int)SWIG_As_int(obj3
);
3922 if (PyErr_Occurred()) SWIG_fail
;
3925 if (!wxPyCheckForApp()) SWIG_fail
;
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3927 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3947 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3948 PyObject
*resultobj
;
3949 wxIcon
*arg1
= (wxIcon
*) 0 ;
3950 PyObject
* obj0
= 0 ;
3952 (char *) "self", NULL
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3962 wxPyEndAllowThreads(__tstate
);
3963 if (PyErr_Occurred()) SWIG_fail
;
3965 Py_INCREF(Py_None
); resultobj
= Py_None
;
3972 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3973 PyObject
*resultobj
;
3979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3981 if (!wxPyCheckForApp()) SWIG_fail
;
3982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3983 result
= (wxIcon
*)new wxIcon();
3985 wxPyEndAllowThreads(__tstate
);
3986 if (PyErr_Occurred()) SWIG_fail
;
3988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3995 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
*resultobj
;
3997 wxIconLocation
*arg1
= 0 ;
3999 PyObject
* obj0
= 0 ;
4001 (char *) "loc", NULL
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
4005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4006 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4009 PyErr_SetString(PyExc_TypeError
,"null reference");
4013 if (!wxPyCheckForApp()) SWIG_fail
;
4014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4015 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
4017 wxPyEndAllowThreads(__tstate
);
4018 if (PyErr_Occurred()) SWIG_fail
;
4020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
4027 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4028 PyObject
*resultobj
;
4029 wxBitmap
*arg1
= 0 ;
4031 PyObject
* obj0
= 0 ;
4033 (char *) "bmp", NULL
4036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
4037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4038 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4041 PyErr_SetString(PyExc_TypeError
,"null reference");
4045 if (!wxPyCheckForApp()) SWIG_fail
;
4046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4047 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
4049 wxPyEndAllowThreads(__tstate
);
4050 if (PyErr_Occurred()) SWIG_fail
;
4052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
4059 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4060 PyObject
*resultobj
;
4061 PyObject
*arg1
= (PyObject
*) 0 ;
4063 PyObject
* obj0
= 0 ;
4065 (char *) "listOfStrings", NULL
4068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
4071 if (!wxPyCheckForApp()) SWIG_fail
;
4072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4073 result
= (wxIcon
*)new_wxIcon(arg1
);
4075 wxPyEndAllowThreads(__tstate
);
4076 if (PyErr_Occurred()) SWIG_fail
;
4078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
4085 static PyObject
*_wrap_Icon_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4086 PyObject
*resultobj
;
4087 wxIcon
*arg1
= (wxIcon
*) 0 ;
4088 wxString
*arg2
= 0 ;
4091 bool temp2
= false ;
4092 PyObject
* obj0
= 0 ;
4093 PyObject
* obj1
= 0 ;
4094 PyObject
* obj2
= 0 ;
4096 (char *) "self",(char *) "name",(char *) "type", NULL
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4103 arg2
= wxString_in_helper(obj1
);
4104 if (arg2
== NULL
) SWIG_fail
;
4107 arg3
= (int)SWIG_As_int(obj2
);
4108 if (PyErr_Occurred()) SWIG_fail
;
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) SWIG_fail
;
4117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4133 static PyObject
*_wrap_Icon_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
;
4135 wxIcon
*arg1
= (wxIcon
*) 0 ;
4137 PyObject
* obj0
= 0 ;
4139 (char *) "self", NULL
4142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHandle",kwnames
,&obj0
)) goto fail
;
4143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4147 result
= (long)(arg1
)->GetHandle();
4149 wxPyEndAllowThreads(__tstate
);
4150 if (PyErr_Occurred()) SWIG_fail
;
4152 resultobj
= SWIG_From_long((long)result
);
4159 static PyObject
*_wrap_Icon_SetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
*resultobj
;
4161 wxIcon
*arg1
= (wxIcon
*) 0 ;
4163 PyObject
* obj0
= 0 ;
4164 PyObject
* obj1
= 0 ;
4166 (char *) "self",(char *) "handle", NULL
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
4170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4172 arg2
= (long)SWIG_As_long(obj1
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4176 wxIcon_SetHandle(arg1
,arg2
);
4178 wxPyEndAllowThreads(__tstate
);
4179 if (PyErr_Occurred()) SWIG_fail
;
4181 Py_INCREF(Py_None
); resultobj
= Py_None
;
4188 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
*resultobj
;
4190 wxIcon
*arg1
= (wxIcon
*) 0 ;
4192 PyObject
* obj0
= 0 ;
4194 (char *) "self", NULL
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
4198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4202 result
= (bool)(arg1
)->Ok();
4204 wxPyEndAllowThreads(__tstate
);
4205 if (PyErr_Occurred()) SWIG_fail
;
4208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4216 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
*resultobj
;
4218 wxIcon
*arg1
= (wxIcon
*) 0 ;
4220 PyObject
* obj0
= 0 ;
4222 (char *) "self", NULL
4225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
4226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 result
= (int)(arg1
)->GetWidth();
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4235 resultobj
= SWIG_From_int((int)result
);
4242 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4243 PyObject
*resultobj
;
4244 wxIcon
*arg1
= (wxIcon
*) 0 ;
4246 PyObject
* obj0
= 0 ;
4248 (char *) "self", NULL
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
4252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 result
= (int)(arg1
)->GetHeight();
4258 wxPyEndAllowThreads(__tstate
);
4259 if (PyErr_Occurred()) SWIG_fail
;
4261 resultobj
= SWIG_From_int((int)result
);
4268 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
*resultobj
;
4270 wxIcon
*arg1
= (wxIcon
*) 0 ;
4272 PyObject
* obj0
= 0 ;
4274 (char *) "self", NULL
4277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
4278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4282 result
= (int)(arg1
)->GetDepth();
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 resultobj
= SWIG_From_int((int)result
);
4294 static PyObject
*_wrap_Icon_SetWidth(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 *) "w", NULL
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",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
)->SetWidth(arg2
);
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) SWIG_fail
;
4316 Py_INCREF(Py_None
); resultobj
= Py_None
;
4323 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4324 PyObject
*resultobj
;
4325 wxIcon
*arg1
= (wxIcon
*) 0 ;
4327 PyObject
* obj0
= 0 ;
4328 PyObject
* obj1
= 0 ;
4330 (char *) "self",(char *) "h", NULL
4333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4336 arg2
= (int)SWIG_As_int(obj1
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4340 (arg1
)->SetHeight(arg2
);
4342 wxPyEndAllowThreads(__tstate
);
4343 if (PyErr_Occurred()) SWIG_fail
;
4345 Py_INCREF(Py_None
); resultobj
= Py_None
;
4352 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
*resultobj
;
4354 wxIcon
*arg1
= (wxIcon
*) 0 ;
4356 PyObject
* obj0
= 0 ;
4357 PyObject
* obj1
= 0 ;
4359 (char *) "self",(char *) "d", NULL
4362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4365 arg2
= (int)SWIG_As_int(obj1
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4369 (arg1
)->SetDepth(arg2
);
4371 wxPyEndAllowThreads(__tstate
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4374 Py_INCREF(Py_None
); resultobj
= Py_None
;
4381 static PyObject
*_wrap_Icon_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
*resultobj
;
4383 wxIcon
*arg1
= (wxIcon
*) 0 ;
4386 PyObject
* obj0
= 0 ;
4387 PyObject
* obj1
= 0 ;
4389 (char *) "self",(char *) "size", NULL
4392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4397 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 (arg1
)->SetSize((wxSize
const &)*arg2
);
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4406 Py_INCREF(Py_None
); resultobj
= Py_None
;
4413 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
*resultobj
;
4415 wxIcon
*arg1
= (wxIcon
*) 0 ;
4416 wxBitmap
*arg2
= 0 ;
4417 PyObject
* obj0
= 0 ;
4418 PyObject
* obj1
= 0 ;
4420 (char *) "self",(char *) "bmp", NULL
4423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4427 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4430 PyErr_SetString(PyExc_TypeError
,"null reference");
4434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4435 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
4437 wxPyEndAllowThreads(__tstate
);
4438 if (PyErr_Occurred()) SWIG_fail
;
4440 Py_INCREF(Py_None
); resultobj
= Py_None
;
4447 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
4449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4450 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4452 return Py_BuildValue((char *)"");
4454 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
*resultobj
;
4456 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4457 int arg2
= (int) 0 ;
4458 wxIconLocation
*result
;
4459 bool temp1
= false ;
4460 PyObject
* obj0
= 0 ;
4461 PyObject
* obj1
= 0 ;
4463 (char *) "filename",(char *) "num", NULL
4466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4469 arg1
= wxString_in_helper(obj0
);
4470 if (arg1
== NULL
) SWIG_fail
;
4475 arg2
= (int)SWIG_As_int(obj1
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4480 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4482 wxPyEndAllowThreads(__tstate
);
4483 if (PyErr_Occurred()) SWIG_fail
;
4485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4500 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4501 PyObject
*resultobj
;
4502 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4503 PyObject
* obj0
= 0 ;
4505 (char *) "self", NULL
4508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4515 wxPyEndAllowThreads(__tstate
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4518 Py_INCREF(Py_None
); resultobj
= Py_None
;
4525 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
;
4527 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4529 PyObject
* obj0
= 0 ;
4531 (char *) "self", NULL
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4539 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4541 wxPyEndAllowThreads(__tstate
);
4542 if (PyErr_Occurred()) SWIG_fail
;
4545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4553 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
;
4555 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4556 wxString
*arg2
= 0 ;
4557 bool temp2
= false ;
4558 PyObject
* obj0
= 0 ;
4559 PyObject
* obj1
= 0 ;
4561 (char *) "self",(char *) "filename", NULL
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4568 arg2
= wxString_in_helper(obj1
);
4569 if (arg2
== NULL
) SWIG_fail
;
4573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4574 (arg1
)->SetFileName((wxString
const &)*arg2
);
4576 wxPyEndAllowThreads(__tstate
);
4577 if (PyErr_Occurred()) SWIG_fail
;
4579 Py_INCREF(Py_None
); resultobj
= Py_None
;
4594 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4595 PyObject
*resultobj
;
4596 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4598 PyObject
* obj0
= 0 ;
4600 (char *) "self", NULL
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4609 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4610 result
= (wxString
*) &_result_ref
;
4613 wxPyEndAllowThreads(__tstate
);
4614 if (PyErr_Occurred()) SWIG_fail
;
4618 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4620 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4629 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
*resultobj
;
4631 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4633 PyObject
* obj0
= 0 ;
4634 PyObject
* obj1
= 0 ;
4636 (char *) "self",(char *) "num", NULL
4639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4642 arg2
= (int)SWIG_As_int(obj1
);
4643 if (PyErr_Occurred()) SWIG_fail
;
4645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4646 wxIconLocation_SetIndex(arg1
,arg2
);
4648 wxPyEndAllowThreads(__tstate
);
4649 if (PyErr_Occurred()) SWIG_fail
;
4651 Py_INCREF(Py_None
); resultobj
= Py_None
;
4658 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
*resultobj
;
4660 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4662 PyObject
* obj0
= 0 ;
4664 (char *) "self", NULL
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4672 result
= (int)wxIconLocation_GetIndex(arg1
);
4674 wxPyEndAllowThreads(__tstate
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4677 resultobj
= SWIG_From_int((int)result
);
4684 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
4686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4687 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4689 return Py_BuildValue((char *)"");
4691 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4692 PyObject
*resultobj
;
4693 wxIconBundle
*result
;
4698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 result
= (wxIconBundle
*)new wxIconBundle();
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4713 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4714 PyObject
*resultobj
;
4715 wxString
*arg1
= 0 ;
4717 wxIconBundle
*result
;
4718 bool temp1
= false ;
4719 PyObject
* obj0
= 0 ;
4720 PyObject
* obj1
= 0 ;
4722 (char *) "file",(char *) "type", NULL
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4727 arg1
= wxString_in_helper(obj0
);
4728 if (arg1
== NULL
) SWIG_fail
;
4731 arg2
= (long)SWIG_As_long(obj1
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4735 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4737 wxPyEndAllowThreads(__tstate
);
4738 if (PyErr_Occurred()) SWIG_fail
;
4740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4755 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4756 PyObject
*resultobj
;
4758 wxIconBundle
*result
;
4759 PyObject
* obj0
= 0 ;
4761 (char *) "icon", NULL
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4769 PyErr_SetString(PyExc_TypeError
,"null reference");
4773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4774 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4786 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4787 PyObject
*resultobj
;
4788 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4789 PyObject
* obj0
= 0 ;
4791 (char *) "self", NULL
4794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4804 Py_INCREF(Py_None
); resultobj
= Py_None
;
4811 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
*resultobj
;
4813 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4815 PyObject
* obj0
= 0 ;
4816 PyObject
* obj1
= 0 ;
4818 (char *) "self",(char *) "icon", NULL
4821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4824 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4825 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4828 PyErr_SetString(PyExc_TypeError
,"null reference");
4832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4833 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4835 wxPyEndAllowThreads(__tstate
);
4836 if (PyErr_Occurred()) SWIG_fail
;
4838 Py_INCREF(Py_None
); resultobj
= Py_None
;
4845 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4846 PyObject
*resultobj
;
4847 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4848 wxString
*arg2
= 0 ;
4850 bool temp2
= false ;
4851 PyObject
* obj0
= 0 ;
4852 PyObject
* obj1
= 0 ;
4853 PyObject
* obj2
= 0 ;
4855 (char *) "self",(char *) "file",(char *) "type", NULL
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4862 arg2
= wxString_in_helper(obj1
);
4863 if (arg2
== NULL
) SWIG_fail
;
4866 arg3
= (long)SWIG_As_long(obj2
);
4867 if (PyErr_Occurred()) SWIG_fail
;
4869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4870 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4872 wxPyEndAllowThreads(__tstate
);
4873 if (PyErr_Occurred()) SWIG_fail
;
4875 Py_INCREF(Py_None
); resultobj
= Py_None
;
4890 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4891 PyObject
*resultobj
;
4892 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4896 PyObject
* obj0
= 0 ;
4897 PyObject
* obj1
= 0 ;
4899 (char *) "self",(char *) "size", NULL
4902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4907 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4912 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4913 result
= (wxIcon
*) &_result_ref
;
4916 wxPyEndAllowThreads(__tstate
);
4917 if (PyErr_Occurred()) SWIG_fail
;
4920 wxIcon
* resultptr
= new wxIcon(*result
);
4921 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4929 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
4931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4932 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4934 return Py_BuildValue((char *)"");
4936 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4937 PyObject
*resultobj
;
4938 wxString
*arg1
= (wxString
*) 0 ;
4940 int arg3
= (int) 0 ;
4941 int arg4
= (int) 0 ;
4943 bool temp1
= false ;
4944 PyObject
* obj0
= 0 ;
4945 PyObject
* obj1
= 0 ;
4946 PyObject
* obj2
= 0 ;
4947 PyObject
* obj3
= 0 ;
4949 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4954 arg1
= wxString_in_helper(obj0
);
4955 if (arg1
== NULL
) SWIG_fail
;
4958 arg2
= (long)SWIG_As_long(obj1
);
4959 if (PyErr_Occurred()) SWIG_fail
;
4961 arg3
= (int)SWIG_As_int(obj2
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4965 arg4
= (int)SWIG_As_int(obj3
);
4966 if (PyErr_Occurred()) SWIG_fail
;
4969 if (!wxPyCheckForApp()) SWIG_fail
;
4970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4971 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4973 wxPyEndAllowThreads(__tstate
);
4974 if (PyErr_Occurred()) SWIG_fail
;
4976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4991 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
*resultobj
;
4993 wxCursor
*arg1
= (wxCursor
*) 0 ;
4994 PyObject
* obj0
= 0 ;
4996 (char *) "self", NULL
4999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
5000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5009 Py_INCREF(Py_None
); resultobj
= Py_None
;
5016 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5017 PyObject
*resultobj
;
5020 PyObject
* obj0
= 0 ;
5025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
5026 arg1
= (int)SWIG_As_int(obj0
);
5027 if (PyErr_Occurred()) SWIG_fail
;
5029 if (!wxPyCheckForApp()) SWIG_fail
;
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 result
= (wxCursor
*)new wxCursor(arg1
);
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
5043 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5044 PyObject
*resultobj
;
5047 PyObject
* obj0
= 0 ;
5049 (char *) "image", NULL
5052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
5053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
5054 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5057 PyErr_SetString(PyExc_TypeError
,"null reference");
5061 if (!wxPyCheckForApp()) SWIG_fail
;
5062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5063 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
5075 static PyObject
*_wrap_Cursor_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5076 PyObject
*resultobj
;
5077 wxCursor
*arg1
= (wxCursor
*) 0 ;
5079 PyObject
* obj0
= 0 ;
5081 (char *) "self", NULL
5084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHandle",kwnames
,&obj0
)) goto fail
;
5085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 result
= (long)(arg1
)->GetHandle();
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5094 resultobj
= SWIG_From_long((long)result
);
5101 static PyObject
*_wrap_Cursor_SetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
*resultobj
;
5103 wxCursor
*arg1
= (wxCursor
*) 0 ;
5105 PyObject
* obj0
= 0 ;
5106 PyObject
* obj1
= 0 ;
5108 (char *) "self",(char *) "handle", NULL
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
5112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5114 arg2
= (long)SWIG_As_long(obj1
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5118 wxCursor_SetHandle(arg1
,arg2
);
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5123 Py_INCREF(Py_None
); resultobj
= Py_None
;
5130 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
*resultobj
;
5132 wxCursor
*arg1
= (wxCursor
*) 0 ;
5134 PyObject
* obj0
= 0 ;
5136 (char *) "self", NULL
5139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
5140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5144 result
= (bool)(arg1
)->Ok();
5146 wxPyEndAllowThreads(__tstate
);
5147 if (PyErr_Occurred()) SWIG_fail
;
5150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5158 static PyObject
*_wrap_Cursor_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
*resultobj
;
5160 wxCursor
*arg1
= (wxCursor
*) 0 ;
5162 PyObject
* obj0
= 0 ;
5164 (char *) "self", NULL
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetWidth",kwnames
,&obj0
)) goto fail
;
5168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5172 result
= (int)(arg1
)->GetWidth();
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5177 resultobj
= SWIG_From_int((int)result
);
5184 static PyObject
*_wrap_Cursor_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5185 PyObject
*resultobj
;
5186 wxCursor
*arg1
= (wxCursor
*) 0 ;
5188 PyObject
* obj0
= 0 ;
5190 (char *) "self", NULL
5193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHeight",kwnames
,&obj0
)) goto fail
;
5194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5198 result
= (int)(arg1
)->GetHeight();
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5203 resultobj
= SWIG_From_int((int)result
);
5210 static PyObject
*_wrap_Cursor_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5211 PyObject
*resultobj
;
5212 wxCursor
*arg1
= (wxCursor
*) 0 ;
5214 PyObject
* obj0
= 0 ;
5216 (char *) "self", NULL
5219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetDepth",kwnames
,&obj0
)) goto fail
;
5220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 result
= (int)(arg1
)->GetDepth();
5226 wxPyEndAllowThreads(__tstate
);
5227 if (PyErr_Occurred()) SWIG_fail
;
5229 resultobj
= SWIG_From_int((int)result
);
5236 static PyObject
*_wrap_Cursor_SetWidth(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 *) "w", NULL
5246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",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
)->SetWidth(arg2
);
5255 wxPyEndAllowThreads(__tstate
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5258 Py_INCREF(Py_None
); resultobj
= Py_None
;
5265 static PyObject
*_wrap_Cursor_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
*resultobj
;
5267 wxCursor
*arg1
= (wxCursor
*) 0 ;
5269 PyObject
* obj0
= 0 ;
5270 PyObject
* obj1
= 0 ;
5272 (char *) "self",(char *) "h", NULL
5275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5278 arg2
= (int)SWIG_As_int(obj1
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5282 (arg1
)->SetHeight(arg2
);
5284 wxPyEndAllowThreads(__tstate
);
5285 if (PyErr_Occurred()) SWIG_fail
;
5287 Py_INCREF(Py_None
); resultobj
= Py_None
;
5294 static PyObject
*_wrap_Cursor_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5295 PyObject
*resultobj
;
5296 wxCursor
*arg1
= (wxCursor
*) 0 ;
5298 PyObject
* obj0
= 0 ;
5299 PyObject
* obj1
= 0 ;
5301 (char *) "self",(char *) "d", NULL
5304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5307 arg2
= (int)SWIG_As_int(obj1
);
5308 if (PyErr_Occurred()) SWIG_fail
;
5310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5311 (arg1
)->SetDepth(arg2
);
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) SWIG_fail
;
5316 Py_INCREF(Py_None
); resultobj
= Py_None
;
5323 static PyObject
*_wrap_Cursor_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5324 PyObject
*resultobj
;
5325 wxCursor
*arg1
= (wxCursor
*) 0 ;
5328 PyObject
* obj0
= 0 ;
5329 PyObject
* obj1
= 0 ;
5331 (char *) "self",(char *) "size", NULL
5334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5339 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5343 (arg1
)->SetSize((wxSize
const &)*arg2
);
5345 wxPyEndAllowThreads(__tstate
);
5346 if (PyErr_Occurred()) SWIG_fail
;
5348 Py_INCREF(Py_None
); resultobj
= Py_None
;
5355 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
5357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5358 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
5360 return Py_BuildValue((char *)"");
5362 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
*resultobj
;
5364 int arg1
= (int) 0 ;
5365 int arg2
= (int) 0 ;
5366 int arg3
= (int) 0 ;
5367 int arg4
= (int) 0 ;
5369 PyObject
* obj0
= 0 ;
5370 PyObject
* obj1
= 0 ;
5371 PyObject
* obj2
= 0 ;
5372 PyObject
* obj3
= 0 ;
5374 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5379 arg1
= (int)SWIG_As_int(obj0
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5383 arg2
= (int)SWIG_As_int(obj1
);
5384 if (PyErr_Occurred()) SWIG_fail
;
5387 arg3
= (int)SWIG_As_int(obj2
);
5388 if (PyErr_Occurred()) SWIG_fail
;
5391 arg4
= (int)SWIG_As_int(obj3
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5395 if (!wxPyCheckForApp()) SWIG_fail
;
5396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5397 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5409 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
*resultobj
;
5411 wxBitmap
*arg1
= 0 ;
5413 PyObject
* obj0
= 0 ;
5415 (char *) "bmp", NULL
5418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
5419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5420 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5423 PyErr_SetString(PyExc_TypeError
,"null reference");
5427 if (!wxPyCheckForApp()) SWIG_fail
;
5428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5429 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
5431 wxPyEndAllowThreads(__tstate
);
5432 if (PyErr_Occurred()) SWIG_fail
;
5434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5441 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5442 PyObject
*resultobj
;
5443 wxBitmap
*arg1
= 0 ;
5444 wxColour
*arg2
= 0 ;
5445 int arg3
= (int) 0 ;
5448 PyObject
* obj0
= 0 ;
5449 PyObject
* obj1
= 0 ;
5450 PyObject
* obj2
= 0 ;
5452 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5457 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5460 PyErr_SetString(PyExc_TypeError
,"null reference");
5465 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5468 arg3
= (int)SWIG_As_int(obj2
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5472 if (!wxPyCheckForApp()) SWIG_fail
;
5473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5474 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
5476 wxPyEndAllowThreads(__tstate
);
5477 if (PyErr_Occurred()) SWIG_fail
;
5479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5486 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5487 PyObject
*resultobj
;
5489 wxPoint
*arg2
= (wxPoint
*) 0 ;
5490 int arg3
= (int) wxWINDING_RULE
;
5492 PyObject
* obj0
= 0 ;
5493 PyObject
* obj1
= 0 ;
5495 (char *) "points",(char *) "fillStyle", NULL
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
5500 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
5501 if (arg2
== NULL
) SWIG_fail
;
5504 arg3
= (int)SWIG_As_int(obj1
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5508 if (!wxPyCheckForApp()) SWIG_fail
;
5509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5510 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
5512 wxPyEndAllowThreads(__tstate
);
5513 if (PyErr_Occurred()) SWIG_fail
;
5515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5517 if (arg2
) delete [] arg2
;
5522 if (arg2
) delete [] arg2
;
5528 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
*resultobj
;
5530 wxRegion
*arg1
= (wxRegion
*) 0 ;
5531 PyObject
* obj0
= 0 ;
5533 (char *) "self", NULL
5536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
5537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 wxPyEndAllowThreads(__tstate
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5546 Py_INCREF(Py_None
); resultobj
= Py_None
;
5553 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
*resultobj
;
5555 wxRegion
*arg1
= (wxRegion
*) 0 ;
5556 PyObject
* obj0
= 0 ;
5558 (char *) "self", NULL
5561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
5562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 wxPyEndAllowThreads(__tstate
);
5569 if (PyErr_Occurred()) SWIG_fail
;
5571 Py_INCREF(Py_None
); resultobj
= Py_None
;
5578 static PyObject
*_wrap_Region_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
*resultobj
;
5580 wxRegion
*arg1
= (wxRegion
*) 0 ;
5584 PyObject
* obj0
= 0 ;
5585 PyObject
* obj1
= 0 ;
5586 PyObject
* obj2
= 0 ;
5588 (char *) "self",(char *) "x",(char *) "y", NULL
5591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5594 arg2
= (int)SWIG_As_int(obj1
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5596 arg3
= (int)SWIG_As_int(obj2
);
5597 if (PyErr_Occurred()) SWIG_fail
;
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
5602 wxPyEndAllowThreads(__tstate
);
5603 if (PyErr_Occurred()) SWIG_fail
;
5606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5614 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5615 PyObject
*resultobj
;
5616 wxRegion
*arg1
= (wxRegion
*) 0 ;
5620 PyObject
* obj0
= 0 ;
5621 PyObject
* obj1
= 0 ;
5622 PyObject
* obj2
= 0 ;
5624 (char *) "self",(char *) "x",(char *) "y", NULL
5627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5630 arg2
= (int)SWIG_As_int(obj1
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5632 arg3
= (int)SWIG_As_int(obj2
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 result
= (int)(arg1
)->Contains(arg2
,arg3
);
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5641 resultobj
= SWIG_From_int((int)result
);
5648 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5649 PyObject
*resultobj
;
5650 wxRegion
*arg1
= (wxRegion
*) 0 ;
5654 PyObject
* obj0
= 0 ;
5655 PyObject
* obj1
= 0 ;
5657 (char *) "self",(char *) "pt", NULL
5660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
5661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5665 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5669 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
5671 wxPyEndAllowThreads(__tstate
);
5672 if (PyErr_Occurred()) SWIG_fail
;
5674 resultobj
= SWIG_From_int((int)result
);
5681 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
*resultobj
;
5683 wxRegion
*arg1
= (wxRegion
*) 0 ;
5687 PyObject
* obj0
= 0 ;
5688 PyObject
* obj1
= 0 ;
5690 (char *) "self",(char *) "rect", NULL
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5698 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5707 resultobj
= SWIG_From_int((int)result
);
5714 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5715 PyObject
*resultobj
;
5716 wxRegion
*arg1
= (wxRegion
*) 0 ;
5722 PyObject
* obj0
= 0 ;
5723 PyObject
* obj1
= 0 ;
5724 PyObject
* obj2
= 0 ;
5725 PyObject
* obj3
= 0 ;
5726 PyObject
* obj4
= 0 ;
5728 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5734 arg2
= (int)SWIG_As_int(obj1
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5736 arg3
= (int)SWIG_As_int(obj2
);
5737 if (PyErr_Occurred()) SWIG_fail
;
5738 arg4
= (int)SWIG_As_int(obj3
);
5739 if (PyErr_Occurred()) SWIG_fail
;
5740 arg5
= (int)SWIG_As_int(obj4
);
5741 if (PyErr_Occurred()) SWIG_fail
;
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5746 wxPyEndAllowThreads(__tstate
);
5747 if (PyErr_Occurred()) SWIG_fail
;
5749 resultobj
= SWIG_From_int((int)result
);
5756 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5757 PyObject
*resultobj
;
5758 wxRegion
*arg1
= (wxRegion
*) 0 ;
5760 PyObject
* obj0
= 0 ;
5762 (char *) "self", NULL
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 result
= (arg1
)->GetBox();
5772 wxPyEndAllowThreads(__tstate
);
5773 if (PyErr_Occurred()) SWIG_fail
;
5777 resultptr
= new wxRect((wxRect
&) result
);
5778 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5786 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5787 PyObject
*resultobj
;
5788 wxRegion
*arg1
= (wxRegion
*) 0 ;
5794 PyObject
* obj0
= 0 ;
5795 PyObject
* obj1
= 0 ;
5796 PyObject
* obj2
= 0 ;
5797 PyObject
* obj3
= 0 ;
5798 PyObject
* obj4
= 0 ;
5800 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5806 arg2
= (int)SWIG_As_int(obj1
);
5807 if (PyErr_Occurred()) SWIG_fail
;
5808 arg3
= (int)SWIG_As_int(obj2
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5810 arg4
= (int)SWIG_As_int(obj3
);
5811 if (PyErr_Occurred()) SWIG_fail
;
5812 arg5
= (int)SWIG_As_int(obj4
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5816 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5830 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
*resultobj
;
5832 wxRegion
*arg1
= (wxRegion
*) 0 ;
5836 PyObject
* obj0
= 0 ;
5837 PyObject
* obj1
= 0 ;
5839 (char *) "self",(char *) "rect", NULL
5842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5847 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5853 wxPyEndAllowThreads(__tstate
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5865 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
*resultobj
;
5867 wxRegion
*arg1
= (wxRegion
*) 0 ;
5868 wxRegion
*arg2
= 0 ;
5870 PyObject
* obj0
= 0 ;
5871 PyObject
* obj1
= 0 ;
5873 (char *) "self",(char *) "region", NULL
5876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5879 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5880 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5883 PyErr_SetString(PyExc_TypeError
,"null reference");
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5902 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5903 PyObject
*resultobj
;
5904 wxRegion
*arg1
= (wxRegion
*) 0 ;
5906 PyObject
* obj0
= 0 ;
5908 (char *) "self", NULL
5911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 result
= (bool)(arg1
)->IsEmpty();
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5930 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5931 PyObject
*resultobj
;
5932 wxRegion
*arg1
= (wxRegion
*) 0 ;
5938 PyObject
* obj0
= 0 ;
5939 PyObject
* obj1
= 0 ;
5940 PyObject
* obj2
= 0 ;
5941 PyObject
* obj3
= 0 ;
5942 PyObject
* obj4
= 0 ;
5944 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5950 arg2
= (int)SWIG_As_int(obj1
);
5951 if (PyErr_Occurred()) SWIG_fail
;
5952 arg3
= (int)SWIG_As_int(obj2
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5954 arg4
= (int)SWIG_As_int(obj3
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5956 arg5
= (int)SWIG_As_int(obj4
);
5957 if (PyErr_Occurred()) SWIG_fail
;
5959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5960 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5962 wxPyEndAllowThreads(__tstate
);
5963 if (PyErr_Occurred()) SWIG_fail
;
5966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5974 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5975 PyObject
*resultobj
;
5976 wxRegion
*arg1
= (wxRegion
*) 0 ;
5980 PyObject
* obj0
= 0 ;
5981 PyObject
* obj1
= 0 ;
5983 (char *) "self",(char *) "rect", NULL
5986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5991 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6009 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
*resultobj
;
6011 wxRegion
*arg1
= (wxRegion
*) 0 ;
6012 wxRegion
*arg2
= 0 ;
6014 PyObject
* obj0
= 0 ;
6015 PyObject
* obj1
= 0 ;
6017 (char *) "self",(char *) "region", NULL
6020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
6024 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6027 PyErr_SetString(PyExc_TypeError
,"null reference");
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6032 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
6034 wxPyEndAllowThreads(__tstate
);
6035 if (PyErr_Occurred()) SWIG_fail
;
6038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6046 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6047 PyObject
*resultobj
;
6048 wxRegion
*arg1
= (wxRegion
*) 0 ;
6054 PyObject
* obj0
= 0 ;
6055 PyObject
* obj1
= 0 ;
6056 PyObject
* obj2
= 0 ;
6057 PyObject
* obj3
= 0 ;
6058 PyObject
* obj4
= 0 ;
6060 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6066 arg2
= (int)SWIG_As_int(obj1
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6068 arg3
= (int)SWIG_As_int(obj2
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6070 arg4
= (int)SWIG_As_int(obj3
);
6071 if (PyErr_Occurred()) SWIG_fail
;
6072 arg5
= (int)SWIG_As_int(obj4
);
6073 if (PyErr_Occurred()) SWIG_fail
;
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
6078 wxPyEndAllowThreads(__tstate
);
6079 if (PyErr_Occurred()) SWIG_fail
;
6082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6090 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
*resultobj
;
6092 wxRegion
*arg1
= (wxRegion
*) 0 ;
6096 PyObject
* obj0
= 0 ;
6097 PyObject
* obj1
= 0 ;
6099 (char *) "self",(char *) "rect", NULL
6102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6107 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6111 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
6113 wxPyEndAllowThreads(__tstate
);
6114 if (PyErr_Occurred()) SWIG_fail
;
6117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6125 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6126 PyObject
*resultobj
;
6127 wxRegion
*arg1
= (wxRegion
*) 0 ;
6128 wxRegion
*arg2
= 0 ;
6130 PyObject
* obj0
= 0 ;
6131 PyObject
* obj1
= 0 ;
6133 (char *) "self",(char *) "region", NULL
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6139 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
6140 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6143 PyErr_SetString(PyExc_TypeError
,"null reference");
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
6150 wxPyEndAllowThreads(__tstate
);
6151 if (PyErr_Occurred()) SWIG_fail
;
6154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6162 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6163 PyObject
*resultobj
;
6164 wxRegion
*arg1
= (wxRegion
*) 0 ;
6170 PyObject
* obj0
= 0 ;
6171 PyObject
* obj1
= 0 ;
6172 PyObject
* obj2
= 0 ;
6173 PyObject
* obj3
= 0 ;
6174 PyObject
* obj4
= 0 ;
6176 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6182 arg2
= (int)SWIG_As_int(obj1
);
6183 if (PyErr_Occurred()) SWIG_fail
;
6184 arg3
= (int)SWIG_As_int(obj2
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6186 arg4
= (int)SWIG_As_int(obj3
);
6187 if (PyErr_Occurred()) SWIG_fail
;
6188 arg5
= (int)SWIG_As_int(obj4
);
6189 if (PyErr_Occurred()) SWIG_fail
;
6191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6192 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
6194 wxPyEndAllowThreads(__tstate
);
6195 if (PyErr_Occurred()) SWIG_fail
;
6198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6206 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6207 PyObject
*resultobj
;
6208 wxRegion
*arg1
= (wxRegion
*) 0 ;
6212 PyObject
* obj0
= 0 ;
6213 PyObject
* obj1
= 0 ;
6215 (char *) "self",(char *) "rect", NULL
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6223 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6227 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
6229 wxPyEndAllowThreads(__tstate
);
6230 if (PyErr_Occurred()) SWIG_fail
;
6233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6241 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6242 PyObject
*resultobj
;
6243 wxRegion
*arg1
= (wxRegion
*) 0 ;
6244 wxRegion
*arg2
= 0 ;
6246 PyObject
* obj0
= 0 ;
6247 PyObject
* obj1
= 0 ;
6249 (char *) "self",(char *) "region", NULL
6252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6255 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
6256 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6259 PyErr_SetString(PyExc_TypeError
,"null reference");
6263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6264 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
6266 wxPyEndAllowThreads(__tstate
);
6267 if (PyErr_Occurred()) SWIG_fail
;
6270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6278 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6279 PyObject
*resultobj
;
6280 wxRegion
*arg1
= (wxRegion
*) 0 ;
6281 SwigValueWrapper
< wxBitmap
> result
;
6282 PyObject
* obj0
= 0 ;
6284 (char *) "self", NULL
6287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
6288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 result
= (arg1
)->ConvertToBitmap();
6294 wxPyEndAllowThreads(__tstate
);
6295 if (PyErr_Occurred()) SWIG_fail
;
6298 wxBitmap
* resultptr
;
6299 resultptr
= new wxBitmap((wxBitmap
&) result
);
6300 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6308 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
*resultobj
;
6310 wxRegion
*arg1
= (wxRegion
*) 0 ;
6311 wxBitmap
*arg2
= 0 ;
6313 PyObject
* obj0
= 0 ;
6314 PyObject
* obj1
= 0 ;
6316 (char *) "self",(char *) "bmp", NULL
6319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
6323 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6326 PyErr_SetString(PyExc_TypeError
,"null reference");
6330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6331 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
6333 wxPyEndAllowThreads(__tstate
);
6334 if (PyErr_Occurred()) SWIG_fail
;
6337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6345 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6346 PyObject
*resultobj
;
6347 wxRegion
*arg1
= (wxRegion
*) 0 ;
6348 wxBitmap
*arg2
= 0 ;
6349 wxColour
*arg3
= 0 ;
6350 int arg4
= (int) 0 ;
6353 PyObject
* obj0
= 0 ;
6354 PyObject
* obj1
= 0 ;
6355 PyObject
* obj2
= 0 ;
6356 PyObject
* obj3
= 0 ;
6358 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
6361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
6365 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6368 PyErr_SetString(PyExc_TypeError
,"null reference");
6373 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6376 arg4
= (int)SWIG_As_int(obj3
);
6377 if (PyErr_Occurred()) SWIG_fail
;
6380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6381 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
6383 wxPyEndAllowThreads(__tstate
);
6384 if (PyErr_Occurred()) SWIG_fail
;
6387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6395 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
6397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6398 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
6400 return Py_BuildValue((char *)"");
6402 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6403 PyObject
*resultobj
;
6404 wxRegion
*arg1
= 0 ;
6405 wxRegionIterator
*result
;
6406 PyObject
* obj0
= 0 ;
6408 (char *) "region", NULL
6411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
6412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6413 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6416 PyErr_SetString(PyExc_TypeError
,"null reference");
6420 if (!wxPyCheckForApp()) SWIG_fail
;
6421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6422 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
6424 wxPyEndAllowThreads(__tstate
);
6425 if (PyErr_Occurred()) SWIG_fail
;
6427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
6434 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6435 PyObject
*resultobj
;
6436 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6437 PyObject
* obj0
= 0 ;
6439 (char *) "self", NULL
6442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
6443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6449 wxPyEndAllowThreads(__tstate
);
6450 if (PyErr_Occurred()) SWIG_fail
;
6452 Py_INCREF(Py_None
); resultobj
= Py_None
;
6459 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
*resultobj
;
6461 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6463 PyObject
* obj0
= 0 ;
6465 (char *) "self", NULL
6468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
6469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6473 result
= (int)(arg1
)->GetX();
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6478 resultobj
= SWIG_From_int((int)result
);
6485 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6486 PyObject
*resultobj
;
6487 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6489 PyObject
* obj0
= 0 ;
6491 (char *) "self", NULL
6494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
6495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6499 result
= (int)(arg1
)->GetY();
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= SWIG_From_int((int)result
);
6511 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6512 PyObject
*resultobj
;
6513 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6515 PyObject
* obj0
= 0 ;
6517 (char *) "self", NULL
6520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
6521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 result
= (int)(arg1
)->GetW();
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6530 resultobj
= SWIG_From_int((int)result
);
6537 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6538 PyObject
*resultobj
;
6539 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6541 PyObject
* obj0
= 0 ;
6543 (char *) "self", NULL
6546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
6547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 result
= (int)(arg1
)->GetWidth();
6553 wxPyEndAllowThreads(__tstate
);
6554 if (PyErr_Occurred()) SWIG_fail
;
6556 resultobj
= SWIG_From_int((int)result
);
6563 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
*resultobj
;
6565 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6567 PyObject
* obj0
= 0 ;
6569 (char *) "self", NULL
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
6573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6577 result
= (int)(arg1
)->GetH();
6579 wxPyEndAllowThreads(__tstate
);
6580 if (PyErr_Occurred()) SWIG_fail
;
6582 resultobj
= SWIG_From_int((int)result
);
6589 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6590 PyObject
*resultobj
;
6591 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6593 PyObject
* obj0
= 0 ;
6595 (char *) "self", NULL
6598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
6599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6603 result
= (int)(arg1
)->GetHeight();
6605 wxPyEndAllowThreads(__tstate
);
6606 if (PyErr_Occurred()) SWIG_fail
;
6608 resultobj
= SWIG_From_int((int)result
);
6615 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6616 PyObject
*resultobj
;
6617 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6619 PyObject
* obj0
= 0 ;
6621 (char *) "self", NULL
6624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
6625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6629 result
= (arg1
)->GetRect();
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6636 resultptr
= new wxRect((wxRect
&) result
);
6637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6645 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
*resultobj
;
6647 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6649 PyObject
* obj0
= 0 ;
6651 (char *) "self", NULL
6654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
6655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 result
= (bool)(arg1
)->HaveRects();
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6673 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6674 PyObject
*resultobj
;
6675 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6676 PyObject
* obj0
= 0 ;
6678 (char *) "self", NULL
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
6682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 wxPyEndAllowThreads(__tstate
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6691 Py_INCREF(Py_None
); resultobj
= Py_None
;
6698 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6699 PyObject
*resultobj
;
6700 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6701 PyObject
* obj0
= 0 ;
6703 (char *) "self", NULL
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
6707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6711 wxRegionIterator_Next(arg1
);
6713 wxPyEndAllowThreads(__tstate
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6716 Py_INCREF(Py_None
); resultobj
= Py_None
;
6723 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6724 PyObject
*resultobj
;
6725 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6727 PyObject
* obj0
= 0 ;
6729 (char *) "self", NULL
6732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
6733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6737 result
= (bool)wxRegionIterator___nonzero__(arg1
);
6739 wxPyEndAllowThreads(__tstate
);
6740 if (PyErr_Occurred()) SWIG_fail
;
6743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6751 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
6753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6754 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6756 return Py_BuildValue((char *)"");
6758 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6759 PyObject
*resultobj
;
6760 wxNativeFontInfo
*result
;
6765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6768 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6770 wxPyEndAllowThreads(__tstate
);
6771 if (PyErr_Occurred()) SWIG_fail
;
6773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6780 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6781 PyObject
*resultobj
;
6782 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6783 PyObject
* obj0
= 0 ;
6785 (char *) "self", NULL
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6798 Py_INCREF(Py_None
); resultobj
= Py_None
;
6805 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
*resultobj
;
6807 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6808 PyObject
* obj0
= 0 ;
6810 (char *) "self", NULL
6813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6823 Py_INCREF(Py_None
); resultobj
= Py_None
;
6830 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
*resultobj
;
6832 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6834 PyObject
* obj0
= 0 ;
6835 PyObject
* obj1
= 0 ;
6837 (char *) "self",(char *) "font", NULL
6840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6847 PyErr_SetString(PyExc_TypeError
,"null reference");
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) SWIG_fail
;
6857 Py_INCREF(Py_None
); resultobj
= Py_None
;
6864 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6865 PyObject
*resultobj
;
6866 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6868 PyObject
* obj0
= 0 ;
6870 (char *) "self", NULL
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6878 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6880 wxPyEndAllowThreads(__tstate
);
6881 if (PyErr_Occurred()) SWIG_fail
;
6883 resultobj
= SWIG_From_int((int)result
);
6890 static PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
*resultobj
;
6892 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6894 PyObject
* obj0
= 0 ;
6896 (char *) "self", NULL
6899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPixelSize",kwnames
,&obj0
)) goto fail
;
6900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6904 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
6906 wxPyEndAllowThreads(__tstate
);
6907 if (PyErr_Occurred()) SWIG_fail
;
6911 resultptr
= new wxSize((wxSize
&) result
);
6912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
6920 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6921 PyObject
*resultobj
;
6922 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6924 PyObject
* obj0
= 0 ;
6926 (char *) "self", NULL
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6934 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6936 wxPyEndAllowThreads(__tstate
);
6937 if (PyErr_Occurred()) SWIG_fail
;
6939 resultobj
= SWIG_From_int((int)result
);
6946 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6947 PyObject
*resultobj
;
6948 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6950 PyObject
* obj0
= 0 ;
6952 (char *) "self", NULL
6955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6960 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6962 wxPyEndAllowThreads(__tstate
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6965 resultobj
= SWIG_From_int((int)result
);
6972 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
*resultobj
;
6974 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6976 PyObject
* obj0
= 0 ;
6978 (char *) "self", NULL
6981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6986 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6988 wxPyEndAllowThreads(__tstate
);
6989 if (PyErr_Occurred()) SWIG_fail
;
6992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7000 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
*resultobj
;
7002 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7004 PyObject
* obj0
= 0 ;
7006 (char *) "self", NULL
7009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
7010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7014 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
7016 wxPyEndAllowThreads(__tstate
);
7017 if (PyErr_Occurred()) SWIG_fail
;
7021 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7023 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7032 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7033 PyObject
*resultobj
;
7034 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7036 PyObject
* obj0
= 0 ;
7038 (char *) "self", NULL
7041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
7042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
7048 wxPyEndAllowThreads(__tstate
);
7049 if (PyErr_Occurred()) SWIG_fail
;
7051 resultobj
= SWIG_From_int((int)result
);
7058 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
*resultobj
;
7060 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7062 PyObject
* obj0
= 0 ;
7064 (char *) "self", NULL
7067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
7068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7072 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
7074 wxPyEndAllowThreads(__tstate
);
7075 if (PyErr_Occurred()) SWIG_fail
;
7077 resultobj
= SWIG_From_int((int)result
);
7084 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
*resultobj
;
7086 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7088 PyObject
* obj0
= 0 ;
7089 PyObject
* obj1
= 0 ;
7091 (char *) "self",(char *) "pointsize", NULL
7094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7097 arg2
= (int)SWIG_As_int(obj1
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7101 (arg1
)->SetPointSize(arg2
);
7103 wxPyEndAllowThreads(__tstate
);
7104 if (PyErr_Occurred()) SWIG_fail
;
7106 Py_INCREF(Py_None
); resultobj
= Py_None
;
7113 static PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7114 PyObject
*resultobj
;
7115 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7118 PyObject
* obj0
= 0 ;
7119 PyObject
* obj1
= 0 ;
7121 (char *) "self",(char *) "pixelSize", NULL
7124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7129 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7133 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
7135 wxPyEndAllowThreads(__tstate
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7138 Py_INCREF(Py_None
); resultobj
= Py_None
;
7145 static PyObject
*_wrap_NativeFontInfo_SetStyle(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 *) "style", NULL
7155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",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
)->SetStyle((wxFontStyle
)arg2
);
7164 wxPyEndAllowThreads(__tstate
);
7165 if (PyErr_Occurred()) SWIG_fail
;
7167 Py_INCREF(Py_None
); resultobj
= Py_None
;
7174 static PyObject
*_wrap_NativeFontInfo_SetWeight(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 *) "weight", NULL
7184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",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
)->SetWeight((wxFontWeight
)arg2
);
7193 wxPyEndAllowThreads(__tstate
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7196 Py_INCREF(Py_None
); resultobj
= Py_None
;
7203 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
*resultobj
;
7205 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7207 PyObject
* obj0
= 0 ;
7208 PyObject
* obj1
= 0 ;
7210 (char *) "self",(char *) "underlined", NULL
7213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
7214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7216 arg2
= (bool)SWIG_As_bool(obj1
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7220 (arg1
)->SetUnderlined(arg2
);
7222 wxPyEndAllowThreads(__tstate
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7225 Py_INCREF(Py_None
); resultobj
= Py_None
;
7232 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
*resultobj
;
7234 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7236 PyObject
* obj0
= 0 ;
7237 PyObject
* obj1
= 0 ;
7239 (char *) "self",(char *) "facename", NULL
7242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
7243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7246 wxString
* sptr
= wxString_in_helper(obj1
);
7247 if (sptr
== NULL
) SWIG_fail
;
7252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7253 (arg1
)->SetFaceName(arg2
);
7255 wxPyEndAllowThreads(__tstate
);
7256 if (PyErr_Occurred()) SWIG_fail
;
7258 Py_INCREF(Py_None
); resultobj
= Py_None
;
7265 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
*resultobj
;
7267 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7269 PyObject
* obj0
= 0 ;
7270 PyObject
* obj1
= 0 ;
7272 (char *) "self",(char *) "family", NULL
7275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
7276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7278 arg2
= (int)SWIG_As_int(obj1
);
7279 if (PyErr_Occurred()) SWIG_fail
;
7281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7282 (arg1
)->SetFamily((wxFontFamily
)arg2
);
7284 wxPyEndAllowThreads(__tstate
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7287 Py_INCREF(Py_None
); resultobj
= Py_None
;
7294 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7295 PyObject
*resultobj
;
7296 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7298 PyObject
* obj0
= 0 ;
7299 PyObject
* obj1
= 0 ;
7301 (char *) "self",(char *) "encoding", NULL
7304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
7305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7307 arg2
= (int)SWIG_As_int(obj1
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
7313 wxPyEndAllowThreads(__tstate
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7316 Py_INCREF(Py_None
); resultobj
= Py_None
;
7323 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7324 PyObject
*resultobj
;
7325 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7326 wxString
*arg2
= 0 ;
7328 bool temp2
= false ;
7329 PyObject
* obj0
= 0 ;
7330 PyObject
* obj1
= 0 ;
7332 (char *) "self",(char *) "s", NULL
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7339 arg2
= wxString_in_helper(obj1
);
7340 if (arg2
== NULL
) SWIG_fail
;
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7345 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7367 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7368 PyObject
*resultobj
;
7369 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7371 PyObject
* obj0
= 0 ;
7373 (char *) "self", NULL
7376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
7377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7381 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
7383 wxPyEndAllowThreads(__tstate
);
7384 if (PyErr_Occurred()) SWIG_fail
;
7388 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7390 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7399 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
;
7401 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7403 PyObject
* obj0
= 0 ;
7405 (char *) "self", NULL
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
7409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 result
= wxNativeFontInfo___str__(arg1
);
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7420 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7422 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7431 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
;
7433 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7434 wxString
*arg2
= 0 ;
7436 bool temp2
= false ;
7437 PyObject
* obj0
= 0 ;
7438 PyObject
* obj1
= 0 ;
7440 (char *) "self",(char *) "s", NULL
7443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
7444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7447 arg2
= wxString_in_helper(obj1
);
7448 if (arg2
== NULL
) SWIG_fail
;
7452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7453 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
7455 wxPyEndAllowThreads(__tstate
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7475 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
*resultobj
;
7477 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7479 PyObject
* obj0
= 0 ;
7481 (char *) "self", NULL
7484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
7485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7489 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
7491 wxPyEndAllowThreads(__tstate
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7496 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7498 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7507 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
7509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7510 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
7512 return Py_BuildValue((char *)"");
7514 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
*resultobj
;
7516 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7517 wxString
*arg2
= (wxString
*) 0 ;
7518 bool temp2
= false ;
7519 PyObject
* obj0
= 0 ;
7520 PyObject
* obj1
= 0 ;
7522 (char *) "self",(char *) "facename", NULL
7525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7529 arg2
= wxString_in_helper(obj1
);
7530 if (arg2
== NULL
) SWIG_fail
;
7533 if (arg1
) (arg1
)->facename
= *arg2
;
7535 Py_INCREF(Py_None
); resultobj
= Py_None
;
7550 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7551 PyObject
*resultobj
;
7552 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7554 PyObject
* obj0
= 0 ;
7556 (char *) "self", NULL
7559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
7560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7562 result
= (wxString
*)& ((arg1
)->facename
);
7566 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7568 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7577 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
;
7579 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7581 PyObject
* obj0
= 0 ;
7582 PyObject
* obj1
= 0 ;
7584 (char *) "self",(char *) "encoding", NULL
7587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7590 arg2
= (int)SWIG_As_int(obj1
);
7591 if (PyErr_Occurred()) SWIG_fail
;
7592 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
7594 Py_INCREF(Py_None
); resultobj
= Py_None
;
7601 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7602 PyObject
*resultobj
;
7603 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7605 PyObject
* obj0
= 0 ;
7607 (char *) "self", NULL
7610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
7611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7613 result
= (int) ((arg1
)->encoding
);
7615 resultobj
= SWIG_From_int((int)result
);
7622 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7623 PyObject
*resultobj
;
7624 wxNativeEncodingInfo
*result
;
7629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
7631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7632 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
7634 wxPyEndAllowThreads(__tstate
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
7644 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
*resultobj
;
7646 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7647 PyObject
* obj0
= 0 ;
7649 (char *) "self", NULL
7652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
7653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7659 wxPyEndAllowThreads(__tstate
);
7660 if (PyErr_Occurred()) SWIG_fail
;
7662 Py_INCREF(Py_None
); resultobj
= Py_None
;
7669 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7670 PyObject
*resultobj
;
7671 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7672 wxString
*arg2
= 0 ;
7674 bool temp2
= false ;
7675 PyObject
* obj0
= 0 ;
7676 PyObject
* obj1
= 0 ;
7678 (char *) "self",(char *) "s", NULL
7681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7685 arg2
= wxString_in_helper(obj1
);
7686 if (arg2
== NULL
) SWIG_fail
;
7690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7691 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7693 wxPyEndAllowThreads(__tstate
);
7694 if (PyErr_Occurred()) SWIG_fail
;
7697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7713 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
*resultobj
;
7715 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7717 PyObject
* obj0
= 0 ;
7719 (char *) "self", NULL
7722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
7723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7727 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
7729 wxPyEndAllowThreads(__tstate
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7734 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7736 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7745 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
7747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7748 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
7750 return Py_BuildValue((char *)"");
7752 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
*resultobj
;
7755 wxNativeEncodingInfo
*result
;
7756 PyObject
* obj0
= 0 ;
7758 (char *) "encoding", NULL
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
7762 arg1
= (int)SWIG_As_int(obj0
);
7763 if (PyErr_Occurred()) SWIG_fail
;
7765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7766 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
7768 wxPyEndAllowThreads(__tstate
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
7778 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
*resultobj
;
7780 wxNativeEncodingInfo
*arg1
= 0 ;
7782 PyObject
* obj0
= 0 ;
7784 (char *) "info", NULL
7787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
7788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7789 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7792 PyErr_SetString(PyExc_TypeError
,"null reference");
7796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7797 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
7799 wxPyEndAllowThreads(__tstate
);
7800 if (PyErr_Occurred()) SWIG_fail
;
7803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7811 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
*resultobj
;
7813 wxFontMapper
*result
;
7818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7821 result
= (wxFontMapper
*)new wxFontMapper();
7823 wxPyEndAllowThreads(__tstate
);
7824 if (PyErr_Occurred()) SWIG_fail
;
7826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7833 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7834 PyObject
*resultobj
;
7835 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7836 PyObject
* obj0
= 0 ;
7838 (char *) "self", NULL
7841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 wxPyEndAllowThreads(__tstate
);
7849 if (PyErr_Occurred()) SWIG_fail
;
7851 Py_INCREF(Py_None
); resultobj
= Py_None
;
7858 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7859 PyObject
*resultobj
;
7860 wxFontMapper
*result
;
7865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7868 result
= (wxFontMapper
*)wxFontMapper::Get();
7870 wxPyEndAllowThreads(__tstate
);
7871 if (PyErr_Occurred()) SWIG_fail
;
7873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7880 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7881 PyObject
*resultobj
;
7882 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7883 wxFontMapper
*result
;
7884 PyObject
* obj0
= 0 ;
7886 (char *) "mapper", NULL
7889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7894 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7896 wxPyEndAllowThreads(__tstate
);
7897 if (PyErr_Occurred()) SWIG_fail
;
7899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7906 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7907 PyObject
*resultobj
;
7908 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7909 wxString
*arg2
= 0 ;
7910 bool arg3
= (bool) true ;
7912 bool temp2
= false ;
7913 PyObject
* obj0
= 0 ;
7914 PyObject
* obj1
= 0 ;
7915 PyObject
* obj2
= 0 ;
7917 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7924 arg2
= wxString_in_helper(obj1
);
7925 if (arg2
== NULL
) SWIG_fail
;
7929 arg3
= (bool)SWIG_As_bool(obj2
);
7930 if (PyErr_Occurred()) SWIG_fail
;
7933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7934 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7936 wxPyEndAllowThreads(__tstate
);
7937 if (PyErr_Occurred()) SWIG_fail
;
7939 resultobj
= SWIG_From_int((int)result
);
7954 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
*resultobj
;
7961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7964 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7966 wxPyEndAllowThreads(__tstate
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7969 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7976 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7977 PyObject
*resultobj
;
7980 PyObject
* obj0
= 0 ;
7985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7986 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7990 result
= (int)wxFontMapper::GetEncoding(arg1
);
7992 wxPyEndAllowThreads(__tstate
);
7993 if (PyErr_Occurred()) SWIG_fail
;
7995 resultobj
= SWIG_From_int((int)result
);
8002 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8003 PyObject
*resultobj
;
8006 PyObject
* obj0
= 0 ;
8008 (char *) "encoding", NULL
8011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
8012 arg1
= (int)SWIG_As_int(obj0
);
8013 if (PyErr_Occurred()) SWIG_fail
;
8015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
8018 wxPyEndAllowThreads(__tstate
);
8019 if (PyErr_Occurred()) SWIG_fail
;
8023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8034 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8035 PyObject
*resultobj
;
8038 PyObject
* obj0
= 0 ;
8040 (char *) "encoding", NULL
8043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
8044 arg1
= (int)SWIG_As_int(obj0
);
8045 if (PyErr_Occurred()) SWIG_fail
;
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8055 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8057 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8066 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8067 PyObject
*resultobj
;
8068 wxString
*arg1
= 0 ;
8070 bool temp1
= false ;
8071 PyObject
* obj0
= 0 ;
8073 (char *) "name", NULL
8076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
8078 arg1
= wxString_in_helper(obj0
);
8079 if (arg1
== NULL
) SWIG_fail
;
8083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8084 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
8086 wxPyEndAllowThreads(__tstate
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8089 resultobj
= SWIG_From_int((int)result
);
8104 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
;
8106 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8107 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
8108 PyObject
* obj0
= 0 ;
8109 PyObject
* obj1
= 0 ;
8111 (char *) "self",(char *) "config", NULL
8114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
8115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
8118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8121 (arg1
)->SetConfig(arg2
);
8123 wxPyEndAllowThreads(__tstate
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8126 Py_INCREF(Py_None
); resultobj
= Py_None
;
8133 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
*resultobj
;
8135 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8136 wxString
*arg2
= 0 ;
8137 bool temp2
= false ;
8138 PyObject
* obj0
= 0 ;
8139 PyObject
* obj1
= 0 ;
8141 (char *) "self",(char *) "prefix", NULL
8144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
8145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8148 arg2
= wxString_in_helper(obj1
);
8149 if (arg2
== NULL
) SWIG_fail
;
8153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8154 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
8156 wxPyEndAllowThreads(__tstate
);
8157 if (PyErr_Occurred()) SWIG_fail
;
8159 Py_INCREF(Py_None
); resultobj
= Py_None
;
8174 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8175 PyObject
*resultobj
;
8181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 result
= wxFontMapper::GetDefaultConfigPath();
8186 wxPyEndAllowThreads(__tstate
);
8187 if (PyErr_Occurred()) SWIG_fail
;
8191 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8193 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8202 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8203 PyObject
*resultobj
;
8204 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8206 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8207 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8208 bool arg4
= (bool) true ;
8210 bool temp3
= false ;
8211 PyObject
* obj0
= 0 ;
8212 PyObject
* obj1
= 0 ;
8213 PyObject
* obj2
= 0 ;
8214 PyObject
* obj3
= 0 ;
8216 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
8219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8222 arg2
= (int)SWIG_As_int(obj1
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8226 arg3
= wxString_in_helper(obj2
);
8227 if (arg3
== NULL
) SWIG_fail
;
8232 arg4
= (bool)SWIG_As_bool(obj3
);
8233 if (PyErr_Occurred()) SWIG_fail
;
8236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8237 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
8239 wxPyEndAllowThreads(__tstate
);
8240 if (PyErr_Occurred()) SWIG_fail
;
8257 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8258 PyObject
*resultobj
;
8259 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8261 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8262 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8264 bool temp3
= false ;
8265 PyObject
* obj0
= 0 ;
8266 PyObject
* obj1
= 0 ;
8267 PyObject
* obj2
= 0 ;
8269 (char *) "self",(char *) "encoding",(char *) "facename", NULL
8272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8275 arg2
= (int)SWIG_As_int(obj1
);
8276 if (PyErr_Occurred()) SWIG_fail
;
8279 arg3
= wxString_in_helper(obj2
);
8280 if (arg3
== NULL
) SWIG_fail
;
8285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8286 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
8288 wxPyEndAllowThreads(__tstate
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8308 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8309 PyObject
*resultobj
;
8310 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8311 wxWindow
*arg2
= (wxWindow
*) 0 ;
8312 PyObject
* obj0
= 0 ;
8313 PyObject
* obj1
= 0 ;
8315 (char *) "self",(char *) "parent", NULL
8318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
8319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8325 (arg1
)->SetDialogParent(arg2
);
8327 wxPyEndAllowThreads(__tstate
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8330 Py_INCREF(Py_None
); resultobj
= Py_None
;
8337 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8338 PyObject
*resultobj
;
8339 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8340 wxString
*arg2
= 0 ;
8341 bool temp2
= false ;
8342 PyObject
* obj0
= 0 ;
8343 PyObject
* obj1
= 0 ;
8345 (char *) "self",(char *) "title", NULL
8348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
8349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8352 arg2
= wxString_in_helper(obj1
);
8353 if (arg2
== NULL
) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8363 Py_INCREF(Py_None
); resultobj
= Py_None
;
8378 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
8380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8381 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
8383 return Py_BuildValue((char *)"");
8385 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8386 PyObject
*resultobj
;
8391 bool arg5
= (bool) false ;
8392 wxString
const &arg6_defvalue
= wxPyEmptyString
;
8393 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8394 int arg7
= (int) wxFONTENCODING_DEFAULT
;
8396 bool temp6
= false ;
8397 PyObject
* obj0
= 0 ;
8398 PyObject
* obj1
= 0 ;
8399 PyObject
* obj2
= 0 ;
8400 PyObject
* obj3
= 0 ;
8401 PyObject
* obj4
= 0 ;
8402 PyObject
* obj5
= 0 ;
8403 PyObject
* obj6
= 0 ;
8405 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
8408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8409 arg1
= (int)SWIG_As_int(obj0
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8411 arg2
= (int)SWIG_As_int(obj1
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8413 arg3
= (int)SWIG_As_int(obj2
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8415 arg4
= (int)SWIG_As_int(obj3
);
8416 if (PyErr_Occurred()) SWIG_fail
;
8418 arg5
= (bool)SWIG_As_bool(obj4
);
8419 if (PyErr_Occurred()) SWIG_fail
;
8423 arg6
= wxString_in_helper(obj5
);
8424 if (arg6
== NULL
) SWIG_fail
;
8429 arg7
= (int)SWIG_As_int(obj6
);
8430 if (PyErr_Occurred()) SWIG_fail
;
8433 if (!wxPyCheckForApp()) SWIG_fail
;
8434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8435 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8455 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
*resultobj
;
8457 wxFont
*arg1
= (wxFont
*) 0 ;
8458 PyObject
* obj0
= 0 ;
8460 (char *) "self", NULL
8463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
8464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8473 Py_INCREF(Py_None
); resultobj
= Py_None
;
8480 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8481 PyObject
*resultobj
;
8482 wxNativeFontInfo
*arg1
= 0 ;
8484 PyObject
* obj0
= 0 ;
8486 (char *) "info", NULL
8489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
8490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
8491 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8494 PyErr_SetString(PyExc_TypeError
,"null reference");
8498 if (!wxPyCheckForApp()) SWIG_fail
;
8499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8500 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
8502 wxPyEndAllowThreads(__tstate
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8512 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8513 PyObject
*resultobj
;
8514 wxString
*arg1
= 0 ;
8516 bool temp1
= false ;
8517 PyObject
* obj0
= 0 ;
8519 (char *) "info", NULL
8522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
8524 arg1
= wxString_in_helper(obj0
);
8525 if (arg1
== NULL
) SWIG_fail
;
8529 if (!wxPyCheckForApp()) SWIG_fail
;
8530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8531 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
8533 wxPyEndAllowThreads(__tstate
);
8534 if (PyErr_Occurred()) SWIG_fail
;
8536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8551 static PyObject
*_wrap_new_Font2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8552 PyObject
*resultobj
;
8555 int arg3
= (int) wxFONTFLAG_DEFAULT
;
8556 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8557 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8558 int arg5
= (int) wxFONTENCODING_DEFAULT
;
8560 bool temp4
= false ;
8561 PyObject
* obj0
= 0 ;
8562 PyObject
* obj1
= 0 ;
8563 PyObject
* obj2
= 0 ;
8564 PyObject
* obj3
= 0 ;
8565 PyObject
* obj4
= 0 ;
8567 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
8570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8571 arg1
= (int)SWIG_As_int(obj0
);
8572 if (PyErr_Occurred()) SWIG_fail
;
8573 arg2
= (int)SWIG_As_int(obj1
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8576 arg3
= (int)SWIG_As_int(obj2
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8581 arg4
= wxString_in_helper(obj3
);
8582 if (arg4
== NULL
) SWIG_fail
;
8587 arg5
= (int)SWIG_As_int(obj4
);
8588 if (PyErr_Occurred()) SWIG_fail
;
8591 if (!wxPyCheckForApp()) SWIG_fail
;
8592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8593 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
8595 wxPyEndAllowThreads(__tstate
);
8596 if (PyErr_Occurred()) SWIG_fail
;
8598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8613 static PyObject
*_wrap_new_FontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8614 PyObject
*resultobj
;
8619 bool arg5
= (bool) false ;
8620 wxString
const &arg6_defvalue
= wxEmptyString
;
8621 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8622 int arg7
= (int) wxFONTENCODING_DEFAULT
;
8625 bool temp6
= false ;
8626 PyObject
* obj0
= 0 ;
8627 PyObject
* obj1
= 0 ;
8628 PyObject
* obj2
= 0 ;
8629 PyObject
* obj3
= 0 ;
8630 PyObject
* obj4
= 0 ;
8631 PyObject
* obj5
= 0 ;
8632 PyObject
* obj6
= 0 ;
8634 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
8637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8640 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
8642 arg2
= (int)SWIG_As_int(obj1
);
8643 if (PyErr_Occurred()) SWIG_fail
;
8644 arg3
= (int)SWIG_As_int(obj2
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8646 arg4
= (int)SWIG_As_int(obj3
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8649 arg5
= (bool)SWIG_As_bool(obj4
);
8650 if (PyErr_Occurred()) SWIG_fail
;
8654 arg6
= wxString_in_helper(obj5
);
8655 if (arg6
== NULL
) SWIG_fail
;
8660 arg7
= (int)SWIG_As_int(obj6
);
8661 if (PyErr_Occurred()) SWIG_fail
;
8664 if (!wxPyCheckForApp()) SWIG_fail
;
8665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8666 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
8668 wxPyEndAllowThreads(__tstate
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8686 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8687 PyObject
*resultobj
;
8688 wxFont
*arg1
= (wxFont
*) 0 ;
8690 PyObject
* obj0
= 0 ;
8692 (char *) "self", NULL
8695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
8696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8700 result
= (bool)((wxFont
const *)arg1
)->Ok();
8702 wxPyEndAllowThreads(__tstate
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8714 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8715 PyObject
*resultobj
;
8716 wxFont
*arg1
= (wxFont
*) 0 ;
8717 wxFont
*arg2
= (wxFont
*) 0 ;
8719 PyObject
* obj0
= 0 ;
8720 PyObject
* obj1
= 0 ;
8722 (char *) "self",(char *) "other", NULL
8725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
8726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8732 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
8734 wxPyEndAllowThreads(__tstate
);
8735 if (PyErr_Occurred()) SWIG_fail
;
8738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8746 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
*resultobj
;
8748 wxFont
*arg1
= (wxFont
*) 0 ;
8749 wxFont
*arg2
= (wxFont
*) 0 ;
8751 PyObject
* obj0
= 0 ;
8752 PyObject
* obj1
= 0 ;
8754 (char *) "self",(char *) "other", NULL
8757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
8758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
8766 wxPyEndAllowThreads(__tstate
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8778 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
*resultobj
;
8780 wxFont
*arg1
= (wxFont
*) 0 ;
8782 PyObject
* obj0
= 0 ;
8784 (char *) "self", NULL
8787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
8788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8792 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
8794 wxPyEndAllowThreads(__tstate
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8797 resultobj
= SWIG_From_int((int)result
);
8804 static PyObject
*_wrap_Font_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8805 PyObject
*resultobj
;
8806 wxFont
*arg1
= (wxFont
*) 0 ;
8808 PyObject
* obj0
= 0 ;
8810 (char *) "self", NULL
8813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPixelSize",kwnames
,&obj0
)) goto fail
;
8814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 result
= ((wxFont
const *)arg1
)->GetPixelSize();
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8825 resultptr
= new wxSize((wxSize
&) result
);
8826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8834 static PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8835 PyObject
*resultobj
;
8836 wxFont
*arg1
= (wxFont
*) 0 ;
8838 PyObject
* obj0
= 0 ;
8840 (char *) "self", NULL
8843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsUsingSizeInPixels",kwnames
,&obj0
)) goto fail
;
8844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8848 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
8850 wxPyEndAllowThreads(__tstate
);
8851 if (PyErr_Occurred()) SWIG_fail
;
8854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8862 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8863 PyObject
*resultobj
;
8864 wxFont
*arg1
= (wxFont
*) 0 ;
8866 PyObject
* obj0
= 0 ;
8868 (char *) "self", NULL
8871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
8872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8876 result
= (int)((wxFont
const *)arg1
)->GetFamily();
8878 wxPyEndAllowThreads(__tstate
);
8879 if (PyErr_Occurred()) SWIG_fail
;
8881 resultobj
= SWIG_From_int((int)result
);
8888 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8889 PyObject
*resultobj
;
8890 wxFont
*arg1
= (wxFont
*) 0 ;
8892 PyObject
* obj0
= 0 ;
8894 (char *) "self", NULL
8897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
8898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 result
= (int)((wxFont
const *)arg1
)->GetStyle();
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= SWIG_From_int((int)result
);
8914 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
;
8916 wxFont
*arg1
= (wxFont
*) 0 ;
8918 PyObject
* obj0
= 0 ;
8920 (char *) "self", NULL
8923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
8924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8928 result
= (int)((wxFont
const *)arg1
)->GetWeight();
8930 wxPyEndAllowThreads(__tstate
);
8931 if (PyErr_Occurred()) SWIG_fail
;
8933 resultobj
= SWIG_From_int((int)result
);
8940 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8941 PyObject
*resultobj
;
8942 wxFont
*arg1
= (wxFont
*) 0 ;
8944 PyObject
* obj0
= 0 ;
8946 (char *) "self", NULL
8949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8968 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8969 PyObject
*resultobj
;
8970 wxFont
*arg1
= (wxFont
*) 0 ;
8972 PyObject
* obj0
= 0 ;
8974 (char *) "self", NULL
8977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 result
= ((wxFont
const *)arg1
)->GetFaceName();
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8989 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8991 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9000 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9001 PyObject
*resultobj
;
9002 wxFont
*arg1
= (wxFont
*) 0 ;
9004 PyObject
* obj0
= 0 ;
9006 (char *) "self", NULL
9009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
9010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9014 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
9016 wxPyEndAllowThreads(__tstate
);
9017 if (PyErr_Occurred()) SWIG_fail
;
9019 resultobj
= SWIG_From_int((int)result
);
9026 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9027 PyObject
*resultobj
;
9028 wxFont
*arg1
= (wxFont
*) 0 ;
9029 wxNativeFontInfo
*result
;
9030 PyObject
* obj0
= 0 ;
9032 (char *) "self", NULL
9035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
9036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9040 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
9042 wxPyEndAllowThreads(__tstate
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
9052 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
*resultobj
;
9054 wxFont
*arg1
= (wxFont
*) 0 ;
9056 PyObject
* obj0
= 0 ;
9058 (char *) "self", NULL
9061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
9062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
9068 wxPyEndAllowThreads(__tstate
);
9069 if (PyErr_Occurred()) SWIG_fail
;
9072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9080 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
*resultobj
;
9082 wxFont
*arg1
= (wxFont
*) 0 ;
9084 PyObject
* obj0
= 0 ;
9086 (char *) "self", NULL
9089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
9090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
9096 wxPyEndAllowThreads(__tstate
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9112 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9113 PyObject
*resultobj
;
9114 wxFont
*arg1
= (wxFont
*) 0 ;
9116 PyObject
* obj0
= 0 ;
9118 (char *) "self", NULL
9121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
9122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9126 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
9128 wxPyEndAllowThreads(__tstate
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9133 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9135 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9144 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
;
9146 wxFont
*arg1
= (wxFont
*) 0 ;
9148 PyObject
* obj0
= 0 ;
9149 PyObject
* obj1
= 0 ;
9151 (char *) "self",(char *) "pointSize", NULL
9154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9157 arg2
= (int)SWIG_As_int(obj1
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9161 (arg1
)->SetPointSize(arg2
);
9163 wxPyEndAllowThreads(__tstate
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9166 Py_INCREF(Py_None
); resultobj
= Py_None
;
9173 static PyObject
*_wrap_Font_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9174 PyObject
*resultobj
;
9175 wxFont
*arg1
= (wxFont
*) 0 ;
9178 PyObject
* obj0
= 0 ;
9179 PyObject
* obj1
= 0 ;
9181 (char *) "self",(char *) "pixelSize", NULL
9184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9189 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9193 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
9195 wxPyEndAllowThreads(__tstate
);
9196 if (PyErr_Occurred()) SWIG_fail
;
9198 Py_INCREF(Py_None
); resultobj
= Py_None
;
9205 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9206 PyObject
*resultobj
;
9207 wxFont
*arg1
= (wxFont
*) 0 ;
9209 PyObject
* obj0
= 0 ;
9210 PyObject
* obj1
= 0 ;
9212 (char *) "self",(char *) "family", NULL
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
9216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9218 arg2
= (int)SWIG_As_int(obj1
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 (arg1
)->SetFamily(arg2
);
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9227 Py_INCREF(Py_None
); resultobj
= Py_None
;
9234 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
;
9236 wxFont
*arg1
= (wxFont
*) 0 ;
9238 PyObject
* obj0
= 0 ;
9239 PyObject
* obj1
= 0 ;
9241 (char *) "self",(char *) "style", NULL
9244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9247 arg2
= (int)SWIG_As_int(obj1
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9251 (arg1
)->SetStyle(arg2
);
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9256 Py_INCREF(Py_None
); resultobj
= Py_None
;
9263 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
;
9265 wxFont
*arg1
= (wxFont
*) 0 ;
9267 PyObject
* obj0
= 0 ;
9268 PyObject
* obj1
= 0 ;
9270 (char *) "self",(char *) "weight", NULL
9273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
9274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9276 arg2
= (int)SWIG_As_int(obj1
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9280 (arg1
)->SetWeight(arg2
);
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9285 Py_INCREF(Py_None
); resultobj
= Py_None
;
9292 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9293 PyObject
*resultobj
;
9294 wxFont
*arg1
= (wxFont
*) 0 ;
9295 wxString
*arg2
= 0 ;
9296 bool temp2
= false ;
9297 PyObject
* obj0
= 0 ;
9298 PyObject
* obj1
= 0 ;
9300 (char *) "self",(char *) "faceName", NULL
9303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
9304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9307 arg2
= wxString_in_helper(obj1
);
9308 if (arg2
== NULL
) SWIG_fail
;
9312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9313 (arg1
)->SetFaceName((wxString
const &)*arg2
);
9315 wxPyEndAllowThreads(__tstate
);
9316 if (PyErr_Occurred()) SWIG_fail
;
9318 Py_INCREF(Py_None
); resultobj
= Py_None
;
9333 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9334 PyObject
*resultobj
;
9335 wxFont
*arg1
= (wxFont
*) 0 ;
9337 PyObject
* obj0
= 0 ;
9338 PyObject
* obj1
= 0 ;
9340 (char *) "self",(char *) "underlined", NULL
9343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
9344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9346 arg2
= (bool)SWIG_As_bool(obj1
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 (arg1
)->SetUnderlined(arg2
);
9352 wxPyEndAllowThreads(__tstate
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9355 Py_INCREF(Py_None
); resultobj
= Py_None
;
9362 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
*resultobj
;
9364 wxFont
*arg1
= (wxFont
*) 0 ;
9366 PyObject
* obj0
= 0 ;
9367 PyObject
* obj1
= 0 ;
9369 (char *) "self",(char *) "encoding", NULL
9372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
9373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9375 arg2
= (int)SWIG_As_int(obj1
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9379 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
9381 wxPyEndAllowThreads(__tstate
);
9382 if (PyErr_Occurred()) SWIG_fail
;
9384 Py_INCREF(Py_None
); resultobj
= Py_None
;
9391 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9392 PyObject
*resultobj
;
9393 wxFont
*arg1
= (wxFont
*) 0 ;
9394 wxNativeFontInfo
*arg2
= 0 ;
9395 PyObject
* obj0
= 0 ;
9396 PyObject
* obj1
= 0 ;
9398 (char *) "self",(char *) "info", NULL
9401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
9402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
9405 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9408 PyErr_SetString(PyExc_TypeError
,"null reference");
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
9415 wxPyEndAllowThreads(__tstate
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9418 Py_INCREF(Py_None
); resultobj
= Py_None
;
9425 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
;
9427 wxFont
*arg1
= (wxFont
*) 0 ;
9428 wxString
*arg2
= 0 ;
9429 bool temp2
= false ;
9430 PyObject
* obj0
= 0 ;
9431 PyObject
* obj1
= 0 ;
9433 (char *) "self",(char *) "info", NULL
9436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
9437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9440 arg2
= wxString_in_helper(obj1
);
9441 if (arg2
== NULL
) SWIG_fail
;
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9451 Py_INCREF(Py_None
); resultobj
= Py_None
;
9466 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
*resultobj
;
9468 wxFont
*arg1
= (wxFont
*) 0 ;
9469 wxString
*arg2
= 0 ;
9470 bool temp2
= false ;
9471 PyObject
* obj0
= 0 ;
9472 PyObject
* obj1
= 0 ;
9474 (char *) "self",(char *) "info", NULL
9477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
9478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9481 arg2
= wxString_in_helper(obj1
);
9482 if (arg2
== NULL
) SWIG_fail
;
9486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9487 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
9489 wxPyEndAllowThreads(__tstate
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9492 Py_INCREF(Py_None
); resultobj
= Py_None
;
9507 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9508 PyObject
*resultobj
;
9509 wxFont
*arg1
= (wxFont
*) 0 ;
9511 PyObject
* obj0
= 0 ;
9513 (char *) "self", NULL
9516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
9517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9521 result
= ((wxFont
const *)arg1
)->GetFamilyString();
9523 wxPyEndAllowThreads(__tstate
);
9524 if (PyErr_Occurred()) SWIG_fail
;
9528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9539 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9540 PyObject
*resultobj
;
9541 wxFont
*arg1
= (wxFont
*) 0 ;
9543 PyObject
* obj0
= 0 ;
9545 (char *) "self", NULL
9548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
9549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 result
= ((wxFont
const *)arg1
)->GetStyleString();
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9560 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9562 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9571 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9572 PyObject
*resultobj
;
9573 wxFont
*arg1
= (wxFont
*) 0 ;
9575 PyObject
* obj0
= 0 ;
9577 (char *) "self", NULL
9580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
9581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 result
= ((wxFont
const *)arg1
)->GetWeightString();
9587 wxPyEndAllowThreads(__tstate
);
9588 if (PyErr_Occurred()) SWIG_fail
;
9592 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9594 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9603 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9604 PyObject
*resultobj
;
9605 wxFont
*arg1
= (wxFont
*) 0 ;
9606 bool arg2
= (bool) true ;
9607 PyObject
* obj0
= 0 ;
9608 PyObject
* obj1
= 0 ;
9610 (char *) "self",(char *) "no", NULL
9613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
9614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9617 arg2
= (bool)SWIG_As_bool(obj1
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 (arg1
)->SetNoAntiAliasing(arg2
);
9624 wxPyEndAllowThreads(__tstate
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9627 Py_INCREF(Py_None
); resultobj
= Py_None
;
9634 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9635 PyObject
*resultobj
;
9636 wxFont
*arg1
= (wxFont
*) 0 ;
9638 PyObject
* obj0
= 0 ;
9640 (char *) "self", NULL
9643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
9644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9648 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
9650 wxPyEndAllowThreads(__tstate
);
9651 if (PyErr_Occurred()) SWIG_fail
;
9654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9662 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9663 PyObject
*resultobj
;
9669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
9671 if (!wxPyCheckForApp()) SWIG_fail
;
9672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9673 result
= (int)wxFont::GetDefaultEncoding();
9675 wxPyEndAllowThreads(__tstate
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9678 resultobj
= SWIG_From_int((int)result
);
9685 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
;
9688 PyObject
* obj0
= 0 ;
9690 (char *) "encoding", NULL
9693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
9694 arg1
= (int)SWIG_As_int(obj0
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9697 if (!wxPyCheckForApp()) SWIG_fail
;
9698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9699 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
9701 wxPyEndAllowThreads(__tstate
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9704 Py_INCREF(Py_None
); resultobj
= Py_None
;
9711 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
9713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9714 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
9716 return Py_BuildValue((char *)"");
9718 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
*resultobj
;
9720 wxPyFontEnumerator
*result
;
9725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
9727 if (!wxPyCheckForApp()) SWIG_fail
;
9728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9729 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
9731 wxPyEndAllowThreads(__tstate
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
9741 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9742 PyObject
*resultobj
;
9743 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9744 PyObject
* obj0
= 0 ;
9746 (char *) "self", NULL
9749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
9750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 wxPyEndAllowThreads(__tstate
);
9757 if (PyErr_Occurred()) SWIG_fail
;
9759 Py_INCREF(Py_None
); resultobj
= Py_None
;
9766 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9767 PyObject
*resultobj
;
9768 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9769 PyObject
*arg2
= (PyObject
*) 0 ;
9770 PyObject
*arg3
= (PyObject
*) 0 ;
9772 PyObject
* obj0
= 0 ;
9773 PyObject
* obj1
= 0 ;
9774 PyObject
* obj2
= 0 ;
9775 PyObject
* obj3
= 0 ;
9777 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9785 arg4
= (bool)SWIG_As_bool(obj3
);
9786 if (PyErr_Occurred()) SWIG_fail
;
9788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9789 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9791 wxPyEndAllowThreads(__tstate
);
9792 if (PyErr_Occurred()) SWIG_fail
;
9794 Py_INCREF(Py_None
); resultobj
= Py_None
;
9801 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9802 PyObject
*resultobj
;
9803 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9804 int arg2
= (int) wxFONTENCODING_SYSTEM
;
9805 bool arg3
= (bool) false ;
9807 PyObject
* obj0
= 0 ;
9808 PyObject
* obj1
= 0 ;
9809 PyObject
* obj2
= 0 ;
9811 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
9814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9818 arg2
= (int)SWIG_As_int(obj1
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9822 arg3
= (bool)SWIG_As_bool(obj2
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9827 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
9829 wxPyEndAllowThreads(__tstate
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9841 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9842 PyObject
*resultobj
;
9843 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9844 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9845 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9847 bool temp2
= false ;
9848 PyObject
* obj0
= 0 ;
9849 PyObject
* obj1
= 0 ;
9851 (char *) "self",(char *) "facename", NULL
9854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
9855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9859 arg2
= wxString_in_helper(obj1
);
9860 if (arg2
== NULL
) SWIG_fail
;
9865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9866 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
9868 wxPyEndAllowThreads(__tstate
);
9869 if (PyErr_Occurred()) SWIG_fail
;
9872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9888 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9889 PyObject
*resultobj
;
9890 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9892 PyObject
* obj0
= 0 ;
9894 (char *) "self", NULL
9897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
9898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9914 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9915 PyObject
*resultobj
;
9916 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9918 PyObject
* obj0
= 0 ;
9920 (char *) "self", NULL
9923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
9924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9928 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9940 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
9942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9943 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
9945 return Py_BuildValue((char *)"");
9947 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9948 PyObject
*resultobj
;
9949 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9951 PyObject
* obj0
= 0 ;
9952 PyObject
* obj1
= 0 ;
9954 (char *) "self",(char *) "Language", NULL
9957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9960 arg2
= (int)SWIG_As_int(obj1
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9962 if (arg1
) (arg1
)->Language
= arg2
;
9964 Py_INCREF(Py_None
); resultobj
= Py_None
;
9971 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9972 PyObject
*resultobj
;
9973 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9975 PyObject
* obj0
= 0 ;
9977 (char *) "self", NULL
9980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9983 result
= (int) ((arg1
)->Language
);
9985 resultobj
= SWIG_From_int((int)result
);
9992 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
*resultobj
;
9994 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9995 wxString
*arg2
= (wxString
*) 0 ;
9996 bool temp2
= false ;
9997 PyObject
* obj0
= 0 ;
9998 PyObject
* obj1
= 0 ;
10000 (char *) "self",(char *) "CanonicalName", NULL
10003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10007 arg2
= wxString_in_helper(obj1
);
10008 if (arg2
== NULL
) SWIG_fail
;
10011 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
10013 Py_INCREF(Py_None
); resultobj
= Py_None
;
10028 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
*resultobj
;
10030 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10032 PyObject
* obj0
= 0 ;
10033 char *kwnames
[] = {
10034 (char *) "self", NULL
10037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
10038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10040 result
= (wxString
*)& ((arg1
)->CanonicalName
);
10044 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10046 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10055 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10056 PyObject
*resultobj
;
10057 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10058 wxString
*arg2
= (wxString
*) 0 ;
10059 bool temp2
= false ;
10060 PyObject
* obj0
= 0 ;
10061 PyObject
* obj1
= 0 ;
10062 char *kwnames
[] = {
10063 (char *) "self",(char *) "Description", NULL
10066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10070 arg2
= wxString_in_helper(obj1
);
10071 if (arg2
== NULL
) SWIG_fail
;
10074 if (arg1
) (arg1
)->Description
= *arg2
;
10076 Py_INCREF(Py_None
); resultobj
= Py_None
;
10091 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10092 PyObject
*resultobj
;
10093 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10095 PyObject
* obj0
= 0 ;
10096 char *kwnames
[] = {
10097 (char *) "self", NULL
10100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
10101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10103 result
= (wxString
*)& ((arg1
)->Description
);
10107 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10109 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10118 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
10120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10121 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
10123 return Py_BuildValue((char *)"");
10125 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10126 PyObject
*resultobj
;
10127 int arg1
= (int) -1 ;
10128 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
10130 PyObject
* obj0
= 0 ;
10131 PyObject
* obj1
= 0 ;
10132 char *kwnames
[] = {
10133 (char *) "language",(char *) "flags", NULL
10136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
10138 arg1
= (int)SWIG_As_int(obj0
);
10139 if (PyErr_Occurred()) SWIG_fail
;
10142 arg2
= (int)SWIG_As_int(obj1
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
10159 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
*resultobj
;
10161 wxLocale
*arg1
= (wxLocale
*) 0 ;
10162 PyObject
* obj0
= 0 ;
10163 char *kwnames
[] = {
10164 (char *) "self", NULL
10167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
10168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10174 wxPyEndAllowThreads(__tstate
);
10175 if (PyErr_Occurred()) SWIG_fail
;
10177 Py_INCREF(Py_None
); resultobj
= Py_None
;
10184 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10185 PyObject
*resultobj
;
10186 wxLocale
*arg1
= (wxLocale
*) 0 ;
10187 wxString
*arg2
= 0 ;
10188 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10189 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10190 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10191 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10192 bool arg5
= (bool) true ;
10193 bool arg6
= (bool) false ;
10195 bool temp2
= false ;
10196 bool temp3
= false ;
10197 bool temp4
= false ;
10198 PyObject
* obj0
= 0 ;
10199 PyObject
* obj1
= 0 ;
10200 PyObject
* obj2
= 0 ;
10201 PyObject
* obj3
= 0 ;
10202 PyObject
* obj4
= 0 ;
10203 PyObject
* obj5
= 0 ;
10204 char *kwnames
[] = {
10205 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
10208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10212 arg2
= wxString_in_helper(obj1
);
10213 if (arg2
== NULL
) SWIG_fail
;
10218 arg3
= wxString_in_helper(obj2
);
10219 if (arg3
== NULL
) SWIG_fail
;
10225 arg4
= wxString_in_helper(obj3
);
10226 if (arg4
== NULL
) SWIG_fail
;
10231 arg5
= (bool)SWIG_As_bool(obj4
);
10232 if (PyErr_Occurred()) SWIG_fail
;
10235 arg6
= (bool)SWIG_As_bool(obj5
);
10236 if (PyErr_Occurred()) SWIG_fail
;
10239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10240 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
10242 wxPyEndAllowThreads(__tstate
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10278 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10279 PyObject
*resultobj
;
10280 wxLocale
*arg1
= (wxLocale
*) 0 ;
10281 int arg2
= (int) wxLANGUAGE_DEFAULT
;
10282 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
10284 PyObject
* obj0
= 0 ;
10285 PyObject
* obj1
= 0 ;
10286 PyObject
* obj2
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "self",(char *) "language",(char *) "flags", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10295 arg2
= (int)SWIG_As_int(obj1
);
10296 if (PyErr_Occurred()) SWIG_fail
;
10299 arg3
= (int)SWIG_As_int(obj2
);
10300 if (PyErr_Occurred()) SWIG_fail
;
10303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10304 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
10306 wxPyEndAllowThreads(__tstate
);
10307 if (PyErr_Occurred()) SWIG_fail
;
10310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10318 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10319 PyObject
*resultobj
;
10321 char *kwnames
[] = {
10325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
10327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10328 result
= (int)wxLocale::GetSystemLanguage();
10330 wxPyEndAllowThreads(__tstate
);
10331 if (PyErr_Occurred()) SWIG_fail
;
10333 resultobj
= SWIG_From_int((int)result
);
10340 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
*resultobj
;
10343 char *kwnames
[] = {
10347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 result
= (int)wxLocale::GetSystemEncoding();
10352 wxPyEndAllowThreads(__tstate
);
10353 if (PyErr_Occurred()) SWIG_fail
;
10355 resultobj
= SWIG_From_int((int)result
);
10362 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10363 PyObject
*resultobj
;
10365 char *kwnames
[] = {
10369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 result
= wxLocale::GetSystemEncodingName();
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10379 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10381 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10390 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10391 PyObject
*resultobj
;
10392 wxLocale
*arg1
= (wxLocale
*) 0 ;
10394 PyObject
* obj0
= 0 ;
10395 char *kwnames
[] = {
10396 (char *) "self", NULL
10399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
10400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10404 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10418 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
;
10420 wxLocale
*arg1
= (wxLocale
*) 0 ;
10422 PyObject
* obj0
= 0 ;
10423 char *kwnames
[] = {
10424 (char *) "self", NULL
10427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
10428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10432 result
= ((wxLocale
const *)arg1
)->GetLocale();
10434 wxPyEndAllowThreads(__tstate
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10450 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
*resultobj
;
10452 wxLocale
*arg1
= (wxLocale
*) 0 ;
10454 PyObject
* obj0
= 0 ;
10455 char *kwnames
[] = {
10456 (char *) "self", NULL
10459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
10460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10464 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
10466 wxPyEndAllowThreads(__tstate
);
10467 if (PyErr_Occurred()) SWIG_fail
;
10469 resultobj
= SWIG_From_int((int)result
);
10476 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10477 PyObject
*resultobj
;
10478 wxLocale
*arg1
= (wxLocale
*) 0 ;
10480 PyObject
* obj0
= 0 ;
10481 char *kwnames
[] = {
10482 (char *) "self", NULL
10485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
10486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 result
= ((wxLocale
const *)arg1
)->GetSysName();
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10497 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10499 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10508 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10509 PyObject
*resultobj
;
10510 wxLocale
*arg1
= (wxLocale
*) 0 ;
10512 PyObject
* obj0
= 0 ;
10513 char *kwnames
[] = {
10514 (char *) "self", NULL
10517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
10518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10529 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10531 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10540 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10541 PyObject
*resultobj
;
10542 wxString
*arg1
= 0 ;
10543 bool temp1
= false ;
10544 PyObject
* obj0
= 0 ;
10545 char *kwnames
[] = {
10546 (char *) "prefix", NULL
10549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
10551 arg1
= wxString_in_helper(obj0
);
10552 if (arg1
== NULL
) SWIG_fail
;
10556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10557 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
10559 wxPyEndAllowThreads(__tstate
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10562 Py_INCREF(Py_None
); resultobj
= Py_None
;
10577 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10578 PyObject
*resultobj
;
10579 wxLocale
*arg1
= (wxLocale
*) 0 ;
10580 wxString
*arg2
= 0 ;
10582 bool temp2
= false ;
10583 PyObject
* obj0
= 0 ;
10584 PyObject
* obj1
= 0 ;
10585 char *kwnames
[] = {
10586 (char *) "self",(char *) "szDomain", NULL
10589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
10590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10593 arg2
= wxString_in_helper(obj1
);
10594 if (arg2
== NULL
) SWIG_fail
;
10598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10599 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
10601 wxPyEndAllowThreads(__tstate
);
10602 if (PyErr_Occurred()) SWIG_fail
;
10605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10621 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10622 PyObject
*resultobj
;
10623 wxLocale
*arg1
= (wxLocale
*) 0 ;
10624 wxString
*arg2
= 0 ;
10626 bool temp2
= false ;
10627 PyObject
* obj0
= 0 ;
10628 PyObject
* obj1
= 0 ;
10629 char *kwnames
[] = {
10630 (char *) "self",(char *) "szDomain", NULL
10633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
10634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10637 arg2
= wxString_in_helper(obj1
);
10638 if (arg2
== NULL
) SWIG_fail
;
10642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
10645 wxPyEndAllowThreads(__tstate
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10665 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10666 PyObject
*resultobj
;
10668 wxLanguageInfo
*result
;
10669 PyObject
* obj0
= 0 ;
10670 char *kwnames
[] = {
10671 (char *) "lang", NULL
10674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
10675 arg1
= (int)SWIG_As_int(obj0
);
10676 if (PyErr_Occurred()) SWIG_fail
;
10678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10679 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
10681 wxPyEndAllowThreads(__tstate
);
10682 if (PyErr_Occurred()) SWIG_fail
;
10684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10691 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10692 PyObject
*resultobj
;
10695 PyObject
* obj0
= 0 ;
10696 char *kwnames
[] = {
10697 (char *) "lang", NULL
10700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
10701 arg1
= (int)SWIG_As_int(obj0
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10705 result
= wxLocale::GetLanguageName(arg1
);
10707 wxPyEndAllowThreads(__tstate
);
10708 if (PyErr_Occurred()) SWIG_fail
;
10712 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10714 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10723 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10724 PyObject
*resultobj
;
10725 wxString
*arg1
= 0 ;
10726 wxLanguageInfo
*result
;
10727 bool temp1
= false ;
10728 PyObject
* obj0
= 0 ;
10729 char *kwnames
[] = {
10730 (char *) "locale", NULL
10733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
10735 arg1
= wxString_in_helper(obj0
);
10736 if (arg1
== NULL
) SWIG_fail
;
10740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10741 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
10743 wxPyEndAllowThreads(__tstate
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10761 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10762 PyObject
*resultobj
;
10763 wxLanguageInfo
*arg1
= 0 ;
10764 PyObject
* obj0
= 0 ;
10765 char *kwnames
[] = {
10766 (char *) "info", NULL
10769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
10770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10771 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10773 if (arg1
== NULL
) {
10774 PyErr_SetString(PyExc_TypeError
,"null reference");
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 Py_INCREF(Py_None
); resultobj
= Py_None
;
10791 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
;
10793 wxLocale
*arg1
= (wxLocale
*) 0 ;
10794 wxString
*arg2
= 0 ;
10795 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10796 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10798 bool temp2
= false ;
10799 bool temp3
= false ;
10800 PyObject
* obj0
= 0 ;
10801 PyObject
* obj1
= 0 ;
10802 PyObject
* obj2
= 0 ;
10803 char *kwnames
[] = {
10804 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
10807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10811 arg2
= wxString_in_helper(obj1
);
10812 if (arg2
== NULL
) SWIG_fail
;
10817 arg3
= wxString_in_helper(obj2
);
10818 if (arg3
== NULL
) SWIG_fail
;
10823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10824 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10826 wxPyEndAllowThreads(__tstate
);
10827 if (PyErr_Occurred()) SWIG_fail
;
10831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10858 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10859 PyObject
*resultobj
;
10860 wxLocale
*arg1
= (wxLocale
*) 0 ;
10862 PyObject
* obj0
= 0 ;
10863 char *kwnames
[] = {
10864 (char *) "self", NULL
10867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
10868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
10874 result
= (wxString
*) &_result_ref
;
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10882 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10884 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10893 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
10895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10896 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
10898 return Py_BuildValue((char *)"");
10900 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10901 PyObject
*resultobj
;
10903 char *kwnames
[] = {
10907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
10909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10910 result
= (wxLocale
*)wxGetLocale();
10912 wxPyEndAllowThreads(__tstate
);
10913 if (PyErr_Occurred()) SWIG_fail
;
10915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
10922 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
10923 PyObject
*resultobj
;
10924 wxString
*arg1
= 0 ;
10926 bool temp1
= false ;
10927 PyObject
* obj0
= 0 ;
10929 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
10931 arg1
= wxString_in_helper(obj0
);
10932 if (arg1
== NULL
) SWIG_fail
;
10936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10937 result
= wxGetTranslation((wxString
const &)*arg1
);
10939 wxPyEndAllowThreads(__tstate
);
10940 if (PyErr_Occurred()) SWIG_fail
;
10944 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10946 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10963 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
10964 PyObject
*resultobj
;
10965 wxString
*arg1
= 0 ;
10966 wxString
*arg2
= 0 ;
10969 bool temp1
= false ;
10970 bool temp2
= false ;
10971 PyObject
* obj0
= 0 ;
10972 PyObject
* obj1
= 0 ;
10973 PyObject
* obj2
= 0 ;
10975 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
10977 arg1
= wxString_in_helper(obj0
);
10978 if (arg1
== NULL
) SWIG_fail
;
10982 arg2
= wxString_in_helper(obj1
);
10983 if (arg2
== NULL
) SWIG_fail
;
10986 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10992 wxPyEndAllowThreads(__tstate
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10997 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10999 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11024 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
11029 argc
= PyObject_Length(args
);
11030 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
11031 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11036 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11039 return _wrap_GetTranslation__SWIG_0(self
,args
);
11045 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11049 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11052 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
11054 return _wrap_GetTranslation__SWIG_1(self
,args
);
11060 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
11065 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
;
11067 wxEncodingConverter
*result
;
11068 char *kwnames
[] = {
11072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
11074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11075 result
= (wxEncodingConverter
*)new wxEncodingConverter();
11077 wxPyEndAllowThreads(__tstate
);
11078 if (PyErr_Occurred()) SWIG_fail
;
11080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
11087 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11088 PyObject
*resultobj
;
11089 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
11090 PyObject
* obj0
= 0 ;
11091 char *kwnames
[] = {
11092 (char *) "self", NULL
11095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
11096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
11097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11102 wxPyEndAllowThreads(__tstate
);
11103 if (PyErr_Occurred()) SWIG_fail
;
11105 Py_INCREF(Py_None
); resultobj
= Py_None
;
11112 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11113 PyObject
*resultobj
;
11114 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
11117 int arg4
= (int) wxCONVERT_STRICT
;
11119 PyObject
* obj0
= 0 ;
11120 PyObject
* obj1
= 0 ;
11121 PyObject
* obj2
= 0 ;
11122 PyObject
* obj3
= 0 ;
11123 char *kwnames
[] = {
11124 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
11127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
11129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11130 arg2
= (int)SWIG_As_int(obj1
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11132 arg3
= (int)SWIG_As_int(obj2
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11135 arg4
= (int)SWIG_As_int(obj3
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11140 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
11142 wxPyEndAllowThreads(__tstate
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11154 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11155 PyObject
*resultobj
;
11156 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
11157 wxString
*arg2
= 0 ;
11159 bool temp2
= false ;
11160 PyObject
* obj0
= 0 ;
11161 PyObject
* obj1
= 0 ;
11162 char *kwnames
[] = {
11163 (char *) "self",(char *) "input", NULL
11166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
11167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
11168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11170 arg2
= wxString_in_helper(obj1
);
11171 if (arg2
== NULL
) SWIG_fail
;
11175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11176 result
= (arg1
)->Convert((wxString
const &)*arg2
);
11178 wxPyEndAllowThreads(__tstate
);
11179 if (PyErr_Occurred()) SWIG_fail
;
11183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11202 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11203 PyObject
*resultobj
;
11205 int arg2
= (int) wxPLATFORM_CURRENT
;
11206 wxFontEncodingArray result
;
11207 PyObject
* obj0
= 0 ;
11208 PyObject
* obj1
= 0 ;
11209 char *kwnames
[] = {
11210 (char *) "enc",(char *) "platform", NULL
11213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
11214 arg1
= (int)SWIG_As_int(obj0
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11217 arg2
= (int)SWIG_As_int(obj1
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
11224 wxPyEndAllowThreads(__tstate
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11228 resultobj
= PyList_New(0);
11229 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
11230 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
11231 PyList_Append(resultobj
, number
);
11241 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
;
11244 wxFontEncodingArray result
;
11245 PyObject
* obj0
= 0 ;
11246 char *kwnames
[] = {
11247 (char *) "enc", NULL
11250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
11251 arg1
= (int)SWIG_As_int(obj0
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
11257 wxPyEndAllowThreads(__tstate
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11261 resultobj
= PyList_New(0);
11262 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
11263 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
11264 PyList_Append(resultobj
, number
);
11274 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11275 PyObject
*resultobj
;
11279 PyObject
* obj0
= 0 ;
11280 PyObject
* obj1
= 0 ;
11281 char *kwnames
[] = {
11282 (char *) "encIn",(char *) "encOut", NULL
11285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
11286 arg1
= (int)SWIG_As_int(obj0
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11288 arg2
= (int)SWIG_As_int(obj1
);
11289 if (PyErr_Occurred()) SWIG_fail
;
11291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11292 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
11294 wxPyEndAllowThreads(__tstate
);
11295 if (PyErr_Occurred()) SWIG_fail
;
11298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11306 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
11308 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11309 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
11311 return Py_BuildValue((char *)"");
11313 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11314 PyObject
*resultobj
;
11315 wxDC
*arg1
= (wxDC
*) 0 ;
11316 PyObject
* obj0
= 0 ;
11317 char *kwnames
[] = {
11318 (char *) "self", NULL
11321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
11322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11331 Py_INCREF(Py_None
); resultobj
= Py_None
;
11338 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11339 PyObject
*resultobj
;
11340 wxDC
*arg1
= (wxDC
*) 0 ;
11341 PyObject
* obj0
= 0 ;
11342 char *kwnames
[] = {
11343 (char *) "self", NULL
11346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
11347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 (arg1
)->BeginDrawing();
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11356 Py_INCREF(Py_None
); resultobj
= Py_None
;
11363 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
;
11365 wxDC
*arg1
= (wxDC
*) 0 ;
11366 PyObject
* obj0
= 0 ;
11367 char *kwnames
[] = {
11368 (char *) "self", NULL
11371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
11372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11376 (arg1
)->EndDrawing();
11378 wxPyEndAllowThreads(__tstate
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11381 Py_INCREF(Py_None
); resultobj
= Py_None
;
11388 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11389 PyObject
*resultobj
;
11390 wxDC
*arg1
= (wxDC
*) 0 ;
11393 wxColour
*arg4
= 0 ;
11394 int arg5
= (int) wxFLOOD_SURFACE
;
11397 PyObject
* obj0
= 0 ;
11398 PyObject
* obj1
= 0 ;
11399 PyObject
* obj2
= 0 ;
11400 PyObject
* obj3
= 0 ;
11401 PyObject
* obj4
= 0 ;
11402 char *kwnames
[] = {
11403 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
11406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11409 arg2
= (int)SWIG_As_int(obj1
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11411 arg3
= (int)SWIG_As_int(obj2
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11415 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
11418 arg5
= (int)SWIG_As_int(obj4
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11423 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
11425 wxPyEndAllowThreads(__tstate
);
11426 if (PyErr_Occurred()) SWIG_fail
;
11429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11437 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11438 PyObject
*resultobj
;
11439 wxDC
*arg1
= (wxDC
*) 0 ;
11440 wxPoint
*arg2
= 0 ;
11441 wxColour
*arg3
= 0 ;
11442 int arg4
= (int) wxFLOOD_SURFACE
;
11446 PyObject
* obj0
= 0 ;
11447 PyObject
* obj1
= 0 ;
11448 PyObject
* obj2
= 0 ;
11449 PyObject
* obj3
= 0 ;
11450 char *kwnames
[] = {
11451 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
11454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11459 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11463 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11466 arg4
= (int)SWIG_As_int(obj3
);
11467 if (PyErr_Occurred()) SWIG_fail
;
11470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11471 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11473 wxPyEndAllowThreads(__tstate
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11485 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11486 PyObject
*resultobj
;
11487 wxDC
*arg1
= (wxDC
*) 0 ;
11491 PyObject
* obj0
= 0 ;
11492 PyObject
* obj1
= 0 ;
11493 PyObject
* obj2
= 0 ;
11494 char *kwnames
[] = {
11495 (char *) "self",(char *) "x",(char *) "y", NULL
11498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11501 arg2
= (int)SWIG_As_int(obj1
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11503 arg3
= (int)SWIG_As_int(obj2
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11507 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
11509 wxPyEndAllowThreads(__tstate
);
11510 if (PyErr_Occurred()) SWIG_fail
;
11513 wxColour
* resultptr
;
11514 resultptr
= new wxColour((wxColour
&) result
);
11515 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11523 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11524 PyObject
*resultobj
;
11525 wxDC
*arg1
= (wxDC
*) 0 ;
11526 wxPoint
*arg2
= 0 ;
11529 PyObject
* obj0
= 0 ;
11530 PyObject
* obj1
= 0 ;
11531 char *kwnames
[] = {
11532 (char *) "self",(char *) "pt", NULL
11535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11540 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11544 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
11546 wxPyEndAllowThreads(__tstate
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11550 wxColour
* resultptr
;
11551 resultptr
= new wxColour((wxColour
&) result
);
11552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11560 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11561 PyObject
*resultobj
;
11562 wxDC
*arg1
= (wxDC
*) 0 ;
11567 PyObject
* obj0
= 0 ;
11568 PyObject
* obj1
= 0 ;
11569 PyObject
* obj2
= 0 ;
11570 PyObject
* obj3
= 0 ;
11571 PyObject
* obj4
= 0 ;
11572 char *kwnames
[] = {
11573 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
11576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11579 arg2
= (int)SWIG_As_int(obj1
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11581 arg3
= (int)SWIG_As_int(obj2
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11583 arg4
= (int)SWIG_As_int(obj3
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11585 arg5
= (int)SWIG_As_int(obj4
);
11586 if (PyErr_Occurred()) SWIG_fail
;
11588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11589 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
11591 wxPyEndAllowThreads(__tstate
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11594 Py_INCREF(Py_None
); resultobj
= Py_None
;
11601 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11602 PyObject
*resultobj
;
11603 wxDC
*arg1
= (wxDC
*) 0 ;
11604 wxPoint
*arg2
= 0 ;
11605 wxPoint
*arg3
= 0 ;
11608 PyObject
* obj0
= 0 ;
11609 PyObject
* obj1
= 0 ;
11610 PyObject
* obj2
= 0 ;
11611 char *kwnames
[] = {
11612 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
11615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11620 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11624 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11628 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
11630 wxPyEndAllowThreads(__tstate
);
11631 if (PyErr_Occurred()) SWIG_fail
;
11633 Py_INCREF(Py_None
); resultobj
= Py_None
;
11640 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11641 PyObject
*resultobj
;
11642 wxDC
*arg1
= (wxDC
*) 0 ;
11645 PyObject
* obj0
= 0 ;
11646 PyObject
* obj1
= 0 ;
11647 PyObject
* obj2
= 0 ;
11648 char *kwnames
[] = {
11649 (char *) "self",(char *) "x",(char *) "y", NULL
11652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11655 arg2
= (int)SWIG_As_int(obj1
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11657 arg3
= (int)SWIG_As_int(obj2
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11661 (arg1
)->CrossHair(arg2
,arg3
);
11663 wxPyEndAllowThreads(__tstate
);
11664 if (PyErr_Occurred()) SWIG_fail
;
11666 Py_INCREF(Py_None
); resultobj
= Py_None
;
11673 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11674 PyObject
*resultobj
;
11675 wxDC
*arg1
= (wxDC
*) 0 ;
11676 wxPoint
*arg2
= 0 ;
11678 PyObject
* obj0
= 0 ;
11679 PyObject
* obj1
= 0 ;
11680 char *kwnames
[] = {
11681 (char *) "self",(char *) "pt", NULL
11684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11689 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11693 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11698 Py_INCREF(Py_None
); resultobj
= Py_None
;
11705 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11706 PyObject
*resultobj
;
11707 wxDC
*arg1
= (wxDC
*) 0 ;
11714 PyObject
* obj0
= 0 ;
11715 PyObject
* obj1
= 0 ;
11716 PyObject
* obj2
= 0 ;
11717 PyObject
* obj3
= 0 ;
11718 PyObject
* obj4
= 0 ;
11719 PyObject
* obj5
= 0 ;
11720 PyObject
* obj6
= 0 ;
11721 char *kwnames
[] = {
11722 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
11725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11728 arg2
= (int)SWIG_As_int(obj1
);
11729 if (PyErr_Occurred()) SWIG_fail
;
11730 arg3
= (int)SWIG_As_int(obj2
);
11731 if (PyErr_Occurred()) SWIG_fail
;
11732 arg4
= (int)SWIG_As_int(obj3
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11734 arg5
= (int)SWIG_As_int(obj4
);
11735 if (PyErr_Occurred()) SWIG_fail
;
11736 arg6
= (int)SWIG_As_int(obj5
);
11737 if (PyErr_Occurred()) SWIG_fail
;
11738 arg7
= (int)SWIG_As_int(obj6
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11742 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11744 wxPyEndAllowThreads(__tstate
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11747 Py_INCREF(Py_None
); resultobj
= Py_None
;
11754 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11755 PyObject
*resultobj
;
11756 wxDC
*arg1
= (wxDC
*) 0 ;
11757 wxPoint
*arg2
= 0 ;
11758 wxPoint
*arg3
= 0 ;
11759 wxPoint
*arg4
= 0 ;
11763 PyObject
* obj0
= 0 ;
11764 PyObject
* obj1
= 0 ;
11765 PyObject
* obj2
= 0 ;
11766 PyObject
* obj3
= 0 ;
11767 char *kwnames
[] = {
11768 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
11771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11776 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11780 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11784 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11788 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
11790 wxPyEndAllowThreads(__tstate
);
11791 if (PyErr_Occurred()) SWIG_fail
;
11793 Py_INCREF(Py_None
); resultobj
= Py_None
;
11800 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11801 PyObject
*resultobj
;
11802 wxDC
*arg1
= (wxDC
*) 0 ;
11807 PyObject
* obj0
= 0 ;
11808 PyObject
* obj1
= 0 ;
11809 PyObject
* obj2
= 0 ;
11810 PyObject
* obj3
= 0 ;
11811 PyObject
* obj4
= 0 ;
11812 char *kwnames
[] = {
11813 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11819 arg2
= (int)SWIG_As_int(obj1
);
11820 if (PyErr_Occurred()) SWIG_fail
;
11821 arg3
= (int)SWIG_As_int(obj2
);
11822 if (PyErr_Occurred()) SWIG_fail
;
11823 arg4
= (int)SWIG_As_int(obj3
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11825 arg5
= (int)SWIG_As_int(obj4
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11829 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
11831 wxPyEndAllowThreads(__tstate
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11834 Py_INCREF(Py_None
); resultobj
= Py_None
;
11841 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11842 PyObject
*resultobj
;
11843 wxDC
*arg1
= (wxDC
*) 0 ;
11846 PyObject
* obj0
= 0 ;
11847 PyObject
* obj1
= 0 ;
11848 char *kwnames
[] = {
11849 (char *) "self",(char *) "rect", NULL
11852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11857 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
11863 wxPyEndAllowThreads(__tstate
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11866 Py_INCREF(Py_None
); resultobj
= Py_None
;
11873 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11874 PyObject
*resultobj
;
11875 wxDC
*arg1
= (wxDC
*) 0 ;
11882 PyObject
* obj0
= 0 ;
11883 PyObject
* obj1
= 0 ;
11884 PyObject
* obj2
= 0 ;
11885 PyObject
* obj3
= 0 ;
11886 PyObject
* obj4
= 0 ;
11887 PyObject
* obj5
= 0 ;
11888 PyObject
* obj6
= 0 ;
11889 char *kwnames
[] = {
11890 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
11893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11896 arg2
= (int)SWIG_As_int(obj1
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11898 arg3
= (int)SWIG_As_int(obj2
);
11899 if (PyErr_Occurred()) SWIG_fail
;
11900 arg4
= (int)SWIG_As_int(obj3
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11902 arg5
= (int)SWIG_As_int(obj4
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11904 arg6
= (double)SWIG_As_double(obj5
);
11905 if (PyErr_Occurred()) SWIG_fail
;
11906 arg7
= (double)SWIG_As_double(obj6
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11910 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11912 wxPyEndAllowThreads(__tstate
);
11913 if (PyErr_Occurred()) SWIG_fail
;
11915 Py_INCREF(Py_None
); resultobj
= Py_None
;
11922 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11923 PyObject
*resultobj
;
11924 wxDC
*arg1
= (wxDC
*) 0 ;
11925 wxPoint
*arg2
= 0 ;
11931 PyObject
* obj0
= 0 ;
11932 PyObject
* obj1
= 0 ;
11933 PyObject
* obj2
= 0 ;
11934 PyObject
* obj3
= 0 ;
11935 PyObject
* obj4
= 0 ;
11936 char *kwnames
[] = {
11937 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
11940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11945 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11949 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11951 arg4
= (double)SWIG_As_double(obj3
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11953 arg5
= (double)SWIG_As_double(obj4
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11957 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
11959 wxPyEndAllowThreads(__tstate
);
11960 if (PyErr_Occurred()) SWIG_fail
;
11962 Py_INCREF(Py_None
); resultobj
= Py_None
;
11969 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11970 PyObject
*resultobj
;
11971 wxDC
*arg1
= (wxDC
*) 0 ;
11974 PyObject
* obj0
= 0 ;
11975 PyObject
* obj1
= 0 ;
11976 PyObject
* obj2
= 0 ;
11977 char *kwnames
[] = {
11978 (char *) "self",(char *) "x",(char *) "y", NULL
11981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11984 arg2
= (int)SWIG_As_int(obj1
);
11985 if (PyErr_Occurred()) SWIG_fail
;
11986 arg3
= (int)SWIG_As_int(obj2
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 (arg1
)->DrawPoint(arg2
,arg3
);
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11995 Py_INCREF(Py_None
); resultobj
= Py_None
;
12002 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12003 PyObject
*resultobj
;
12004 wxDC
*arg1
= (wxDC
*) 0 ;
12005 wxPoint
*arg2
= 0 ;
12007 PyObject
* obj0
= 0 ;
12008 PyObject
* obj1
= 0 ;
12009 char *kwnames
[] = {
12010 (char *) "self",(char *) "pt", NULL
12013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12018 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12022 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
12024 wxPyEndAllowThreads(__tstate
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12027 Py_INCREF(Py_None
); resultobj
= Py_None
;
12034 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12035 PyObject
*resultobj
;
12036 wxDC
*arg1
= (wxDC
*) 0 ;
12041 PyObject
* obj0
= 0 ;
12042 PyObject
* obj1
= 0 ;
12043 PyObject
* obj2
= 0 ;
12044 PyObject
* obj3
= 0 ;
12045 PyObject
* obj4
= 0 ;
12046 char *kwnames
[] = {
12047 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12053 arg2
= (int)SWIG_As_int(obj1
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12055 arg3
= (int)SWIG_As_int(obj2
);
12056 if (PyErr_Occurred()) SWIG_fail
;
12057 arg4
= (int)SWIG_As_int(obj3
);
12058 if (PyErr_Occurred()) SWIG_fail
;
12059 arg5
= (int)SWIG_As_int(obj4
);
12060 if (PyErr_Occurred()) SWIG_fail
;
12062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12063 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
12065 wxPyEndAllowThreads(__tstate
);
12066 if (PyErr_Occurred()) SWIG_fail
;
12068 Py_INCREF(Py_None
); resultobj
= Py_None
;
12075 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12076 PyObject
*resultobj
;
12077 wxDC
*arg1
= (wxDC
*) 0 ;
12080 PyObject
* obj0
= 0 ;
12081 PyObject
* obj1
= 0 ;
12082 char *kwnames
[] = {
12083 (char *) "self",(char *) "rect", NULL
12086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12091 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12095 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
12097 wxPyEndAllowThreads(__tstate
);
12098 if (PyErr_Occurred()) SWIG_fail
;
12100 Py_INCREF(Py_None
); resultobj
= Py_None
;
12107 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12108 PyObject
*resultobj
;
12109 wxDC
*arg1
= (wxDC
*) 0 ;
12110 wxPoint
*arg2
= 0 ;
12114 PyObject
* obj0
= 0 ;
12115 PyObject
* obj1
= 0 ;
12116 PyObject
* obj2
= 0 ;
12117 char *kwnames
[] = {
12118 (char *) "self",(char *) "pt",(char *) "sz", NULL
12121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12126 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12130 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12134 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12136 wxPyEndAllowThreads(__tstate
);
12137 if (PyErr_Occurred()) SWIG_fail
;
12139 Py_INCREF(Py_None
); resultobj
= Py_None
;
12146 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12147 PyObject
*resultobj
;
12148 wxDC
*arg1
= (wxDC
*) 0 ;
12154 PyObject
* obj0
= 0 ;
12155 PyObject
* obj1
= 0 ;
12156 PyObject
* obj2
= 0 ;
12157 PyObject
* obj3
= 0 ;
12158 PyObject
* obj4
= 0 ;
12159 PyObject
* obj5
= 0 ;
12160 char *kwnames
[] = {
12161 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
12164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12167 arg2
= (int)SWIG_As_int(obj1
);
12168 if (PyErr_Occurred()) SWIG_fail
;
12169 arg3
= (int)SWIG_As_int(obj2
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12171 arg4
= (int)SWIG_As_int(obj3
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12173 arg5
= (int)SWIG_As_int(obj4
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12175 arg6
= (double)SWIG_As_double(obj5
);
12176 if (PyErr_Occurred()) SWIG_fail
;
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12184 Py_INCREF(Py_None
); resultobj
= Py_None
;
12191 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
;
12193 wxDC
*arg1
= (wxDC
*) 0 ;
12197 PyObject
* obj0
= 0 ;
12198 PyObject
* obj1
= 0 ;
12199 PyObject
* obj2
= 0 ;
12200 char *kwnames
[] = {
12201 (char *) "self",(char *) "r",(char *) "radius", NULL
12204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12209 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12211 arg3
= (double)SWIG_As_double(obj2
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12220 Py_INCREF(Py_None
); resultobj
= Py_None
;
12227 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12228 PyObject
*resultobj
;
12229 wxDC
*arg1
= (wxDC
*) 0 ;
12230 wxPoint
*arg2
= 0 ;
12235 PyObject
* obj0
= 0 ;
12236 PyObject
* obj1
= 0 ;
12237 PyObject
* obj2
= 0 ;
12238 PyObject
* obj3
= 0 ;
12239 char *kwnames
[] = {
12240 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
12243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12248 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12252 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12254 arg4
= (double)SWIG_As_double(obj3
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12258 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
12260 wxPyEndAllowThreads(__tstate
);
12261 if (PyErr_Occurred()) SWIG_fail
;
12263 Py_INCREF(Py_None
); resultobj
= Py_None
;
12270 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12271 PyObject
*resultobj
;
12272 wxDC
*arg1
= (wxDC
*) 0 ;
12276 PyObject
* obj0
= 0 ;
12277 PyObject
* obj1
= 0 ;
12278 PyObject
* obj2
= 0 ;
12279 PyObject
* obj3
= 0 ;
12280 char *kwnames
[] = {
12281 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
12284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12287 arg2
= (int)SWIG_As_int(obj1
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12289 arg3
= (int)SWIG_As_int(obj2
);
12290 if (PyErr_Occurred()) SWIG_fail
;
12291 arg4
= (int)SWIG_As_int(obj3
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12295 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
12297 wxPyEndAllowThreads(__tstate
);
12298 if (PyErr_Occurred()) SWIG_fail
;
12300 Py_INCREF(Py_None
); resultobj
= Py_None
;
12307 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12308 PyObject
*resultobj
;
12309 wxDC
*arg1
= (wxDC
*) 0 ;
12310 wxPoint
*arg2
= 0 ;
12313 PyObject
* obj0
= 0 ;
12314 PyObject
* obj1
= 0 ;
12315 PyObject
* obj2
= 0 ;
12316 char *kwnames
[] = {
12317 (char *) "self",(char *) "pt",(char *) "radius", NULL
12320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12325 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12327 arg3
= (int)SWIG_As_int(obj2
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12331 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
12333 wxPyEndAllowThreads(__tstate
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12336 Py_INCREF(Py_None
); resultobj
= Py_None
;
12343 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12344 PyObject
*resultobj
;
12345 wxDC
*arg1
= (wxDC
*) 0 ;
12350 PyObject
* obj0
= 0 ;
12351 PyObject
* obj1
= 0 ;
12352 PyObject
* obj2
= 0 ;
12353 PyObject
* obj3
= 0 ;
12354 PyObject
* obj4
= 0 ;
12355 char *kwnames
[] = {
12356 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12362 arg2
= (int)SWIG_As_int(obj1
);
12363 if (PyErr_Occurred()) SWIG_fail
;
12364 arg3
= (int)SWIG_As_int(obj2
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12366 arg4
= (int)SWIG_As_int(obj3
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12368 arg5
= (int)SWIG_As_int(obj4
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12372 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
12374 wxPyEndAllowThreads(__tstate
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12377 Py_INCREF(Py_None
); resultobj
= Py_None
;
12384 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12385 PyObject
*resultobj
;
12386 wxDC
*arg1
= (wxDC
*) 0 ;
12389 PyObject
* obj0
= 0 ;
12390 PyObject
* obj1
= 0 ;
12391 char *kwnames
[] = {
12392 (char *) "self",(char *) "rect", NULL
12395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12400 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12404 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
12406 wxPyEndAllowThreads(__tstate
);
12407 if (PyErr_Occurred()) SWIG_fail
;
12409 Py_INCREF(Py_None
); resultobj
= Py_None
;
12416 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12417 PyObject
*resultobj
;
12418 wxDC
*arg1
= (wxDC
*) 0 ;
12419 wxPoint
*arg2
= 0 ;
12423 PyObject
* obj0
= 0 ;
12424 PyObject
* obj1
= 0 ;
12425 PyObject
* obj2
= 0 ;
12426 char *kwnames
[] = {
12427 (char *) "self",(char *) "pt",(char *) "sz", NULL
12430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12435 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12439 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12445 wxPyEndAllowThreads(__tstate
);
12446 if (PyErr_Occurred()) SWIG_fail
;
12448 Py_INCREF(Py_None
); resultobj
= Py_None
;
12455 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12456 PyObject
*resultobj
;
12457 wxDC
*arg1
= (wxDC
*) 0 ;
12461 PyObject
* obj0
= 0 ;
12462 PyObject
* obj1
= 0 ;
12463 PyObject
* obj2
= 0 ;
12464 PyObject
* obj3
= 0 ;
12465 char *kwnames
[] = {
12466 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
12469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
12473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12475 if (arg2
== NULL
) {
12476 PyErr_SetString(PyExc_TypeError
,"null reference");
12479 arg3
= (int)SWIG_As_int(obj2
);
12480 if (PyErr_Occurred()) SWIG_fail
;
12481 arg4
= (int)SWIG_As_int(obj3
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12485 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
12487 wxPyEndAllowThreads(__tstate
);
12488 if (PyErr_Occurred()) SWIG_fail
;
12490 Py_INCREF(Py_None
); resultobj
= Py_None
;
12497 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12498 PyObject
*resultobj
;
12499 wxDC
*arg1
= (wxDC
*) 0 ;
12501 wxPoint
*arg3
= 0 ;
12503 PyObject
* obj0
= 0 ;
12504 PyObject
* obj1
= 0 ;
12505 PyObject
* obj2
= 0 ;
12506 char *kwnames
[] = {
12507 (char *) "self",(char *) "icon",(char *) "pt", NULL
12510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12513 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
12514 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12516 if (arg2
== NULL
) {
12517 PyErr_SetString(PyExc_TypeError
,"null reference");
12522 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12526 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
12528 wxPyEndAllowThreads(__tstate
);
12529 if (PyErr_Occurred()) SWIG_fail
;
12531 Py_INCREF(Py_None
); resultobj
= Py_None
;
12538 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12539 PyObject
*resultobj
;
12540 wxDC
*arg1
= (wxDC
*) 0 ;
12541 wxBitmap
*arg2
= 0 ;
12544 bool arg5
= (bool) false ;
12545 PyObject
* obj0
= 0 ;
12546 PyObject
* obj1
= 0 ;
12547 PyObject
* obj2
= 0 ;
12548 PyObject
* obj3
= 0 ;
12549 PyObject
* obj4
= 0 ;
12550 char *kwnames
[] = {
12551 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
12554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
12558 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12560 if (arg2
== NULL
) {
12561 PyErr_SetString(PyExc_TypeError
,"null reference");
12564 arg3
= (int)SWIG_As_int(obj2
);
12565 if (PyErr_Occurred()) SWIG_fail
;
12566 arg4
= (int)SWIG_As_int(obj3
);
12567 if (PyErr_Occurred()) SWIG_fail
;
12569 arg5
= (bool)SWIG_As_bool(obj4
);
12570 if (PyErr_Occurred()) SWIG_fail
;
12573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12574 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
12576 wxPyEndAllowThreads(__tstate
);
12577 if (PyErr_Occurred()) SWIG_fail
;
12579 Py_INCREF(Py_None
); resultobj
= Py_None
;
12586 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12587 PyObject
*resultobj
;
12588 wxDC
*arg1
= (wxDC
*) 0 ;
12589 wxBitmap
*arg2
= 0 ;
12590 wxPoint
*arg3
= 0 ;
12591 bool arg4
= (bool) false ;
12593 PyObject
* obj0
= 0 ;
12594 PyObject
* obj1
= 0 ;
12595 PyObject
* obj2
= 0 ;
12596 PyObject
* obj3
= 0 ;
12597 char *kwnames
[] = {
12598 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
12601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12604 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
12605 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12607 if (arg2
== NULL
) {
12608 PyErr_SetString(PyExc_TypeError
,"null reference");
12613 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12616 arg4
= (bool)SWIG_As_bool(obj3
);
12617 if (PyErr_Occurred()) SWIG_fail
;
12620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12621 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12623 wxPyEndAllowThreads(__tstate
);
12624 if (PyErr_Occurred()) SWIG_fail
;
12626 Py_INCREF(Py_None
); resultobj
= Py_None
;
12633 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12634 PyObject
*resultobj
;
12635 wxDC
*arg1
= (wxDC
*) 0 ;
12636 wxString
*arg2
= 0 ;
12639 bool temp2
= false ;
12640 PyObject
* obj0
= 0 ;
12641 PyObject
* obj1
= 0 ;
12642 PyObject
* obj2
= 0 ;
12643 PyObject
* obj3
= 0 ;
12644 char *kwnames
[] = {
12645 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
12648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12652 arg2
= wxString_in_helper(obj1
);
12653 if (arg2
== NULL
) SWIG_fail
;
12656 arg3
= (int)SWIG_As_int(obj2
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12658 arg4
= (int)SWIG_As_int(obj3
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12662 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
12664 wxPyEndAllowThreads(__tstate
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12667 Py_INCREF(Py_None
); resultobj
= Py_None
;
12682 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12683 PyObject
*resultobj
;
12684 wxDC
*arg1
= (wxDC
*) 0 ;
12685 wxString
*arg2
= 0 ;
12686 wxPoint
*arg3
= 0 ;
12687 bool temp2
= false ;
12689 PyObject
* obj0
= 0 ;
12690 PyObject
* obj1
= 0 ;
12691 PyObject
* obj2
= 0 ;
12692 char *kwnames
[] = {
12693 (char *) "self",(char *) "text",(char *) "pt", NULL
12696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12700 arg2
= wxString_in_helper(obj1
);
12701 if (arg2
== NULL
) SWIG_fail
;
12706 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12710 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
12712 wxPyEndAllowThreads(__tstate
);
12713 if (PyErr_Occurred()) SWIG_fail
;
12715 Py_INCREF(Py_None
); resultobj
= Py_None
;
12730 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12731 PyObject
*resultobj
;
12732 wxDC
*arg1
= (wxDC
*) 0 ;
12733 wxString
*arg2
= 0 ;
12737 bool temp2
= false ;
12738 PyObject
* obj0
= 0 ;
12739 PyObject
* obj1
= 0 ;
12740 PyObject
* obj2
= 0 ;
12741 PyObject
* obj3
= 0 ;
12742 PyObject
* obj4
= 0 ;
12743 char *kwnames
[] = {
12744 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
12747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12751 arg2
= wxString_in_helper(obj1
);
12752 if (arg2
== NULL
) SWIG_fail
;
12755 arg3
= (int)SWIG_As_int(obj2
);
12756 if (PyErr_Occurred()) SWIG_fail
;
12757 arg4
= (int)SWIG_As_int(obj3
);
12758 if (PyErr_Occurred()) SWIG_fail
;
12759 arg5
= (double)SWIG_As_double(obj4
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12763 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12765 wxPyEndAllowThreads(__tstate
);
12766 if (PyErr_Occurred()) SWIG_fail
;
12768 Py_INCREF(Py_None
); resultobj
= Py_None
;
12783 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12784 PyObject
*resultobj
;
12785 wxDC
*arg1
= (wxDC
*) 0 ;
12786 wxString
*arg2
= 0 ;
12787 wxPoint
*arg3
= 0 ;
12789 bool temp2
= false ;
12791 PyObject
* obj0
= 0 ;
12792 PyObject
* obj1
= 0 ;
12793 PyObject
* obj2
= 0 ;
12794 PyObject
* obj3
= 0 ;
12795 char *kwnames
[] = {
12796 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
12799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12803 arg2
= wxString_in_helper(obj1
);
12804 if (arg2
== NULL
) SWIG_fail
;
12809 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12811 arg4
= (double)SWIG_As_double(obj3
);
12812 if (PyErr_Occurred()) SWIG_fail
;
12814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12815 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12817 wxPyEndAllowThreads(__tstate
);
12818 if (PyErr_Occurred()) SWIG_fail
;
12820 Py_INCREF(Py_None
); resultobj
= Py_None
;
12835 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12836 PyObject
*resultobj
;
12837 wxDC
*arg1
= (wxDC
*) 0 ;
12842 wxDC
*arg6
= (wxDC
*) 0 ;
12845 int arg9
= (int) wxCOPY
;
12846 bool arg10
= (bool) false ;
12847 int arg11
= (int) -1 ;
12848 int arg12
= (int) -1 ;
12850 PyObject
* obj0
= 0 ;
12851 PyObject
* obj1
= 0 ;
12852 PyObject
* obj2
= 0 ;
12853 PyObject
* obj3
= 0 ;
12854 PyObject
* obj4
= 0 ;
12855 PyObject
* obj5
= 0 ;
12856 PyObject
* obj6
= 0 ;
12857 PyObject
* obj7
= 0 ;
12858 PyObject
* obj8
= 0 ;
12859 PyObject
* obj9
= 0 ;
12860 PyObject
* obj10
= 0 ;
12861 PyObject
* obj11
= 0 ;
12862 char *kwnames
[] = {
12863 (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
12866 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
;
12867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12869 arg2
= (int)SWIG_As_int(obj1
);
12870 if (PyErr_Occurred()) SWIG_fail
;
12871 arg3
= (int)SWIG_As_int(obj2
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12873 arg4
= (int)SWIG_As_int(obj3
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12875 arg5
= (int)SWIG_As_int(obj4
);
12876 if (PyErr_Occurred()) SWIG_fail
;
12877 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
12878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12879 arg7
= (int)SWIG_As_int(obj6
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12881 arg8
= (int)SWIG_As_int(obj7
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 arg9
= (int)SWIG_As_int(obj8
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12888 arg10
= (bool)SWIG_As_bool(obj9
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12892 arg11
= (int)SWIG_As_int(obj10
);
12893 if (PyErr_Occurred()) SWIG_fail
;
12896 arg12
= (int)SWIG_As_int(obj11
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12901 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12903 wxPyEndAllowThreads(__tstate
);
12904 if (PyErr_Occurred()) SWIG_fail
;
12907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12915 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12916 PyObject
*resultobj
;
12917 wxDC
*arg1
= (wxDC
*) 0 ;
12918 wxPoint
*arg2
= 0 ;
12920 wxDC
*arg4
= (wxDC
*) 0 ;
12921 wxPoint
*arg5
= 0 ;
12922 int arg6
= (int) wxCOPY
;
12923 bool arg7
= (bool) false ;
12924 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
12925 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
12931 PyObject
* obj0
= 0 ;
12932 PyObject
* obj1
= 0 ;
12933 PyObject
* obj2
= 0 ;
12934 PyObject
* obj3
= 0 ;
12935 PyObject
* obj4
= 0 ;
12936 PyObject
* obj5
= 0 ;
12937 PyObject
* obj6
= 0 ;
12938 PyObject
* obj7
= 0 ;
12939 char *kwnames
[] = {
12940 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12948 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12952 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12954 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
12955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12958 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12961 arg6
= (int)SWIG_As_int(obj5
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12965 arg7
= (bool)SWIG_As_bool(obj6
);
12966 if (PyErr_Occurred()) SWIG_fail
;
12971 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
12975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12976 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
12978 wxPyEndAllowThreads(__tstate
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12990 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12991 PyObject
*resultobj
;
12992 wxDC
*arg1
= (wxDC
*) 0 ;
12997 PyObject
* obj0
= 0 ;
12998 PyObject
* obj1
= 0 ;
12999 PyObject
* obj2
= 0 ;
13000 PyObject
* obj3
= 0 ;
13001 PyObject
* obj4
= 0 ;
13002 char *kwnames
[] = {
13003 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13009 arg2
= (int)SWIG_As_int(obj1
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13011 arg3
= (int)SWIG_As_int(obj2
);
13012 if (PyErr_Occurred()) SWIG_fail
;
13013 arg4
= (int)SWIG_As_int(obj3
);
13014 if (PyErr_Occurred()) SWIG_fail
;
13015 arg5
= (int)SWIG_As_int(obj4
);
13016 if (PyErr_Occurred()) SWIG_fail
;
13018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13019 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
13021 wxPyEndAllowThreads(__tstate
);
13022 if (PyErr_Occurred()) SWIG_fail
;
13024 Py_INCREF(Py_None
); resultobj
= Py_None
;
13031 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13032 PyObject
*resultobj
;
13033 wxDC
*arg1
= (wxDC
*) 0 ;
13034 wxPoint
*arg2
= 0 ;
13038 PyObject
* obj0
= 0 ;
13039 PyObject
* obj1
= 0 ;
13040 PyObject
* obj2
= 0 ;
13041 char *kwnames
[] = {
13042 (char *) "self",(char *) "pt",(char *) "sz", NULL
13045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13050 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13054 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13058 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13060 wxPyEndAllowThreads(__tstate
);
13061 if (PyErr_Occurred()) SWIG_fail
;
13063 Py_INCREF(Py_None
); resultobj
= Py_None
;
13070 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13071 PyObject
*resultobj
;
13072 wxDC
*arg1
= (wxDC
*) 0 ;
13073 wxRegion
*arg2
= 0 ;
13074 PyObject
* obj0
= 0 ;
13075 PyObject
* obj1
= 0 ;
13076 char *kwnames
[] = {
13077 (char *) "self",(char *) "region", NULL
13080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
13081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
13084 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13086 if (arg2
== NULL
) {
13087 PyErr_SetString(PyExc_TypeError
,"null reference");
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13092 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
13094 wxPyEndAllowThreads(__tstate
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13097 Py_INCREF(Py_None
); resultobj
= Py_None
;
13104 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13105 PyObject
*resultobj
;
13106 wxDC
*arg1
= (wxDC
*) 0 ;
13109 PyObject
* obj0
= 0 ;
13110 PyObject
* obj1
= 0 ;
13111 char *kwnames
[] = {
13112 (char *) "self",(char *) "rect", NULL
13115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13120 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13124 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
13126 wxPyEndAllowThreads(__tstate
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13129 Py_INCREF(Py_None
); resultobj
= Py_None
;
13136 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13137 PyObject
*resultobj
;
13138 wxDC
*arg1
= (wxDC
*) 0 ;
13140 wxPoint
*arg3
= (wxPoint
*) 0 ;
13141 int arg4
= (int) 0 ;
13142 int arg5
= (int) 0 ;
13143 PyObject
* obj0
= 0 ;
13144 PyObject
* obj1
= 0 ;
13145 PyObject
* obj2
= 0 ;
13146 PyObject
* obj3
= 0 ;
13147 char *kwnames
[] = {
13148 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
13151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13155 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
13156 if (arg3
== NULL
) SWIG_fail
;
13159 arg4
= (int)SWIG_As_int(obj2
);
13160 if (PyErr_Occurred()) SWIG_fail
;
13163 arg5
= (int)SWIG_As_int(obj3
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13168 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
13170 wxPyEndAllowThreads(__tstate
);
13171 if (PyErr_Occurred()) SWIG_fail
;
13173 Py_INCREF(Py_None
); resultobj
= Py_None
;
13175 if (arg3
) delete [] arg3
;
13180 if (arg3
) delete [] arg3
;
13186 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
;
13188 wxDC
*arg1
= (wxDC
*) 0 ;
13190 wxPoint
*arg3
= (wxPoint
*) 0 ;
13191 int arg4
= (int) 0 ;
13192 int arg5
= (int) 0 ;
13193 int arg6
= (int) wxODDEVEN_RULE
;
13194 PyObject
* obj0
= 0 ;
13195 PyObject
* obj1
= 0 ;
13196 PyObject
* obj2
= 0 ;
13197 PyObject
* obj3
= 0 ;
13198 PyObject
* obj4
= 0 ;
13199 char *kwnames
[] = {
13200 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
13203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13207 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
13208 if (arg3
== NULL
) SWIG_fail
;
13211 arg4
= (int)SWIG_As_int(obj2
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13215 arg5
= (int)SWIG_As_int(obj3
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13219 arg6
= (int)SWIG_As_int(obj4
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13224 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
13226 wxPyEndAllowThreads(__tstate
);
13227 if (PyErr_Occurred()) SWIG_fail
;
13229 Py_INCREF(Py_None
); resultobj
= Py_None
;
13231 if (arg3
) delete [] arg3
;
13236 if (arg3
) delete [] arg3
;
13242 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13243 PyObject
*resultobj
;
13244 wxDC
*arg1
= (wxDC
*) 0 ;
13245 wxString
*arg2
= 0 ;
13247 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
13248 int arg5
= (int) -1 ;
13249 bool temp2
= false ;
13251 PyObject
* obj0
= 0 ;
13252 PyObject
* obj1
= 0 ;
13253 PyObject
* obj2
= 0 ;
13254 PyObject
* obj3
= 0 ;
13255 PyObject
* obj4
= 0 ;
13256 char *kwnames
[] = {
13257 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
13260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13264 arg2
= wxString_in_helper(obj1
);
13265 if (arg2
== NULL
) SWIG_fail
;
13270 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
13273 arg4
= (int)SWIG_As_int(obj3
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13277 arg5
= (int)SWIG_As_int(obj4
);
13278 if (PyErr_Occurred()) SWIG_fail
;
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
13284 wxPyEndAllowThreads(__tstate
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13287 Py_INCREF(Py_None
); resultobj
= Py_None
;
13302 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13303 PyObject
*resultobj
;
13304 wxDC
*arg1
= (wxDC
*) 0 ;
13305 wxString
*arg2
= 0 ;
13306 wxBitmap
*arg3
= 0 ;
13308 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
13309 int arg6
= (int) -1 ;
13311 bool temp2
= false ;
13313 PyObject
* obj0
= 0 ;
13314 PyObject
* obj1
= 0 ;
13315 PyObject
* obj2
= 0 ;
13316 PyObject
* obj3
= 0 ;
13317 PyObject
* obj4
= 0 ;
13318 PyObject
* obj5
= 0 ;
13319 char *kwnames
[] = {
13320 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
13323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13327 arg2
= wxString_in_helper(obj1
);
13328 if (arg2
== NULL
) SWIG_fail
;
13331 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
13332 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13334 if (arg3
== NULL
) {
13335 PyErr_SetString(PyExc_TypeError
,"null reference");
13340 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
13343 arg5
= (int)SWIG_As_int(obj4
);
13344 if (PyErr_Occurred()) SWIG_fail
;
13347 arg6
= (int)SWIG_As_int(obj5
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13352 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13358 wxRect
* resultptr
;
13359 resultptr
= new wxRect((wxRect
&) result
);
13360 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13376 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13377 PyObject
*resultobj
;
13378 wxDC
*arg1
= (wxDC
*) 0 ;
13380 wxPoint
*arg3
= (wxPoint
*) 0 ;
13381 PyObject
* obj0
= 0 ;
13382 PyObject
* obj1
= 0 ;
13383 char *kwnames
[] = {
13384 (char *) "self",(char *) "points", NULL
13387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
13388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13391 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
13392 if (arg3
== NULL
) SWIG_fail
;
13395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13396 (arg1
)->DrawSpline(arg2
,arg3
);
13398 wxPyEndAllowThreads(__tstate
);
13399 if (PyErr_Occurred()) SWIG_fail
;
13401 Py_INCREF(Py_None
); resultobj
= Py_None
;
13403 if (arg3
) delete [] arg3
;
13408 if (arg3
) delete [] arg3
;
13414 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13415 PyObject
*resultobj
;
13416 wxDC
*arg1
= (wxDC
*) 0 ;
13417 PyObject
* obj0
= 0 ;
13418 char *kwnames
[] = {
13419 (char *) "self", NULL
13422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
13423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13432 Py_INCREF(Py_None
); resultobj
= Py_None
;
13439 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13440 PyObject
*resultobj
;
13441 wxDC
*arg1
= (wxDC
*) 0 ;
13442 wxString
*arg2
= 0 ;
13444 bool temp2
= false ;
13445 PyObject
* obj0
= 0 ;
13446 PyObject
* obj1
= 0 ;
13447 char *kwnames
[] = {
13448 (char *) "self",(char *) "message", NULL
13451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
13452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13455 arg2
= wxString_in_helper(obj1
);
13456 if (arg2
== NULL
) SWIG_fail
;
13460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13461 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
13463 wxPyEndAllowThreads(__tstate
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13483 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13484 PyObject
*resultobj
;
13485 wxDC
*arg1
= (wxDC
*) 0 ;
13486 PyObject
* obj0
= 0 ;
13487 char *kwnames
[] = {
13488 (char *) "self", NULL
13491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
13492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 wxPyEndAllowThreads(__tstate
);
13499 if (PyErr_Occurred()) SWIG_fail
;
13501 Py_INCREF(Py_None
); resultobj
= Py_None
;
13508 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13509 PyObject
*resultobj
;
13510 wxDC
*arg1
= (wxDC
*) 0 ;
13511 PyObject
* obj0
= 0 ;
13512 char *kwnames
[] = {
13513 (char *) "self", NULL
13516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
13517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13521 (arg1
)->StartPage();
13523 wxPyEndAllowThreads(__tstate
);
13524 if (PyErr_Occurred()) SWIG_fail
;
13526 Py_INCREF(Py_None
); resultobj
= Py_None
;
13533 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13534 PyObject
*resultobj
;
13535 wxDC
*arg1
= (wxDC
*) 0 ;
13536 PyObject
* obj0
= 0 ;
13537 char *kwnames
[] = {
13538 (char *) "self", NULL
13541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
13542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13548 wxPyEndAllowThreads(__tstate
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13551 Py_INCREF(Py_None
); resultobj
= Py_None
;
13558 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13559 PyObject
*resultobj
;
13560 wxDC
*arg1
= (wxDC
*) 0 ;
13562 PyObject
* obj0
= 0 ;
13563 PyObject
* obj1
= 0 ;
13564 char *kwnames
[] = {
13565 (char *) "self",(char *) "font", NULL
13568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13572 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13574 if (arg2
== NULL
) {
13575 PyErr_SetString(PyExc_TypeError
,"null reference");
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 (arg1
)->SetFont((wxFont
const &)*arg2
);
13582 wxPyEndAllowThreads(__tstate
);
13583 if (PyErr_Occurred()) SWIG_fail
;
13585 Py_INCREF(Py_None
); resultobj
= Py_None
;
13592 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13593 PyObject
*resultobj
;
13594 wxDC
*arg1
= (wxDC
*) 0 ;
13596 PyObject
* obj0
= 0 ;
13597 PyObject
* obj1
= 0 ;
13598 char *kwnames
[] = {
13599 (char *) "self",(char *) "pen", NULL
13602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
13603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
13606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13608 if (arg2
== NULL
) {
13609 PyErr_SetString(PyExc_TypeError
,"null reference");
13613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13614 (arg1
)->SetPen((wxPen
const &)*arg2
);
13616 wxPyEndAllowThreads(__tstate
);
13617 if (PyErr_Occurred()) SWIG_fail
;
13619 Py_INCREF(Py_None
); resultobj
= Py_None
;
13626 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13627 PyObject
*resultobj
;
13628 wxDC
*arg1
= (wxDC
*) 0 ;
13629 wxBrush
*arg2
= 0 ;
13630 PyObject
* obj0
= 0 ;
13631 PyObject
* obj1
= 0 ;
13632 char *kwnames
[] = {
13633 (char *) "self",(char *) "brush", NULL
13636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
13637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13640 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13642 if (arg2
== NULL
) {
13643 PyErr_SetString(PyExc_TypeError
,"null reference");
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13653 Py_INCREF(Py_None
); resultobj
= Py_None
;
13660 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13661 PyObject
*resultobj
;
13662 wxDC
*arg1
= (wxDC
*) 0 ;
13663 wxBrush
*arg2
= 0 ;
13664 PyObject
* obj0
= 0 ;
13665 PyObject
* obj1
= 0 ;
13666 char *kwnames
[] = {
13667 (char *) "self",(char *) "brush", NULL
13670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13674 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13676 if (arg2
== NULL
) {
13677 PyErr_SetString(PyExc_TypeError
,"null reference");
13681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13682 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
13684 wxPyEndAllowThreads(__tstate
);
13685 if (PyErr_Occurred()) SWIG_fail
;
13687 Py_INCREF(Py_None
); resultobj
= Py_None
;
13694 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13695 PyObject
*resultobj
;
13696 wxDC
*arg1
= (wxDC
*) 0 ;
13698 PyObject
* obj0
= 0 ;
13699 PyObject
* obj1
= 0 ;
13700 char *kwnames
[] = {
13701 (char *) "self",(char *) "mode", NULL
13704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13707 arg2
= (int)SWIG_As_int(obj1
);
13708 if (PyErr_Occurred()) SWIG_fail
;
13710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13711 (arg1
)->SetBackgroundMode(arg2
);
13713 wxPyEndAllowThreads(__tstate
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13716 Py_INCREF(Py_None
); resultobj
= Py_None
;
13723 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13724 PyObject
*resultobj
;
13725 wxDC
*arg1
= (wxDC
*) 0 ;
13726 wxPalette
*arg2
= 0 ;
13727 PyObject
* obj0
= 0 ;
13728 PyObject
* obj1
= 0 ;
13729 char *kwnames
[] = {
13730 (char *) "self",(char *) "palette", NULL
13733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
13734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
13737 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13739 if (arg2
== NULL
) {
13740 PyErr_SetString(PyExc_TypeError
,"null reference");
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
13747 wxPyEndAllowThreads(__tstate
);
13748 if (PyErr_Occurred()) SWIG_fail
;
13750 Py_INCREF(Py_None
); resultobj
= Py_None
;
13757 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13758 PyObject
*resultobj
;
13759 wxDC
*arg1
= (wxDC
*) 0 ;
13760 PyObject
* obj0
= 0 ;
13761 char *kwnames
[] = {
13762 (char *) "self", NULL
13765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
13766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13770 (arg1
)->DestroyClippingRegion();
13772 wxPyEndAllowThreads(__tstate
);
13773 if (PyErr_Occurred()) SWIG_fail
;
13775 Py_INCREF(Py_None
); resultobj
= Py_None
;
13782 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13783 PyObject
*resultobj
;
13784 wxDC
*arg1
= (wxDC
*) 0 ;
13785 int *arg2
= (int *) 0 ;
13786 int *arg3
= (int *) 0 ;
13787 int *arg4
= (int *) 0 ;
13788 int *arg5
= (int *) 0 ;
13797 PyObject
* obj0
= 0 ;
13798 char *kwnames
[] = {
13799 (char *) "self", NULL
13802 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13803 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13804 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13805 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
13807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13811 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
13813 wxPyEndAllowThreads(__tstate
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13816 Py_INCREF(Py_None
); resultobj
= Py_None
;
13817 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13818 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13819 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13820 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13821 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13822 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13823 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13824 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13831 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13832 PyObject
*resultobj
;
13833 wxDC
*arg1
= (wxDC
*) 0 ;
13835 PyObject
* obj0
= 0 ;
13836 char *kwnames
[] = {
13837 (char *) "self", NULL
13840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
13841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13845 result
= wxDC_GetClippingRect(arg1
);
13847 wxPyEndAllowThreads(__tstate
);
13848 if (PyErr_Occurred()) SWIG_fail
;
13851 wxRect
* resultptr
;
13852 resultptr
= new wxRect((wxRect
&) result
);
13853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13861 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
;
13863 wxDC
*arg1
= (wxDC
*) 0 ;
13865 PyObject
* obj0
= 0 ;
13866 char *kwnames
[] = {
13867 (char *) "self", NULL
13870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
13871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13875 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
13877 wxPyEndAllowThreads(__tstate
);
13878 if (PyErr_Occurred()) SWIG_fail
;
13880 resultobj
= SWIG_From_int((int)result
);
13887 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13888 PyObject
*resultobj
;
13889 wxDC
*arg1
= (wxDC
*) 0 ;
13891 PyObject
* obj0
= 0 ;
13892 char *kwnames
[] = {
13893 (char *) "self", NULL
13896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
13897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13901 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
13903 wxPyEndAllowThreads(__tstate
);
13904 if (PyErr_Occurred()) SWIG_fail
;
13906 resultobj
= SWIG_From_int((int)result
);
13913 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13914 PyObject
*resultobj
;
13915 wxDC
*arg1
= (wxDC
*) 0 ;
13916 wxString
*arg2
= 0 ;
13917 int *arg3
= (int *) 0 ;
13918 int *arg4
= (int *) 0 ;
13919 bool temp2
= false ;
13924 PyObject
* obj0
= 0 ;
13925 PyObject
* obj1
= 0 ;
13926 char *kwnames
[] = {
13927 (char *) "self",(char *) "string", NULL
13930 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13931 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
13933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13936 arg2
= wxString_in_helper(obj1
);
13937 if (arg2
== NULL
) SWIG_fail
;
13941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13942 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
13944 wxPyEndAllowThreads(__tstate
);
13945 if (PyErr_Occurred()) SWIG_fail
;
13947 Py_INCREF(Py_None
); resultobj
= Py_None
;
13948 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13949 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13950 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13951 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13966 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13967 PyObject
*resultobj
;
13968 wxDC
*arg1
= (wxDC
*) 0 ;
13969 wxString
*arg2
= 0 ;
13970 int *arg3
= (int *) 0 ;
13971 int *arg4
= (int *) 0 ;
13972 int *arg5
= (int *) 0 ;
13973 int *arg6
= (int *) 0 ;
13974 wxFont
*arg7
= (wxFont
*) NULL
;
13975 bool temp2
= false ;
13984 PyObject
* obj0
= 0 ;
13985 PyObject
* obj1
= 0 ;
13986 PyObject
* obj2
= 0 ;
13987 char *kwnames
[] = {
13988 (char *) "self",(char *) "string",(char *) "font", NULL
13991 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13992 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13993 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13994 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
13995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13999 arg2
= wxString_in_helper(obj1
);
14000 if (arg2
== NULL
) SWIG_fail
;
14004 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
14005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14009 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14011 wxPyEndAllowThreads(__tstate
);
14012 if (PyErr_Occurred()) SWIG_fail
;
14014 Py_INCREF(Py_None
); resultobj
= Py_None
;
14015 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14016 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14017 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
14018 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
14019 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
14020 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
14021 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
14022 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
14037 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14038 PyObject
*resultobj
;
14039 wxDC
*arg1
= (wxDC
*) 0 ;
14040 wxString
*arg2
= 0 ;
14041 int *arg3
= (int *) 0 ;
14042 int *arg4
= (int *) 0 ;
14043 int *arg5
= (int *) 0 ;
14044 wxFont
*arg6
= (wxFont
*) NULL
;
14045 bool temp2
= false ;
14052 PyObject
* obj0
= 0 ;
14053 PyObject
* obj1
= 0 ;
14054 PyObject
* obj2
= 0 ;
14055 char *kwnames
[] = {
14056 (char *) "self",(char *) "text",(char *) "font", NULL
14059 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14060 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
14061 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
14062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14066 arg2
= wxString_in_helper(obj1
);
14067 if (arg2
== NULL
) SWIG_fail
;
14071 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
14072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14076 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
14078 wxPyEndAllowThreads(__tstate
);
14079 if (PyErr_Occurred()) SWIG_fail
;
14081 Py_INCREF(Py_None
); resultobj
= Py_None
;
14082 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14083 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14084 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
14085 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
14086 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
14087 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
14102 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14103 PyObject
*resultobj
;
14104 wxDC
*arg1
= (wxDC
*) 0 ;
14105 wxString
*arg2
= 0 ;
14107 bool temp2
= false ;
14108 PyObject
* obj0
= 0 ;
14109 PyObject
* obj1
= 0 ;
14110 char *kwnames
[] = {
14111 (char *) "self",(char *) "text", NULL
14114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
14115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14118 arg2
= wxString_in_helper(obj1
);
14119 if (arg2
== NULL
) SWIG_fail
;
14123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14124 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
14126 wxPyEndAllowThreads(__tstate
);
14127 if (PyErr_Occurred()) SWIG_fail
;
14130 resultobj
= PyList_New(0);
14132 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
14133 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
14134 PyList_Append(resultobj
, val
);
14152 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14153 PyObject
*resultobj
;
14154 wxDC
*arg1
= (wxDC
*) 0 ;
14156 PyObject
* obj0
= 0 ;
14157 char *kwnames
[] = {
14158 (char *) "self", NULL
14161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
14162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14166 result
= (arg1
)->GetSize();
14168 wxPyEndAllowThreads(__tstate
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14172 wxSize
* resultptr
;
14173 resultptr
= new wxSize((wxSize
&) result
);
14174 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14182 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14183 PyObject
*resultobj
;
14184 wxDC
*arg1
= (wxDC
*) 0 ;
14185 int *arg2
= (int *) 0 ;
14186 int *arg3
= (int *) 0 ;
14191 PyObject
* obj0
= 0 ;
14192 char *kwnames
[] = {
14193 (char *) "self", NULL
14196 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14197 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
14199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14203 (arg1
)->GetSize(arg2
,arg3
);
14205 wxPyEndAllowThreads(__tstate
);
14206 if (PyErr_Occurred()) SWIG_fail
;
14208 Py_INCREF(Py_None
); resultobj
= Py_None
;
14209 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14210 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14211 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14212 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14219 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14220 PyObject
*resultobj
;
14221 wxDC
*arg1
= (wxDC
*) 0 ;
14223 PyObject
* obj0
= 0 ;
14224 char *kwnames
[] = {
14225 (char *) "self", NULL
14228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
14229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 result
= ((wxDC
const *)arg1
)->GetSizeMM();
14235 wxPyEndAllowThreads(__tstate
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14239 wxSize
* resultptr
;
14240 resultptr
= new wxSize((wxSize
&) result
);
14241 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14249 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14250 PyObject
*resultobj
;
14251 wxDC
*arg1
= (wxDC
*) 0 ;
14252 int *arg2
= (int *) 0 ;
14253 int *arg3
= (int *) 0 ;
14258 PyObject
* obj0
= 0 ;
14259 char *kwnames
[] = {
14260 (char *) "self", NULL
14263 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14264 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
14266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14270 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
14272 wxPyEndAllowThreads(__tstate
);
14273 if (PyErr_Occurred()) SWIG_fail
;
14275 Py_INCREF(Py_None
); resultobj
= Py_None
;
14276 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14277 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14278 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14279 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14286 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14287 PyObject
*resultobj
;
14288 wxDC
*arg1
= (wxDC
*) 0 ;
14291 PyObject
* obj0
= 0 ;
14292 PyObject
* obj1
= 0 ;
14293 char *kwnames
[] = {
14294 (char *) "self",(char *) "x", NULL
14297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
14298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14300 arg2
= (int)SWIG_As_int(obj1
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14304 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
14306 wxPyEndAllowThreads(__tstate
);
14307 if (PyErr_Occurred()) SWIG_fail
;
14309 resultobj
= SWIG_From_int((int)result
);
14316 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
;
14318 wxDC
*arg1
= (wxDC
*) 0 ;
14321 PyObject
* obj0
= 0 ;
14322 PyObject
* obj1
= 0 ;
14323 char *kwnames
[] = {
14324 (char *) "self",(char *) "y", NULL
14327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
14328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14330 arg2
= (int)SWIG_As_int(obj1
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14334 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
14336 wxPyEndAllowThreads(__tstate
);
14337 if (PyErr_Occurred()) SWIG_fail
;
14339 resultobj
= SWIG_From_int((int)result
);
14346 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14347 PyObject
*resultobj
;
14348 wxDC
*arg1
= (wxDC
*) 0 ;
14351 PyObject
* obj0
= 0 ;
14352 PyObject
* obj1
= 0 ;
14353 char *kwnames
[] = {
14354 (char *) "self",(char *) "x", NULL
14357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
14358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14360 arg2
= (int)SWIG_As_int(obj1
);
14361 if (PyErr_Occurred()) SWIG_fail
;
14363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14364 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
14366 wxPyEndAllowThreads(__tstate
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14369 resultobj
= SWIG_From_int((int)result
);
14376 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14377 PyObject
*resultobj
;
14378 wxDC
*arg1
= (wxDC
*) 0 ;
14381 PyObject
* obj0
= 0 ;
14382 PyObject
* obj1
= 0 ;
14383 char *kwnames
[] = {
14384 (char *) "self",(char *) "y", NULL
14387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
14388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14390 arg2
= (int)SWIG_As_int(obj1
);
14391 if (PyErr_Occurred()) SWIG_fail
;
14393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14394 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
14396 wxPyEndAllowThreads(__tstate
);
14397 if (PyErr_Occurred()) SWIG_fail
;
14399 resultobj
= SWIG_From_int((int)result
);
14406 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14407 PyObject
*resultobj
;
14408 wxDC
*arg1
= (wxDC
*) 0 ;
14411 PyObject
* obj0
= 0 ;
14412 PyObject
* obj1
= 0 ;
14413 char *kwnames
[] = {
14414 (char *) "self",(char *) "x", NULL
14417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
14418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14420 arg2
= (int)SWIG_As_int(obj1
);
14421 if (PyErr_Occurred()) SWIG_fail
;
14423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14424 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
14426 wxPyEndAllowThreads(__tstate
);
14427 if (PyErr_Occurred()) SWIG_fail
;
14429 resultobj
= SWIG_From_int((int)result
);
14436 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14437 PyObject
*resultobj
;
14438 wxDC
*arg1
= (wxDC
*) 0 ;
14441 PyObject
* obj0
= 0 ;
14442 PyObject
* obj1
= 0 ;
14443 char *kwnames
[] = {
14444 (char *) "self",(char *) "y", NULL
14447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
14448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14450 arg2
= (int)SWIG_As_int(obj1
);
14451 if (PyErr_Occurred()) SWIG_fail
;
14453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14454 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
14456 wxPyEndAllowThreads(__tstate
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14459 resultobj
= SWIG_From_int((int)result
);
14466 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14467 PyObject
*resultobj
;
14468 wxDC
*arg1
= (wxDC
*) 0 ;
14471 PyObject
* obj0
= 0 ;
14472 PyObject
* obj1
= 0 ;
14473 char *kwnames
[] = {
14474 (char *) "self",(char *) "x", NULL
14477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
14478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14480 arg2
= (int)SWIG_As_int(obj1
);
14481 if (PyErr_Occurred()) SWIG_fail
;
14483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14484 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
14486 wxPyEndAllowThreads(__tstate
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14489 resultobj
= SWIG_From_int((int)result
);
14496 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14497 PyObject
*resultobj
;
14498 wxDC
*arg1
= (wxDC
*) 0 ;
14501 PyObject
* obj0
= 0 ;
14502 PyObject
* obj1
= 0 ;
14503 char *kwnames
[] = {
14504 (char *) "self",(char *) "y", NULL
14507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
14508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14510 arg2
= (int)SWIG_As_int(obj1
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14514 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
14516 wxPyEndAllowThreads(__tstate
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14519 resultobj
= SWIG_From_int((int)result
);
14526 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14527 PyObject
*resultobj
;
14528 wxDC
*arg1
= (wxDC
*) 0 ;
14530 PyObject
* obj0
= 0 ;
14531 char *kwnames
[] = {
14532 (char *) "self", NULL
14535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
14536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14554 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14555 PyObject
*resultobj
;
14556 wxDC
*arg1
= (wxDC
*) 0 ;
14558 PyObject
* obj0
= 0 ;
14559 char *kwnames
[] = {
14560 (char *) "self", NULL
14563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
14564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14568 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
14570 wxPyEndAllowThreads(__tstate
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14582 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
;
14584 wxDC
*arg1
= (wxDC
*) 0 ;
14586 PyObject
* obj0
= 0 ;
14587 char *kwnames
[] = {
14588 (char *) "self", NULL
14591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
14592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 result
= (int)((wxDC
const *)arg1
)->GetDepth();
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14601 resultobj
= SWIG_From_int((int)result
);
14608 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14609 PyObject
*resultobj
;
14610 wxDC
*arg1
= (wxDC
*) 0 ;
14612 PyObject
* obj0
= 0 ;
14613 char *kwnames
[] = {
14614 (char *) "self", NULL
14617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
14618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14622 result
= ((wxDC
const *)arg1
)->GetPPI();
14624 wxPyEndAllowThreads(__tstate
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14628 wxSize
* resultptr
;
14629 resultptr
= new wxSize((wxSize
&) result
);
14630 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14638 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14639 PyObject
*resultobj
;
14640 wxDC
*arg1
= (wxDC
*) 0 ;
14642 PyObject
* obj0
= 0 ;
14643 char *kwnames
[] = {
14644 (char *) "self", NULL
14647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
14648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 result
= (bool)((wxDC
const *)arg1
)->Ok();
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14666 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14667 PyObject
*resultobj
;
14668 wxDC
*arg1
= (wxDC
*) 0 ;
14670 PyObject
* obj0
= 0 ;
14671 char *kwnames
[] = {
14672 (char *) "self", NULL
14675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
14676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14680 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
14682 wxPyEndAllowThreads(__tstate
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14685 resultobj
= SWIG_From_int((int)result
);
14692 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14693 PyObject
*resultobj
;
14694 wxDC
*arg1
= (wxDC
*) 0 ;
14696 PyObject
* obj0
= 0 ;
14697 char *kwnames
[] = {
14698 (char *) "self", NULL
14701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
14702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14707 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
14708 result
= (wxBrush
*) &_result_ref
;
14711 wxPyEndAllowThreads(__tstate
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14715 wxBrush
* resultptr
= new wxBrush(*result
);
14716 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14724 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14725 PyObject
*resultobj
;
14726 wxDC
*arg1
= (wxDC
*) 0 ;
14728 PyObject
* obj0
= 0 ;
14729 char *kwnames
[] = {
14730 (char *) "self", NULL
14733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
14734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14739 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
14740 result
= (wxBrush
*) &_result_ref
;
14743 wxPyEndAllowThreads(__tstate
);
14744 if (PyErr_Occurred()) SWIG_fail
;
14747 wxBrush
* resultptr
= new wxBrush(*result
);
14748 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14756 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
;
14758 wxDC
*arg1
= (wxDC
*) 0 ;
14760 PyObject
* obj0
= 0 ;
14761 char *kwnames
[] = {
14762 (char *) "self", NULL
14765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
14766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14771 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
14772 result
= (wxFont
*) &_result_ref
;
14775 wxPyEndAllowThreads(__tstate
);
14776 if (PyErr_Occurred()) SWIG_fail
;
14779 wxFont
* resultptr
= new wxFont(*result
);
14780 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
14788 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14789 PyObject
*resultobj
;
14790 wxDC
*arg1
= (wxDC
*) 0 ;
14792 PyObject
* obj0
= 0 ;
14793 char *kwnames
[] = {
14794 (char *) "self", NULL
14797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
14798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14803 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
14804 result
= (wxPen
*) &_result_ref
;
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14811 wxPen
* resultptr
= new wxPen(*result
);
14812 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
14820 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14821 PyObject
*resultobj
;
14822 wxDC
*arg1
= (wxDC
*) 0 ;
14824 PyObject
* obj0
= 0 ;
14825 char *kwnames
[] = {
14826 (char *) "self", NULL
14829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
14830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14835 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
14836 result
= (wxColour
*) &_result_ref
;
14839 wxPyEndAllowThreads(__tstate
);
14840 if (PyErr_Occurred()) SWIG_fail
;
14842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14849 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14850 PyObject
*resultobj
;
14851 wxDC
*arg1
= (wxDC
*) 0 ;
14853 PyObject
* obj0
= 0 ;
14854 char *kwnames
[] = {
14855 (char *) "self", NULL
14858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
14859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14864 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
14865 result
= (wxColour
*) &_result_ref
;
14868 wxPyEndAllowThreads(__tstate
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14878 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14879 PyObject
*resultobj
;
14880 wxDC
*arg1
= (wxDC
*) 0 ;
14881 wxColour
*arg2
= 0 ;
14883 PyObject
* obj0
= 0 ;
14884 PyObject
* obj1
= 0 ;
14885 char *kwnames
[] = {
14886 (char *) "self",(char *) "colour", NULL
14889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14894 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14898 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
14900 wxPyEndAllowThreads(__tstate
);
14901 if (PyErr_Occurred()) SWIG_fail
;
14903 Py_INCREF(Py_None
); resultobj
= Py_None
;
14910 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14911 PyObject
*resultobj
;
14912 wxDC
*arg1
= (wxDC
*) 0 ;
14913 wxColour
*arg2
= 0 ;
14915 PyObject
* obj0
= 0 ;
14916 PyObject
* obj1
= 0 ;
14917 char *kwnames
[] = {
14918 (char *) "self",(char *) "colour", NULL
14921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14926 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14930 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
14932 wxPyEndAllowThreads(__tstate
);
14933 if (PyErr_Occurred()) SWIG_fail
;
14935 Py_INCREF(Py_None
); resultobj
= Py_None
;
14942 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14943 PyObject
*resultobj
;
14944 wxDC
*arg1
= (wxDC
*) 0 ;
14946 PyObject
* obj0
= 0 ;
14947 char *kwnames
[] = {
14948 (char *) "self", NULL
14951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
14952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14956 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
14958 wxPyEndAllowThreads(__tstate
);
14959 if (PyErr_Occurred()) SWIG_fail
;
14961 resultobj
= SWIG_From_int((int)result
);
14968 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14969 PyObject
*resultobj
;
14970 wxDC
*arg1
= (wxDC
*) 0 ;
14972 PyObject
* obj0
= 0 ;
14973 PyObject
* obj1
= 0 ;
14974 char *kwnames
[] = {
14975 (char *) "self",(char *) "mode", NULL
14978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14981 arg2
= (int)SWIG_As_int(obj1
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14985 (arg1
)->SetMapMode(arg2
);
14987 wxPyEndAllowThreads(__tstate
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14990 Py_INCREF(Py_None
); resultobj
= Py_None
;
14997 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14998 PyObject
*resultobj
;
14999 wxDC
*arg1
= (wxDC
*) 0 ;
15000 double *arg2
= (double *) 0 ;
15001 double *arg3
= (double *) 0 ;
15006 PyObject
* obj0
= 0 ;
15007 char *kwnames
[] = {
15008 (char *) "self", NULL
15011 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15012 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
15014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15023 Py_INCREF(Py_None
); resultobj
= Py_None
;
15024 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15025 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
15026 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15027 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
15034 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15035 PyObject
*resultobj
;
15036 wxDC
*arg1
= (wxDC
*) 0 ;
15039 PyObject
* obj0
= 0 ;
15040 PyObject
* obj1
= 0 ;
15041 PyObject
* obj2
= 0 ;
15042 char *kwnames
[] = {
15043 (char *) "self",(char *) "x",(char *) "y", NULL
15046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15049 arg2
= (double)SWIG_As_double(obj1
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15051 arg3
= (double)SWIG_As_double(obj2
);
15052 if (PyErr_Occurred()) SWIG_fail
;
15054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15055 (arg1
)->SetUserScale(arg2
,arg3
);
15057 wxPyEndAllowThreads(__tstate
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15060 Py_INCREF(Py_None
); resultobj
= Py_None
;
15067 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15068 PyObject
*resultobj
;
15069 wxDC
*arg1
= (wxDC
*) 0 ;
15070 double *arg2
= (double *) 0 ;
15071 double *arg3
= (double *) 0 ;
15076 PyObject
* obj0
= 0 ;
15077 char *kwnames
[] = {
15078 (char *) "self", NULL
15081 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15082 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
15084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15088 (arg1
)->GetLogicalScale(arg2
,arg3
);
15090 wxPyEndAllowThreads(__tstate
);
15091 if (PyErr_Occurred()) SWIG_fail
;
15093 Py_INCREF(Py_None
); resultobj
= Py_None
;
15094 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15095 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
15096 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15097 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
15104 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15105 PyObject
*resultobj
;
15106 wxDC
*arg1
= (wxDC
*) 0 ;
15109 PyObject
* obj0
= 0 ;
15110 PyObject
* obj1
= 0 ;
15111 PyObject
* obj2
= 0 ;
15112 char *kwnames
[] = {
15113 (char *) "self",(char *) "x",(char *) "y", NULL
15116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15119 arg2
= (double)SWIG_As_double(obj1
);
15120 if (PyErr_Occurred()) SWIG_fail
;
15121 arg3
= (double)SWIG_As_double(obj2
);
15122 if (PyErr_Occurred()) SWIG_fail
;
15124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15125 (arg1
)->SetLogicalScale(arg2
,arg3
);
15127 wxPyEndAllowThreads(__tstate
);
15128 if (PyErr_Occurred()) SWIG_fail
;
15130 Py_INCREF(Py_None
); resultobj
= Py_None
;
15137 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15138 PyObject
*resultobj
;
15139 wxDC
*arg1
= (wxDC
*) 0 ;
15141 PyObject
* obj0
= 0 ;
15142 char *kwnames
[] = {
15143 (char *) "self", NULL
15146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
15147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15151 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
15153 wxPyEndAllowThreads(__tstate
);
15154 if (PyErr_Occurred()) SWIG_fail
;
15157 wxPoint
* resultptr
;
15158 resultptr
= new wxPoint((wxPoint
&) result
);
15159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15167 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15168 PyObject
*resultobj
;
15169 wxDC
*arg1
= (wxDC
*) 0 ;
15170 int *arg2
= (int *) 0 ;
15171 int *arg3
= (int *) 0 ;
15176 PyObject
* obj0
= 0 ;
15177 char *kwnames
[] = {
15178 (char *) "self", NULL
15181 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15182 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
15184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15188 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
15190 wxPyEndAllowThreads(__tstate
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15193 Py_INCREF(Py_None
); resultobj
= Py_None
;
15194 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15195 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15196 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15197 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15204 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15205 PyObject
*resultobj
;
15206 wxDC
*arg1
= (wxDC
*) 0 ;
15209 PyObject
* obj0
= 0 ;
15210 PyObject
* obj1
= 0 ;
15211 PyObject
* obj2
= 0 ;
15212 char *kwnames
[] = {
15213 (char *) "self",(char *) "x",(char *) "y", NULL
15216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15219 arg2
= (int)SWIG_As_int(obj1
);
15220 if (PyErr_Occurred()) SWIG_fail
;
15221 arg3
= (int)SWIG_As_int(obj2
);
15222 if (PyErr_Occurred()) SWIG_fail
;
15224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15225 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
15227 wxPyEndAllowThreads(__tstate
);
15228 if (PyErr_Occurred()) SWIG_fail
;
15230 Py_INCREF(Py_None
); resultobj
= Py_None
;
15237 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15238 PyObject
*resultobj
;
15239 wxDC
*arg1
= (wxDC
*) 0 ;
15240 wxPoint
*arg2
= 0 ;
15242 PyObject
* obj0
= 0 ;
15243 PyObject
* obj1
= 0 ;
15244 char *kwnames
[] = {
15245 (char *) "self",(char *) "point", NULL
15248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
15249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15253 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15257 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
15259 wxPyEndAllowThreads(__tstate
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15262 Py_INCREF(Py_None
); resultobj
= Py_None
;
15269 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15270 PyObject
*resultobj
;
15271 wxDC
*arg1
= (wxDC
*) 0 ;
15273 PyObject
* obj0
= 0 ;
15274 char *kwnames
[] = {
15275 (char *) "self", NULL
15278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
15279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15283 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
15285 wxPyEndAllowThreads(__tstate
);
15286 if (PyErr_Occurred()) SWIG_fail
;
15289 wxPoint
* resultptr
;
15290 resultptr
= new wxPoint((wxPoint
&) result
);
15291 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15299 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15300 PyObject
*resultobj
;
15301 wxDC
*arg1
= (wxDC
*) 0 ;
15302 int *arg2
= (int *) 0 ;
15303 int *arg3
= (int *) 0 ;
15308 PyObject
* obj0
= 0 ;
15309 char *kwnames
[] = {
15310 (char *) "self", NULL
15313 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15314 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
15316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15320 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15325 Py_INCREF(Py_None
); resultobj
= Py_None
;
15326 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15327 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15328 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15329 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15336 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15337 PyObject
*resultobj
;
15338 wxDC
*arg1
= (wxDC
*) 0 ;
15341 PyObject
* obj0
= 0 ;
15342 PyObject
* obj1
= 0 ;
15343 PyObject
* obj2
= 0 ;
15344 char *kwnames
[] = {
15345 (char *) "self",(char *) "x",(char *) "y", NULL
15348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15351 arg2
= (int)SWIG_As_int(obj1
);
15352 if (PyErr_Occurred()) SWIG_fail
;
15353 arg3
= (int)SWIG_As_int(obj2
);
15354 if (PyErr_Occurred()) SWIG_fail
;
15356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15357 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
15359 wxPyEndAllowThreads(__tstate
);
15360 if (PyErr_Occurred()) SWIG_fail
;
15362 Py_INCREF(Py_None
); resultobj
= Py_None
;
15369 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15370 PyObject
*resultobj
;
15371 wxDC
*arg1
= (wxDC
*) 0 ;
15372 wxPoint
*arg2
= 0 ;
15374 PyObject
* obj0
= 0 ;
15375 PyObject
* obj1
= 0 ;
15376 char *kwnames
[] = {
15377 (char *) "self",(char *) "point", NULL
15380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
15381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15385 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15389 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
15391 wxPyEndAllowThreads(__tstate
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15394 Py_INCREF(Py_None
); resultobj
= Py_None
;
15401 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15402 PyObject
*resultobj
;
15403 wxDC
*arg1
= (wxDC
*) 0 ;
15406 PyObject
* obj0
= 0 ;
15407 PyObject
* obj1
= 0 ;
15408 PyObject
* obj2
= 0 ;
15409 char *kwnames
[] = {
15410 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
15413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15416 arg2
= (bool)SWIG_As_bool(obj1
);
15417 if (PyErr_Occurred()) SWIG_fail
;
15418 arg3
= (bool)SWIG_As_bool(obj2
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 (arg1
)->SetAxisOrientation(arg2
,arg3
);
15424 wxPyEndAllowThreads(__tstate
);
15425 if (PyErr_Occurred()) SWIG_fail
;
15427 Py_INCREF(Py_None
); resultobj
= Py_None
;
15434 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
;
15436 wxDC
*arg1
= (wxDC
*) 0 ;
15438 PyObject
* obj0
= 0 ;
15439 char *kwnames
[] = {
15440 (char *) "self", NULL
15443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
15444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15453 resultobj
= SWIG_From_int((int)result
);
15460 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15461 PyObject
*resultobj
;
15462 wxDC
*arg1
= (wxDC
*) 0 ;
15464 PyObject
* obj0
= 0 ;
15465 PyObject
* obj1
= 0 ;
15466 char *kwnames
[] = {
15467 (char *) "self",(char *) "function", NULL
15470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
15471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15473 arg2
= (int)SWIG_As_int(obj1
);
15474 if (PyErr_Occurred()) SWIG_fail
;
15476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15477 (arg1
)->SetLogicalFunction(arg2
);
15479 wxPyEndAllowThreads(__tstate
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15482 Py_INCREF(Py_None
); resultobj
= Py_None
;
15489 static PyObject
*_wrap_DC_SetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15490 PyObject
*resultobj
;
15491 wxDC
*arg1
= (wxDC
*) 0 ;
15493 PyObject
* obj0
= 0 ;
15494 PyObject
* obj1
= 0 ;
15495 char *kwnames
[] = {
15496 (char *) "self",(char *) "optimize", NULL
15499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
15500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15502 arg2
= (bool)SWIG_As_bool(obj1
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15506 (arg1
)->SetOptimization(arg2
);
15508 wxPyEndAllowThreads(__tstate
);
15509 if (PyErr_Occurred()) SWIG_fail
;
15511 Py_INCREF(Py_None
); resultobj
= Py_None
;
15518 static PyObject
*_wrap_DC_GetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
;
15520 wxDC
*arg1
= (wxDC
*) 0 ;
15522 PyObject
* obj0
= 0 ;
15523 char *kwnames
[] = {
15524 (char *) "self", NULL
15527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
15528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15532 result
= (bool)(arg1
)->GetOptimization();
15534 wxPyEndAllowThreads(__tstate
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15546 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15547 PyObject
*resultobj
;
15548 wxDC
*arg1
= (wxDC
*) 0 ;
15551 PyObject
* obj0
= 0 ;
15552 PyObject
* obj1
= 0 ;
15553 PyObject
* obj2
= 0 ;
15554 char *kwnames
[] = {
15555 (char *) "self",(char *) "x",(char *) "y", NULL
15558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15561 arg2
= (int)SWIG_As_int(obj1
);
15562 if (PyErr_Occurred()) SWIG_fail
;
15563 arg3
= (int)SWIG_As_int(obj2
);
15564 if (PyErr_Occurred()) SWIG_fail
;
15566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15567 (arg1
)->CalcBoundingBox(arg2
,arg3
);
15569 wxPyEndAllowThreads(__tstate
);
15570 if (PyErr_Occurred()) SWIG_fail
;
15572 Py_INCREF(Py_None
); resultobj
= Py_None
;
15579 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15580 PyObject
*resultobj
;
15581 wxDC
*arg1
= (wxDC
*) 0 ;
15582 wxPoint
*arg2
= 0 ;
15584 PyObject
* obj0
= 0 ;
15585 PyObject
* obj1
= 0 ;
15586 char *kwnames
[] = {
15587 (char *) "self",(char *) "point", NULL
15590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
15591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15595 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15599 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
15601 wxPyEndAllowThreads(__tstate
);
15602 if (PyErr_Occurred()) SWIG_fail
;
15604 Py_INCREF(Py_None
); resultobj
= Py_None
;
15611 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15612 PyObject
*resultobj
;
15613 wxDC
*arg1
= (wxDC
*) 0 ;
15614 PyObject
* obj0
= 0 ;
15615 char *kwnames
[] = {
15616 (char *) "self", NULL
15619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
15620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15624 (arg1
)->ResetBoundingBox();
15626 wxPyEndAllowThreads(__tstate
);
15627 if (PyErr_Occurred()) SWIG_fail
;
15629 Py_INCREF(Py_None
); resultobj
= Py_None
;
15636 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15637 PyObject
*resultobj
;
15638 wxDC
*arg1
= (wxDC
*) 0 ;
15640 PyObject
* obj0
= 0 ;
15641 char *kwnames
[] = {
15642 (char *) "self", NULL
15645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
15646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15650 result
= (int)((wxDC
const *)arg1
)->MinX();
15652 wxPyEndAllowThreads(__tstate
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15655 resultobj
= SWIG_From_int((int)result
);
15662 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15663 PyObject
*resultobj
;
15664 wxDC
*arg1
= (wxDC
*) 0 ;
15666 PyObject
* obj0
= 0 ;
15667 char *kwnames
[] = {
15668 (char *) "self", NULL
15671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
15672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15676 result
= (int)((wxDC
const *)arg1
)->MaxX();
15678 wxPyEndAllowThreads(__tstate
);
15679 if (PyErr_Occurred()) SWIG_fail
;
15681 resultobj
= SWIG_From_int((int)result
);
15688 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15689 PyObject
*resultobj
;
15690 wxDC
*arg1
= (wxDC
*) 0 ;
15692 PyObject
* obj0
= 0 ;
15693 char *kwnames
[] = {
15694 (char *) "self", NULL
15697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
15698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15702 result
= (int)((wxDC
const *)arg1
)->MinY();
15704 wxPyEndAllowThreads(__tstate
);
15705 if (PyErr_Occurred()) SWIG_fail
;
15707 resultobj
= SWIG_From_int((int)result
);
15714 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15715 PyObject
*resultobj
;
15716 wxDC
*arg1
= (wxDC
*) 0 ;
15718 PyObject
* obj0
= 0 ;
15719 char *kwnames
[] = {
15720 (char *) "self", NULL
15723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
15724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15728 result
= (int)((wxDC
const *)arg1
)->MaxY();
15730 wxPyEndAllowThreads(__tstate
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15733 resultobj
= SWIG_From_int((int)result
);
15740 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15741 PyObject
*resultobj
;
15742 wxDC
*arg1
= (wxDC
*) 0 ;
15743 int *arg2
= (int *) 0 ;
15744 int *arg3
= (int *) 0 ;
15745 int *arg4
= (int *) 0 ;
15746 int *arg5
= (int *) 0 ;
15755 PyObject
* obj0
= 0 ;
15756 char *kwnames
[] = {
15757 (char *) "self", NULL
15760 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15761 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15762 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15763 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
15765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15769 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
15771 wxPyEndAllowThreads(__tstate
);
15772 if (PyErr_Occurred()) SWIG_fail
;
15774 Py_INCREF(Py_None
); resultobj
= Py_None
;
15775 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15776 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15777 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15778 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15779 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15780 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15781 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15782 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15789 static PyObject
*_wrap_DC_GetHDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15790 PyObject
*resultobj
;
15791 wxDC
*arg1
= (wxDC
*) 0 ;
15793 PyObject
* obj0
= 0 ;
15794 char *kwnames
[] = {
15795 (char *) "self", NULL
15798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetHDC",kwnames
,&obj0
)) goto fail
;
15799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15803 result
= (long)(arg1
)->GetHDC();
15805 wxPyEndAllowThreads(__tstate
);
15806 if (PyErr_Occurred()) SWIG_fail
;
15808 resultobj
= SWIG_From_long((long)result
);
15815 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15816 PyObject
*resultobj
;
15817 wxDC
*arg1
= (wxDC
*) 0 ;
15818 PyObject
*arg2
= (PyObject
*) 0 ;
15819 PyObject
*arg3
= (PyObject
*) 0 ;
15820 PyObject
*arg4
= (PyObject
*) 0 ;
15822 PyObject
* obj0
= 0 ;
15823 PyObject
* obj1
= 0 ;
15824 PyObject
* obj2
= 0 ;
15825 PyObject
* obj3
= 0 ;
15826 char *kwnames
[] = {
15827 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15838 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
15840 wxPyEndAllowThreads(__tstate
);
15841 if (PyErr_Occurred()) SWIG_fail
;
15843 resultobj
= result
;
15850 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15851 PyObject
*resultobj
;
15852 wxDC
*arg1
= (wxDC
*) 0 ;
15853 PyObject
*arg2
= (PyObject
*) 0 ;
15854 PyObject
*arg3
= (PyObject
*) 0 ;
15855 PyObject
*arg4
= (PyObject
*) 0 ;
15857 PyObject
* obj0
= 0 ;
15858 PyObject
* obj1
= 0 ;
15859 PyObject
* obj2
= 0 ;
15860 PyObject
* obj3
= 0 ;
15861 char *kwnames
[] = {
15862 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15873 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
15875 wxPyEndAllowThreads(__tstate
);
15876 if (PyErr_Occurred()) SWIG_fail
;
15878 resultobj
= result
;
15885 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15886 PyObject
*resultobj
;
15887 wxDC
*arg1
= (wxDC
*) 0 ;
15888 PyObject
*arg2
= (PyObject
*) 0 ;
15889 PyObject
*arg3
= (PyObject
*) 0 ;
15890 PyObject
*arg4
= (PyObject
*) 0 ;
15892 PyObject
* obj0
= 0 ;
15893 PyObject
* obj1
= 0 ;
15894 PyObject
* obj2
= 0 ;
15895 PyObject
* obj3
= 0 ;
15896 char *kwnames
[] = {
15897 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15908 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
15910 wxPyEndAllowThreads(__tstate
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15913 resultobj
= result
;
15920 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15921 PyObject
*resultobj
;
15922 wxDC
*arg1
= (wxDC
*) 0 ;
15923 PyObject
*arg2
= (PyObject
*) 0 ;
15924 PyObject
*arg3
= (PyObject
*) 0 ;
15925 PyObject
*arg4
= (PyObject
*) 0 ;
15927 PyObject
* obj0
= 0 ;
15928 PyObject
* obj1
= 0 ;
15929 PyObject
* obj2
= 0 ;
15930 PyObject
* obj3
= 0 ;
15931 char *kwnames
[] = {
15932 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15943 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
15945 wxPyEndAllowThreads(__tstate
);
15946 if (PyErr_Occurred()) SWIG_fail
;
15948 resultobj
= result
;
15955 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15956 PyObject
*resultobj
;
15957 wxDC
*arg1
= (wxDC
*) 0 ;
15958 PyObject
*arg2
= (PyObject
*) 0 ;
15959 PyObject
*arg3
= (PyObject
*) 0 ;
15960 PyObject
*arg4
= (PyObject
*) 0 ;
15962 PyObject
* obj0
= 0 ;
15963 PyObject
* obj1
= 0 ;
15964 PyObject
* obj2
= 0 ;
15965 PyObject
* obj3
= 0 ;
15966 char *kwnames
[] = {
15967 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15978 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15980 wxPyEndAllowThreads(__tstate
);
15981 if (PyErr_Occurred()) SWIG_fail
;
15983 resultobj
= result
;
15990 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15991 PyObject
*resultobj
;
15992 wxDC
*arg1
= (wxDC
*) 0 ;
15993 PyObject
*arg2
= (PyObject
*) 0 ;
15994 PyObject
*arg3
= (PyObject
*) 0 ;
15995 PyObject
*arg4
= (PyObject
*) 0 ;
15996 PyObject
*arg5
= (PyObject
*) 0 ;
15998 PyObject
* obj0
= 0 ;
15999 PyObject
* obj1
= 0 ;
16000 PyObject
* obj2
= 0 ;
16001 PyObject
* obj3
= 0 ;
16002 PyObject
* obj4
= 0 ;
16003 char *kwnames
[] = {
16004 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
16007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
16009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16016 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
16018 wxPyEndAllowThreads(__tstate
);
16019 if (PyErr_Occurred()) SWIG_fail
;
16021 resultobj
= result
;
16028 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
16030 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16031 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
16033 return Py_BuildValue((char *)"");
16035 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16036 PyObject
*resultobj
;
16037 wxMemoryDC
*result
;
16038 char *kwnames
[] = {
16042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
16044 if (!wxPyCheckForApp()) SWIG_fail
;
16045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16046 result
= (wxMemoryDC
*)new wxMemoryDC();
16048 wxPyEndAllowThreads(__tstate
);
16049 if (PyErr_Occurred()) SWIG_fail
;
16051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
16058 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16059 PyObject
*resultobj
;
16060 wxDC
*arg1
= (wxDC
*) 0 ;
16061 wxMemoryDC
*result
;
16062 PyObject
* obj0
= 0 ;
16063 char *kwnames
[] = {
16064 (char *) "oldDC", NULL
16067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
16068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
16069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16071 if (!wxPyCheckForApp()) SWIG_fail
;
16072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16073 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
16075 wxPyEndAllowThreads(__tstate
);
16076 if (PyErr_Occurred()) SWIG_fail
;
16078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
16085 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16086 PyObject
*resultobj
;
16087 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
16088 wxBitmap
*arg2
= 0 ;
16089 PyObject
* obj0
= 0 ;
16090 PyObject
* obj1
= 0 ;
16091 char *kwnames
[] = {
16092 (char *) "self",(char *) "bitmap", NULL
16095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
16096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
16097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16099 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16101 if (arg2
== NULL
) {
16102 PyErr_SetString(PyExc_TypeError
,"null reference");
16106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16107 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
16109 wxPyEndAllowThreads(__tstate
);
16110 if (PyErr_Occurred()) SWIG_fail
;
16112 Py_INCREF(Py_None
); resultobj
= Py_None
;
16119 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
16121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16122 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
16124 return Py_BuildValue((char *)"");
16126 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
16127 PyObject
*resultobj
;
16128 wxDC
*arg1
= (wxDC
*) 0 ;
16129 wxBitmap
*arg2
= 0 ;
16130 wxBufferedDC
*result
;
16131 PyObject
* obj0
= 0 ;
16132 PyObject
* obj1
= 0 ;
16134 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
16135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
16136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16138 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16140 if (arg2
== NULL
) {
16141 PyErr_SetString(PyExc_TypeError
,"null reference");
16145 if (!wxPyCheckForApp()) SWIG_fail
;
16146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16147 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
16149 wxPyEndAllowThreads(__tstate
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
16159 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
16160 PyObject
*resultobj
;
16161 wxDC
*arg1
= (wxDC
*) 0 ;
16163 wxBufferedDC
*result
;
16165 PyObject
* obj0
= 0 ;
16166 PyObject
* obj1
= 0 ;
16168 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
16169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
16170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16173 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16176 if (!wxPyCheckForApp()) SWIG_fail
;
16177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16178 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
16180 wxPyEndAllowThreads(__tstate
);
16181 if (PyErr_Occurred()) SWIG_fail
;
16183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
16190 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
16195 argc
= PyObject_Length(args
);
16196 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
16197 argv
[ii
] = PyTuple_GetItem(args
,ii
);
16203 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
16213 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
16221 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
16229 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
16238 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
16241 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
16246 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
16251 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16252 PyObject
*resultobj
;
16253 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
16254 PyObject
* obj0
= 0 ;
16255 char *kwnames
[] = {
16256 (char *) "self", NULL
16259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
16260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
16261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16269 Py_INCREF(Py_None
); resultobj
= Py_None
;
16276 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16277 PyObject
*resultobj
;
16278 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
16279 PyObject
* obj0
= 0 ;
16280 char *kwnames
[] = {
16281 (char *) "self", NULL
16284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
16285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
16286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16291 wxPyEndAllowThreads(__tstate
);
16292 if (PyErr_Occurred()) SWIG_fail
;
16294 Py_INCREF(Py_None
); resultobj
= Py_None
;
16301 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
16303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16304 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
16306 return Py_BuildValue((char *)"");
16308 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16309 PyObject
*resultobj
;
16310 wxWindow
*arg1
= (wxWindow
*) 0 ;
16311 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
16312 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
16313 wxBufferedPaintDC
*result
;
16314 PyObject
* obj0
= 0 ;
16315 PyObject
* obj1
= 0 ;
16316 char *kwnames
[] = {
16317 (char *) "window",(char *) "buffer", NULL
16320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
16321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16325 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16327 if (arg2
== NULL
) {
16328 PyErr_SetString(PyExc_TypeError
,"null reference");
16333 if (!wxPyCheckForApp()) SWIG_fail
;
16334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16335 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
16337 wxPyEndAllowThreads(__tstate
);
16338 if (PyErr_Occurred()) SWIG_fail
;
16340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
16347 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
16349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16350 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
16352 return Py_BuildValue((char *)"");
16354 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16355 PyObject
*resultobj
;
16356 wxScreenDC
*result
;
16357 char *kwnames
[] = {
16361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
16363 if (!wxPyCheckForApp()) SWIG_fail
;
16364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16365 result
= (wxScreenDC
*)new wxScreenDC();
16367 wxPyEndAllowThreads(__tstate
);
16368 if (PyErr_Occurred()) SWIG_fail
;
16370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
16377 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16378 PyObject
*resultobj
;
16379 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
16380 wxWindow
*arg2
= (wxWindow
*) 0 ;
16382 PyObject
* obj0
= 0 ;
16383 PyObject
* obj1
= 0 ;
16384 char *kwnames
[] = {
16385 (char *) "self",(char *) "window", NULL
16388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
16389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
16390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16395 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
16397 wxPyEndAllowThreads(__tstate
);
16398 if (PyErr_Occurred()) SWIG_fail
;
16401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16409 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16410 PyObject
*resultobj
;
16411 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
16412 wxRect
*arg2
= (wxRect
*) NULL
;
16414 PyObject
* obj0
= 0 ;
16415 PyObject
* obj1
= 0 ;
16416 char *kwnames
[] = {
16417 (char *) "self",(char *) "rect", NULL
16420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
16421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
16422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16429 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
16431 wxPyEndAllowThreads(__tstate
);
16432 if (PyErr_Occurred()) SWIG_fail
;
16435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16443 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16444 PyObject
*resultobj
;
16445 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
16447 PyObject
* obj0
= 0 ;
16448 char *kwnames
[] = {
16449 (char *) "self", NULL
16452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
16453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
16454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16457 result
= (bool)(arg1
)->EndDrawingOnTop();
16459 wxPyEndAllowThreads(__tstate
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16471 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
16473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16474 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
16476 return Py_BuildValue((char *)"");
16478 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16479 PyObject
*resultobj
;
16480 wxWindow
*arg1
= (wxWindow
*) 0 ;
16481 wxClientDC
*result
;
16482 PyObject
* obj0
= 0 ;
16483 char *kwnames
[] = {
16484 (char *) "win", NULL
16487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
16488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16491 if (!wxPyCheckForApp()) SWIG_fail
;
16492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16493 result
= (wxClientDC
*)new wxClientDC(arg1
);
16495 wxPyEndAllowThreads(__tstate
);
16496 if (PyErr_Occurred()) SWIG_fail
;
16498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
16505 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
16507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16508 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
16510 return Py_BuildValue((char *)"");
16512 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16513 PyObject
*resultobj
;
16514 wxWindow
*arg1
= (wxWindow
*) 0 ;
16516 PyObject
* obj0
= 0 ;
16517 char *kwnames
[] = {
16518 (char *) "win", NULL
16521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
16522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16525 if (!wxPyCheckForApp()) SWIG_fail
;
16526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16527 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
16529 wxPyEndAllowThreads(__tstate
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
16539 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
16541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16542 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
16544 return Py_BuildValue((char *)"");
16546 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16547 PyObject
*resultobj
;
16548 wxWindow
*arg1
= (wxWindow
*) 0 ;
16549 wxWindowDC
*result
;
16550 PyObject
* obj0
= 0 ;
16551 char *kwnames
[] = {
16552 (char *) "win", NULL
16555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
16556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16559 if (!wxPyCheckForApp()) SWIG_fail
;
16560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16561 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
16563 wxPyEndAllowThreads(__tstate
);
16564 if (PyErr_Occurred()) SWIG_fail
;
16566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
16573 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
16575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16576 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
16578 return Py_BuildValue((char *)"");
16580 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16581 PyObject
*resultobj
;
16584 wxMirrorDC
*result
;
16585 PyObject
* obj0
= 0 ;
16586 PyObject
* obj1
= 0 ;
16587 char *kwnames
[] = {
16588 (char *) "dc",(char *) "mirror", NULL
16591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
16592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
16593 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16595 if (arg1
== NULL
) {
16596 PyErr_SetString(PyExc_TypeError
,"null reference");
16599 arg2
= (bool)SWIG_As_bool(obj1
);
16600 if (PyErr_Occurred()) SWIG_fail
;
16602 if (!wxPyCheckForApp()) SWIG_fail
;
16603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16604 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
16606 wxPyEndAllowThreads(__tstate
);
16607 if (PyErr_Occurred()) SWIG_fail
;
16609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
16616 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
16618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16619 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
16621 return Py_BuildValue((char *)"");
16623 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16624 PyObject
*resultobj
;
16625 wxPrintData
*arg1
= 0 ;
16626 wxPostScriptDC
*result
;
16627 PyObject
* obj0
= 0 ;
16628 char *kwnames
[] = {
16629 (char *) "printData", NULL
16632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
16633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16634 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16636 if (arg1
== NULL
) {
16637 PyErr_SetString(PyExc_TypeError
,"null reference");
16641 if (!wxPyCheckForApp()) SWIG_fail
;
16642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16643 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
16645 wxPyEndAllowThreads(__tstate
);
16646 if (PyErr_Occurred()) SWIG_fail
;
16648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
16655 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16656 PyObject
*resultobj
;
16657 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16658 wxPrintData
*result
;
16659 PyObject
* obj0
= 0 ;
16660 char *kwnames
[] = {
16661 (char *) "self", NULL
16664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
16665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16670 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
16671 result
= (wxPrintData
*) &_result_ref
;
16674 wxPyEndAllowThreads(__tstate
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
16684 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16685 PyObject
*resultobj
;
16686 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16687 wxPrintData
*arg2
= 0 ;
16688 PyObject
* obj0
= 0 ;
16689 PyObject
* obj1
= 0 ;
16690 char *kwnames
[] = {
16691 (char *) "self",(char *) "data", NULL
16694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
16695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
16698 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16700 if (arg2
== NULL
) {
16701 PyErr_SetString(PyExc_TypeError
,"null reference");
16705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16706 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
16708 wxPyEndAllowThreads(__tstate
);
16709 if (PyErr_Occurred()) SWIG_fail
;
16711 Py_INCREF(Py_None
); resultobj
= Py_None
;
16718 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16719 PyObject
*resultobj
;
16721 PyObject
* obj0
= 0 ;
16722 char *kwnames
[] = {
16723 (char *) "ppi", NULL
16726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
16727 arg1
= (int)SWIG_As_int(obj0
);
16728 if (PyErr_Occurred()) SWIG_fail
;
16730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16731 wxPostScriptDC::SetResolution(arg1
);
16733 wxPyEndAllowThreads(__tstate
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16736 Py_INCREF(Py_None
); resultobj
= Py_None
;
16743 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16744 PyObject
*resultobj
;
16746 char *kwnames
[] = {
16750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
16752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16753 result
= (int)wxPostScriptDC::GetResolution();
16755 wxPyEndAllowThreads(__tstate
);
16756 if (PyErr_Occurred()) SWIG_fail
;
16758 resultobj
= SWIG_From_int((int)result
);
16765 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
16767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16768 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
16770 return Py_BuildValue((char *)"");
16772 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16773 PyObject
*resultobj
;
16774 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16775 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16776 wxMetaFile
*result
;
16777 bool temp1
= false ;
16778 PyObject
* obj0
= 0 ;
16779 char *kwnames
[] = {
16780 (char *) "filename", NULL
16783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
16786 arg1
= wxString_in_helper(obj0
);
16787 if (arg1
== NULL
) SWIG_fail
;
16792 if (!wxPyCheckForApp()) SWIG_fail
;
16793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16794 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
16796 wxPyEndAllowThreads(__tstate
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
16814 static PyObject
*_wrap_delete_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16815 PyObject
*resultobj
;
16816 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16817 PyObject
* obj0
= 0 ;
16818 char *kwnames
[] = {
16819 (char *) "self", NULL
16822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
16823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16829 wxPyEndAllowThreads(__tstate
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16832 Py_INCREF(Py_None
); resultobj
= Py_None
;
16839 static PyObject
*_wrap_MetaFile_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16840 PyObject
*resultobj
;
16841 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16843 PyObject
* obj0
= 0 ;
16844 char *kwnames
[] = {
16845 (char *) "self", NULL
16848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
16849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16853 result
= (bool)(arg1
)->Ok();
16855 wxPyEndAllowThreads(__tstate
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16867 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16868 PyObject
*resultobj
;
16869 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16870 int arg2
= (int) 0 ;
16871 int arg3
= (int) 0 ;
16873 PyObject
* obj0
= 0 ;
16874 PyObject
* obj1
= 0 ;
16875 PyObject
* obj2
= 0 ;
16876 char *kwnames
[] = {
16877 (char *) "self",(char *) "width",(char *) "height", NULL
16880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16884 arg2
= (int)SWIG_As_int(obj1
);
16885 if (PyErr_Occurred()) SWIG_fail
;
16888 arg3
= (int)SWIG_As_int(obj2
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16893 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
16895 wxPyEndAllowThreads(__tstate
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16907 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16908 PyObject
*resultobj
;
16909 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16911 PyObject
* obj0
= 0 ;
16912 char *kwnames
[] = {
16913 (char *) "self", NULL
16916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
16917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16921 result
= (arg1
)->GetSize();
16923 wxPyEndAllowThreads(__tstate
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16927 wxSize
* resultptr
;
16928 resultptr
= new wxSize((wxSize
&) result
);
16929 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16937 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16938 PyObject
*resultobj
;
16939 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16941 PyObject
* obj0
= 0 ;
16942 char *kwnames
[] = {
16943 (char *) "self", NULL
16946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
16947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16951 result
= (int)(arg1
)->GetWidth();
16953 wxPyEndAllowThreads(__tstate
);
16954 if (PyErr_Occurred()) SWIG_fail
;
16956 resultobj
= SWIG_From_int((int)result
);
16963 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16964 PyObject
*resultobj
;
16965 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16967 PyObject
* obj0
= 0 ;
16968 char *kwnames
[] = {
16969 (char *) "self", NULL
16972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
16973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16977 result
= (int)(arg1
)->GetHeight();
16979 wxPyEndAllowThreads(__tstate
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16982 resultobj
= SWIG_From_int((int)result
);
16989 static PyObject
*_wrap_MetaFile_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16990 PyObject
*resultobj
;
16991 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16993 PyObject
* obj0
= 0 ;
16994 char *kwnames
[] = {
16995 (char *) "self", NULL
16998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetFileName",kwnames
,&obj0
)) goto fail
;
16999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
17000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17004 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
17005 result
= (wxString
*) &_result_ref
;
17008 wxPyEndAllowThreads(__tstate
);
17009 if (PyErr_Occurred()) SWIG_fail
;
17013 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17015 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17024 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
17026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17027 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
17029 return Py_BuildValue((char *)"");
17031 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17032 PyObject
*resultobj
;
17033 wxString
const &arg1_defvalue
= wxPyEmptyString
;
17034 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
17035 int arg2
= (int) 0 ;
17036 int arg3
= (int) 0 ;
17037 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17038 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17039 wxMetaFileDC
*result
;
17040 bool temp1
= false ;
17041 bool temp4
= false ;
17042 PyObject
* obj0
= 0 ;
17043 PyObject
* obj1
= 0 ;
17044 PyObject
* obj2
= 0 ;
17045 PyObject
* obj3
= 0 ;
17046 char *kwnames
[] = {
17047 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
17050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17053 arg1
= wxString_in_helper(obj0
);
17054 if (arg1
== NULL
) SWIG_fail
;
17059 arg2
= (int)SWIG_As_int(obj1
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17063 arg3
= (int)SWIG_As_int(obj2
);
17064 if (PyErr_Occurred()) SWIG_fail
;
17068 arg4
= wxString_in_helper(obj3
);
17069 if (arg4
== NULL
) SWIG_fail
;
17074 if (!wxPyCheckForApp()) SWIG_fail
;
17075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17076 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
17078 wxPyEndAllowThreads(__tstate
);
17079 if (PyErr_Occurred()) SWIG_fail
;
17081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
17104 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17105 PyObject
*resultobj
;
17106 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
17107 wxMetaFile
*result
;
17108 PyObject
* obj0
= 0 ;
17109 char *kwnames
[] = {
17110 (char *) "self", NULL
17113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
17114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
,
17115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 result
= (wxMetaFile
*)(arg1
)->Close();
17120 wxPyEndAllowThreads(__tstate
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
17130 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
17132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17133 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
17135 return Py_BuildValue((char *)"");
17137 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17138 PyObject
*resultobj
;
17139 wxPrintData
*arg1
= 0 ;
17140 wxPrinterDC
*result
;
17141 PyObject
* obj0
= 0 ;
17142 char *kwnames
[] = {
17143 (char *) "printData", NULL
17146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
17147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17148 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17150 if (arg1
== NULL
) {
17151 PyErr_SetString(PyExc_TypeError
,"null reference");
17155 if (!wxPyCheckForApp()) SWIG_fail
;
17156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17157 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
17159 wxPyEndAllowThreads(__tstate
);
17160 if (PyErr_Occurred()) SWIG_fail
;
17162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
17169 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
17171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17172 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
17174 return Py_BuildValue((char *)"");
17176 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17177 PyObject
*resultobj
;
17180 int arg3
= (int) true ;
17181 int arg4
= (int) 1 ;
17182 wxImageList
*result
;
17183 PyObject
* obj0
= 0 ;
17184 PyObject
* obj1
= 0 ;
17185 PyObject
* obj2
= 0 ;
17186 PyObject
* obj3
= 0 ;
17187 char *kwnames
[] = {
17188 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
17191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17192 arg1
= (int)SWIG_As_int(obj0
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17194 arg2
= (int)SWIG_As_int(obj1
);
17195 if (PyErr_Occurred()) SWIG_fail
;
17197 arg3
= (int)SWIG_As_int(obj2
);
17198 if (PyErr_Occurred()) SWIG_fail
;
17201 arg4
= (int)SWIG_As_int(obj3
);
17202 if (PyErr_Occurred()) SWIG_fail
;
17205 if (!wxPyCheckForApp()) SWIG_fail
;
17206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17207 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
17209 wxPyEndAllowThreads(__tstate
);
17210 if (PyErr_Occurred()) SWIG_fail
;
17213 resultobj
= wxPyMake_wxObject(result
, 1);
17221 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17222 PyObject
*resultobj
;
17223 wxImageList
*arg1
= (wxImageList
*) 0 ;
17224 PyObject
* obj0
= 0 ;
17225 char *kwnames
[] = {
17226 (char *) "self", NULL
17229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
17230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17236 wxPyEndAllowThreads(__tstate
);
17237 if (PyErr_Occurred()) SWIG_fail
;
17239 Py_INCREF(Py_None
); resultobj
= Py_None
;
17246 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17247 PyObject
*resultobj
;
17248 wxImageList
*arg1
= (wxImageList
*) 0 ;
17249 wxBitmap
*arg2
= 0 ;
17250 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
17251 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
17253 PyObject
* obj0
= 0 ;
17254 PyObject
* obj1
= 0 ;
17255 PyObject
* obj2
= 0 ;
17256 char *kwnames
[] = {
17257 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
17260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17263 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
17264 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17266 if (arg2
== NULL
) {
17267 PyErr_SetString(PyExc_TypeError
,"null reference");
17271 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
17272 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17274 if (arg3
== NULL
) {
17275 PyErr_SetString(PyExc_TypeError
,"null reference");
17280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17281 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
17283 wxPyEndAllowThreads(__tstate
);
17284 if (PyErr_Occurred()) SWIG_fail
;
17286 resultobj
= SWIG_From_int((int)result
);
17293 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17294 PyObject
*resultobj
;
17295 wxImageList
*arg1
= (wxImageList
*) 0 ;
17296 wxBitmap
*arg2
= 0 ;
17297 wxColour
*arg3
= 0 ;
17300 PyObject
* obj0
= 0 ;
17301 PyObject
* obj1
= 0 ;
17302 PyObject
* obj2
= 0 ;
17303 char *kwnames
[] = {
17304 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
17307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
17311 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17313 if (arg2
== NULL
) {
17314 PyErr_SetString(PyExc_TypeError
,"null reference");
17319 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17323 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
17325 wxPyEndAllowThreads(__tstate
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17328 resultobj
= SWIG_From_int((int)result
);
17335 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17336 PyObject
*resultobj
;
17337 wxImageList
*arg1
= (wxImageList
*) 0 ;
17340 PyObject
* obj0
= 0 ;
17341 PyObject
* obj1
= 0 ;
17342 char *kwnames
[] = {
17343 (char *) "self",(char *) "icon", NULL
17346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
17347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
17350 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17352 if (arg2
== NULL
) {
17353 PyErr_SetString(PyExc_TypeError
,"null reference");
17357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17358 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
17360 wxPyEndAllowThreads(__tstate
);
17361 if (PyErr_Occurred()) SWIG_fail
;
17363 resultobj
= SWIG_From_int((int)result
);
17370 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17371 PyObject
*resultobj
;
17372 wxImageList
*arg1
= (wxImageList
*) 0 ;
17374 wxBitmap
*arg3
= 0 ;
17375 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
17376 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
17378 PyObject
* obj0
= 0 ;
17379 PyObject
* obj1
= 0 ;
17380 PyObject
* obj2
= 0 ;
17381 PyObject
* obj3
= 0 ;
17382 char *kwnames
[] = {
17383 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
17386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17389 arg2
= (int)SWIG_As_int(obj1
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17391 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
17392 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17394 if (arg3
== NULL
) {
17395 PyErr_SetString(PyExc_TypeError
,"null reference");
17399 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
17400 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17402 if (arg4
== NULL
) {
17403 PyErr_SetString(PyExc_TypeError
,"null reference");
17408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17409 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
17411 wxPyEndAllowThreads(__tstate
);
17412 if (PyErr_Occurred()) SWIG_fail
;
17415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17423 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17424 PyObject
*resultobj
;
17425 wxImageList
*arg1
= (wxImageList
*) 0 ;
17430 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
17431 bool arg7
= (bool) (bool)false ;
17433 PyObject
* obj0
= 0 ;
17434 PyObject
* obj1
= 0 ;
17435 PyObject
* obj2
= 0 ;
17436 PyObject
* obj3
= 0 ;
17437 PyObject
* obj4
= 0 ;
17438 PyObject
* obj5
= 0 ;
17439 PyObject
* obj6
= 0 ;
17440 char *kwnames
[] = {
17441 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
17444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17447 arg2
= (int)SWIG_As_int(obj1
);
17448 if (PyErr_Occurred()) SWIG_fail
;
17449 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
17450 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17452 if (arg3
== NULL
) {
17453 PyErr_SetString(PyExc_TypeError
,"null reference");
17456 arg4
= (int)SWIG_As_int(obj3
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17458 arg5
= (int)SWIG_As_int(obj4
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17461 arg6
= (int)SWIG_As_int(obj5
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17465 arg7
= (bool)SWIG_As_bool(obj6
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17470 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
17472 wxPyEndAllowThreads(__tstate
);
17473 if (PyErr_Occurred()) SWIG_fail
;
17476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17484 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17485 PyObject
*resultobj
;
17486 wxImageList
*arg1
= (wxImageList
*) 0 ;
17488 PyObject
* obj0
= 0 ;
17489 char *kwnames
[] = {
17490 (char *) "self", NULL
17493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
17494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17498 result
= (int)(arg1
)->GetImageCount();
17500 wxPyEndAllowThreads(__tstate
);
17501 if (PyErr_Occurred()) SWIG_fail
;
17503 resultobj
= SWIG_From_int((int)result
);
17510 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17511 PyObject
*resultobj
;
17512 wxImageList
*arg1
= (wxImageList
*) 0 ;
17515 PyObject
* obj0
= 0 ;
17516 PyObject
* obj1
= 0 ;
17517 char *kwnames
[] = {
17518 (char *) "self",(char *) "index", NULL
17521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
17522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17524 arg2
= (int)SWIG_As_int(obj1
);
17525 if (PyErr_Occurred()) SWIG_fail
;
17527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17528 result
= (bool)(arg1
)->Remove(arg2
);
17530 wxPyEndAllowThreads(__tstate
);
17531 if (PyErr_Occurred()) SWIG_fail
;
17534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17542 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17543 PyObject
*resultobj
;
17544 wxImageList
*arg1
= (wxImageList
*) 0 ;
17546 PyObject
* obj0
= 0 ;
17547 char *kwnames
[] = {
17548 (char *) "self", NULL
17551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
17552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 result
= (bool)(arg1
)->RemoveAll();
17558 wxPyEndAllowThreads(__tstate
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17570 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17571 PyObject
*resultobj
;
17572 wxImageList
*arg1
= (wxImageList
*) 0 ;
17580 PyObject
* obj0
= 0 ;
17581 PyObject
* obj1
= 0 ;
17582 char *kwnames
[] = {
17583 (char *) "self",(char *) "index", NULL
17586 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17587 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
17588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17591 arg2
= (int)SWIG_As_int(obj1
);
17592 if (PyErr_Occurred()) SWIG_fail
;
17594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17595 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
17597 wxPyEndAllowThreads(__tstate
);
17598 if (PyErr_Occurred()) SWIG_fail
;
17600 Py_INCREF(Py_None
); resultobj
= Py_None
;
17601 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17602 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17603 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
17604 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
17611 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
17613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17614 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
17616 return Py_BuildValue((char *)"");
17618 static int _wrap_NORMAL_FONT_set(PyObject
*) {
17619 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
17624 static PyObject
*_wrap_NORMAL_FONT_get() {
17627 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
17632 static int _wrap_SMALL_FONT_set(PyObject
*) {
17633 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
17638 static PyObject
*_wrap_SMALL_FONT_get() {
17641 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
17646 static int _wrap_ITALIC_FONT_set(PyObject
*) {
17647 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
17652 static PyObject
*_wrap_ITALIC_FONT_get() {
17655 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
17660 static int _wrap_SWISS_FONT_set(PyObject
*) {
17661 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
17666 static PyObject
*_wrap_SWISS_FONT_get() {
17669 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
17674 static int _wrap_RED_PEN_set(PyObject
*) {
17675 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
17680 static PyObject
*_wrap_RED_PEN_get() {
17683 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
17688 static int _wrap_CYAN_PEN_set(PyObject
*) {
17689 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
17694 static PyObject
*_wrap_CYAN_PEN_get() {
17697 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
17702 static int _wrap_GREEN_PEN_set(PyObject
*) {
17703 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
17708 static PyObject
*_wrap_GREEN_PEN_get() {
17711 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
17716 static int _wrap_BLACK_PEN_set(PyObject
*) {
17717 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
17722 static PyObject
*_wrap_BLACK_PEN_get() {
17725 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
17730 static int _wrap_WHITE_PEN_set(PyObject
*) {
17731 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
17736 static PyObject
*_wrap_WHITE_PEN_get() {
17739 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
17744 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
17745 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
17750 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
17753 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
17758 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
17759 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
17764 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
17767 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
17772 static int _wrap_GREY_PEN_set(PyObject
*) {
17773 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
17778 static PyObject
*_wrap_GREY_PEN_get() {
17781 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17786 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
17787 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
17792 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
17795 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17800 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
17801 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
17806 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
17809 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17814 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
17815 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
17820 static PyObject
*_wrap_BLUE_BRUSH_get() {
17823 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17828 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
17829 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
17834 static PyObject
*_wrap_GREEN_BRUSH_get() {
17837 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17842 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
17843 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
17848 static PyObject
*_wrap_WHITE_BRUSH_get() {
17851 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17856 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
17857 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
17862 static PyObject
*_wrap_BLACK_BRUSH_get() {
17865 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17870 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
17871 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
17876 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
17879 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17884 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
17885 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
17890 static PyObject
*_wrap_CYAN_BRUSH_get() {
17893 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17898 static int _wrap_RED_BRUSH_set(PyObject
*) {
17899 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
17904 static PyObject
*_wrap_RED_BRUSH_get() {
17907 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17912 static int _wrap_GREY_BRUSH_set(PyObject
*) {
17913 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
17918 static PyObject
*_wrap_GREY_BRUSH_get() {
17921 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17926 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
17927 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
17932 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
17935 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17940 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
17941 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
17946 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
17949 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17954 static int _wrap_BLACK_set(PyObject
*) {
17955 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
17960 static PyObject
*_wrap_BLACK_get() {
17963 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
17968 static int _wrap_WHITE_set(PyObject
*) {
17969 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
17974 static PyObject
*_wrap_WHITE_get() {
17977 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
17982 static int _wrap_RED_set(PyObject
*) {
17983 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
17988 static PyObject
*_wrap_RED_get() {
17991 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
17996 static int _wrap_BLUE_set(PyObject
*) {
17997 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
18002 static PyObject
*_wrap_BLUE_get() {
18005 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
18010 static int _wrap_GREEN_set(PyObject
*) {
18011 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
18016 static PyObject
*_wrap_GREEN_get() {
18019 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
18024 static int _wrap_CYAN_set(PyObject
*) {
18025 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
18030 static PyObject
*_wrap_CYAN_get() {
18033 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
18038 static int _wrap_LIGHT_GREY_set(PyObject
*) {
18039 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
18044 static PyObject
*_wrap_LIGHT_GREY_get() {
18047 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
18052 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
18053 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
18058 static PyObject
*_wrap_STANDARD_CURSOR_get() {
18061 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
18066 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
18067 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
18072 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
18075 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
18080 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
18081 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
18086 static PyObject
*_wrap_CROSS_CURSOR_get() {
18089 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
18094 static int _wrap_NullBitmap_set(PyObject
*) {
18095 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
18100 static PyObject
*_wrap_NullBitmap_get() {
18103 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
18108 static int _wrap_NullIcon_set(PyObject
*) {
18109 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
18114 static PyObject
*_wrap_NullIcon_get() {
18117 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
18122 static int _wrap_NullCursor_set(PyObject
*) {
18123 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
18128 static PyObject
*_wrap_NullCursor_get() {
18131 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
18136 static int _wrap_NullPen_set(PyObject
*) {
18137 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
18142 static PyObject
*_wrap_NullPen_get() {
18145 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
18150 static int _wrap_NullBrush_set(PyObject
*) {
18151 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
18156 static PyObject
*_wrap_NullBrush_get() {
18159 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
18164 static int _wrap_NullPalette_set(PyObject
*) {
18165 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
18170 static PyObject
*_wrap_NullPalette_get() {
18173 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
18178 static int _wrap_NullFont_set(PyObject
*) {
18179 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
18184 static PyObject
*_wrap_NullFont_get() {
18187 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
18192 static int _wrap_NullColour_set(PyObject
*) {
18193 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
18198 static PyObject
*_wrap_NullColour_get() {
18201 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
18206 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18207 PyObject
*resultobj
;
18208 wxPenList
*arg1
= (wxPenList
*) 0 ;
18209 wxPen
*arg2
= (wxPen
*) 0 ;
18210 PyObject
* obj0
= 0 ;
18211 PyObject
* obj1
= 0 ;
18212 char *kwnames
[] = {
18213 (char *) "self",(char *) "pen", NULL
18216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
18217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
18218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18219 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
18220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18223 (arg1
)->AddPen(arg2
);
18225 wxPyEndAllowThreads(__tstate
);
18226 if (PyErr_Occurred()) SWIG_fail
;
18228 Py_INCREF(Py_None
); resultobj
= Py_None
;
18235 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18236 PyObject
*resultobj
;
18237 wxPenList
*arg1
= (wxPenList
*) 0 ;
18238 wxColour
*arg2
= 0 ;
18243 PyObject
* obj0
= 0 ;
18244 PyObject
* obj1
= 0 ;
18245 PyObject
* obj2
= 0 ;
18246 PyObject
* obj3
= 0 ;
18247 char *kwnames
[] = {
18248 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
18251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
18253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18256 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18258 arg3
= (int)SWIG_As_int(obj2
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18260 arg4
= (int)SWIG_As_int(obj3
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18264 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
18266 wxPyEndAllowThreads(__tstate
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
18276 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18277 PyObject
*resultobj
;
18278 wxPenList
*arg1
= (wxPenList
*) 0 ;
18279 wxPen
*arg2
= (wxPen
*) 0 ;
18280 PyObject
* obj0
= 0 ;
18281 PyObject
* obj1
= 0 ;
18282 char *kwnames
[] = {
18283 (char *) "self",(char *) "pen", NULL
18286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
18287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
18288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
18290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18293 (arg1
)->RemovePen(arg2
);
18295 wxPyEndAllowThreads(__tstate
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18298 Py_INCREF(Py_None
); resultobj
= Py_None
;
18305 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18306 PyObject
*resultobj
;
18307 wxPenList
*arg1
= (wxPenList
*) 0 ;
18309 PyObject
* obj0
= 0 ;
18310 char *kwnames
[] = {
18311 (char *) "self", NULL
18314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
18315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
18316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18319 result
= (int)(arg1
)->GetCount();
18321 wxPyEndAllowThreads(__tstate
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18324 resultobj
= SWIG_From_int((int)result
);
18331 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
18333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18334 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
18336 return Py_BuildValue((char *)"");
18338 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18339 PyObject
*resultobj
;
18340 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
18341 wxBrush
*arg2
= (wxBrush
*) 0 ;
18342 PyObject
* obj0
= 0 ;
18343 PyObject
* obj1
= 0 ;
18344 char *kwnames
[] = {
18345 (char *) "self",(char *) "brush", NULL
18348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
18349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
18350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
18352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18355 (arg1
)->AddBrush(arg2
);
18357 wxPyEndAllowThreads(__tstate
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18360 Py_INCREF(Py_None
); resultobj
= Py_None
;
18367 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18368 PyObject
*resultobj
;
18369 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
18370 wxColour
*arg2
= 0 ;
18374 PyObject
* obj0
= 0 ;
18375 PyObject
* obj1
= 0 ;
18376 PyObject
* obj2
= 0 ;
18377 char *kwnames
[] = {
18378 (char *) "self",(char *) "colour",(char *) "style", NULL
18381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
18383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18386 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18388 arg3
= (int)SWIG_As_int(obj2
);
18389 if (PyErr_Occurred()) SWIG_fail
;
18391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18392 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
18394 wxPyEndAllowThreads(__tstate
);
18395 if (PyErr_Occurred()) SWIG_fail
;
18397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
18404 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18405 PyObject
*resultobj
;
18406 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
18407 wxBrush
*arg2
= (wxBrush
*) 0 ;
18408 PyObject
* obj0
= 0 ;
18409 PyObject
* obj1
= 0 ;
18410 char *kwnames
[] = {
18411 (char *) "self",(char *) "brush", NULL
18414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
18415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
18416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18417 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
18418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18421 (arg1
)->RemoveBrush(arg2
);
18423 wxPyEndAllowThreads(__tstate
);
18424 if (PyErr_Occurred()) SWIG_fail
;
18426 Py_INCREF(Py_None
); resultobj
= Py_None
;
18433 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18434 PyObject
*resultobj
;
18435 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
18437 PyObject
* obj0
= 0 ;
18438 char *kwnames
[] = {
18439 (char *) "self", NULL
18442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
18443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
18444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18447 result
= (int)(arg1
)->GetCount();
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18452 resultobj
= SWIG_From_int((int)result
);
18459 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
18461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18462 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
18464 return Py_BuildValue((char *)"");
18466 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18467 PyObject
*resultobj
;
18468 wxColourDatabase
*result
;
18469 char *kwnames
[] = {
18473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
18475 if (!wxPyCheckForApp()) SWIG_fail
;
18476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18477 result
= (wxColourDatabase
*)new wxColourDatabase();
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
18489 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18490 PyObject
*resultobj
;
18491 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18492 PyObject
* obj0
= 0 ;
18493 char *kwnames
[] = {
18494 (char *) "self", NULL
18497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
18498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18504 wxPyEndAllowThreads(__tstate
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18507 Py_INCREF(Py_None
); resultobj
= Py_None
;
18514 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18515 PyObject
*resultobj
;
18516 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18517 wxString
*arg2
= 0 ;
18519 bool temp2
= false ;
18520 PyObject
* obj0
= 0 ;
18521 PyObject
* obj1
= 0 ;
18522 char *kwnames
[] = {
18523 (char *) "self",(char *) "name", NULL
18526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
18527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18530 arg2
= wxString_in_helper(obj1
);
18531 if (arg2
== NULL
) SWIG_fail
;
18535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18536 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
18538 wxPyEndAllowThreads(__tstate
);
18539 if (PyErr_Occurred()) SWIG_fail
;
18542 wxColour
* resultptr
;
18543 resultptr
= new wxColour((wxColour
&) result
);
18544 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18560 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18561 PyObject
*resultobj
;
18562 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18563 wxColour
*arg2
= 0 ;
18566 PyObject
* obj0
= 0 ;
18567 PyObject
* obj1
= 0 ;
18568 char *kwnames
[] = {
18569 (char *) "self",(char *) "colour", NULL
18572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
18573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18577 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18581 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
18583 wxPyEndAllowThreads(__tstate
);
18584 if (PyErr_Occurred()) SWIG_fail
;
18588 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18590 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18599 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18600 PyObject
*resultobj
;
18601 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18602 wxString
*arg2
= 0 ;
18603 wxColour
*arg3
= 0 ;
18604 bool temp2
= false ;
18606 PyObject
* obj0
= 0 ;
18607 PyObject
* obj1
= 0 ;
18608 PyObject
* obj2
= 0 ;
18609 char *kwnames
[] = {
18610 (char *) "self",(char *) "name",(char *) "colour", NULL
18613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18617 arg2
= wxString_in_helper(obj1
);
18618 if (arg2
== NULL
) SWIG_fail
;
18623 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18627 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
18629 wxPyEndAllowThreads(__tstate
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18632 Py_INCREF(Py_None
); resultobj
= Py_None
;
18647 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18648 PyObject
*resultobj
;
18649 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18650 wxString
*arg2
= 0 ;
18654 bool temp2
= false ;
18655 PyObject
* obj0
= 0 ;
18656 PyObject
* obj1
= 0 ;
18657 PyObject
* obj2
= 0 ;
18658 PyObject
* obj3
= 0 ;
18659 PyObject
* obj4
= 0 ;
18660 char *kwnames
[] = {
18661 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
18664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18668 arg2
= wxString_in_helper(obj1
);
18669 if (arg2
== NULL
) SWIG_fail
;
18672 arg3
= (int)SWIG_As_int(obj2
);
18673 if (PyErr_Occurred()) SWIG_fail
;
18674 arg4
= (int)SWIG_As_int(obj3
);
18675 if (PyErr_Occurred()) SWIG_fail
;
18676 arg5
= (int)SWIG_As_int(obj4
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18680 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18685 Py_INCREF(Py_None
); resultobj
= Py_None
;
18700 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
18702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18703 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
18705 return Py_BuildValue((char *)"");
18707 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18708 PyObject
*resultobj
;
18709 wxFontList
*arg1
= (wxFontList
*) 0 ;
18710 wxFont
*arg2
= (wxFont
*) 0 ;
18711 PyObject
* obj0
= 0 ;
18712 PyObject
* obj1
= 0 ;
18713 char *kwnames
[] = {
18714 (char *) "self",(char *) "font", NULL
18717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18724 (arg1
)->AddFont(arg2
);
18726 wxPyEndAllowThreads(__tstate
);
18727 if (PyErr_Occurred()) SWIG_fail
;
18729 Py_INCREF(Py_None
); resultobj
= Py_None
;
18736 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18737 PyObject
*resultobj
;
18738 wxFontList
*arg1
= (wxFontList
*) 0 ;
18743 bool arg6
= (bool) false ;
18744 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18745 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18746 int arg8
= (int) wxFONTENCODING_DEFAULT
;
18748 bool temp7
= false ;
18749 PyObject
* obj0
= 0 ;
18750 PyObject
* obj1
= 0 ;
18751 PyObject
* obj2
= 0 ;
18752 PyObject
* obj3
= 0 ;
18753 PyObject
* obj4
= 0 ;
18754 PyObject
* obj5
= 0 ;
18755 PyObject
* obj6
= 0 ;
18756 PyObject
* obj7
= 0 ;
18757 char *kwnames
[] = {
18758 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
18761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18764 arg2
= (int)SWIG_As_int(obj1
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18766 arg3
= (int)SWIG_As_int(obj2
);
18767 if (PyErr_Occurred()) SWIG_fail
;
18768 arg4
= (int)SWIG_As_int(obj3
);
18769 if (PyErr_Occurred()) SWIG_fail
;
18770 arg5
= (int)SWIG_As_int(obj4
);
18771 if (PyErr_Occurred()) SWIG_fail
;
18773 arg6
= (bool)SWIG_As_bool(obj5
);
18774 if (PyErr_Occurred()) SWIG_fail
;
18778 arg7
= wxString_in_helper(obj6
);
18779 if (arg7
== NULL
) SWIG_fail
;
18784 arg8
= (int)SWIG_As_int(obj7
);
18785 if (PyErr_Occurred()) SWIG_fail
;
18788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18789 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
18791 wxPyEndAllowThreads(__tstate
);
18792 if (PyErr_Occurred()) SWIG_fail
;
18794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
18809 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18810 PyObject
*resultobj
;
18811 wxFontList
*arg1
= (wxFontList
*) 0 ;
18812 wxFont
*arg2
= (wxFont
*) 0 ;
18813 PyObject
* obj0
= 0 ;
18814 PyObject
* obj1
= 0 ;
18815 char *kwnames
[] = {
18816 (char *) "self",(char *) "font", NULL
18819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18822 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18826 (arg1
)->RemoveFont(arg2
);
18828 wxPyEndAllowThreads(__tstate
);
18829 if (PyErr_Occurred()) SWIG_fail
;
18831 Py_INCREF(Py_None
); resultobj
= Py_None
;
18838 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18839 PyObject
*resultobj
;
18840 wxFontList
*arg1
= (wxFontList
*) 0 ;
18842 PyObject
* obj0
= 0 ;
18843 char *kwnames
[] = {
18844 (char *) "self", NULL
18847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
18848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18852 result
= (int)(arg1
)->GetCount();
18854 wxPyEndAllowThreads(__tstate
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18857 resultobj
= SWIG_From_int((int)result
);
18864 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
18866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18867 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
18869 return Py_BuildValue((char *)"");
18871 static int _wrap_TheFontList_set(PyObject
*) {
18872 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
18877 static PyObject
*_wrap_TheFontList_get() {
18880 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
18885 static int _wrap_ThePenList_set(PyObject
*) {
18886 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
18891 static PyObject
*_wrap_ThePenList_get() {
18894 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
18899 static int _wrap_TheBrushList_set(PyObject
*) {
18900 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
18905 static PyObject
*_wrap_TheBrushList_get() {
18908 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
18913 static int _wrap_TheColourDatabase_set(PyObject
*) {
18914 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
18919 static PyObject
*_wrap_TheColourDatabase_get() {
18922 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
18927 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18928 PyObject
*resultobj
;
18930 char *kwnames
[] = {
18934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
18936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18937 result
= (wxEffects
*)new wxEffects();
18939 wxPyEndAllowThreads(__tstate
);
18940 if (PyErr_Occurred()) SWIG_fail
;
18942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
18949 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18950 PyObject
*resultobj
;
18951 wxEffects
*arg1
= (wxEffects
*) 0 ;
18953 PyObject
* obj0
= 0 ;
18954 char *kwnames
[] = {
18955 (char *) "self", NULL
18958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
18959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18963 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
18965 wxPyEndAllowThreads(__tstate
);
18966 if (PyErr_Occurred()) SWIG_fail
;
18969 wxColour
* resultptr
;
18970 resultptr
= new wxColour((wxColour
&) result
);
18971 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18979 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18980 PyObject
*resultobj
;
18981 wxEffects
*arg1
= (wxEffects
*) 0 ;
18983 PyObject
* obj0
= 0 ;
18984 char *kwnames
[] = {
18985 (char *) "self", NULL
18988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
18989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18993 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
18995 wxPyEndAllowThreads(__tstate
);
18996 if (PyErr_Occurred()) SWIG_fail
;
18999 wxColour
* resultptr
;
19000 resultptr
= new wxColour((wxColour
&) result
);
19001 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19009 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19010 PyObject
*resultobj
;
19011 wxEffects
*arg1
= (wxEffects
*) 0 ;
19013 PyObject
* obj0
= 0 ;
19014 char *kwnames
[] = {
19015 (char *) "self", NULL
19018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
19019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19023 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
19025 wxPyEndAllowThreads(__tstate
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19029 wxColour
* resultptr
;
19030 resultptr
= new wxColour((wxColour
&) result
);
19031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19039 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19040 PyObject
*resultobj
;
19041 wxEffects
*arg1
= (wxEffects
*) 0 ;
19043 PyObject
* obj0
= 0 ;
19044 char *kwnames
[] = {
19045 (char *) "self", NULL
19048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
19049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19053 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
19055 wxPyEndAllowThreads(__tstate
);
19056 if (PyErr_Occurred()) SWIG_fail
;
19059 wxColour
* resultptr
;
19060 resultptr
= new wxColour((wxColour
&) result
);
19061 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19069 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19070 PyObject
*resultobj
;
19071 wxEffects
*arg1
= (wxEffects
*) 0 ;
19073 PyObject
* obj0
= 0 ;
19074 char *kwnames
[] = {
19075 (char *) "self", NULL
19078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
19079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19083 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
19085 wxPyEndAllowThreads(__tstate
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19089 wxColour
* resultptr
;
19090 resultptr
= new wxColour((wxColour
&) result
);
19091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19099 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19100 PyObject
*resultobj
;
19101 wxEffects
*arg1
= (wxEffects
*) 0 ;
19102 wxColour
*arg2
= 0 ;
19104 PyObject
* obj0
= 0 ;
19105 PyObject
* obj1
= 0 ;
19106 char *kwnames
[] = {
19107 (char *) "self",(char *) "c", NULL
19110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19115 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19119 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
19121 wxPyEndAllowThreads(__tstate
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19124 Py_INCREF(Py_None
); resultobj
= Py_None
;
19131 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19132 PyObject
*resultobj
;
19133 wxEffects
*arg1
= (wxEffects
*) 0 ;
19134 wxColour
*arg2
= 0 ;
19136 PyObject
* obj0
= 0 ;
19137 PyObject
* obj1
= 0 ;
19138 char *kwnames
[] = {
19139 (char *) "self",(char *) "c", NULL
19142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
19143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19147 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19151 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
19153 wxPyEndAllowThreads(__tstate
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19156 Py_INCREF(Py_None
); resultobj
= Py_None
;
19163 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19164 PyObject
*resultobj
;
19165 wxEffects
*arg1
= (wxEffects
*) 0 ;
19166 wxColour
*arg2
= 0 ;
19168 PyObject
* obj0
= 0 ;
19169 PyObject
* obj1
= 0 ;
19170 char *kwnames
[] = {
19171 (char *) "self",(char *) "c", NULL
19174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19179 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19183 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
19185 wxPyEndAllowThreads(__tstate
);
19186 if (PyErr_Occurred()) SWIG_fail
;
19188 Py_INCREF(Py_None
); resultobj
= Py_None
;
19195 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19196 PyObject
*resultobj
;
19197 wxEffects
*arg1
= (wxEffects
*) 0 ;
19198 wxColour
*arg2
= 0 ;
19200 PyObject
* obj0
= 0 ;
19201 PyObject
* obj1
= 0 ;
19202 char *kwnames
[] = {
19203 (char *) "self",(char *) "c", NULL
19206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
19207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19211 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19215 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
19217 wxPyEndAllowThreads(__tstate
);
19218 if (PyErr_Occurred()) SWIG_fail
;
19220 Py_INCREF(Py_None
); resultobj
= Py_None
;
19227 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19228 PyObject
*resultobj
;
19229 wxEffects
*arg1
= (wxEffects
*) 0 ;
19230 wxColour
*arg2
= 0 ;
19232 PyObject
* obj0
= 0 ;
19233 PyObject
* obj1
= 0 ;
19234 char *kwnames
[] = {
19235 (char *) "self",(char *) "c", NULL
19238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
19239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19243 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19247 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
19249 wxPyEndAllowThreads(__tstate
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19252 Py_INCREF(Py_None
); resultobj
= Py_None
;
19259 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19260 PyObject
*resultobj
;
19261 wxEffects
*arg1
= (wxEffects
*) 0 ;
19262 wxColour
*arg2
= 0 ;
19263 wxColour
*arg3
= 0 ;
19264 wxColour
*arg4
= 0 ;
19265 wxColour
*arg5
= 0 ;
19266 wxColour
*arg6
= 0 ;
19272 PyObject
* obj0
= 0 ;
19273 PyObject
* obj1
= 0 ;
19274 PyObject
* obj2
= 0 ;
19275 PyObject
* obj3
= 0 ;
19276 PyObject
* obj4
= 0 ;
19277 PyObject
* obj5
= 0 ;
19278 char *kwnames
[] = {
19279 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
19282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19287 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19291 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19295 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
19299 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
19303 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
19306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19307 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
19309 wxPyEndAllowThreads(__tstate
);
19310 if (PyErr_Occurred()) SWIG_fail
;
19312 Py_INCREF(Py_None
); resultobj
= Py_None
;
19319 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19320 PyObject
*resultobj
;
19321 wxEffects
*arg1
= (wxEffects
*) 0 ;
19324 int arg4
= (int) 1 ;
19326 PyObject
* obj0
= 0 ;
19327 PyObject
* obj1
= 0 ;
19328 PyObject
* obj2
= 0 ;
19329 PyObject
* obj3
= 0 ;
19330 char *kwnames
[] = {
19331 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
19334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19338 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19340 if (arg2
== NULL
) {
19341 PyErr_SetString(PyExc_TypeError
,"null reference");
19346 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
19349 arg4
= (int)SWIG_As_int(obj3
);
19350 if (PyErr_Occurred()) SWIG_fail
;
19353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19354 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
19356 wxPyEndAllowThreads(__tstate
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19359 Py_INCREF(Py_None
); resultobj
= Py_None
;
19366 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19367 PyObject
*resultobj
;
19368 wxEffects
*arg1
= (wxEffects
*) 0 ;
19371 wxBitmap
*arg4
= 0 ;
19374 PyObject
* obj0
= 0 ;
19375 PyObject
* obj1
= 0 ;
19376 PyObject
* obj2
= 0 ;
19377 PyObject
* obj3
= 0 ;
19378 char *kwnames
[] = {
19379 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
19382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19387 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19389 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
19390 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19392 if (arg3
== NULL
) {
19393 PyErr_SetString(PyExc_TypeError
,"null reference");
19396 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
19397 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19399 if (arg4
== NULL
) {
19400 PyErr_SetString(PyExc_TypeError
,"null reference");
19404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19405 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
19407 wxPyEndAllowThreads(__tstate
);
19408 if (PyErr_Occurred()) SWIG_fail
;
19411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19419 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
19421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19422 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
19424 return Py_BuildValue((char *)"");
19426 static PyMethodDef SwigMethods
[] = {
19427 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19428 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19429 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19430 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19431 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19432 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
19433 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19434 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19435 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19436 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19437 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19438 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19439 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19440 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19441 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19442 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19443 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19444 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19445 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19446 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19447 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19448 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19449 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
19450 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19451 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19452 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19453 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19454 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19455 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
19456 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19457 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19458 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19459 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19460 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19461 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19462 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19463 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19464 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19465 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19466 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19467 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19468 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19469 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19470 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19471 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19472 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19473 { (char *)"Pen_GetStipple", (PyCFunction
) _wrap_Pen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19474 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19475 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19476 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19477 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
19478 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19479 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19480 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19481 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19482 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19483 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19484 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19485 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19486 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19487 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
19488 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19489 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19490 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19491 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19492 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19493 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19494 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19495 { (char *)"Bitmap_GetHandle", (PyCFunction
) _wrap_Bitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19496 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19497 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19498 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19499 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19500 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19501 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19502 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19503 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19504 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19505 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19506 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19507 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19508 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19509 { (char *)"Bitmap_GetPalette", (PyCFunction
) _wrap_Bitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19510 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19511 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19512 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19513 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19514 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19515 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19516 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19517 { (char *)"Bitmap_GetQuality", (PyCFunction
) _wrap_Bitmap_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19518 { (char *)"Bitmap_SetQuality", (PyCFunction
) _wrap_Bitmap_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19519 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19520 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19521 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
19522 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19523 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
19524 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19525 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19526 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19527 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19528 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19529 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19530 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19531 { (char *)"Icon_GetHandle", (PyCFunction
) _wrap_Icon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19532 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19533 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19534 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19535 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19536 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19537 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19538 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19539 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19540 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19541 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19542 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
19543 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19544 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19545 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19546 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19547 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19548 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19549 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19550 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
19551 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19552 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19553 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19554 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19555 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19556 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19557 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19558 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
19559 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19560 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19561 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19562 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19563 { (char *)"Cursor_GetHandle", (PyCFunction
) _wrap_Cursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19564 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19565 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19566 { (char *)"Cursor_GetWidth", (PyCFunction
) _wrap_Cursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19567 { (char *)"Cursor_GetHeight", (PyCFunction
) _wrap_Cursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19568 { (char *)"Cursor_GetDepth", (PyCFunction
) _wrap_Cursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19569 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19570 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19571 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19572 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19573 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
19574 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19575 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19576 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19577 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19578 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19579 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19580 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19581 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19582 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19583 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19584 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19585 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19586 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19587 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19588 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19589 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19590 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19591 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19592 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19593 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19594 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19595 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19596 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19597 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19598 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19599 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19600 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19601 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19602 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
19603 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19604 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19605 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19606 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19607 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19608 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19609 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19610 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19611 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19612 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19613 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19614 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19615 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19616 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
19617 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19618 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19619 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19620 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19621 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19622 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19623 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19624 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19625 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19626 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19627 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19628 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19629 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19630 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19631 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19632 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19633 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19634 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19635 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19636 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19637 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19638 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19639 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19640 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19641 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19642 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
19643 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19644 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19645 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19646 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19647 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19648 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19649 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19650 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19651 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
19652 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19653 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19654 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19655 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19656 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19657 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19658 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19659 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19660 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19661 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19662 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19663 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19664 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19665 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19666 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19667 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19668 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19669 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19670 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19671 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
19672 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19673 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19674 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19675 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19676 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19677 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19678 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19679 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19680 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19681 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19682 { (char *)"Font_GetPixelSize", (PyCFunction
) _wrap_Font_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19683 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
) _wrap_Font_IsUsingSizeInPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19684 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19685 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19686 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19687 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19688 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19689 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19690 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19691 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19692 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19693 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19694 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19695 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19696 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19697 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19698 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19699 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19700 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19701 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19702 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19703 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19704 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19705 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19706 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19707 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19708 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19709 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19710 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19711 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19712 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
19713 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19714 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19715 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19716 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19717 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19718 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19719 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19720 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
19721 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19722 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19723 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19724 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19725 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19726 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19727 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
19728 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19729 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19730 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19731 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19732 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19733 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19734 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19735 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19736 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19737 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19738 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19739 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19740 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19741 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19742 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19743 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19744 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19745 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19746 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19747 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19748 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19749 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
19750 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19751 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
19752 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19753 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19754 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19755 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19756 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19757 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19758 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19759 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
19760 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19761 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19762 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19763 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19764 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19765 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19766 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19767 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19768 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19769 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19770 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19771 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19772 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19773 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19774 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19775 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19776 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19777 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19778 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19779 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19780 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19781 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19782 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19783 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19784 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19785 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19786 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19787 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19788 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19789 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19790 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19791 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19792 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19793 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19794 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19795 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19796 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19797 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19798 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19799 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19800 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19801 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19802 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19803 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19804 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19805 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19806 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19807 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19808 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19809 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19810 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19811 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19812 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19813 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19814 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19815 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19816 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19817 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19818 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19819 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19820 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19821 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19822 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19823 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19824 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19825 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19826 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19827 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19828 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19829 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19830 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19831 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19832 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19833 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19834 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19835 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19836 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19837 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19838 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19839 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19840 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19841 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19842 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19843 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19844 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19845 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19846 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19847 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19848 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19849 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19850 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19851 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19852 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19853 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19854 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19855 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19856 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19857 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19858 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19859 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19860 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19861 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19862 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19863 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19864 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19865 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19866 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19867 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19868 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19869 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19870 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19871 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19872 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19873 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19874 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19875 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19876 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19877 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19878 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19879 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19880 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19881 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19882 { (char *)"DC_GetHDC", (PyCFunction
) _wrap_DC_GetHDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19883 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19884 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19885 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19886 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19887 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19888 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19889 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
19890 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19891 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19892 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19893 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
19894 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
19895 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19896 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19897 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
19898 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19899 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
19900 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19901 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19902 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19903 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19904 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
19905 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19906 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
19907 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19908 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
19909 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19910 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
19911 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19912 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
19913 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19914 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19915 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19916 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19917 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19918 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
19919 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19920 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19921 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19922 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19923 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19924 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19925 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19926 { (char *)"MetaFile_GetFileName", (PyCFunction
) _wrap_MetaFile_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19927 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
19928 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19929 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19930 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
19931 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19932 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
19933 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19934 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19935 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19936 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19937 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19938 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19939 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19940 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19941 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19942 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19943 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19944 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
19945 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19946 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19947 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19948 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19949 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
19950 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19951 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19952 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19953 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19954 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
19955 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19956 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19957 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19958 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19959 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19960 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19961 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
19962 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19963 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19964 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19965 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19966 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
19967 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19968 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19969 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19970 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19971 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19972 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19973 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19974 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19975 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19976 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19977 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19978 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19979 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19980 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19981 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
19982 { NULL
, NULL
, 0, NULL
}
19986 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19988 static void *_p_wxControlTo_p_wxWindow(void *x
) {
19989 return (void *)((wxWindow
*) ((wxControl
*) x
));
19991 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
19992 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
19994 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
19995 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
19997 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
19998 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
20000 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
20001 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
20003 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
20004 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
20006 static void *_p_wxPenTo_p_wxObject(void *x
) {
20007 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
20009 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
20010 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
20012 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
20013 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
20015 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
20016 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
20018 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
20019 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
20021 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
20022 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
20024 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
20025 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
20027 static void *_p_wxIconTo_p_wxObject(void *x
) {
20028 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
20030 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
20031 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
20033 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
20034 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
20036 static void *_p_wxSizerTo_p_wxObject(void *x
) {
20037 return (void *)((wxObject
*) ((wxSizer
*) x
));
20039 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
20040 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
20042 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
20043 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
20045 static void *_p_wxPenListTo_p_wxObject(void *x
) {
20046 return (void *)((wxObject
*) ((wxPenList
*) x
));
20048 static void *_p_wxEventTo_p_wxObject(void *x
) {
20049 return (void *)((wxObject
*) ((wxEvent
*) x
));
20051 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
20052 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
20054 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
20055 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
20057 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
20058 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
20060 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
20061 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
20063 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
20064 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
20066 static void *_p_wxDCTo_p_wxObject(void *x
) {
20067 return (void *)((wxObject
*) ((wxDC
*) x
));
20069 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
20070 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
20072 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
20073 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
20075 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
20076 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
20078 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
20079 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
20081 static void *_p_wxControlTo_p_wxObject(void *x
) {
20082 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
20084 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
20085 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
20087 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
20088 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
20090 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
20091 return (void *)((wxObject
*) ((wxFSFile
*) x
));
20093 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
20094 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
20096 static void *_p_wxRegionTo_p_wxObject(void *x
) {
20097 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
20099 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
20100 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
20102 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
20103 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
20105 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
20106 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
20108 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
20109 return (void *)((wxObject
*) ((wxEffects
*) x
));
20111 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
20112 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
20114 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
20115 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
20117 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
20118 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
20120 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
20121 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
20123 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
20124 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
20126 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
20127 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
20129 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
20130 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
20132 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
20133 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
20135 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
20136 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
20138 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
20139 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
20141 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
20142 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
20144 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
20145 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
20147 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
20148 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
20150 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
20151 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
20153 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
20154 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
20156 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
20157 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
20159 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
20160 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
20162 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
20163 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
20165 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
20166 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
20168 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
20169 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
20171 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
20172 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
20174 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
20175 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
20177 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
20178 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
20180 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
20181 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
20183 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
20184 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
20186 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
20187 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
20189 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
20190 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
20192 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
20193 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
20195 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
20196 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
20198 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
20199 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
20201 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
20202 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
20204 static void *_p_wxImageTo_p_wxObject(void *x
) {
20205 return (void *)((wxObject
*) ((wxImage
*) x
));
20207 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
20208 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
20210 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
20211 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
20213 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
20214 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
20216 static void *_p_wxImageListTo_p_wxObject(void *x
) {
20217 return (void *)((wxObject
*) ((wxImageList
*) x
));
20219 static void *_p_wxCursorTo_p_wxObject(void *x
) {
20220 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
20222 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
20223 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
20225 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
20226 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
20228 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
20229 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
20231 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
20232 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
20234 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
20235 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
20237 static void *_p_wxWindowTo_p_wxObject(void *x
) {
20238 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
20240 static void *_p_wxMenuTo_p_wxObject(void *x
) {
20241 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
20243 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
20244 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
20246 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
20247 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
20249 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
20250 return (void *)((wxObject
*) ((wxBrushList
*) x
));
20252 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
20253 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
20255 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
20256 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
20258 static void *_p_wxMaskTo_p_wxObject(void *x
) {
20259 return (void *)((wxObject
*) ((wxMask
*) x
));
20261 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
20262 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
20264 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
20265 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
20267 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
20268 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
20270 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
20271 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
20273 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
20274 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
20276 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
20277 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
20279 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
20280 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
20282 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
20283 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
20285 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
20286 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
20288 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
20289 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
20291 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
20292 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
20294 static void *_p_wxFontTo_p_wxObject(void *x
) {
20295 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
20297 static void *_p_wxBrushTo_p_wxObject(void *x
) {
20298 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
20300 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
20301 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
20303 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
20304 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
20306 static void *_p_wxColourTo_p_wxObject(void *x
) {
20307 return (void *)((wxObject
*) ((wxColour
*) x
));
20309 static void *_p_wxFontListTo_p_wxObject(void *x
) {
20310 return (void *)((wxObject
*) ((wxFontList
*) x
));
20312 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
20313 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
20315 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
20316 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
20318 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
20319 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
20321 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
20322 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
20324 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
20325 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
20327 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
20328 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
20330 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
20331 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
20333 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
20334 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
20336 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
20337 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
20339 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
20340 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
20342 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
20343 return (void *)((wxDC
*) ((wxClientDC
*) x
));
20345 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
20346 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
20348 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
20349 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
20351 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
20352 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
20354 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
20355 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
20357 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
20358 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
20360 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
20361 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
20363 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
20364 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
20366 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
20367 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
20369 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
20370 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
20372 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
20373 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
20375 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
20376 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
20378 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}};
20379 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}};
20380 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}};
20381 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}};
20382 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}};
20383 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}};
20384 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}};
20385 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}};
20386 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}};
20387 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}};
20388 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}};
20389 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}};
20390 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}};
20391 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}};
20392 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}};
20393 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}};
20394 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}};
20395 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}};
20396 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}};
20397 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}};
20398 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}};
20399 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}};
20400 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}};
20401 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}};
20402 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}};
20403 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}};
20404 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}};
20405 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}};
20406 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}};
20407 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}};
20408 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}};
20409 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}};
20410 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}};
20411 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}};
20412 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}};
20413 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}};
20414 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}};
20415 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}};
20416 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}};
20417 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}};
20418 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}};
20419 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}};
20420 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}};
20421 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}};
20422 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}};
20423 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}};
20424 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}};
20425 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}};
20426 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}};
20427 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}};
20428 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}};
20429 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}};
20430 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}};
20431 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}};
20432 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}};
20434 static swig_type_info
*swig_types_initial
[] = {
20435 _swigt__p_wxPostScriptDC
,
20437 _swigt__p_wxColour
,
20439 _swigt__p_wxMirrorDC
,
20441 _swigt__p_wxPyFontEnumerator
,
20443 _swigt__p_wxIconLocation
,
20445 _swigt__p_wxMetaFileDC
,
20449 _swigt__p_wxWindow
,
20451 _swigt__p_wxMemoryDC
,
20452 _swigt__p_wxFontMapper
,
20453 _swigt__p_wxEffects
,
20454 _swigt__p_wxNativeEncodingInfo
,
20455 _swigt__p_wxPalette
,
20456 _swigt__p_wxBitmap
,
20457 _swigt__p_wxObject
,
20458 _swigt__p_wxRegionIterator
,
20460 _swigt__p_wxString
,
20461 _swigt__p_wxPrinterDC
,
20462 _swigt__p_wxIconBundle
,
20465 _swigt__p_wxScreenDC
,
20466 _swigt__p_wxCursor
,
20467 _swigt__p_wxClientDC
,
20468 _swigt__p_wxBufferedDC
,
20469 _swigt__p_wxImageList
,
20470 _swigt__p_unsigned_char
,
20471 _swigt__p_wxGDIObject
,
20473 _swigt__p_wxLocale
,
20474 _swigt__p_wxRegion
,
20475 _swigt__p_wxLanguageInfo
,
20476 _swigt__p_wxConfigBase
,
20477 _swigt__p_wxWindowDC
,
20478 _swigt__p_wxPrintData
,
20479 _swigt__p_wxBrushList
,
20480 _swigt__p_wxFontList
,
20482 _swigt__p_wxBufferedPaintDC
,
20483 _swigt__p_wxPaintDC
,
20484 _swigt__p_wxPenList
,
20486 _swigt__p_wxMetaFile
,
20487 _swigt__p_wxNativeFontInfo
,
20488 _swigt__p_wxEncodingConverter
,
20489 _swigt__p_wxColourDatabase
,
20494 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
20496 static swig_const_info swig_const_table
[] = {
20497 {0, 0, 0, 0.0, 0, 0}};
20506 SWIGEXPORT(void) SWIG_init(void) {
20507 static PyObject
*SWIG_globals
= 0;
20508 static int typeinit
= 0;
20511 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
20512 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
20513 d
= PyModule_GetDict(m
);
20516 for (i
= 0; swig_types_initial
[i
]; i
++) {
20517 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
20521 SWIG_InstallConstants(d
,swig_const_table
);
20523 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)wxOutRegion
));
20524 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)wxPartRegion
));
20525 PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)wxInRegion
));
20526 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)wxFONTFAMILY_DEFAULT
));
20527 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)wxFONTFAMILY_DECORATIVE
));
20528 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)wxFONTFAMILY_ROMAN
));
20529 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)wxFONTFAMILY_SCRIPT
));
20530 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)wxFONTFAMILY_SWISS
));
20531 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)wxFONTFAMILY_MODERN
));
20532 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)wxFONTFAMILY_TELETYPE
));
20533 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)wxFONTFAMILY_MAX
));
20534 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)wxFONTFAMILY_UNKNOWN
));
20535 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)wxFONTSTYLE_NORMAL
));
20536 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)wxFONTSTYLE_ITALIC
));
20537 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)wxFONTSTYLE_SLANT
));
20538 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)wxFONTSTYLE_MAX
));
20539 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)wxFONTWEIGHT_NORMAL
));
20540 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)wxFONTWEIGHT_LIGHT
));
20541 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)wxFONTWEIGHT_BOLD
));
20542 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)wxFONTWEIGHT_MAX
));
20543 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)wxFONTFLAG_DEFAULT
));
20544 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)wxFONTFLAG_ITALIC
));
20545 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)wxFONTFLAG_SLANT
));
20546 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)wxFONTFLAG_LIGHT
));
20547 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)wxFONTFLAG_BOLD
));
20548 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_ANTIALIASED
));
20549 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_NOT_ANTIALIASED
));
20550 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)wxFONTFLAG_UNDERLINED
));
20551 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)wxFONTFLAG_STRIKETHROUGH
));
20552 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)wxFONTFLAG_MASK
));
20553 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)wxFONTENCODING_SYSTEM
));
20554 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)wxFONTENCODING_DEFAULT
));
20555 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)wxFONTENCODING_ISO8859_1
));
20556 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)wxFONTENCODING_ISO8859_2
));
20557 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)wxFONTENCODING_ISO8859_3
));
20558 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)wxFONTENCODING_ISO8859_4
));
20559 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)wxFONTENCODING_ISO8859_5
));
20560 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)wxFONTENCODING_ISO8859_6
));
20561 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)wxFONTENCODING_ISO8859_7
));
20562 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)wxFONTENCODING_ISO8859_8
));
20563 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)wxFONTENCODING_ISO8859_9
));
20564 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)wxFONTENCODING_ISO8859_10
));
20565 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)wxFONTENCODING_ISO8859_11
));
20566 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)wxFONTENCODING_ISO8859_12
));
20567 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)wxFONTENCODING_ISO8859_13
));
20568 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)wxFONTENCODING_ISO8859_14
));
20569 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)wxFONTENCODING_ISO8859_15
));
20570 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)wxFONTENCODING_ISO8859_MAX
));
20571 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)wxFONTENCODING_KOI8
));
20572 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)wxFONTENCODING_KOI8_U
));
20573 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)wxFONTENCODING_ALTERNATIVE
));
20574 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)wxFONTENCODING_BULGARIAN
));
20575 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)wxFONTENCODING_CP437
));
20576 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)wxFONTENCODING_CP850
));
20577 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)wxFONTENCODING_CP852
));
20578 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)wxFONTENCODING_CP855
));
20579 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)wxFONTENCODING_CP866
));
20580 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)wxFONTENCODING_CP874
));
20581 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)wxFONTENCODING_CP932
));
20582 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)wxFONTENCODING_CP936
));
20583 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)wxFONTENCODING_CP949
));
20584 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)wxFONTENCODING_CP950
));
20585 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)wxFONTENCODING_CP1250
));
20586 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)wxFONTENCODING_CP1251
));
20587 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)wxFONTENCODING_CP1252
));
20588 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)wxFONTENCODING_CP1253
));
20589 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)wxFONTENCODING_CP1254
));
20590 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)wxFONTENCODING_CP1255
));
20591 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)wxFONTENCODING_CP1256
));
20592 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)wxFONTENCODING_CP1257
));
20593 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)wxFONTENCODING_CP12_MAX
));
20594 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)wxFONTENCODING_UTF7
));
20595 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)wxFONTENCODING_UTF8
));
20596 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)wxFONTENCODING_EUC_JP
));
20597 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)wxFONTENCODING_UTF16BE
));
20598 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)wxFONTENCODING_UTF16LE
));
20599 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)wxFONTENCODING_UTF32BE
));
20600 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)wxFONTENCODING_UTF32LE
));
20601 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)wxFONTENCODING_MACROMAN
));
20602 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)wxFONTENCODING_MACJAPANESE
));
20603 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)wxFONTENCODING_MACCHINESETRAD
));
20604 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)wxFONTENCODING_MACKOREAN
));
20605 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)wxFONTENCODING_MACARABIC
));
20606 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)wxFONTENCODING_MACHEBREW
));
20607 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)wxFONTENCODING_MACGREEK
));
20608 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)wxFONTENCODING_MACCYRILLIC
));
20609 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)wxFONTENCODING_MACDEVANAGARI
));
20610 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)wxFONTENCODING_MACGURMUKHI
));
20611 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)wxFONTENCODING_MACGUJARATI
));
20612 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)wxFONTENCODING_MACORIYA
));
20613 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)wxFONTENCODING_MACBENGALI
));
20614 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)wxFONTENCODING_MACTAMIL
));
20615 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)wxFONTENCODING_MACTELUGU
));
20616 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)wxFONTENCODING_MACKANNADA
));
20617 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)wxFONTENCODING_MACMALAJALAM
));
20618 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)wxFONTENCODING_MACSINHALESE
));
20619 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)wxFONTENCODING_MACBURMESE
));
20620 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)wxFONTENCODING_MACKHMER
));
20621 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)wxFONTENCODING_MACTHAI
));
20622 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)wxFONTENCODING_MACLAOTIAN
));
20623 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)wxFONTENCODING_MACGEORGIAN
));
20624 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)wxFONTENCODING_MACARMENIAN
));
20625 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)wxFONTENCODING_MACCHINESESIMP
));
20626 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)wxFONTENCODING_MACTIBETAN
));
20627 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)wxFONTENCODING_MACMONGOLIAN
));
20628 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)wxFONTENCODING_MACETHIOPIC
));
20629 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)wxFONTENCODING_MACCENTRALEUR
));
20630 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)wxFONTENCODING_MACVIATNAMESE
));
20631 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)wxFONTENCODING_MACARABICEXT
));
20632 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)wxFONTENCODING_MACSYMBOL
));
20633 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)wxFONTENCODING_MACDINGBATS
));
20634 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)wxFONTENCODING_MACTURKISH
));
20635 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)wxFONTENCODING_MACCROATIAN
));
20636 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)wxFONTENCODING_MACICELANDIC
));
20637 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)wxFONTENCODING_MACROMANIAN
));
20638 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)wxFONTENCODING_MACCELTIC
));
20639 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)wxFONTENCODING_MACGAELIC
));
20640 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)wxFONTENCODING_MACKEYBOARD
));
20641 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)wxFONTENCODING_MACMIN
));
20642 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)wxFONTENCODING_MACMAX
));
20643 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)wxFONTENCODING_MAX
));
20644 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)wxFONTENCODING_UTF16
));
20645 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)wxFONTENCODING_UTF32
));
20646 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)wxFONTENCODING_UNICODE
));
20647 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)wxFONTENCODING_GB2312
));
20648 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)wxFONTENCODING_BIG5
));
20649 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)wxFONTENCODING_SHIFT_JIS
));
20651 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
20653 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)wxLANGUAGE_DEFAULT
));
20654 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)wxLANGUAGE_UNKNOWN
));
20655 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)wxLANGUAGE_ABKHAZIAN
));
20656 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)wxLANGUAGE_AFAR
));
20657 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)wxLANGUAGE_AFRIKAANS
));
20658 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)wxLANGUAGE_ALBANIAN
));
20659 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)wxLANGUAGE_AMHARIC
));
20660 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)wxLANGUAGE_ARABIC
));
20661 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_ALGERIA
));
20662 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)wxLANGUAGE_ARABIC_BAHRAIN
));
20663 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)wxLANGUAGE_ARABIC_EGYPT
));
20664 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)wxLANGUAGE_ARABIC_IRAQ
));
20665 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_JORDAN
));
20666 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)wxLANGUAGE_ARABIC_KUWAIT
));
20667 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)wxLANGUAGE_ARABIC_LEBANON
));
20668 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)wxLANGUAGE_ARABIC_LIBYA
));
20669 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)wxLANGUAGE_ARABIC_MOROCCO
));
20670 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_OMAN
));
20671 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)wxLANGUAGE_ARABIC_QATAR
));
20672 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
20673 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_SUDAN
));
20674 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SYRIA
));
20675 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_TUNISIA
));
20676 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)wxLANGUAGE_ARABIC_UAE
));
20677 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)wxLANGUAGE_ARABIC_YEMEN
));
20678 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)wxLANGUAGE_ARMENIAN
));
20679 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)wxLANGUAGE_ASSAMESE
));
20680 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)wxLANGUAGE_AYMARA
));
20681 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)wxLANGUAGE_AZERI
));
20682 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_AZERI_CYRILLIC
));
20683 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)wxLANGUAGE_AZERI_LATIN
));
20684 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)wxLANGUAGE_BASHKIR
));
20685 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)wxLANGUAGE_BASQUE
));
20686 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)wxLANGUAGE_BELARUSIAN
));
20687 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)wxLANGUAGE_BENGALI
));
20688 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)wxLANGUAGE_BHUTANI
));
20689 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)wxLANGUAGE_BIHARI
));
20690 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)wxLANGUAGE_BISLAMA
));
20691 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)wxLANGUAGE_BRETON
));
20692 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)wxLANGUAGE_BULGARIAN
));
20693 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)wxLANGUAGE_BURMESE
));
20694 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)wxLANGUAGE_CAMBODIAN
));
20695 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)wxLANGUAGE_CATALAN
));
20696 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)wxLANGUAGE_CHINESE
));
20697 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
20698 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
20699 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)wxLANGUAGE_CHINESE_HONGKONG
));
20700 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)wxLANGUAGE_CHINESE_MACAU
));
20701 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)wxLANGUAGE_CHINESE_SINGAPORE
));
20702 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)wxLANGUAGE_CHINESE_TAIWAN
));
20703 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)wxLANGUAGE_CORSICAN
));
20704 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)wxLANGUAGE_CROATIAN
));
20705 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)wxLANGUAGE_CZECH
));
20706 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)wxLANGUAGE_DANISH
));
20707 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)wxLANGUAGE_DUTCH
));
20708 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_DUTCH_BELGIAN
));
20709 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)wxLANGUAGE_ENGLISH
));
20710 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_UK
));
20711 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)wxLANGUAGE_ENGLISH_US
));
20712 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
20713 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BELIZE
));
20714 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
20715 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CANADA
));
20716 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
20717 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_DENMARK
));
20718 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_EIRE
));
20719 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_JAMAICA
));
20720 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
20721 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
20722 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
20723 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
20724 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
20725 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)wxLANGUAGE_ESPERANTO
));
20726 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)wxLANGUAGE_ESTONIAN
));
20727 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)wxLANGUAGE_FAEROESE
));
20728 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)wxLANGUAGE_FARSI
));
20729 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)wxLANGUAGE_FIJI
));
20730 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)wxLANGUAGE_FINNISH
));
20731 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)wxLANGUAGE_FRENCH
));
20732 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_BELGIAN
));
20733 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_CANADIAN
));
20734 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
20735 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)wxLANGUAGE_FRENCH_MONACO
));
20736 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)wxLANGUAGE_FRENCH_SWISS
));
20737 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)wxLANGUAGE_FRISIAN
));
20738 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)wxLANGUAGE_GALICIAN
));
20739 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)wxLANGUAGE_GEORGIAN
));
20740 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)wxLANGUAGE_GERMAN
));
20741 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
20742 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)wxLANGUAGE_GERMAN_BELGIUM
));
20743 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
20744 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
20745 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)wxLANGUAGE_GERMAN_SWISS
));
20746 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)wxLANGUAGE_GREEK
));
20747 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)wxLANGUAGE_GREENLANDIC
));
20748 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)wxLANGUAGE_GUARANI
));
20749 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)wxLANGUAGE_GUJARATI
));
20750 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)wxLANGUAGE_HAUSA
));
20751 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)wxLANGUAGE_HEBREW
));
20752 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)wxLANGUAGE_HINDI
));
20753 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)wxLANGUAGE_HUNGARIAN
));
20754 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)wxLANGUAGE_ICELANDIC
));
20755 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)wxLANGUAGE_INDONESIAN
));
20756 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)wxLANGUAGE_INTERLINGUA
));
20757 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)wxLANGUAGE_INTERLINGUE
));
20758 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)wxLANGUAGE_INUKTITUT
));
20759 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)wxLANGUAGE_INUPIAK
));
20760 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)wxLANGUAGE_IRISH
));
20761 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)wxLANGUAGE_ITALIAN
));
20762 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)wxLANGUAGE_ITALIAN_SWISS
));
20763 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)wxLANGUAGE_JAPANESE
));
20764 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)wxLANGUAGE_JAVANESE
));
20765 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)wxLANGUAGE_KANNADA
));
20766 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)wxLANGUAGE_KASHMIRI
));
20767 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)wxLANGUAGE_KASHMIRI_INDIA
));
20768 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)wxLANGUAGE_KAZAKH
));
20769 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)wxLANGUAGE_KERNEWEK
));
20770 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)wxLANGUAGE_KINYARWANDA
));
20771 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)wxLANGUAGE_KIRGHIZ
));
20772 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)wxLANGUAGE_KIRUNDI
));
20773 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)wxLANGUAGE_KONKANI
));
20774 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)wxLANGUAGE_KOREAN
));
20775 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)wxLANGUAGE_KURDISH
));
20776 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)wxLANGUAGE_LAOTHIAN
));
20777 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)wxLANGUAGE_LATIN
));
20778 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)wxLANGUAGE_LATVIAN
));
20779 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)wxLANGUAGE_LINGALA
));
20780 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)wxLANGUAGE_LITHUANIAN
));
20781 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)wxLANGUAGE_MACEDONIAN
));
20782 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)wxLANGUAGE_MALAGASY
));
20783 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)wxLANGUAGE_MALAY
));
20784 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)wxLANGUAGE_MALAYALAM
));
20785 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
20786 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)wxLANGUAGE_MALAY_MALAYSIA
));
20787 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)wxLANGUAGE_MALTESE
));
20788 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)wxLANGUAGE_MANIPURI
));
20789 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)wxLANGUAGE_MAORI
));
20790 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)wxLANGUAGE_MARATHI
));
20791 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)wxLANGUAGE_MOLDAVIAN
));
20792 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)wxLANGUAGE_MONGOLIAN
));
20793 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)wxLANGUAGE_NAURU
));
20794 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)wxLANGUAGE_NEPALI
));
20795 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)wxLANGUAGE_NEPALI_INDIA
));
20796 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
20797 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
20798 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)wxLANGUAGE_OCCITAN
));
20799 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)wxLANGUAGE_ORIYA
));
20800 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)wxLANGUAGE_OROMO
));
20801 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)wxLANGUAGE_PASHTO
));
20802 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)wxLANGUAGE_POLISH
));
20803 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE
));
20804 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
20805 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)wxLANGUAGE_PUNJABI
));
20806 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)wxLANGUAGE_QUECHUA
));
20807 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)wxLANGUAGE_RHAETO_ROMANCE
));
20808 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)wxLANGUAGE_ROMANIAN
));
20809 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)wxLANGUAGE_RUSSIAN
));
20810 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
20811 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)wxLANGUAGE_SAMOAN
));
20812 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)wxLANGUAGE_SANGHO
));
20813 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)wxLANGUAGE_SANSKRIT
));
20814 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)wxLANGUAGE_SCOTS_GAELIC
));
20815 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)wxLANGUAGE_SERBIAN
));
20816 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
20817 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)wxLANGUAGE_SERBIAN_LATIN
));
20818 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)wxLANGUAGE_SERBO_CROATIAN
));
20819 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)wxLANGUAGE_SESOTHO
));
20820 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)wxLANGUAGE_SETSWANA
));
20821 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)wxLANGUAGE_SHONA
));
20822 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)wxLANGUAGE_SINDHI
));
20823 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)wxLANGUAGE_SINHALESE
));
20824 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)wxLANGUAGE_SISWATI
));
20825 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)wxLANGUAGE_SLOVAK
));
20826 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)wxLANGUAGE_SLOVENIAN
));
20827 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)wxLANGUAGE_SOMALI
));
20828 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)wxLANGUAGE_SPANISH
));
20829 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)wxLANGUAGE_SPANISH_ARGENTINA
));
20830 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_BOLIVIA
));
20831 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)wxLANGUAGE_SPANISH_CHILE
));
20832 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COLOMBIA
));
20833 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
20834 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
20835 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_ECUADOR
));
20836 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
20837 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)wxLANGUAGE_SPANISH_GUATEMALA
));
20838 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)wxLANGUAGE_SPANISH_HONDURAS
));
20839 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MEXICAN
));
20840 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MODERN
));
20841 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)wxLANGUAGE_SPANISH_NICARAGUA
));
20842 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)wxLANGUAGE_SPANISH_PANAMA
));
20843 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_PARAGUAY
));
20844 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)wxLANGUAGE_SPANISH_PERU
));
20845 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
20846 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_URUGUAY
));
20847 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)wxLANGUAGE_SPANISH_US
));
20848 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)wxLANGUAGE_SPANISH_VENEZUELA
));
20849 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)wxLANGUAGE_SUNDANESE
));
20850 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)wxLANGUAGE_SWAHILI
));
20851 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)wxLANGUAGE_SWEDISH
));
20852 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)wxLANGUAGE_SWEDISH_FINLAND
));
20853 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)wxLANGUAGE_TAGALOG
));
20854 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)wxLANGUAGE_TAJIK
));
20855 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)wxLANGUAGE_TAMIL
));
20856 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)wxLANGUAGE_TATAR
));
20857 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)wxLANGUAGE_TELUGU
));
20858 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)wxLANGUAGE_THAI
));
20859 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)wxLANGUAGE_TIBETAN
));
20860 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)wxLANGUAGE_TIGRINYA
));
20861 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)wxLANGUAGE_TONGA
));
20862 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)wxLANGUAGE_TSONGA
));
20863 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)wxLANGUAGE_TURKISH
));
20864 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)wxLANGUAGE_TURKMEN
));
20865 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)wxLANGUAGE_TWI
));
20866 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)wxLANGUAGE_UIGHUR
));
20867 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)wxLANGUAGE_UKRAINIAN
));
20868 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)wxLANGUAGE_URDU
));
20869 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)wxLANGUAGE_URDU_INDIA
));
20870 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)wxLANGUAGE_URDU_PAKISTAN
));
20871 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)wxLANGUAGE_UZBEK
));
20872 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_UZBEK_CYRILLIC
));
20873 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)wxLANGUAGE_UZBEK_LATIN
));
20874 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)wxLANGUAGE_VIETNAMESE
));
20875 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)wxLANGUAGE_VOLAPUK
));
20876 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)wxLANGUAGE_WELSH
));
20877 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)wxLANGUAGE_WOLOF
));
20878 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)wxLANGUAGE_XHOSA
));
20879 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)wxLANGUAGE_YIDDISH
));
20880 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)wxLANGUAGE_YORUBA
));
20881 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)wxLANGUAGE_ZHUANG
));
20882 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)wxLANGUAGE_ZULU
));
20883 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)wxLANGUAGE_USER_DEFINED
));
20884 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)wxLOCALE_CAT_NUMBER
));
20885 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)wxLOCALE_CAT_DATE
));
20886 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)wxLOCALE_CAT_MONEY
));
20887 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)wxLOCALE_CAT_MAX
));
20888 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)wxLOCALE_THOUSANDS_SEP
));
20889 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)wxLOCALE_DECIMAL_POINT
));
20890 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)wxLOCALE_LOAD_DEFAULT
));
20891 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)wxLOCALE_CONV_ENCODING
));
20892 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)wxCONVERT_STRICT
));
20893 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)wxCONVERT_SUBSTITUTE
));
20894 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)wxPLATFORM_CURRENT
));
20895 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)wxPLATFORM_UNIX
));
20896 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)wxPLATFORM_WINDOWS
));
20897 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)wxPLATFORM_OS2
));
20898 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)wxPLATFORM_MAC
));
20899 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)wxIMAGELIST_DRAW_NORMAL
));
20900 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)wxIMAGELIST_DRAW_TRANSPARENT
));
20901 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)wxIMAGELIST_DRAW_SELECTED
));
20902 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)wxIMAGELIST_DRAW_FOCUSED
));
20903 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)wxIMAGE_LIST_NORMAL
));
20904 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)wxIMAGE_LIST_SMALL
));
20905 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)wxIMAGE_LIST_STATE
));
20906 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
20907 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
20908 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
20909 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
20910 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
20911 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
20912 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
20913 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
20914 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
20915 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
20916 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
20917 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
20918 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
20919 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
20920 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
20921 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
20922 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
20923 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
20924 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
20925 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
20926 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
20927 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
20928 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
20929 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
20930 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
20931 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
20932 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
20933 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
20934 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
20935 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
20936 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
20937 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
20938 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
20939 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
20940 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
20941 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
20942 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
20943 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
20944 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
20945 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
20946 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
20947 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
20948 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
20949 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
20950 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
20951 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
20952 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
20954 // Work around a chicken/egg problem in drawlist.cpp
20955 wxPyDrawList_SetAPIPtr();