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);
888 wxLocale
*new_wxLocale(int language
,int flags
){
890 return new wxLocale();
892 return new wxLocale(language
, flags
);
895 #include "wx/wxPython/pydrawxxx.h"
897 wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
899 self
->GetPixel(x
, y
, &col
);
902 wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
904 self
->GetPixel(pt
, &col
);
908 // See my_fragments.i
909 SWIGSTATICINLINE(int)
910 SWIG_AsVal_double(PyObject
*obj
, double* val
)
912 if (PyNumber_Check(obj
)) {
913 if (val
) *val
= PyFloat_AsDouble(obj
);
917 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
918 obj
->ob_type
->tp_name
);
919 PyErr_SetObject(PyExc_TypeError
, errmsg
);
926 SWIGSTATICINLINE(double)
927 SWIG_As_double(PyObject
* obj
)
930 if (!SWIG_AsVal_double(obj
, &v
)) {
932 this is needed to make valgrind/purify happier. the other
933 solution is throw an exception, but since this code should work
936 memset((void*)&v
, 0, sizeof(double));
942 SWIGSTATICINLINE(int)
943 SWIG_Check_double(PyObject
* obj
)
945 return SWIG_AsVal_double(obj
, (double*)0);
948 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
950 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
954 wxRect
wxDC_GetClippingRect(wxDC
*self
){
956 self
->GetClippingBox(rect
);
959 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
961 self
->GetPartialTextExtents(text
, widths
);
965 void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
966 self
->SetLogicalOrigin(point
.x
, point
.y
);
968 void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
969 self
->SetDeviceOrigin(point
.x
, point
.y
);
971 void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
972 self
->CalcBoundingBox(point
.x
, point
.y
);
974 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
975 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
977 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
978 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
980 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
981 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
983 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
984 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
986 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
987 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
989 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
990 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
993 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
1001 #include <wx/dcbuffer.h>
1004 #include <wx/dcps.h>
1007 #include <wx/metafile.h>
1011 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
1012 self
->AddColour(name
, wxColour(red
, green
, blue
));
1015 #include <wx/effects.h>
1020 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1021 PyObject
*resultobj
;
1022 wxGDIObject
*result
;
1027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
1029 if (!wxPyCheckForApp()) SWIG_fail
;
1030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1031 result
= (wxGDIObject
*)new wxGDIObject();
1033 wxPyEndAllowThreads(__tstate
);
1034 if (PyErr_Occurred()) SWIG_fail
;
1036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
1043 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1044 PyObject
*resultobj
;
1045 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1046 PyObject
* obj0
= 0 ;
1048 (char *) "self", NULL
1051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
1052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1058 wxPyEndAllowThreads(__tstate
);
1059 if (PyErr_Occurred()) SWIG_fail
;
1061 Py_INCREF(Py_None
); resultobj
= Py_None
;
1068 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1069 PyObject
*resultobj
;
1070 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1072 PyObject
* obj0
= 0 ;
1074 (char *) "self", NULL
1077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",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();
1082 result
= (bool)(arg1
)->GetVisible();
1084 wxPyEndAllowThreads(__tstate
);
1085 if (PyErr_Occurred()) SWIG_fail
;
1088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1096 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1097 PyObject
*resultobj
;
1098 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1100 PyObject
* obj0
= 0 ;
1101 PyObject
* obj1
= 0 ;
1103 (char *) "self",(char *) "visible", NULL
1106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
1107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1109 arg2
= (bool)SWIG_As_bool(obj1
);
1110 if (PyErr_Occurred()) SWIG_fail
;
1112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1113 (arg1
)->SetVisible(arg2
);
1115 wxPyEndAllowThreads(__tstate
);
1116 if (PyErr_Occurred()) SWIG_fail
;
1118 Py_INCREF(Py_None
); resultobj
= Py_None
;
1125 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1126 PyObject
*resultobj
;
1127 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1129 PyObject
* obj0
= 0 ;
1131 (char *) "self", NULL
1134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1139 result
= (bool)(arg1
)->IsNull();
1141 wxPyEndAllowThreads(__tstate
);
1142 if (PyErr_Occurred()) SWIG_fail
;
1145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1153 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
1155 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1156 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1158 return Py_BuildValue((char *)"");
1160 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1161 PyObject
*resultobj
;
1162 byte arg1
= (byte
) 0 ;
1163 byte arg2
= (byte
) 0 ;
1164 byte arg3
= (byte
) 0 ;
1166 PyObject
* obj0
= 0 ;
1167 PyObject
* obj1
= 0 ;
1168 PyObject
* obj2
= 0 ;
1170 (char *) "red",(char *) "green",(char *) "blue", NULL
1173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1175 arg1
= (byte
)SWIG_As_unsigned_SS_char(obj0
);
1176 if (PyErr_Occurred()) SWIG_fail
;
1179 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1180 if (PyErr_Occurred()) SWIG_fail
;
1183 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1184 if (PyErr_Occurred()) SWIG_fail
;
1187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1188 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1190 wxPyEndAllowThreads(__tstate
);
1191 if (PyErr_Occurred()) SWIG_fail
;
1193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1200 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1201 PyObject
*resultobj
;
1202 wxString
*arg1
= 0 ;
1204 bool temp1
= false ;
1205 PyObject
* obj0
= 0 ;
1207 (char *) "colorName", NULL
1210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1212 arg1
= wxString_in_helper(obj0
);
1213 if (arg1
== NULL
) SWIG_fail
;
1217 if (!wxPyCheckForApp()) SWIG_fail
;
1218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1219 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1221 wxPyEndAllowThreads(__tstate
);
1222 if (PyErr_Occurred()) SWIG_fail
;
1224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1239 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1240 PyObject
*resultobj
;
1241 unsigned long arg1
;
1243 PyObject
* obj0
= 0 ;
1245 (char *) "colRGB", NULL
1248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1249 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
1250 if (PyErr_Occurred()) SWIG_fail
;
1252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1253 result
= (wxColour
*)new wxColour(arg1
);
1255 wxPyEndAllowThreads(__tstate
);
1256 if (PyErr_Occurred()) SWIG_fail
;
1258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1265 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1266 PyObject
*resultobj
;
1267 wxColour
*arg1
= (wxColour
*) 0 ;
1268 PyObject
* obj0
= 0 ;
1270 (char *) "self", NULL
1273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1280 wxPyEndAllowThreads(__tstate
);
1281 if (PyErr_Occurred()) SWIG_fail
;
1283 Py_INCREF(Py_None
); resultobj
= Py_None
;
1290 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1291 PyObject
*resultobj
;
1292 wxColour
*arg1
= (wxColour
*) 0 ;
1294 PyObject
* obj0
= 0 ;
1296 (char *) "self", NULL
1299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",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();
1304 result
= (byte
)(arg1
)->Red();
1306 wxPyEndAllowThreads(__tstate
);
1307 if (PyErr_Occurred()) SWIG_fail
;
1309 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1316 static PyObject
*_wrap_Colour_Green(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_Green",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
)->Green();
1332 wxPyEndAllowThreads(__tstate
);
1333 if (PyErr_Occurred()) SWIG_fail
;
1335 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1342 static PyObject
*_wrap_Colour_Blue(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_Blue",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
)->Blue();
1358 wxPyEndAllowThreads(__tstate
);
1359 if (PyErr_Occurred()) SWIG_fail
;
1361 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1368 static PyObject
*_wrap_Colour_Ok(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_Ok",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
= (bool)(arg1
)->Ok();
1384 wxPyEndAllowThreads(__tstate
);
1385 if (PyErr_Occurred()) SWIG_fail
;
1388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1396 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1397 PyObject
*resultobj
;
1398 wxColour
*arg1
= (wxColour
*) 0 ;
1402 PyObject
* obj0
= 0 ;
1403 PyObject
* obj1
= 0 ;
1404 PyObject
* obj2
= 0 ;
1405 PyObject
* obj3
= 0 ;
1407 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1413 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1414 if (PyErr_Occurred()) SWIG_fail
;
1415 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1416 if (PyErr_Occurred()) SWIG_fail
;
1417 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
1418 if (PyErr_Occurred()) SWIG_fail
;
1420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1421 (arg1
)->Set(arg2
,arg3
,arg4
);
1423 wxPyEndAllowThreads(__tstate
);
1424 if (PyErr_Occurred()) SWIG_fail
;
1426 Py_INCREF(Py_None
); resultobj
= Py_None
;
1433 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1434 PyObject
*resultobj
;
1435 wxColour
*arg1
= (wxColour
*) 0 ;
1436 unsigned long arg2
;
1437 PyObject
* obj0
= 0 ;
1438 PyObject
* obj1
= 0 ;
1440 (char *) "self",(char *) "colRGB", NULL
1443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1446 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
1447 if (PyErr_Occurred()) SWIG_fail
;
1449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1452 wxPyEndAllowThreads(__tstate
);
1453 if (PyErr_Occurred()) SWIG_fail
;
1455 Py_INCREF(Py_None
); resultobj
= Py_None
;
1462 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1463 PyObject
*resultobj
;
1464 wxColour
*arg1
= (wxColour
*) 0 ;
1465 wxString
*arg2
= 0 ;
1466 bool temp2
= false ;
1467 PyObject
* obj0
= 0 ;
1468 PyObject
* obj1
= 0 ;
1470 (char *) "self",(char *) "colourName", NULL
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1477 arg2
= wxString_in_helper(obj1
);
1478 if (arg2
== NULL
) SWIG_fail
;
1482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1483 (arg1
)->InitFromName((wxString
const &)*arg2
);
1485 wxPyEndAllowThreads(__tstate
);
1486 if (PyErr_Occurred()) SWIG_fail
;
1488 Py_INCREF(Py_None
); resultobj
= Py_None
;
1503 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1504 PyObject
*resultobj
;
1505 wxColour
*arg1
= (wxColour
*) 0 ;
1507 PyObject
* obj0
= 0 ;
1509 (char *) "self", NULL
1512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1517 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1519 wxPyEndAllowThreads(__tstate
);
1520 if (PyErr_Occurred()) SWIG_fail
;
1522 resultobj
= SWIG_From_long((long)result
);
1529 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1530 PyObject
*resultobj
;
1531 wxColour
*arg1
= (wxColour
*) 0 ;
1532 wxColour
*arg2
= 0 ;
1535 PyObject
* obj0
= 0 ;
1536 PyObject
* obj1
= 0 ;
1538 (char *) "self",(char *) "colour", NULL
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1546 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1550 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1552 wxPyEndAllowThreads(__tstate
);
1553 if (PyErr_Occurred()) SWIG_fail
;
1556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1564 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1565 PyObject
*resultobj
;
1566 wxColour
*arg1
= (wxColour
*) 0 ;
1567 wxColour
*arg2
= 0 ;
1570 PyObject
* obj0
= 0 ;
1571 PyObject
* obj1
= 0 ;
1573 (char *) "self",(char *) "colour", NULL
1576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1581 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1585 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1587 wxPyEndAllowThreads(__tstate
);
1588 if (PyErr_Occurred()) SWIG_fail
;
1591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1599 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
*resultobj
;
1601 wxColour
*arg1
= (wxColour
*) 0 ;
1603 PyObject
* obj0
= 0 ;
1605 (char *) "self", NULL
1608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1613 result
= (PyObject
*)wxColour_Get(arg1
);
1615 wxPyEndAllowThreads(__tstate
);
1616 if (PyErr_Occurred()) SWIG_fail
;
1625 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1626 PyObject
*resultobj
;
1627 wxColour
*arg1
= (wxColour
*) 0 ;
1628 unsigned long result
;
1629 PyObject
* obj0
= 0 ;
1631 (char *) "self", NULL
1634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",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
= (unsigned long)wxColour_GetRGB(arg1
);
1641 wxPyEndAllowThreads(__tstate
);
1642 if (PyErr_Occurred()) SWIG_fail
;
1644 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
1651 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
1653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1654 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1656 return Py_BuildValue((char *)"");
1658 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1659 PyObject
*resultobj
;
1661 unsigned char *arg2
= (unsigned char *) 0 ;
1662 unsigned char *arg3
= (unsigned char *) 0 ;
1663 unsigned char *arg4
= (unsigned char *) 0 ;
1665 PyObject
* obj0
= 0 ;
1666 PyObject
* obj1
= 0 ;
1667 PyObject
* obj2
= 0 ;
1668 PyObject
* obj3
= 0 ;
1670 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1674 arg1
= (int)SWIG_As_int(obj0
);
1675 if (PyErr_Occurred()) SWIG_fail
;
1676 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1678 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1680 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1683 if (!wxPyCheckForApp()) SWIG_fail
;
1684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1685 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1687 wxPyEndAllowThreads(__tstate
);
1688 if (PyErr_Occurred()) SWIG_fail
;
1690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1697 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1698 PyObject
*resultobj
;
1699 wxPalette
*arg1
= (wxPalette
*) 0 ;
1700 PyObject
* obj0
= 0 ;
1702 (char *) "self", NULL
1705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1712 wxPyEndAllowThreads(__tstate
);
1713 if (PyErr_Occurred()) SWIG_fail
;
1715 Py_INCREF(Py_None
); resultobj
= Py_None
;
1722 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1723 PyObject
*resultobj
;
1724 wxPalette
*arg1
= (wxPalette
*) 0 ;
1729 PyObject
* obj0
= 0 ;
1730 PyObject
* obj1
= 0 ;
1731 PyObject
* obj2
= 0 ;
1732 PyObject
* obj3
= 0 ;
1734 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1740 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1741 if (PyErr_Occurred()) SWIG_fail
;
1742 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1743 if (PyErr_Occurred()) SWIG_fail
;
1744 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
1745 if (PyErr_Occurred()) SWIG_fail
;
1747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1748 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1750 wxPyEndAllowThreads(__tstate
);
1751 if (PyErr_Occurred()) SWIG_fail
;
1753 resultobj
= SWIG_From_int((int)result
);
1760 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
*resultobj
;
1762 wxPalette
*arg1
= (wxPalette
*) 0 ;
1764 byte
*arg3
= (byte
*) 0 ;
1765 byte
*arg4
= (byte
*) 0 ;
1766 byte
*arg5
= (byte
*) 0 ;
1774 PyObject
* obj0
= 0 ;
1775 PyObject
* obj1
= 0 ;
1777 (char *) "self",(char *) "pixel", NULL
1780 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
1781 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
1782 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1786 arg2
= (int)SWIG_As_int(obj1
);
1787 if (PyErr_Occurred()) SWIG_fail
;
1789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1790 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1792 wxPyEndAllowThreads(__tstate
);
1793 if (PyErr_Occurred()) SWIG_fail
;
1796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1798 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
1799 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
1800 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
1801 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
1802 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
1803 SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_byte
, 0)));
1810 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1811 PyObject
*resultobj
;
1812 wxPalette
*arg1
= (wxPalette
*) 0 ;
1814 PyObject
* obj0
= 0 ;
1816 (char *) "self", NULL
1819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1824 result
= (bool)(arg1
)->Ok();
1826 wxPyEndAllowThreads(__tstate
);
1827 if (PyErr_Occurred()) SWIG_fail
;
1830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1838 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
1840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1841 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1843 return Py_BuildValue((char *)"");
1845 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1846 PyObject
*resultobj
;
1847 wxColour
*arg1
= 0 ;
1848 int arg2
= (int) 1 ;
1849 int arg3
= (int) wxSOLID
;
1852 PyObject
* obj0
= 0 ;
1853 PyObject
* obj1
= 0 ;
1854 PyObject
* obj2
= 0 ;
1856 (char *) "colour",(char *) "width",(char *) "style", NULL
1859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1862 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1865 arg2
= (int)SWIG_As_int(obj1
);
1866 if (PyErr_Occurred()) SWIG_fail
;
1869 arg3
= (int)SWIG_As_int(obj2
);
1870 if (PyErr_Occurred()) SWIG_fail
;
1873 if (!wxPyCheckForApp()) SWIG_fail
;
1874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1875 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1877 wxPyEndAllowThreads(__tstate
);
1878 if (PyErr_Occurred()) SWIG_fail
;
1880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1887 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1888 PyObject
*resultobj
;
1889 wxPen
*arg1
= (wxPen
*) 0 ;
1890 PyObject
* obj0
= 0 ;
1892 (char *) "self", NULL
1895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1902 wxPyEndAllowThreads(__tstate
);
1903 if (PyErr_Occurred()) SWIG_fail
;
1905 Py_INCREF(Py_None
); resultobj
= Py_None
;
1912 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
*resultobj
;
1914 wxPen
*arg1
= (wxPen
*) 0 ;
1916 PyObject
* obj0
= 0 ;
1918 (char *) "self", NULL
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",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();
1926 result
= (int)(arg1
)->GetCap();
1928 wxPyEndAllowThreads(__tstate
);
1929 if (PyErr_Occurred()) SWIG_fail
;
1931 resultobj
= SWIG_From_int((int)result
);
1938 static PyObject
*_wrap_Pen_GetColour(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_GetColour",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
= (arg1
)->GetColour();
1954 wxPyEndAllowThreads(__tstate
);
1955 if (PyErr_Occurred()) SWIG_fail
;
1958 wxColour
* resultptr
;
1959 resultptr
= new wxColour((wxColour
&) result
);
1960 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1968 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
*resultobj
;
1970 wxPen
*arg1
= (wxPen
*) 0 ;
1972 PyObject
* obj0
= 0 ;
1974 (char *) "self", NULL
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1982 result
= (int)(arg1
)->GetJoin();
1984 wxPyEndAllowThreads(__tstate
);
1985 if (PyErr_Occurred()) SWIG_fail
;
1987 resultobj
= SWIG_From_int((int)result
);
1994 static PyObject
*_wrap_Pen_GetStyle(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_GetStyle",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
)->GetStyle();
2010 wxPyEndAllowThreads(__tstate
);
2011 if (PyErr_Occurred()) SWIG_fail
;
2013 resultobj
= SWIG_From_int((int)result
);
2020 static PyObject
*_wrap_Pen_GetWidth(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_GetWidth",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
)->GetWidth();
2036 wxPyEndAllowThreads(__tstate
);
2037 if (PyErr_Occurred()) SWIG_fail
;
2039 resultobj
= SWIG_From_int((int)result
);
2046 static PyObject
*_wrap_Pen_Ok(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_Ok",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
= (bool)(arg1
)->Ok();
2062 wxPyEndAllowThreads(__tstate
);
2063 if (PyErr_Occurred()) SWIG_fail
;
2066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2074 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2075 PyObject
*resultobj
;
2076 wxPen
*arg1
= (wxPen
*) 0 ;
2078 PyObject
* obj0
= 0 ;
2079 PyObject
* obj1
= 0 ;
2081 (char *) "self",(char *) "cap_style", NULL
2084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
2085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2087 arg2
= (int)SWIG_As_int(obj1
);
2088 if (PyErr_Occurred()) SWIG_fail
;
2090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2091 (arg1
)->SetCap(arg2
);
2093 wxPyEndAllowThreads(__tstate
);
2094 if (PyErr_Occurred()) SWIG_fail
;
2096 Py_INCREF(Py_None
); resultobj
= Py_None
;
2103 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2104 PyObject
*resultobj
;
2105 wxPen
*arg1
= (wxPen
*) 0 ;
2106 wxColour
*arg2
= 0 ;
2108 PyObject
* obj0
= 0 ;
2109 PyObject
* obj1
= 0 ;
2111 (char *) "self",(char *) "colour", NULL
2114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2119 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2123 (arg1
)->SetColour(*arg2
);
2125 wxPyEndAllowThreads(__tstate
);
2126 if (PyErr_Occurred()) SWIG_fail
;
2128 Py_INCREF(Py_None
); resultobj
= Py_None
;
2135 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2136 PyObject
*resultobj
;
2137 wxPen
*arg1
= (wxPen
*) 0 ;
2139 PyObject
* obj0
= 0 ;
2140 PyObject
* obj1
= 0 ;
2142 (char *) "self",(char *) "join_style", NULL
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2148 arg2
= (int)SWIG_As_int(obj1
);
2149 if (PyErr_Occurred()) SWIG_fail
;
2151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2152 (arg1
)->SetJoin(arg2
);
2154 wxPyEndAllowThreads(__tstate
);
2155 if (PyErr_Occurred()) SWIG_fail
;
2157 Py_INCREF(Py_None
); resultobj
= Py_None
;
2164 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2165 PyObject
*resultobj
;
2166 wxPen
*arg1
= (wxPen
*) 0 ;
2168 PyObject
* obj0
= 0 ;
2169 PyObject
* obj1
= 0 ;
2171 (char *) "self",(char *) "style", NULL
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2177 arg2
= (int)SWIG_As_int(obj1
);
2178 if (PyErr_Occurred()) SWIG_fail
;
2180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2181 (arg1
)->SetStyle(arg2
);
2183 wxPyEndAllowThreads(__tstate
);
2184 if (PyErr_Occurred()) SWIG_fail
;
2186 Py_INCREF(Py_None
); resultobj
= Py_None
;
2193 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2194 PyObject
*resultobj
;
2195 wxPen
*arg1
= (wxPen
*) 0 ;
2197 PyObject
* obj0
= 0 ;
2198 PyObject
* obj1
= 0 ;
2200 (char *) "self",(char *) "width", NULL
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2206 arg2
= (int)SWIG_As_int(obj1
);
2207 if (PyErr_Occurred()) SWIG_fail
;
2209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2210 (arg1
)->SetWidth(arg2
);
2212 wxPyEndAllowThreads(__tstate
);
2213 if (PyErr_Occurred()) SWIG_fail
;
2215 Py_INCREF(Py_None
); resultobj
= Py_None
;
2222 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
*resultobj
;
2224 wxPen
*arg1
= (wxPen
*) 0 ;
2226 wxDash
*arg3
= (wxDash
*) 0 ;
2227 PyObject
* obj0
= 0 ;
2228 PyObject
* obj1
= 0 ;
2230 (char *) "self",(char *) "dashes", NULL
2233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2237 arg2
= PyList_Size(obj1
);
2238 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2239 if (arg3
== NULL
) SWIG_fail
;
2242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2243 (arg1
)->SetDashes(arg2
,arg3
);
2245 wxPyEndAllowThreads(__tstate
);
2246 if (PyErr_Occurred()) SWIG_fail
;
2248 Py_INCREF(Py_None
); resultobj
= Py_None
;
2250 if (arg3
) delete [] arg3
;
2255 if (arg3
) delete [] arg3
;
2261 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2262 PyObject
*resultobj
;
2263 wxPen
*arg1
= (wxPen
*) 0 ;
2265 PyObject
* obj0
= 0 ;
2267 (char *) "self", NULL
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2275 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2277 wxPyEndAllowThreads(__tstate
);
2278 if (PyErr_Occurred()) SWIG_fail
;
2287 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2288 PyObject
*resultobj
;
2289 wxPen
*arg1
= (wxPen
*) 0 ;
2290 PyObject
*arg2
= (PyObject
*) 0 ;
2291 PyObject
*arg3
= (PyObject
*) 0 ;
2292 PyObject
* obj0
= 0 ;
2293 PyObject
* obj1
= 0 ;
2294 PyObject
* obj2
= 0 ;
2296 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2306 wxPen__SetDashes(arg1
,arg2
,arg3
);
2308 wxPyEndAllowThreads(__tstate
);
2309 if (PyErr_Occurred()) SWIG_fail
;
2311 Py_INCREF(Py_None
); resultobj
= Py_None
;
2318 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2319 PyObject
*resultobj
;
2320 wxPen
*arg1
= (wxPen
*) 0 ;
2322 PyObject
* obj0
= 0 ;
2324 (char *) "self", NULL
2327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2332 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) SWIG_fail
;
2337 resultobj
= SWIG_From_int((int)result
);
2344 static PyObject
*_wrap_Pen_GetStipple(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_GetStipple",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
= (wxBitmap
*)(arg1
)->GetStipple();
2360 wxPyEndAllowThreads(__tstate
);
2361 if (PyErr_Occurred()) SWIG_fail
;
2363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2370 static PyObject
*_wrap_Pen_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2371 PyObject
*resultobj
;
2372 wxPen
*arg1
= (wxPen
*) 0 ;
2373 wxBitmap
*arg2
= 0 ;
2374 PyObject
* obj0
= 0 ;
2375 PyObject
* obj1
= 0 ;
2377 (char *) "self",(char *) "stipple", NULL
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2384 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2387 PyErr_SetString(PyExc_TypeError
,"null reference");
2391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2392 (arg1
)->SetStipple(*arg2
);
2394 wxPyEndAllowThreads(__tstate
);
2395 if (PyErr_Occurred()) SWIG_fail
;
2397 Py_INCREF(Py_None
); resultobj
= Py_None
;
2404 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2405 PyObject
*resultobj
;
2406 wxPen
*arg1
= (wxPen
*) 0 ;
2407 wxPen
*arg2
= (wxPen
*) 0 ;
2409 PyObject
* obj0
= 0 ;
2410 PyObject
* obj1
= 0 ;
2412 (char *) "self",(char *) "other", NULL
2415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2422 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2424 wxPyEndAllowThreads(__tstate
);
2425 if (PyErr_Occurred()) SWIG_fail
;
2428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2436 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2437 PyObject
*resultobj
;
2438 wxPen
*arg1
= (wxPen
*) 0 ;
2439 wxPen
*arg2
= (wxPen
*) 0 ;
2441 PyObject
* obj0
= 0 ;
2442 PyObject
* obj1
= 0 ;
2444 (char *) "self",(char *) "other", NULL
2447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2450 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2454 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2456 wxPyEndAllowThreads(__tstate
);
2457 if (PyErr_Occurred()) SWIG_fail
;
2460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2468 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
2470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2471 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2473 return Py_BuildValue((char *)"");
2475 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2476 PyObject
*resultobj
;
2477 wxColour
*arg1
= 0 ;
2478 int arg2
= (int) wxSOLID
;
2481 PyObject
* obj0
= 0 ;
2482 PyObject
* obj1
= 0 ;
2484 (char *) "colour",(char *) "style", NULL
2487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2490 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2493 arg2
= (int)SWIG_As_int(obj1
);
2494 if (PyErr_Occurred()) SWIG_fail
;
2497 if (!wxPyCheckForApp()) SWIG_fail
;
2498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2499 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2501 wxPyEndAllowThreads(__tstate
);
2502 if (PyErr_Occurred()) SWIG_fail
;
2504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2511 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
*resultobj
;
2513 wxBrush
*arg1
= (wxBrush
*) 0 ;
2514 PyObject
* obj0
= 0 ;
2516 (char *) "self", NULL
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2526 wxPyEndAllowThreads(__tstate
);
2527 if (PyErr_Occurred()) SWIG_fail
;
2529 Py_INCREF(Py_None
); resultobj
= Py_None
;
2536 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
*resultobj
;
2538 wxBrush
*arg1
= (wxBrush
*) 0 ;
2539 wxColour
*arg2
= 0 ;
2541 PyObject
* obj0
= 0 ;
2542 PyObject
* obj1
= 0 ;
2544 (char *) "self",(char *) "col", NULL
2547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2552 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2556 (arg1
)->SetColour((wxColour
const &)*arg2
);
2558 wxPyEndAllowThreads(__tstate
);
2559 if (PyErr_Occurred()) SWIG_fail
;
2561 Py_INCREF(Py_None
); resultobj
= Py_None
;
2568 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2569 PyObject
*resultobj
;
2570 wxBrush
*arg1
= (wxBrush
*) 0 ;
2572 PyObject
* obj0
= 0 ;
2573 PyObject
* obj1
= 0 ;
2575 (char *) "self",(char *) "style", NULL
2578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2581 arg2
= (int)SWIG_As_int(obj1
);
2582 if (PyErr_Occurred()) SWIG_fail
;
2584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2585 (arg1
)->SetStyle(arg2
);
2587 wxPyEndAllowThreads(__tstate
);
2588 if (PyErr_Occurred()) SWIG_fail
;
2590 Py_INCREF(Py_None
); resultobj
= Py_None
;
2597 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2598 PyObject
*resultobj
;
2599 wxBrush
*arg1
= (wxBrush
*) 0 ;
2600 wxBitmap
*arg2
= 0 ;
2601 PyObject
* obj0
= 0 ;
2602 PyObject
* obj1
= 0 ;
2604 (char *) "self",(char *) "stipple", NULL
2607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2611 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2614 PyErr_SetString(PyExc_TypeError
,"null reference");
2618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2619 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2621 wxPyEndAllowThreads(__tstate
);
2622 if (PyErr_Occurred()) SWIG_fail
;
2624 Py_INCREF(Py_None
); resultobj
= Py_None
;
2631 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2632 PyObject
*resultobj
;
2633 wxBrush
*arg1
= (wxBrush
*) 0 ;
2635 PyObject
* obj0
= 0 ;
2637 (char *) "self", NULL
2640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2645 result
= ((wxBrush
const *)arg1
)->GetColour();
2647 wxPyEndAllowThreads(__tstate
);
2648 if (PyErr_Occurred()) SWIG_fail
;
2651 wxColour
* resultptr
;
2652 resultptr
= new wxColour((wxColour
&) result
);
2653 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2661 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
*resultobj
;
2663 wxBrush
*arg1
= (wxBrush
*) 0 ;
2665 PyObject
* obj0
= 0 ;
2667 (char *) "self", NULL
2670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2675 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2677 wxPyEndAllowThreads(__tstate
);
2678 if (PyErr_Occurred()) SWIG_fail
;
2680 resultobj
= SWIG_From_int((int)result
);
2687 static PyObject
*_wrap_Brush_GetStipple(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_GetStipple",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
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2703 wxPyEndAllowThreads(__tstate
);
2704 if (PyErr_Occurred()) SWIG_fail
;
2706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2713 static PyObject
*_wrap_Brush_Ok(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_Ok",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
= (bool)(arg1
)->Ok();
2729 wxPyEndAllowThreads(__tstate
);
2730 if (PyErr_Occurred()) SWIG_fail
;
2733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2741 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
2743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2744 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2746 return Py_BuildValue((char *)"");
2748 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2749 PyObject
*resultobj
;
2750 wxString
*arg1
= 0 ;
2751 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2753 bool temp1
= false ;
2754 PyObject
* obj0
= 0 ;
2755 PyObject
* obj1
= 0 ;
2757 (char *) "name",(char *) "type", NULL
2760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2762 arg1
= wxString_in_helper(obj0
);
2763 if (arg1
== NULL
) SWIG_fail
;
2767 arg2
= (int)SWIG_As_int(obj1
);
2768 if (PyErr_Occurred()) SWIG_fail
;
2771 if (!wxPyCheckForApp()) SWIG_fail
;
2772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2773 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2775 wxPyEndAllowThreads(__tstate
);
2776 if (PyErr_Occurred()) SWIG_fail
;
2778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2793 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
*resultobj
;
2795 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2796 PyObject
* obj0
= 0 ;
2798 (char *) "self", NULL
2801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2808 wxPyEndAllowThreads(__tstate
);
2809 if (PyErr_Occurred()) SWIG_fail
;
2811 Py_INCREF(Py_None
); resultobj
= Py_None
;
2818 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2819 PyObject
*resultobj
;
2822 int arg3
= (int) -1 ;
2824 PyObject
* obj0
= 0 ;
2825 PyObject
* obj1
= 0 ;
2826 PyObject
* obj2
= 0 ;
2828 (char *) "width",(char *) "height",(char *) "depth", NULL
2831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2832 arg1
= (int)SWIG_As_int(obj0
);
2833 if (PyErr_Occurred()) SWIG_fail
;
2834 arg2
= (int)SWIG_As_int(obj1
);
2835 if (PyErr_Occurred()) SWIG_fail
;
2837 arg3
= (int)SWIG_As_int(obj2
);
2838 if (PyErr_Occurred()) SWIG_fail
;
2841 if (!wxPyCheckForApp()) SWIG_fail
;
2842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2843 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2845 wxPyEndAllowThreads(__tstate
);
2846 if (PyErr_Occurred()) SWIG_fail
;
2848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2855 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2856 PyObject
*resultobj
;
2859 PyObject
* obj0
= 0 ;
2861 (char *) "icon", NULL
2864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2866 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2869 PyErr_SetString(PyExc_TypeError
,"null reference");
2873 if (!wxPyCheckForApp()) SWIG_fail
;
2874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2875 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2877 wxPyEndAllowThreads(__tstate
);
2878 if (PyErr_Occurred()) SWIG_fail
;
2880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2887 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2888 PyObject
*resultobj
;
2890 int arg2
= (int) -1 ;
2892 PyObject
* obj0
= 0 ;
2893 PyObject
* obj1
= 0 ;
2895 (char *) "image",(char *) "depth", NULL
2898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2900 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2903 PyErr_SetString(PyExc_TypeError
,"null reference");
2907 arg2
= (int)SWIG_As_int(obj1
);
2908 if (PyErr_Occurred()) SWIG_fail
;
2911 if (!wxPyCheckForApp()) SWIG_fail
;
2912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2913 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2915 wxPyEndAllowThreads(__tstate
);
2916 if (PyErr_Occurred()) SWIG_fail
;
2918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2925 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2926 PyObject
*resultobj
;
2927 PyObject
*arg1
= (PyObject
*) 0 ;
2929 PyObject
* obj0
= 0 ;
2931 (char *) "listOfStrings", NULL
2934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2937 if (!wxPyCheckForApp()) SWIG_fail
;
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) SWIG_fail
;
2944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2951 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2952 PyObject
*resultobj
;
2953 PyObject
*arg1
= (PyObject
*) 0 ;
2956 int arg4
= (int) 1 ;
2958 PyObject
* obj0
= 0 ;
2959 PyObject
* obj1
= 0 ;
2960 PyObject
* obj2
= 0 ;
2961 PyObject
* obj3
= 0 ;
2963 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2968 arg2
= (int)SWIG_As_int(obj1
);
2969 if (PyErr_Occurred()) SWIG_fail
;
2970 arg3
= (int)SWIG_As_int(obj2
);
2971 if (PyErr_Occurred()) SWIG_fail
;
2973 arg4
= (int)SWIG_As_int(obj3
);
2974 if (PyErr_Occurred()) SWIG_fail
;
2977 if (!wxPyCheckForApp()) SWIG_fail
;
2978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2979 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2981 wxPyEndAllowThreads(__tstate
);
2982 if (PyErr_Occurred()) SWIG_fail
;
2984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2991 static PyObject
*_wrap_Bitmap_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2992 PyObject
*resultobj
;
2993 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2994 wxPalette
*arg2
= 0 ;
2995 PyObject
* obj0
= 0 ;
2996 PyObject
* obj1
= 0 ;
2998 (char *) "self",(char *) "palette", NULL
3001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
3002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3004 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
3005 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3008 PyErr_SetString(PyExc_TypeError
,"null reference");
3012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3013 (arg1
)->SetPalette(*arg2
);
3015 wxPyEndAllowThreads(__tstate
);
3016 if (PyErr_Occurred()) SWIG_fail
;
3018 Py_INCREF(Py_None
); resultobj
= Py_None
;
3025 static PyObject
*_wrap_Bitmap_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
*resultobj
;
3027 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3029 PyObject
* obj0
= 0 ;
3031 (char *) "self", NULL
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHandle",kwnames
,&obj0
)) goto fail
;
3035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3039 result
= (long)(arg1
)->GetHandle();
3041 wxPyEndAllowThreads(__tstate
);
3042 if (PyErr_Occurred()) SWIG_fail
;
3044 resultobj
= SWIG_From_long((long)result
);
3051 static PyObject
*_wrap_Bitmap_SetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
*resultobj
;
3053 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3055 PyObject
* obj0
= 0 ;
3056 PyObject
* obj1
= 0 ;
3058 (char *) "self",(char *) "handle", NULL
3061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
3062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3064 arg2
= (long)SWIG_As_long(obj1
);
3065 if (PyErr_Occurred()) SWIG_fail
;
3067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3068 wxBitmap_SetHandle(arg1
,arg2
);
3070 wxPyEndAllowThreads(__tstate
);
3071 if (PyErr_Occurred()) SWIG_fail
;
3073 Py_INCREF(Py_None
); resultobj
= Py_None
;
3080 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3081 PyObject
*resultobj
;
3082 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3084 PyObject
* obj0
= 0 ;
3086 (char *) "self", NULL
3089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
3090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3094 result
= (bool)(arg1
)->Ok();
3096 wxPyEndAllowThreads(__tstate
);
3097 if (PyErr_Occurred()) SWIG_fail
;
3100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3108 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
*resultobj
;
3110 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3112 PyObject
* obj0
= 0 ;
3114 (char *) "self", NULL
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
3118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3122 result
= (int)(arg1
)->GetWidth();
3124 wxPyEndAllowThreads(__tstate
);
3125 if (PyErr_Occurred()) SWIG_fail
;
3127 resultobj
= SWIG_From_int((int)result
);
3134 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3135 PyObject
*resultobj
;
3136 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3138 PyObject
* obj0
= 0 ;
3140 (char *) "self", NULL
3143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
3144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3148 result
= (int)(arg1
)->GetHeight();
3150 wxPyEndAllowThreads(__tstate
);
3151 if (PyErr_Occurred()) SWIG_fail
;
3153 resultobj
= SWIG_From_int((int)result
);
3160 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3161 PyObject
*resultobj
;
3162 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3164 PyObject
* obj0
= 0 ;
3166 (char *) "self", NULL
3169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
3170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3174 result
= (int)(arg1
)->GetDepth();
3176 wxPyEndAllowThreads(__tstate
);
3177 if (PyErr_Occurred()) SWIG_fail
;
3179 resultobj
= SWIG_From_int((int)result
);
3186 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3187 PyObject
*resultobj
;
3188 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3190 PyObject
* obj0
= 0 ;
3192 (char *) "self", NULL
3195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
3196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3200 result
= wxBitmap_GetSize(arg1
);
3202 wxPyEndAllowThreads(__tstate
);
3203 if (PyErr_Occurred()) SWIG_fail
;
3207 resultptr
= new wxSize((wxSize
&) result
);
3208 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3216 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3217 PyObject
*resultobj
;
3218 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3219 SwigValueWrapper
< wxImage
> result
;
3220 PyObject
* obj0
= 0 ;
3222 (char *) "self", NULL
3225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3230 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3232 wxPyEndAllowThreads(__tstate
);
3233 if (PyErr_Occurred()) SWIG_fail
;
3236 wxImage
* resultptr
;
3237 resultptr
= new wxImage((wxImage
&) result
);
3238 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3246 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
*resultobj
;
3248 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3250 PyObject
* obj0
= 0 ;
3252 (char *) "self", NULL
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3260 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3262 wxPyEndAllowThreads(__tstate
);
3263 if (PyErr_Occurred()) SWIG_fail
;
3265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3272 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3273 PyObject
*resultobj
;
3274 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3275 wxMask
*arg2
= (wxMask
*) 0 ;
3276 PyObject
* obj0
= 0 ;
3277 PyObject
* obj1
= 0 ;
3279 (char *) "self",(char *) "mask", NULL
3282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3289 (arg1
)->SetMask(arg2
);
3291 wxPyEndAllowThreads(__tstate
);
3292 if (PyErr_Occurred()) SWIG_fail
;
3294 Py_INCREF(Py_None
); resultobj
= Py_None
;
3301 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3302 PyObject
*resultobj
;
3303 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3304 wxColour
*arg2
= 0 ;
3306 PyObject
* obj0
= 0 ;
3307 PyObject
* obj1
= 0 ;
3309 (char *) "self",(char *) "colour", NULL
3312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3317 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3323 wxPyEndAllowThreads(__tstate
);
3324 if (PyErr_Occurred()) SWIG_fail
;
3326 Py_INCREF(Py_None
); resultobj
= Py_None
;
3333 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3334 PyObject
*resultobj
;
3335 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3337 SwigValueWrapper
< wxBitmap
> result
;
3339 PyObject
* obj0
= 0 ;
3340 PyObject
* obj1
= 0 ;
3342 (char *) "self",(char *) "rect", NULL
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3350 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3354 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3356 wxPyEndAllowThreads(__tstate
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3360 wxBitmap
* resultptr
;
3361 resultptr
= new wxBitmap((wxBitmap
&) result
);
3362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3370 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
*resultobj
;
3372 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3373 wxString
*arg2
= 0 ;
3375 wxPalette
*arg4
= (wxPalette
*) NULL
;
3377 bool temp2
= false ;
3378 PyObject
* obj0
= 0 ;
3379 PyObject
* obj1
= 0 ;
3380 PyObject
* obj2
= 0 ;
3381 PyObject
* obj3
= 0 ;
3383 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3390 arg2
= wxString_in_helper(obj1
);
3391 if (arg2
== NULL
) SWIG_fail
;
3394 arg3
= (int)SWIG_As_int(obj2
);
3395 if (PyErr_Occurred()) SWIG_fail
;
3397 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3402 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3404 wxPyEndAllowThreads(__tstate
);
3405 if (PyErr_Occurred()) SWIG_fail
;
3408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3424 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3425 PyObject
*resultobj
;
3426 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3427 wxString
*arg2
= 0 ;
3430 bool temp2
= false ;
3431 PyObject
* obj0
= 0 ;
3432 PyObject
* obj1
= 0 ;
3433 PyObject
* obj2
= 0 ;
3435 (char *) "self",(char *) "name",(char *) "type", NULL
3438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3442 arg2
= wxString_in_helper(obj1
);
3443 if (arg2
== NULL
) SWIG_fail
;
3446 arg3
= (int)SWIG_As_int(obj2
);
3447 if (PyErr_Occurred()) SWIG_fail
;
3449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3450 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3452 wxPyEndAllowThreads(__tstate
);
3453 if (PyErr_Occurred()) SWIG_fail
;
3456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3472 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
*resultobj
;
3474 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3477 PyObject
* obj0
= 0 ;
3478 PyObject
* obj1
= 0 ;
3480 (char *) "self",(char *) "icon", NULL
3483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3486 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3487 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3490 PyErr_SetString(PyExc_TypeError
,"null reference");
3494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3495 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3509 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3510 PyObject
*resultobj
;
3511 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3513 PyObject
* obj0
= 0 ;
3514 PyObject
* obj1
= 0 ;
3516 (char *) "self",(char *) "height", NULL
3519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3522 arg2
= (int)SWIG_As_int(obj1
);
3523 if (PyErr_Occurred()) SWIG_fail
;
3525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3526 (arg1
)->SetHeight(arg2
);
3528 wxPyEndAllowThreads(__tstate
);
3529 if (PyErr_Occurred()) SWIG_fail
;
3531 Py_INCREF(Py_None
); resultobj
= Py_None
;
3538 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3539 PyObject
*resultobj
;
3540 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3542 PyObject
* obj0
= 0 ;
3543 PyObject
* obj1
= 0 ;
3545 (char *) "self",(char *) "width", NULL
3548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3551 arg2
= (int)SWIG_As_int(obj1
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3555 (arg1
)->SetWidth(arg2
);
3557 wxPyEndAllowThreads(__tstate
);
3558 if (PyErr_Occurred()) SWIG_fail
;
3560 Py_INCREF(Py_None
); resultobj
= Py_None
;
3567 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3568 PyObject
*resultobj
;
3569 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3571 PyObject
* obj0
= 0 ;
3572 PyObject
* obj1
= 0 ;
3574 (char *) "self",(char *) "depth", NULL
3577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3580 arg2
= (int)SWIG_As_int(obj1
);
3581 if (PyErr_Occurred()) SWIG_fail
;
3583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3584 (arg1
)->SetDepth(arg2
);
3586 wxPyEndAllowThreads(__tstate
);
3587 if (PyErr_Occurred()) SWIG_fail
;
3589 Py_INCREF(Py_None
); resultobj
= Py_None
;
3596 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3597 PyObject
*resultobj
;
3598 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3601 PyObject
* obj0
= 0 ;
3602 PyObject
* obj1
= 0 ;
3604 (char *) "self",(char *) "size", NULL
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3612 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3616 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3618 wxPyEndAllowThreads(__tstate
);
3619 if (PyErr_Occurred()) SWIG_fail
;
3621 Py_INCREF(Py_None
); resultobj
= Py_None
;
3628 static PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
*resultobj
;
3630 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3631 wxCursor
*arg2
= 0 ;
3633 PyObject
* obj0
= 0 ;
3634 PyObject
* obj1
= 0 ;
3636 (char *) "self",(char *) "cursor", NULL
3639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
3640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3642 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
3643 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3646 PyErr_SetString(PyExc_TypeError
,"null reference");
3650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3651 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
3653 wxPyEndAllowThreads(__tstate
);
3654 if (PyErr_Occurred()) SWIG_fail
;
3657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3665 static PyObject
*_wrap_Bitmap_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
*resultobj
;
3667 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3669 PyObject
* obj0
= 0 ;
3671 (char *) "self", NULL
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetQuality",kwnames
,&obj0
)) goto fail
;
3675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 result
= (int)(arg1
)->GetQuality();
3681 wxPyEndAllowThreads(__tstate
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3684 resultobj
= SWIG_From_int((int)result
);
3691 static PyObject
*_wrap_Bitmap_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3692 PyObject
*resultobj
;
3693 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3695 PyObject
* obj0
= 0 ;
3696 PyObject
* obj1
= 0 ;
3698 (char *) "self",(char *) "q", NULL
3701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
3702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3704 arg2
= (int)SWIG_As_int(obj1
);
3705 if (PyErr_Occurred()) SWIG_fail
;
3707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3708 (arg1
)->SetQuality(arg2
);
3710 wxPyEndAllowThreads(__tstate
);
3711 if (PyErr_Occurred()) SWIG_fail
;
3713 Py_INCREF(Py_None
); resultobj
= Py_None
;
3720 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
*resultobj
;
3722 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3723 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3725 PyObject
* obj0
= 0 ;
3726 PyObject
* obj1
= 0 ;
3728 (char *) "self",(char *) "other", NULL
3731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3738 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3740 wxPyEndAllowThreads(__tstate
);
3741 if (PyErr_Occurred()) SWIG_fail
;
3744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3752 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
*resultobj
;
3754 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3755 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3757 PyObject
* obj0
= 0 ;
3758 PyObject
* obj1
= 0 ;
3760 (char *) "self",(char *) "other", NULL
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3772 wxPyEndAllowThreads(__tstate
);
3773 if (PyErr_Occurred()) SWIG_fail
;
3776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3784 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
3786 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3787 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3789 return Py_BuildValue((char *)"");
3791 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
*resultobj
;
3793 wxBitmap
*arg1
= 0 ;
3794 wxColour
const &arg2_defvalue
= wxNullColour
;
3795 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3798 PyObject
* obj0
= 0 ;
3799 PyObject
* obj1
= 0 ;
3801 (char *) "bitmap",(char *) "colour", NULL
3804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3806 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3809 PyErr_SetString(PyExc_TypeError
,"null reference");
3815 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3819 if (!wxPyCheckForApp()) SWIG_fail
;
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3833 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
3835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3836 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3838 return Py_BuildValue((char *)"");
3840 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3841 PyObject
*resultobj
;
3842 wxString
*arg1
= 0 ;
3844 int arg3
= (int) -1 ;
3845 int arg4
= (int) -1 ;
3847 bool temp1
= false ;
3848 PyObject
* obj0
= 0 ;
3849 PyObject
* obj1
= 0 ;
3850 PyObject
* obj2
= 0 ;
3851 PyObject
* obj3
= 0 ;
3853 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3858 arg1
= wxString_in_helper(obj0
);
3859 if (arg1
== NULL
) SWIG_fail
;
3862 arg2
= (int)SWIG_As_int(obj1
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3865 arg3
= (int)SWIG_As_int(obj2
);
3866 if (PyErr_Occurred()) SWIG_fail
;
3869 arg4
= (int)SWIG_As_int(obj3
);
3870 if (PyErr_Occurred()) SWIG_fail
;
3873 if (!wxPyCheckForApp()) SWIG_fail
;
3874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3875 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3877 wxPyEndAllowThreads(__tstate
);
3878 if (PyErr_Occurred()) SWIG_fail
;
3880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3895 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3896 PyObject
*resultobj
;
3897 wxIcon
*arg1
= (wxIcon
*) 0 ;
3898 PyObject
* obj0
= 0 ;
3900 (char *) "self", NULL
3903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3910 wxPyEndAllowThreads(__tstate
);
3911 if (PyErr_Occurred()) SWIG_fail
;
3913 Py_INCREF(Py_None
); resultobj
= Py_None
;
3920 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
*resultobj
;
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3929 if (!wxPyCheckForApp()) SWIG_fail
;
3930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3931 result
= (wxIcon
*)new wxIcon();
3933 wxPyEndAllowThreads(__tstate
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3943 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
*resultobj
;
3945 wxIconLocation
*arg1
= 0 ;
3947 PyObject
* obj0
= 0 ;
3949 (char *) "loc", NULL
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3954 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3957 PyErr_SetString(PyExc_TypeError
,"null reference");
3961 if (!wxPyCheckForApp()) SWIG_fail
;
3962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3963 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3965 wxPyEndAllowThreads(__tstate
);
3966 if (PyErr_Occurred()) SWIG_fail
;
3968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3975 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3976 PyObject
*resultobj
;
3977 wxBitmap
*arg1
= 0 ;
3979 PyObject
* obj0
= 0 ;
3981 (char *) "bmp", NULL
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3986 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3989 PyErr_SetString(PyExc_TypeError
,"null reference");
3993 if (!wxPyCheckForApp()) SWIG_fail
;
3994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3995 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3997 wxPyEndAllowThreads(__tstate
);
3998 if (PyErr_Occurred()) SWIG_fail
;
4000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
4007 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4008 PyObject
*resultobj
;
4009 PyObject
*arg1
= (PyObject
*) 0 ;
4011 PyObject
* obj0
= 0 ;
4013 (char *) "listOfStrings", NULL
4016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
4019 if (!wxPyCheckForApp()) SWIG_fail
;
4020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4021 result
= (wxIcon
*)new_wxIcon(arg1
);
4023 wxPyEndAllowThreads(__tstate
);
4024 if (PyErr_Occurred()) SWIG_fail
;
4026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
4033 static PyObject
*_wrap_Icon_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4034 PyObject
*resultobj
;
4035 wxIcon
*arg1
= (wxIcon
*) 0 ;
4036 wxString
*arg2
= 0 ;
4039 bool temp2
= false ;
4040 PyObject
* obj0
= 0 ;
4041 PyObject
* obj1
= 0 ;
4042 PyObject
* obj2
= 0 ;
4044 (char *) "self",(char *) "name",(char *) "type", NULL
4047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4051 arg2
= wxString_in_helper(obj1
);
4052 if (arg2
== NULL
) SWIG_fail
;
4055 arg3
= (int)SWIG_As_int(obj2
);
4056 if (PyErr_Occurred()) SWIG_fail
;
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4081 static PyObject
*_wrap_Icon_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
*resultobj
;
4083 wxIcon
*arg1
= (wxIcon
*) 0 ;
4085 PyObject
* obj0
= 0 ;
4087 (char *) "self", NULL
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHandle",kwnames
,&obj0
)) goto fail
;
4091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 result
= (long)(arg1
)->GetHandle();
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4100 resultobj
= SWIG_From_long((long)result
);
4107 static PyObject
*_wrap_Icon_SetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
*resultobj
;
4109 wxIcon
*arg1
= (wxIcon
*) 0 ;
4111 PyObject
* obj0
= 0 ;
4112 PyObject
* obj1
= 0 ;
4114 (char *) "self",(char *) "handle", NULL
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
4118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4120 arg2
= (long)SWIG_As_long(obj1
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 wxIcon_SetHandle(arg1
,arg2
);
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4129 Py_INCREF(Py_None
); resultobj
= Py_None
;
4136 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
*resultobj
;
4138 wxIcon
*arg1
= (wxIcon
*) 0 ;
4140 PyObject
* obj0
= 0 ;
4142 (char *) "self", NULL
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
4146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 result
= (bool)(arg1
)->Ok();
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4164 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
*resultobj
;
4166 wxIcon
*arg1
= (wxIcon
*) 0 ;
4168 PyObject
* obj0
= 0 ;
4170 (char *) "self", NULL
4173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
4174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 result
= (int)(arg1
)->GetWidth();
4180 wxPyEndAllowThreads(__tstate
);
4181 if (PyErr_Occurred()) SWIG_fail
;
4183 resultobj
= SWIG_From_int((int)result
);
4190 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4191 PyObject
*resultobj
;
4192 wxIcon
*arg1
= (wxIcon
*) 0 ;
4194 PyObject
* obj0
= 0 ;
4196 (char *) "self", NULL
4199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
4200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4204 result
= (int)(arg1
)->GetHeight();
4206 wxPyEndAllowThreads(__tstate
);
4207 if (PyErr_Occurred()) SWIG_fail
;
4209 resultobj
= SWIG_From_int((int)result
);
4216 static PyObject
*_wrap_Icon_GetDepth(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_GetDepth",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
)->GetDepth();
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4235 resultobj
= SWIG_From_int((int)result
);
4242 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4243 PyObject
*resultobj
;
4244 wxIcon
*arg1
= (wxIcon
*) 0 ;
4246 PyObject
* obj0
= 0 ;
4247 PyObject
* obj1
= 0 ;
4249 (char *) "self",(char *) "w", NULL
4252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4255 arg2
= (int)SWIG_As_int(obj1
);
4256 if (PyErr_Occurred()) SWIG_fail
;
4258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4259 (arg1
)->SetWidth(arg2
);
4261 wxPyEndAllowThreads(__tstate
);
4262 if (PyErr_Occurred()) SWIG_fail
;
4264 Py_INCREF(Py_None
); resultobj
= Py_None
;
4271 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4272 PyObject
*resultobj
;
4273 wxIcon
*arg1
= (wxIcon
*) 0 ;
4275 PyObject
* obj0
= 0 ;
4276 PyObject
* obj1
= 0 ;
4278 (char *) "self",(char *) "h", NULL
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4284 arg2
= (int)SWIG_As_int(obj1
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4288 (arg1
)->SetHeight(arg2
);
4290 wxPyEndAllowThreads(__tstate
);
4291 if (PyErr_Occurred()) SWIG_fail
;
4293 Py_INCREF(Py_None
); resultobj
= Py_None
;
4300 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
*resultobj
;
4302 wxIcon
*arg1
= (wxIcon
*) 0 ;
4304 PyObject
* obj0
= 0 ;
4305 PyObject
* obj1
= 0 ;
4307 (char *) "self",(char *) "d", NULL
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4313 arg2
= (int)SWIG_As_int(obj1
);
4314 if (PyErr_Occurred()) SWIG_fail
;
4316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4317 (arg1
)->SetDepth(arg2
);
4319 wxPyEndAllowThreads(__tstate
);
4320 if (PyErr_Occurred()) SWIG_fail
;
4322 Py_INCREF(Py_None
); resultobj
= Py_None
;
4329 static PyObject
*_wrap_Icon_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4330 PyObject
*resultobj
;
4331 wxIcon
*arg1
= (wxIcon
*) 0 ;
4334 PyObject
* obj0
= 0 ;
4335 PyObject
* obj1
= 0 ;
4337 (char *) "self",(char *) "size", NULL
4340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4345 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 (arg1
)->SetSize((wxSize
const &)*arg2
);
4351 wxPyEndAllowThreads(__tstate
);
4352 if (PyErr_Occurred()) SWIG_fail
;
4354 Py_INCREF(Py_None
); resultobj
= Py_None
;
4361 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
*resultobj
;
4363 wxIcon
*arg1
= (wxIcon
*) 0 ;
4364 wxBitmap
*arg2
= 0 ;
4365 PyObject
* obj0
= 0 ;
4366 PyObject
* obj1
= 0 ;
4368 (char *) "self",(char *) "bmp", NULL
4371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4374 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4375 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4378 PyErr_SetString(PyExc_TypeError
,"null reference");
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4388 Py_INCREF(Py_None
); resultobj
= Py_None
;
4395 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
4397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4398 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4400 return Py_BuildValue((char *)"");
4402 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
*resultobj
;
4404 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4405 int arg2
= (int) 0 ;
4406 wxIconLocation
*result
;
4407 bool temp1
= false ;
4408 PyObject
* obj0
= 0 ;
4409 PyObject
* obj1
= 0 ;
4411 (char *) "filename",(char *) "num", NULL
4414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4417 arg1
= wxString_in_helper(obj0
);
4418 if (arg1
== NULL
) SWIG_fail
;
4423 arg2
= (int)SWIG_As_int(obj1
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4448 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4449 PyObject
*resultobj
;
4450 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4451 PyObject
* obj0
= 0 ;
4453 (char *) "self", NULL
4456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4463 wxPyEndAllowThreads(__tstate
);
4464 if (PyErr_Occurred()) SWIG_fail
;
4466 Py_INCREF(Py_None
); resultobj
= Py_None
;
4473 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4474 PyObject
*resultobj
;
4475 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4477 PyObject
* obj0
= 0 ;
4479 (char *) "self", NULL
4482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4487 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4489 wxPyEndAllowThreads(__tstate
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4501 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
*resultobj
;
4503 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4504 wxString
*arg2
= 0 ;
4505 bool temp2
= false ;
4506 PyObject
* obj0
= 0 ;
4507 PyObject
* obj1
= 0 ;
4509 (char *) "self",(char *) "filename", NULL
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4516 arg2
= wxString_in_helper(obj1
);
4517 if (arg2
== NULL
) SWIG_fail
;
4521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4522 (arg1
)->SetFileName((wxString
const &)*arg2
);
4524 wxPyEndAllowThreads(__tstate
);
4525 if (PyErr_Occurred()) SWIG_fail
;
4527 Py_INCREF(Py_None
); resultobj
= Py_None
;
4542 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4543 PyObject
*resultobj
;
4544 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4546 PyObject
* obj0
= 0 ;
4548 (char *) "self", NULL
4551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4557 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4558 result
= (wxString
*) &_result_ref
;
4561 wxPyEndAllowThreads(__tstate
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4566 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4568 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4577 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4578 PyObject
*resultobj
;
4579 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4581 PyObject
* obj0
= 0 ;
4582 PyObject
* obj1
= 0 ;
4584 (char *) "self",(char *) "num", NULL
4587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4590 arg2
= (int)SWIG_As_int(obj1
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4594 wxIconLocation_SetIndex(arg1
,arg2
);
4596 wxPyEndAllowThreads(__tstate
);
4597 if (PyErr_Occurred()) SWIG_fail
;
4599 Py_INCREF(Py_None
); resultobj
= Py_None
;
4606 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4607 PyObject
*resultobj
;
4608 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4610 PyObject
* obj0
= 0 ;
4612 (char *) "self", NULL
4615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4620 result
= (int)wxIconLocation_GetIndex(arg1
);
4622 wxPyEndAllowThreads(__tstate
);
4623 if (PyErr_Occurred()) SWIG_fail
;
4625 resultobj
= SWIG_From_int((int)result
);
4632 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
4634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4635 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4637 return Py_BuildValue((char *)"");
4639 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4640 PyObject
*resultobj
;
4641 wxIconBundle
*result
;
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 result
= (wxIconBundle
*)new wxIconBundle();
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4661 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
;
4663 wxString
*arg1
= 0 ;
4665 wxIconBundle
*result
;
4666 bool temp1
= false ;
4667 PyObject
* obj0
= 0 ;
4668 PyObject
* obj1
= 0 ;
4670 (char *) "file",(char *) "type", NULL
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4675 arg1
= wxString_in_helper(obj0
);
4676 if (arg1
== NULL
) SWIG_fail
;
4679 arg2
= (long)SWIG_As_long(obj1
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4683 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4685 wxPyEndAllowThreads(__tstate
);
4686 if (PyErr_Occurred()) SWIG_fail
;
4688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4703 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4704 PyObject
*resultobj
;
4706 wxIconBundle
*result
;
4707 PyObject
* obj0
= 0 ;
4709 (char *) "icon", NULL
4712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4714 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4717 PyErr_SetString(PyExc_TypeError
,"null reference");
4721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4724 wxPyEndAllowThreads(__tstate
);
4725 if (PyErr_Occurred()) SWIG_fail
;
4727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4734 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4735 PyObject
*resultobj
;
4736 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4737 PyObject
* obj0
= 0 ;
4739 (char *) "self", NULL
4742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) SWIG_fail
;
4752 Py_INCREF(Py_None
); resultobj
= Py_None
;
4759 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4760 PyObject
*resultobj
;
4761 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4763 PyObject
* obj0
= 0 ;
4764 PyObject
* obj1
= 0 ;
4766 (char *) "self",(char *) "icon", NULL
4769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4776 PyErr_SetString(PyExc_TypeError
,"null reference");
4780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4783 wxPyEndAllowThreads(__tstate
);
4784 if (PyErr_Occurred()) SWIG_fail
;
4786 Py_INCREF(Py_None
); resultobj
= Py_None
;
4793 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4794 PyObject
*resultobj
;
4795 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4796 wxString
*arg2
= 0 ;
4798 bool temp2
= false ;
4799 PyObject
* obj0
= 0 ;
4800 PyObject
* obj1
= 0 ;
4801 PyObject
* obj2
= 0 ;
4803 (char *) "self",(char *) "file",(char *) "type", NULL
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4810 arg2
= wxString_in_helper(obj1
);
4811 if (arg2
== NULL
) SWIG_fail
;
4814 arg3
= (long)SWIG_As_long(obj2
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4820 wxPyEndAllowThreads(__tstate
);
4821 if (PyErr_Occurred()) SWIG_fail
;
4823 Py_INCREF(Py_None
); resultobj
= Py_None
;
4838 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4839 PyObject
*resultobj
;
4840 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4844 PyObject
* obj0
= 0 ;
4845 PyObject
* obj1
= 0 ;
4847 (char *) "self",(char *) "size", NULL
4850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4855 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4860 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4861 result
= (wxIcon
*) &_result_ref
;
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) SWIG_fail
;
4868 wxIcon
* resultptr
= new wxIcon(*result
);
4869 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4877 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
4879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4880 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4882 return Py_BuildValue((char *)"");
4884 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4885 PyObject
*resultobj
;
4886 wxString
*arg1
= (wxString
*) 0 ;
4888 int arg3
= (int) 0 ;
4889 int arg4
= (int) 0 ;
4891 bool temp1
= false ;
4892 PyObject
* obj0
= 0 ;
4893 PyObject
* obj1
= 0 ;
4894 PyObject
* obj2
= 0 ;
4895 PyObject
* obj3
= 0 ;
4897 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4902 arg1
= wxString_in_helper(obj0
);
4903 if (arg1
== NULL
) SWIG_fail
;
4906 arg2
= (long)SWIG_As_long(obj1
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4909 arg3
= (int)SWIG_As_int(obj2
);
4910 if (PyErr_Occurred()) SWIG_fail
;
4913 arg4
= (int)SWIG_As_int(obj3
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4917 if (!wxPyCheckForApp()) SWIG_fail
;
4918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4919 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4921 wxPyEndAllowThreads(__tstate
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4939 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
*resultobj
;
4941 wxCursor
*arg1
= (wxCursor
*) 0 ;
4942 PyObject
* obj0
= 0 ;
4944 (char *) "self", NULL
4947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 Py_INCREF(Py_None
); resultobj
= Py_None
;
4964 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
;
4968 PyObject
* obj0
= 0 ;
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4974 arg1
= (int)SWIG_As_int(obj0
);
4975 if (PyErr_Occurred()) SWIG_fail
;
4977 if (!wxPyCheckForApp()) SWIG_fail
;
4978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4979 result
= (wxCursor
*)new wxCursor(arg1
);
4981 wxPyEndAllowThreads(__tstate
);
4982 if (PyErr_Occurred()) SWIG_fail
;
4984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4991 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
*resultobj
;
4995 PyObject
* obj0
= 0 ;
4997 (char *) "image", NULL
5000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
5001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
5002 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5005 PyErr_SetString(PyExc_TypeError
,"null reference");
5009 if (!wxPyCheckForApp()) SWIG_fail
;
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
5023 static PyObject
*_wrap_Cursor_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
;
5025 wxCursor
*arg1
= (wxCursor
*) 0 ;
5027 PyObject
* obj0
= 0 ;
5029 (char *) "self", NULL
5032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHandle",kwnames
,&obj0
)) goto fail
;
5033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 result
= (long)(arg1
)->GetHandle();
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5042 resultobj
= SWIG_From_long((long)result
);
5049 static PyObject
*_wrap_Cursor_SetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
*resultobj
;
5051 wxCursor
*arg1
= (wxCursor
*) 0 ;
5053 PyObject
* obj0
= 0 ;
5054 PyObject
* obj1
= 0 ;
5056 (char *) "self",(char *) "handle", NULL
5059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
5060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5062 arg2
= (long)SWIG_As_long(obj1
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5066 wxCursor_SetHandle(arg1
,arg2
);
5068 wxPyEndAllowThreads(__tstate
);
5069 if (PyErr_Occurred()) SWIG_fail
;
5071 Py_INCREF(Py_None
); resultobj
= Py_None
;
5078 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
*resultobj
;
5080 wxCursor
*arg1
= (wxCursor
*) 0 ;
5082 PyObject
* obj0
= 0 ;
5084 (char *) "self", NULL
5087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
5088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5092 result
= (bool)(arg1
)->Ok();
5094 wxPyEndAllowThreads(__tstate
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5106 static PyObject
*_wrap_Cursor_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
*resultobj
;
5108 wxCursor
*arg1
= (wxCursor
*) 0 ;
5110 PyObject
* obj0
= 0 ;
5112 (char *) "self", NULL
5115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetWidth",kwnames
,&obj0
)) goto fail
;
5116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5120 result
= (int)(arg1
)->GetWidth();
5122 wxPyEndAllowThreads(__tstate
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5125 resultobj
= SWIG_From_int((int)result
);
5132 static PyObject
*_wrap_Cursor_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
*resultobj
;
5134 wxCursor
*arg1
= (wxCursor
*) 0 ;
5136 PyObject
* obj0
= 0 ;
5138 (char *) "self", NULL
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHeight",kwnames
,&obj0
)) goto fail
;
5142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 result
= (int)(arg1
)->GetHeight();
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5151 resultobj
= SWIG_From_int((int)result
);
5158 static PyObject
*_wrap_Cursor_GetDepth(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_GetDepth",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
)->GetDepth();
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5177 resultobj
= SWIG_From_int((int)result
);
5184 static PyObject
*_wrap_Cursor_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5185 PyObject
*resultobj
;
5186 wxCursor
*arg1
= (wxCursor
*) 0 ;
5188 PyObject
* obj0
= 0 ;
5189 PyObject
* obj1
= 0 ;
5191 (char *) "self",(char *) "w", NULL
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5197 arg2
= (int)SWIG_As_int(obj1
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5201 (arg1
)->SetWidth(arg2
);
5203 wxPyEndAllowThreads(__tstate
);
5204 if (PyErr_Occurred()) SWIG_fail
;
5206 Py_INCREF(Py_None
); resultobj
= Py_None
;
5213 static PyObject
*_wrap_Cursor_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
*resultobj
;
5215 wxCursor
*arg1
= (wxCursor
*) 0 ;
5217 PyObject
* obj0
= 0 ;
5218 PyObject
* obj1
= 0 ;
5220 (char *) "self",(char *) "h", NULL
5223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5226 arg2
= (int)SWIG_As_int(obj1
);
5227 if (PyErr_Occurred()) SWIG_fail
;
5229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5230 (arg1
)->SetHeight(arg2
);
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5235 Py_INCREF(Py_None
); resultobj
= Py_None
;
5242 static PyObject
*_wrap_Cursor_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5243 PyObject
*resultobj
;
5244 wxCursor
*arg1
= (wxCursor
*) 0 ;
5246 PyObject
* obj0
= 0 ;
5247 PyObject
* obj1
= 0 ;
5249 (char *) "self",(char *) "d", NULL
5252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5255 arg2
= (int)SWIG_As_int(obj1
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 (arg1
)->SetDepth(arg2
);
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5264 Py_INCREF(Py_None
); resultobj
= Py_None
;
5271 static PyObject
*_wrap_Cursor_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5272 PyObject
*resultobj
;
5273 wxCursor
*arg1
= (wxCursor
*) 0 ;
5276 PyObject
* obj0
= 0 ;
5277 PyObject
* obj1
= 0 ;
5279 (char *) "self",(char *) "size", NULL
5282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5287 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5291 (arg1
)->SetSize((wxSize
const &)*arg2
);
5293 wxPyEndAllowThreads(__tstate
);
5294 if (PyErr_Occurred()) SWIG_fail
;
5296 Py_INCREF(Py_None
); resultobj
= Py_None
;
5303 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
5305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5306 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
5308 return Py_BuildValue((char *)"");
5310 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
*resultobj
;
5312 int arg1
= (int) 0 ;
5313 int arg2
= (int) 0 ;
5314 int arg3
= (int) 0 ;
5315 int arg4
= (int) 0 ;
5317 PyObject
* obj0
= 0 ;
5318 PyObject
* obj1
= 0 ;
5319 PyObject
* obj2
= 0 ;
5320 PyObject
* obj3
= 0 ;
5322 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5327 arg1
= (int)SWIG_As_int(obj0
);
5328 if (PyErr_Occurred()) SWIG_fail
;
5331 arg2
= (int)SWIG_As_int(obj1
);
5332 if (PyErr_Occurred()) SWIG_fail
;
5335 arg3
= (int)SWIG_As_int(obj2
);
5336 if (PyErr_Occurred()) SWIG_fail
;
5339 arg4
= (int)SWIG_As_int(obj3
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5343 if (!wxPyCheckForApp()) SWIG_fail
;
5344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5345 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
5347 wxPyEndAllowThreads(__tstate
);
5348 if (PyErr_Occurred()) SWIG_fail
;
5350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5357 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5358 PyObject
*resultobj
;
5359 wxBitmap
*arg1
= 0 ;
5361 PyObject
* obj0
= 0 ;
5363 (char *) "bmp", NULL
5366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
5367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5368 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5371 PyErr_SetString(PyExc_TypeError
,"null reference");
5375 if (!wxPyCheckForApp()) SWIG_fail
;
5376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5377 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
5379 wxPyEndAllowThreads(__tstate
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5389 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5390 PyObject
*resultobj
;
5391 wxBitmap
*arg1
= 0 ;
5392 wxColour
*arg2
= 0 ;
5393 int arg3
= (int) 0 ;
5396 PyObject
* obj0
= 0 ;
5397 PyObject
* obj1
= 0 ;
5398 PyObject
* obj2
= 0 ;
5400 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5405 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5408 PyErr_SetString(PyExc_TypeError
,"null reference");
5413 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5416 arg3
= (int)SWIG_As_int(obj2
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5420 if (!wxPyCheckForApp()) SWIG_fail
;
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5434 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
*resultobj
;
5437 wxPoint
*arg2
= (wxPoint
*) 0 ;
5438 int arg3
= (int) wxWINDING_RULE
;
5440 PyObject
* obj0
= 0 ;
5441 PyObject
* obj1
= 0 ;
5443 (char *) "points",(char *) "fillStyle", NULL
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
5448 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
5449 if (arg2
== NULL
) SWIG_fail
;
5452 arg3
= (int)SWIG_As_int(obj1
);
5453 if (PyErr_Occurred()) SWIG_fail
;
5456 if (!wxPyCheckForApp()) SWIG_fail
;
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5465 if (arg2
) delete [] arg2
;
5470 if (arg2
) delete [] arg2
;
5476 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5477 PyObject
*resultobj
;
5478 wxRegion
*arg1
= (wxRegion
*) 0 ;
5479 PyObject
* obj0
= 0 ;
5481 (char *) "self", NULL
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
5485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 wxPyEndAllowThreads(__tstate
);
5492 if (PyErr_Occurred()) SWIG_fail
;
5494 Py_INCREF(Py_None
); resultobj
= Py_None
;
5501 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5502 PyObject
*resultobj
;
5503 wxRegion
*arg1
= (wxRegion
*) 0 ;
5504 PyObject
* obj0
= 0 ;
5506 (char *) "self", NULL
5509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
5510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5516 wxPyEndAllowThreads(__tstate
);
5517 if (PyErr_Occurred()) SWIG_fail
;
5519 Py_INCREF(Py_None
); resultobj
= Py_None
;
5526 static PyObject
*_wrap_Region_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5527 PyObject
*resultobj
;
5528 wxRegion
*arg1
= (wxRegion
*) 0 ;
5532 PyObject
* obj0
= 0 ;
5533 PyObject
* obj1
= 0 ;
5534 PyObject
* obj2
= 0 ;
5536 (char *) "self",(char *) "x",(char *) "y", NULL
5539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5542 arg2
= (int)SWIG_As_int(obj1
);
5543 if (PyErr_Occurred()) SWIG_fail
;
5544 arg3
= (int)SWIG_As_int(obj2
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5562 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
;
5564 wxRegion
*arg1
= (wxRegion
*) 0 ;
5568 PyObject
* obj0
= 0 ;
5569 PyObject
* obj1
= 0 ;
5570 PyObject
* obj2
= 0 ;
5572 (char *) "self",(char *) "x",(char *) "y", NULL
5575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5578 arg2
= (int)SWIG_As_int(obj1
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5580 arg3
= (int)SWIG_As_int(obj2
);
5581 if (PyErr_Occurred()) SWIG_fail
;
5583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5584 result
= (int)(arg1
)->Contains(arg2
,arg3
);
5586 wxPyEndAllowThreads(__tstate
);
5587 if (PyErr_Occurred()) SWIG_fail
;
5589 resultobj
= SWIG_From_int((int)result
);
5596 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5597 PyObject
*resultobj
;
5598 wxRegion
*arg1
= (wxRegion
*) 0 ;
5602 PyObject
* obj0
= 0 ;
5603 PyObject
* obj1
= 0 ;
5605 (char *) "self",(char *) "pt", NULL
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
5609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5613 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5622 resultobj
= SWIG_From_int((int)result
);
5629 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
*resultobj
;
5631 wxRegion
*arg1
= (wxRegion
*) 0 ;
5635 PyObject
* obj0
= 0 ;
5636 PyObject
* obj1
= 0 ;
5638 (char *) "self",(char *) "rect", NULL
5641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5646 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
5652 wxPyEndAllowThreads(__tstate
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5655 resultobj
= SWIG_From_int((int)result
);
5662 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
*resultobj
;
5664 wxRegion
*arg1
= (wxRegion
*) 0 ;
5670 PyObject
* obj0
= 0 ;
5671 PyObject
* obj1
= 0 ;
5672 PyObject
* obj2
= 0 ;
5673 PyObject
* obj3
= 0 ;
5674 PyObject
* obj4
= 0 ;
5676 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5682 arg2
= (int)SWIG_As_int(obj1
);
5683 if (PyErr_Occurred()) SWIG_fail
;
5684 arg3
= (int)SWIG_As_int(obj2
);
5685 if (PyErr_Occurred()) SWIG_fail
;
5686 arg4
= (int)SWIG_As_int(obj3
);
5687 if (PyErr_Occurred()) SWIG_fail
;
5688 arg5
= (int)SWIG_As_int(obj4
);
5689 if (PyErr_Occurred()) SWIG_fail
;
5691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5692 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5694 wxPyEndAllowThreads(__tstate
);
5695 if (PyErr_Occurred()) SWIG_fail
;
5697 resultobj
= SWIG_From_int((int)result
);
5704 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5705 PyObject
*resultobj
;
5706 wxRegion
*arg1
= (wxRegion
*) 0 ;
5708 PyObject
* obj0
= 0 ;
5710 (char *) "self", NULL
5713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5718 result
= (arg1
)->GetBox();
5720 wxPyEndAllowThreads(__tstate
);
5721 if (PyErr_Occurred()) SWIG_fail
;
5725 resultptr
= new wxRect((wxRect
&) result
);
5726 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5734 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5735 PyObject
*resultobj
;
5736 wxRegion
*arg1
= (wxRegion
*) 0 ;
5742 PyObject
* obj0
= 0 ;
5743 PyObject
* obj1
= 0 ;
5744 PyObject
* obj2
= 0 ;
5745 PyObject
* obj3
= 0 ;
5746 PyObject
* obj4
= 0 ;
5748 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5754 arg2
= (int)SWIG_As_int(obj1
);
5755 if (PyErr_Occurred()) SWIG_fail
;
5756 arg3
= (int)SWIG_As_int(obj2
);
5757 if (PyErr_Occurred()) SWIG_fail
;
5758 arg4
= (int)SWIG_As_int(obj3
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5760 arg5
= (int)SWIG_As_int(obj4
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5764 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5766 wxPyEndAllowThreads(__tstate
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5778 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5779 PyObject
*resultobj
;
5780 wxRegion
*arg1
= (wxRegion
*) 0 ;
5784 PyObject
* obj0
= 0 ;
5785 PyObject
* obj1
= 0 ;
5787 (char *) "self",(char *) "rect", NULL
5790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5795 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5813 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
;
5815 wxRegion
*arg1
= (wxRegion
*) 0 ;
5816 wxRegion
*arg2
= 0 ;
5818 PyObject
* obj0
= 0 ;
5819 PyObject
* obj1
= 0 ;
5821 (char *) "self",(char *) "region", NULL
5824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5828 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5831 PyErr_SetString(PyExc_TypeError
,"null reference");
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5838 wxPyEndAllowThreads(__tstate
);
5839 if (PyErr_Occurred()) SWIG_fail
;
5842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5850 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5851 PyObject
*resultobj
;
5852 wxRegion
*arg1
= (wxRegion
*) 0 ;
5854 PyObject
* obj0
= 0 ;
5856 (char *) "self", NULL
5859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5864 result
= (bool)(arg1
)->IsEmpty();
5866 wxPyEndAllowThreads(__tstate
);
5867 if (PyErr_Occurred()) SWIG_fail
;
5870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5878 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
*resultobj
;
5880 wxRegion
*arg1
= (wxRegion
*) 0 ;
5886 PyObject
* obj0
= 0 ;
5887 PyObject
* obj1
= 0 ;
5888 PyObject
* obj2
= 0 ;
5889 PyObject
* obj3
= 0 ;
5890 PyObject
* obj4
= 0 ;
5892 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5898 arg2
= (int)SWIG_As_int(obj1
);
5899 if (PyErr_Occurred()) SWIG_fail
;
5900 arg3
= (int)SWIG_As_int(obj2
);
5901 if (PyErr_Occurred()) SWIG_fail
;
5902 arg4
= (int)SWIG_As_int(obj3
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5904 arg5
= (int)SWIG_As_int(obj4
);
5905 if (PyErr_Occurred()) SWIG_fail
;
5907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5908 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5922 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5923 PyObject
*resultobj
;
5924 wxRegion
*arg1
= (wxRegion
*) 0 ;
5928 PyObject
* obj0
= 0 ;
5929 PyObject
* obj1
= 0 ;
5931 (char *) "self",(char *) "rect", NULL
5934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5939 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5957 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5958 PyObject
*resultobj
;
5959 wxRegion
*arg1
= (wxRegion
*) 0 ;
5960 wxRegion
*arg2
= 0 ;
5962 PyObject
* obj0
= 0 ;
5963 PyObject
* obj1
= 0 ;
5965 (char *) "self",(char *) "region", NULL
5968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5971 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5972 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5975 PyErr_SetString(PyExc_TypeError
,"null reference");
5979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5980 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5982 wxPyEndAllowThreads(__tstate
);
5983 if (PyErr_Occurred()) SWIG_fail
;
5986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5994 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
*resultobj
;
5996 wxRegion
*arg1
= (wxRegion
*) 0 ;
6002 PyObject
* obj0
= 0 ;
6003 PyObject
* obj1
= 0 ;
6004 PyObject
* obj2
= 0 ;
6005 PyObject
* obj3
= 0 ;
6006 PyObject
* obj4
= 0 ;
6008 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6014 arg2
= (int)SWIG_As_int(obj1
);
6015 if (PyErr_Occurred()) SWIG_fail
;
6016 arg3
= (int)SWIG_As_int(obj2
);
6017 if (PyErr_Occurred()) SWIG_fail
;
6018 arg4
= (int)SWIG_As_int(obj3
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6020 arg5
= (int)SWIG_As_int(obj4
);
6021 if (PyErr_Occurred()) SWIG_fail
;
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6038 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6039 PyObject
*resultobj
;
6040 wxRegion
*arg1
= (wxRegion
*) 0 ;
6044 PyObject
* obj0
= 0 ;
6045 PyObject
* obj1
= 0 ;
6047 (char *) "self",(char *) "rect", NULL
6050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6055 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6059 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6073 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
*resultobj
;
6075 wxRegion
*arg1
= (wxRegion
*) 0 ;
6076 wxRegion
*arg2
= 0 ;
6078 PyObject
* obj0
= 0 ;
6079 PyObject
* obj1
= 0 ;
6081 (char *) "self",(char *) "region", NULL
6084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6087 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
6088 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6091 PyErr_SetString(PyExc_TypeError
,"null reference");
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6110 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6111 PyObject
*resultobj
;
6112 wxRegion
*arg1
= (wxRegion
*) 0 ;
6118 PyObject
* obj0
= 0 ;
6119 PyObject
* obj1
= 0 ;
6120 PyObject
* obj2
= 0 ;
6121 PyObject
* obj3
= 0 ;
6122 PyObject
* obj4
= 0 ;
6124 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6130 arg2
= (int)SWIG_As_int(obj1
);
6131 if (PyErr_Occurred()) SWIG_fail
;
6132 arg3
= (int)SWIG_As_int(obj2
);
6133 if (PyErr_Occurred()) SWIG_fail
;
6134 arg4
= (int)SWIG_As_int(obj3
);
6135 if (PyErr_Occurred()) SWIG_fail
;
6136 arg5
= (int)SWIG_As_int(obj4
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6140 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
6142 wxPyEndAllowThreads(__tstate
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6154 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6155 PyObject
*resultobj
;
6156 wxRegion
*arg1
= (wxRegion
*) 0 ;
6160 PyObject
* obj0
= 0 ;
6161 PyObject
* obj1
= 0 ;
6163 (char *) "self",(char *) "rect", NULL
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6171 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) SWIG_fail
;
6181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6189 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6190 PyObject
*resultobj
;
6191 wxRegion
*arg1
= (wxRegion
*) 0 ;
6192 wxRegion
*arg2
= 0 ;
6194 PyObject
* obj0
= 0 ;
6195 PyObject
* obj1
= 0 ;
6197 (char *) "self",(char *) "region", NULL
6200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
6204 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6207 PyErr_SetString(PyExc_TypeError
,"null reference");
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6212 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6226 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
*resultobj
;
6228 wxRegion
*arg1
= (wxRegion
*) 0 ;
6229 SwigValueWrapper
< wxBitmap
> result
;
6230 PyObject
* obj0
= 0 ;
6232 (char *) "self", NULL
6235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
6236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 result
= (arg1
)->ConvertToBitmap();
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6246 wxBitmap
* resultptr
;
6247 resultptr
= new wxBitmap((wxBitmap
&) result
);
6248 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6256 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
*resultobj
;
6258 wxRegion
*arg1
= (wxRegion
*) 0 ;
6259 wxBitmap
*arg2
= 0 ;
6261 PyObject
* obj0
= 0 ;
6262 PyObject
* obj1
= 0 ;
6264 (char *) "self",(char *) "bmp", NULL
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6270 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
6271 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6274 PyErr_SetString(PyExc_TypeError
,"null reference");
6278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6279 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
6281 wxPyEndAllowThreads(__tstate
);
6282 if (PyErr_Occurred()) SWIG_fail
;
6285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6293 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6294 PyObject
*resultobj
;
6295 wxRegion
*arg1
= (wxRegion
*) 0 ;
6296 wxBitmap
*arg2
= 0 ;
6297 wxColour
*arg3
= 0 ;
6298 int arg4
= (int) 0 ;
6301 PyObject
* obj0
= 0 ;
6302 PyObject
* obj1
= 0 ;
6303 PyObject
* obj2
= 0 ;
6304 PyObject
* obj3
= 0 ;
6306 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
6309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
6313 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6316 PyErr_SetString(PyExc_TypeError
,"null reference");
6321 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6324 arg4
= (int)SWIG_As_int(obj3
);
6325 if (PyErr_Occurred()) SWIG_fail
;
6328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
6331 wxPyEndAllowThreads(__tstate
);
6332 if (PyErr_Occurred()) SWIG_fail
;
6335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6343 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
6345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6346 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
6348 return Py_BuildValue((char *)"");
6350 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6351 PyObject
*resultobj
;
6352 wxRegion
*arg1
= 0 ;
6353 wxRegionIterator
*result
;
6354 PyObject
* obj0
= 0 ;
6356 (char *) "region", NULL
6359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
6360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6361 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6364 PyErr_SetString(PyExc_TypeError
,"null reference");
6368 if (!wxPyCheckForApp()) SWIG_fail
;
6369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6370 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
6382 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6383 PyObject
*resultobj
;
6384 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6385 PyObject
* obj0
= 0 ;
6387 (char *) "self", NULL
6390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
6391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6397 wxPyEndAllowThreads(__tstate
);
6398 if (PyErr_Occurred()) SWIG_fail
;
6400 Py_INCREF(Py_None
); resultobj
= Py_None
;
6407 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6408 PyObject
*resultobj
;
6409 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6411 PyObject
* obj0
= 0 ;
6413 (char *) "self", NULL
6416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
6417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 result
= (int)(arg1
)->GetX();
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6426 resultobj
= SWIG_From_int((int)result
);
6433 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
*resultobj
;
6435 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6437 PyObject
* obj0
= 0 ;
6439 (char *) "self", NULL
6442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",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();
6447 result
= (int)(arg1
)->GetY();
6449 wxPyEndAllowThreads(__tstate
);
6450 if (PyErr_Occurred()) SWIG_fail
;
6452 resultobj
= SWIG_From_int((int)result
);
6459 static PyObject
*_wrap_RegionIterator_GetW(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_GetW",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
)->GetW();
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6478 resultobj
= SWIG_From_int((int)result
);
6485 static PyObject
*_wrap_RegionIterator_GetWidth(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_GetWidth",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
)->GetWidth();
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= SWIG_From_int((int)result
);
6511 static PyObject
*_wrap_RegionIterator_GetH(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_GetH",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
)->GetH();
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6530 resultobj
= SWIG_From_int((int)result
);
6537 static PyObject
*_wrap_RegionIterator_GetHeight(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_GetHeight",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
)->GetHeight();
6553 wxPyEndAllowThreads(__tstate
);
6554 if (PyErr_Occurred()) SWIG_fail
;
6556 resultobj
= SWIG_From_int((int)result
);
6563 static PyObject
*_wrap_RegionIterator_GetRect(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_GetRect",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
= (arg1
)->GetRect();
6579 wxPyEndAllowThreads(__tstate
);
6580 if (PyErr_Occurred()) SWIG_fail
;
6584 resultptr
= new wxRect((wxRect
&) result
);
6585 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6593 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
*resultobj
;
6595 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6597 PyObject
* obj0
= 0 ;
6599 (char *) "self", NULL
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
6603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 result
= (bool)(arg1
)->HaveRects();
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) SWIG_fail
;
6613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6621 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6622 PyObject
*resultobj
;
6623 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6624 PyObject
* obj0
= 0 ;
6626 (char *) "self", NULL
6629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
6630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 wxPyEndAllowThreads(__tstate
);
6637 if (PyErr_Occurred()) SWIG_fail
;
6639 Py_INCREF(Py_None
); resultobj
= Py_None
;
6646 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6647 PyObject
*resultobj
;
6648 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6649 PyObject
* obj0
= 0 ;
6651 (char *) "self", NULL
6654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",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 wxRegionIterator_Next(arg1
);
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6664 Py_INCREF(Py_None
); resultobj
= Py_None
;
6671 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
*resultobj
;
6673 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6675 PyObject
* obj0
= 0 ;
6677 (char *) "self", NULL
6680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
6681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 result
= (bool)wxRegionIterator___nonzero__(arg1
);
6687 wxPyEndAllowThreads(__tstate
);
6688 if (PyErr_Occurred()) SWIG_fail
;
6691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6699 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
6701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6702 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6704 return Py_BuildValue((char *)"");
6706 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6707 PyObject
*resultobj
;
6708 wxNativeFontInfo
*result
;
6713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6716 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6718 wxPyEndAllowThreads(__tstate
);
6719 if (PyErr_Occurred()) SWIG_fail
;
6721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6728 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6729 PyObject
*resultobj
;
6730 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6731 PyObject
* obj0
= 0 ;
6733 (char *) "self", NULL
6736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6743 wxPyEndAllowThreads(__tstate
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6746 Py_INCREF(Py_None
); resultobj
= Py_None
;
6753 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6754 PyObject
*resultobj
;
6755 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6756 PyObject
* obj0
= 0 ;
6758 (char *) "self", NULL
6761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6768 wxPyEndAllowThreads(__tstate
);
6769 if (PyErr_Occurred()) SWIG_fail
;
6771 Py_INCREF(Py_None
); resultobj
= Py_None
;
6778 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
*resultobj
;
6780 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6782 PyObject
* obj0
= 0 ;
6783 PyObject
* obj1
= 0 ;
6785 (char *) "self",(char *) "font", NULL
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6792 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6795 PyErr_SetString(PyExc_TypeError
,"null reference");
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6805 Py_INCREF(Py_None
); resultobj
= Py_None
;
6812 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
*resultobj
;
6814 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6816 PyObject
* obj0
= 0 ;
6818 (char *) "self", NULL
6821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6826 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6828 wxPyEndAllowThreads(__tstate
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6831 resultobj
= SWIG_From_int((int)result
);
6838 static PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
*resultobj
;
6840 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6842 PyObject
* obj0
= 0 ;
6844 (char *) "self", NULL
6847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPixelSize",kwnames
,&obj0
)) goto fail
;
6848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) SWIG_fail
;
6859 resultptr
= new wxSize((wxSize
&) result
);
6860 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
6868 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6869 PyObject
*resultobj
;
6870 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6872 PyObject
* obj0
= 0 ;
6874 (char *) "self", NULL
6877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6884 wxPyEndAllowThreads(__tstate
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6887 resultobj
= SWIG_From_int((int)result
);
6894 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6895 PyObject
*resultobj
;
6896 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6898 PyObject
* obj0
= 0 ;
6900 (char *) "self", NULL
6903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6908 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6910 wxPyEndAllowThreads(__tstate
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6913 resultobj
= SWIG_From_int((int)result
);
6920 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(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_GetUnderlined",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
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6936 wxPyEndAllowThreads(__tstate
);
6937 if (PyErr_Occurred()) SWIG_fail
;
6940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6948 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
*resultobj
;
6950 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6952 PyObject
* obj0
= 0 ;
6954 (char *) "self", NULL
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6962 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6964 wxPyEndAllowThreads(__tstate
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6969 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6971 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6980 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6981 PyObject
*resultobj
;
6982 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6984 PyObject
* obj0
= 0 ;
6986 (char *) "self", NULL
6989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6994 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6996 wxPyEndAllowThreads(__tstate
);
6997 if (PyErr_Occurred()) SWIG_fail
;
6999 resultobj
= SWIG_From_int((int)result
);
7006 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7007 PyObject
*resultobj
;
7008 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7010 PyObject
* obj0
= 0 ;
7012 (char *) "self", NULL
7015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
7016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7020 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
7022 wxPyEndAllowThreads(__tstate
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= SWIG_From_int((int)result
);
7032 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7033 PyObject
*resultobj
;
7034 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7036 PyObject
* obj0
= 0 ;
7037 PyObject
* obj1
= 0 ;
7039 (char *) "self",(char *) "pointsize", NULL
7042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7045 arg2
= (int)SWIG_As_int(obj1
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 (arg1
)->SetPointSize(arg2
);
7051 wxPyEndAllowThreads(__tstate
);
7052 if (PyErr_Occurred()) SWIG_fail
;
7054 Py_INCREF(Py_None
); resultobj
= Py_None
;
7061 static PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7062 PyObject
*resultobj
;
7063 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7066 PyObject
* obj0
= 0 ;
7067 PyObject
* obj1
= 0 ;
7069 (char *) "self",(char *) "pixelSize", NULL
7072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7077 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7081 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
7083 wxPyEndAllowThreads(__tstate
);
7084 if (PyErr_Occurred()) SWIG_fail
;
7086 Py_INCREF(Py_None
); resultobj
= Py_None
;
7093 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7094 PyObject
*resultobj
;
7095 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7097 PyObject
* obj0
= 0 ;
7098 PyObject
* obj1
= 0 ;
7100 (char *) "self",(char *) "style", NULL
7103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7106 arg2
= (int)SWIG_As_int(obj1
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 (arg1
)->SetStyle((wxFontStyle
)arg2
);
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7115 Py_INCREF(Py_None
); resultobj
= Py_None
;
7122 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
;
7124 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7126 PyObject
* obj0
= 0 ;
7127 PyObject
* obj1
= 0 ;
7129 (char *) "self",(char *) "weight", NULL
7132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7135 arg2
= (int)SWIG_As_int(obj1
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 (arg1
)->SetWeight((wxFontWeight
)arg2
);
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7144 Py_INCREF(Py_None
); resultobj
= Py_None
;
7151 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7152 PyObject
*resultobj
;
7153 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7155 PyObject
* obj0
= 0 ;
7156 PyObject
* obj1
= 0 ;
7158 (char *) "self",(char *) "underlined", NULL
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
7162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7164 arg2
= (bool)SWIG_As_bool(obj1
);
7165 if (PyErr_Occurred()) SWIG_fail
;
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 (arg1
)->SetUnderlined(arg2
);
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7173 Py_INCREF(Py_None
); resultobj
= Py_None
;
7180 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7181 PyObject
*resultobj
;
7182 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7184 PyObject
* obj0
= 0 ;
7185 PyObject
* obj1
= 0 ;
7187 (char *) "self",(char *) "facename", NULL
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
7191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7194 wxString
* sptr
= wxString_in_helper(obj1
);
7195 if (sptr
== NULL
) SWIG_fail
;
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 (arg1
)->SetFaceName(arg2
);
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7206 Py_INCREF(Py_None
); resultobj
= Py_None
;
7213 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7214 PyObject
*resultobj
;
7215 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7217 PyObject
* obj0
= 0 ;
7218 PyObject
* obj1
= 0 ;
7220 (char *) "self",(char *) "family", NULL
7223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
7224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7226 arg2
= (int)SWIG_As_int(obj1
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 (arg1
)->SetFamily((wxFontFamily
)arg2
);
7232 wxPyEndAllowThreads(__tstate
);
7233 if (PyErr_Occurred()) SWIG_fail
;
7235 Py_INCREF(Py_None
); resultobj
= Py_None
;
7242 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7243 PyObject
*resultobj
;
7244 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7246 PyObject
* obj0
= 0 ;
7247 PyObject
* obj1
= 0 ;
7249 (char *) "self",(char *) "encoding", NULL
7252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
7253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7255 arg2
= (int)SWIG_As_int(obj1
);
7256 if (PyErr_Occurred()) SWIG_fail
;
7258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
7261 wxPyEndAllowThreads(__tstate
);
7262 if (PyErr_Occurred()) SWIG_fail
;
7264 Py_INCREF(Py_None
); resultobj
= Py_None
;
7271 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
*resultobj
;
7273 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7274 wxString
*arg2
= 0 ;
7276 bool temp2
= false ;
7277 PyObject
* obj0
= 0 ;
7278 PyObject
* obj1
= 0 ;
7280 (char *) "self",(char *) "s", NULL
7283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7287 arg2
= wxString_in_helper(obj1
);
7288 if (arg2
== NULL
) SWIG_fail
;
7292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7293 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7295 wxPyEndAllowThreads(__tstate
);
7296 if (PyErr_Occurred()) SWIG_fail
;
7299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7315 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
*resultobj
;
7317 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7319 PyObject
* obj0
= 0 ;
7321 (char *) "self", NULL
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
7325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7329 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
7331 wxPyEndAllowThreads(__tstate
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7336 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7338 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7347 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7348 PyObject
*resultobj
;
7349 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7351 PyObject
* obj0
= 0 ;
7353 (char *) "self", NULL
7356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
7357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7361 result
= wxNativeFontInfo___str__(arg1
);
7363 wxPyEndAllowThreads(__tstate
);
7364 if (PyErr_Occurred()) SWIG_fail
;
7368 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7370 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7379 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
*resultobj
;
7381 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7382 wxString
*arg2
= 0 ;
7384 bool temp2
= false ;
7385 PyObject
* obj0
= 0 ;
7386 PyObject
* obj1
= 0 ;
7388 (char *) "self",(char *) "s", NULL
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
7392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7395 arg2
= wxString_in_helper(obj1
);
7396 if (arg2
== NULL
) SWIG_fail
;
7400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7401 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
7403 wxPyEndAllowThreads(__tstate
);
7404 if (PyErr_Occurred()) SWIG_fail
;
7407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7423 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7424 PyObject
*resultobj
;
7425 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7427 PyObject
* obj0
= 0 ;
7429 (char *) "self", NULL
7432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
7433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7437 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
7439 wxPyEndAllowThreads(__tstate
);
7440 if (PyErr_Occurred()) SWIG_fail
;
7444 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7446 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7455 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
7457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7458 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
7460 return Py_BuildValue((char *)"");
7462 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
*resultobj
;
7464 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7465 wxString
*arg2
= (wxString
*) 0 ;
7466 bool temp2
= false ;
7467 PyObject
* obj0
= 0 ;
7468 PyObject
* obj1
= 0 ;
7470 (char *) "self",(char *) "facename", NULL
7473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7477 arg2
= wxString_in_helper(obj1
);
7478 if (arg2
== NULL
) SWIG_fail
;
7481 if (arg1
) (arg1
)->facename
= *arg2
;
7483 Py_INCREF(Py_None
); resultobj
= Py_None
;
7498 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
*resultobj
;
7500 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7502 PyObject
* obj0
= 0 ;
7504 (char *) "self", NULL
7507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
7508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7510 result
= (wxString
*)& ((arg1
)->facename
);
7514 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7516 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7525 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7526 PyObject
*resultobj
;
7527 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7529 PyObject
* obj0
= 0 ;
7530 PyObject
* obj1
= 0 ;
7532 (char *) "self",(char *) "encoding", NULL
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7538 arg2
= (int)SWIG_As_int(obj1
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7540 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
7542 Py_INCREF(Py_None
); resultobj
= Py_None
;
7549 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
*resultobj
;
7551 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7553 PyObject
* obj0
= 0 ;
7555 (char *) "self", NULL
7558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
7559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7561 result
= (int) ((arg1
)->encoding
);
7563 resultobj
= SWIG_From_int((int)result
);
7570 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7571 PyObject
*resultobj
;
7572 wxNativeEncodingInfo
*result
;
7577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
7579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
7592 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
;
7594 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7595 PyObject
* obj0
= 0 ;
7597 (char *) "self", NULL
7600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
7601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7607 wxPyEndAllowThreads(__tstate
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7610 Py_INCREF(Py_None
); resultobj
= Py_None
;
7617 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7618 PyObject
*resultobj
;
7619 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7620 wxString
*arg2
= 0 ;
7622 bool temp2
= false ;
7623 PyObject
* obj0
= 0 ;
7624 PyObject
* obj1
= 0 ;
7626 (char *) "self",(char *) "s", NULL
7629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7633 arg2
= wxString_in_helper(obj1
);
7634 if (arg2
== NULL
) SWIG_fail
;
7638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7639 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7641 wxPyEndAllowThreads(__tstate
);
7642 if (PyErr_Occurred()) SWIG_fail
;
7645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7661 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
*resultobj
;
7663 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7665 PyObject
* obj0
= 0 ;
7667 (char *) "self", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
7671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7682 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7684 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7693 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
7695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7696 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
7698 return Py_BuildValue((char *)"");
7700 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
*resultobj
;
7703 wxNativeEncodingInfo
*result
;
7704 PyObject
* obj0
= 0 ;
7706 (char *) "encoding", NULL
7709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
7710 arg1
= (int)SWIG_As_int(obj0
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7714 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
7726 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7727 PyObject
*resultobj
;
7728 wxNativeEncodingInfo
*arg1
= 0 ;
7730 PyObject
* obj0
= 0 ;
7732 (char *) "info", NULL
7735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
7736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7737 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7740 PyErr_SetString(PyExc_TypeError
,"null reference");
7744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7745 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
7747 wxPyEndAllowThreads(__tstate
);
7748 if (PyErr_Occurred()) SWIG_fail
;
7751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7759 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7760 PyObject
*resultobj
;
7761 wxFontMapper
*result
;
7766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7769 result
= (wxFontMapper
*)new wxFontMapper();
7771 wxPyEndAllowThreads(__tstate
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7781 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
*resultobj
;
7783 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7784 PyObject
* obj0
= 0 ;
7786 (char *) "self", NULL
7789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) SWIG_fail
;
7799 Py_INCREF(Py_None
); resultobj
= Py_None
;
7806 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7808 wxFontMapper
*result
;
7813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7816 result
= (wxFontMapper
*)wxFontMapper::Get();
7818 wxPyEndAllowThreads(__tstate
);
7819 if (PyErr_Occurred()) SWIG_fail
;
7821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7828 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7829 PyObject
*resultobj
;
7830 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7831 wxFontMapper
*result
;
7832 PyObject
* obj0
= 0 ;
7834 (char *) "mapper", NULL
7837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7842 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7844 wxPyEndAllowThreads(__tstate
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7854 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
*resultobj
;
7856 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7857 wxString
*arg2
= 0 ;
7858 bool arg3
= (bool) true ;
7860 bool temp2
= false ;
7861 PyObject
* obj0
= 0 ;
7862 PyObject
* obj1
= 0 ;
7863 PyObject
* obj2
= 0 ;
7865 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7872 arg2
= wxString_in_helper(obj1
);
7873 if (arg2
== NULL
) SWIG_fail
;
7877 arg3
= (bool)SWIG_As_bool(obj2
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7882 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7884 wxPyEndAllowThreads(__tstate
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7887 resultobj
= SWIG_From_int((int)result
);
7902 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
*resultobj
;
7909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7912 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7914 wxPyEndAllowThreads(__tstate
);
7915 if (PyErr_Occurred()) SWIG_fail
;
7917 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7924 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7925 PyObject
*resultobj
;
7928 PyObject
* obj0
= 0 ;
7933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7934 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
7935 if (PyErr_Occurred()) SWIG_fail
;
7937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 result
= (int)wxFontMapper::GetEncoding(arg1
);
7940 wxPyEndAllowThreads(__tstate
);
7941 if (PyErr_Occurred()) SWIG_fail
;
7943 resultobj
= SWIG_From_int((int)result
);
7950 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7951 PyObject
*resultobj
;
7954 PyObject
* obj0
= 0 ;
7956 (char *) "encoding", NULL
7959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7960 arg1
= (int)SWIG_As_int(obj0
);
7961 if (PyErr_Occurred()) SWIG_fail
;
7963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7964 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7966 wxPyEndAllowThreads(__tstate
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7971 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7973 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7982 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
*resultobj
;
7986 PyObject
* obj0
= 0 ;
7988 (char *) "encoding", NULL
7991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7992 arg1
= (int)SWIG_As_int(obj0
);
7993 if (PyErr_Occurred()) SWIG_fail
;
7995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7996 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7998 wxPyEndAllowThreads(__tstate
);
7999 if (PyErr_Occurred()) SWIG_fail
;
8003 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8005 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8014 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8015 PyObject
*resultobj
;
8016 wxString
*arg1
= 0 ;
8018 bool temp1
= false ;
8019 PyObject
* obj0
= 0 ;
8021 (char *) "name", NULL
8024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
8026 arg1
= wxString_in_helper(obj0
);
8027 if (arg1
== NULL
) SWIG_fail
;
8031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8032 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
8034 wxPyEndAllowThreads(__tstate
);
8035 if (PyErr_Occurred()) SWIG_fail
;
8037 resultobj
= SWIG_From_int((int)result
);
8052 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
*resultobj
;
8054 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8055 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
8056 PyObject
* obj0
= 0 ;
8057 PyObject
* obj1
= 0 ;
8059 (char *) "self",(char *) "config", NULL
8062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
8063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
8066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8069 (arg1
)->SetConfig(arg2
);
8071 wxPyEndAllowThreads(__tstate
);
8072 if (PyErr_Occurred()) SWIG_fail
;
8074 Py_INCREF(Py_None
); resultobj
= Py_None
;
8081 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
*resultobj
;
8083 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8084 wxString
*arg2
= 0 ;
8085 bool temp2
= false ;
8086 PyObject
* obj0
= 0 ;
8087 PyObject
* obj1
= 0 ;
8089 (char *) "self",(char *) "prefix", NULL
8092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
8093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8096 arg2
= wxString_in_helper(obj1
);
8097 if (arg2
== NULL
) SWIG_fail
;
8101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8102 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8107 Py_INCREF(Py_None
); resultobj
= Py_None
;
8122 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8123 PyObject
*resultobj
;
8129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
8131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8132 result
= wxFontMapper::GetDefaultConfigPath();
8134 wxPyEndAllowThreads(__tstate
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8139 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8141 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8150 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
*resultobj
;
8152 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8154 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8155 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8156 bool arg4
= (bool) true ;
8158 bool temp3
= false ;
8159 PyObject
* obj0
= 0 ;
8160 PyObject
* obj1
= 0 ;
8161 PyObject
* obj2
= 0 ;
8162 PyObject
* obj3
= 0 ;
8164 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
8167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8170 arg2
= (int)SWIG_As_int(obj1
);
8171 if (PyErr_Occurred()) SWIG_fail
;
8174 arg3
= wxString_in_helper(obj2
);
8175 if (arg3
== NULL
) SWIG_fail
;
8180 arg4
= (bool)SWIG_As_bool(obj3
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8185 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
8187 wxPyEndAllowThreads(__tstate
);
8188 if (PyErr_Occurred()) SWIG_fail
;
8205 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8206 PyObject
*resultobj
;
8207 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8209 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8210 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8212 bool temp3
= false ;
8213 PyObject
* obj0
= 0 ;
8214 PyObject
* obj1
= 0 ;
8215 PyObject
* obj2
= 0 ;
8217 (char *) "self",(char *) "encoding",(char *) "facename", NULL
8220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8223 arg2
= (int)SWIG_As_int(obj1
);
8224 if (PyErr_Occurred()) SWIG_fail
;
8227 arg3
= wxString_in_helper(obj2
);
8228 if (arg3
== NULL
) SWIG_fail
;
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8256 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8257 PyObject
*resultobj
;
8258 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8259 wxWindow
*arg2
= (wxWindow
*) 0 ;
8260 PyObject
* obj0
= 0 ;
8261 PyObject
* obj1
= 0 ;
8263 (char *) "self",(char *) "parent", NULL
8266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
8267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8273 (arg1
)->SetDialogParent(arg2
);
8275 wxPyEndAllowThreads(__tstate
);
8276 if (PyErr_Occurred()) SWIG_fail
;
8278 Py_INCREF(Py_None
); resultobj
= Py_None
;
8285 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8286 PyObject
*resultobj
;
8287 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8288 wxString
*arg2
= 0 ;
8289 bool temp2
= false ;
8290 PyObject
* obj0
= 0 ;
8291 PyObject
* obj1
= 0 ;
8293 (char *) "self",(char *) "title", NULL
8296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
8297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8300 arg2
= wxString_in_helper(obj1
);
8301 if (arg2
== NULL
) SWIG_fail
;
8305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8306 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
8308 wxPyEndAllowThreads(__tstate
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8311 Py_INCREF(Py_None
); resultobj
= Py_None
;
8326 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
8328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8329 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
8331 return Py_BuildValue((char *)"");
8333 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8334 PyObject
*resultobj
;
8339 bool arg5
= (bool) false ;
8340 wxString
const &arg6_defvalue
= wxPyEmptyString
;
8341 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8342 int arg7
= (int) wxFONTENCODING_DEFAULT
;
8344 bool temp6
= false ;
8345 PyObject
* obj0
= 0 ;
8346 PyObject
* obj1
= 0 ;
8347 PyObject
* obj2
= 0 ;
8348 PyObject
* obj3
= 0 ;
8349 PyObject
* obj4
= 0 ;
8350 PyObject
* obj5
= 0 ;
8351 PyObject
* obj6
= 0 ;
8353 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
8356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8357 arg1
= (int)SWIG_As_int(obj0
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8359 arg2
= (int)SWIG_As_int(obj1
);
8360 if (PyErr_Occurred()) SWIG_fail
;
8361 arg3
= (int)SWIG_As_int(obj2
);
8362 if (PyErr_Occurred()) SWIG_fail
;
8363 arg4
= (int)SWIG_As_int(obj3
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8366 arg5
= (bool)SWIG_As_bool(obj4
);
8367 if (PyErr_Occurred()) SWIG_fail
;
8371 arg6
= wxString_in_helper(obj5
);
8372 if (arg6
== NULL
) SWIG_fail
;
8377 arg7
= (int)SWIG_As_int(obj6
);
8378 if (PyErr_Occurred()) SWIG_fail
;
8381 if (!wxPyCheckForApp()) SWIG_fail
;
8382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8383 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
8385 wxPyEndAllowThreads(__tstate
);
8386 if (PyErr_Occurred()) SWIG_fail
;
8388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8403 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8404 PyObject
*resultobj
;
8405 wxFont
*arg1
= (wxFont
*) 0 ;
8406 PyObject
* obj0
= 0 ;
8408 (char *) "self", NULL
8411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
8412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 wxPyEndAllowThreads(__tstate
);
8419 if (PyErr_Occurred()) SWIG_fail
;
8421 Py_INCREF(Py_None
); resultobj
= Py_None
;
8428 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
*resultobj
;
8430 wxNativeFontInfo
*arg1
= 0 ;
8432 PyObject
* obj0
= 0 ;
8434 (char *) "info", NULL
8437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
8438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
8439 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8442 PyErr_SetString(PyExc_TypeError
,"null reference");
8446 if (!wxPyCheckForApp()) SWIG_fail
;
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8460 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
*resultobj
;
8462 wxString
*arg1
= 0 ;
8464 bool temp1
= false ;
8465 PyObject
* obj0
= 0 ;
8467 (char *) "info", NULL
8470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
8472 arg1
= wxString_in_helper(obj0
);
8473 if (arg1
== NULL
) SWIG_fail
;
8477 if (!wxPyCheckForApp()) SWIG_fail
;
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
8481 wxPyEndAllowThreads(__tstate
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8499 static PyObject
*_wrap_new_Font2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8500 PyObject
*resultobj
;
8503 int arg3
= (int) wxFONTFLAG_DEFAULT
;
8504 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8505 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8506 int arg5
= (int) wxFONTENCODING_DEFAULT
;
8508 bool temp4
= false ;
8509 PyObject
* obj0
= 0 ;
8510 PyObject
* obj1
= 0 ;
8511 PyObject
* obj2
= 0 ;
8512 PyObject
* obj3
= 0 ;
8513 PyObject
* obj4
= 0 ;
8515 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
8518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8519 arg1
= (int)SWIG_As_int(obj0
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8521 arg2
= (int)SWIG_As_int(obj1
);
8522 if (PyErr_Occurred()) SWIG_fail
;
8524 arg3
= (int)SWIG_As_int(obj2
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8529 arg4
= wxString_in_helper(obj3
);
8530 if (arg4
== NULL
) SWIG_fail
;
8535 arg5
= (int)SWIG_As_int(obj4
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8539 if (!wxPyCheckForApp()) SWIG_fail
;
8540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8541 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
8543 wxPyEndAllowThreads(__tstate
);
8544 if (PyErr_Occurred()) SWIG_fail
;
8546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8561 static PyObject
*_wrap_new_FontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
*resultobj
;
8567 bool arg5
= (bool) false ;
8568 wxString
const &arg6_defvalue
= wxEmptyString
;
8569 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8570 int arg7
= (int) wxFONTENCODING_DEFAULT
;
8573 bool temp6
= false ;
8574 PyObject
* obj0
= 0 ;
8575 PyObject
* obj1
= 0 ;
8576 PyObject
* obj2
= 0 ;
8577 PyObject
* obj3
= 0 ;
8578 PyObject
* obj4
= 0 ;
8579 PyObject
* obj5
= 0 ;
8580 PyObject
* obj6
= 0 ;
8582 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
8585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8588 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
8590 arg2
= (int)SWIG_As_int(obj1
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8592 arg3
= (int)SWIG_As_int(obj2
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8594 arg4
= (int)SWIG_As_int(obj3
);
8595 if (PyErr_Occurred()) SWIG_fail
;
8597 arg5
= (bool)SWIG_As_bool(obj4
);
8598 if (PyErr_Occurred()) SWIG_fail
;
8602 arg6
= wxString_in_helper(obj5
);
8603 if (arg6
== NULL
) SWIG_fail
;
8608 arg7
= (int)SWIG_As_int(obj6
);
8609 if (PyErr_Occurred()) SWIG_fail
;
8612 if (!wxPyCheckForApp()) SWIG_fail
;
8613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8614 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
8616 wxPyEndAllowThreads(__tstate
);
8617 if (PyErr_Occurred()) SWIG_fail
;
8619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8634 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8635 PyObject
*resultobj
;
8636 wxFont
*arg1
= (wxFont
*) 0 ;
8638 PyObject
* obj0
= 0 ;
8640 (char *) "self", NULL
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
8644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8648 result
= (bool)((wxFont
const *)arg1
)->Ok();
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8662 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8663 PyObject
*resultobj
;
8664 wxFont
*arg1
= (wxFont
*) 0 ;
8665 wxFont
*arg2
= (wxFont
*) 0 ;
8667 PyObject
* obj0
= 0 ;
8668 PyObject
* obj1
= 0 ;
8670 (char *) "self",(char *) "other", NULL
8673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
8674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8676 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8680 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
8682 wxPyEndAllowThreads(__tstate
);
8683 if (PyErr_Occurred()) SWIG_fail
;
8686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8694 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8695 PyObject
*resultobj
;
8696 wxFont
*arg1
= (wxFont
*) 0 ;
8697 wxFont
*arg2
= (wxFont
*) 0 ;
8699 PyObject
* obj0
= 0 ;
8700 PyObject
* obj1
= 0 ;
8702 (char *) "self",(char *) "other", NULL
8705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
8706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8712 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
8714 wxPyEndAllowThreads(__tstate
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8726 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
*resultobj
;
8728 wxFont
*arg1
= (wxFont
*) 0 ;
8730 PyObject
* obj0
= 0 ;
8732 (char *) "self", NULL
8735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
8736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8740 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
8742 wxPyEndAllowThreads(__tstate
);
8743 if (PyErr_Occurred()) SWIG_fail
;
8745 resultobj
= SWIG_From_int((int)result
);
8752 static PyObject
*_wrap_Font_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8753 PyObject
*resultobj
;
8754 wxFont
*arg1
= (wxFont
*) 0 ;
8756 PyObject
* obj0
= 0 ;
8758 (char *) "self", NULL
8761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPixelSize",kwnames
,&obj0
)) goto fail
;
8762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 result
= ((wxFont
const *)arg1
)->GetPixelSize();
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8773 resultptr
= new wxSize((wxSize
&) result
);
8774 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8782 static PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
;
8784 wxFont
*arg1
= (wxFont
*) 0 ;
8786 PyObject
* obj0
= 0 ;
8788 (char *) "self", NULL
8791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsUsingSizeInPixels",kwnames
,&obj0
)) goto fail
;
8792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8796 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
8798 wxPyEndAllowThreads(__tstate
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8810 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
*resultobj
;
8812 wxFont
*arg1
= (wxFont
*) 0 ;
8814 PyObject
* obj0
= 0 ;
8816 (char *) "self", NULL
8819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
8820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8824 result
= (int)((wxFont
const *)arg1
)->GetFamily();
8826 wxPyEndAllowThreads(__tstate
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8829 resultobj
= SWIG_From_int((int)result
);
8836 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8837 PyObject
*resultobj
;
8838 wxFont
*arg1
= (wxFont
*) 0 ;
8840 PyObject
* obj0
= 0 ;
8842 (char *) "self", NULL
8845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
8846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8850 result
= (int)((wxFont
const *)arg1
)->GetStyle();
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 resultobj
= SWIG_From_int((int)result
);
8862 static PyObject
*_wrap_Font_GetWeight(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_GetWeight",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
)->GetWeight();
8878 wxPyEndAllowThreads(__tstate
);
8879 if (PyErr_Occurred()) SWIG_fail
;
8881 resultobj
= SWIG_From_int((int)result
);
8888 static PyObject
*_wrap_Font_GetUnderlined(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_GetUnderlined",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
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8916 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
;
8918 wxFont
*arg1
= (wxFont
*) 0 ;
8920 PyObject
* obj0
= 0 ;
8922 (char *) "self", NULL
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8930 result
= ((wxFont
const *)arg1
)->GetFaceName();
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) SWIG_fail
;
8937 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8939 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8948 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
*resultobj
;
8950 wxFont
*arg1
= (wxFont
*) 0 ;
8952 PyObject
* obj0
= 0 ;
8954 (char *) "self", NULL
8957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8962 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8964 wxPyEndAllowThreads(__tstate
);
8965 if (PyErr_Occurred()) SWIG_fail
;
8967 resultobj
= SWIG_From_int((int)result
);
8974 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8975 PyObject
*resultobj
;
8976 wxFont
*arg1
= (wxFont
*) 0 ;
8977 wxNativeFontInfo
*result
;
8978 PyObject
* obj0
= 0 ;
8980 (char *) "self", NULL
8983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
9000 static PyObject
*_wrap_Font_IsFixedWidth(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_IsFixedWidth",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
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
9016 wxPyEndAllowThreads(__tstate
);
9017 if (PyErr_Occurred()) SWIG_fail
;
9020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9028 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9029 PyObject
*resultobj
;
9030 wxFont
*arg1
= (wxFont
*) 0 ;
9032 PyObject
* obj0
= 0 ;
9034 (char *) "self", NULL
9037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
9038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9042 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
9044 wxPyEndAllowThreads(__tstate
);
9045 if (PyErr_Occurred()) SWIG_fail
;
9049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9060 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9061 PyObject
*resultobj
;
9062 wxFont
*arg1
= (wxFont
*) 0 ;
9064 PyObject
* obj0
= 0 ;
9066 (char *) "self", NULL
9069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
9070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9074 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
9076 wxPyEndAllowThreads(__tstate
);
9077 if (PyErr_Occurred()) SWIG_fail
;
9081 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9083 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9092 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9093 PyObject
*resultobj
;
9094 wxFont
*arg1
= (wxFont
*) 0 ;
9096 PyObject
* obj0
= 0 ;
9097 PyObject
* obj1
= 0 ;
9099 (char *) "self",(char *) "pointSize", NULL
9102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9105 arg2
= (int)SWIG_As_int(obj1
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9109 (arg1
)->SetPointSize(arg2
);
9111 wxPyEndAllowThreads(__tstate
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9114 Py_INCREF(Py_None
); resultobj
= Py_None
;
9121 static PyObject
*_wrap_Font_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9122 PyObject
*resultobj
;
9123 wxFont
*arg1
= (wxFont
*) 0 ;
9126 PyObject
* obj0
= 0 ;
9127 PyObject
* obj1
= 0 ;
9129 (char *) "self",(char *) "pixelSize", NULL
9132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9137 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
9143 wxPyEndAllowThreads(__tstate
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9146 Py_INCREF(Py_None
); resultobj
= Py_None
;
9153 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9154 PyObject
*resultobj
;
9155 wxFont
*arg1
= (wxFont
*) 0 ;
9157 PyObject
* obj0
= 0 ;
9158 PyObject
* obj1
= 0 ;
9160 (char *) "self",(char *) "family", NULL
9163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
9164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9166 arg2
= (int)SWIG_As_int(obj1
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9170 (arg1
)->SetFamily(arg2
);
9172 wxPyEndAllowThreads(__tstate
);
9173 if (PyErr_Occurred()) SWIG_fail
;
9175 Py_INCREF(Py_None
); resultobj
= Py_None
;
9182 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9183 PyObject
*resultobj
;
9184 wxFont
*arg1
= (wxFont
*) 0 ;
9186 PyObject
* obj0
= 0 ;
9187 PyObject
* obj1
= 0 ;
9189 (char *) "self",(char *) "style", NULL
9192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9195 arg2
= (int)SWIG_As_int(obj1
);
9196 if (PyErr_Occurred()) SWIG_fail
;
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 (arg1
)->SetStyle(arg2
);
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9204 Py_INCREF(Py_None
); resultobj
= Py_None
;
9211 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9212 PyObject
*resultobj
;
9213 wxFont
*arg1
= (wxFont
*) 0 ;
9215 PyObject
* obj0
= 0 ;
9216 PyObject
* obj1
= 0 ;
9218 (char *) "self",(char *) "weight", NULL
9221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
9222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9224 arg2
= (int)SWIG_As_int(obj1
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9228 (arg1
)->SetWeight(arg2
);
9230 wxPyEndAllowThreads(__tstate
);
9231 if (PyErr_Occurred()) SWIG_fail
;
9233 Py_INCREF(Py_None
); resultobj
= Py_None
;
9240 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
*resultobj
;
9242 wxFont
*arg1
= (wxFont
*) 0 ;
9243 wxString
*arg2
= 0 ;
9244 bool temp2
= false ;
9245 PyObject
* obj0
= 0 ;
9246 PyObject
* obj1
= 0 ;
9248 (char *) "self",(char *) "faceName", NULL
9251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
9252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9255 arg2
= wxString_in_helper(obj1
);
9256 if (arg2
== NULL
) SWIG_fail
;
9260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9261 (arg1
)->SetFaceName((wxString
const &)*arg2
);
9263 wxPyEndAllowThreads(__tstate
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9266 Py_INCREF(Py_None
); resultobj
= Py_None
;
9281 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9282 PyObject
*resultobj
;
9283 wxFont
*arg1
= (wxFont
*) 0 ;
9285 PyObject
* obj0
= 0 ;
9286 PyObject
* obj1
= 0 ;
9288 (char *) "self",(char *) "underlined", NULL
9291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
9292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9294 arg2
= (bool)SWIG_As_bool(obj1
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9298 (arg1
)->SetUnderlined(arg2
);
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9303 Py_INCREF(Py_None
); resultobj
= Py_None
;
9310 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9311 PyObject
*resultobj
;
9312 wxFont
*arg1
= (wxFont
*) 0 ;
9314 PyObject
* obj0
= 0 ;
9315 PyObject
* obj1
= 0 ;
9317 (char *) "self",(char *) "encoding", NULL
9320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
9321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9323 arg2
= (int)SWIG_As_int(obj1
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9332 Py_INCREF(Py_None
); resultobj
= Py_None
;
9339 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9340 PyObject
*resultobj
;
9341 wxFont
*arg1
= (wxFont
*) 0 ;
9342 wxNativeFontInfo
*arg2
= 0 ;
9343 PyObject
* obj0
= 0 ;
9344 PyObject
* obj1
= 0 ;
9346 (char *) "self",(char *) "info", NULL
9349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
9350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
9353 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9356 PyErr_SetString(PyExc_TypeError
,"null reference");
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
9363 wxPyEndAllowThreads(__tstate
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9366 Py_INCREF(Py_None
); resultobj
= Py_None
;
9373 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9374 PyObject
*resultobj
;
9375 wxFont
*arg1
= (wxFont
*) 0 ;
9376 wxString
*arg2
= 0 ;
9377 bool temp2
= false ;
9378 PyObject
* obj0
= 0 ;
9379 PyObject
* obj1
= 0 ;
9381 (char *) "self",(char *) "info", NULL
9384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
9385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9388 arg2
= wxString_in_helper(obj1
);
9389 if (arg2
== NULL
) SWIG_fail
;
9393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9394 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
9396 wxPyEndAllowThreads(__tstate
);
9397 if (PyErr_Occurred()) SWIG_fail
;
9399 Py_INCREF(Py_None
); resultobj
= Py_None
;
9414 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9415 PyObject
*resultobj
;
9416 wxFont
*arg1
= (wxFont
*) 0 ;
9417 wxString
*arg2
= 0 ;
9418 bool temp2
= false ;
9419 PyObject
* obj0
= 0 ;
9420 PyObject
* obj1
= 0 ;
9422 (char *) "self",(char *) "info", NULL
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
9426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9429 arg2
= wxString_in_helper(obj1
);
9430 if (arg2
== NULL
) SWIG_fail
;
9434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9435 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
9437 wxPyEndAllowThreads(__tstate
);
9438 if (PyErr_Occurred()) SWIG_fail
;
9440 Py_INCREF(Py_None
); resultobj
= Py_None
;
9455 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
;
9457 wxFont
*arg1
= (wxFont
*) 0 ;
9459 PyObject
* obj0
= 0 ;
9461 (char *) "self", NULL
9464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
9465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 result
= ((wxFont
const *)arg1
)->GetFamilyString();
9471 wxPyEndAllowThreads(__tstate
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9476 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9478 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9487 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9488 PyObject
*resultobj
;
9489 wxFont
*arg1
= (wxFont
*) 0 ;
9491 PyObject
* obj0
= 0 ;
9493 (char *) "self", NULL
9496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
9497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9501 result
= ((wxFont
const *)arg1
)->GetStyleString();
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9508 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9510 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9519 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9520 PyObject
*resultobj
;
9521 wxFont
*arg1
= (wxFont
*) 0 ;
9523 PyObject
* obj0
= 0 ;
9525 (char *) "self", NULL
9528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
9529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9533 result
= ((wxFont
const *)arg1
)->GetWeightString();
9535 wxPyEndAllowThreads(__tstate
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9540 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9542 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9551 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9552 PyObject
*resultobj
;
9553 wxFont
*arg1
= (wxFont
*) 0 ;
9554 bool arg2
= (bool) true ;
9555 PyObject
* obj0
= 0 ;
9556 PyObject
* obj1
= 0 ;
9558 (char *) "self",(char *) "no", NULL
9561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
9562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9565 arg2
= (bool)SWIG_As_bool(obj1
);
9566 if (PyErr_Occurred()) SWIG_fail
;
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 (arg1
)->SetNoAntiAliasing(arg2
);
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9575 Py_INCREF(Py_None
); resultobj
= Py_None
;
9582 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9583 PyObject
*resultobj
;
9584 wxFont
*arg1
= (wxFont
*) 0 ;
9586 PyObject
* obj0
= 0 ;
9588 (char *) "self", NULL
9591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
9592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9596 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
9598 wxPyEndAllowThreads(__tstate
);
9599 if (PyErr_Occurred()) SWIG_fail
;
9602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9610 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9611 PyObject
*resultobj
;
9617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
9619 if (!wxPyCheckForApp()) SWIG_fail
;
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 result
= (int)wxFont::GetDefaultEncoding();
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9626 resultobj
= SWIG_From_int((int)result
);
9633 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
*resultobj
;
9636 PyObject
* obj0
= 0 ;
9638 (char *) "encoding", NULL
9641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
9642 arg1
= (int)SWIG_As_int(obj0
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9645 if (!wxPyCheckForApp()) SWIG_fail
;
9646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9647 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
9649 wxPyEndAllowThreads(__tstate
);
9650 if (PyErr_Occurred()) SWIG_fail
;
9652 Py_INCREF(Py_None
); resultobj
= Py_None
;
9659 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
9661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9662 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
9664 return Py_BuildValue((char *)"");
9666 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9667 PyObject
*resultobj
;
9668 wxPyFontEnumerator
*result
;
9673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
9675 if (!wxPyCheckForApp()) SWIG_fail
;
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
9689 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9690 PyObject
*resultobj
;
9691 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9692 PyObject
* obj0
= 0 ;
9694 (char *) "self", NULL
9697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
9698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9704 wxPyEndAllowThreads(__tstate
);
9705 if (PyErr_Occurred()) SWIG_fail
;
9707 Py_INCREF(Py_None
); resultobj
= Py_None
;
9714 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9715 PyObject
*resultobj
;
9716 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9717 PyObject
*arg2
= (PyObject
*) 0 ;
9718 PyObject
*arg3
= (PyObject
*) 0 ;
9720 PyObject
* obj0
= 0 ;
9721 PyObject
* obj1
= 0 ;
9722 PyObject
* obj2
= 0 ;
9723 PyObject
* obj3
= 0 ;
9725 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9733 arg4
= (bool)SWIG_As_bool(obj3
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) SWIG_fail
;
9742 Py_INCREF(Py_None
); resultobj
= Py_None
;
9749 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9750 PyObject
*resultobj
;
9751 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9752 int arg2
= (int) wxFONTENCODING_SYSTEM
;
9753 bool arg3
= (bool) false ;
9755 PyObject
* obj0
= 0 ;
9756 PyObject
* obj1
= 0 ;
9757 PyObject
* obj2
= 0 ;
9759 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
9762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9766 arg2
= (int)SWIG_As_int(obj1
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9770 arg3
= (bool)SWIG_As_bool(obj2
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9775 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
9777 wxPyEndAllowThreads(__tstate
);
9778 if (PyErr_Occurred()) SWIG_fail
;
9781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9789 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9790 PyObject
*resultobj
;
9791 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9792 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9793 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9795 bool temp2
= false ;
9796 PyObject
* obj0
= 0 ;
9797 PyObject
* obj1
= 0 ;
9799 (char *) "self",(char *) "facename", NULL
9802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
9803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9807 arg2
= wxString_in_helper(obj1
);
9808 if (arg2
== NULL
) SWIG_fail
;
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
9816 wxPyEndAllowThreads(__tstate
);
9817 if (PyErr_Occurred()) SWIG_fail
;
9820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9836 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9837 PyObject
*resultobj
;
9838 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9840 PyObject
* obj0
= 0 ;
9842 (char *) "self", NULL
9845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
9846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9862 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
;
9864 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9866 PyObject
* obj0
= 0 ;
9868 (char *) "self", NULL
9871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
9872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9876 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
9878 wxPyEndAllowThreads(__tstate
);
9879 if (PyErr_Occurred()) SWIG_fail
;
9888 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
9890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9891 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
9893 return Py_BuildValue((char *)"");
9895 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9896 PyObject
*resultobj
;
9897 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9899 PyObject
* obj0
= 0 ;
9900 PyObject
* obj1
= 0 ;
9902 (char *) "self",(char *) "Language", NULL
9905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9908 arg2
= (int)SWIG_As_int(obj1
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9910 if (arg1
) (arg1
)->Language
= arg2
;
9912 Py_INCREF(Py_None
); resultobj
= Py_None
;
9919 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
*resultobj
;
9921 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9923 PyObject
* obj0
= 0 ;
9925 (char *) "self", NULL
9928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9931 result
= (int) ((arg1
)->Language
);
9933 resultobj
= SWIG_From_int((int)result
);
9940 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9941 PyObject
*resultobj
;
9942 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9943 wxString
*arg2
= (wxString
*) 0 ;
9944 bool temp2
= false ;
9945 PyObject
* obj0
= 0 ;
9946 PyObject
* obj1
= 0 ;
9948 (char *) "self",(char *) "CanonicalName", NULL
9951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9955 arg2
= wxString_in_helper(obj1
);
9956 if (arg2
== NULL
) SWIG_fail
;
9959 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9961 Py_INCREF(Py_None
); resultobj
= Py_None
;
9976 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
*resultobj
;
9978 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9980 PyObject
* obj0
= 0 ;
9982 (char *) "self", NULL
9985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9988 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9992 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9994 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10003 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10004 PyObject
*resultobj
;
10005 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10006 wxString
*arg2
= (wxString
*) 0 ;
10007 bool temp2
= false ;
10008 PyObject
* obj0
= 0 ;
10009 PyObject
* obj1
= 0 ;
10010 char *kwnames
[] = {
10011 (char *) "self",(char *) "Description", NULL
10014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10018 arg2
= wxString_in_helper(obj1
);
10019 if (arg2
== NULL
) SWIG_fail
;
10022 if (arg1
) (arg1
)->Description
= *arg2
;
10024 Py_INCREF(Py_None
); resultobj
= Py_None
;
10039 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10040 PyObject
*resultobj
;
10041 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10043 PyObject
* obj0
= 0 ;
10044 char *kwnames
[] = {
10045 (char *) "self", NULL
10048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
10049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10051 result
= (wxString
*)& ((arg1
)->Description
);
10055 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10057 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10066 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
10068 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10069 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
10071 return Py_BuildValue((char *)"");
10073 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10074 PyObject
*resultobj
;
10075 int arg1
= (int) -1 ;
10076 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
10078 PyObject
* obj0
= 0 ;
10079 PyObject
* obj1
= 0 ;
10080 char *kwnames
[] = {
10081 (char *) "language",(char *) "flags", NULL
10084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
10086 arg1
= (int)SWIG_As_int(obj0
);
10087 if (PyErr_Occurred()) SWIG_fail
;
10090 arg2
= (int)SWIG_As_int(obj1
);
10091 if (PyErr_Occurred()) SWIG_fail
;
10094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10095 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
10097 wxPyEndAllowThreads(__tstate
);
10098 if (PyErr_Occurred()) SWIG_fail
;
10100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
10107 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10108 PyObject
*resultobj
;
10109 wxLocale
*arg1
= (wxLocale
*) 0 ;
10110 PyObject
* obj0
= 0 ;
10111 char *kwnames
[] = {
10112 (char *) "self", NULL
10115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
10116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 wxPyEndAllowThreads(__tstate
);
10123 if (PyErr_Occurred()) SWIG_fail
;
10125 Py_INCREF(Py_None
); resultobj
= Py_None
;
10132 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
*resultobj
;
10134 wxLocale
*arg1
= (wxLocale
*) 0 ;
10135 wxString
*arg2
= 0 ;
10136 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10137 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10138 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10139 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10140 bool arg5
= (bool) true ;
10141 bool arg6
= (bool) false ;
10143 bool temp2
= false ;
10144 bool temp3
= false ;
10145 bool temp4
= false ;
10146 PyObject
* obj0
= 0 ;
10147 PyObject
* obj1
= 0 ;
10148 PyObject
* obj2
= 0 ;
10149 PyObject
* obj3
= 0 ;
10150 PyObject
* obj4
= 0 ;
10151 PyObject
* obj5
= 0 ;
10152 char *kwnames
[] = {
10153 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
10156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10160 arg2
= wxString_in_helper(obj1
);
10161 if (arg2
== NULL
) SWIG_fail
;
10166 arg3
= wxString_in_helper(obj2
);
10167 if (arg3
== NULL
) SWIG_fail
;
10173 arg4
= wxString_in_helper(obj3
);
10174 if (arg4
== NULL
) SWIG_fail
;
10179 arg5
= (bool)SWIG_As_bool(obj4
);
10180 if (PyErr_Occurred()) SWIG_fail
;
10183 arg6
= (bool)SWIG_As_bool(obj5
);
10184 if (PyErr_Occurred()) SWIG_fail
;
10187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10188 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
10190 wxPyEndAllowThreads(__tstate
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10226 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10227 PyObject
*resultobj
;
10228 wxLocale
*arg1
= (wxLocale
*) 0 ;
10229 int arg2
= (int) wxLANGUAGE_DEFAULT
;
10230 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
10232 PyObject
* obj0
= 0 ;
10233 PyObject
* obj1
= 0 ;
10234 PyObject
* obj2
= 0 ;
10235 char *kwnames
[] = {
10236 (char *) "self",(char *) "language",(char *) "flags", NULL
10239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10243 arg2
= (int)SWIG_As_int(obj1
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10247 arg3
= (int)SWIG_As_int(obj2
);
10248 if (PyErr_Occurred()) SWIG_fail
;
10251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 result
= (bool)(arg1
)->Init(arg2
,arg3
);
10254 wxPyEndAllowThreads(__tstate
);
10255 if (PyErr_Occurred()) SWIG_fail
;
10258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10266 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10267 PyObject
*resultobj
;
10269 char *kwnames
[] = {
10273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
10275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10276 result
= (int)wxLocale::GetSystemLanguage();
10278 wxPyEndAllowThreads(__tstate
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10281 resultobj
= SWIG_From_int((int)result
);
10288 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10289 PyObject
*resultobj
;
10291 char *kwnames
[] = {
10295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
10297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10298 result
= (int)wxLocale::GetSystemEncoding();
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10303 resultobj
= SWIG_From_int((int)result
);
10310 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10311 PyObject
*resultobj
;
10313 char *kwnames
[] = {
10317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 result
= wxLocale::GetSystemEncodingName();
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10327 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10329 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10338 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10339 PyObject
*resultobj
;
10340 wxLocale
*arg1
= (wxLocale
*) 0 ;
10342 PyObject
* obj0
= 0 ;
10343 char *kwnames
[] = {
10344 (char *) "self", NULL
10347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
10348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10352 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
10354 wxPyEndAllowThreads(__tstate
);
10355 if (PyErr_Occurred()) SWIG_fail
;
10358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10366 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10367 PyObject
*resultobj
;
10368 wxLocale
*arg1
= (wxLocale
*) 0 ;
10370 PyObject
* obj0
= 0 ;
10371 char *kwnames
[] = {
10372 (char *) "self", NULL
10375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
10376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10380 result
= ((wxLocale
const *)arg1
)->GetLocale();
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10398 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10399 PyObject
*resultobj
;
10400 wxLocale
*arg1
= (wxLocale
*) 0 ;
10402 PyObject
* obj0
= 0 ;
10403 char *kwnames
[] = {
10404 (char *) "self", NULL
10407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
10408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10412 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
10414 wxPyEndAllowThreads(__tstate
);
10415 if (PyErr_Occurred()) SWIG_fail
;
10417 resultobj
= SWIG_From_int((int)result
);
10424 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10425 PyObject
*resultobj
;
10426 wxLocale
*arg1
= (wxLocale
*) 0 ;
10428 PyObject
* obj0
= 0 ;
10429 char *kwnames
[] = {
10430 (char *) "self", NULL
10433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
10434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 result
= ((wxLocale
const *)arg1
)->GetSysName();
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10445 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10447 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10456 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10457 PyObject
*resultobj
;
10458 wxLocale
*arg1
= (wxLocale
*) 0 ;
10460 PyObject
* obj0
= 0 ;
10461 char *kwnames
[] = {
10462 (char *) "self", NULL
10465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
10466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10470 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
10472 wxPyEndAllowThreads(__tstate
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10477 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10479 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10488 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10489 PyObject
*resultobj
;
10490 wxString
*arg1
= 0 ;
10491 bool temp1
= false ;
10492 PyObject
* obj0
= 0 ;
10493 char *kwnames
[] = {
10494 (char *) "prefix", NULL
10497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
10499 arg1
= wxString_in_helper(obj0
);
10500 if (arg1
== NULL
) SWIG_fail
;
10504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10505 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
10507 wxPyEndAllowThreads(__tstate
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10510 Py_INCREF(Py_None
); resultobj
= Py_None
;
10525 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
;
10527 wxLocale
*arg1
= (wxLocale
*) 0 ;
10528 wxString
*arg2
= 0 ;
10530 bool temp2
= false ;
10531 PyObject
* obj0
= 0 ;
10532 PyObject
* obj1
= 0 ;
10533 char *kwnames
[] = {
10534 (char *) "self",(char *) "szDomain", NULL
10537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
10538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10541 arg2
= wxString_in_helper(obj1
);
10542 if (arg2
== NULL
) SWIG_fail
;
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
10549 wxPyEndAllowThreads(__tstate
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10569 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10570 PyObject
*resultobj
;
10571 wxLocale
*arg1
= (wxLocale
*) 0 ;
10572 wxString
*arg2
= 0 ;
10574 bool temp2
= false ;
10575 PyObject
* obj0
= 0 ;
10576 PyObject
* obj1
= 0 ;
10577 char *kwnames
[] = {
10578 (char *) "self",(char *) "szDomain", NULL
10581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
10582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10585 arg2
= wxString_in_helper(obj1
);
10586 if (arg2
== NULL
) SWIG_fail
;
10590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10591 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10613 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
*resultobj
;
10616 wxLanguageInfo
*result
;
10617 PyObject
* obj0
= 0 ;
10618 char *kwnames
[] = {
10619 (char *) "lang", NULL
10622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
10623 arg1
= (int)SWIG_As_int(obj0
);
10624 if (PyErr_Occurred()) SWIG_fail
;
10626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10627 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
10629 wxPyEndAllowThreads(__tstate
);
10630 if (PyErr_Occurred()) SWIG_fail
;
10632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10639 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10640 PyObject
*resultobj
;
10643 PyObject
* obj0
= 0 ;
10644 char *kwnames
[] = {
10645 (char *) "lang", NULL
10648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
10649 arg1
= (int)SWIG_As_int(obj0
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 result
= wxLocale::GetLanguageName(arg1
);
10655 wxPyEndAllowThreads(__tstate
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10671 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
*resultobj
;
10673 wxString
*arg1
= 0 ;
10674 wxLanguageInfo
*result
;
10675 bool temp1
= false ;
10676 PyObject
* obj0
= 0 ;
10677 char *kwnames
[] = {
10678 (char *) "locale", NULL
10681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
10683 arg1
= wxString_in_helper(obj0
);
10684 if (arg1
== NULL
) SWIG_fail
;
10688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10689 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
10691 wxPyEndAllowThreads(__tstate
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10709 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10710 PyObject
*resultobj
;
10711 wxLanguageInfo
*arg1
= 0 ;
10712 PyObject
* obj0
= 0 ;
10713 char *kwnames
[] = {
10714 (char *) "info", NULL
10717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
10718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10719 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10721 if (arg1
== NULL
) {
10722 PyErr_SetString(PyExc_TypeError
,"null reference");
10726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10727 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
10729 wxPyEndAllowThreads(__tstate
);
10730 if (PyErr_Occurred()) SWIG_fail
;
10732 Py_INCREF(Py_None
); resultobj
= Py_None
;
10739 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10740 PyObject
*resultobj
;
10741 wxLocale
*arg1
= (wxLocale
*) 0 ;
10742 wxString
*arg2
= 0 ;
10743 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10744 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10746 bool temp2
= false ;
10747 bool temp3
= false ;
10748 PyObject
* obj0
= 0 ;
10749 PyObject
* obj1
= 0 ;
10750 PyObject
* obj2
= 0 ;
10751 char *kwnames
[] = {
10752 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
10755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10759 arg2
= wxString_in_helper(obj1
);
10760 if (arg2
== NULL
) SWIG_fail
;
10765 arg3
= wxString_in_helper(obj2
);
10766 if (arg3
== NULL
) SWIG_fail
;
10771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10772 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10779 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10781 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10806 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10807 PyObject
*resultobj
;
10808 wxLocale
*arg1
= (wxLocale
*) 0 ;
10810 PyObject
* obj0
= 0 ;
10811 char *kwnames
[] = {
10812 (char *) "self", NULL
10815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
10816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
10822 result
= (wxString
*) &_result_ref
;
10825 wxPyEndAllowThreads(__tstate
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10830 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10832 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10841 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
10843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10844 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
10846 return Py_BuildValue((char *)"");
10848 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10849 PyObject
*resultobj
;
10851 char *kwnames
[] = {
10855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
10857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10858 result
= (wxLocale
*)wxGetLocale();
10860 wxPyEndAllowThreads(__tstate
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
10870 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
10871 PyObject
*resultobj
;
10872 wxString
*arg1
= 0 ;
10874 bool temp1
= false ;
10875 PyObject
* obj0
= 0 ;
10877 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
10879 arg1
= wxString_in_helper(obj0
);
10880 if (arg1
== NULL
) SWIG_fail
;
10884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10885 result
= wxGetTranslation((wxString
const &)*arg1
);
10887 wxPyEndAllowThreads(__tstate
);
10888 if (PyErr_Occurred()) SWIG_fail
;
10892 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10894 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10911 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
10912 PyObject
*resultobj
;
10913 wxString
*arg1
= 0 ;
10914 wxString
*arg2
= 0 ;
10917 bool temp1
= false ;
10918 bool temp2
= false ;
10919 PyObject
* obj0
= 0 ;
10920 PyObject
* obj1
= 0 ;
10921 PyObject
* obj2
= 0 ;
10923 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
10925 arg1
= wxString_in_helper(obj0
);
10926 if (arg1
== NULL
) SWIG_fail
;
10930 arg2
= wxString_in_helper(obj1
);
10931 if (arg2
== NULL
) SWIG_fail
;
10934 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10935 if (PyErr_Occurred()) SWIG_fail
;
10937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10938 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10940 wxPyEndAllowThreads(__tstate
);
10941 if (PyErr_Occurred()) SWIG_fail
;
10945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10972 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10977 argc
= PyObject_Length(args
);
10978 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10979 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10984 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10987 return _wrap_GetTranslation__SWIG_0(self
,args
);
10993 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10997 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11000 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
11002 return _wrap_GetTranslation__SWIG_1(self
,args
);
11008 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
11013 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11014 PyObject
*resultobj
;
11015 wxEncodingConverter
*result
;
11016 char *kwnames
[] = {
11020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
11022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11023 result
= (wxEncodingConverter
*)new wxEncodingConverter();
11025 wxPyEndAllowThreads(__tstate
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
11035 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11036 PyObject
*resultobj
;
11037 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
11038 PyObject
* obj0
= 0 ;
11039 char *kwnames
[] = {
11040 (char *) "self", NULL
11043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
11044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
11045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11050 wxPyEndAllowThreads(__tstate
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11053 Py_INCREF(Py_None
); resultobj
= Py_None
;
11060 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11061 PyObject
*resultobj
;
11062 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
11065 int arg4
= (int) wxCONVERT_STRICT
;
11067 PyObject
* obj0
= 0 ;
11068 PyObject
* obj1
= 0 ;
11069 PyObject
* obj2
= 0 ;
11070 PyObject
* obj3
= 0 ;
11071 char *kwnames
[] = {
11072 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
11075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
11077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11078 arg2
= (int)SWIG_As_int(obj1
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11080 arg3
= (int)SWIG_As_int(obj2
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11083 arg4
= (int)SWIG_As_int(obj3
);
11084 if (PyErr_Occurred()) SWIG_fail
;
11087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11088 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
11090 wxPyEndAllowThreads(__tstate
);
11091 if (PyErr_Occurred()) SWIG_fail
;
11094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11102 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11103 PyObject
*resultobj
;
11104 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
11105 wxString
*arg2
= 0 ;
11107 bool temp2
= false ;
11108 PyObject
* obj0
= 0 ;
11109 PyObject
* obj1
= 0 ;
11110 char *kwnames
[] = {
11111 (char *) "self",(char *) "input", NULL
11114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
11115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
11116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11118 arg2
= wxString_in_helper(obj1
);
11119 if (arg2
== NULL
) SWIG_fail
;
11123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11124 result
= (arg1
)->Convert((wxString
const &)*arg2
);
11126 wxPyEndAllowThreads(__tstate
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11150 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11151 PyObject
*resultobj
;
11153 int arg2
= (int) wxPLATFORM_CURRENT
;
11154 wxFontEncodingArray result
;
11155 PyObject
* obj0
= 0 ;
11156 PyObject
* obj1
= 0 ;
11157 char *kwnames
[] = {
11158 (char *) "enc",(char *) "platform", NULL
11161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
11162 arg1
= (int)SWIG_As_int(obj0
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11165 arg2
= (int)SWIG_As_int(obj1
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11176 resultobj
= PyList_New(0);
11177 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
11178 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
11179 PyList_Append(resultobj
, number
);
11189 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11190 PyObject
*resultobj
;
11192 wxFontEncodingArray result
;
11193 PyObject
* obj0
= 0 ;
11194 char *kwnames
[] = {
11195 (char *) "enc", NULL
11198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
11199 arg1
= (int)SWIG_As_int(obj0
);
11200 if (PyErr_Occurred()) SWIG_fail
;
11202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11203 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
11205 wxPyEndAllowThreads(__tstate
);
11206 if (PyErr_Occurred()) SWIG_fail
;
11209 resultobj
= PyList_New(0);
11210 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
11211 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
11212 PyList_Append(resultobj
, number
);
11222 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11223 PyObject
*resultobj
;
11227 PyObject
* obj0
= 0 ;
11228 PyObject
* obj1
= 0 ;
11229 char *kwnames
[] = {
11230 (char *) "encIn",(char *) "encOut", NULL
11233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
11234 arg1
= (int)SWIG_As_int(obj0
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11236 arg2
= (int)SWIG_As_int(obj1
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11254 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
11256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11257 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
11259 return Py_BuildValue((char *)"");
11261 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11262 PyObject
*resultobj
;
11263 wxDC
*arg1
= (wxDC
*) 0 ;
11264 PyObject
* obj0
= 0 ;
11265 char *kwnames
[] = {
11266 (char *) "self", NULL
11269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
11270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 wxPyEndAllowThreads(__tstate
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11279 Py_INCREF(Py_None
); resultobj
= Py_None
;
11286 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11287 PyObject
*resultobj
;
11288 wxDC
*arg1
= (wxDC
*) 0 ;
11289 PyObject
* obj0
= 0 ;
11290 char *kwnames
[] = {
11291 (char *) "self", NULL
11294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
11295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11299 (arg1
)->BeginDrawing();
11301 wxPyEndAllowThreads(__tstate
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11304 Py_INCREF(Py_None
); resultobj
= Py_None
;
11311 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11312 PyObject
*resultobj
;
11313 wxDC
*arg1
= (wxDC
*) 0 ;
11314 PyObject
* obj0
= 0 ;
11315 char *kwnames
[] = {
11316 (char *) "self", NULL
11319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
11320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 (arg1
)->EndDrawing();
11326 wxPyEndAllowThreads(__tstate
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11329 Py_INCREF(Py_None
); resultobj
= Py_None
;
11336 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11337 PyObject
*resultobj
;
11338 wxDC
*arg1
= (wxDC
*) 0 ;
11341 wxColour
*arg4
= 0 ;
11342 int arg5
= (int) wxFLOOD_SURFACE
;
11345 PyObject
* obj0
= 0 ;
11346 PyObject
* obj1
= 0 ;
11347 PyObject
* obj2
= 0 ;
11348 PyObject
* obj3
= 0 ;
11349 PyObject
* obj4
= 0 ;
11350 char *kwnames
[] = {
11351 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
11354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11357 arg2
= (int)SWIG_As_int(obj1
);
11358 if (PyErr_Occurred()) SWIG_fail
;
11359 arg3
= (int)SWIG_As_int(obj2
);
11360 if (PyErr_Occurred()) SWIG_fail
;
11363 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
11366 arg5
= (int)SWIG_As_int(obj4
);
11367 if (PyErr_Occurred()) SWIG_fail
;
11370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11371 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
11373 wxPyEndAllowThreads(__tstate
);
11374 if (PyErr_Occurred()) SWIG_fail
;
11377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11385 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11386 PyObject
*resultobj
;
11387 wxDC
*arg1
= (wxDC
*) 0 ;
11388 wxPoint
*arg2
= 0 ;
11389 wxColour
*arg3
= 0 ;
11390 int arg4
= (int) wxFLOOD_SURFACE
;
11394 PyObject
* obj0
= 0 ;
11395 PyObject
* obj1
= 0 ;
11396 PyObject
* obj2
= 0 ;
11397 PyObject
* obj3
= 0 ;
11398 char *kwnames
[] = {
11399 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
11402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11407 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11411 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11414 arg4
= (int)SWIG_As_int(obj3
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11433 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
;
11435 wxDC
*arg1
= (wxDC
*) 0 ;
11439 PyObject
* obj0
= 0 ;
11440 PyObject
* obj1
= 0 ;
11441 PyObject
* obj2
= 0 ;
11442 char *kwnames
[] = {
11443 (char *) "self",(char *) "x",(char *) "y", NULL
11446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11449 arg2
= (int)SWIG_As_int(obj1
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11451 arg3
= (int)SWIG_As_int(obj2
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11455 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
11457 wxPyEndAllowThreads(__tstate
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11461 wxColour
* resultptr
;
11462 resultptr
= new wxColour((wxColour
&) result
);
11463 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11471 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11472 PyObject
*resultobj
;
11473 wxDC
*arg1
= (wxDC
*) 0 ;
11474 wxPoint
*arg2
= 0 ;
11477 PyObject
* obj0
= 0 ;
11478 PyObject
* obj1
= 0 ;
11479 char *kwnames
[] = {
11480 (char *) "self",(char *) "pt", NULL
11483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11488 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11492 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
11494 wxPyEndAllowThreads(__tstate
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11498 wxColour
* resultptr
;
11499 resultptr
= new wxColour((wxColour
&) result
);
11500 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11508 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11509 PyObject
*resultobj
;
11510 wxDC
*arg1
= (wxDC
*) 0 ;
11515 PyObject
* obj0
= 0 ;
11516 PyObject
* obj1
= 0 ;
11517 PyObject
* obj2
= 0 ;
11518 PyObject
* obj3
= 0 ;
11519 PyObject
* obj4
= 0 ;
11520 char *kwnames
[] = {
11521 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
11524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11527 arg2
= (int)SWIG_As_int(obj1
);
11528 if (PyErr_Occurred()) SWIG_fail
;
11529 arg3
= (int)SWIG_As_int(obj2
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11531 arg4
= (int)SWIG_As_int(obj3
);
11532 if (PyErr_Occurred()) SWIG_fail
;
11533 arg5
= (int)SWIG_As_int(obj4
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11537 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
11539 wxPyEndAllowThreads(__tstate
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11542 Py_INCREF(Py_None
); resultobj
= Py_None
;
11549 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11550 PyObject
*resultobj
;
11551 wxDC
*arg1
= (wxDC
*) 0 ;
11552 wxPoint
*arg2
= 0 ;
11553 wxPoint
*arg3
= 0 ;
11556 PyObject
* obj0
= 0 ;
11557 PyObject
* obj1
= 0 ;
11558 PyObject
* obj2
= 0 ;
11559 char *kwnames
[] = {
11560 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
11563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11568 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11572 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11576 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
11578 wxPyEndAllowThreads(__tstate
);
11579 if (PyErr_Occurred()) SWIG_fail
;
11581 Py_INCREF(Py_None
); resultobj
= Py_None
;
11588 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11589 PyObject
*resultobj
;
11590 wxDC
*arg1
= (wxDC
*) 0 ;
11593 PyObject
* obj0
= 0 ;
11594 PyObject
* obj1
= 0 ;
11595 PyObject
* obj2
= 0 ;
11596 char *kwnames
[] = {
11597 (char *) "self",(char *) "x",(char *) "y", NULL
11600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11603 arg2
= (int)SWIG_As_int(obj1
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11605 arg3
= (int)SWIG_As_int(obj2
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11609 (arg1
)->CrossHair(arg2
,arg3
);
11611 wxPyEndAllowThreads(__tstate
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11614 Py_INCREF(Py_None
); resultobj
= Py_None
;
11621 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11622 PyObject
*resultobj
;
11623 wxDC
*arg1
= (wxDC
*) 0 ;
11624 wxPoint
*arg2
= 0 ;
11626 PyObject
* obj0
= 0 ;
11627 PyObject
* obj1
= 0 ;
11628 char *kwnames
[] = {
11629 (char *) "self",(char *) "pt", NULL
11632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11637 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11646 Py_INCREF(Py_None
); resultobj
= Py_None
;
11653 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11654 PyObject
*resultobj
;
11655 wxDC
*arg1
= (wxDC
*) 0 ;
11662 PyObject
* obj0
= 0 ;
11663 PyObject
* obj1
= 0 ;
11664 PyObject
* obj2
= 0 ;
11665 PyObject
* obj3
= 0 ;
11666 PyObject
* obj4
= 0 ;
11667 PyObject
* obj5
= 0 ;
11668 PyObject
* obj6
= 0 ;
11669 char *kwnames
[] = {
11670 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
11673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11676 arg2
= (int)SWIG_As_int(obj1
);
11677 if (PyErr_Occurred()) SWIG_fail
;
11678 arg3
= (int)SWIG_As_int(obj2
);
11679 if (PyErr_Occurred()) SWIG_fail
;
11680 arg4
= (int)SWIG_As_int(obj3
);
11681 if (PyErr_Occurred()) SWIG_fail
;
11682 arg5
= (int)SWIG_As_int(obj4
);
11683 if (PyErr_Occurred()) SWIG_fail
;
11684 arg6
= (int)SWIG_As_int(obj5
);
11685 if (PyErr_Occurred()) SWIG_fail
;
11686 arg7
= (int)SWIG_As_int(obj6
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11690 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11692 wxPyEndAllowThreads(__tstate
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11695 Py_INCREF(Py_None
); resultobj
= Py_None
;
11702 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11703 PyObject
*resultobj
;
11704 wxDC
*arg1
= (wxDC
*) 0 ;
11705 wxPoint
*arg2
= 0 ;
11706 wxPoint
*arg3
= 0 ;
11707 wxPoint
*arg4
= 0 ;
11711 PyObject
* obj0
= 0 ;
11712 PyObject
* obj1
= 0 ;
11713 PyObject
* obj2
= 0 ;
11714 PyObject
* obj3
= 0 ;
11715 char *kwnames
[] = {
11716 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
11719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11724 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11728 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11732 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11736 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11741 Py_INCREF(Py_None
); resultobj
= Py_None
;
11748 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11749 PyObject
*resultobj
;
11750 wxDC
*arg1
= (wxDC
*) 0 ;
11755 PyObject
* obj0
= 0 ;
11756 PyObject
* obj1
= 0 ;
11757 PyObject
* obj2
= 0 ;
11758 PyObject
* obj3
= 0 ;
11759 PyObject
* obj4
= 0 ;
11760 char *kwnames
[] = {
11761 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11767 arg2
= (int)SWIG_As_int(obj1
);
11768 if (PyErr_Occurred()) SWIG_fail
;
11769 arg3
= (int)SWIG_As_int(obj2
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11771 arg4
= (int)SWIG_As_int(obj3
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11773 arg5
= (int)SWIG_As_int(obj4
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11777 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
11779 wxPyEndAllowThreads(__tstate
);
11780 if (PyErr_Occurred()) SWIG_fail
;
11782 Py_INCREF(Py_None
); resultobj
= Py_None
;
11789 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
*resultobj
;
11791 wxDC
*arg1
= (wxDC
*) 0 ;
11794 PyObject
* obj0
= 0 ;
11795 PyObject
* obj1
= 0 ;
11796 char *kwnames
[] = {
11797 (char *) "self",(char *) "rect", NULL
11800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11805 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11809 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
11811 wxPyEndAllowThreads(__tstate
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11814 Py_INCREF(Py_None
); resultobj
= Py_None
;
11821 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11822 PyObject
*resultobj
;
11823 wxDC
*arg1
= (wxDC
*) 0 ;
11830 PyObject
* obj0
= 0 ;
11831 PyObject
* obj1
= 0 ;
11832 PyObject
* obj2
= 0 ;
11833 PyObject
* obj3
= 0 ;
11834 PyObject
* obj4
= 0 ;
11835 PyObject
* obj5
= 0 ;
11836 PyObject
* obj6
= 0 ;
11837 char *kwnames
[] = {
11838 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
11841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11844 arg2
= (int)SWIG_As_int(obj1
);
11845 if (PyErr_Occurred()) SWIG_fail
;
11846 arg3
= (int)SWIG_As_int(obj2
);
11847 if (PyErr_Occurred()) SWIG_fail
;
11848 arg4
= (int)SWIG_As_int(obj3
);
11849 if (PyErr_Occurred()) SWIG_fail
;
11850 arg5
= (int)SWIG_As_int(obj4
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11852 arg6
= (double)SWIG_As_double(obj5
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11854 arg7
= (double)SWIG_As_double(obj6
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11858 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11860 wxPyEndAllowThreads(__tstate
);
11861 if (PyErr_Occurred()) SWIG_fail
;
11863 Py_INCREF(Py_None
); resultobj
= Py_None
;
11870 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11871 PyObject
*resultobj
;
11872 wxDC
*arg1
= (wxDC
*) 0 ;
11873 wxPoint
*arg2
= 0 ;
11879 PyObject
* obj0
= 0 ;
11880 PyObject
* obj1
= 0 ;
11881 PyObject
* obj2
= 0 ;
11882 PyObject
* obj3
= 0 ;
11883 PyObject
* obj4
= 0 ;
11884 char *kwnames
[] = {
11885 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
11888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11893 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11897 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11899 arg4
= (double)SWIG_As_double(obj3
);
11900 if (PyErr_Occurred()) SWIG_fail
;
11901 arg5
= (double)SWIG_As_double(obj4
);
11902 if (PyErr_Occurred()) SWIG_fail
;
11904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11905 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
11907 wxPyEndAllowThreads(__tstate
);
11908 if (PyErr_Occurred()) SWIG_fail
;
11910 Py_INCREF(Py_None
); resultobj
= Py_None
;
11917 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11918 PyObject
*resultobj
;
11919 wxDC
*arg1
= (wxDC
*) 0 ;
11922 PyObject
* obj0
= 0 ;
11923 PyObject
* obj1
= 0 ;
11924 PyObject
* obj2
= 0 ;
11925 char *kwnames
[] = {
11926 (char *) "self",(char *) "x",(char *) "y", NULL
11929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11932 arg2
= (int)SWIG_As_int(obj1
);
11933 if (PyErr_Occurred()) SWIG_fail
;
11934 arg3
= (int)SWIG_As_int(obj2
);
11935 if (PyErr_Occurred()) SWIG_fail
;
11937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11938 (arg1
)->DrawPoint(arg2
,arg3
);
11940 wxPyEndAllowThreads(__tstate
);
11941 if (PyErr_Occurred()) SWIG_fail
;
11943 Py_INCREF(Py_None
); resultobj
= Py_None
;
11950 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11951 PyObject
*resultobj
;
11952 wxDC
*arg1
= (wxDC
*) 0 ;
11953 wxPoint
*arg2
= 0 ;
11955 PyObject
* obj0
= 0 ;
11956 PyObject
* obj1
= 0 ;
11957 char *kwnames
[] = {
11958 (char *) "self",(char *) "pt", NULL
11961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11966 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11970 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11972 wxPyEndAllowThreads(__tstate
);
11973 if (PyErr_Occurred()) SWIG_fail
;
11975 Py_INCREF(Py_None
); resultobj
= Py_None
;
11982 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11983 PyObject
*resultobj
;
11984 wxDC
*arg1
= (wxDC
*) 0 ;
11989 PyObject
* obj0
= 0 ;
11990 PyObject
* obj1
= 0 ;
11991 PyObject
* obj2
= 0 ;
11992 PyObject
* obj3
= 0 ;
11993 PyObject
* obj4
= 0 ;
11994 char *kwnames
[] = {
11995 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12001 arg2
= (int)SWIG_As_int(obj1
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12003 arg3
= (int)SWIG_As_int(obj2
);
12004 if (PyErr_Occurred()) SWIG_fail
;
12005 arg4
= (int)SWIG_As_int(obj3
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12007 arg5
= (int)SWIG_As_int(obj4
);
12008 if (PyErr_Occurred()) SWIG_fail
;
12010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12011 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
12013 wxPyEndAllowThreads(__tstate
);
12014 if (PyErr_Occurred()) SWIG_fail
;
12016 Py_INCREF(Py_None
); resultobj
= Py_None
;
12023 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12024 PyObject
*resultobj
;
12025 wxDC
*arg1
= (wxDC
*) 0 ;
12028 PyObject
* obj0
= 0 ;
12029 PyObject
* obj1
= 0 ;
12030 char *kwnames
[] = {
12031 (char *) "self",(char *) "rect", NULL
12034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12039 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12043 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
12045 wxPyEndAllowThreads(__tstate
);
12046 if (PyErr_Occurred()) SWIG_fail
;
12048 Py_INCREF(Py_None
); resultobj
= Py_None
;
12055 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12056 PyObject
*resultobj
;
12057 wxDC
*arg1
= (wxDC
*) 0 ;
12058 wxPoint
*arg2
= 0 ;
12062 PyObject
* obj0
= 0 ;
12063 PyObject
* obj1
= 0 ;
12064 PyObject
* obj2
= 0 ;
12065 char *kwnames
[] = {
12066 (char *) "self",(char *) "pt",(char *) "sz", NULL
12069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12074 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12078 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12084 wxPyEndAllowThreads(__tstate
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12087 Py_INCREF(Py_None
); resultobj
= Py_None
;
12094 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12095 PyObject
*resultobj
;
12096 wxDC
*arg1
= (wxDC
*) 0 ;
12102 PyObject
* obj0
= 0 ;
12103 PyObject
* obj1
= 0 ;
12104 PyObject
* obj2
= 0 ;
12105 PyObject
* obj3
= 0 ;
12106 PyObject
* obj4
= 0 ;
12107 PyObject
* obj5
= 0 ;
12108 char *kwnames
[] = {
12109 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
12112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12115 arg2
= (int)SWIG_As_int(obj1
);
12116 if (PyErr_Occurred()) SWIG_fail
;
12117 arg3
= (int)SWIG_As_int(obj2
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12119 arg4
= (int)SWIG_As_int(obj3
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12121 arg5
= (int)SWIG_As_int(obj4
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12123 arg6
= (double)SWIG_As_double(obj5
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12127 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
12129 wxPyEndAllowThreads(__tstate
);
12130 if (PyErr_Occurred()) SWIG_fail
;
12132 Py_INCREF(Py_None
); resultobj
= Py_None
;
12139 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12140 PyObject
*resultobj
;
12141 wxDC
*arg1
= (wxDC
*) 0 ;
12145 PyObject
* obj0
= 0 ;
12146 PyObject
* obj1
= 0 ;
12147 PyObject
* obj2
= 0 ;
12148 char *kwnames
[] = {
12149 (char *) "self",(char *) "r",(char *) "radius", NULL
12152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12157 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12159 arg3
= (double)SWIG_As_double(obj2
);
12160 if (PyErr_Occurred()) SWIG_fail
;
12162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12163 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
12165 wxPyEndAllowThreads(__tstate
);
12166 if (PyErr_Occurred()) SWIG_fail
;
12168 Py_INCREF(Py_None
); resultobj
= Py_None
;
12175 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12176 PyObject
*resultobj
;
12177 wxDC
*arg1
= (wxDC
*) 0 ;
12178 wxPoint
*arg2
= 0 ;
12183 PyObject
* obj0
= 0 ;
12184 PyObject
* obj1
= 0 ;
12185 PyObject
* obj2
= 0 ;
12186 PyObject
* obj3
= 0 ;
12187 char *kwnames
[] = {
12188 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
12191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12196 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12200 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12202 arg4
= (double)SWIG_As_double(obj3
);
12203 if (PyErr_Occurred()) SWIG_fail
;
12205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12206 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
12208 wxPyEndAllowThreads(__tstate
);
12209 if (PyErr_Occurred()) SWIG_fail
;
12211 Py_INCREF(Py_None
); resultobj
= Py_None
;
12218 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12219 PyObject
*resultobj
;
12220 wxDC
*arg1
= (wxDC
*) 0 ;
12224 PyObject
* obj0
= 0 ;
12225 PyObject
* obj1
= 0 ;
12226 PyObject
* obj2
= 0 ;
12227 PyObject
* obj3
= 0 ;
12228 char *kwnames
[] = {
12229 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
12232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12235 arg2
= (int)SWIG_As_int(obj1
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12237 arg3
= (int)SWIG_As_int(obj2
);
12238 if (PyErr_Occurred()) SWIG_fail
;
12239 arg4
= (int)SWIG_As_int(obj3
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12243 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12248 Py_INCREF(Py_None
); resultobj
= Py_None
;
12255 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12256 PyObject
*resultobj
;
12257 wxDC
*arg1
= (wxDC
*) 0 ;
12258 wxPoint
*arg2
= 0 ;
12261 PyObject
* obj0
= 0 ;
12262 PyObject
* obj1
= 0 ;
12263 PyObject
* obj2
= 0 ;
12264 char *kwnames
[] = {
12265 (char *) "self",(char *) "pt",(char *) "radius", NULL
12268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12273 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12275 arg3
= (int)SWIG_As_int(obj2
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12279 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
12281 wxPyEndAllowThreads(__tstate
);
12282 if (PyErr_Occurred()) SWIG_fail
;
12284 Py_INCREF(Py_None
); resultobj
= Py_None
;
12291 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12292 PyObject
*resultobj
;
12293 wxDC
*arg1
= (wxDC
*) 0 ;
12298 PyObject
* obj0
= 0 ;
12299 PyObject
* obj1
= 0 ;
12300 PyObject
* obj2
= 0 ;
12301 PyObject
* obj3
= 0 ;
12302 PyObject
* obj4
= 0 ;
12303 char *kwnames
[] = {
12304 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12310 arg2
= (int)SWIG_As_int(obj1
);
12311 if (PyErr_Occurred()) SWIG_fail
;
12312 arg3
= (int)SWIG_As_int(obj2
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12314 arg4
= (int)SWIG_As_int(obj3
);
12315 if (PyErr_Occurred()) SWIG_fail
;
12316 arg5
= (int)SWIG_As_int(obj4
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
12322 wxPyEndAllowThreads(__tstate
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12325 Py_INCREF(Py_None
); resultobj
= Py_None
;
12332 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12333 PyObject
*resultobj
;
12334 wxDC
*arg1
= (wxDC
*) 0 ;
12337 PyObject
* obj0
= 0 ;
12338 PyObject
* obj1
= 0 ;
12339 char *kwnames
[] = {
12340 (char *) "self",(char *) "rect", NULL
12343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12348 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12352 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
12354 wxPyEndAllowThreads(__tstate
);
12355 if (PyErr_Occurred()) SWIG_fail
;
12357 Py_INCREF(Py_None
); resultobj
= Py_None
;
12364 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12365 PyObject
*resultobj
;
12366 wxDC
*arg1
= (wxDC
*) 0 ;
12367 wxPoint
*arg2
= 0 ;
12371 PyObject
* obj0
= 0 ;
12372 PyObject
* obj1
= 0 ;
12373 PyObject
* obj2
= 0 ;
12374 char *kwnames
[] = {
12375 (char *) "self",(char *) "pt",(char *) "sz", NULL
12378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12383 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12387 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12391 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12393 wxPyEndAllowThreads(__tstate
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12396 Py_INCREF(Py_None
); resultobj
= Py_None
;
12403 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12404 PyObject
*resultobj
;
12405 wxDC
*arg1
= (wxDC
*) 0 ;
12409 PyObject
* obj0
= 0 ;
12410 PyObject
* obj1
= 0 ;
12411 PyObject
* obj2
= 0 ;
12412 PyObject
* obj3
= 0 ;
12413 char *kwnames
[] = {
12414 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
12417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
12421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12423 if (arg2
== NULL
) {
12424 PyErr_SetString(PyExc_TypeError
,"null reference");
12427 arg3
= (int)SWIG_As_int(obj2
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12429 arg4
= (int)SWIG_As_int(obj3
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12433 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
12435 wxPyEndAllowThreads(__tstate
);
12436 if (PyErr_Occurred()) SWIG_fail
;
12438 Py_INCREF(Py_None
); resultobj
= Py_None
;
12445 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12446 PyObject
*resultobj
;
12447 wxDC
*arg1
= (wxDC
*) 0 ;
12449 wxPoint
*arg3
= 0 ;
12451 PyObject
* obj0
= 0 ;
12452 PyObject
* obj1
= 0 ;
12453 PyObject
* obj2
= 0 ;
12454 char *kwnames
[] = {
12455 (char *) "self",(char *) "icon",(char *) "pt", NULL
12458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
12462 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12464 if (arg2
== NULL
) {
12465 PyErr_SetString(PyExc_TypeError
,"null reference");
12470 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12474 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
12476 wxPyEndAllowThreads(__tstate
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12479 Py_INCREF(Py_None
); resultobj
= Py_None
;
12486 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12487 PyObject
*resultobj
;
12488 wxDC
*arg1
= (wxDC
*) 0 ;
12489 wxBitmap
*arg2
= 0 ;
12492 bool arg5
= (bool) false ;
12493 PyObject
* obj0
= 0 ;
12494 PyObject
* obj1
= 0 ;
12495 PyObject
* obj2
= 0 ;
12496 PyObject
* obj3
= 0 ;
12497 PyObject
* obj4
= 0 ;
12498 char *kwnames
[] = {
12499 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
12502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
12506 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12508 if (arg2
== NULL
) {
12509 PyErr_SetString(PyExc_TypeError
,"null reference");
12512 arg3
= (int)SWIG_As_int(obj2
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12514 arg4
= (int)SWIG_As_int(obj3
);
12515 if (PyErr_Occurred()) SWIG_fail
;
12517 arg5
= (bool)SWIG_As_bool(obj4
);
12518 if (PyErr_Occurred()) SWIG_fail
;
12521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12522 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
12524 wxPyEndAllowThreads(__tstate
);
12525 if (PyErr_Occurred()) SWIG_fail
;
12527 Py_INCREF(Py_None
); resultobj
= Py_None
;
12534 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12535 PyObject
*resultobj
;
12536 wxDC
*arg1
= (wxDC
*) 0 ;
12537 wxBitmap
*arg2
= 0 ;
12538 wxPoint
*arg3
= 0 ;
12539 bool arg4
= (bool) false ;
12541 PyObject
* obj0
= 0 ;
12542 PyObject
* obj1
= 0 ;
12543 PyObject
* obj2
= 0 ;
12544 PyObject
* obj3
= 0 ;
12545 char *kwnames
[] = {
12546 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
12549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
12553 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12555 if (arg2
== NULL
) {
12556 PyErr_SetString(PyExc_TypeError
,"null reference");
12561 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12564 arg4
= (bool)SWIG_As_bool(obj3
);
12565 if (PyErr_Occurred()) SWIG_fail
;
12568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12569 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12571 wxPyEndAllowThreads(__tstate
);
12572 if (PyErr_Occurred()) SWIG_fail
;
12574 Py_INCREF(Py_None
); resultobj
= Py_None
;
12581 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12582 PyObject
*resultobj
;
12583 wxDC
*arg1
= (wxDC
*) 0 ;
12584 wxString
*arg2
= 0 ;
12587 bool temp2
= false ;
12588 PyObject
* obj0
= 0 ;
12589 PyObject
* obj1
= 0 ;
12590 PyObject
* obj2
= 0 ;
12591 PyObject
* obj3
= 0 ;
12592 char *kwnames
[] = {
12593 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
12596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12600 arg2
= wxString_in_helper(obj1
);
12601 if (arg2
== NULL
) SWIG_fail
;
12604 arg3
= (int)SWIG_As_int(obj2
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12606 arg4
= (int)SWIG_As_int(obj3
);
12607 if (PyErr_Occurred()) SWIG_fail
;
12609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12610 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
12612 wxPyEndAllowThreads(__tstate
);
12613 if (PyErr_Occurred()) SWIG_fail
;
12615 Py_INCREF(Py_None
); resultobj
= Py_None
;
12630 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12631 PyObject
*resultobj
;
12632 wxDC
*arg1
= (wxDC
*) 0 ;
12633 wxString
*arg2
= 0 ;
12634 wxPoint
*arg3
= 0 ;
12635 bool temp2
= false ;
12637 PyObject
* obj0
= 0 ;
12638 PyObject
* obj1
= 0 ;
12639 PyObject
* obj2
= 0 ;
12640 char *kwnames
[] = {
12641 (char *) "self",(char *) "text",(char *) "pt", NULL
12644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12648 arg2
= wxString_in_helper(obj1
);
12649 if (arg2
== NULL
) SWIG_fail
;
12654 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
12660 wxPyEndAllowThreads(__tstate
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12663 Py_INCREF(Py_None
); resultobj
= Py_None
;
12678 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12679 PyObject
*resultobj
;
12680 wxDC
*arg1
= (wxDC
*) 0 ;
12681 wxString
*arg2
= 0 ;
12685 bool temp2
= false ;
12686 PyObject
* obj0
= 0 ;
12687 PyObject
* obj1
= 0 ;
12688 PyObject
* obj2
= 0 ;
12689 PyObject
* obj3
= 0 ;
12690 PyObject
* obj4
= 0 ;
12691 char *kwnames
[] = {
12692 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
12695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12699 arg2
= wxString_in_helper(obj1
);
12700 if (arg2
== NULL
) SWIG_fail
;
12703 arg3
= (int)SWIG_As_int(obj2
);
12704 if (PyErr_Occurred()) SWIG_fail
;
12705 arg4
= (int)SWIG_As_int(obj3
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12707 arg5
= (double)SWIG_As_double(obj4
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12711 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12713 wxPyEndAllowThreads(__tstate
);
12714 if (PyErr_Occurred()) SWIG_fail
;
12716 Py_INCREF(Py_None
); resultobj
= Py_None
;
12731 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12732 PyObject
*resultobj
;
12733 wxDC
*arg1
= (wxDC
*) 0 ;
12734 wxString
*arg2
= 0 ;
12735 wxPoint
*arg3
= 0 ;
12737 bool temp2
= false ;
12739 PyObject
* obj0
= 0 ;
12740 PyObject
* obj1
= 0 ;
12741 PyObject
* obj2
= 0 ;
12742 PyObject
* obj3
= 0 ;
12743 char *kwnames
[] = {
12744 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
12747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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
;
12757 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12759 arg4
= (double)SWIG_As_double(obj3
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12763 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12765 wxPyEndAllowThreads(__tstate
);
12766 if (PyErr_Occurred()) SWIG_fail
;
12768 Py_INCREF(Py_None
); resultobj
= Py_None
;
12783 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12784 PyObject
*resultobj
;
12785 wxDC
*arg1
= (wxDC
*) 0 ;
12790 wxDC
*arg6
= (wxDC
*) 0 ;
12793 int arg9
= (int) wxCOPY
;
12794 bool arg10
= (bool) false ;
12795 int arg11
= (int) -1 ;
12796 int arg12
= (int) -1 ;
12798 PyObject
* obj0
= 0 ;
12799 PyObject
* obj1
= 0 ;
12800 PyObject
* obj2
= 0 ;
12801 PyObject
* obj3
= 0 ;
12802 PyObject
* obj4
= 0 ;
12803 PyObject
* obj5
= 0 ;
12804 PyObject
* obj6
= 0 ;
12805 PyObject
* obj7
= 0 ;
12806 PyObject
* obj8
= 0 ;
12807 PyObject
* obj9
= 0 ;
12808 PyObject
* obj10
= 0 ;
12809 PyObject
* obj11
= 0 ;
12810 char *kwnames
[] = {
12811 (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
12814 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
;
12815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12817 arg2
= (int)SWIG_As_int(obj1
);
12818 if (PyErr_Occurred()) SWIG_fail
;
12819 arg3
= (int)SWIG_As_int(obj2
);
12820 if (PyErr_Occurred()) SWIG_fail
;
12821 arg4
= (int)SWIG_As_int(obj3
);
12822 if (PyErr_Occurred()) SWIG_fail
;
12823 arg5
= (int)SWIG_As_int(obj4
);
12824 if (PyErr_Occurred()) SWIG_fail
;
12825 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
12826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12827 arg7
= (int)SWIG_As_int(obj6
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12829 arg8
= (int)SWIG_As_int(obj7
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12832 arg9
= (int)SWIG_As_int(obj8
);
12833 if (PyErr_Occurred()) SWIG_fail
;
12836 arg10
= (bool)SWIG_As_bool(obj9
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12840 arg11
= (int)SWIG_As_int(obj10
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12844 arg12
= (int)SWIG_As_int(obj11
);
12845 if (PyErr_Occurred()) SWIG_fail
;
12848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12849 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12851 wxPyEndAllowThreads(__tstate
);
12852 if (PyErr_Occurred()) SWIG_fail
;
12855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12863 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12864 PyObject
*resultobj
;
12865 wxDC
*arg1
= (wxDC
*) 0 ;
12866 wxPoint
*arg2
= 0 ;
12868 wxDC
*arg4
= (wxDC
*) 0 ;
12869 wxPoint
*arg5
= 0 ;
12870 int arg6
= (int) wxCOPY
;
12871 bool arg7
= (bool) false ;
12872 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
12873 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
12879 PyObject
* obj0
= 0 ;
12880 PyObject
* obj1
= 0 ;
12881 PyObject
* obj2
= 0 ;
12882 PyObject
* obj3
= 0 ;
12883 PyObject
* obj4
= 0 ;
12884 PyObject
* obj5
= 0 ;
12885 PyObject
* obj6
= 0 ;
12886 PyObject
* obj7
= 0 ;
12887 char *kwnames
[] = {
12888 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12896 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12900 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12902 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
12903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12906 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12909 arg6
= (int)SWIG_As_int(obj5
);
12910 if (PyErr_Occurred()) SWIG_fail
;
12913 arg7
= (bool)SWIG_As_bool(obj6
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12919 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
12923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12924 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
12926 wxPyEndAllowThreads(__tstate
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12938 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12939 PyObject
*resultobj
;
12940 wxDC
*arg1
= (wxDC
*) 0 ;
12945 PyObject
* obj0
= 0 ;
12946 PyObject
* obj1
= 0 ;
12947 PyObject
* obj2
= 0 ;
12948 PyObject
* obj3
= 0 ;
12949 PyObject
* obj4
= 0 ;
12950 char *kwnames
[] = {
12951 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12957 arg2
= (int)SWIG_As_int(obj1
);
12958 if (PyErr_Occurred()) SWIG_fail
;
12959 arg3
= (int)SWIG_As_int(obj2
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12961 arg4
= (int)SWIG_As_int(obj3
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12963 arg5
= (int)SWIG_As_int(obj4
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12967 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12969 wxPyEndAllowThreads(__tstate
);
12970 if (PyErr_Occurred()) SWIG_fail
;
12972 Py_INCREF(Py_None
); resultobj
= Py_None
;
12979 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12980 PyObject
*resultobj
;
12981 wxDC
*arg1
= (wxDC
*) 0 ;
12982 wxPoint
*arg2
= 0 ;
12986 PyObject
* obj0
= 0 ;
12987 PyObject
* obj1
= 0 ;
12988 PyObject
* obj2
= 0 ;
12989 char *kwnames
[] = {
12990 (char *) "self",(char *) "pt",(char *) "sz", NULL
12993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12998 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13002 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13006 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13011 Py_INCREF(Py_None
); resultobj
= Py_None
;
13018 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13019 PyObject
*resultobj
;
13020 wxDC
*arg1
= (wxDC
*) 0 ;
13021 wxRegion
*arg2
= 0 ;
13022 PyObject
* obj0
= 0 ;
13023 PyObject
* obj1
= 0 ;
13024 char *kwnames
[] = {
13025 (char *) "self",(char *) "region", NULL
13028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
13029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13031 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
13032 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13034 if (arg2
== NULL
) {
13035 PyErr_SetString(PyExc_TypeError
,"null reference");
13039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13040 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13045 Py_INCREF(Py_None
); resultobj
= Py_None
;
13052 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
;
13054 wxDC
*arg1
= (wxDC
*) 0 ;
13057 PyObject
* obj0
= 0 ;
13058 PyObject
* obj1
= 0 ;
13059 char *kwnames
[] = {
13060 (char *) "self",(char *) "rect", NULL
13063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13068 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13072 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
13074 wxPyEndAllowThreads(__tstate
);
13075 if (PyErr_Occurred()) SWIG_fail
;
13077 Py_INCREF(Py_None
); resultobj
= Py_None
;
13084 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13085 PyObject
*resultobj
;
13086 wxDC
*arg1
= (wxDC
*) 0 ;
13088 wxPoint
*arg3
= (wxPoint
*) 0 ;
13089 int arg4
= (int) 0 ;
13090 int arg5
= (int) 0 ;
13091 PyObject
* obj0
= 0 ;
13092 PyObject
* obj1
= 0 ;
13093 PyObject
* obj2
= 0 ;
13094 PyObject
* obj3
= 0 ;
13095 char *kwnames
[] = {
13096 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
13099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13103 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
13104 if (arg3
== NULL
) SWIG_fail
;
13107 arg4
= (int)SWIG_As_int(obj2
);
13108 if (PyErr_Occurred()) SWIG_fail
;
13111 arg5
= (int)SWIG_As_int(obj3
);
13112 if (PyErr_Occurred()) SWIG_fail
;
13115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13116 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
13118 wxPyEndAllowThreads(__tstate
);
13119 if (PyErr_Occurred()) SWIG_fail
;
13121 Py_INCREF(Py_None
); resultobj
= Py_None
;
13123 if (arg3
) delete [] arg3
;
13128 if (arg3
) delete [] arg3
;
13134 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13135 PyObject
*resultobj
;
13136 wxDC
*arg1
= (wxDC
*) 0 ;
13138 wxPoint
*arg3
= (wxPoint
*) 0 ;
13139 int arg4
= (int) 0 ;
13140 int arg5
= (int) 0 ;
13141 int arg6
= (int) wxODDEVEN_RULE
;
13142 PyObject
* obj0
= 0 ;
13143 PyObject
* obj1
= 0 ;
13144 PyObject
* obj2
= 0 ;
13145 PyObject
* obj3
= 0 ;
13146 PyObject
* obj4
= 0 ;
13147 char *kwnames
[] = {
13148 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
13151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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 arg6
= (int)SWIG_As_int(obj4
);
13168 if (PyErr_Occurred()) SWIG_fail
;
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13177 Py_INCREF(Py_None
); resultobj
= Py_None
;
13179 if (arg3
) delete [] arg3
;
13184 if (arg3
) delete [] arg3
;
13190 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13191 PyObject
*resultobj
;
13192 wxDC
*arg1
= (wxDC
*) 0 ;
13193 wxString
*arg2
= 0 ;
13195 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
13196 int arg5
= (int) -1 ;
13197 bool temp2
= false ;
13199 PyObject
* obj0
= 0 ;
13200 PyObject
* obj1
= 0 ;
13201 PyObject
* obj2
= 0 ;
13202 PyObject
* obj3
= 0 ;
13203 PyObject
* obj4
= 0 ;
13204 char *kwnames
[] = {
13205 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
13208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13212 arg2
= wxString_in_helper(obj1
);
13213 if (arg2
== NULL
) SWIG_fail
;
13218 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
13221 arg4
= (int)SWIG_As_int(obj3
);
13222 if (PyErr_Occurred()) SWIG_fail
;
13225 arg5
= (int)SWIG_As_int(obj4
);
13226 if (PyErr_Occurred()) SWIG_fail
;
13229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13230 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
13232 wxPyEndAllowThreads(__tstate
);
13233 if (PyErr_Occurred()) SWIG_fail
;
13235 Py_INCREF(Py_None
); resultobj
= Py_None
;
13250 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13251 PyObject
*resultobj
;
13252 wxDC
*arg1
= (wxDC
*) 0 ;
13253 wxString
*arg2
= 0 ;
13254 wxBitmap
*arg3
= 0 ;
13256 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
13257 int arg6
= (int) -1 ;
13259 bool temp2
= false ;
13261 PyObject
* obj0
= 0 ;
13262 PyObject
* obj1
= 0 ;
13263 PyObject
* obj2
= 0 ;
13264 PyObject
* obj3
= 0 ;
13265 PyObject
* obj4
= 0 ;
13266 PyObject
* obj5
= 0 ;
13267 char *kwnames
[] = {
13268 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
13271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13275 arg2
= wxString_in_helper(obj1
);
13276 if (arg2
== NULL
) SWIG_fail
;
13279 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
13280 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13282 if (arg3
== NULL
) {
13283 PyErr_SetString(PyExc_TypeError
,"null reference");
13288 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
13291 arg5
= (int)SWIG_As_int(obj4
);
13292 if (PyErr_Occurred()) SWIG_fail
;
13295 arg6
= (int)SWIG_As_int(obj5
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13306 wxRect
* resultptr
;
13307 resultptr
= new wxRect((wxRect
&) result
);
13308 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13324 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13325 PyObject
*resultobj
;
13326 wxDC
*arg1
= (wxDC
*) 0 ;
13328 wxPoint
*arg3
= (wxPoint
*) 0 ;
13329 PyObject
* obj0
= 0 ;
13330 PyObject
* obj1
= 0 ;
13331 char *kwnames
[] = {
13332 (char *) "self",(char *) "points", NULL
13335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
13336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13339 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
13340 if (arg3
== NULL
) SWIG_fail
;
13343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13344 (arg1
)->DrawSpline(arg2
,arg3
);
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13349 Py_INCREF(Py_None
); resultobj
= Py_None
;
13351 if (arg3
) delete [] arg3
;
13356 if (arg3
) delete [] arg3
;
13362 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13363 PyObject
*resultobj
;
13364 wxDC
*arg1
= (wxDC
*) 0 ;
13365 PyObject
* obj0
= 0 ;
13366 char *kwnames
[] = {
13367 (char *) "self", NULL
13370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
13371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13377 wxPyEndAllowThreads(__tstate
);
13378 if (PyErr_Occurred()) SWIG_fail
;
13380 Py_INCREF(Py_None
); resultobj
= Py_None
;
13387 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13388 PyObject
*resultobj
;
13389 wxDC
*arg1
= (wxDC
*) 0 ;
13390 wxString
*arg2
= 0 ;
13392 bool temp2
= false ;
13393 PyObject
* obj0
= 0 ;
13394 PyObject
* obj1
= 0 ;
13395 char *kwnames
[] = {
13396 (char *) "self",(char *) "message", NULL
13399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
13400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13403 arg2
= wxString_in_helper(obj1
);
13404 if (arg2
== NULL
) SWIG_fail
;
13408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13409 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
13411 wxPyEndAllowThreads(__tstate
);
13412 if (PyErr_Occurred()) SWIG_fail
;
13415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13431 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13432 PyObject
*resultobj
;
13433 wxDC
*arg1
= (wxDC
*) 0 ;
13434 PyObject
* obj0
= 0 ;
13435 char *kwnames
[] = {
13436 (char *) "self", NULL
13439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
13440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13446 wxPyEndAllowThreads(__tstate
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13449 Py_INCREF(Py_None
); resultobj
= Py_None
;
13456 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
*resultobj
;
13458 wxDC
*arg1
= (wxDC
*) 0 ;
13459 PyObject
* obj0
= 0 ;
13460 char *kwnames
[] = {
13461 (char *) "self", NULL
13464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
13465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13469 (arg1
)->StartPage();
13471 wxPyEndAllowThreads(__tstate
);
13472 if (PyErr_Occurred()) SWIG_fail
;
13474 Py_INCREF(Py_None
); resultobj
= Py_None
;
13481 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13482 PyObject
*resultobj
;
13483 wxDC
*arg1
= (wxDC
*) 0 ;
13484 PyObject
* obj0
= 0 ;
13485 char *kwnames
[] = {
13486 (char *) "self", NULL
13489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
13490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13496 wxPyEndAllowThreads(__tstate
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13499 Py_INCREF(Py_None
); resultobj
= Py_None
;
13506 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13507 PyObject
*resultobj
;
13508 wxDC
*arg1
= (wxDC
*) 0 ;
13510 PyObject
* obj0
= 0 ;
13511 PyObject
* obj1
= 0 ;
13512 char *kwnames
[] = {
13513 (char *) "self",(char *) "font", NULL
13516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13519 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13520 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13522 if (arg2
== NULL
) {
13523 PyErr_SetString(PyExc_TypeError
,"null reference");
13527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13528 (arg1
)->SetFont((wxFont
const &)*arg2
);
13530 wxPyEndAllowThreads(__tstate
);
13531 if (PyErr_Occurred()) SWIG_fail
;
13533 Py_INCREF(Py_None
); resultobj
= Py_None
;
13540 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13541 PyObject
*resultobj
;
13542 wxDC
*arg1
= (wxDC
*) 0 ;
13544 PyObject
* obj0
= 0 ;
13545 PyObject
* obj1
= 0 ;
13546 char *kwnames
[] = {
13547 (char *) "self",(char *) "pen", NULL
13550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
13551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
13554 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13556 if (arg2
== NULL
) {
13557 PyErr_SetString(PyExc_TypeError
,"null reference");
13561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13562 (arg1
)->SetPen((wxPen
const &)*arg2
);
13564 wxPyEndAllowThreads(__tstate
);
13565 if (PyErr_Occurred()) SWIG_fail
;
13567 Py_INCREF(Py_None
); resultobj
= Py_None
;
13574 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13575 PyObject
*resultobj
;
13576 wxDC
*arg1
= (wxDC
*) 0 ;
13577 wxBrush
*arg2
= 0 ;
13578 PyObject
* obj0
= 0 ;
13579 PyObject
* obj1
= 0 ;
13580 char *kwnames
[] = {
13581 (char *) "self",(char *) "brush", NULL
13584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
13585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13588 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13590 if (arg2
== NULL
) {
13591 PyErr_SetString(PyExc_TypeError
,"null reference");
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
13598 wxPyEndAllowThreads(__tstate
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13601 Py_INCREF(Py_None
); resultobj
= Py_None
;
13608 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13609 PyObject
*resultobj
;
13610 wxDC
*arg1
= (wxDC
*) 0 ;
13611 wxBrush
*arg2
= 0 ;
13612 PyObject
* obj0
= 0 ;
13613 PyObject
* obj1
= 0 ;
13614 char *kwnames
[] = {
13615 (char *) "self",(char *) "brush", NULL
13618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13621 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13622 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13624 if (arg2
== NULL
) {
13625 PyErr_SetString(PyExc_TypeError
,"null reference");
13629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13630 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
13632 wxPyEndAllowThreads(__tstate
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13635 Py_INCREF(Py_None
); resultobj
= Py_None
;
13642 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13643 PyObject
*resultobj
;
13644 wxDC
*arg1
= (wxDC
*) 0 ;
13646 PyObject
* obj0
= 0 ;
13647 PyObject
* obj1
= 0 ;
13648 char *kwnames
[] = {
13649 (char *) "self",(char *) "mode", NULL
13652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13655 arg2
= (int)SWIG_As_int(obj1
);
13656 if (PyErr_Occurred()) SWIG_fail
;
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 (arg1
)->SetBackgroundMode(arg2
);
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13664 Py_INCREF(Py_None
); resultobj
= Py_None
;
13671 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13672 PyObject
*resultobj
;
13673 wxDC
*arg1
= (wxDC
*) 0 ;
13674 wxPalette
*arg2
= 0 ;
13675 PyObject
* obj0
= 0 ;
13676 PyObject
* obj1
= 0 ;
13677 char *kwnames
[] = {
13678 (char *) "self",(char *) "palette", NULL
13681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
13682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
13685 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13687 if (arg2
== NULL
) {
13688 PyErr_SetString(PyExc_TypeError
,"null reference");
13692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13693 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
13695 wxPyEndAllowThreads(__tstate
);
13696 if (PyErr_Occurred()) SWIG_fail
;
13698 Py_INCREF(Py_None
); resultobj
= Py_None
;
13705 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13706 PyObject
*resultobj
;
13707 wxDC
*arg1
= (wxDC
*) 0 ;
13708 PyObject
* obj0
= 0 ;
13709 char *kwnames
[] = {
13710 (char *) "self", NULL
13713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
13714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13718 (arg1
)->DestroyClippingRegion();
13720 wxPyEndAllowThreads(__tstate
);
13721 if (PyErr_Occurred()) SWIG_fail
;
13723 Py_INCREF(Py_None
); resultobj
= Py_None
;
13730 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13731 PyObject
*resultobj
;
13732 wxDC
*arg1
= (wxDC
*) 0 ;
13733 int *arg2
= (int *) 0 ;
13734 int *arg3
= (int *) 0 ;
13735 int *arg4
= (int *) 0 ;
13736 int *arg5
= (int *) 0 ;
13745 PyObject
* obj0
= 0 ;
13746 char *kwnames
[] = {
13747 (char *) "self", NULL
13750 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13751 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13752 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13753 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
13755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13759 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
13761 wxPyEndAllowThreads(__tstate
);
13762 if (PyErr_Occurred()) SWIG_fail
;
13764 Py_INCREF(Py_None
); resultobj
= Py_None
;
13765 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13766 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13767 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13768 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13769 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13770 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13771 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13772 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13779 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13780 PyObject
*resultobj
;
13781 wxDC
*arg1
= (wxDC
*) 0 ;
13783 PyObject
* obj0
= 0 ;
13784 char *kwnames
[] = {
13785 (char *) "self", NULL
13788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
13789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13793 result
= wxDC_GetClippingRect(arg1
);
13795 wxPyEndAllowThreads(__tstate
);
13796 if (PyErr_Occurred()) SWIG_fail
;
13799 wxRect
* resultptr
;
13800 resultptr
= new wxRect((wxRect
&) result
);
13801 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13809 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13810 PyObject
*resultobj
;
13811 wxDC
*arg1
= (wxDC
*) 0 ;
13813 PyObject
* obj0
= 0 ;
13814 char *kwnames
[] = {
13815 (char *) "self", NULL
13818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
13819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13823 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
13825 wxPyEndAllowThreads(__tstate
);
13826 if (PyErr_Occurred()) SWIG_fail
;
13828 resultobj
= SWIG_From_int((int)result
);
13835 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13836 PyObject
*resultobj
;
13837 wxDC
*arg1
= (wxDC
*) 0 ;
13839 PyObject
* obj0
= 0 ;
13840 char *kwnames
[] = {
13841 (char *) "self", NULL
13844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
13845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13849 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13854 resultobj
= SWIG_From_int((int)result
);
13861 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
;
13863 wxDC
*arg1
= (wxDC
*) 0 ;
13864 wxString
*arg2
= 0 ;
13865 int *arg3
= (int *) 0 ;
13866 int *arg4
= (int *) 0 ;
13867 bool temp2
= false ;
13872 PyObject
* obj0
= 0 ;
13873 PyObject
* obj1
= 0 ;
13874 char *kwnames
[] = {
13875 (char *) "self",(char *) "string", NULL
13878 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13879 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
13881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13884 arg2
= wxString_in_helper(obj1
);
13885 if (arg2
== NULL
) SWIG_fail
;
13889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13890 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
13892 wxPyEndAllowThreads(__tstate
);
13893 if (PyErr_Occurred()) SWIG_fail
;
13895 Py_INCREF(Py_None
); resultobj
= Py_None
;
13896 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13897 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13898 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13899 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13914 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13915 PyObject
*resultobj
;
13916 wxDC
*arg1
= (wxDC
*) 0 ;
13917 wxString
*arg2
= 0 ;
13918 int *arg3
= (int *) 0 ;
13919 int *arg4
= (int *) 0 ;
13920 int *arg5
= (int *) 0 ;
13921 int *arg6
= (int *) 0 ;
13922 wxFont
*arg7
= (wxFont
*) NULL
;
13923 bool temp2
= false ;
13932 PyObject
* obj0
= 0 ;
13933 PyObject
* obj1
= 0 ;
13934 PyObject
* obj2
= 0 ;
13935 char *kwnames
[] = {
13936 (char *) "self",(char *) "string",(char *) "font", NULL
13939 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13940 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13941 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13942 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
13943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13947 arg2
= wxString_in_helper(obj1
);
13948 if (arg2
== NULL
) SWIG_fail
;
13952 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
13953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13957 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13959 wxPyEndAllowThreads(__tstate
);
13960 if (PyErr_Occurred()) SWIG_fail
;
13962 Py_INCREF(Py_None
); resultobj
= Py_None
;
13963 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13964 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13965 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13966 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13967 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13968 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13969 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
13970 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
13985 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13986 PyObject
*resultobj
;
13987 wxDC
*arg1
= (wxDC
*) 0 ;
13988 wxString
*arg2
= 0 ;
13989 int *arg3
= (int *) 0 ;
13990 int *arg4
= (int *) 0 ;
13991 int *arg5
= (int *) 0 ;
13992 wxFont
*arg6
= (wxFont
*) NULL
;
13993 bool temp2
= false ;
14000 PyObject
* obj0
= 0 ;
14001 PyObject
* obj1
= 0 ;
14002 PyObject
* obj2
= 0 ;
14003 char *kwnames
[] = {
14004 (char *) "self",(char *) "text",(char *) "font", NULL
14007 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14008 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
14009 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
14010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14014 arg2
= wxString_in_helper(obj1
);
14015 if (arg2
== NULL
) SWIG_fail
;
14019 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
14020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14024 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
14026 wxPyEndAllowThreads(__tstate
);
14027 if (PyErr_Occurred()) SWIG_fail
;
14029 Py_INCREF(Py_None
); resultobj
= Py_None
;
14030 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14031 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14032 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
14033 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
14034 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
14035 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
14050 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14051 PyObject
*resultobj
;
14052 wxDC
*arg1
= (wxDC
*) 0 ;
14053 wxString
*arg2
= 0 ;
14055 bool temp2
= false ;
14056 PyObject
* obj0
= 0 ;
14057 PyObject
* obj1
= 0 ;
14058 char *kwnames
[] = {
14059 (char *) "self",(char *) "text", NULL
14062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14072 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
14074 wxPyEndAllowThreads(__tstate
);
14075 if (PyErr_Occurred()) SWIG_fail
;
14078 resultobj
= PyList_New(0);
14080 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
14081 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
14082 PyList_Append(resultobj
, val
);
14100 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14101 PyObject
*resultobj
;
14102 wxDC
*arg1
= (wxDC
*) 0 ;
14104 PyObject
* obj0
= 0 ;
14105 char *kwnames
[] = {
14106 (char *) "self", NULL
14109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
14110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14114 result
= (arg1
)->GetSize();
14116 wxPyEndAllowThreads(__tstate
);
14117 if (PyErr_Occurred()) SWIG_fail
;
14120 wxSize
* resultptr
;
14121 resultptr
= new wxSize((wxSize
&) result
);
14122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14130 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14131 PyObject
*resultobj
;
14132 wxDC
*arg1
= (wxDC
*) 0 ;
14133 int *arg2
= (int *) 0 ;
14134 int *arg3
= (int *) 0 ;
14139 PyObject
* obj0
= 0 ;
14140 char *kwnames
[] = {
14141 (char *) "self", NULL
14144 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14145 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
14147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14151 (arg1
)->GetSize(arg2
,arg3
);
14153 wxPyEndAllowThreads(__tstate
);
14154 if (PyErr_Occurred()) SWIG_fail
;
14156 Py_INCREF(Py_None
); resultobj
= Py_None
;
14157 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14158 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14159 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14160 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14167 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14168 PyObject
*resultobj
;
14169 wxDC
*arg1
= (wxDC
*) 0 ;
14171 PyObject
* obj0
= 0 ;
14172 char *kwnames
[] = {
14173 (char *) "self", NULL
14176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
14177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14181 result
= ((wxDC
const *)arg1
)->GetSizeMM();
14183 wxPyEndAllowThreads(__tstate
);
14184 if (PyErr_Occurred()) SWIG_fail
;
14187 wxSize
* resultptr
;
14188 resultptr
= new wxSize((wxSize
&) result
);
14189 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14197 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14198 PyObject
*resultobj
;
14199 wxDC
*arg1
= (wxDC
*) 0 ;
14200 int *arg2
= (int *) 0 ;
14201 int *arg3
= (int *) 0 ;
14206 PyObject
* obj0
= 0 ;
14207 char *kwnames
[] = {
14208 (char *) "self", NULL
14211 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14212 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
14214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14218 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
14220 wxPyEndAllowThreads(__tstate
);
14221 if (PyErr_Occurred()) SWIG_fail
;
14223 Py_INCREF(Py_None
); resultobj
= Py_None
;
14224 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14225 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14226 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14227 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14234 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14235 PyObject
*resultobj
;
14236 wxDC
*arg1
= (wxDC
*) 0 ;
14239 PyObject
* obj0
= 0 ;
14240 PyObject
* obj1
= 0 ;
14241 char *kwnames
[] = {
14242 (char *) "self",(char *) "x", NULL
14245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
14246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14248 arg2
= (int)SWIG_As_int(obj1
);
14249 if (PyErr_Occurred()) SWIG_fail
;
14251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14252 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
14254 wxPyEndAllowThreads(__tstate
);
14255 if (PyErr_Occurred()) SWIG_fail
;
14257 resultobj
= SWIG_From_int((int)result
);
14264 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14265 PyObject
*resultobj
;
14266 wxDC
*arg1
= (wxDC
*) 0 ;
14269 PyObject
* obj0
= 0 ;
14270 PyObject
* obj1
= 0 ;
14271 char *kwnames
[] = {
14272 (char *) "self",(char *) "y", NULL
14275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
14276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14278 arg2
= (int)SWIG_As_int(obj1
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14282 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
14284 wxPyEndAllowThreads(__tstate
);
14285 if (PyErr_Occurred()) SWIG_fail
;
14287 resultobj
= SWIG_From_int((int)result
);
14294 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14295 PyObject
*resultobj
;
14296 wxDC
*arg1
= (wxDC
*) 0 ;
14299 PyObject
* obj0
= 0 ;
14300 PyObject
* obj1
= 0 ;
14301 char *kwnames
[] = {
14302 (char *) "self",(char *) "x", NULL
14305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
14306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14308 arg2
= (int)SWIG_As_int(obj1
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14312 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
14314 wxPyEndAllowThreads(__tstate
);
14315 if (PyErr_Occurred()) SWIG_fail
;
14317 resultobj
= SWIG_From_int((int)result
);
14324 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14325 PyObject
*resultobj
;
14326 wxDC
*arg1
= (wxDC
*) 0 ;
14329 PyObject
* obj0
= 0 ;
14330 PyObject
* obj1
= 0 ;
14331 char *kwnames
[] = {
14332 (char *) "self",(char *) "y", NULL
14335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
14336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14338 arg2
= (int)SWIG_As_int(obj1
);
14339 if (PyErr_Occurred()) SWIG_fail
;
14341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14342 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
14344 wxPyEndAllowThreads(__tstate
);
14345 if (PyErr_Occurred()) SWIG_fail
;
14347 resultobj
= SWIG_From_int((int)result
);
14354 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14355 PyObject
*resultobj
;
14356 wxDC
*arg1
= (wxDC
*) 0 ;
14359 PyObject
* obj0
= 0 ;
14360 PyObject
* obj1
= 0 ;
14361 char *kwnames
[] = {
14362 (char *) "self",(char *) "x", NULL
14365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
14366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14368 arg2
= (int)SWIG_As_int(obj1
);
14369 if (PyErr_Occurred()) SWIG_fail
;
14371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14372 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
14374 wxPyEndAllowThreads(__tstate
);
14375 if (PyErr_Occurred()) SWIG_fail
;
14377 resultobj
= SWIG_From_int((int)result
);
14384 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14385 PyObject
*resultobj
;
14386 wxDC
*arg1
= (wxDC
*) 0 ;
14389 PyObject
* obj0
= 0 ;
14390 PyObject
* obj1
= 0 ;
14391 char *kwnames
[] = {
14392 (char *) "self",(char *) "y", NULL
14395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
14396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14398 arg2
= (int)SWIG_As_int(obj1
);
14399 if (PyErr_Occurred()) SWIG_fail
;
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14402 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
14404 wxPyEndAllowThreads(__tstate
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14407 resultobj
= SWIG_From_int((int)result
);
14414 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14415 PyObject
*resultobj
;
14416 wxDC
*arg1
= (wxDC
*) 0 ;
14419 PyObject
* obj0
= 0 ;
14420 PyObject
* obj1
= 0 ;
14421 char *kwnames
[] = {
14422 (char *) "self",(char *) "x", NULL
14425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
14426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14428 arg2
= (int)SWIG_As_int(obj1
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14432 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
14434 wxPyEndAllowThreads(__tstate
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14437 resultobj
= SWIG_From_int((int)result
);
14444 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14445 PyObject
*resultobj
;
14446 wxDC
*arg1
= (wxDC
*) 0 ;
14449 PyObject
* obj0
= 0 ;
14450 PyObject
* obj1
= 0 ;
14451 char *kwnames
[] = {
14452 (char *) "self",(char *) "y", NULL
14455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
14456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14458 arg2
= (int)SWIG_As_int(obj1
);
14459 if (PyErr_Occurred()) SWIG_fail
;
14461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14462 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
14464 wxPyEndAllowThreads(__tstate
);
14465 if (PyErr_Occurred()) SWIG_fail
;
14467 resultobj
= SWIG_From_int((int)result
);
14474 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14475 PyObject
*resultobj
;
14476 wxDC
*arg1
= (wxDC
*) 0 ;
14478 PyObject
* obj0
= 0 ;
14479 char *kwnames
[] = {
14480 (char *) "self", NULL
14483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
14484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14488 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
14490 wxPyEndAllowThreads(__tstate
);
14491 if (PyErr_Occurred()) SWIG_fail
;
14494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14502 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14503 PyObject
*resultobj
;
14504 wxDC
*arg1
= (wxDC
*) 0 ;
14506 PyObject
* obj0
= 0 ;
14507 char *kwnames
[] = {
14508 (char *) "self", NULL
14511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
14512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14516 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14530 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14531 PyObject
*resultobj
;
14532 wxDC
*arg1
= (wxDC
*) 0 ;
14534 PyObject
* obj0
= 0 ;
14535 char *kwnames
[] = {
14536 (char *) "self", NULL
14539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
14540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14544 result
= (int)((wxDC
const *)arg1
)->GetDepth();
14546 wxPyEndAllowThreads(__tstate
);
14547 if (PyErr_Occurred()) SWIG_fail
;
14549 resultobj
= SWIG_From_int((int)result
);
14556 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14557 PyObject
*resultobj
;
14558 wxDC
*arg1
= (wxDC
*) 0 ;
14560 PyObject
* obj0
= 0 ;
14561 char *kwnames
[] = {
14562 (char *) "self", NULL
14565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
14566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14570 result
= ((wxDC
const *)arg1
)->GetPPI();
14572 wxPyEndAllowThreads(__tstate
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14576 wxSize
* resultptr
;
14577 resultptr
= new wxSize((wxSize
&) result
);
14578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14586 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14587 PyObject
*resultobj
;
14588 wxDC
*arg1
= (wxDC
*) 0 ;
14590 PyObject
* obj0
= 0 ;
14591 char *kwnames
[] = {
14592 (char *) "self", NULL
14595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
14596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14600 result
= (bool)((wxDC
const *)arg1
)->Ok();
14602 wxPyEndAllowThreads(__tstate
);
14603 if (PyErr_Occurred()) SWIG_fail
;
14606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14614 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14615 PyObject
*resultobj
;
14616 wxDC
*arg1
= (wxDC
*) 0 ;
14618 PyObject
* obj0
= 0 ;
14619 char *kwnames
[] = {
14620 (char *) "self", NULL
14623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
14624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14628 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
14630 wxPyEndAllowThreads(__tstate
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14633 resultobj
= SWIG_From_int((int)result
);
14640 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14641 PyObject
*resultobj
;
14642 wxDC
*arg1
= (wxDC
*) 0 ;
14644 PyObject
* obj0
= 0 ;
14645 char *kwnames
[] = {
14646 (char *) "self", NULL
14649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
14650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14655 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
14656 result
= (wxBrush
*) &_result_ref
;
14659 wxPyEndAllowThreads(__tstate
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14663 wxBrush
* resultptr
= new wxBrush(*result
);
14664 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14672 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14673 PyObject
*resultobj
;
14674 wxDC
*arg1
= (wxDC
*) 0 ;
14676 PyObject
* obj0
= 0 ;
14677 char *kwnames
[] = {
14678 (char *) "self", NULL
14681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
14682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14687 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
14688 result
= (wxBrush
*) &_result_ref
;
14691 wxPyEndAllowThreads(__tstate
);
14692 if (PyErr_Occurred()) SWIG_fail
;
14695 wxBrush
* resultptr
= new wxBrush(*result
);
14696 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14704 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14705 PyObject
*resultobj
;
14706 wxDC
*arg1
= (wxDC
*) 0 ;
14708 PyObject
* obj0
= 0 ;
14709 char *kwnames
[] = {
14710 (char *) "self", NULL
14713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
14714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14719 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
14720 result
= (wxFont
*) &_result_ref
;
14723 wxPyEndAllowThreads(__tstate
);
14724 if (PyErr_Occurred()) SWIG_fail
;
14727 wxFont
* resultptr
= new wxFont(*result
);
14728 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
14736 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14737 PyObject
*resultobj
;
14738 wxDC
*arg1
= (wxDC
*) 0 ;
14740 PyObject
* obj0
= 0 ;
14741 char *kwnames
[] = {
14742 (char *) "self", NULL
14745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
14746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14751 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
14752 result
= (wxPen
*) &_result_ref
;
14755 wxPyEndAllowThreads(__tstate
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14759 wxPen
* resultptr
= new wxPen(*result
);
14760 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
14768 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
;
14770 wxDC
*arg1
= (wxDC
*) 0 ;
14772 PyObject
* obj0
= 0 ;
14773 char *kwnames
[] = {
14774 (char *) "self", NULL
14777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
14778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14783 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
14784 result
= (wxColour
*) &_result_ref
;
14787 wxPyEndAllowThreads(__tstate
);
14788 if (PyErr_Occurred()) SWIG_fail
;
14790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14797 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14798 PyObject
*resultobj
;
14799 wxDC
*arg1
= (wxDC
*) 0 ;
14801 PyObject
* obj0
= 0 ;
14802 char *kwnames
[] = {
14803 (char *) "self", NULL
14806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
14807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14812 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
14813 result
= (wxColour
*) &_result_ref
;
14816 wxPyEndAllowThreads(__tstate
);
14817 if (PyErr_Occurred()) SWIG_fail
;
14819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14826 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14827 PyObject
*resultobj
;
14828 wxDC
*arg1
= (wxDC
*) 0 ;
14829 wxColour
*arg2
= 0 ;
14831 PyObject
* obj0
= 0 ;
14832 PyObject
* obj1
= 0 ;
14833 char *kwnames
[] = {
14834 (char *) "self",(char *) "colour", NULL
14837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14842 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14846 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
14848 wxPyEndAllowThreads(__tstate
);
14849 if (PyErr_Occurred()) SWIG_fail
;
14851 Py_INCREF(Py_None
); resultobj
= Py_None
;
14858 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14859 PyObject
*resultobj
;
14860 wxDC
*arg1
= (wxDC
*) 0 ;
14861 wxColour
*arg2
= 0 ;
14863 PyObject
* obj0
= 0 ;
14864 PyObject
* obj1
= 0 ;
14865 char *kwnames
[] = {
14866 (char *) "self",(char *) "colour", NULL
14869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14874 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14878 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
14880 wxPyEndAllowThreads(__tstate
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14883 Py_INCREF(Py_None
); resultobj
= Py_None
;
14890 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14891 PyObject
*resultobj
;
14892 wxDC
*arg1
= (wxDC
*) 0 ;
14894 PyObject
* obj0
= 0 ;
14895 char *kwnames
[] = {
14896 (char *) "self", NULL
14899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
14900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14904 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
14906 wxPyEndAllowThreads(__tstate
);
14907 if (PyErr_Occurred()) SWIG_fail
;
14909 resultobj
= SWIG_From_int((int)result
);
14916 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14917 PyObject
*resultobj
;
14918 wxDC
*arg1
= (wxDC
*) 0 ;
14920 PyObject
* obj0
= 0 ;
14921 PyObject
* obj1
= 0 ;
14922 char *kwnames
[] = {
14923 (char *) "self",(char *) "mode", NULL
14926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14929 arg2
= (int)SWIG_As_int(obj1
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14933 (arg1
)->SetMapMode(arg2
);
14935 wxPyEndAllowThreads(__tstate
);
14936 if (PyErr_Occurred()) SWIG_fail
;
14938 Py_INCREF(Py_None
); resultobj
= Py_None
;
14945 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14946 PyObject
*resultobj
;
14947 wxDC
*arg1
= (wxDC
*) 0 ;
14948 double *arg2
= (double *) 0 ;
14949 double *arg3
= (double *) 0 ;
14954 PyObject
* obj0
= 0 ;
14955 char *kwnames
[] = {
14956 (char *) "self", NULL
14959 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14960 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14966 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14968 wxPyEndAllowThreads(__tstate
);
14969 if (PyErr_Occurred()) SWIG_fail
;
14971 Py_INCREF(Py_None
); resultobj
= Py_None
;
14972 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14973 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
14974 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14975 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
14982 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14983 PyObject
*resultobj
;
14984 wxDC
*arg1
= (wxDC
*) 0 ;
14987 PyObject
* obj0
= 0 ;
14988 PyObject
* obj1
= 0 ;
14989 PyObject
* obj2
= 0 ;
14990 char *kwnames
[] = {
14991 (char *) "self",(char *) "x",(char *) "y", NULL
14994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14997 arg2
= (double)SWIG_As_double(obj1
);
14998 if (PyErr_Occurred()) SWIG_fail
;
14999 arg3
= (double)SWIG_As_double(obj2
);
15000 if (PyErr_Occurred()) SWIG_fail
;
15002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15003 (arg1
)->SetUserScale(arg2
,arg3
);
15005 wxPyEndAllowThreads(__tstate
);
15006 if (PyErr_Occurred()) SWIG_fail
;
15008 Py_INCREF(Py_None
); resultobj
= Py_None
;
15015 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15016 PyObject
*resultobj
;
15017 wxDC
*arg1
= (wxDC
*) 0 ;
15018 double *arg2
= (double *) 0 ;
15019 double *arg3
= (double *) 0 ;
15024 PyObject
* obj0
= 0 ;
15025 char *kwnames
[] = {
15026 (char *) "self", NULL
15029 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15030 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
15032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15036 (arg1
)->GetLogicalScale(arg2
,arg3
);
15038 wxPyEndAllowThreads(__tstate
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15041 Py_INCREF(Py_None
); resultobj
= Py_None
;
15042 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15043 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
15044 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15045 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
15052 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15053 PyObject
*resultobj
;
15054 wxDC
*arg1
= (wxDC
*) 0 ;
15057 PyObject
* obj0
= 0 ;
15058 PyObject
* obj1
= 0 ;
15059 PyObject
* obj2
= 0 ;
15060 char *kwnames
[] = {
15061 (char *) "self",(char *) "x",(char *) "y", NULL
15064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15067 arg2
= (double)SWIG_As_double(obj1
);
15068 if (PyErr_Occurred()) SWIG_fail
;
15069 arg3
= (double)SWIG_As_double(obj2
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15073 (arg1
)->SetLogicalScale(arg2
,arg3
);
15075 wxPyEndAllowThreads(__tstate
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15078 Py_INCREF(Py_None
); resultobj
= Py_None
;
15085 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15086 PyObject
*resultobj
;
15087 wxDC
*arg1
= (wxDC
*) 0 ;
15089 PyObject
* obj0
= 0 ;
15090 char *kwnames
[] = {
15091 (char *) "self", NULL
15094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
15095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15099 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
15101 wxPyEndAllowThreads(__tstate
);
15102 if (PyErr_Occurred()) SWIG_fail
;
15105 wxPoint
* resultptr
;
15106 resultptr
= new wxPoint((wxPoint
&) result
);
15107 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15115 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15116 PyObject
*resultobj
;
15117 wxDC
*arg1
= (wxDC
*) 0 ;
15118 int *arg2
= (int *) 0 ;
15119 int *arg3
= (int *) 0 ;
15124 PyObject
* obj0
= 0 ;
15125 char *kwnames
[] = {
15126 (char *) "self", NULL
15129 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15130 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
15132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15141 Py_INCREF(Py_None
); resultobj
= Py_None
;
15142 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15143 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15144 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15145 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15152 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15153 PyObject
*resultobj
;
15154 wxDC
*arg1
= (wxDC
*) 0 ;
15157 PyObject
* obj0
= 0 ;
15158 PyObject
* obj1
= 0 ;
15159 PyObject
* obj2
= 0 ;
15160 char *kwnames
[] = {
15161 (char *) "self",(char *) "x",(char *) "y", NULL
15164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15167 arg2
= (int)SWIG_As_int(obj1
);
15168 if (PyErr_Occurred()) SWIG_fail
;
15169 arg3
= (int)SWIG_As_int(obj2
);
15170 if (PyErr_Occurred()) SWIG_fail
;
15172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15173 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
15175 wxPyEndAllowThreads(__tstate
);
15176 if (PyErr_Occurred()) SWIG_fail
;
15178 Py_INCREF(Py_None
); resultobj
= Py_None
;
15185 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15186 PyObject
*resultobj
;
15187 wxDC
*arg1
= (wxDC
*) 0 ;
15188 wxPoint
*arg2
= 0 ;
15190 PyObject
* obj0
= 0 ;
15191 PyObject
* obj1
= 0 ;
15192 char *kwnames
[] = {
15193 (char *) "self",(char *) "point", NULL
15196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
15197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15201 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15205 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
15207 wxPyEndAllowThreads(__tstate
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15210 Py_INCREF(Py_None
); resultobj
= Py_None
;
15217 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
;
15219 wxDC
*arg1
= (wxDC
*) 0 ;
15221 PyObject
* obj0
= 0 ;
15222 char *kwnames
[] = {
15223 (char *) "self", NULL
15226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
15227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15231 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
15233 wxPyEndAllowThreads(__tstate
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15237 wxPoint
* resultptr
;
15238 resultptr
= new wxPoint((wxPoint
&) result
);
15239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15247 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15248 PyObject
*resultobj
;
15249 wxDC
*arg1
= (wxDC
*) 0 ;
15250 int *arg2
= (int *) 0 ;
15251 int *arg3
= (int *) 0 ;
15256 PyObject
* obj0
= 0 ;
15257 char *kwnames
[] = {
15258 (char *) "self", NULL
15261 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15262 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
15264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15268 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
15270 wxPyEndAllowThreads(__tstate
);
15271 if (PyErr_Occurred()) SWIG_fail
;
15273 Py_INCREF(Py_None
); resultobj
= Py_None
;
15274 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15275 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15276 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15277 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15284 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15285 PyObject
*resultobj
;
15286 wxDC
*arg1
= (wxDC
*) 0 ;
15289 PyObject
* obj0
= 0 ;
15290 PyObject
* obj1
= 0 ;
15291 PyObject
* obj2
= 0 ;
15292 char *kwnames
[] = {
15293 (char *) "self",(char *) "x",(char *) "y", NULL
15296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15299 arg2
= (int)SWIG_As_int(obj1
);
15300 if (PyErr_Occurred()) SWIG_fail
;
15301 arg3
= (int)SWIG_As_int(obj2
);
15302 if (PyErr_Occurred()) SWIG_fail
;
15304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15305 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
15307 wxPyEndAllowThreads(__tstate
);
15308 if (PyErr_Occurred()) SWIG_fail
;
15310 Py_INCREF(Py_None
); resultobj
= Py_None
;
15317 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15318 PyObject
*resultobj
;
15319 wxDC
*arg1
= (wxDC
*) 0 ;
15320 wxPoint
*arg2
= 0 ;
15322 PyObject
* obj0
= 0 ;
15323 PyObject
* obj1
= 0 ;
15324 char *kwnames
[] = {
15325 (char *) "self",(char *) "point", NULL
15328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
15329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15333 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15337 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
15339 wxPyEndAllowThreads(__tstate
);
15340 if (PyErr_Occurred()) SWIG_fail
;
15342 Py_INCREF(Py_None
); resultobj
= Py_None
;
15349 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15350 PyObject
*resultobj
;
15351 wxDC
*arg1
= (wxDC
*) 0 ;
15354 PyObject
* obj0
= 0 ;
15355 PyObject
* obj1
= 0 ;
15356 PyObject
* obj2
= 0 ;
15357 char *kwnames
[] = {
15358 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
15361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15364 arg2
= (bool)SWIG_As_bool(obj1
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15366 arg3
= (bool)SWIG_As_bool(obj2
);
15367 if (PyErr_Occurred()) SWIG_fail
;
15369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15370 (arg1
)->SetAxisOrientation(arg2
,arg3
);
15372 wxPyEndAllowThreads(__tstate
);
15373 if (PyErr_Occurred()) SWIG_fail
;
15375 Py_INCREF(Py_None
); resultobj
= Py_None
;
15382 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15383 PyObject
*resultobj
;
15384 wxDC
*arg1
= (wxDC
*) 0 ;
15386 PyObject
* obj0
= 0 ;
15387 char *kwnames
[] = {
15388 (char *) "self", NULL
15391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
15392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15396 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
15398 wxPyEndAllowThreads(__tstate
);
15399 if (PyErr_Occurred()) SWIG_fail
;
15401 resultobj
= SWIG_From_int((int)result
);
15408 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15409 PyObject
*resultobj
;
15410 wxDC
*arg1
= (wxDC
*) 0 ;
15412 PyObject
* obj0
= 0 ;
15413 PyObject
* obj1
= 0 ;
15414 char *kwnames
[] = {
15415 (char *) "self",(char *) "function", NULL
15418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
15419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15421 arg2
= (int)SWIG_As_int(obj1
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15425 (arg1
)->SetLogicalFunction(arg2
);
15427 wxPyEndAllowThreads(__tstate
);
15428 if (PyErr_Occurred()) SWIG_fail
;
15430 Py_INCREF(Py_None
); resultobj
= Py_None
;
15437 static PyObject
*_wrap_DC_SetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15438 PyObject
*resultobj
;
15439 wxDC
*arg1
= (wxDC
*) 0 ;
15441 PyObject
* obj0
= 0 ;
15442 PyObject
* obj1
= 0 ;
15443 char *kwnames
[] = {
15444 (char *) "self",(char *) "optimize", NULL
15447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
15448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15450 arg2
= (bool)SWIG_As_bool(obj1
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15454 (arg1
)->SetOptimization(arg2
);
15456 wxPyEndAllowThreads(__tstate
);
15457 if (PyErr_Occurred()) SWIG_fail
;
15459 Py_INCREF(Py_None
); resultobj
= Py_None
;
15466 static PyObject
*_wrap_DC_GetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15467 PyObject
*resultobj
;
15468 wxDC
*arg1
= (wxDC
*) 0 ;
15470 PyObject
* obj0
= 0 ;
15471 char *kwnames
[] = {
15472 (char *) "self", NULL
15475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
15476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15480 result
= (bool)(arg1
)->GetOptimization();
15482 wxPyEndAllowThreads(__tstate
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15494 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15495 PyObject
*resultobj
;
15496 wxDC
*arg1
= (wxDC
*) 0 ;
15499 PyObject
* obj0
= 0 ;
15500 PyObject
* obj1
= 0 ;
15501 PyObject
* obj2
= 0 ;
15502 char *kwnames
[] = {
15503 (char *) "self",(char *) "x",(char *) "y", NULL
15506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15509 arg2
= (int)SWIG_As_int(obj1
);
15510 if (PyErr_Occurred()) SWIG_fail
;
15511 arg3
= (int)SWIG_As_int(obj2
);
15512 if (PyErr_Occurred()) SWIG_fail
;
15514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15515 (arg1
)->CalcBoundingBox(arg2
,arg3
);
15517 wxPyEndAllowThreads(__tstate
);
15518 if (PyErr_Occurred()) SWIG_fail
;
15520 Py_INCREF(Py_None
); resultobj
= Py_None
;
15527 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15528 PyObject
*resultobj
;
15529 wxDC
*arg1
= (wxDC
*) 0 ;
15530 wxPoint
*arg2
= 0 ;
15532 PyObject
* obj0
= 0 ;
15533 PyObject
* obj1
= 0 ;
15534 char *kwnames
[] = {
15535 (char *) "self",(char *) "point", NULL
15538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
15539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15543 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15547 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15552 Py_INCREF(Py_None
); resultobj
= Py_None
;
15559 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15560 PyObject
*resultobj
;
15561 wxDC
*arg1
= (wxDC
*) 0 ;
15562 PyObject
* obj0
= 0 ;
15563 char *kwnames
[] = {
15564 (char *) "self", NULL
15567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
15568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15572 (arg1
)->ResetBoundingBox();
15574 wxPyEndAllowThreads(__tstate
);
15575 if (PyErr_Occurred()) SWIG_fail
;
15577 Py_INCREF(Py_None
); resultobj
= Py_None
;
15584 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15585 PyObject
*resultobj
;
15586 wxDC
*arg1
= (wxDC
*) 0 ;
15588 PyObject
* obj0
= 0 ;
15589 char *kwnames
[] = {
15590 (char *) "self", NULL
15593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
15594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15598 result
= (int)((wxDC
const *)arg1
)->MinX();
15600 wxPyEndAllowThreads(__tstate
);
15601 if (PyErr_Occurred()) SWIG_fail
;
15603 resultobj
= SWIG_From_int((int)result
);
15610 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15611 PyObject
*resultobj
;
15612 wxDC
*arg1
= (wxDC
*) 0 ;
15614 PyObject
* obj0
= 0 ;
15615 char *kwnames
[] = {
15616 (char *) "self", NULL
15619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",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 result
= (int)((wxDC
const *)arg1
)->MaxX();
15626 wxPyEndAllowThreads(__tstate
);
15627 if (PyErr_Occurred()) SWIG_fail
;
15629 resultobj
= SWIG_From_int((int)result
);
15636 static PyObject
*_wrap_DC_MinY(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_MinY",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
)->MinY();
15652 wxPyEndAllowThreads(__tstate
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15655 resultobj
= SWIG_From_int((int)result
);
15662 static PyObject
*_wrap_DC_MaxY(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_MaxY",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
)->MaxY();
15678 wxPyEndAllowThreads(__tstate
);
15679 if (PyErr_Occurred()) SWIG_fail
;
15681 resultobj
= SWIG_From_int((int)result
);
15688 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15689 PyObject
*resultobj
;
15690 wxDC
*arg1
= (wxDC
*) 0 ;
15691 int *arg2
= (int *) 0 ;
15692 int *arg3
= (int *) 0 ;
15693 int *arg4
= (int *) 0 ;
15694 int *arg5
= (int *) 0 ;
15703 PyObject
* obj0
= 0 ;
15704 char *kwnames
[] = {
15705 (char *) "self", NULL
15708 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15709 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15710 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15711 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
15713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15717 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
15719 wxPyEndAllowThreads(__tstate
);
15720 if (PyErr_Occurred()) SWIG_fail
;
15722 Py_INCREF(Py_None
); resultobj
= Py_None
;
15723 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15724 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15725 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15726 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15727 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15728 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15729 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15730 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15737 static PyObject
*_wrap_DC_GetHDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15738 PyObject
*resultobj
;
15739 wxDC
*arg1
= (wxDC
*) 0 ;
15741 PyObject
* obj0
= 0 ;
15742 char *kwnames
[] = {
15743 (char *) "self", NULL
15746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetHDC",kwnames
,&obj0
)) goto fail
;
15747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15751 result
= (long)(arg1
)->GetHDC();
15753 wxPyEndAllowThreads(__tstate
);
15754 if (PyErr_Occurred()) SWIG_fail
;
15756 resultobj
= SWIG_From_long((long)result
);
15763 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15764 PyObject
*resultobj
;
15765 wxDC
*arg1
= (wxDC
*) 0 ;
15766 PyObject
*arg2
= (PyObject
*) 0 ;
15767 PyObject
*arg3
= (PyObject
*) 0 ;
15768 PyObject
*arg4
= (PyObject
*) 0 ;
15770 PyObject
* obj0
= 0 ;
15771 PyObject
* obj1
= 0 ;
15772 PyObject
* obj2
= 0 ;
15773 PyObject
* obj3
= 0 ;
15774 char *kwnames
[] = {
15775 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15786 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
15788 wxPyEndAllowThreads(__tstate
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15791 resultobj
= result
;
15798 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15799 PyObject
*resultobj
;
15800 wxDC
*arg1
= (wxDC
*) 0 ;
15801 PyObject
*arg2
= (PyObject
*) 0 ;
15802 PyObject
*arg3
= (PyObject
*) 0 ;
15803 PyObject
*arg4
= (PyObject
*) 0 ;
15805 PyObject
* obj0
= 0 ;
15806 PyObject
* obj1
= 0 ;
15807 PyObject
* obj2
= 0 ;
15808 PyObject
* obj3
= 0 ;
15809 char *kwnames
[] = {
15810 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
15823 wxPyEndAllowThreads(__tstate
);
15824 if (PyErr_Occurred()) SWIG_fail
;
15826 resultobj
= result
;
15833 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15834 PyObject
*resultobj
;
15835 wxDC
*arg1
= (wxDC
*) 0 ;
15836 PyObject
*arg2
= (PyObject
*) 0 ;
15837 PyObject
*arg3
= (PyObject
*) 0 ;
15838 PyObject
*arg4
= (PyObject
*) 0 ;
15840 PyObject
* obj0
= 0 ;
15841 PyObject
* obj1
= 0 ;
15842 PyObject
* obj2
= 0 ;
15843 PyObject
* obj3
= 0 ;
15844 char *kwnames
[] = {
15845 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15856 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
15858 wxPyEndAllowThreads(__tstate
);
15859 if (PyErr_Occurred()) SWIG_fail
;
15861 resultobj
= result
;
15868 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15869 PyObject
*resultobj
;
15870 wxDC
*arg1
= (wxDC
*) 0 ;
15871 PyObject
*arg2
= (PyObject
*) 0 ;
15872 PyObject
*arg3
= (PyObject
*) 0 ;
15873 PyObject
*arg4
= (PyObject
*) 0 ;
15875 PyObject
* obj0
= 0 ;
15876 PyObject
* obj1
= 0 ;
15877 PyObject
* obj2
= 0 ;
15878 PyObject
* obj3
= 0 ;
15879 char *kwnames
[] = {
15880 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15891 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
15893 wxPyEndAllowThreads(__tstate
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15896 resultobj
= result
;
15903 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15904 PyObject
*resultobj
;
15905 wxDC
*arg1
= (wxDC
*) 0 ;
15906 PyObject
*arg2
= (PyObject
*) 0 ;
15907 PyObject
*arg3
= (PyObject
*) 0 ;
15908 PyObject
*arg4
= (PyObject
*) 0 ;
15910 PyObject
* obj0
= 0 ;
15911 PyObject
* obj1
= 0 ;
15912 PyObject
* obj2
= 0 ;
15913 PyObject
* obj3
= 0 ;
15914 char *kwnames
[] = {
15915 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15926 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15928 wxPyEndAllowThreads(__tstate
);
15929 if (PyErr_Occurred()) SWIG_fail
;
15931 resultobj
= result
;
15938 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
;
15940 wxDC
*arg1
= (wxDC
*) 0 ;
15941 PyObject
*arg2
= (PyObject
*) 0 ;
15942 PyObject
*arg3
= (PyObject
*) 0 ;
15943 PyObject
*arg4
= (PyObject
*) 0 ;
15944 PyObject
*arg5
= (PyObject
*) 0 ;
15946 PyObject
* obj0
= 0 ;
15947 PyObject
* obj1
= 0 ;
15948 PyObject
* obj2
= 0 ;
15949 PyObject
* obj3
= 0 ;
15950 PyObject
* obj4
= 0 ;
15951 char *kwnames
[] = {
15952 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15964 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
15966 wxPyEndAllowThreads(__tstate
);
15967 if (PyErr_Occurred()) SWIG_fail
;
15969 resultobj
= result
;
15976 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
15978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15979 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15981 return Py_BuildValue((char *)"");
15983 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15984 PyObject
*resultobj
;
15985 wxMemoryDC
*result
;
15986 char *kwnames
[] = {
15990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15992 if (!wxPyCheckForApp()) SWIG_fail
;
15993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15994 result
= (wxMemoryDC
*)new wxMemoryDC();
15996 wxPyEndAllowThreads(__tstate
);
15997 if (PyErr_Occurred()) SWIG_fail
;
15999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
16006 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16007 PyObject
*resultobj
;
16008 wxDC
*arg1
= (wxDC
*) 0 ;
16009 wxMemoryDC
*result
;
16010 PyObject
* obj0
= 0 ;
16011 char *kwnames
[] = {
16012 (char *) "oldDC", NULL
16015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
16016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
16017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16019 if (!wxPyCheckForApp()) SWIG_fail
;
16020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16021 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
16023 wxPyEndAllowThreads(__tstate
);
16024 if (PyErr_Occurred()) SWIG_fail
;
16026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
16033 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16034 PyObject
*resultobj
;
16035 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
16036 wxBitmap
*arg2
= 0 ;
16037 PyObject
* obj0
= 0 ;
16038 PyObject
* obj1
= 0 ;
16039 char *kwnames
[] = {
16040 (char *) "self",(char *) "bitmap", NULL
16043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
16044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
16045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16046 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16047 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16049 if (arg2
== NULL
) {
16050 PyErr_SetString(PyExc_TypeError
,"null reference");
16054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16055 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
16057 wxPyEndAllowThreads(__tstate
);
16058 if (PyErr_Occurred()) SWIG_fail
;
16060 Py_INCREF(Py_None
); resultobj
= Py_None
;
16067 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
16069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16070 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
16072 return Py_BuildValue((char *)"");
16074 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
16075 PyObject
*resultobj
;
16076 wxDC
*arg1
= (wxDC
*) 0 ;
16077 wxBitmap
*arg2
= 0 ;
16078 wxBufferedDC
*result
;
16079 PyObject
* obj0
= 0 ;
16080 PyObject
* obj1
= 0 ;
16082 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
16083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
16084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16085 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16086 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16088 if (arg2
== NULL
) {
16089 PyErr_SetString(PyExc_TypeError
,"null reference");
16093 if (!wxPyCheckForApp()) SWIG_fail
;
16094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16095 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
16097 wxPyEndAllowThreads(__tstate
);
16098 if (PyErr_Occurred()) SWIG_fail
;
16100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
16107 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
16108 PyObject
*resultobj
;
16109 wxDC
*arg1
= (wxDC
*) 0 ;
16111 wxBufferedDC
*result
;
16113 PyObject
* obj0
= 0 ;
16114 PyObject
* obj1
= 0 ;
16116 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
16117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
16118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16121 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16124 if (!wxPyCheckForApp()) SWIG_fail
;
16125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16126 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
16128 wxPyEndAllowThreads(__tstate
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
16138 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
16143 argc
= PyObject_Length(args
);
16144 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
16145 argv
[ii
] = PyTuple_GetItem(args
,ii
);
16151 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
16161 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
16169 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
16177 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
16186 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
16189 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
16194 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
16199 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16200 PyObject
*resultobj
;
16201 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
16202 PyObject
* obj0
= 0 ;
16203 char *kwnames
[] = {
16204 (char *) "self", NULL
16207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
16208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
16209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16217 Py_INCREF(Py_None
); resultobj
= Py_None
;
16224 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16225 PyObject
*resultobj
;
16226 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
16227 PyObject
* obj0
= 0 ;
16228 char *kwnames
[] = {
16229 (char *) "self", NULL
16232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
16233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
16234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16239 wxPyEndAllowThreads(__tstate
);
16240 if (PyErr_Occurred()) SWIG_fail
;
16242 Py_INCREF(Py_None
); resultobj
= Py_None
;
16249 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
16251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16252 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
16254 return Py_BuildValue((char *)"");
16256 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16257 PyObject
*resultobj
;
16258 wxWindow
*arg1
= (wxWindow
*) 0 ;
16259 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
16260 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
16261 wxBufferedPaintDC
*result
;
16262 PyObject
* obj0
= 0 ;
16263 PyObject
* obj1
= 0 ;
16264 char *kwnames
[] = {
16265 (char *) "window",(char *) "buffer", NULL
16268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
16269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16272 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16273 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16275 if (arg2
== NULL
) {
16276 PyErr_SetString(PyExc_TypeError
,"null reference");
16281 if (!wxPyCheckForApp()) SWIG_fail
;
16282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16283 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
16295 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
16297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16298 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
16300 return Py_BuildValue((char *)"");
16302 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16303 PyObject
*resultobj
;
16304 wxScreenDC
*result
;
16305 char *kwnames
[] = {
16309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
16311 if (!wxPyCheckForApp()) SWIG_fail
;
16312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16313 result
= (wxScreenDC
*)new wxScreenDC();
16315 wxPyEndAllowThreads(__tstate
);
16316 if (PyErr_Occurred()) SWIG_fail
;
16318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
16325 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16326 PyObject
*resultobj
;
16327 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
16328 wxWindow
*arg2
= (wxWindow
*) 0 ;
16330 PyObject
* obj0
= 0 ;
16331 PyObject
* obj1
= 0 ;
16332 char *kwnames
[] = {
16333 (char *) "self",(char *) "window", NULL
16336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
16337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
16338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16343 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
16345 wxPyEndAllowThreads(__tstate
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16357 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
;
16359 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
16360 wxRect
*arg2
= (wxRect
*) NULL
;
16362 PyObject
* obj0
= 0 ;
16363 PyObject
* obj1
= 0 ;
16364 char *kwnames
[] = {
16365 (char *) "self",(char *) "rect", NULL
16368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
16369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
16370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16372 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16377 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
16379 wxPyEndAllowThreads(__tstate
);
16380 if (PyErr_Occurred()) SWIG_fail
;
16383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16391 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16392 PyObject
*resultobj
;
16393 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
16395 PyObject
* obj0
= 0 ;
16396 char *kwnames
[] = {
16397 (char *) "self", NULL
16400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
16401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
16402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16405 result
= (bool)(arg1
)->EndDrawingOnTop();
16407 wxPyEndAllowThreads(__tstate
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16419 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
16421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16422 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
16424 return Py_BuildValue((char *)"");
16426 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16427 PyObject
*resultobj
;
16428 wxWindow
*arg1
= (wxWindow
*) 0 ;
16429 wxClientDC
*result
;
16430 PyObject
* obj0
= 0 ;
16431 char *kwnames
[] = {
16432 (char *) "win", NULL
16435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
16436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16439 if (!wxPyCheckForApp()) SWIG_fail
;
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 result
= (wxClientDC
*)new wxClientDC(arg1
);
16443 wxPyEndAllowThreads(__tstate
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
16453 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
16455 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16456 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
16458 return Py_BuildValue((char *)"");
16460 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16461 PyObject
*resultobj
;
16462 wxWindow
*arg1
= (wxWindow
*) 0 ;
16464 PyObject
* obj0
= 0 ;
16465 char *kwnames
[] = {
16466 (char *) "win", NULL
16469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
16470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16473 if (!wxPyCheckForApp()) SWIG_fail
;
16474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16475 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
16477 wxPyEndAllowThreads(__tstate
);
16478 if (PyErr_Occurred()) SWIG_fail
;
16480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
16487 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
16489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16490 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
16492 return Py_BuildValue((char *)"");
16494 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16495 PyObject
*resultobj
;
16496 wxWindow
*arg1
= (wxWindow
*) 0 ;
16497 wxWindowDC
*result
;
16498 PyObject
* obj0
= 0 ;
16499 char *kwnames
[] = {
16500 (char *) "win", NULL
16503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
16504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16507 if (!wxPyCheckForApp()) SWIG_fail
;
16508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16509 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
16511 wxPyEndAllowThreads(__tstate
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
16521 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
16523 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16524 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
16526 return Py_BuildValue((char *)"");
16528 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
;
16532 wxMirrorDC
*result
;
16533 PyObject
* obj0
= 0 ;
16534 PyObject
* obj1
= 0 ;
16535 char *kwnames
[] = {
16536 (char *) "dc",(char *) "mirror", NULL
16539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
16540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
16541 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16543 if (arg1
== NULL
) {
16544 PyErr_SetString(PyExc_TypeError
,"null reference");
16547 arg2
= (bool)SWIG_As_bool(obj1
);
16548 if (PyErr_Occurred()) SWIG_fail
;
16550 if (!wxPyCheckForApp()) SWIG_fail
;
16551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16552 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
16554 wxPyEndAllowThreads(__tstate
);
16555 if (PyErr_Occurred()) SWIG_fail
;
16557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
16564 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
16566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16567 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
16569 return Py_BuildValue((char *)"");
16571 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16572 PyObject
*resultobj
;
16573 wxPrintData
*arg1
= 0 ;
16574 wxPostScriptDC
*result
;
16575 PyObject
* obj0
= 0 ;
16576 char *kwnames
[] = {
16577 (char *) "printData", NULL
16580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
16581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16584 if (arg1
== NULL
) {
16585 PyErr_SetString(PyExc_TypeError
,"null reference");
16589 if (!wxPyCheckForApp()) SWIG_fail
;
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
16593 wxPyEndAllowThreads(__tstate
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
16603 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16606 wxPrintData
*result
;
16607 PyObject
* obj0
= 0 ;
16608 char *kwnames
[] = {
16609 (char *) "self", NULL
16612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
16613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16618 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
16619 result
= (wxPrintData
*) &_result_ref
;
16622 wxPyEndAllowThreads(__tstate
);
16623 if (PyErr_Occurred()) SWIG_fail
;
16625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
16632 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16633 PyObject
*resultobj
;
16634 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16635 wxPrintData
*arg2
= 0 ;
16636 PyObject
* obj0
= 0 ;
16637 PyObject
* obj1
= 0 ;
16638 char *kwnames
[] = {
16639 (char *) "self",(char *) "data", NULL
16642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
16643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16645 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
16646 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16648 if (arg2
== NULL
) {
16649 PyErr_SetString(PyExc_TypeError
,"null reference");
16653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16654 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
16656 wxPyEndAllowThreads(__tstate
);
16657 if (PyErr_Occurred()) SWIG_fail
;
16659 Py_INCREF(Py_None
); resultobj
= Py_None
;
16666 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16667 PyObject
*resultobj
;
16669 PyObject
* obj0
= 0 ;
16670 char *kwnames
[] = {
16671 (char *) "ppi", NULL
16674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
16675 arg1
= (int)SWIG_As_int(obj0
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16679 wxPostScriptDC::SetResolution(arg1
);
16681 wxPyEndAllowThreads(__tstate
);
16682 if (PyErr_Occurred()) SWIG_fail
;
16684 Py_INCREF(Py_None
); resultobj
= Py_None
;
16691 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16692 PyObject
*resultobj
;
16694 char *kwnames
[] = {
16698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
16700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16701 result
= (int)wxPostScriptDC::GetResolution();
16703 wxPyEndAllowThreads(__tstate
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16706 resultobj
= SWIG_From_int((int)result
);
16713 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
16715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16716 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
16718 return Py_BuildValue((char *)"");
16720 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16721 PyObject
*resultobj
;
16722 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16723 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16724 wxMetaFile
*result
;
16725 bool temp1
= false ;
16726 PyObject
* obj0
= 0 ;
16727 char *kwnames
[] = {
16728 (char *) "filename", NULL
16731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
16734 arg1
= wxString_in_helper(obj0
);
16735 if (arg1
== NULL
) SWIG_fail
;
16740 if (!wxPyCheckForApp()) SWIG_fail
;
16741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16742 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
16744 wxPyEndAllowThreads(__tstate
);
16745 if (PyErr_Occurred()) SWIG_fail
;
16747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
16762 static PyObject
*_wrap_delete_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16763 PyObject
*resultobj
;
16764 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16765 PyObject
* obj0
= 0 ;
16766 char *kwnames
[] = {
16767 (char *) "self", NULL
16770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
16771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16777 wxPyEndAllowThreads(__tstate
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16780 Py_INCREF(Py_None
); resultobj
= Py_None
;
16787 static PyObject
*_wrap_MetaFile_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16788 PyObject
*resultobj
;
16789 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16791 PyObject
* obj0
= 0 ;
16792 char *kwnames
[] = {
16793 (char *) "self", NULL
16796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
16797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16801 result
= (bool)(arg1
)->Ok();
16803 wxPyEndAllowThreads(__tstate
);
16804 if (PyErr_Occurred()) SWIG_fail
;
16807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16815 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16816 PyObject
*resultobj
;
16817 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16818 int arg2
= (int) 0 ;
16819 int arg3
= (int) 0 ;
16821 PyObject
* obj0
= 0 ;
16822 PyObject
* obj1
= 0 ;
16823 PyObject
* obj2
= 0 ;
16824 char *kwnames
[] = {
16825 (char *) "self",(char *) "width",(char *) "height", NULL
16828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16832 arg2
= (int)SWIG_As_int(obj1
);
16833 if (PyErr_Occurred()) SWIG_fail
;
16836 arg3
= (int)SWIG_As_int(obj2
);
16837 if (PyErr_Occurred()) SWIG_fail
;
16840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16841 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
16843 wxPyEndAllowThreads(__tstate
);
16844 if (PyErr_Occurred()) SWIG_fail
;
16847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16855 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16856 PyObject
*resultobj
;
16857 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16859 PyObject
* obj0
= 0 ;
16860 char *kwnames
[] = {
16861 (char *) "self", NULL
16864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
16865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16869 result
= (arg1
)->GetSize();
16871 wxPyEndAllowThreads(__tstate
);
16872 if (PyErr_Occurred()) SWIG_fail
;
16875 wxSize
* resultptr
;
16876 resultptr
= new wxSize((wxSize
&) result
);
16877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16885 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16886 PyObject
*resultobj
;
16887 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16889 PyObject
* obj0
= 0 ;
16890 char *kwnames
[] = {
16891 (char *) "self", NULL
16894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
16895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16899 result
= (int)(arg1
)->GetWidth();
16901 wxPyEndAllowThreads(__tstate
);
16902 if (PyErr_Occurred()) SWIG_fail
;
16904 resultobj
= SWIG_From_int((int)result
);
16911 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16912 PyObject
*resultobj
;
16913 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16915 PyObject
* obj0
= 0 ;
16916 char *kwnames
[] = {
16917 (char *) "self", NULL
16920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
16921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16925 result
= (int)(arg1
)->GetHeight();
16927 wxPyEndAllowThreads(__tstate
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16930 resultobj
= SWIG_From_int((int)result
);
16937 static PyObject
*_wrap_MetaFile_GetFileName(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_GetFileName",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();
16952 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
16953 result
= (wxString
*) &_result_ref
;
16956 wxPyEndAllowThreads(__tstate
);
16957 if (PyErr_Occurred()) SWIG_fail
;
16961 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16963 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16972 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
16974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16975 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
16977 return Py_BuildValue((char *)"");
16979 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16980 PyObject
*resultobj
;
16981 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16982 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16983 int arg2
= (int) 0 ;
16984 int arg3
= (int) 0 ;
16985 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16986 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16987 wxMetaFileDC
*result
;
16988 bool temp1
= false ;
16989 bool temp4
= false ;
16990 PyObject
* obj0
= 0 ;
16991 PyObject
* obj1
= 0 ;
16992 PyObject
* obj2
= 0 ;
16993 PyObject
* obj3
= 0 ;
16994 char *kwnames
[] = {
16995 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
16998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17001 arg1
= wxString_in_helper(obj0
);
17002 if (arg1
== NULL
) SWIG_fail
;
17007 arg2
= (int)SWIG_As_int(obj1
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17011 arg3
= (int)SWIG_As_int(obj2
);
17012 if (PyErr_Occurred()) SWIG_fail
;
17016 arg4
= wxString_in_helper(obj3
);
17017 if (arg4
== NULL
) SWIG_fail
;
17022 if (!wxPyCheckForApp()) SWIG_fail
;
17023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17024 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
17026 wxPyEndAllowThreads(__tstate
);
17027 if (PyErr_Occurred()) SWIG_fail
;
17029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
17052 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17053 PyObject
*resultobj
;
17054 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
17055 wxMetaFile
*result
;
17056 PyObject
* obj0
= 0 ;
17057 char *kwnames
[] = {
17058 (char *) "self", NULL
17061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
17062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
,
17063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17066 result
= (wxMetaFile
*)(arg1
)->Close();
17068 wxPyEndAllowThreads(__tstate
);
17069 if (PyErr_Occurred()) SWIG_fail
;
17071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
17078 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
17080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17081 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
17083 return Py_BuildValue((char *)"");
17085 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17086 PyObject
*resultobj
;
17087 wxPrintData
*arg1
= 0 ;
17088 wxPrinterDC
*result
;
17089 PyObject
* obj0
= 0 ;
17090 char *kwnames
[] = {
17091 (char *) "printData", NULL
17094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
17095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17096 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17098 if (arg1
== NULL
) {
17099 PyErr_SetString(PyExc_TypeError
,"null reference");
17103 if (!wxPyCheckForApp()) SWIG_fail
;
17104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17105 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
17107 wxPyEndAllowThreads(__tstate
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
17117 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
17119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17120 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
17122 return Py_BuildValue((char *)"");
17124 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17125 PyObject
*resultobj
;
17128 int arg3
= (int) true ;
17129 int arg4
= (int) 1 ;
17130 wxImageList
*result
;
17131 PyObject
* obj0
= 0 ;
17132 PyObject
* obj1
= 0 ;
17133 PyObject
* obj2
= 0 ;
17134 PyObject
* obj3
= 0 ;
17135 char *kwnames
[] = {
17136 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
17139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17140 arg1
= (int)SWIG_As_int(obj0
);
17141 if (PyErr_Occurred()) SWIG_fail
;
17142 arg2
= (int)SWIG_As_int(obj1
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17145 arg3
= (int)SWIG_As_int(obj2
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17149 arg4
= (int)SWIG_As_int(obj3
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17153 if (!wxPyCheckForApp()) SWIG_fail
;
17154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17155 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
17157 wxPyEndAllowThreads(__tstate
);
17158 if (PyErr_Occurred()) SWIG_fail
;
17161 resultobj
= wxPyMake_wxObject(result
, 1);
17169 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17170 PyObject
*resultobj
;
17171 wxImageList
*arg1
= (wxImageList
*) 0 ;
17172 PyObject
* obj0
= 0 ;
17173 char *kwnames
[] = {
17174 (char *) "self", NULL
17177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
17178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17184 wxPyEndAllowThreads(__tstate
);
17185 if (PyErr_Occurred()) SWIG_fail
;
17187 Py_INCREF(Py_None
); resultobj
= Py_None
;
17194 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17195 PyObject
*resultobj
;
17196 wxImageList
*arg1
= (wxImageList
*) 0 ;
17197 wxBitmap
*arg2
= 0 ;
17198 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
17199 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
17201 PyObject
* obj0
= 0 ;
17202 PyObject
* obj1
= 0 ;
17203 PyObject
* obj2
= 0 ;
17204 char *kwnames
[] = {
17205 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
17208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
17212 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17214 if (arg2
== NULL
) {
17215 PyErr_SetString(PyExc_TypeError
,"null reference");
17219 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
17220 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17222 if (arg3
== NULL
) {
17223 PyErr_SetString(PyExc_TypeError
,"null reference");
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17229 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17234 resultobj
= SWIG_From_int((int)result
);
17241 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17242 PyObject
*resultobj
;
17243 wxImageList
*arg1
= (wxImageList
*) 0 ;
17244 wxBitmap
*arg2
= 0 ;
17245 wxColour
*arg3
= 0 ;
17248 PyObject
* obj0
= 0 ;
17249 PyObject
* obj1
= 0 ;
17250 PyObject
* obj2
= 0 ;
17251 char *kwnames
[] = {
17252 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
17255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17258 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
17259 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17261 if (arg2
== NULL
) {
17262 PyErr_SetString(PyExc_TypeError
,"null reference");
17267 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
17273 wxPyEndAllowThreads(__tstate
);
17274 if (PyErr_Occurred()) SWIG_fail
;
17276 resultobj
= SWIG_From_int((int)result
);
17283 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17284 PyObject
*resultobj
;
17285 wxImageList
*arg1
= (wxImageList
*) 0 ;
17288 PyObject
* obj0
= 0 ;
17289 PyObject
* obj1
= 0 ;
17290 char *kwnames
[] = {
17291 (char *) "self",(char *) "icon", NULL
17294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
17295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
17298 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17300 if (arg2
== NULL
) {
17301 PyErr_SetString(PyExc_TypeError
,"null reference");
17305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17306 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
17308 wxPyEndAllowThreads(__tstate
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17311 resultobj
= SWIG_From_int((int)result
);
17318 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17319 PyObject
*resultobj
;
17320 wxImageList
*arg1
= (wxImageList
*) 0 ;
17322 wxBitmap
*arg3
= 0 ;
17323 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
17324 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
17326 PyObject
* obj0
= 0 ;
17327 PyObject
* obj1
= 0 ;
17328 PyObject
* obj2
= 0 ;
17329 PyObject
* obj3
= 0 ;
17330 char *kwnames
[] = {
17331 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
17334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17337 arg2
= (int)SWIG_As_int(obj1
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17339 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
17340 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17342 if (arg3
== NULL
) {
17343 PyErr_SetString(PyExc_TypeError
,"null reference");
17347 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
17348 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17350 if (arg4
== NULL
) {
17351 PyErr_SetString(PyExc_TypeError
,"null reference");
17356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17357 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
17359 wxPyEndAllowThreads(__tstate
);
17360 if (PyErr_Occurred()) SWIG_fail
;
17363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17371 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17372 PyObject
*resultobj
;
17373 wxImageList
*arg1
= (wxImageList
*) 0 ;
17378 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
17379 bool arg7
= (bool) (bool)false ;
17381 PyObject
* obj0
= 0 ;
17382 PyObject
* obj1
= 0 ;
17383 PyObject
* obj2
= 0 ;
17384 PyObject
* obj3
= 0 ;
17385 PyObject
* obj4
= 0 ;
17386 PyObject
* obj5
= 0 ;
17387 PyObject
* obj6
= 0 ;
17388 char *kwnames
[] = {
17389 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
17392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17395 arg2
= (int)SWIG_As_int(obj1
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17397 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
17398 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17400 if (arg3
== NULL
) {
17401 PyErr_SetString(PyExc_TypeError
,"null reference");
17404 arg4
= (int)SWIG_As_int(obj3
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17406 arg5
= (int)SWIG_As_int(obj4
);
17407 if (PyErr_Occurred()) SWIG_fail
;
17409 arg6
= (int)SWIG_As_int(obj5
);
17410 if (PyErr_Occurred()) SWIG_fail
;
17413 arg7
= (bool)SWIG_As_bool(obj6
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17418 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
17420 wxPyEndAllowThreads(__tstate
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17432 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17433 PyObject
*resultobj
;
17434 wxImageList
*arg1
= (wxImageList
*) 0 ;
17436 PyObject
* obj0
= 0 ;
17437 char *kwnames
[] = {
17438 (char *) "self", NULL
17441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
17442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17446 result
= (int)(arg1
)->GetImageCount();
17448 wxPyEndAllowThreads(__tstate
);
17449 if (PyErr_Occurred()) SWIG_fail
;
17451 resultobj
= SWIG_From_int((int)result
);
17458 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17459 PyObject
*resultobj
;
17460 wxImageList
*arg1
= (wxImageList
*) 0 ;
17463 PyObject
* obj0
= 0 ;
17464 PyObject
* obj1
= 0 ;
17465 char *kwnames
[] = {
17466 (char *) "self",(char *) "index", NULL
17469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
17470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17472 arg2
= (int)SWIG_As_int(obj1
);
17473 if (PyErr_Occurred()) SWIG_fail
;
17475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17476 result
= (bool)(arg1
)->Remove(arg2
);
17478 wxPyEndAllowThreads(__tstate
);
17479 if (PyErr_Occurred()) SWIG_fail
;
17482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17490 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17491 PyObject
*resultobj
;
17492 wxImageList
*arg1
= (wxImageList
*) 0 ;
17494 PyObject
* obj0
= 0 ;
17495 char *kwnames
[] = {
17496 (char *) "self", NULL
17499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
17500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17504 result
= (bool)(arg1
)->RemoveAll();
17506 wxPyEndAllowThreads(__tstate
);
17507 if (PyErr_Occurred()) SWIG_fail
;
17510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17518 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17519 PyObject
*resultobj
;
17520 wxImageList
*arg1
= (wxImageList
*) 0 ;
17528 PyObject
* obj0
= 0 ;
17529 PyObject
* obj1
= 0 ;
17530 char *kwnames
[] = {
17531 (char *) "self",(char *) "index", NULL
17534 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17535 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
17536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17539 arg2
= (int)SWIG_As_int(obj1
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17543 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
17545 wxPyEndAllowThreads(__tstate
);
17546 if (PyErr_Occurred()) SWIG_fail
;
17548 Py_INCREF(Py_None
); resultobj
= Py_None
;
17549 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17550 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17551 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
17552 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
17559 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
17561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17562 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
17564 return Py_BuildValue((char *)"");
17566 static int _wrap_NORMAL_FONT_set(PyObject
*) {
17567 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
17572 static PyObject
*_wrap_NORMAL_FONT_get() {
17575 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
17580 static int _wrap_SMALL_FONT_set(PyObject
*) {
17581 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
17586 static PyObject
*_wrap_SMALL_FONT_get() {
17589 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
17594 static int _wrap_ITALIC_FONT_set(PyObject
*) {
17595 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
17600 static PyObject
*_wrap_ITALIC_FONT_get() {
17603 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
17608 static int _wrap_SWISS_FONT_set(PyObject
*) {
17609 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
17614 static PyObject
*_wrap_SWISS_FONT_get() {
17617 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
17622 static int _wrap_RED_PEN_set(PyObject
*) {
17623 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
17628 static PyObject
*_wrap_RED_PEN_get() {
17631 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
17636 static int _wrap_CYAN_PEN_set(PyObject
*) {
17637 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
17642 static PyObject
*_wrap_CYAN_PEN_get() {
17645 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
17650 static int _wrap_GREEN_PEN_set(PyObject
*) {
17651 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
17656 static PyObject
*_wrap_GREEN_PEN_get() {
17659 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
17664 static int _wrap_BLACK_PEN_set(PyObject
*) {
17665 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
17670 static PyObject
*_wrap_BLACK_PEN_get() {
17673 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
17678 static int _wrap_WHITE_PEN_set(PyObject
*) {
17679 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
17684 static PyObject
*_wrap_WHITE_PEN_get() {
17687 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
17692 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
17693 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
17698 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
17701 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
17706 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
17707 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
17712 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
17715 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
17720 static int _wrap_GREY_PEN_set(PyObject
*) {
17721 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
17726 static PyObject
*_wrap_GREY_PEN_get() {
17729 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17734 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
17735 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
17740 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
17743 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17748 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
17749 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
17754 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
17757 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17762 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
17763 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
17768 static PyObject
*_wrap_BLUE_BRUSH_get() {
17771 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17776 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
17777 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
17782 static PyObject
*_wrap_GREEN_BRUSH_get() {
17785 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17790 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
17791 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
17796 static PyObject
*_wrap_WHITE_BRUSH_get() {
17799 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17804 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
17805 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
17810 static PyObject
*_wrap_BLACK_BRUSH_get() {
17813 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17818 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
17819 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
17824 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
17827 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17832 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
17833 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
17838 static PyObject
*_wrap_CYAN_BRUSH_get() {
17841 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17846 static int _wrap_RED_BRUSH_set(PyObject
*) {
17847 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
17852 static PyObject
*_wrap_RED_BRUSH_get() {
17855 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17860 static int _wrap_GREY_BRUSH_set(PyObject
*) {
17861 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
17866 static PyObject
*_wrap_GREY_BRUSH_get() {
17869 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17874 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
17875 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
17880 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
17883 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17888 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
17889 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
17894 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
17897 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17902 static int _wrap_BLACK_set(PyObject
*) {
17903 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
17908 static PyObject
*_wrap_BLACK_get() {
17911 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
17916 static int _wrap_WHITE_set(PyObject
*) {
17917 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
17922 static PyObject
*_wrap_WHITE_get() {
17925 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
17930 static int _wrap_RED_set(PyObject
*) {
17931 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
17936 static PyObject
*_wrap_RED_get() {
17939 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
17944 static int _wrap_BLUE_set(PyObject
*) {
17945 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
17950 static PyObject
*_wrap_BLUE_get() {
17953 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
17958 static int _wrap_GREEN_set(PyObject
*) {
17959 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
17964 static PyObject
*_wrap_GREEN_get() {
17967 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
17972 static int _wrap_CYAN_set(PyObject
*) {
17973 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
17978 static PyObject
*_wrap_CYAN_get() {
17981 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
17986 static int _wrap_LIGHT_GREY_set(PyObject
*) {
17987 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
17992 static PyObject
*_wrap_LIGHT_GREY_get() {
17995 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
18000 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
18001 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
18006 static PyObject
*_wrap_STANDARD_CURSOR_get() {
18009 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
18014 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
18015 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
18020 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
18023 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
18028 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
18029 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
18034 static PyObject
*_wrap_CROSS_CURSOR_get() {
18037 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
18042 static int _wrap_NullBitmap_set(PyObject
*) {
18043 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
18048 static PyObject
*_wrap_NullBitmap_get() {
18051 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
18056 static int _wrap_NullIcon_set(PyObject
*) {
18057 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
18062 static PyObject
*_wrap_NullIcon_get() {
18065 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
18070 static int _wrap_NullCursor_set(PyObject
*) {
18071 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
18076 static PyObject
*_wrap_NullCursor_get() {
18079 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
18084 static int _wrap_NullPen_set(PyObject
*) {
18085 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
18090 static PyObject
*_wrap_NullPen_get() {
18093 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
18098 static int _wrap_NullBrush_set(PyObject
*) {
18099 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
18104 static PyObject
*_wrap_NullBrush_get() {
18107 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
18112 static int _wrap_NullPalette_set(PyObject
*) {
18113 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
18118 static PyObject
*_wrap_NullPalette_get() {
18121 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
18126 static int _wrap_NullFont_set(PyObject
*) {
18127 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
18132 static PyObject
*_wrap_NullFont_get() {
18135 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
18140 static int _wrap_NullColour_set(PyObject
*) {
18141 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
18146 static PyObject
*_wrap_NullColour_get() {
18149 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
18154 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18155 PyObject
*resultobj
;
18156 wxPenList
*arg1
= (wxPenList
*) 0 ;
18157 wxPen
*arg2
= (wxPen
*) 0 ;
18158 PyObject
* obj0
= 0 ;
18159 PyObject
* obj1
= 0 ;
18160 char *kwnames
[] = {
18161 (char *) "self",(char *) "pen", NULL
18164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
18165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
18166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
18168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18171 (arg1
)->AddPen(arg2
);
18173 wxPyEndAllowThreads(__tstate
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18176 Py_INCREF(Py_None
); resultobj
= Py_None
;
18183 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18184 PyObject
*resultobj
;
18185 wxPenList
*arg1
= (wxPenList
*) 0 ;
18186 wxColour
*arg2
= 0 ;
18191 PyObject
* obj0
= 0 ;
18192 PyObject
* obj1
= 0 ;
18193 PyObject
* obj2
= 0 ;
18194 PyObject
* obj3
= 0 ;
18195 char *kwnames
[] = {
18196 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
18199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
18201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18204 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18206 arg3
= (int)SWIG_As_int(obj2
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18208 arg4
= (int)SWIG_As_int(obj3
);
18209 if (PyErr_Occurred()) SWIG_fail
;
18211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18212 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
18214 wxPyEndAllowThreads(__tstate
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
18224 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18225 PyObject
*resultobj
;
18226 wxPenList
*arg1
= (wxPenList
*) 0 ;
18227 wxPen
*arg2
= (wxPen
*) 0 ;
18228 PyObject
* obj0
= 0 ;
18229 PyObject
* obj1
= 0 ;
18230 char *kwnames
[] = {
18231 (char *) "self",(char *) "pen", NULL
18234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
18235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
18236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18237 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
18238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18241 (arg1
)->RemovePen(arg2
);
18243 wxPyEndAllowThreads(__tstate
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18246 Py_INCREF(Py_None
); resultobj
= Py_None
;
18253 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18254 PyObject
*resultobj
;
18255 wxPenList
*arg1
= (wxPenList
*) 0 ;
18257 PyObject
* obj0
= 0 ;
18258 char *kwnames
[] = {
18259 (char *) "self", NULL
18262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
18263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
18264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18267 result
= (int)(arg1
)->GetCount();
18269 wxPyEndAllowThreads(__tstate
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18272 resultobj
= SWIG_From_int((int)result
);
18279 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
18281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18282 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
18284 return Py_BuildValue((char *)"");
18286 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18287 PyObject
*resultobj
;
18288 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
18289 wxBrush
*arg2
= (wxBrush
*) 0 ;
18290 PyObject
* obj0
= 0 ;
18291 PyObject
* obj1
= 0 ;
18292 char *kwnames
[] = {
18293 (char *) "self",(char *) "brush", NULL
18296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
18297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
18298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18299 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
18300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18303 (arg1
)->AddBrush(arg2
);
18305 wxPyEndAllowThreads(__tstate
);
18306 if (PyErr_Occurred()) SWIG_fail
;
18308 Py_INCREF(Py_None
); resultobj
= Py_None
;
18315 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18316 PyObject
*resultobj
;
18317 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
18318 wxColour
*arg2
= 0 ;
18322 PyObject
* obj0
= 0 ;
18323 PyObject
* obj1
= 0 ;
18324 PyObject
* obj2
= 0 ;
18325 char *kwnames
[] = {
18326 (char *) "self",(char *) "colour",(char *) "style", NULL
18329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
18331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18334 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18336 arg3
= (int)SWIG_As_int(obj2
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18340 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
18342 wxPyEndAllowThreads(__tstate
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
18352 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18353 PyObject
*resultobj
;
18354 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
18355 wxBrush
*arg2
= (wxBrush
*) 0 ;
18356 PyObject
* obj0
= 0 ;
18357 PyObject
* obj1
= 0 ;
18358 char *kwnames
[] = {
18359 (char *) "self",(char *) "brush", NULL
18362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
18363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
18364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18365 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
18366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18369 (arg1
)->RemoveBrush(arg2
);
18371 wxPyEndAllowThreads(__tstate
);
18372 if (PyErr_Occurred()) SWIG_fail
;
18374 Py_INCREF(Py_None
); resultobj
= Py_None
;
18381 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18382 PyObject
*resultobj
;
18383 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
18385 PyObject
* obj0
= 0 ;
18386 char *kwnames
[] = {
18387 (char *) "self", NULL
18390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
18391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
18392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18395 result
= (int)(arg1
)->GetCount();
18397 wxPyEndAllowThreads(__tstate
);
18398 if (PyErr_Occurred()) SWIG_fail
;
18400 resultobj
= SWIG_From_int((int)result
);
18407 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
18409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18410 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
18412 return Py_BuildValue((char *)"");
18414 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18415 PyObject
*resultobj
;
18416 wxColourDatabase
*result
;
18417 char *kwnames
[] = {
18421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
18423 if (!wxPyCheckForApp()) SWIG_fail
;
18424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18425 result
= (wxColourDatabase
*)new wxColourDatabase();
18427 wxPyEndAllowThreads(__tstate
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
18437 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18438 PyObject
*resultobj
;
18439 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18440 PyObject
* obj0
= 0 ;
18441 char *kwnames
[] = {
18442 (char *) "self", NULL
18445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
18446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18452 wxPyEndAllowThreads(__tstate
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18455 Py_INCREF(Py_None
); resultobj
= Py_None
;
18462 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18463 PyObject
*resultobj
;
18464 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18465 wxString
*arg2
= 0 ;
18467 bool temp2
= false ;
18468 PyObject
* obj0
= 0 ;
18469 PyObject
* obj1
= 0 ;
18470 char *kwnames
[] = {
18471 (char *) "self",(char *) "name", NULL
18474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
18475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18478 arg2
= wxString_in_helper(obj1
);
18479 if (arg2
== NULL
) SWIG_fail
;
18483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18484 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
18486 wxPyEndAllowThreads(__tstate
);
18487 if (PyErr_Occurred()) SWIG_fail
;
18490 wxColour
* resultptr
;
18491 resultptr
= new wxColour((wxColour
&) result
);
18492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18508 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18509 PyObject
*resultobj
;
18510 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18511 wxColour
*arg2
= 0 ;
18514 PyObject
* obj0
= 0 ;
18515 PyObject
* obj1
= 0 ;
18516 char *kwnames
[] = {
18517 (char *) "self",(char *) "colour", NULL
18520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
18521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18525 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18529 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
18531 wxPyEndAllowThreads(__tstate
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18547 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18548 PyObject
*resultobj
;
18549 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18550 wxString
*arg2
= 0 ;
18551 wxColour
*arg3
= 0 ;
18552 bool temp2
= false ;
18554 PyObject
* obj0
= 0 ;
18555 PyObject
* obj1
= 0 ;
18556 PyObject
* obj2
= 0 ;
18557 char *kwnames
[] = {
18558 (char *) "self",(char *) "name",(char *) "colour", NULL
18561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18565 arg2
= wxString_in_helper(obj1
);
18566 if (arg2
== NULL
) SWIG_fail
;
18571 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18575 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
18577 wxPyEndAllowThreads(__tstate
);
18578 if (PyErr_Occurred()) SWIG_fail
;
18580 Py_INCREF(Py_None
); resultobj
= Py_None
;
18595 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18596 PyObject
*resultobj
;
18597 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18598 wxString
*arg2
= 0 ;
18602 bool temp2
= false ;
18603 PyObject
* obj0
= 0 ;
18604 PyObject
* obj1
= 0 ;
18605 PyObject
* obj2
= 0 ;
18606 PyObject
* obj3
= 0 ;
18607 PyObject
* obj4
= 0 ;
18608 char *kwnames
[] = {
18609 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
18612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18616 arg2
= wxString_in_helper(obj1
);
18617 if (arg2
== NULL
) SWIG_fail
;
18620 arg3
= (int)SWIG_As_int(obj2
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18622 arg4
= (int)SWIG_As_int(obj3
);
18623 if (PyErr_Occurred()) SWIG_fail
;
18624 arg5
= (int)SWIG_As_int(obj4
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18628 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
18630 wxPyEndAllowThreads(__tstate
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18633 Py_INCREF(Py_None
); resultobj
= Py_None
;
18648 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
18650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18651 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
18653 return Py_BuildValue((char *)"");
18655 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18656 PyObject
*resultobj
;
18657 wxFontList
*arg1
= (wxFontList
*) 0 ;
18658 wxFont
*arg2
= (wxFont
*) 0 ;
18659 PyObject
* obj0
= 0 ;
18660 PyObject
* obj1
= 0 ;
18661 char *kwnames
[] = {
18662 (char *) "self",(char *) "font", NULL
18665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18672 (arg1
)->AddFont(arg2
);
18674 wxPyEndAllowThreads(__tstate
);
18675 if (PyErr_Occurred()) SWIG_fail
;
18677 Py_INCREF(Py_None
); resultobj
= Py_None
;
18684 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18685 PyObject
*resultobj
;
18686 wxFontList
*arg1
= (wxFontList
*) 0 ;
18691 bool arg6
= (bool) false ;
18692 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18693 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18694 int arg8
= (int) wxFONTENCODING_DEFAULT
;
18696 bool temp7
= false ;
18697 PyObject
* obj0
= 0 ;
18698 PyObject
* obj1
= 0 ;
18699 PyObject
* obj2
= 0 ;
18700 PyObject
* obj3
= 0 ;
18701 PyObject
* obj4
= 0 ;
18702 PyObject
* obj5
= 0 ;
18703 PyObject
* obj6
= 0 ;
18704 PyObject
* obj7
= 0 ;
18705 char *kwnames
[] = {
18706 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
18709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18712 arg2
= (int)SWIG_As_int(obj1
);
18713 if (PyErr_Occurred()) SWIG_fail
;
18714 arg3
= (int)SWIG_As_int(obj2
);
18715 if (PyErr_Occurred()) SWIG_fail
;
18716 arg4
= (int)SWIG_As_int(obj3
);
18717 if (PyErr_Occurred()) SWIG_fail
;
18718 arg5
= (int)SWIG_As_int(obj4
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18721 arg6
= (bool)SWIG_As_bool(obj5
);
18722 if (PyErr_Occurred()) SWIG_fail
;
18726 arg7
= wxString_in_helper(obj6
);
18727 if (arg7
== NULL
) SWIG_fail
;
18732 arg8
= (int)SWIG_As_int(obj7
);
18733 if (PyErr_Occurred()) SWIG_fail
;
18736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18737 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
18739 wxPyEndAllowThreads(__tstate
);
18740 if (PyErr_Occurred()) SWIG_fail
;
18742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
18757 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18758 PyObject
*resultobj
;
18759 wxFontList
*arg1
= (wxFontList
*) 0 ;
18760 wxFont
*arg2
= (wxFont
*) 0 ;
18761 PyObject
* obj0
= 0 ;
18762 PyObject
* obj1
= 0 ;
18763 char *kwnames
[] = {
18764 (char *) "self",(char *) "font", NULL
18767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18770 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18774 (arg1
)->RemoveFont(arg2
);
18776 wxPyEndAllowThreads(__tstate
);
18777 if (PyErr_Occurred()) SWIG_fail
;
18779 Py_INCREF(Py_None
); resultobj
= Py_None
;
18786 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18787 PyObject
*resultobj
;
18788 wxFontList
*arg1
= (wxFontList
*) 0 ;
18790 PyObject
* obj0
= 0 ;
18791 char *kwnames
[] = {
18792 (char *) "self", NULL
18795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
18796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18800 result
= (int)(arg1
)->GetCount();
18802 wxPyEndAllowThreads(__tstate
);
18803 if (PyErr_Occurred()) SWIG_fail
;
18805 resultobj
= SWIG_From_int((int)result
);
18812 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
18814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18815 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
18817 return Py_BuildValue((char *)"");
18819 static int _wrap_TheFontList_set(PyObject
*) {
18820 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
18825 static PyObject
*_wrap_TheFontList_get() {
18828 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
18833 static int _wrap_ThePenList_set(PyObject
*) {
18834 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
18839 static PyObject
*_wrap_ThePenList_get() {
18842 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
18847 static int _wrap_TheBrushList_set(PyObject
*) {
18848 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
18853 static PyObject
*_wrap_TheBrushList_get() {
18856 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
18861 static int _wrap_TheColourDatabase_set(PyObject
*) {
18862 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
18867 static PyObject
*_wrap_TheColourDatabase_get() {
18870 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
18875 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18876 PyObject
*resultobj
;
18878 char *kwnames
[] = {
18882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
18884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18885 result
= (wxEffects
*)new wxEffects();
18887 wxPyEndAllowThreads(__tstate
);
18888 if (PyErr_Occurred()) SWIG_fail
;
18890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
18897 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18898 PyObject
*resultobj
;
18899 wxEffects
*arg1
= (wxEffects
*) 0 ;
18901 PyObject
* obj0
= 0 ;
18902 char *kwnames
[] = {
18903 (char *) "self", NULL
18906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
18907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18911 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
18913 wxPyEndAllowThreads(__tstate
);
18914 if (PyErr_Occurred()) SWIG_fail
;
18917 wxColour
* resultptr
;
18918 resultptr
= new wxColour((wxColour
&) result
);
18919 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18927 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18928 PyObject
*resultobj
;
18929 wxEffects
*arg1
= (wxEffects
*) 0 ;
18931 PyObject
* obj0
= 0 ;
18932 char *kwnames
[] = {
18933 (char *) "self", NULL
18936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
18937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18941 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
18943 wxPyEndAllowThreads(__tstate
);
18944 if (PyErr_Occurred()) SWIG_fail
;
18947 wxColour
* resultptr
;
18948 resultptr
= new wxColour((wxColour
&) result
);
18949 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18957 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18958 PyObject
*resultobj
;
18959 wxEffects
*arg1
= (wxEffects
*) 0 ;
18961 PyObject
* obj0
= 0 ;
18962 char *kwnames
[] = {
18963 (char *) "self", NULL
18966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
18967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18971 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
18973 wxPyEndAllowThreads(__tstate
);
18974 if (PyErr_Occurred()) SWIG_fail
;
18977 wxColour
* resultptr
;
18978 resultptr
= new wxColour((wxColour
&) result
);
18979 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18987 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18988 PyObject
*resultobj
;
18989 wxEffects
*arg1
= (wxEffects
*) 0 ;
18991 PyObject
* obj0
= 0 ;
18992 char *kwnames
[] = {
18993 (char *) "self", NULL
18996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
18997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19001 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
19003 wxPyEndAllowThreads(__tstate
);
19004 if (PyErr_Occurred()) SWIG_fail
;
19007 wxColour
* resultptr
;
19008 resultptr
= new wxColour((wxColour
&) result
);
19009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19017 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19018 PyObject
*resultobj
;
19019 wxEffects
*arg1
= (wxEffects
*) 0 ;
19021 PyObject
* obj0
= 0 ;
19022 char *kwnames
[] = {
19023 (char *) "self", NULL
19026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
19027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
19033 wxPyEndAllowThreads(__tstate
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19037 wxColour
* resultptr
;
19038 resultptr
= new wxColour((wxColour
&) result
);
19039 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19047 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19048 PyObject
*resultobj
;
19049 wxEffects
*arg1
= (wxEffects
*) 0 ;
19050 wxColour
*arg2
= 0 ;
19052 PyObject
* obj0
= 0 ;
19053 PyObject
* obj1
= 0 ;
19054 char *kwnames
[] = {
19055 (char *) "self",(char *) "c", NULL
19058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19063 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
19069 wxPyEndAllowThreads(__tstate
);
19070 if (PyErr_Occurred()) SWIG_fail
;
19072 Py_INCREF(Py_None
); resultobj
= Py_None
;
19079 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19080 PyObject
*resultobj
;
19081 wxEffects
*arg1
= (wxEffects
*) 0 ;
19082 wxColour
*arg2
= 0 ;
19084 PyObject
* obj0
= 0 ;
19085 PyObject
* obj1
= 0 ;
19086 char *kwnames
[] = {
19087 (char *) "self",(char *) "c", NULL
19090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
19091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19095 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19099 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
19101 wxPyEndAllowThreads(__tstate
);
19102 if (PyErr_Occurred()) SWIG_fail
;
19104 Py_INCREF(Py_None
); resultobj
= Py_None
;
19111 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19112 PyObject
*resultobj
;
19113 wxEffects
*arg1
= (wxEffects
*) 0 ;
19114 wxColour
*arg2
= 0 ;
19116 PyObject
* obj0
= 0 ;
19117 PyObject
* obj1
= 0 ;
19118 char *kwnames
[] = {
19119 (char *) "self",(char *) "c", NULL
19122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19127 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19131 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
19133 wxPyEndAllowThreads(__tstate
);
19134 if (PyErr_Occurred()) SWIG_fail
;
19136 Py_INCREF(Py_None
); resultobj
= Py_None
;
19143 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19144 PyObject
*resultobj
;
19145 wxEffects
*arg1
= (wxEffects
*) 0 ;
19146 wxColour
*arg2
= 0 ;
19148 PyObject
* obj0
= 0 ;
19149 PyObject
* obj1
= 0 ;
19150 char *kwnames
[] = {
19151 (char *) "self",(char *) "c", NULL
19154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
19155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19159 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19163 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
19165 wxPyEndAllowThreads(__tstate
);
19166 if (PyErr_Occurred()) SWIG_fail
;
19168 Py_INCREF(Py_None
); resultobj
= Py_None
;
19175 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19176 PyObject
*resultobj
;
19177 wxEffects
*arg1
= (wxEffects
*) 0 ;
19178 wxColour
*arg2
= 0 ;
19180 PyObject
* obj0
= 0 ;
19181 PyObject
* obj1
= 0 ;
19182 char *kwnames
[] = {
19183 (char *) "self",(char *) "c", NULL
19186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
19187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19191 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19195 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
19197 wxPyEndAllowThreads(__tstate
);
19198 if (PyErr_Occurred()) SWIG_fail
;
19200 Py_INCREF(Py_None
); resultobj
= Py_None
;
19207 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19208 PyObject
*resultobj
;
19209 wxEffects
*arg1
= (wxEffects
*) 0 ;
19210 wxColour
*arg2
= 0 ;
19211 wxColour
*arg3
= 0 ;
19212 wxColour
*arg4
= 0 ;
19213 wxColour
*arg5
= 0 ;
19214 wxColour
*arg6
= 0 ;
19220 PyObject
* obj0
= 0 ;
19221 PyObject
* obj1
= 0 ;
19222 PyObject
* obj2
= 0 ;
19223 PyObject
* obj3
= 0 ;
19224 PyObject
* obj4
= 0 ;
19225 PyObject
* obj5
= 0 ;
19226 char *kwnames
[] = {
19227 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
19230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19235 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19239 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19243 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
19247 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
19251 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
19254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19255 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
19257 wxPyEndAllowThreads(__tstate
);
19258 if (PyErr_Occurred()) SWIG_fail
;
19260 Py_INCREF(Py_None
); resultobj
= Py_None
;
19267 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19268 PyObject
*resultobj
;
19269 wxEffects
*arg1
= (wxEffects
*) 0 ;
19272 int arg4
= (int) 1 ;
19274 PyObject
* obj0
= 0 ;
19275 PyObject
* obj1
= 0 ;
19276 PyObject
* obj2
= 0 ;
19277 PyObject
* obj3
= 0 ;
19278 char *kwnames
[] = {
19279 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
19282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19286 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19288 if (arg2
== NULL
) {
19289 PyErr_SetString(PyExc_TypeError
,"null reference");
19294 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
19297 arg4
= (int)SWIG_As_int(obj3
);
19298 if (PyErr_Occurred()) SWIG_fail
;
19301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19302 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
19304 wxPyEndAllowThreads(__tstate
);
19305 if (PyErr_Occurred()) SWIG_fail
;
19307 Py_INCREF(Py_None
); resultobj
= Py_None
;
19314 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19315 PyObject
*resultobj
;
19316 wxEffects
*arg1
= (wxEffects
*) 0 ;
19319 wxBitmap
*arg4
= 0 ;
19322 PyObject
* obj0
= 0 ;
19323 PyObject
* obj1
= 0 ;
19324 PyObject
* obj2
= 0 ;
19325 PyObject
* obj3
= 0 ;
19326 char *kwnames
[] = {
19327 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
19330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19335 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19337 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
19338 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19340 if (arg3
== NULL
) {
19341 PyErr_SetString(PyExc_TypeError
,"null reference");
19344 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
19345 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19347 if (arg4
== NULL
) {
19348 PyErr_SetString(PyExc_TypeError
,"null reference");
19352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19353 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
19355 wxPyEndAllowThreads(__tstate
);
19356 if (PyErr_Occurred()) SWIG_fail
;
19359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19367 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
19369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19370 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
19372 return Py_BuildValue((char *)"");
19374 static PyMethodDef SwigMethods
[] = {
19375 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19376 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19377 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19378 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19379 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19380 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
19381 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19382 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19383 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19384 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19385 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19386 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19387 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19388 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19389 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19390 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19391 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19392 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19393 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19394 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19395 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19396 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19397 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
19398 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19399 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19400 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19401 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19402 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19403 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
19404 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19405 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19406 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19407 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19408 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19409 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19410 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19411 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19412 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19413 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19414 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19415 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19416 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19417 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19418 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19419 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19420 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19421 { (char *)"Pen_GetStipple", (PyCFunction
) _wrap_Pen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19422 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19423 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19424 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19425 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
19426 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19427 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19428 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19429 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19430 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19431 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19432 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19433 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19434 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19435 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
19436 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19437 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19438 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19439 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19440 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19441 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19442 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19443 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19444 { (char *)"Bitmap_GetHandle", (PyCFunction
) _wrap_Bitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19445 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19446 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19447 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19448 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19449 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19450 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19451 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19452 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19453 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19454 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19455 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19456 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19457 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19458 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19459 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19460 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19461 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19462 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19463 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19464 { (char *)"Bitmap_GetQuality", (PyCFunction
) _wrap_Bitmap_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19465 { (char *)"Bitmap_SetQuality", (PyCFunction
) _wrap_Bitmap_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19466 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19467 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19468 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
19469 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19470 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
19471 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19472 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19473 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19474 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19475 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19476 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19477 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19478 { (char *)"Icon_GetHandle", (PyCFunction
) _wrap_Icon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19479 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19480 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19481 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19482 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19483 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19484 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19485 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19486 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19487 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19488 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19489 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
19490 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19491 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19492 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19493 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19494 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19495 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19496 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19497 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
19498 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19499 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19500 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19501 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19502 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19503 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19504 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19505 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
19506 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19507 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19508 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19509 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19510 { (char *)"Cursor_GetHandle", (PyCFunction
) _wrap_Cursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19511 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19512 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19513 { (char *)"Cursor_GetWidth", (PyCFunction
) _wrap_Cursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19514 { (char *)"Cursor_GetHeight", (PyCFunction
) _wrap_Cursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19515 { (char *)"Cursor_GetDepth", (PyCFunction
) _wrap_Cursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19516 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19517 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19518 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19519 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19520 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
19521 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19522 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19523 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19524 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19525 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19526 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19527 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19528 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19529 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19530 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19531 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19532 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19533 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19534 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19535 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19536 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19537 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19538 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19539 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19540 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19541 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19542 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19543 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19544 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19545 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19546 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19547 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19548 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19549 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
19550 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19551 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19552 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19553 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19554 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19555 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19556 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19557 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19558 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19559 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19560 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19561 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19562 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19563 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
19564 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19565 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19566 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19567 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19568 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19569 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19570 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19571 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19572 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19573 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19574 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19575 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19576 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19577 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19578 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19579 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19580 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19581 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19582 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19583 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19584 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19585 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19586 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19587 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19588 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19589 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
19590 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19591 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19592 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19593 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19594 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19595 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19596 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19597 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19598 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
19599 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19600 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19601 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19602 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19603 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19604 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19605 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19606 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19607 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19608 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19609 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19610 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19611 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19612 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19613 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19614 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19615 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19616 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19617 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19618 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
19619 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19620 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19621 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19622 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19623 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19624 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19625 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19626 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19627 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19628 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19629 { (char *)"Font_GetPixelSize", (PyCFunction
) _wrap_Font_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19630 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
) _wrap_Font_IsUsingSizeInPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19631 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19632 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19633 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19634 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19635 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19636 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19637 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19638 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19639 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19640 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19641 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19642 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19643 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19644 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19645 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19646 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19647 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19648 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19649 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19650 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19651 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19652 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19653 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19654 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19655 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19656 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19657 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19658 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19659 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
19660 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19661 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19662 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19663 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19664 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19665 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19666 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19667 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
19668 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19669 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19670 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19671 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19672 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19673 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19674 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
19675 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19676 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19677 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19678 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19679 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19680 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19681 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19682 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19683 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19684 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19685 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19686 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19687 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19688 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19689 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19690 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19691 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19692 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19693 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19694 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19695 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19696 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
19697 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19698 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
19699 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19700 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19701 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19702 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19703 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19704 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19705 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19706 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
19707 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19708 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19709 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19710 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19711 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19712 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19713 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19714 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19715 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19716 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19717 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19718 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19719 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19720 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19721 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19722 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19723 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19724 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19725 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19726 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19727 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19728 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19729 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19730 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19731 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19732 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19733 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19734 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19735 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19736 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19737 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19738 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19739 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19740 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19741 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19742 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19743 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19744 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19745 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19746 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19747 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19748 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19749 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19750 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19751 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19752 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19753 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19754 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19755 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19756 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19757 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19758 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19759 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19760 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19761 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19762 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19763 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19764 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19765 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19766 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19767 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19768 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19769 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19770 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19771 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19772 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19773 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19774 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19775 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19776 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19777 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19778 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19779 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19780 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19781 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19782 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19783 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19784 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19785 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19786 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19787 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19788 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19789 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19790 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19791 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19792 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19793 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19794 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19795 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19796 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19797 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19798 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19799 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19800 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19801 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19802 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19803 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19804 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19805 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19806 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19807 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19808 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19809 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19810 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19811 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19812 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19813 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19814 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19815 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19816 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19817 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19818 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19819 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19820 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19821 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19822 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19823 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19824 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19825 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19826 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19827 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19828 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19829 { (char *)"DC_GetHDC", (PyCFunction
) _wrap_DC_GetHDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19830 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19831 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19832 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19833 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19834 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19835 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19836 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
19837 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19838 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19839 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19840 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
19841 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
19842 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19843 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19844 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
19845 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19846 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
19847 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19848 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19849 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19850 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19851 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
19852 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19853 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
19854 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19855 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
19856 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19857 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
19858 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19859 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
19860 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19861 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19862 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19863 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19864 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19865 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
19866 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19867 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19868 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19869 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19870 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19871 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19872 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19873 { (char *)"MetaFile_GetFileName", (PyCFunction
) _wrap_MetaFile_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19874 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
19875 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19876 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19877 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
19878 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19879 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
19880 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19881 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19882 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19883 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19884 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19885 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19886 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19887 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19888 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19889 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19890 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19891 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
19892 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19893 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19894 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19895 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19896 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
19897 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19898 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19899 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19900 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19901 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
19902 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19903 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19904 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19905 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19906 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19907 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19908 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
19909 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19910 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19911 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19912 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19913 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
19914 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19915 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19916 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19917 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19918 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19919 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19920 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19921 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19922 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19923 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19924 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19925 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19926 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19927 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19928 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
19929 { NULL
, NULL
, 0, NULL
}
19933 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19935 static void *_p_wxControlTo_p_wxWindow(void *x
) {
19936 return (void *)((wxWindow
*) ((wxControl
*) x
));
19938 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
19939 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
19941 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
19942 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
19944 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
19945 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
19947 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
19948 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19950 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
19951 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
19953 static void *_p_wxPenTo_p_wxObject(void *x
) {
19954 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
19956 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
19957 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
19959 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
19960 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
19962 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
19963 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
19965 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
19966 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
19968 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
19969 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
19971 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
19972 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
19974 static void *_p_wxIconTo_p_wxObject(void *x
) {
19975 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
19977 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
19978 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
19980 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
19981 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
19983 static void *_p_wxSizerTo_p_wxObject(void *x
) {
19984 return (void *)((wxObject
*) ((wxSizer
*) x
));
19986 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
19987 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
19989 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
19990 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19992 static void *_p_wxPenListTo_p_wxObject(void *x
) {
19993 return (void *)((wxObject
*) ((wxPenList
*) x
));
19995 static void *_p_wxEventTo_p_wxObject(void *x
) {
19996 return (void *)((wxObject
*) ((wxEvent
*) x
));
19998 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
19999 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
20001 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
20002 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
20004 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
20005 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
20007 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
20008 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
20010 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
20011 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
20013 static void *_p_wxDCTo_p_wxObject(void *x
) {
20014 return (void *)((wxObject
*) ((wxDC
*) x
));
20016 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
20017 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
20019 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
20020 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
20022 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
20023 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
20025 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
20026 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
20028 static void *_p_wxControlTo_p_wxObject(void *x
) {
20029 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
20031 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
20032 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
20034 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
20035 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
20037 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
20038 return (void *)((wxObject
*) ((wxFSFile
*) x
));
20040 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
20041 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
20043 static void *_p_wxRegionTo_p_wxObject(void *x
) {
20044 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
20046 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
20047 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
20049 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
20050 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
20052 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
20053 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
20055 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
20056 return (void *)((wxObject
*) ((wxEffects
*) x
));
20058 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
20059 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
20061 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
20062 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
20064 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
20065 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
20067 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
20068 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
20070 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
20071 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
20073 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
20074 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
20076 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
20077 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
20079 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
20080 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
20082 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
20083 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
20085 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
20086 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
20088 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
20089 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
20091 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
20092 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
20094 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
20095 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
20097 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
20098 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
20100 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
20101 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
20103 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
20104 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
20106 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
20107 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
20109 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
20110 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
20112 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
20113 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
20115 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
20116 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
20118 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
20119 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
20121 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
20122 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
20124 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
20125 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
20127 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
20128 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
20130 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
20131 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
20133 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
20134 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
20136 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
20137 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
20139 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
20140 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
20142 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
20143 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
20145 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
20146 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
20148 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
20149 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
20151 static void *_p_wxImageTo_p_wxObject(void *x
) {
20152 return (void *)((wxObject
*) ((wxImage
*) x
));
20154 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
20155 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
20157 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
20158 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
20160 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
20161 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
20163 static void *_p_wxImageListTo_p_wxObject(void *x
) {
20164 return (void *)((wxObject
*) ((wxImageList
*) x
));
20166 static void *_p_wxCursorTo_p_wxObject(void *x
) {
20167 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
20169 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
20170 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
20172 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
20173 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
20175 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
20176 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
20178 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
20179 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
20181 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
20182 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
20184 static void *_p_wxWindowTo_p_wxObject(void *x
) {
20185 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
20187 static void *_p_wxMenuTo_p_wxObject(void *x
) {
20188 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
20190 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
20191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
20193 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
20194 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
20196 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
20197 return (void *)((wxObject
*) ((wxBrushList
*) x
));
20199 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
20200 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
20202 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
20203 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
20205 static void *_p_wxMaskTo_p_wxObject(void *x
) {
20206 return (void *)((wxObject
*) ((wxMask
*) x
));
20208 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
20209 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
20211 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
20212 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
20214 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
20215 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
20217 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
20218 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
20220 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
20221 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
20223 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
20224 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
20226 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
20227 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
20229 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
20230 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
20232 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
20233 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
20235 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
20236 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
20238 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
20239 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
20241 static void *_p_wxFontTo_p_wxObject(void *x
) {
20242 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
20244 static void *_p_wxBrushTo_p_wxObject(void *x
) {
20245 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
20247 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
20248 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
20250 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
20251 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
20253 static void *_p_wxColourTo_p_wxObject(void *x
) {
20254 return (void *)((wxObject
*) ((wxColour
*) x
));
20256 static void *_p_wxFontListTo_p_wxObject(void *x
) {
20257 return (void *)((wxObject
*) ((wxFontList
*) x
));
20259 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
20260 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
20262 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
20263 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
20265 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
20266 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
20268 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
20269 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
20271 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
20272 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
20274 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
20275 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
20277 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
20278 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
20280 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
20281 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
20283 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
20284 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
20286 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
20287 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
20289 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
20290 return (void *)((wxDC
*) ((wxClientDC
*) x
));
20292 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
20293 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
20295 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
20296 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
20298 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
20299 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
20301 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
20302 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
20304 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
20305 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
20307 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
20308 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
20310 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
20311 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
20313 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
20314 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
20316 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
20317 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
20319 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
20320 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
20322 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
20323 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
20325 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}};
20326 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}};
20327 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}};
20328 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}};
20329 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}};
20330 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}};
20331 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}};
20332 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}};
20333 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}};
20334 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}};
20335 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}};
20336 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}};
20337 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}};
20338 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}};
20339 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}};
20340 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}};
20341 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}};
20342 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}};
20343 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}};
20344 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}};
20345 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}};
20346 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}};
20347 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}};
20348 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}};
20349 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}};
20350 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}};
20351 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}};
20352 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}};
20353 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}};
20354 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}};
20355 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}};
20356 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}};
20357 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}};
20358 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}};
20359 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}};
20360 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}};
20361 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}};
20362 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}};
20363 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}};
20364 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}};
20365 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}};
20366 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}};
20367 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}};
20368 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}};
20369 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}};
20370 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}};
20371 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}};
20372 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}};
20373 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}};
20374 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}};
20375 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}};
20376 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}};
20377 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}};
20378 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}};
20379 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}};
20381 static swig_type_info
*swig_types_initial
[] = {
20382 _swigt__p_wxPostScriptDC
,
20384 _swigt__p_wxColour
,
20386 _swigt__p_wxMirrorDC
,
20388 _swigt__p_wxPyFontEnumerator
,
20390 _swigt__p_wxIconLocation
,
20392 _swigt__p_wxMetaFileDC
,
20396 _swigt__p_wxWindow
,
20398 _swigt__p_wxMemoryDC
,
20399 _swigt__p_wxFontMapper
,
20400 _swigt__p_wxEffects
,
20401 _swigt__p_wxNativeEncodingInfo
,
20402 _swigt__p_wxPalette
,
20403 _swigt__p_wxBitmap
,
20404 _swigt__p_wxObject
,
20405 _swigt__p_wxRegionIterator
,
20407 _swigt__p_wxString
,
20408 _swigt__p_wxPrinterDC
,
20409 _swigt__p_wxIconBundle
,
20412 _swigt__p_wxScreenDC
,
20413 _swigt__p_wxCursor
,
20414 _swigt__p_wxClientDC
,
20415 _swigt__p_wxBufferedDC
,
20416 _swigt__p_wxImageList
,
20417 _swigt__p_unsigned_char
,
20418 _swigt__p_wxGDIObject
,
20420 _swigt__p_wxLocale
,
20421 _swigt__p_wxRegion
,
20422 _swigt__p_wxLanguageInfo
,
20423 _swigt__p_wxConfigBase
,
20424 _swigt__p_wxWindowDC
,
20425 _swigt__p_wxPrintData
,
20426 _swigt__p_wxBrushList
,
20427 _swigt__p_wxFontList
,
20429 _swigt__p_wxBufferedPaintDC
,
20430 _swigt__p_wxPaintDC
,
20431 _swigt__p_wxPenList
,
20433 _swigt__p_wxMetaFile
,
20434 _swigt__p_wxNativeFontInfo
,
20435 _swigt__p_wxEncodingConverter
,
20436 _swigt__p_wxColourDatabase
,
20441 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
20443 static swig_const_info swig_const_table
[] = {
20444 {0, 0, 0, 0.0, 0, 0}};
20453 SWIGEXPORT(void) SWIG_init(void) {
20454 static PyObject
*SWIG_globals
= 0;
20455 static int typeinit
= 0;
20458 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
20459 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
20460 d
= PyModule_GetDict(m
);
20463 for (i
= 0; swig_types_initial
[i
]; i
++) {
20464 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
20468 SWIG_InstallConstants(d
,swig_const_table
);
20470 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)wxOutRegion
));
20471 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)wxPartRegion
));
20472 PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)wxInRegion
));
20473 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)wxFONTFAMILY_DEFAULT
));
20474 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)wxFONTFAMILY_DECORATIVE
));
20475 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)wxFONTFAMILY_ROMAN
));
20476 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)wxFONTFAMILY_SCRIPT
));
20477 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)wxFONTFAMILY_SWISS
));
20478 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)wxFONTFAMILY_MODERN
));
20479 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)wxFONTFAMILY_TELETYPE
));
20480 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)wxFONTFAMILY_MAX
));
20481 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)wxFONTFAMILY_UNKNOWN
));
20482 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)wxFONTSTYLE_NORMAL
));
20483 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)wxFONTSTYLE_ITALIC
));
20484 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)wxFONTSTYLE_SLANT
));
20485 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)wxFONTSTYLE_MAX
));
20486 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)wxFONTWEIGHT_NORMAL
));
20487 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)wxFONTWEIGHT_LIGHT
));
20488 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)wxFONTWEIGHT_BOLD
));
20489 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)wxFONTWEIGHT_MAX
));
20490 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)wxFONTFLAG_DEFAULT
));
20491 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)wxFONTFLAG_ITALIC
));
20492 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)wxFONTFLAG_SLANT
));
20493 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)wxFONTFLAG_LIGHT
));
20494 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)wxFONTFLAG_BOLD
));
20495 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_ANTIALIASED
));
20496 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_NOT_ANTIALIASED
));
20497 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)wxFONTFLAG_UNDERLINED
));
20498 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)wxFONTFLAG_STRIKETHROUGH
));
20499 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)wxFONTFLAG_MASK
));
20500 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)wxFONTENCODING_SYSTEM
));
20501 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)wxFONTENCODING_DEFAULT
));
20502 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)wxFONTENCODING_ISO8859_1
));
20503 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)wxFONTENCODING_ISO8859_2
));
20504 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)wxFONTENCODING_ISO8859_3
));
20505 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)wxFONTENCODING_ISO8859_4
));
20506 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)wxFONTENCODING_ISO8859_5
));
20507 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)wxFONTENCODING_ISO8859_6
));
20508 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)wxFONTENCODING_ISO8859_7
));
20509 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)wxFONTENCODING_ISO8859_8
));
20510 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)wxFONTENCODING_ISO8859_9
));
20511 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)wxFONTENCODING_ISO8859_10
));
20512 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)wxFONTENCODING_ISO8859_11
));
20513 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)wxFONTENCODING_ISO8859_12
));
20514 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)wxFONTENCODING_ISO8859_13
));
20515 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)wxFONTENCODING_ISO8859_14
));
20516 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)wxFONTENCODING_ISO8859_15
));
20517 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)wxFONTENCODING_ISO8859_MAX
));
20518 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)wxFONTENCODING_KOI8
));
20519 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)wxFONTENCODING_KOI8_U
));
20520 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)wxFONTENCODING_ALTERNATIVE
));
20521 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)wxFONTENCODING_BULGARIAN
));
20522 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)wxFONTENCODING_CP437
));
20523 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)wxFONTENCODING_CP850
));
20524 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)wxFONTENCODING_CP852
));
20525 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)wxFONTENCODING_CP855
));
20526 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)wxFONTENCODING_CP866
));
20527 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)wxFONTENCODING_CP874
));
20528 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)wxFONTENCODING_CP932
));
20529 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)wxFONTENCODING_CP936
));
20530 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)wxFONTENCODING_CP949
));
20531 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)wxFONTENCODING_CP950
));
20532 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)wxFONTENCODING_CP1250
));
20533 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)wxFONTENCODING_CP1251
));
20534 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)wxFONTENCODING_CP1252
));
20535 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)wxFONTENCODING_CP1253
));
20536 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)wxFONTENCODING_CP1254
));
20537 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)wxFONTENCODING_CP1255
));
20538 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)wxFONTENCODING_CP1256
));
20539 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)wxFONTENCODING_CP1257
));
20540 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)wxFONTENCODING_CP12_MAX
));
20541 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)wxFONTENCODING_UTF7
));
20542 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)wxFONTENCODING_UTF8
));
20543 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)wxFONTENCODING_EUC_JP
));
20544 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)wxFONTENCODING_UTF16BE
));
20545 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)wxFONTENCODING_UTF16LE
));
20546 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)wxFONTENCODING_UTF32BE
));
20547 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)wxFONTENCODING_UTF32LE
));
20548 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)wxFONTENCODING_MACROMAN
));
20549 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)wxFONTENCODING_MACJAPANESE
));
20550 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)wxFONTENCODING_MACCHINESETRAD
));
20551 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)wxFONTENCODING_MACKOREAN
));
20552 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)wxFONTENCODING_MACARABIC
));
20553 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)wxFONTENCODING_MACHEBREW
));
20554 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)wxFONTENCODING_MACGREEK
));
20555 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)wxFONTENCODING_MACCYRILLIC
));
20556 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)wxFONTENCODING_MACDEVANAGARI
));
20557 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)wxFONTENCODING_MACGURMUKHI
));
20558 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)wxFONTENCODING_MACGUJARATI
));
20559 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)wxFONTENCODING_MACORIYA
));
20560 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)wxFONTENCODING_MACBENGALI
));
20561 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)wxFONTENCODING_MACTAMIL
));
20562 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)wxFONTENCODING_MACTELUGU
));
20563 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)wxFONTENCODING_MACKANNADA
));
20564 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)wxFONTENCODING_MACMALAJALAM
));
20565 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)wxFONTENCODING_MACSINHALESE
));
20566 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)wxFONTENCODING_MACBURMESE
));
20567 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)wxFONTENCODING_MACKHMER
));
20568 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)wxFONTENCODING_MACTHAI
));
20569 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)wxFONTENCODING_MACLAOTIAN
));
20570 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)wxFONTENCODING_MACGEORGIAN
));
20571 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)wxFONTENCODING_MACARMENIAN
));
20572 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)wxFONTENCODING_MACCHINESESIMP
));
20573 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)wxFONTENCODING_MACTIBETAN
));
20574 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)wxFONTENCODING_MACMONGOLIAN
));
20575 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)wxFONTENCODING_MACETHIOPIC
));
20576 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)wxFONTENCODING_MACCENTRALEUR
));
20577 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)wxFONTENCODING_MACVIATNAMESE
));
20578 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)wxFONTENCODING_MACARABICEXT
));
20579 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)wxFONTENCODING_MACSYMBOL
));
20580 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)wxFONTENCODING_MACDINGBATS
));
20581 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)wxFONTENCODING_MACTURKISH
));
20582 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)wxFONTENCODING_MACCROATIAN
));
20583 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)wxFONTENCODING_MACICELANDIC
));
20584 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)wxFONTENCODING_MACROMANIAN
));
20585 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)wxFONTENCODING_MACCELTIC
));
20586 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)wxFONTENCODING_MACGAELIC
));
20587 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)wxFONTENCODING_MACKEYBOARD
));
20588 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)wxFONTENCODING_MACMIN
));
20589 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)wxFONTENCODING_MACMAX
));
20590 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)wxFONTENCODING_MAX
));
20591 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)wxFONTENCODING_UTF16
));
20592 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)wxFONTENCODING_UTF32
));
20593 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)wxFONTENCODING_UNICODE
));
20594 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)wxFONTENCODING_GB2312
));
20595 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)wxFONTENCODING_BIG5
));
20596 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)wxFONTENCODING_SHIFT_JIS
));
20598 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
20600 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)wxLANGUAGE_DEFAULT
));
20601 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)wxLANGUAGE_UNKNOWN
));
20602 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)wxLANGUAGE_ABKHAZIAN
));
20603 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)wxLANGUAGE_AFAR
));
20604 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)wxLANGUAGE_AFRIKAANS
));
20605 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)wxLANGUAGE_ALBANIAN
));
20606 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)wxLANGUAGE_AMHARIC
));
20607 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)wxLANGUAGE_ARABIC
));
20608 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_ALGERIA
));
20609 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)wxLANGUAGE_ARABIC_BAHRAIN
));
20610 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)wxLANGUAGE_ARABIC_EGYPT
));
20611 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)wxLANGUAGE_ARABIC_IRAQ
));
20612 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_JORDAN
));
20613 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)wxLANGUAGE_ARABIC_KUWAIT
));
20614 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)wxLANGUAGE_ARABIC_LEBANON
));
20615 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)wxLANGUAGE_ARABIC_LIBYA
));
20616 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)wxLANGUAGE_ARABIC_MOROCCO
));
20617 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_OMAN
));
20618 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)wxLANGUAGE_ARABIC_QATAR
));
20619 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
20620 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_SUDAN
));
20621 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SYRIA
));
20622 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_TUNISIA
));
20623 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)wxLANGUAGE_ARABIC_UAE
));
20624 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)wxLANGUAGE_ARABIC_YEMEN
));
20625 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)wxLANGUAGE_ARMENIAN
));
20626 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)wxLANGUAGE_ASSAMESE
));
20627 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)wxLANGUAGE_AYMARA
));
20628 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)wxLANGUAGE_AZERI
));
20629 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_AZERI_CYRILLIC
));
20630 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)wxLANGUAGE_AZERI_LATIN
));
20631 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)wxLANGUAGE_BASHKIR
));
20632 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)wxLANGUAGE_BASQUE
));
20633 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)wxLANGUAGE_BELARUSIAN
));
20634 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)wxLANGUAGE_BENGALI
));
20635 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)wxLANGUAGE_BHUTANI
));
20636 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)wxLANGUAGE_BIHARI
));
20637 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)wxLANGUAGE_BISLAMA
));
20638 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)wxLANGUAGE_BRETON
));
20639 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)wxLANGUAGE_BULGARIAN
));
20640 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)wxLANGUAGE_BURMESE
));
20641 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)wxLANGUAGE_CAMBODIAN
));
20642 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)wxLANGUAGE_CATALAN
));
20643 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)wxLANGUAGE_CHINESE
));
20644 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
20645 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
20646 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)wxLANGUAGE_CHINESE_HONGKONG
));
20647 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)wxLANGUAGE_CHINESE_MACAU
));
20648 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)wxLANGUAGE_CHINESE_SINGAPORE
));
20649 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)wxLANGUAGE_CHINESE_TAIWAN
));
20650 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)wxLANGUAGE_CORSICAN
));
20651 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)wxLANGUAGE_CROATIAN
));
20652 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)wxLANGUAGE_CZECH
));
20653 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)wxLANGUAGE_DANISH
));
20654 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)wxLANGUAGE_DUTCH
));
20655 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_DUTCH_BELGIAN
));
20656 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)wxLANGUAGE_ENGLISH
));
20657 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_UK
));
20658 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)wxLANGUAGE_ENGLISH_US
));
20659 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
20660 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BELIZE
));
20661 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
20662 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CANADA
));
20663 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
20664 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_DENMARK
));
20665 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_EIRE
));
20666 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_JAMAICA
));
20667 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
20668 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
20669 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
20670 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
20671 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
20672 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)wxLANGUAGE_ESPERANTO
));
20673 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)wxLANGUAGE_ESTONIAN
));
20674 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)wxLANGUAGE_FAEROESE
));
20675 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)wxLANGUAGE_FARSI
));
20676 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)wxLANGUAGE_FIJI
));
20677 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)wxLANGUAGE_FINNISH
));
20678 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)wxLANGUAGE_FRENCH
));
20679 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_BELGIAN
));
20680 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_CANADIAN
));
20681 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
20682 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)wxLANGUAGE_FRENCH_MONACO
));
20683 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)wxLANGUAGE_FRENCH_SWISS
));
20684 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)wxLANGUAGE_FRISIAN
));
20685 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)wxLANGUAGE_GALICIAN
));
20686 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)wxLANGUAGE_GEORGIAN
));
20687 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)wxLANGUAGE_GERMAN
));
20688 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
20689 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)wxLANGUAGE_GERMAN_BELGIUM
));
20690 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
20691 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
20692 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)wxLANGUAGE_GERMAN_SWISS
));
20693 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)wxLANGUAGE_GREEK
));
20694 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)wxLANGUAGE_GREENLANDIC
));
20695 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)wxLANGUAGE_GUARANI
));
20696 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)wxLANGUAGE_GUJARATI
));
20697 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)wxLANGUAGE_HAUSA
));
20698 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)wxLANGUAGE_HEBREW
));
20699 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)wxLANGUAGE_HINDI
));
20700 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)wxLANGUAGE_HUNGARIAN
));
20701 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)wxLANGUAGE_ICELANDIC
));
20702 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)wxLANGUAGE_INDONESIAN
));
20703 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)wxLANGUAGE_INTERLINGUA
));
20704 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)wxLANGUAGE_INTERLINGUE
));
20705 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)wxLANGUAGE_INUKTITUT
));
20706 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)wxLANGUAGE_INUPIAK
));
20707 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)wxLANGUAGE_IRISH
));
20708 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)wxLANGUAGE_ITALIAN
));
20709 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)wxLANGUAGE_ITALIAN_SWISS
));
20710 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)wxLANGUAGE_JAPANESE
));
20711 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)wxLANGUAGE_JAVANESE
));
20712 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)wxLANGUAGE_KANNADA
));
20713 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)wxLANGUAGE_KASHMIRI
));
20714 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)wxLANGUAGE_KASHMIRI_INDIA
));
20715 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)wxLANGUAGE_KAZAKH
));
20716 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)wxLANGUAGE_KERNEWEK
));
20717 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)wxLANGUAGE_KINYARWANDA
));
20718 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)wxLANGUAGE_KIRGHIZ
));
20719 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)wxLANGUAGE_KIRUNDI
));
20720 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)wxLANGUAGE_KONKANI
));
20721 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)wxLANGUAGE_KOREAN
));
20722 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)wxLANGUAGE_KURDISH
));
20723 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)wxLANGUAGE_LAOTHIAN
));
20724 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)wxLANGUAGE_LATIN
));
20725 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)wxLANGUAGE_LATVIAN
));
20726 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)wxLANGUAGE_LINGALA
));
20727 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)wxLANGUAGE_LITHUANIAN
));
20728 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)wxLANGUAGE_MACEDONIAN
));
20729 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)wxLANGUAGE_MALAGASY
));
20730 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)wxLANGUAGE_MALAY
));
20731 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)wxLANGUAGE_MALAYALAM
));
20732 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
20733 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)wxLANGUAGE_MALAY_MALAYSIA
));
20734 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)wxLANGUAGE_MALTESE
));
20735 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)wxLANGUAGE_MANIPURI
));
20736 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)wxLANGUAGE_MAORI
));
20737 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)wxLANGUAGE_MARATHI
));
20738 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)wxLANGUAGE_MOLDAVIAN
));
20739 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)wxLANGUAGE_MONGOLIAN
));
20740 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)wxLANGUAGE_NAURU
));
20741 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)wxLANGUAGE_NEPALI
));
20742 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)wxLANGUAGE_NEPALI_INDIA
));
20743 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
20744 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
20745 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)wxLANGUAGE_OCCITAN
));
20746 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)wxLANGUAGE_ORIYA
));
20747 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)wxLANGUAGE_OROMO
));
20748 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)wxLANGUAGE_PASHTO
));
20749 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)wxLANGUAGE_POLISH
));
20750 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE
));
20751 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
20752 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)wxLANGUAGE_PUNJABI
));
20753 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)wxLANGUAGE_QUECHUA
));
20754 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)wxLANGUAGE_RHAETO_ROMANCE
));
20755 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)wxLANGUAGE_ROMANIAN
));
20756 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)wxLANGUAGE_RUSSIAN
));
20757 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
20758 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)wxLANGUAGE_SAMOAN
));
20759 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)wxLANGUAGE_SANGHO
));
20760 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)wxLANGUAGE_SANSKRIT
));
20761 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)wxLANGUAGE_SCOTS_GAELIC
));
20762 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)wxLANGUAGE_SERBIAN
));
20763 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
20764 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)wxLANGUAGE_SERBIAN_LATIN
));
20765 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)wxLANGUAGE_SERBO_CROATIAN
));
20766 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)wxLANGUAGE_SESOTHO
));
20767 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)wxLANGUAGE_SETSWANA
));
20768 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)wxLANGUAGE_SHONA
));
20769 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)wxLANGUAGE_SINDHI
));
20770 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)wxLANGUAGE_SINHALESE
));
20771 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)wxLANGUAGE_SISWATI
));
20772 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)wxLANGUAGE_SLOVAK
));
20773 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)wxLANGUAGE_SLOVENIAN
));
20774 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)wxLANGUAGE_SOMALI
));
20775 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)wxLANGUAGE_SPANISH
));
20776 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)wxLANGUAGE_SPANISH_ARGENTINA
));
20777 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_BOLIVIA
));
20778 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)wxLANGUAGE_SPANISH_CHILE
));
20779 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COLOMBIA
));
20780 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
20781 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
20782 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_ECUADOR
));
20783 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
20784 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)wxLANGUAGE_SPANISH_GUATEMALA
));
20785 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)wxLANGUAGE_SPANISH_HONDURAS
));
20786 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MEXICAN
));
20787 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MODERN
));
20788 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)wxLANGUAGE_SPANISH_NICARAGUA
));
20789 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)wxLANGUAGE_SPANISH_PANAMA
));
20790 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_PARAGUAY
));
20791 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)wxLANGUAGE_SPANISH_PERU
));
20792 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
20793 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_URUGUAY
));
20794 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)wxLANGUAGE_SPANISH_US
));
20795 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)wxLANGUAGE_SPANISH_VENEZUELA
));
20796 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)wxLANGUAGE_SUNDANESE
));
20797 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)wxLANGUAGE_SWAHILI
));
20798 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)wxLANGUAGE_SWEDISH
));
20799 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)wxLANGUAGE_SWEDISH_FINLAND
));
20800 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)wxLANGUAGE_TAGALOG
));
20801 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)wxLANGUAGE_TAJIK
));
20802 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)wxLANGUAGE_TAMIL
));
20803 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)wxLANGUAGE_TATAR
));
20804 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)wxLANGUAGE_TELUGU
));
20805 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)wxLANGUAGE_THAI
));
20806 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)wxLANGUAGE_TIBETAN
));
20807 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)wxLANGUAGE_TIGRINYA
));
20808 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)wxLANGUAGE_TONGA
));
20809 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)wxLANGUAGE_TSONGA
));
20810 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)wxLANGUAGE_TURKISH
));
20811 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)wxLANGUAGE_TURKMEN
));
20812 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)wxLANGUAGE_TWI
));
20813 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)wxLANGUAGE_UIGHUR
));
20814 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)wxLANGUAGE_UKRAINIAN
));
20815 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)wxLANGUAGE_URDU
));
20816 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)wxLANGUAGE_URDU_INDIA
));
20817 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)wxLANGUAGE_URDU_PAKISTAN
));
20818 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)wxLANGUAGE_UZBEK
));
20819 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_UZBEK_CYRILLIC
));
20820 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)wxLANGUAGE_UZBEK_LATIN
));
20821 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)wxLANGUAGE_VIETNAMESE
));
20822 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)wxLANGUAGE_VOLAPUK
));
20823 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)wxLANGUAGE_WELSH
));
20824 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)wxLANGUAGE_WOLOF
));
20825 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)wxLANGUAGE_XHOSA
));
20826 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)wxLANGUAGE_YIDDISH
));
20827 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)wxLANGUAGE_YORUBA
));
20828 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)wxLANGUAGE_ZHUANG
));
20829 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)wxLANGUAGE_ZULU
));
20830 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)wxLANGUAGE_USER_DEFINED
));
20831 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)wxLOCALE_CAT_NUMBER
));
20832 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)wxLOCALE_CAT_DATE
));
20833 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)wxLOCALE_CAT_MONEY
));
20834 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)wxLOCALE_CAT_MAX
));
20835 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)wxLOCALE_THOUSANDS_SEP
));
20836 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)wxLOCALE_DECIMAL_POINT
));
20837 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)wxLOCALE_LOAD_DEFAULT
));
20838 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)wxLOCALE_CONV_ENCODING
));
20839 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)wxCONVERT_STRICT
));
20840 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)wxCONVERT_SUBSTITUTE
));
20841 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)wxPLATFORM_CURRENT
));
20842 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)wxPLATFORM_UNIX
));
20843 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)wxPLATFORM_WINDOWS
));
20844 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)wxPLATFORM_OS2
));
20845 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)wxPLATFORM_MAC
));
20846 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)wxIMAGELIST_DRAW_NORMAL
));
20847 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)wxIMAGELIST_DRAW_TRANSPARENT
));
20848 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)wxIMAGELIST_DRAW_SELECTED
));
20849 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)wxIMAGELIST_DRAW_FOCUSED
));
20850 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)wxIMAGE_LIST_NORMAL
));
20851 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)wxIMAGE_LIST_SMALL
));
20852 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)wxIMAGE_LIST_STATE
));
20853 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
20854 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
20855 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
20856 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
20857 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
20858 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
20859 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
20860 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
20861 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
20862 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
20863 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
20864 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
20865 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
20866 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
20867 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
20868 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
20869 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
20870 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
20871 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
20872 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
20873 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
20874 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
20875 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
20876 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
20877 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
20878 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
20879 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
20880 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
20881 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
20882 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
20883 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
20884 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
20885 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
20886 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
20887 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
20888 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
20889 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
20890 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
20891 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
20892 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
20893 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
20894 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
20895 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
20896 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
20897 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
20898 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
20899 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
20901 // Work around a chicken/egg problem in drawlist.cpp
20902 wxPyDrawList_SetAPIPtr();