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 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
313 #define SWIG_From_signed_SS_char PyInt_FromLong
315 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
316 #define SWIG_From_unsigned_SS_char PyInt_FromLong
318 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
319 #define SWIG_From_short PyInt_FromLong
321 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
322 #define SWIG_From_unsigned_SS_short PyInt_FromLong
324 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
325 #define SWIG_From_int PyInt_FromLong
327 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
328 #define SWIG_From_long PyInt_FromLong
330 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
331 #define SWIG_From_float PyFloat_FromDouble
333 /*@/opt/swig/share/swig/1.3.22/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
);
715 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
716 wxSize
size(self
->GetWidth(), self
->GetHeight());
719 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
720 wxMask
*mask
= new wxMask(*self
, colour
);
723 void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
724 self
->SetWidth(size
.x
);
725 self
->SetHeight(size
.y
);
727 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
728 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
729 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
731 return new wxMask(bitmap
, *wxBLACK
);
733 return new wxMask(bitmap
, colour
);
736 #include <wx/iconbndl.h>
738 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
739 wxIcon
* icon
= new wxIcon();
740 icon
->CopyFromBitmap(bmp
);
743 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
744 char** cArray
= NULL
;
747 cArray
= ConvertListOfStrings(listOfStrings
);
750 icon
= new wxIcon(cArray
);
754 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
758 return new wxIconLocation(*filename
);
761 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
768 int wxIconLocation_GetIndex(wxIconLocation
*self
){
776 SWIGSTATICINLINE(long)
777 SWIG_As_long(PyObject
* obj
)
780 if (!SWIG_AsVal_long(obj
, &v
)) {
782 this is needed to make valgrind/purify happier. the other
783 solution is throw an exception, but since this code should work
786 memset((void*)&v
, 0, sizeof(long));
792 SWIGSTATICINLINE(int)
793 SWIG_Check_long(PyObject
* obj
)
795 return SWIG_AsVal_long(obj
, (long*)0);
798 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
800 wxCHECK_MSG(false, NULL
,
801 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
803 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
808 void wxRegionIterator_Next(wxRegionIterator
*self
){
811 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
812 return self
->operator bool();
815 #include <wx/fontutil.h>
816 #include <wx/fontmap.h>
817 #include <wx/fontenum.h>
819 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
820 return self
->ToString();
823 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
824 static wxNativeEncodingInfo info
;
825 if ( wxGetNativeFontEncoding(encoding
, &info
) )
831 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
832 wxFontEncoding alt_enc
;
833 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
834 return PyInt_FromLong(alt_enc
);
840 wxFont
*new_wxFont(wxString
const &info
){
841 wxNativeFontInfo nfi
;
842 nfi
.FromString(info
);
843 return new wxFont(nfi
);
845 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
846 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
848 wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
,wxString
const &face
,wxFontEncoding encoding
){
849 return wxFontBase::New(pixelSize
, family
,
850 style
, weight
, underlined
,
853 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
854 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
856 class wxPyFontEnumerator
: public wxFontEnumerator
{
858 wxPyFontEnumerator() {}
859 ~wxPyFontEnumerator() {}
861 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
862 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
867 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
868 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
871 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
872 wxArrayString
* arr
= self
->GetEncodings();
874 return wxArrayString2PyList_helper(*arr
);
876 return PyList_New(0);
878 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
879 wxArrayString
* arr
= self
->GetFacenames();
881 return wxArrayString2PyList_helper(*arr
);
883 return PyList_New(0);
887 wxLocale
*new_wxLocale(int language
,int flags
){
889 return new wxLocale();
891 return new wxLocale(language
, flags
);
894 #include "wx/wxPython/pydrawxxx.h"
896 wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
898 self
->GetPixel(x
, y
, &col
);
901 wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
903 self
->GetPixel(pt
, &col
);
907 // See my_fragments.i
908 SWIGSTATICINLINE(int)
909 SWIG_AsVal_double(PyObject
*obj
, double* val
)
911 if (PyNumber_Check(obj
)) {
912 if (val
) *val
= PyFloat_AsDouble(obj
);
916 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
917 obj
->ob_type
->tp_name
);
918 PyErr_SetObject(PyExc_TypeError
, errmsg
);
925 SWIGSTATICINLINE(double)
926 SWIG_As_double(PyObject
* obj
)
929 if (!SWIG_AsVal_double(obj
, &v
)) {
931 this is needed to make valgrind/purify happier. the other
932 solution is throw an exception, but since this code should work
935 memset((void*)&v
, 0, sizeof(double));
941 SWIGSTATICINLINE(int)
942 SWIG_Check_double(PyObject
* obj
)
944 return SWIG_AsVal_double(obj
, (double*)0);
947 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
949 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
953 wxRect
wxDC_GetClippingRect(wxDC
*self
){
955 self
->GetClippingBox(rect
);
958 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
960 self
->GetPartialTextExtents(text
, widths
);
964 void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
965 self
->SetLogicalOrigin(point
.x
, point
.y
);
967 void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
968 self
->SetDeviceOrigin(point
.x
, point
.y
);
970 void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
971 self
->CalcBoundingBox(point
.x
, point
.y
);
973 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
974 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
976 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
977 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
979 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
980 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
982 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
983 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
985 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
986 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
988 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
989 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
992 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
1000 #include <wx/dcbuffer.h>
1003 #include <wx/dcps.h>
1006 class wxMetaFile
: public wxObject
{
1008 wxMetaFile(const wxString
&)
1009 { wxPyRaiseNotImplemented(); }
1012 class wxMetaFileDC
: public wxClientDC
{
1014 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
1015 { wxPyRaiseNotImplemented(); }
1020 class wxPrinterDC
: public wxClientDC
{
1022 wxPrinterDC(const wxPrintData
&)
1023 { wxPyRaiseNotImplemented(); }
1025 // wxPrinterDC(const wxString&, const wxString&, const wxString&, bool, int)
1026 // { wxPyRaiseNotImplemented(); }
1031 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
1032 self
->AddColour(name
, wxColour(red
, green
, blue
));
1035 #include <wx/effects.h>
1040 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1041 PyObject
*resultobj
;
1042 wxGDIObject
*result
;
1047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
1049 if (!wxPyCheckForApp()) SWIG_fail
;
1050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1051 result
= (wxGDIObject
*)new wxGDIObject();
1053 wxPyEndAllowThreads(__tstate
);
1054 if (PyErr_Occurred()) SWIG_fail
;
1056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
1063 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1064 PyObject
*resultobj
;
1065 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1066 PyObject
* obj0
= 0 ;
1068 (char *) "self", NULL
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
1072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1078 wxPyEndAllowThreads(__tstate
);
1079 if (PyErr_Occurred()) SWIG_fail
;
1081 Py_INCREF(Py_None
); resultobj
= Py_None
;
1088 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1089 PyObject
*resultobj
;
1090 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1092 PyObject
* obj0
= 0 ;
1094 (char *) "self", NULL
1097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
1098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1102 result
= (bool)(arg1
)->GetVisible();
1104 wxPyEndAllowThreads(__tstate
);
1105 if (PyErr_Occurred()) SWIG_fail
;
1108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1116 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1117 PyObject
*resultobj
;
1118 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1120 PyObject
* obj0
= 0 ;
1121 PyObject
* obj1
= 0 ;
1123 (char *) "self",(char *) "visible", NULL
1126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
1127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1129 arg2
= (bool)SWIG_As_bool(obj1
);
1130 if (PyErr_Occurred()) SWIG_fail
;
1132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1133 (arg1
)->SetVisible(arg2
);
1135 wxPyEndAllowThreads(__tstate
);
1136 if (PyErr_Occurred()) SWIG_fail
;
1138 Py_INCREF(Py_None
); resultobj
= Py_None
;
1145 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1146 PyObject
*resultobj
;
1147 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1149 PyObject
* obj0
= 0 ;
1151 (char *) "self", NULL
1154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1159 result
= (bool)(arg1
)->IsNull();
1161 wxPyEndAllowThreads(__tstate
);
1162 if (PyErr_Occurred()) SWIG_fail
;
1165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1173 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
1175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1176 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1178 return Py_BuildValue((char *)"");
1180 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1181 PyObject
*resultobj
;
1182 byte arg1
= (byte
) 0 ;
1183 byte arg2
= (byte
) 0 ;
1184 byte arg3
= (byte
) 0 ;
1186 PyObject
* obj0
= 0 ;
1187 PyObject
* obj1
= 0 ;
1188 PyObject
* obj2
= 0 ;
1190 (char *) "red",(char *) "green",(char *) "blue", NULL
1193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1195 arg1
= (byte
)SWIG_As_unsigned_SS_char(obj0
);
1196 if (PyErr_Occurred()) SWIG_fail
;
1199 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1200 if (PyErr_Occurred()) SWIG_fail
;
1203 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1204 if (PyErr_Occurred()) SWIG_fail
;
1207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1208 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1210 wxPyEndAllowThreads(__tstate
);
1211 if (PyErr_Occurred()) SWIG_fail
;
1213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1220 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1221 PyObject
*resultobj
;
1222 wxString
*arg1
= 0 ;
1224 bool temp1
= false ;
1225 PyObject
* obj0
= 0 ;
1227 (char *) "colorName", NULL
1230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1232 arg1
= wxString_in_helper(obj0
);
1233 if (arg1
== NULL
) SWIG_fail
;
1237 if (!wxPyCheckForApp()) SWIG_fail
;
1238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1239 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1241 wxPyEndAllowThreads(__tstate
);
1242 if (PyErr_Occurred()) SWIG_fail
;
1244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1259 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1260 PyObject
*resultobj
;
1261 unsigned long arg1
;
1263 PyObject
* obj0
= 0 ;
1265 (char *) "colRGB", NULL
1268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1269 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
1270 if (PyErr_Occurred()) SWIG_fail
;
1272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1273 result
= (wxColour
*)new wxColour(arg1
);
1275 wxPyEndAllowThreads(__tstate
);
1276 if (PyErr_Occurred()) SWIG_fail
;
1278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1285 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1286 PyObject
*resultobj
;
1287 wxColour
*arg1
= (wxColour
*) 0 ;
1288 PyObject
* obj0
= 0 ;
1290 (char *) "self", NULL
1293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1300 wxPyEndAllowThreads(__tstate
);
1301 if (PyErr_Occurred()) SWIG_fail
;
1303 Py_INCREF(Py_None
); resultobj
= Py_None
;
1310 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1311 PyObject
*resultobj
;
1312 wxColour
*arg1
= (wxColour
*) 0 ;
1314 PyObject
* obj0
= 0 ;
1316 (char *) "self", NULL
1319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1324 result
= (byte
)(arg1
)->Red();
1326 wxPyEndAllowThreads(__tstate
);
1327 if (PyErr_Occurred()) SWIG_fail
;
1329 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1336 static PyObject
*_wrap_Colour_Green(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1337 PyObject
*resultobj
;
1338 wxColour
*arg1
= (wxColour
*) 0 ;
1340 PyObject
* obj0
= 0 ;
1342 (char *) "self", NULL
1345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1350 result
= (byte
)(arg1
)->Green();
1352 wxPyEndAllowThreads(__tstate
);
1353 if (PyErr_Occurred()) SWIG_fail
;
1355 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1362 static PyObject
*_wrap_Colour_Blue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1363 PyObject
*resultobj
;
1364 wxColour
*arg1
= (wxColour
*) 0 ;
1366 PyObject
* obj0
= 0 ;
1368 (char *) "self", NULL
1371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1376 result
= (byte
)(arg1
)->Blue();
1378 wxPyEndAllowThreads(__tstate
);
1379 if (PyErr_Occurred()) SWIG_fail
;
1381 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1388 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1389 PyObject
*resultobj
;
1390 wxColour
*arg1
= (wxColour
*) 0 ;
1392 PyObject
* obj0
= 0 ;
1394 (char *) "self", NULL
1397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1402 result
= (bool)(arg1
)->Ok();
1404 wxPyEndAllowThreads(__tstate
);
1405 if (PyErr_Occurred()) SWIG_fail
;
1408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1416 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1417 PyObject
*resultobj
;
1418 wxColour
*arg1
= (wxColour
*) 0 ;
1422 PyObject
* obj0
= 0 ;
1423 PyObject
* obj1
= 0 ;
1424 PyObject
* obj2
= 0 ;
1425 PyObject
* obj3
= 0 ;
1427 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1433 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1434 if (PyErr_Occurred()) SWIG_fail
;
1435 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1436 if (PyErr_Occurred()) SWIG_fail
;
1437 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
1438 if (PyErr_Occurred()) SWIG_fail
;
1440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1441 (arg1
)->Set(arg2
,arg3
,arg4
);
1443 wxPyEndAllowThreads(__tstate
);
1444 if (PyErr_Occurred()) SWIG_fail
;
1446 Py_INCREF(Py_None
); resultobj
= Py_None
;
1453 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1454 PyObject
*resultobj
;
1455 wxColour
*arg1
= (wxColour
*) 0 ;
1456 unsigned long arg2
;
1457 PyObject
* obj0
= 0 ;
1458 PyObject
* obj1
= 0 ;
1460 (char *) "self",(char *) "colRGB", NULL
1463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1466 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
1467 if (PyErr_Occurred()) SWIG_fail
;
1469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1472 wxPyEndAllowThreads(__tstate
);
1473 if (PyErr_Occurred()) SWIG_fail
;
1475 Py_INCREF(Py_None
); resultobj
= Py_None
;
1482 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
*resultobj
;
1484 wxColour
*arg1
= (wxColour
*) 0 ;
1485 wxString
*arg2
= 0 ;
1486 bool temp2
= false ;
1487 PyObject
* obj0
= 0 ;
1488 PyObject
* obj1
= 0 ;
1490 (char *) "self",(char *) "colourName", NULL
1493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1497 arg2
= wxString_in_helper(obj1
);
1498 if (arg2
== NULL
) SWIG_fail
;
1502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1503 (arg1
)->InitFromName((wxString
const &)*arg2
);
1505 wxPyEndAllowThreads(__tstate
);
1506 if (PyErr_Occurred()) SWIG_fail
;
1508 Py_INCREF(Py_None
); resultobj
= Py_None
;
1523 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1524 PyObject
*resultobj
;
1525 wxColour
*arg1
= (wxColour
*) 0 ;
1527 PyObject
* obj0
= 0 ;
1529 (char *) "self", NULL
1532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) SWIG_fail
;
1542 resultobj
= SWIG_From_long((long)result
);
1549 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1550 PyObject
*resultobj
;
1551 wxColour
*arg1
= (wxColour
*) 0 ;
1552 wxColour
*arg2
= 0 ;
1555 PyObject
* obj0
= 0 ;
1556 PyObject
* obj1
= 0 ;
1558 (char *) "self",(char *) "colour", NULL
1561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1566 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1570 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1572 wxPyEndAllowThreads(__tstate
);
1573 if (PyErr_Occurred()) SWIG_fail
;
1576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1584 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1585 PyObject
*resultobj
;
1586 wxColour
*arg1
= (wxColour
*) 0 ;
1587 wxColour
*arg2
= 0 ;
1590 PyObject
* obj0
= 0 ;
1591 PyObject
* obj1
= 0 ;
1593 (char *) "self",(char *) "colour", NULL
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1601 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1605 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1607 wxPyEndAllowThreads(__tstate
);
1608 if (PyErr_Occurred()) SWIG_fail
;
1611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1619 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
*resultobj
;
1621 wxColour
*arg1
= (wxColour
*) 0 ;
1623 PyObject
* obj0
= 0 ;
1625 (char *) "self", NULL
1628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1633 result
= (PyObject
*)wxColour_Get(arg1
);
1635 wxPyEndAllowThreads(__tstate
);
1636 if (PyErr_Occurred()) SWIG_fail
;
1645 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1646 PyObject
*resultobj
;
1647 wxColour
*arg1
= (wxColour
*) 0 ;
1648 unsigned long result
;
1649 PyObject
* obj0
= 0 ;
1651 (char *) "self", NULL
1654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1659 result
= (unsigned long)wxColour_GetRGB(arg1
);
1661 wxPyEndAllowThreads(__tstate
);
1662 if (PyErr_Occurred()) SWIG_fail
;
1664 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
1671 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
1673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1674 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1676 return Py_BuildValue((char *)"");
1678 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1679 PyObject
*resultobj
;
1681 unsigned char *arg2
= (unsigned char *) 0 ;
1682 unsigned char *arg3
= (unsigned char *) 0 ;
1683 unsigned char *arg4
= (unsigned char *) 0 ;
1685 PyObject
* obj0
= 0 ;
1686 PyObject
* obj1
= 0 ;
1687 PyObject
* obj2
= 0 ;
1688 PyObject
* obj3
= 0 ;
1690 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1694 arg1
= (int)SWIG_As_int(obj0
);
1695 if (PyErr_Occurred()) SWIG_fail
;
1696 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1698 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1700 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1703 if (!wxPyCheckForApp()) SWIG_fail
;
1704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1705 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1707 wxPyEndAllowThreads(__tstate
);
1708 if (PyErr_Occurred()) SWIG_fail
;
1710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1717 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1718 PyObject
*resultobj
;
1719 wxPalette
*arg1
= (wxPalette
*) 0 ;
1720 PyObject
* obj0
= 0 ;
1722 (char *) "self", NULL
1725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1732 wxPyEndAllowThreads(__tstate
);
1733 if (PyErr_Occurred()) SWIG_fail
;
1735 Py_INCREF(Py_None
); resultobj
= Py_None
;
1742 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1743 PyObject
*resultobj
;
1744 wxPalette
*arg1
= (wxPalette
*) 0 ;
1749 PyObject
* obj0
= 0 ;
1750 PyObject
* obj1
= 0 ;
1751 PyObject
* obj2
= 0 ;
1752 PyObject
* obj3
= 0 ;
1754 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1760 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1761 if (PyErr_Occurred()) SWIG_fail
;
1762 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1763 if (PyErr_Occurred()) SWIG_fail
;
1764 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
1765 if (PyErr_Occurred()) SWIG_fail
;
1767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1768 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1770 wxPyEndAllowThreads(__tstate
);
1771 if (PyErr_Occurred()) SWIG_fail
;
1773 resultobj
= SWIG_From_int((int)result
);
1780 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
*resultobj
;
1782 wxPalette
*arg1
= (wxPalette
*) 0 ;
1784 byte
*arg3
= (byte
*) 0 ;
1785 byte
*arg4
= (byte
*) 0 ;
1786 byte
*arg5
= (byte
*) 0 ;
1794 PyObject
* obj0
= 0 ;
1795 PyObject
* obj1
= 0 ;
1797 (char *) "self",(char *) "pixel", NULL
1800 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
1801 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
1802 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
1803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1806 arg2
= (int)SWIG_As_int(obj1
);
1807 if (PyErr_Occurred()) SWIG_fail
;
1809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1810 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1812 wxPyEndAllowThreads(__tstate
);
1813 if (PyErr_Occurred()) SWIG_fail
;
1816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1818 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
1819 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
1820 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
1821 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
1822 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
1823 SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_byte
, 0)));
1830 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1831 PyObject
*resultobj
;
1832 wxPalette
*arg1
= (wxPalette
*) 0 ;
1834 PyObject
* obj0
= 0 ;
1836 (char *) "self", NULL
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1844 result
= (bool)(arg1
)->Ok();
1846 wxPyEndAllowThreads(__tstate
);
1847 if (PyErr_Occurred()) SWIG_fail
;
1850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1858 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
1860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1861 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1863 return Py_BuildValue((char *)"");
1865 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
*resultobj
;
1867 wxColour
*arg1
= 0 ;
1868 int arg2
= (int) 1 ;
1869 int arg3
= (int) wxSOLID
;
1872 PyObject
* obj0
= 0 ;
1873 PyObject
* obj1
= 0 ;
1874 PyObject
* obj2
= 0 ;
1876 (char *) "colour",(char *) "width",(char *) "style", NULL
1879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1882 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1885 arg2
= (int)SWIG_As_int(obj1
);
1886 if (PyErr_Occurred()) SWIG_fail
;
1889 arg3
= (int)SWIG_As_int(obj2
);
1890 if (PyErr_Occurred()) SWIG_fail
;
1893 if (!wxPyCheckForApp()) SWIG_fail
;
1894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1895 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1897 wxPyEndAllowThreads(__tstate
);
1898 if (PyErr_Occurred()) SWIG_fail
;
1900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1907 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
*resultobj
;
1909 wxPen
*arg1
= (wxPen
*) 0 ;
1910 PyObject
* obj0
= 0 ;
1912 (char *) "self", NULL
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1922 wxPyEndAllowThreads(__tstate
);
1923 if (PyErr_Occurred()) SWIG_fail
;
1925 Py_INCREF(Py_None
); resultobj
= Py_None
;
1932 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
*resultobj
;
1934 wxPen
*arg1
= (wxPen
*) 0 ;
1936 PyObject
* obj0
= 0 ;
1938 (char *) "self", NULL
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1946 result
= (int)(arg1
)->GetCap();
1948 wxPyEndAllowThreads(__tstate
);
1949 if (PyErr_Occurred()) SWIG_fail
;
1951 resultobj
= SWIG_From_int((int)result
);
1958 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1959 PyObject
*resultobj
;
1960 wxPen
*arg1
= (wxPen
*) 0 ;
1962 PyObject
* obj0
= 0 ;
1964 (char *) "self", NULL
1967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1972 result
= (arg1
)->GetColour();
1974 wxPyEndAllowThreads(__tstate
);
1975 if (PyErr_Occurred()) SWIG_fail
;
1978 wxColour
* resultptr
;
1979 resultptr
= new wxColour((wxColour
&) result
);
1980 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1988 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1989 PyObject
*resultobj
;
1990 wxPen
*arg1
= (wxPen
*) 0 ;
1992 PyObject
* obj0
= 0 ;
1994 (char *) "self", NULL
1997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2002 result
= (int)(arg1
)->GetJoin();
2004 wxPyEndAllowThreads(__tstate
);
2005 if (PyErr_Occurred()) SWIG_fail
;
2007 resultobj
= SWIG_From_int((int)result
);
2014 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
*resultobj
;
2016 wxPen
*arg1
= (wxPen
*) 0 ;
2018 PyObject
* obj0
= 0 ;
2020 (char *) "self", NULL
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
2024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2028 result
= (int)(arg1
)->GetStyle();
2030 wxPyEndAllowThreads(__tstate
);
2031 if (PyErr_Occurred()) SWIG_fail
;
2033 resultobj
= SWIG_From_int((int)result
);
2040 static PyObject
*_wrap_Pen_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2041 PyObject
*resultobj
;
2042 wxPen
*arg1
= (wxPen
*) 0 ;
2044 PyObject
* obj0
= 0 ;
2046 (char *) "self", NULL
2049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
2050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2054 result
= (int)(arg1
)->GetWidth();
2056 wxPyEndAllowThreads(__tstate
);
2057 if (PyErr_Occurred()) SWIG_fail
;
2059 resultobj
= SWIG_From_int((int)result
);
2066 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2067 PyObject
*resultobj
;
2068 wxPen
*arg1
= (wxPen
*) 0 ;
2070 PyObject
* obj0
= 0 ;
2072 (char *) "self", NULL
2075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
2076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2080 result
= (bool)(arg1
)->Ok();
2082 wxPyEndAllowThreads(__tstate
);
2083 if (PyErr_Occurred()) SWIG_fail
;
2086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2094 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
*resultobj
;
2096 wxPen
*arg1
= (wxPen
*) 0 ;
2098 PyObject
* obj0
= 0 ;
2099 PyObject
* obj1
= 0 ;
2101 (char *) "self",(char *) "cap_style", NULL
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
2105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2107 arg2
= (int)SWIG_As_int(obj1
);
2108 if (PyErr_Occurred()) SWIG_fail
;
2110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2111 (arg1
)->SetCap(arg2
);
2113 wxPyEndAllowThreads(__tstate
);
2114 if (PyErr_Occurred()) SWIG_fail
;
2116 Py_INCREF(Py_None
); resultobj
= Py_None
;
2123 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2124 PyObject
*resultobj
;
2125 wxPen
*arg1
= (wxPen
*) 0 ;
2126 wxColour
*arg2
= 0 ;
2128 PyObject
* obj0
= 0 ;
2129 PyObject
* obj1
= 0 ;
2131 (char *) "self",(char *) "colour", NULL
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2139 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2143 (arg1
)->SetColour(*arg2
);
2145 wxPyEndAllowThreads(__tstate
);
2146 if (PyErr_Occurred()) SWIG_fail
;
2148 Py_INCREF(Py_None
); resultobj
= Py_None
;
2155 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2156 PyObject
*resultobj
;
2157 wxPen
*arg1
= (wxPen
*) 0 ;
2159 PyObject
* obj0
= 0 ;
2160 PyObject
* obj1
= 0 ;
2162 (char *) "self",(char *) "join_style", NULL
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2168 arg2
= (int)SWIG_As_int(obj1
);
2169 if (PyErr_Occurred()) SWIG_fail
;
2171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2172 (arg1
)->SetJoin(arg2
);
2174 wxPyEndAllowThreads(__tstate
);
2175 if (PyErr_Occurred()) SWIG_fail
;
2177 Py_INCREF(Py_None
); resultobj
= Py_None
;
2184 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2185 PyObject
*resultobj
;
2186 wxPen
*arg1
= (wxPen
*) 0 ;
2188 PyObject
* obj0
= 0 ;
2189 PyObject
* obj1
= 0 ;
2191 (char *) "self",(char *) "style", NULL
2194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2197 arg2
= (int)SWIG_As_int(obj1
);
2198 if (PyErr_Occurred()) SWIG_fail
;
2200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2201 (arg1
)->SetStyle(arg2
);
2203 wxPyEndAllowThreads(__tstate
);
2204 if (PyErr_Occurred()) SWIG_fail
;
2206 Py_INCREF(Py_None
); resultobj
= Py_None
;
2213 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2214 PyObject
*resultobj
;
2215 wxPen
*arg1
= (wxPen
*) 0 ;
2217 PyObject
* obj0
= 0 ;
2218 PyObject
* obj1
= 0 ;
2220 (char *) "self",(char *) "width", NULL
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2226 arg2
= (int)SWIG_As_int(obj1
);
2227 if (PyErr_Occurred()) SWIG_fail
;
2229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2230 (arg1
)->SetWidth(arg2
);
2232 wxPyEndAllowThreads(__tstate
);
2233 if (PyErr_Occurred()) SWIG_fail
;
2235 Py_INCREF(Py_None
); resultobj
= Py_None
;
2242 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
*resultobj
;
2244 wxPen
*arg1
= (wxPen
*) 0 ;
2246 wxDash
*arg3
= (wxDash
*) 0 ;
2247 PyObject
* obj0
= 0 ;
2248 PyObject
* obj1
= 0 ;
2250 (char *) "self",(char *) "dashes", NULL
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2257 arg2
= PyList_Size(obj1
);
2258 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2259 if (arg3
== NULL
) SWIG_fail
;
2262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2263 (arg1
)->SetDashes(arg2
,arg3
);
2265 wxPyEndAllowThreads(__tstate
);
2266 if (PyErr_Occurred()) SWIG_fail
;
2268 Py_INCREF(Py_None
); resultobj
= Py_None
;
2270 if (arg3
) delete [] arg3
;
2275 if (arg3
) delete [] arg3
;
2281 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2282 PyObject
*resultobj
;
2283 wxPen
*arg1
= (wxPen
*) 0 ;
2285 PyObject
* obj0
= 0 ;
2287 (char *) "self", NULL
2290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2295 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2297 wxPyEndAllowThreads(__tstate
);
2298 if (PyErr_Occurred()) SWIG_fail
;
2307 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
*resultobj
;
2309 wxPen
*arg1
= (wxPen
*) 0 ;
2310 PyObject
*arg2
= (PyObject
*) 0 ;
2311 PyObject
*arg3
= (PyObject
*) 0 ;
2312 PyObject
* obj0
= 0 ;
2313 PyObject
* obj1
= 0 ;
2314 PyObject
* obj2
= 0 ;
2316 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 wxPen__SetDashes(arg1
,arg2
,arg3
);
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) SWIG_fail
;
2331 Py_INCREF(Py_None
); resultobj
= Py_None
;
2338 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2339 PyObject
*resultobj
;
2340 wxPen
*arg1
= (wxPen
*) 0 ;
2342 PyObject
* obj0
= 0 ;
2344 (char *) "self", NULL
2347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2352 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2354 wxPyEndAllowThreads(__tstate
);
2355 if (PyErr_Occurred()) SWIG_fail
;
2357 resultobj
= SWIG_From_int((int)result
);
2364 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2365 PyObject
*resultobj
;
2366 wxPen
*arg1
= (wxPen
*) 0 ;
2367 wxPen
*arg2
= (wxPen
*) 0 ;
2369 PyObject
* obj0
= 0 ;
2370 PyObject
* obj1
= 0 ;
2372 (char *) "self",(char *) "other", NULL
2375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2382 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2384 wxPyEndAllowThreads(__tstate
);
2385 if (PyErr_Occurred()) SWIG_fail
;
2388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2396 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2397 PyObject
*resultobj
;
2398 wxPen
*arg1
= (wxPen
*) 0 ;
2399 wxPen
*arg2
= (wxPen
*) 0 ;
2401 PyObject
* obj0
= 0 ;
2402 PyObject
* obj1
= 0 ;
2404 (char *) "self",(char *) "other", NULL
2407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2414 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2416 wxPyEndAllowThreads(__tstate
);
2417 if (PyErr_Occurred()) SWIG_fail
;
2420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2428 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
2430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2431 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2433 return Py_BuildValue((char *)"");
2435 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2436 PyObject
*resultobj
;
2437 wxColour
*arg1
= 0 ;
2438 int arg2
= (int) wxSOLID
;
2441 PyObject
* obj0
= 0 ;
2442 PyObject
* obj1
= 0 ;
2444 (char *) "colour",(char *) "style", NULL
2447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2450 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2453 arg2
= (int)SWIG_As_int(obj1
);
2454 if (PyErr_Occurred()) SWIG_fail
;
2457 if (!wxPyCheckForApp()) SWIG_fail
;
2458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2459 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2461 wxPyEndAllowThreads(__tstate
);
2462 if (PyErr_Occurred()) SWIG_fail
;
2464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2471 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2472 PyObject
*resultobj
;
2473 wxBrush
*arg1
= (wxBrush
*) 0 ;
2474 PyObject
* obj0
= 0 ;
2476 (char *) "self", NULL
2479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2486 wxPyEndAllowThreads(__tstate
);
2487 if (PyErr_Occurred()) SWIG_fail
;
2489 Py_INCREF(Py_None
); resultobj
= Py_None
;
2496 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2497 PyObject
*resultobj
;
2498 wxBrush
*arg1
= (wxBrush
*) 0 ;
2499 wxColour
*arg2
= 0 ;
2501 PyObject
* obj0
= 0 ;
2502 PyObject
* obj1
= 0 ;
2504 (char *) "self",(char *) "col", NULL
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2512 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2516 (arg1
)->SetColour((wxColour
const &)*arg2
);
2518 wxPyEndAllowThreads(__tstate
);
2519 if (PyErr_Occurred()) SWIG_fail
;
2521 Py_INCREF(Py_None
); resultobj
= Py_None
;
2528 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2529 PyObject
*resultobj
;
2530 wxBrush
*arg1
= (wxBrush
*) 0 ;
2532 PyObject
* obj0
= 0 ;
2533 PyObject
* obj1
= 0 ;
2535 (char *) "self",(char *) "style", NULL
2538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2541 arg2
= (int)SWIG_As_int(obj1
);
2542 if (PyErr_Occurred()) SWIG_fail
;
2544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2545 (arg1
)->SetStyle(arg2
);
2547 wxPyEndAllowThreads(__tstate
);
2548 if (PyErr_Occurred()) SWIG_fail
;
2550 Py_INCREF(Py_None
); resultobj
= Py_None
;
2557 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
*resultobj
;
2559 wxBrush
*arg1
= (wxBrush
*) 0 ;
2560 wxBitmap
*arg2
= 0 ;
2561 PyObject
* obj0
= 0 ;
2562 PyObject
* obj1
= 0 ;
2564 (char *) "self",(char *) "stipple", NULL
2567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2574 PyErr_SetString(PyExc_TypeError
,"null reference");
2578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2579 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2581 wxPyEndAllowThreads(__tstate
);
2582 if (PyErr_Occurred()) SWIG_fail
;
2584 Py_INCREF(Py_None
); resultobj
= Py_None
;
2591 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2592 PyObject
*resultobj
;
2593 wxBrush
*arg1
= (wxBrush
*) 0 ;
2595 PyObject
* obj0
= 0 ;
2597 (char *) "self", NULL
2600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2605 result
= ((wxBrush
const *)arg1
)->GetColour();
2607 wxPyEndAllowThreads(__tstate
);
2608 if (PyErr_Occurred()) SWIG_fail
;
2611 wxColour
* resultptr
;
2612 resultptr
= new wxColour((wxColour
&) result
);
2613 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2621 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2622 PyObject
*resultobj
;
2623 wxBrush
*arg1
= (wxBrush
*) 0 ;
2625 PyObject
* obj0
= 0 ;
2627 (char *) "self", NULL
2630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2635 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2637 wxPyEndAllowThreads(__tstate
);
2638 if (PyErr_Occurred()) SWIG_fail
;
2640 resultobj
= SWIG_From_int((int)result
);
2647 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2648 PyObject
*resultobj
;
2649 wxBrush
*arg1
= (wxBrush
*) 0 ;
2651 PyObject
* obj0
= 0 ;
2653 (char *) "self", NULL
2656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2661 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2663 wxPyEndAllowThreads(__tstate
);
2664 if (PyErr_Occurred()) SWIG_fail
;
2666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2673 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
*resultobj
;
2675 wxBrush
*arg1
= (wxBrush
*) 0 ;
2677 PyObject
* obj0
= 0 ;
2679 (char *) "self", NULL
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2687 result
= (bool)(arg1
)->Ok();
2689 wxPyEndAllowThreads(__tstate
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2701 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
2703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2704 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2706 return Py_BuildValue((char *)"");
2708 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
*resultobj
;
2710 wxString
*arg1
= 0 ;
2711 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2713 bool temp1
= false ;
2714 PyObject
* obj0
= 0 ;
2715 PyObject
* obj1
= 0 ;
2717 (char *) "name",(char *) "type", NULL
2720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2722 arg1
= wxString_in_helper(obj0
);
2723 if (arg1
== NULL
) SWIG_fail
;
2727 arg2
= (int)SWIG_As_int(obj1
);
2728 if (PyErr_Occurred()) SWIG_fail
;
2731 if (!wxPyCheckForApp()) SWIG_fail
;
2732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2733 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2735 wxPyEndAllowThreads(__tstate
);
2736 if (PyErr_Occurred()) SWIG_fail
;
2738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2753 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
*resultobj
;
2755 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2756 PyObject
* obj0
= 0 ;
2758 (char *) "self", NULL
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2768 wxPyEndAllowThreads(__tstate
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2771 Py_INCREF(Py_None
); resultobj
= Py_None
;
2778 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2779 PyObject
*resultobj
;
2782 int arg3
= (int) -1 ;
2784 PyObject
* obj0
= 0 ;
2785 PyObject
* obj1
= 0 ;
2786 PyObject
* obj2
= 0 ;
2788 (char *) "width",(char *) "height",(char *) "depth", NULL
2791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2792 arg1
= (int)SWIG_As_int(obj0
);
2793 if (PyErr_Occurred()) SWIG_fail
;
2794 arg2
= (int)SWIG_As_int(obj1
);
2795 if (PyErr_Occurred()) SWIG_fail
;
2797 arg3
= (int)SWIG_As_int(obj2
);
2798 if (PyErr_Occurred()) SWIG_fail
;
2801 if (!wxPyCheckForApp()) SWIG_fail
;
2802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2803 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2805 wxPyEndAllowThreads(__tstate
);
2806 if (PyErr_Occurred()) SWIG_fail
;
2808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2815 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2816 PyObject
*resultobj
;
2819 PyObject
* obj0
= 0 ;
2821 (char *) "icon", NULL
2824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2826 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2829 PyErr_SetString(PyExc_TypeError
,"null reference");
2833 if (!wxPyCheckForApp()) SWIG_fail
;
2834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2835 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2837 wxPyEndAllowThreads(__tstate
);
2838 if (PyErr_Occurred()) SWIG_fail
;
2840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2847 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
*resultobj
;
2850 int arg2
= (int) -1 ;
2852 PyObject
* obj0
= 0 ;
2853 PyObject
* obj1
= 0 ;
2855 (char *) "image",(char *) "depth", NULL
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2860 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2863 PyErr_SetString(PyExc_TypeError
,"null reference");
2867 arg2
= (int)SWIG_As_int(obj1
);
2868 if (PyErr_Occurred()) SWIG_fail
;
2871 if (!wxPyCheckForApp()) SWIG_fail
;
2872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2873 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2875 wxPyEndAllowThreads(__tstate
);
2876 if (PyErr_Occurred()) SWIG_fail
;
2878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2885 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2886 PyObject
*resultobj
;
2887 PyObject
*arg1
= (PyObject
*) 0 ;
2889 PyObject
* obj0
= 0 ;
2891 (char *) "listOfStrings", NULL
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2897 if (!wxPyCheckForApp()) SWIG_fail
;
2898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2899 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2901 wxPyEndAllowThreads(__tstate
);
2902 if (PyErr_Occurred()) SWIG_fail
;
2904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2911 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
*resultobj
;
2913 PyObject
*arg1
= (PyObject
*) 0 ;
2916 int arg4
= (int) 1 ;
2918 PyObject
* obj0
= 0 ;
2919 PyObject
* obj1
= 0 ;
2920 PyObject
* obj2
= 0 ;
2921 PyObject
* obj3
= 0 ;
2923 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2928 arg2
= (int)SWIG_As_int(obj1
);
2929 if (PyErr_Occurred()) SWIG_fail
;
2930 arg3
= (int)SWIG_As_int(obj2
);
2931 if (PyErr_Occurred()) SWIG_fail
;
2933 arg4
= (int)SWIG_As_int(obj3
);
2934 if (PyErr_Occurred()) SWIG_fail
;
2937 if (!wxPyCheckForApp()) SWIG_fail
;
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) SWIG_fail
;
2944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2951 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2952 PyObject
*resultobj
;
2953 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2955 PyObject
* obj0
= 0 ;
2957 (char *) "self", NULL
2960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2965 result
= (bool)(arg1
)->Ok();
2967 wxPyEndAllowThreads(__tstate
);
2968 if (PyErr_Occurred()) SWIG_fail
;
2971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2979 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2980 PyObject
*resultobj
;
2981 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2983 PyObject
* obj0
= 0 ;
2985 (char *) "self", NULL
2988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2993 result
= (int)(arg1
)->GetWidth();
2995 wxPyEndAllowThreads(__tstate
);
2996 if (PyErr_Occurred()) SWIG_fail
;
2998 resultobj
= SWIG_From_int((int)result
);
3005 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3006 PyObject
*resultobj
;
3007 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3009 PyObject
* obj0
= 0 ;
3011 (char *) "self", NULL
3014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
3015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3019 result
= (int)(arg1
)->GetHeight();
3021 wxPyEndAllowThreads(__tstate
);
3022 if (PyErr_Occurred()) SWIG_fail
;
3024 resultobj
= SWIG_From_int((int)result
);
3031 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3032 PyObject
*resultobj
;
3033 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3035 PyObject
* obj0
= 0 ;
3037 (char *) "self", NULL
3040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
3041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3045 result
= (int)(arg1
)->GetDepth();
3047 wxPyEndAllowThreads(__tstate
);
3048 if (PyErr_Occurred()) SWIG_fail
;
3050 resultobj
= SWIG_From_int((int)result
);
3057 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3058 PyObject
*resultobj
;
3059 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3061 PyObject
* obj0
= 0 ;
3063 (char *) "self", NULL
3066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
3067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3071 result
= wxBitmap_GetSize(arg1
);
3073 wxPyEndAllowThreads(__tstate
);
3074 if (PyErr_Occurred()) SWIG_fail
;
3078 resultptr
= new wxSize((wxSize
&) result
);
3079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3087 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3088 PyObject
*resultobj
;
3089 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3090 SwigValueWrapper
< wxImage
> result
;
3091 PyObject
* obj0
= 0 ;
3093 (char *) "self", NULL
3096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3101 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3103 wxPyEndAllowThreads(__tstate
);
3104 if (PyErr_Occurred()) SWIG_fail
;
3107 wxImage
* resultptr
;
3108 resultptr
= new wxImage((wxImage
&) result
);
3109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3117 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3118 PyObject
*resultobj
;
3119 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3121 PyObject
* obj0
= 0 ;
3123 (char *) "self", NULL
3126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3131 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3133 wxPyEndAllowThreads(__tstate
);
3134 if (PyErr_Occurred()) SWIG_fail
;
3136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3143 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
*resultobj
;
3145 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3146 wxMask
*arg2
= (wxMask
*) 0 ;
3147 PyObject
* obj0
= 0 ;
3148 PyObject
* obj1
= 0 ;
3150 (char *) "self",(char *) "mask", NULL
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3160 (arg1
)->SetMask(arg2
);
3162 wxPyEndAllowThreads(__tstate
);
3163 if (PyErr_Occurred()) SWIG_fail
;
3165 Py_INCREF(Py_None
); resultobj
= Py_None
;
3172 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3173 PyObject
*resultobj
;
3174 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3175 wxColour
*arg2
= 0 ;
3177 PyObject
* obj0
= 0 ;
3178 PyObject
* obj1
= 0 ;
3180 (char *) "self",(char *) "colour", NULL
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3188 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3192 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3194 wxPyEndAllowThreads(__tstate
);
3195 if (PyErr_Occurred()) SWIG_fail
;
3197 Py_INCREF(Py_None
); resultobj
= Py_None
;
3204 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
*resultobj
;
3206 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3208 SwigValueWrapper
< wxBitmap
> result
;
3210 PyObject
* obj0
= 0 ;
3211 PyObject
* obj1
= 0 ;
3213 (char *) "self",(char *) "rect", NULL
3216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3221 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) SWIG_fail
;
3231 wxBitmap
* resultptr
;
3232 resultptr
= new wxBitmap((wxBitmap
&) result
);
3233 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3241 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3242 PyObject
*resultobj
;
3243 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3244 wxString
*arg2
= 0 ;
3246 wxPalette
*arg4
= (wxPalette
*) NULL
;
3248 bool temp2
= false ;
3249 PyObject
* obj0
= 0 ;
3250 PyObject
* obj1
= 0 ;
3251 PyObject
* obj2
= 0 ;
3252 PyObject
* obj3
= 0 ;
3254 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3261 arg2
= wxString_in_helper(obj1
);
3262 if (arg2
== NULL
) SWIG_fail
;
3265 arg3
= (int)SWIG_As_int(obj2
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3268 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3273 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3275 wxPyEndAllowThreads(__tstate
);
3276 if (PyErr_Occurred()) SWIG_fail
;
3279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3295 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3296 PyObject
*resultobj
;
3297 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3298 wxString
*arg2
= 0 ;
3301 bool temp2
= false ;
3302 PyObject
* obj0
= 0 ;
3303 PyObject
* obj1
= 0 ;
3304 PyObject
* obj2
= 0 ;
3306 (char *) "self",(char *) "name",(char *) "type", NULL
3309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3313 arg2
= wxString_in_helper(obj1
);
3314 if (arg2
== NULL
) SWIG_fail
;
3317 arg3
= (int)SWIG_As_int(obj2
);
3318 if (PyErr_Occurred()) SWIG_fail
;
3320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3323 wxPyEndAllowThreads(__tstate
);
3324 if (PyErr_Occurred()) SWIG_fail
;
3327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3343 static PyObject
*_wrap_Bitmap_GetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
*resultobj
;
3345 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3347 PyObject
* obj0
= 0 ;
3349 (char *) "self", NULL
3352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetPalette",kwnames
,&obj0
)) goto fail
;
3353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3357 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
3359 wxPyEndAllowThreads(__tstate
);
3360 if (PyErr_Occurred()) SWIG_fail
;
3362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 0);
3369 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
*resultobj
;
3371 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3374 PyObject
* obj0
= 0 ;
3375 PyObject
* obj1
= 0 ;
3377 (char *) "self",(char *) "icon", NULL
3380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3384 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3387 PyErr_SetString(PyExc_TypeError
,"null reference");
3391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3394 wxPyEndAllowThreads(__tstate
);
3395 if (PyErr_Occurred()) SWIG_fail
;
3398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3406 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
*resultobj
;
3408 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3410 PyObject
* obj0
= 0 ;
3411 PyObject
* obj1
= 0 ;
3413 (char *) "self",(char *) "height", NULL
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3419 arg2
= (int)SWIG_As_int(obj1
);
3420 if (PyErr_Occurred()) SWIG_fail
;
3422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3423 (arg1
)->SetHeight(arg2
);
3425 wxPyEndAllowThreads(__tstate
);
3426 if (PyErr_Occurred()) SWIG_fail
;
3428 Py_INCREF(Py_None
); resultobj
= Py_None
;
3435 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3436 PyObject
*resultobj
;
3437 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3439 PyObject
* obj0
= 0 ;
3440 PyObject
* obj1
= 0 ;
3442 (char *) "self",(char *) "width", NULL
3445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3448 arg2
= (int)SWIG_As_int(obj1
);
3449 if (PyErr_Occurred()) SWIG_fail
;
3451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3452 (arg1
)->SetWidth(arg2
);
3454 wxPyEndAllowThreads(__tstate
);
3455 if (PyErr_Occurred()) SWIG_fail
;
3457 Py_INCREF(Py_None
); resultobj
= Py_None
;
3464 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
*resultobj
;
3466 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3468 PyObject
* obj0
= 0 ;
3469 PyObject
* obj1
= 0 ;
3471 (char *) "self",(char *) "depth", NULL
3474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3477 arg2
= (int)SWIG_As_int(obj1
);
3478 if (PyErr_Occurred()) SWIG_fail
;
3480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3481 (arg1
)->SetDepth(arg2
);
3483 wxPyEndAllowThreads(__tstate
);
3484 if (PyErr_Occurred()) SWIG_fail
;
3486 Py_INCREF(Py_None
); resultobj
= Py_None
;
3493 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3494 PyObject
*resultobj
;
3495 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3498 PyObject
* obj0
= 0 ;
3499 PyObject
* obj1
= 0 ;
3501 (char *) "self",(char *) "size", NULL
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3509 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3513 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3515 wxPyEndAllowThreads(__tstate
);
3516 if (PyErr_Occurred()) SWIG_fail
;
3518 Py_INCREF(Py_None
); resultobj
= Py_None
;
3525 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3526 PyObject
*resultobj
;
3527 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3528 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3530 PyObject
* obj0
= 0 ;
3531 PyObject
* obj1
= 0 ;
3533 (char *) "self",(char *) "other", NULL
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3539 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3543 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3557 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
*resultobj
;
3559 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3560 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3562 PyObject
* obj0
= 0 ;
3563 PyObject
* obj1
= 0 ;
3565 (char *) "self",(char *) "other", NULL
3568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3575 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3577 wxPyEndAllowThreads(__tstate
);
3578 if (PyErr_Occurred()) SWIG_fail
;
3581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3589 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
3591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3592 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3594 return Py_BuildValue((char *)"");
3596 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3597 PyObject
*resultobj
;
3598 wxBitmap
*arg1
= 0 ;
3599 wxColour
const &arg2_defvalue
= wxNullColour
;
3600 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3603 PyObject
* obj0
= 0 ;
3604 PyObject
* obj1
= 0 ;
3606 (char *) "bitmap",(char *) "colour", NULL
3609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3611 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3614 PyErr_SetString(PyExc_TypeError
,"null reference");
3620 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3624 if (!wxPyCheckForApp()) SWIG_fail
;
3625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3626 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3628 wxPyEndAllowThreads(__tstate
);
3629 if (PyErr_Occurred()) SWIG_fail
;
3631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3638 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
3640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3641 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3643 return Py_BuildValue((char *)"");
3645 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3646 PyObject
*resultobj
;
3647 wxString
*arg1
= 0 ;
3649 int arg3
= (int) -1 ;
3650 int arg4
= (int) -1 ;
3652 bool temp1
= false ;
3653 PyObject
* obj0
= 0 ;
3654 PyObject
* obj1
= 0 ;
3655 PyObject
* obj2
= 0 ;
3656 PyObject
* obj3
= 0 ;
3658 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3663 arg1
= wxString_in_helper(obj0
);
3664 if (arg1
== NULL
) SWIG_fail
;
3667 arg2
= (int)SWIG_As_int(obj1
);
3668 if (PyErr_Occurred()) SWIG_fail
;
3670 arg3
= (int)SWIG_As_int(obj2
);
3671 if (PyErr_Occurred()) SWIG_fail
;
3674 arg4
= (int)SWIG_As_int(obj3
);
3675 if (PyErr_Occurred()) SWIG_fail
;
3678 if (!wxPyCheckForApp()) SWIG_fail
;
3679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3680 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3682 wxPyEndAllowThreads(__tstate
);
3683 if (PyErr_Occurred()) SWIG_fail
;
3685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3700 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3701 PyObject
*resultobj
;
3702 wxIcon
*arg1
= (wxIcon
*) 0 ;
3703 PyObject
* obj0
= 0 ;
3705 (char *) "self", NULL
3708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3715 wxPyEndAllowThreads(__tstate
);
3716 if (PyErr_Occurred()) SWIG_fail
;
3718 Py_INCREF(Py_None
); resultobj
= Py_None
;
3725 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3726 PyObject
*resultobj
;
3732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3734 if (!wxPyCheckForApp()) SWIG_fail
;
3735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3736 result
= (wxIcon
*)new wxIcon();
3738 wxPyEndAllowThreads(__tstate
);
3739 if (PyErr_Occurred()) SWIG_fail
;
3741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3748 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3749 PyObject
*resultobj
;
3750 wxIconLocation
*arg1
= 0 ;
3752 PyObject
* obj0
= 0 ;
3754 (char *) "loc", NULL
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3759 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3762 PyErr_SetString(PyExc_TypeError
,"null reference");
3766 if (!wxPyCheckForApp()) SWIG_fail
;
3767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3768 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3770 wxPyEndAllowThreads(__tstate
);
3771 if (PyErr_Occurred()) SWIG_fail
;
3773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3780 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
*resultobj
;
3782 wxBitmap
*arg1
= 0 ;
3784 PyObject
* obj0
= 0 ;
3786 (char *) "bmp", NULL
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3791 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3794 PyErr_SetString(PyExc_TypeError
,"null reference");
3798 if (!wxPyCheckForApp()) SWIG_fail
;
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3802 wxPyEndAllowThreads(__tstate
);
3803 if (PyErr_Occurred()) SWIG_fail
;
3805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3812 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
*resultobj
;
3814 PyObject
*arg1
= (PyObject
*) 0 ;
3816 PyObject
* obj0
= 0 ;
3818 (char *) "listOfStrings", NULL
3821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3824 if (!wxPyCheckForApp()) SWIG_fail
;
3825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3826 result
= (wxIcon
*)new_wxIcon(arg1
);
3828 wxPyEndAllowThreads(__tstate
);
3829 if (PyErr_Occurred()) SWIG_fail
;
3831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3838 static PyObject
*_wrap_Icon_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3839 PyObject
*resultobj
;
3840 wxIcon
*arg1
= (wxIcon
*) 0 ;
3841 wxString
*arg2
= 0 ;
3844 bool temp2
= false ;
3845 PyObject
* obj0
= 0 ;
3846 PyObject
* obj1
= 0 ;
3847 PyObject
* obj2
= 0 ;
3849 (char *) "self",(char *) "name",(char *) "type", NULL
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3856 arg2
= wxString_in_helper(obj1
);
3857 if (arg2
== NULL
) SWIG_fail
;
3860 arg3
= (int)SWIG_As_int(obj2
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3864 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3866 wxPyEndAllowThreads(__tstate
);
3867 if (PyErr_Occurred()) SWIG_fail
;
3870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3886 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
*resultobj
;
3888 wxIcon
*arg1
= (wxIcon
*) 0 ;
3890 PyObject
* obj0
= 0 ;
3892 (char *) "self", NULL
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 result
= (bool)(arg1
)->Ok();
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3914 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
*resultobj
;
3916 wxIcon
*arg1
= (wxIcon
*) 0 ;
3918 PyObject
* obj0
= 0 ;
3920 (char *) "self", NULL
3923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3928 result
= (int)(arg1
)->GetWidth();
3930 wxPyEndAllowThreads(__tstate
);
3931 if (PyErr_Occurred()) SWIG_fail
;
3933 resultobj
= SWIG_From_int((int)result
);
3940 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
*resultobj
;
3942 wxIcon
*arg1
= (wxIcon
*) 0 ;
3944 PyObject
* obj0
= 0 ;
3946 (char *) "self", NULL
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 result
= (int)(arg1
)->GetHeight();
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 resultobj
= SWIG_From_int((int)result
);
3966 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
;
3968 wxIcon
*arg1
= (wxIcon
*) 0 ;
3970 PyObject
* obj0
= 0 ;
3972 (char *) "self", NULL
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 result
= (int)(arg1
)->GetDepth();
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3985 resultobj
= SWIG_From_int((int)result
);
3992 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
*resultobj
;
3994 wxIcon
*arg1
= (wxIcon
*) 0 ;
3996 PyObject
* obj0
= 0 ;
3997 PyObject
* obj1
= 0 ;
3999 (char *) "self",(char *) "w", NULL
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4005 arg2
= (int)SWIG_As_int(obj1
);
4006 if (PyErr_Occurred()) SWIG_fail
;
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 (arg1
)->SetWidth(arg2
);
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4014 Py_INCREF(Py_None
); resultobj
= Py_None
;
4021 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
*resultobj
;
4023 wxIcon
*arg1
= (wxIcon
*) 0 ;
4025 PyObject
* obj0
= 0 ;
4026 PyObject
* obj1
= 0 ;
4028 (char *) "self",(char *) "h", NULL
4031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4034 arg2
= (int)SWIG_As_int(obj1
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4038 (arg1
)->SetHeight(arg2
);
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4043 Py_INCREF(Py_None
); resultobj
= Py_None
;
4050 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4052 wxIcon
*arg1
= (wxIcon
*) 0 ;
4054 PyObject
* obj0
= 0 ;
4055 PyObject
* obj1
= 0 ;
4057 (char *) "self",(char *) "d", NULL
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4063 arg2
= (int)SWIG_As_int(obj1
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 (arg1
)->SetDepth(arg2
);
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4072 Py_INCREF(Py_None
); resultobj
= Py_None
;
4079 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
*resultobj
;
4081 wxIcon
*arg1
= (wxIcon
*) 0 ;
4082 wxBitmap
*arg2
= 0 ;
4083 PyObject
* obj0
= 0 ;
4084 PyObject
* obj1
= 0 ;
4086 (char *) "self",(char *) "bmp", NULL
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4093 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4096 PyErr_SetString(PyExc_TypeError
,"null reference");
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4101 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
4103 wxPyEndAllowThreads(__tstate
);
4104 if (PyErr_Occurred()) SWIG_fail
;
4106 Py_INCREF(Py_None
); resultobj
= Py_None
;
4113 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
4115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4116 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4118 return Py_BuildValue((char *)"");
4120 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
*resultobj
;
4122 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4123 int arg2
= (int) 0 ;
4124 wxIconLocation
*result
;
4125 bool temp1
= false ;
4126 PyObject
* obj0
= 0 ;
4127 PyObject
* obj1
= 0 ;
4129 (char *) "filename",(char *) "num", NULL
4132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4135 arg1
= wxString_in_helper(obj0
);
4136 if (arg1
== NULL
) SWIG_fail
;
4141 arg2
= (int)SWIG_As_int(obj1
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4166 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4167 PyObject
*resultobj
;
4168 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4169 PyObject
* obj0
= 0 ;
4171 (char *) "self", NULL
4174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) SWIG_fail
;
4184 Py_INCREF(Py_None
); resultobj
= Py_None
;
4191 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
*resultobj
;
4193 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4195 PyObject
* obj0
= 0 ;
4197 (char *) "self", NULL
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4205 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4207 wxPyEndAllowThreads(__tstate
);
4208 if (PyErr_Occurred()) SWIG_fail
;
4211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4219 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
*resultobj
;
4221 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4222 wxString
*arg2
= 0 ;
4223 bool temp2
= false ;
4224 PyObject
* obj0
= 0 ;
4225 PyObject
* obj1
= 0 ;
4227 (char *) "self",(char *) "filename", NULL
4230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4234 arg2
= wxString_in_helper(obj1
);
4235 if (arg2
== NULL
) SWIG_fail
;
4239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4240 (arg1
)->SetFileName((wxString
const &)*arg2
);
4242 wxPyEndAllowThreads(__tstate
);
4243 if (PyErr_Occurred()) SWIG_fail
;
4245 Py_INCREF(Py_None
); resultobj
= Py_None
;
4260 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
*resultobj
;
4262 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4264 PyObject
* obj0
= 0 ;
4266 (char *) "self", NULL
4269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4276 result
= (wxString
*) &_result_ref
;
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) SWIG_fail
;
4284 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4286 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4295 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
*resultobj
;
4297 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4299 PyObject
* obj0
= 0 ;
4300 PyObject
* obj1
= 0 ;
4302 (char *) "self",(char *) "num", NULL
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4308 arg2
= (int)SWIG_As_int(obj1
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 wxIconLocation_SetIndex(arg1
,arg2
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) SWIG_fail
;
4317 Py_INCREF(Py_None
); resultobj
= Py_None
;
4324 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4325 PyObject
*resultobj
;
4326 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4328 PyObject
* obj0
= 0 ;
4330 (char *) "self", NULL
4333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4338 result
= (int)wxIconLocation_GetIndex(arg1
);
4340 wxPyEndAllowThreads(__tstate
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4343 resultobj
= SWIG_From_int((int)result
);
4350 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
4352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4353 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4355 return Py_BuildValue((char *)"");
4357 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
*resultobj
;
4359 wxIconBundle
*result
;
4364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 result
= (wxIconBundle
*)new wxIconBundle();
4369 wxPyEndAllowThreads(__tstate
);
4370 if (PyErr_Occurred()) SWIG_fail
;
4372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4379 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4380 PyObject
*resultobj
;
4381 wxString
*arg1
= 0 ;
4383 wxIconBundle
*result
;
4384 bool temp1
= false ;
4385 PyObject
* obj0
= 0 ;
4386 PyObject
* obj1
= 0 ;
4388 (char *) "file",(char *) "type", NULL
4391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4393 arg1
= wxString_in_helper(obj0
);
4394 if (arg1
== NULL
) SWIG_fail
;
4397 arg2
= (long)SWIG_As_long(obj1
);
4398 if (PyErr_Occurred()) SWIG_fail
;
4400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4421 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
*resultobj
;
4424 wxIconBundle
*result
;
4425 PyObject
* obj0
= 0 ;
4427 (char *) "icon", NULL
4430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4432 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4435 PyErr_SetString(PyExc_TypeError
,"null reference");
4439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4440 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4442 wxPyEndAllowThreads(__tstate
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4452 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
*resultobj
;
4454 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4455 PyObject
* obj0
= 0 ;
4457 (char *) "self", NULL
4460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4470 Py_INCREF(Py_None
); resultobj
= Py_None
;
4477 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4478 PyObject
*resultobj
;
4479 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4481 PyObject
* obj0
= 0 ;
4482 PyObject
* obj1
= 0 ;
4484 (char *) "self",(char *) "icon", NULL
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4491 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4494 PyErr_SetString(PyExc_TypeError
,"null reference");
4498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4499 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4501 wxPyEndAllowThreads(__tstate
);
4502 if (PyErr_Occurred()) SWIG_fail
;
4504 Py_INCREF(Py_None
); resultobj
= Py_None
;
4511 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4512 PyObject
*resultobj
;
4513 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4514 wxString
*arg2
= 0 ;
4516 bool temp2
= false ;
4517 PyObject
* obj0
= 0 ;
4518 PyObject
* obj1
= 0 ;
4519 PyObject
* obj2
= 0 ;
4521 (char *) "self",(char *) "file",(char *) "type", NULL
4524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4528 arg2
= wxString_in_helper(obj1
);
4529 if (arg2
== NULL
) SWIG_fail
;
4532 arg3
= (long)SWIG_As_long(obj2
);
4533 if (PyErr_Occurred()) SWIG_fail
;
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4536 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4538 wxPyEndAllowThreads(__tstate
);
4539 if (PyErr_Occurred()) SWIG_fail
;
4541 Py_INCREF(Py_None
); resultobj
= Py_None
;
4556 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4557 PyObject
*resultobj
;
4558 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4562 PyObject
* obj0
= 0 ;
4563 PyObject
* obj1
= 0 ;
4565 (char *) "self",(char *) "size", NULL
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4573 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4578 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4579 result
= (wxIcon
*) &_result_ref
;
4582 wxPyEndAllowThreads(__tstate
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4586 wxIcon
* resultptr
= new wxIcon(*result
);
4587 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4595 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
4597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4598 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4600 return Py_BuildValue((char *)"");
4602 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4603 PyObject
*resultobj
;
4604 wxString
*arg1
= (wxString
*) 0 ;
4606 int arg3
= (int) 0 ;
4607 int arg4
= (int) 0 ;
4609 bool temp1
= false ;
4610 PyObject
* obj0
= 0 ;
4611 PyObject
* obj1
= 0 ;
4612 PyObject
* obj2
= 0 ;
4613 PyObject
* obj3
= 0 ;
4615 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4620 arg1
= wxString_in_helper(obj0
);
4621 if (arg1
== NULL
) SWIG_fail
;
4624 arg2
= (long)SWIG_As_long(obj1
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4627 arg3
= (int)SWIG_As_int(obj2
);
4628 if (PyErr_Occurred()) SWIG_fail
;
4631 arg4
= (int)SWIG_As_int(obj3
);
4632 if (PyErr_Occurred()) SWIG_fail
;
4635 if (!wxPyCheckForApp()) SWIG_fail
;
4636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4637 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4639 wxPyEndAllowThreads(__tstate
);
4640 if (PyErr_Occurred()) SWIG_fail
;
4642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4657 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
*resultobj
;
4659 wxCursor
*arg1
= (wxCursor
*) 0 ;
4660 PyObject
* obj0
= 0 ;
4662 (char *) "self", NULL
4665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4675 Py_INCREF(Py_None
); resultobj
= Py_None
;
4682 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4683 PyObject
*resultobj
;
4686 PyObject
* obj0
= 0 ;
4691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4692 arg1
= (int)SWIG_As_int(obj0
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4695 if (!wxPyCheckForApp()) SWIG_fail
;
4696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4697 result
= (wxCursor
*)new wxCursor(arg1
);
4699 wxPyEndAllowThreads(__tstate
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4709 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4710 PyObject
*resultobj
;
4713 PyObject
* obj0
= 0 ;
4715 (char *) "image", NULL
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4720 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4723 PyErr_SetString(PyExc_TypeError
,"null reference");
4727 if (!wxPyCheckForApp()) SWIG_fail
;
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4741 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
*resultobj
;
4743 wxCursor
*arg1
= (wxCursor
*) 0 ;
4745 PyObject
* obj0
= 0 ;
4747 (char *) "self", NULL
4750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4755 result
= (bool)(arg1
)->Ok();
4757 wxPyEndAllowThreads(__tstate
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4769 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
4771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4772 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4774 return Py_BuildValue((char *)"");
4776 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4777 PyObject
*resultobj
;
4778 int arg1
= (int) 0 ;
4779 int arg2
= (int) 0 ;
4780 int arg3
= (int) 0 ;
4781 int arg4
= (int) 0 ;
4783 PyObject
* obj0
= 0 ;
4784 PyObject
* obj1
= 0 ;
4785 PyObject
* obj2
= 0 ;
4786 PyObject
* obj3
= 0 ;
4788 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4793 arg1
= (int)SWIG_As_int(obj0
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4797 arg2
= (int)SWIG_As_int(obj1
);
4798 if (PyErr_Occurred()) SWIG_fail
;
4801 arg3
= (int)SWIG_As_int(obj2
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4805 arg4
= (int)SWIG_As_int(obj3
);
4806 if (PyErr_Occurred()) SWIG_fail
;
4809 if (!wxPyCheckForApp()) SWIG_fail
;
4810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4811 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4813 wxPyEndAllowThreads(__tstate
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4823 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
*resultobj
;
4825 wxBitmap
*arg1
= 0 ;
4827 PyObject
* obj0
= 0 ;
4829 (char *) "bmp", NULL
4832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
4833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4834 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4837 PyErr_SetString(PyExc_TypeError
,"null reference");
4841 if (!wxPyCheckForApp()) SWIG_fail
;
4842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4843 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4855 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4856 PyObject
*resultobj
;
4857 wxBitmap
*arg1
= 0 ;
4858 wxColour
*arg2
= 0 ;
4859 int arg3
= (int) 0 ;
4862 PyObject
* obj0
= 0 ;
4863 PyObject
* obj1
= 0 ;
4864 PyObject
* obj2
= 0 ;
4866 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4871 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4874 PyErr_SetString(PyExc_TypeError
,"null reference");
4879 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4882 arg3
= (int)SWIG_As_int(obj2
);
4883 if (PyErr_Occurred()) SWIG_fail
;
4886 if (!wxPyCheckForApp()) SWIG_fail
;
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4900 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
;
4903 wxPoint
*arg2
= (wxPoint
*) 0 ;
4904 int arg3
= (int) wxWINDING_RULE
;
4906 PyObject
* obj0
= 0 ;
4907 PyObject
* obj1
= 0 ;
4909 (char *) "points",(char *) "fillStyle", NULL
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4914 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4915 if (arg2
== NULL
) SWIG_fail
;
4918 arg3
= (int)SWIG_As_int(obj1
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4922 if (!wxPyCheckForApp()) SWIG_fail
;
4923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4924 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) SWIG_fail
;
4929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4931 if (arg2
) delete [] arg2
;
4936 if (arg2
) delete [] arg2
;
4942 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4943 PyObject
*resultobj
;
4944 wxRegion
*arg1
= (wxRegion
*) 0 ;
4945 PyObject
* obj0
= 0 ;
4947 (char *) "self", NULL
4950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4960 Py_INCREF(Py_None
); resultobj
= Py_None
;
4967 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4968 PyObject
*resultobj
;
4969 wxRegion
*arg1
= (wxRegion
*) 0 ;
4970 PyObject
* obj0
= 0 ;
4972 (char *) "self", NULL
4975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4985 Py_INCREF(Py_None
); resultobj
= Py_None
;
4992 static PyObject
*_wrap_Region_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4993 PyObject
*resultobj
;
4994 wxRegion
*arg1
= (wxRegion
*) 0 ;
4998 PyObject
* obj0
= 0 ;
4999 PyObject
* obj1
= 0 ;
5000 PyObject
* obj2
= 0 ;
5002 (char *) "self",(char *) "x",(char *) "y", NULL
5005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5008 arg2
= (int)SWIG_As_int(obj1
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5010 arg3
= (int)SWIG_As_int(obj2
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) SWIG_fail
;
5020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5028 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
*resultobj
;
5030 wxRegion
*arg1
= (wxRegion
*) 0 ;
5034 PyObject
* obj0
= 0 ;
5035 PyObject
* obj1
= 0 ;
5036 PyObject
* obj2
= 0 ;
5038 (char *) "self",(char *) "x",(char *) "y", NULL
5041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5044 arg2
= (int)SWIG_As_int(obj1
);
5045 if (PyErr_Occurred()) SWIG_fail
;
5046 arg3
= (int)SWIG_As_int(obj2
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 result
= (int)(arg1
)->Contains(arg2
,arg3
);
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5055 resultobj
= SWIG_From_int((int)result
);
5062 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
;
5064 wxRegion
*arg1
= (wxRegion
*) 0 ;
5068 PyObject
* obj0
= 0 ;
5069 PyObject
* obj1
= 0 ;
5071 (char *) "self",(char *) "pt", NULL
5074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
5075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5079 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5088 resultobj
= SWIG_From_int((int)result
);
5095 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
*resultobj
;
5097 wxRegion
*arg1
= (wxRegion
*) 0 ;
5101 PyObject
* obj0
= 0 ;
5102 PyObject
* obj1
= 0 ;
5104 (char *) "self",(char *) "rect", NULL
5107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5112 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5116 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
5118 wxPyEndAllowThreads(__tstate
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5121 resultobj
= SWIG_From_int((int)result
);
5128 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5129 PyObject
*resultobj
;
5130 wxRegion
*arg1
= (wxRegion
*) 0 ;
5136 PyObject
* obj0
= 0 ;
5137 PyObject
* obj1
= 0 ;
5138 PyObject
* obj2
= 0 ;
5139 PyObject
* obj3
= 0 ;
5140 PyObject
* obj4
= 0 ;
5142 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5148 arg2
= (int)SWIG_As_int(obj1
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5150 arg3
= (int)SWIG_As_int(obj2
);
5151 if (PyErr_Occurred()) SWIG_fail
;
5152 arg4
= (int)SWIG_As_int(obj3
);
5153 if (PyErr_Occurred()) SWIG_fail
;
5154 arg5
= (int)SWIG_As_int(obj4
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) SWIG_fail
;
5163 resultobj
= SWIG_From_int((int)result
);
5170 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5171 PyObject
*resultobj
;
5172 wxRegion
*arg1
= (wxRegion
*) 0 ;
5174 PyObject
* obj0
= 0 ;
5176 (char *) "self", NULL
5179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5184 result
= (arg1
)->GetBox();
5186 wxPyEndAllowThreads(__tstate
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5191 resultptr
= new wxRect((wxRect
&) result
);
5192 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5200 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5201 PyObject
*resultobj
;
5202 wxRegion
*arg1
= (wxRegion
*) 0 ;
5208 PyObject
* obj0
= 0 ;
5209 PyObject
* obj1
= 0 ;
5210 PyObject
* obj2
= 0 ;
5211 PyObject
* obj3
= 0 ;
5212 PyObject
* obj4
= 0 ;
5214 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5220 arg2
= (int)SWIG_As_int(obj1
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5222 arg3
= (int)SWIG_As_int(obj2
);
5223 if (PyErr_Occurred()) SWIG_fail
;
5224 arg4
= (int)SWIG_As_int(obj3
);
5225 if (PyErr_Occurred()) SWIG_fail
;
5226 arg5
= (int)SWIG_As_int(obj4
);
5227 if (PyErr_Occurred()) SWIG_fail
;
5229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5230 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5244 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
*resultobj
;
5246 wxRegion
*arg1
= (wxRegion
*) 0 ;
5250 PyObject
* obj0
= 0 ;
5251 PyObject
* obj1
= 0 ;
5253 (char *) "self",(char *) "rect", NULL
5256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5261 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5265 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5267 wxPyEndAllowThreads(__tstate
);
5268 if (PyErr_Occurred()) SWIG_fail
;
5271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5279 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5280 PyObject
*resultobj
;
5281 wxRegion
*arg1
= (wxRegion
*) 0 ;
5282 wxRegion
*arg2
= 0 ;
5284 PyObject
* obj0
= 0 ;
5285 PyObject
* obj1
= 0 ;
5287 (char *) "self",(char *) "region", NULL
5290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5293 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5294 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5297 PyErr_SetString(PyExc_TypeError
,"null reference");
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5302 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5304 wxPyEndAllowThreads(__tstate
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5316 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5317 PyObject
*resultobj
;
5318 wxRegion
*arg1
= (wxRegion
*) 0 ;
5320 PyObject
* obj0
= 0 ;
5322 (char *) "self", NULL
5325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 result
= (bool)(arg1
)->IsEmpty();
5332 wxPyEndAllowThreads(__tstate
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5344 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5345 PyObject
*resultobj
;
5346 wxRegion
*arg1
= (wxRegion
*) 0 ;
5352 PyObject
* obj0
= 0 ;
5353 PyObject
* obj1
= 0 ;
5354 PyObject
* obj2
= 0 ;
5355 PyObject
* obj3
= 0 ;
5356 PyObject
* obj4
= 0 ;
5358 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5364 arg2
= (int)SWIG_As_int(obj1
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5366 arg3
= (int)SWIG_As_int(obj2
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5368 arg4
= (int)SWIG_As_int(obj3
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5370 arg5
= (int)SWIG_As_int(obj4
);
5371 if (PyErr_Occurred()) SWIG_fail
;
5373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5374 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5376 wxPyEndAllowThreads(__tstate
);
5377 if (PyErr_Occurred()) SWIG_fail
;
5380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5388 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5389 PyObject
*resultobj
;
5390 wxRegion
*arg1
= (wxRegion
*) 0 ;
5394 PyObject
* obj0
= 0 ;
5395 PyObject
* obj1
= 0 ;
5397 (char *) "self",(char *) "rect", NULL
5400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5405 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5423 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5424 PyObject
*resultobj
;
5425 wxRegion
*arg1
= (wxRegion
*) 0 ;
5426 wxRegion
*arg2
= 0 ;
5428 PyObject
* obj0
= 0 ;
5429 PyObject
* obj1
= 0 ;
5431 (char *) "self",(char *) "region", NULL
5434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5438 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5441 PyErr_SetString(PyExc_TypeError
,"null reference");
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5460 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5461 PyObject
*resultobj
;
5462 wxRegion
*arg1
= (wxRegion
*) 0 ;
5468 PyObject
* obj0
= 0 ;
5469 PyObject
* obj1
= 0 ;
5470 PyObject
* obj2
= 0 ;
5471 PyObject
* obj3
= 0 ;
5472 PyObject
* obj4
= 0 ;
5474 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5480 arg2
= (int)SWIG_As_int(obj1
);
5481 if (PyErr_Occurred()) SWIG_fail
;
5482 arg3
= (int)SWIG_As_int(obj2
);
5483 if (PyErr_Occurred()) SWIG_fail
;
5484 arg4
= (int)SWIG_As_int(obj3
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5486 arg5
= (int)SWIG_As_int(obj4
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5490 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5492 wxPyEndAllowThreads(__tstate
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5504 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
*resultobj
;
5506 wxRegion
*arg1
= (wxRegion
*) 0 ;
5510 PyObject
* obj0
= 0 ;
5511 PyObject
* obj1
= 0 ;
5513 (char *) "self",(char *) "rect", NULL
5516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5521 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5525 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5527 wxPyEndAllowThreads(__tstate
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5539 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5540 PyObject
*resultobj
;
5541 wxRegion
*arg1
= (wxRegion
*) 0 ;
5542 wxRegion
*arg2
= 0 ;
5544 PyObject
* obj0
= 0 ;
5545 PyObject
* obj1
= 0 ;
5547 (char *) "self",(char *) "region", NULL
5550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5554 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5557 PyErr_SetString(PyExc_TypeError
,"null reference");
5561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5562 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5564 wxPyEndAllowThreads(__tstate
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5576 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5577 PyObject
*resultobj
;
5578 wxRegion
*arg1
= (wxRegion
*) 0 ;
5584 PyObject
* obj0
= 0 ;
5585 PyObject
* obj1
= 0 ;
5586 PyObject
* obj2
= 0 ;
5587 PyObject
* obj3
= 0 ;
5588 PyObject
* obj4
= 0 ;
5590 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5596 arg2
= (int)SWIG_As_int(obj1
);
5597 if (PyErr_Occurred()) SWIG_fail
;
5598 arg3
= (int)SWIG_As_int(obj2
);
5599 if (PyErr_Occurred()) SWIG_fail
;
5600 arg4
= (int)SWIG_As_int(obj3
);
5601 if (PyErr_Occurred()) SWIG_fail
;
5602 arg5
= (int)SWIG_As_int(obj4
);
5603 if (PyErr_Occurred()) SWIG_fail
;
5605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5606 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5608 wxPyEndAllowThreads(__tstate
);
5609 if (PyErr_Occurred()) SWIG_fail
;
5612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5620 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5621 PyObject
*resultobj
;
5622 wxRegion
*arg1
= (wxRegion
*) 0 ;
5626 PyObject
* obj0
= 0 ;
5627 PyObject
* obj1
= 0 ;
5629 (char *) "self",(char *) "rect", NULL
5632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5637 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5655 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
*resultobj
;
5657 wxRegion
*arg1
= (wxRegion
*) 0 ;
5658 wxRegion
*arg2
= 0 ;
5660 PyObject
* obj0
= 0 ;
5661 PyObject
* obj1
= 0 ;
5663 (char *) "self",(char *) "region", NULL
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5670 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5673 PyErr_SetString(PyExc_TypeError
,"null reference");
5677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5678 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5680 wxPyEndAllowThreads(__tstate
);
5681 if (PyErr_Occurred()) SWIG_fail
;
5684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5692 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
*resultobj
;
5694 wxRegion
*arg1
= (wxRegion
*) 0 ;
5695 SwigValueWrapper
< wxBitmap
> result
;
5696 PyObject
* obj0
= 0 ;
5698 (char *) "self", NULL
5701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5706 result
= (arg1
)->ConvertToBitmap();
5708 wxPyEndAllowThreads(__tstate
);
5709 if (PyErr_Occurred()) SWIG_fail
;
5712 wxBitmap
* resultptr
;
5713 resultptr
= new wxBitmap((wxBitmap
&) result
);
5714 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5722 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
*resultobj
;
5724 wxRegion
*arg1
= (wxRegion
*) 0 ;
5725 wxBitmap
*arg2
= 0 ;
5727 PyObject
* obj0
= 0 ;
5728 PyObject
* obj1
= 0 ;
5730 (char *) "self",(char *) "bmp", NULL
5733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5737 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5740 PyErr_SetString(PyExc_TypeError
,"null reference");
5744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5745 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
5747 wxPyEndAllowThreads(__tstate
);
5748 if (PyErr_Occurred()) SWIG_fail
;
5751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5759 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
*resultobj
;
5761 wxRegion
*arg1
= (wxRegion
*) 0 ;
5762 wxBitmap
*arg2
= 0 ;
5763 wxColour
*arg3
= 0 ;
5764 int arg4
= (int) 0 ;
5767 PyObject
* obj0
= 0 ;
5768 PyObject
* obj1
= 0 ;
5769 PyObject
* obj2
= 0 ;
5770 PyObject
* obj3
= 0 ;
5772 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5778 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5779 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5782 PyErr_SetString(PyExc_TypeError
,"null reference");
5787 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5790 arg4
= (int)SWIG_As_int(obj3
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5795 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5797 wxPyEndAllowThreads(__tstate
);
5798 if (PyErr_Occurred()) SWIG_fail
;
5801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5809 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
5811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5812 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5814 return Py_BuildValue((char *)"");
5816 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
*resultobj
;
5818 wxRegion
*arg1
= 0 ;
5819 wxRegionIterator
*result
;
5820 PyObject
* obj0
= 0 ;
5822 (char *) "region", NULL
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5827 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5830 PyErr_SetString(PyExc_TypeError
,"null reference");
5834 if (!wxPyCheckForApp()) SWIG_fail
;
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5838 wxPyEndAllowThreads(__tstate
);
5839 if (PyErr_Occurred()) SWIG_fail
;
5841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5848 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5849 PyObject
*resultobj
;
5850 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5851 PyObject
* obj0
= 0 ;
5853 (char *) "self", NULL
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5866 Py_INCREF(Py_None
); resultobj
= Py_None
;
5873 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
;
5875 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5877 PyObject
* obj0
= 0 ;
5879 (char *) "self", NULL
5882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 result
= (int)(arg1
)->GetX();
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5892 resultobj
= SWIG_From_int((int)result
);
5899 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
*resultobj
;
5901 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5903 PyObject
* obj0
= 0 ;
5905 (char *) "self", NULL
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 result
= (int)(arg1
)->GetY();
5915 wxPyEndAllowThreads(__tstate
);
5916 if (PyErr_Occurred()) SWIG_fail
;
5918 resultobj
= SWIG_From_int((int)result
);
5925 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
*resultobj
;
5927 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5929 PyObject
* obj0
= 0 ;
5931 (char *) "self", NULL
5934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5939 result
= (int)(arg1
)->GetW();
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5944 resultobj
= SWIG_From_int((int)result
);
5951 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5952 PyObject
*resultobj
;
5953 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5955 PyObject
* obj0
= 0 ;
5957 (char *) "self", NULL
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5965 result
= (int)(arg1
)->GetWidth();
5967 wxPyEndAllowThreads(__tstate
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5970 resultobj
= SWIG_From_int((int)result
);
5977 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5978 PyObject
*resultobj
;
5979 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5981 PyObject
* obj0
= 0 ;
5983 (char *) "self", NULL
5986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 result
= (int)(arg1
)->GetH();
5993 wxPyEndAllowThreads(__tstate
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5996 resultobj
= SWIG_From_int((int)result
);
6003 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
*resultobj
;
6005 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6007 PyObject
* obj0
= 0 ;
6009 (char *) "self", NULL
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
6013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6017 result
= (int)(arg1
)->GetHeight();
6019 wxPyEndAllowThreads(__tstate
);
6020 if (PyErr_Occurred()) SWIG_fail
;
6022 resultobj
= SWIG_From_int((int)result
);
6029 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6030 PyObject
*resultobj
;
6031 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6033 PyObject
* obj0
= 0 ;
6035 (char *) "self", NULL
6038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
6039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6043 result
= (arg1
)->GetRect();
6045 wxPyEndAllowThreads(__tstate
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6050 resultptr
= new wxRect((wxRect
&) result
);
6051 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6059 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6060 PyObject
*resultobj
;
6061 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6063 PyObject
* obj0
= 0 ;
6065 (char *) "self", NULL
6068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
6069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 result
= (bool)(arg1
)->HaveRects();
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6087 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6088 PyObject
*resultobj
;
6089 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6090 PyObject
* obj0
= 0 ;
6092 (char *) "self", NULL
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
6096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 wxPyEndAllowThreads(__tstate
);
6103 if (PyErr_Occurred()) SWIG_fail
;
6105 Py_INCREF(Py_None
); resultobj
= Py_None
;
6112 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
*resultobj
;
6114 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6115 PyObject
* obj0
= 0 ;
6117 (char *) "self", NULL
6120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
6121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6125 wxRegionIterator_Next(arg1
);
6127 wxPyEndAllowThreads(__tstate
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6130 Py_INCREF(Py_None
); resultobj
= Py_None
;
6137 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6138 PyObject
*resultobj
;
6139 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6141 PyObject
* obj0
= 0 ;
6143 (char *) "self", NULL
6146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
6147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6151 result
= (bool)wxRegionIterator___nonzero__(arg1
);
6153 wxPyEndAllowThreads(__tstate
);
6154 if (PyErr_Occurred()) SWIG_fail
;
6157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6165 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
6167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6168 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6170 return Py_BuildValue((char *)"");
6172 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
*resultobj
;
6174 wxNativeFontInfo
*result
;
6179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6194 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
*resultobj
;
6196 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6197 PyObject
* obj0
= 0 ;
6199 (char *) "self", NULL
6202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 Py_INCREF(Py_None
); resultobj
= Py_None
;
6219 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
*resultobj
;
6221 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6222 PyObject
* obj0
= 0 ;
6224 (char *) "self", NULL
6227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6234 wxPyEndAllowThreads(__tstate
);
6235 if (PyErr_Occurred()) SWIG_fail
;
6237 Py_INCREF(Py_None
); resultobj
= Py_None
;
6244 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
*resultobj
;
6246 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6248 PyObject
* obj0
= 0 ;
6249 PyObject
* obj1
= 0 ;
6251 (char *) "self",(char *) "font", NULL
6254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6258 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6261 PyErr_SetString(PyExc_TypeError
,"null reference");
6265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6266 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6268 wxPyEndAllowThreads(__tstate
);
6269 if (PyErr_Occurred()) SWIG_fail
;
6271 Py_INCREF(Py_None
); resultobj
= Py_None
;
6278 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6279 PyObject
*resultobj
;
6280 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6282 PyObject
* obj0
= 0 ;
6284 (char *) "self", NULL
6287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6294 wxPyEndAllowThreads(__tstate
);
6295 if (PyErr_Occurred()) SWIG_fail
;
6297 resultobj
= SWIG_From_int((int)result
);
6304 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
*resultobj
;
6306 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6308 PyObject
* obj0
= 0 ;
6310 (char *) "self", NULL
6313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6318 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6320 wxPyEndAllowThreads(__tstate
);
6321 if (PyErr_Occurred()) SWIG_fail
;
6323 resultobj
= SWIG_From_int((int)result
);
6330 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6331 PyObject
*resultobj
;
6332 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6334 PyObject
* obj0
= 0 ;
6336 (char *) "self", NULL
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6344 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6346 wxPyEndAllowThreads(__tstate
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6349 resultobj
= SWIG_From_int((int)result
);
6356 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6357 PyObject
*resultobj
;
6358 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6360 PyObject
* obj0
= 0 ;
6362 (char *) "self", NULL
6365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6370 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6384 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6385 PyObject
*resultobj
;
6386 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6388 PyObject
* obj0
= 0 ;
6390 (char *) "self", NULL
6393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6398 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6400 wxPyEndAllowThreads(__tstate
);
6401 if (PyErr_Occurred()) SWIG_fail
;
6405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6416 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6417 PyObject
*resultobj
;
6418 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6420 PyObject
* obj0
= 0 ;
6422 (char *) "self", NULL
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6430 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) SWIG_fail
;
6435 resultobj
= SWIG_From_int((int)result
);
6442 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6443 PyObject
*resultobj
;
6444 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6446 PyObject
* obj0
= 0 ;
6448 (char *) "self", NULL
6451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6456 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6458 wxPyEndAllowThreads(__tstate
);
6459 if (PyErr_Occurred()) SWIG_fail
;
6461 resultobj
= SWIG_From_int((int)result
);
6468 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6469 PyObject
*resultobj
;
6470 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6472 PyObject
* obj0
= 0 ;
6473 PyObject
* obj1
= 0 ;
6475 (char *) "self",(char *) "pointsize", NULL
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6481 arg2
= (int)SWIG_As_int(obj1
);
6482 if (PyErr_Occurred()) SWIG_fail
;
6484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6485 (arg1
)->SetPointSize(arg2
);
6487 wxPyEndAllowThreads(__tstate
);
6488 if (PyErr_Occurred()) SWIG_fail
;
6490 Py_INCREF(Py_None
); resultobj
= Py_None
;
6497 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
*resultobj
;
6499 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6501 PyObject
* obj0
= 0 ;
6502 PyObject
* obj1
= 0 ;
6504 (char *) "self",(char *) "style", NULL
6507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6510 arg2
= (int)SWIG_As_int(obj1
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6514 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6516 wxPyEndAllowThreads(__tstate
);
6517 if (PyErr_Occurred()) SWIG_fail
;
6519 Py_INCREF(Py_None
); resultobj
= Py_None
;
6526 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6527 PyObject
*resultobj
;
6528 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6530 PyObject
* obj0
= 0 ;
6531 PyObject
* obj1
= 0 ;
6533 (char *) "self",(char *) "weight", NULL
6536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6539 arg2
= (int)SWIG_As_int(obj1
);
6540 if (PyErr_Occurred()) SWIG_fail
;
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6543 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6545 wxPyEndAllowThreads(__tstate
);
6546 if (PyErr_Occurred()) SWIG_fail
;
6548 Py_INCREF(Py_None
); resultobj
= Py_None
;
6555 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
*resultobj
;
6557 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6559 PyObject
* obj0
= 0 ;
6560 PyObject
* obj1
= 0 ;
6562 (char *) "self",(char *) "underlined", NULL
6565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6568 arg2
= (bool)SWIG_As_bool(obj1
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6572 (arg1
)->SetUnderlined(arg2
);
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6577 Py_INCREF(Py_None
); resultobj
= Py_None
;
6584 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6585 PyObject
*resultobj
;
6586 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6588 PyObject
* obj0
= 0 ;
6589 PyObject
* obj1
= 0 ;
6591 (char *) "self",(char *) "facename", NULL
6594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6598 wxString
* sptr
= wxString_in_helper(obj1
);
6599 if (sptr
== NULL
) SWIG_fail
;
6604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6605 (arg1
)->SetFaceName(arg2
);
6607 wxPyEndAllowThreads(__tstate
);
6608 if (PyErr_Occurred()) SWIG_fail
;
6610 Py_INCREF(Py_None
); resultobj
= Py_None
;
6617 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6618 PyObject
*resultobj
;
6619 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6621 PyObject
* obj0
= 0 ;
6622 PyObject
* obj1
= 0 ;
6624 (char *) "self",(char *) "family", NULL
6627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6630 arg2
= (int)SWIG_As_int(obj1
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6634 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6636 wxPyEndAllowThreads(__tstate
);
6637 if (PyErr_Occurred()) SWIG_fail
;
6639 Py_INCREF(Py_None
); resultobj
= Py_None
;
6646 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6647 PyObject
*resultobj
;
6648 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6650 PyObject
* obj0
= 0 ;
6651 PyObject
* obj1
= 0 ;
6653 (char *) "self",(char *) "encoding", NULL
6656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6659 arg2
= (int)SWIG_As_int(obj1
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6663 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6665 wxPyEndAllowThreads(__tstate
);
6666 if (PyErr_Occurred()) SWIG_fail
;
6668 Py_INCREF(Py_None
); resultobj
= Py_None
;
6675 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
*resultobj
;
6677 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6678 wxString
*arg2
= 0 ;
6680 bool temp2
= false ;
6681 PyObject
* obj0
= 0 ;
6682 PyObject
* obj1
= 0 ;
6684 (char *) "self",(char *) "s", NULL
6687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6691 arg2
= wxString_in_helper(obj1
);
6692 if (arg2
== NULL
) SWIG_fail
;
6696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6697 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6699 wxPyEndAllowThreads(__tstate
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6719 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6720 PyObject
*resultobj
;
6721 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6723 PyObject
* obj0
= 0 ;
6725 (char *) "self", NULL
6728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6733 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6735 wxPyEndAllowThreads(__tstate
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6740 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6742 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6751 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
*resultobj
;
6753 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6755 PyObject
* obj0
= 0 ;
6757 (char *) "self", NULL
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 result
= wxNativeFontInfo___str__(arg1
);
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6772 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6774 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6783 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6784 PyObject
*resultobj
;
6785 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6786 wxString
*arg2
= 0 ;
6788 bool temp2
= false ;
6789 PyObject
* obj0
= 0 ;
6790 PyObject
* obj1
= 0 ;
6792 (char *) "self",(char *) "s", NULL
6795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6799 arg2
= wxString_in_helper(obj1
);
6800 if (arg2
== NULL
) SWIG_fail
;
6804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6805 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6807 wxPyEndAllowThreads(__tstate
);
6808 if (PyErr_Occurred()) SWIG_fail
;
6811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6827 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
*resultobj
;
6829 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6831 PyObject
* obj0
= 0 ;
6833 (char *) "self", NULL
6836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6841 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6843 wxPyEndAllowThreads(__tstate
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6848 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6850 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6859 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
6861 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6862 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6864 return Py_BuildValue((char *)"");
6866 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6867 PyObject
*resultobj
;
6868 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6869 wxString
*arg2
= (wxString
*) 0 ;
6870 bool temp2
= false ;
6871 PyObject
* obj0
= 0 ;
6872 PyObject
* obj1
= 0 ;
6874 (char *) "self",(char *) "facename", NULL
6877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6881 arg2
= wxString_in_helper(obj1
);
6882 if (arg2
== NULL
) SWIG_fail
;
6885 if (arg1
) (arg1
)->facename
= *arg2
;
6887 Py_INCREF(Py_None
); resultobj
= Py_None
;
6902 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
*resultobj
;
6904 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6906 PyObject
* obj0
= 0 ;
6908 (char *) "self", NULL
6911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6914 result
= (wxString
*)& ((arg1
)->facename
);
6918 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6920 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6929 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6930 PyObject
*resultobj
;
6931 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6933 PyObject
* obj0
= 0 ;
6934 PyObject
* obj1
= 0 ;
6936 (char *) "self",(char *) "encoding", NULL
6939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6942 arg2
= (int)SWIG_As_int(obj1
);
6943 if (PyErr_Occurred()) SWIG_fail
;
6944 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6946 Py_INCREF(Py_None
); resultobj
= Py_None
;
6953 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6954 PyObject
*resultobj
;
6955 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6957 PyObject
* obj0
= 0 ;
6959 (char *) "self", NULL
6962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6965 result
= (int) ((arg1
)->encoding
);
6967 resultobj
= SWIG_From_int((int)result
);
6974 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
*resultobj
;
6976 wxNativeEncodingInfo
*result
;
6981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6984 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6986 wxPyEndAllowThreads(__tstate
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6996 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
*resultobj
;
6998 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6999 PyObject
* obj0
= 0 ;
7001 (char *) "self", NULL
7004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
7005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7011 wxPyEndAllowThreads(__tstate
);
7012 if (PyErr_Occurred()) SWIG_fail
;
7014 Py_INCREF(Py_None
); resultobj
= Py_None
;
7021 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
*resultobj
;
7023 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7024 wxString
*arg2
= 0 ;
7026 bool temp2
= false ;
7027 PyObject
* obj0
= 0 ;
7028 PyObject
* obj1
= 0 ;
7030 (char *) "self",(char *) "s", NULL
7033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7037 arg2
= wxString_in_helper(obj1
);
7038 if (arg2
== NULL
) SWIG_fail
;
7042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7043 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7045 wxPyEndAllowThreads(__tstate
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7065 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7066 PyObject
*resultobj
;
7067 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7069 PyObject
* obj0
= 0 ;
7071 (char *) "self", NULL
7074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
7075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7079 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
7081 wxPyEndAllowThreads(__tstate
);
7082 if (PyErr_Occurred()) SWIG_fail
;
7086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7097 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
7099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7100 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
7102 return Py_BuildValue((char *)"");
7104 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
;
7107 wxNativeEncodingInfo
*result
;
7108 PyObject
* obj0
= 0 ;
7110 (char *) "encoding", NULL
7113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
7114 arg1
= (int)SWIG_As_int(obj0
);
7115 if (PyErr_Occurred()) SWIG_fail
;
7117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7118 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
7120 wxPyEndAllowThreads(__tstate
);
7121 if (PyErr_Occurred()) SWIG_fail
;
7123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
7130 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
*resultobj
;
7132 wxNativeEncodingInfo
*arg1
= 0 ;
7134 PyObject
* obj0
= 0 ;
7136 (char *) "info", NULL
7139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
7140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7141 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7144 PyErr_SetString(PyExc_TypeError
,"null reference");
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7149 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
7151 wxPyEndAllowThreads(__tstate
);
7152 if (PyErr_Occurred()) SWIG_fail
;
7155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7163 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7164 PyObject
*resultobj
;
7165 wxFontMapper
*result
;
7170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7173 result
= (wxFontMapper
*)new wxFontMapper();
7175 wxPyEndAllowThreads(__tstate
);
7176 if (PyErr_Occurred()) SWIG_fail
;
7178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7185 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7186 PyObject
*resultobj
;
7187 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7188 PyObject
* obj0
= 0 ;
7190 (char *) "self", NULL
7193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7203 Py_INCREF(Py_None
); resultobj
= Py_None
;
7210 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
*resultobj
;
7212 wxFontMapper
*result
;
7217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7220 result
= (wxFontMapper
*)wxFontMapper::Get();
7222 wxPyEndAllowThreads(__tstate
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7232 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
*resultobj
;
7234 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7235 wxFontMapper
*result
;
7236 PyObject
* obj0
= 0 ;
7238 (char *) "mapper", NULL
7241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7246 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7248 wxPyEndAllowThreads(__tstate
);
7249 if (PyErr_Occurred()) SWIG_fail
;
7251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7258 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7259 PyObject
*resultobj
;
7260 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7261 wxString
*arg2
= 0 ;
7262 bool arg3
= (bool) true ;
7264 bool temp2
= false ;
7265 PyObject
* obj0
= 0 ;
7266 PyObject
* obj1
= 0 ;
7267 PyObject
* obj2
= 0 ;
7269 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7276 arg2
= wxString_in_helper(obj1
);
7277 if (arg2
== NULL
) SWIG_fail
;
7281 arg3
= (bool)SWIG_As_bool(obj2
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7286 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7288 wxPyEndAllowThreads(__tstate
);
7289 if (PyErr_Occurred()) SWIG_fail
;
7291 resultobj
= SWIG_From_int((int)result
);
7306 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7307 PyObject
*resultobj
;
7313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7316 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7318 wxPyEndAllowThreads(__tstate
);
7319 if (PyErr_Occurred()) SWIG_fail
;
7321 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7328 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
*resultobj
;
7332 PyObject
* obj0
= 0 ;
7337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7338 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
7339 if (PyErr_Occurred()) SWIG_fail
;
7341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7342 result
= (int)wxFontMapper::GetEncoding(arg1
);
7344 wxPyEndAllowThreads(__tstate
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7347 resultobj
= SWIG_From_int((int)result
);
7354 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
*resultobj
;
7358 PyObject
* obj0
= 0 ;
7360 (char *) "encoding", NULL
7363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7364 arg1
= (int)SWIG_As_int(obj0
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7370 wxPyEndAllowThreads(__tstate
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7386 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7387 PyObject
*resultobj
;
7390 PyObject
* obj0
= 0 ;
7392 (char *) "encoding", NULL
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7396 arg1
= (int)SWIG_As_int(obj0
);
7397 if (PyErr_Occurred()) SWIG_fail
;
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7400 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) SWIG_fail
;
7407 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7409 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7418 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7419 PyObject
*resultobj
;
7420 wxString
*arg1
= 0 ;
7422 bool temp1
= false ;
7423 PyObject
* obj0
= 0 ;
7425 (char *) "name", NULL
7428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7430 arg1
= wxString_in_helper(obj0
);
7431 if (arg1
== NULL
) SWIG_fail
;
7435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7436 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7438 wxPyEndAllowThreads(__tstate
);
7439 if (PyErr_Occurred()) SWIG_fail
;
7441 resultobj
= SWIG_From_int((int)result
);
7456 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7457 PyObject
*resultobj
;
7458 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7459 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7460 PyObject
* obj0
= 0 ;
7461 PyObject
* obj1
= 0 ;
7463 (char *) "self",(char *) "config", NULL
7466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 (arg1
)->SetConfig(arg2
);
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7478 Py_INCREF(Py_None
); resultobj
= Py_None
;
7485 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
*resultobj
;
7487 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7488 wxString
*arg2
= 0 ;
7489 bool temp2
= false ;
7490 PyObject
* obj0
= 0 ;
7491 PyObject
* obj1
= 0 ;
7493 (char *) "self",(char *) "prefix", NULL
7496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7500 arg2
= wxString_in_helper(obj1
);
7501 if (arg2
== NULL
) SWIG_fail
;
7505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7506 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7508 wxPyEndAllowThreads(__tstate
);
7509 if (PyErr_Occurred()) SWIG_fail
;
7511 Py_INCREF(Py_None
); resultobj
= Py_None
;
7526 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
*resultobj
;
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 result
= wxFontMapper::GetDefaultConfigPath();
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7543 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7545 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7554 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7555 PyObject
*resultobj
;
7556 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7558 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7559 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7560 bool arg4
= (bool) true ;
7562 bool temp3
= false ;
7563 PyObject
* obj0
= 0 ;
7564 PyObject
* obj1
= 0 ;
7565 PyObject
* obj2
= 0 ;
7566 PyObject
* obj3
= 0 ;
7568 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7574 arg2
= (int)SWIG_As_int(obj1
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7578 arg3
= wxString_in_helper(obj2
);
7579 if (arg3
== NULL
) SWIG_fail
;
7584 arg4
= (bool)SWIG_As_bool(obj3
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7589 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7591 wxPyEndAllowThreads(__tstate
);
7592 if (PyErr_Occurred()) SWIG_fail
;
7609 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7610 PyObject
*resultobj
;
7611 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7613 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7614 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7616 bool temp3
= false ;
7617 PyObject
* obj0
= 0 ;
7618 PyObject
* obj1
= 0 ;
7619 PyObject
* obj2
= 0 ;
7621 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7627 arg2
= (int)SWIG_As_int(obj1
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7631 arg3
= wxString_in_helper(obj2
);
7632 if (arg3
== NULL
) SWIG_fail
;
7637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7660 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7661 PyObject
*resultobj
;
7662 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7663 wxWindow
*arg2
= (wxWindow
*) 0 ;
7664 PyObject
* obj0
= 0 ;
7665 PyObject
* obj1
= 0 ;
7667 (char *) "self",(char *) "parent", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7677 (arg1
)->SetDialogParent(arg2
);
7679 wxPyEndAllowThreads(__tstate
);
7680 if (PyErr_Occurred()) SWIG_fail
;
7682 Py_INCREF(Py_None
); resultobj
= Py_None
;
7689 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
*resultobj
;
7691 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7692 wxString
*arg2
= 0 ;
7693 bool temp2
= false ;
7694 PyObject
* obj0
= 0 ;
7695 PyObject
* obj1
= 0 ;
7697 (char *) "self",(char *) "title", NULL
7700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7704 arg2
= wxString_in_helper(obj1
);
7705 if (arg2
== NULL
) SWIG_fail
;
7709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7710 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7712 wxPyEndAllowThreads(__tstate
);
7713 if (PyErr_Occurred()) SWIG_fail
;
7715 Py_INCREF(Py_None
); resultobj
= Py_None
;
7730 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
7732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7733 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7735 return Py_BuildValue((char *)"");
7737 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
*resultobj
;
7743 bool arg5
= (bool) false ;
7744 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7745 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7746 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7748 bool temp6
= false ;
7749 PyObject
* obj0
= 0 ;
7750 PyObject
* obj1
= 0 ;
7751 PyObject
* obj2
= 0 ;
7752 PyObject
* obj3
= 0 ;
7753 PyObject
* obj4
= 0 ;
7754 PyObject
* obj5
= 0 ;
7755 PyObject
* obj6
= 0 ;
7757 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7761 arg1
= (int)SWIG_As_int(obj0
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7763 arg2
= (int)SWIG_As_int(obj1
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7765 arg3
= (int)SWIG_As_int(obj2
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7767 arg4
= (int)SWIG_As_int(obj3
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7770 arg5
= (bool)SWIG_As_bool(obj4
);
7771 if (PyErr_Occurred()) SWIG_fail
;
7775 arg6
= wxString_in_helper(obj5
);
7776 if (arg6
== NULL
) SWIG_fail
;
7781 arg7
= (int)SWIG_As_int(obj6
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7785 if (!wxPyCheckForApp()) SWIG_fail
;
7786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7787 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7789 wxPyEndAllowThreads(__tstate
);
7790 if (PyErr_Occurred()) SWIG_fail
;
7792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7807 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
*resultobj
;
7809 wxFont
*arg1
= (wxFont
*) 0 ;
7810 PyObject
* obj0
= 0 ;
7812 (char *) "self", NULL
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7825 Py_INCREF(Py_None
); resultobj
= Py_None
;
7832 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7833 PyObject
*resultobj
;
7834 wxNativeFontInfo
*arg1
= 0 ;
7836 PyObject
* obj0
= 0 ;
7838 (char *) "info", NULL
7841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7843 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7846 PyErr_SetString(PyExc_TypeError
,"null reference");
7850 if (!wxPyCheckForApp()) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7864 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
*resultobj
;
7866 wxString
*arg1
= 0 ;
7868 bool temp1
= false ;
7869 PyObject
* obj0
= 0 ;
7871 (char *) "info", NULL
7874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7876 arg1
= wxString_in_helper(obj0
);
7877 if (arg1
== NULL
) SWIG_fail
;
7881 if (!wxPyCheckForApp()) SWIG_fail
;
7882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7903 static PyObject
*_wrap_new_Font2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
*resultobj
;
7907 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7908 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7909 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7910 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7912 bool temp4
= false ;
7913 PyObject
* obj0
= 0 ;
7914 PyObject
* obj1
= 0 ;
7915 PyObject
* obj2
= 0 ;
7916 PyObject
* obj3
= 0 ;
7917 PyObject
* obj4
= 0 ;
7919 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7923 arg1
= (int)SWIG_As_int(obj0
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7925 arg2
= (int)SWIG_As_int(obj1
);
7926 if (PyErr_Occurred()) SWIG_fail
;
7928 arg3
= (int)SWIG_As_int(obj2
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7933 arg4
= wxString_in_helper(obj3
);
7934 if (arg4
== NULL
) SWIG_fail
;
7939 arg5
= (int)SWIG_As_int(obj4
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7943 if (!wxPyCheckForApp()) SWIG_fail
;
7944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7945 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7947 wxPyEndAllowThreads(__tstate
);
7948 if (PyErr_Occurred()) SWIG_fail
;
7950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7965 static PyObject
*_wrap_new_FontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
*resultobj
;
7971 bool arg5
= (bool) false ;
7972 wxString
const &arg6_defvalue
= wxEmptyString
;
7973 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7974 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7977 bool temp6
= false ;
7978 PyObject
* obj0
= 0 ;
7979 PyObject
* obj1
= 0 ;
7980 PyObject
* obj2
= 0 ;
7981 PyObject
* obj3
= 0 ;
7982 PyObject
* obj4
= 0 ;
7983 PyObject
* obj5
= 0 ;
7984 PyObject
* obj6
= 0 ;
7986 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
7989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7992 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
7994 arg2
= (int)SWIG_As_int(obj1
);
7995 if (PyErr_Occurred()) SWIG_fail
;
7996 arg3
= (int)SWIG_As_int(obj2
);
7997 if (PyErr_Occurred()) SWIG_fail
;
7998 arg4
= (int)SWIG_As_int(obj3
);
7999 if (PyErr_Occurred()) SWIG_fail
;
8001 arg5
= (bool)SWIG_As_bool(obj4
);
8002 if (PyErr_Occurred()) SWIG_fail
;
8006 arg6
= wxString_in_helper(obj5
);
8007 if (arg6
== NULL
) SWIG_fail
;
8012 arg7
= (int)SWIG_As_int(obj6
);
8013 if (PyErr_Occurred()) SWIG_fail
;
8016 if (!wxPyCheckForApp()) SWIG_fail
;
8017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8018 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8038 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8039 PyObject
*resultobj
;
8040 wxFont
*arg1
= (wxFont
*) 0 ;
8042 PyObject
* obj0
= 0 ;
8044 (char *) "self", NULL
8047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
8048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8052 result
= (bool)((wxFont
const *)arg1
)->Ok();
8054 wxPyEndAllowThreads(__tstate
);
8055 if (PyErr_Occurred()) SWIG_fail
;
8058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8066 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8067 PyObject
*resultobj
;
8068 wxFont
*arg1
= (wxFont
*) 0 ;
8069 wxFont
*arg2
= (wxFont
*) 0 ;
8071 PyObject
* obj0
= 0 ;
8072 PyObject
* obj1
= 0 ;
8074 (char *) "self",(char *) "other", NULL
8077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
8078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8084 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
8086 wxPyEndAllowThreads(__tstate
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8098 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8099 PyObject
*resultobj
;
8100 wxFont
*arg1
= (wxFont
*) 0 ;
8101 wxFont
*arg2
= (wxFont
*) 0 ;
8103 PyObject
* obj0
= 0 ;
8104 PyObject
* obj1
= 0 ;
8106 (char *) "self",(char *) "other", NULL
8109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
8110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8112 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8116 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
8118 wxPyEndAllowThreads(__tstate
);
8119 if (PyErr_Occurred()) SWIG_fail
;
8122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8130 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8131 PyObject
*resultobj
;
8132 wxFont
*arg1
= (wxFont
*) 0 ;
8134 PyObject
* obj0
= 0 ;
8136 (char *) "self", NULL
8139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
8140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8144 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
8146 wxPyEndAllowThreads(__tstate
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8149 resultobj
= SWIG_From_int((int)result
);
8156 static PyObject
*_wrap_Font_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8157 PyObject
*resultobj
;
8158 wxFont
*arg1
= (wxFont
*) 0 ;
8160 PyObject
* obj0
= 0 ;
8162 (char *) "self", NULL
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPixelSize",kwnames
,&obj0
)) goto fail
;
8166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8170 result
= ((wxFont
const *)arg1
)->GetPixelSize();
8172 wxPyEndAllowThreads(__tstate
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8177 resultptr
= new wxSize((wxSize
&) result
);
8178 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8186 static PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8187 PyObject
*resultobj
;
8188 wxFont
*arg1
= (wxFont
*) 0 ;
8190 PyObject
* obj0
= 0 ;
8192 (char *) "self", NULL
8195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsUsingSizeInPixels",kwnames
,&obj0
)) goto fail
;
8196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8200 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
8202 wxPyEndAllowThreads(__tstate
);
8203 if (PyErr_Occurred()) SWIG_fail
;
8206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8214 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8215 PyObject
*resultobj
;
8216 wxFont
*arg1
= (wxFont
*) 0 ;
8218 PyObject
* obj0
= 0 ;
8220 (char *) "self", NULL
8223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
8224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 result
= (int)((wxFont
const *)arg1
)->GetFamily();
8230 wxPyEndAllowThreads(__tstate
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8233 resultobj
= SWIG_From_int((int)result
);
8240 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
*resultobj
;
8242 wxFont
*arg1
= (wxFont
*) 0 ;
8244 PyObject
* obj0
= 0 ;
8246 (char *) "self", NULL
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
8250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8254 result
= (int)((wxFont
const *)arg1
)->GetStyle();
8256 wxPyEndAllowThreads(__tstate
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8259 resultobj
= SWIG_From_int((int)result
);
8266 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
*resultobj
;
8268 wxFont
*arg1
= (wxFont
*) 0 ;
8270 PyObject
* obj0
= 0 ;
8272 (char *) "self", NULL
8275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
8276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 result
= (int)((wxFont
const *)arg1
)->GetWeight();
8282 wxPyEndAllowThreads(__tstate
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8285 resultobj
= SWIG_From_int((int)result
);
8292 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
*resultobj
;
8294 wxFont
*arg1
= (wxFont
*) 0 ;
8296 PyObject
* obj0
= 0 ;
8298 (char *) "self", NULL
8301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8306 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8308 wxPyEndAllowThreads(__tstate
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8320 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8321 PyObject
*resultobj
;
8322 wxFont
*arg1
= (wxFont
*) 0 ;
8324 PyObject
* obj0
= 0 ;
8326 (char *) "self", NULL
8329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8334 result
= ((wxFont
const *)arg1
)->GetFaceName();
8336 wxPyEndAllowThreads(__tstate
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8341 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8343 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8352 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8353 PyObject
*resultobj
;
8354 wxFont
*arg1
= (wxFont
*) 0 ;
8356 PyObject
* obj0
= 0 ;
8358 (char *) "self", NULL
8361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8366 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8368 wxPyEndAllowThreads(__tstate
);
8369 if (PyErr_Occurred()) SWIG_fail
;
8371 resultobj
= SWIG_From_int((int)result
);
8378 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8379 PyObject
*resultobj
;
8380 wxFont
*arg1
= (wxFont
*) 0 ;
8381 wxNativeFontInfo
*result
;
8382 PyObject
* obj0
= 0 ;
8384 (char *) "self", NULL
8387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8404 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8405 PyObject
*resultobj
;
8406 wxFont
*arg1
= (wxFont
*) 0 ;
8408 PyObject
* obj0
= 0 ;
8410 (char *) "self", NULL
8413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8432 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8433 PyObject
*resultobj
;
8434 wxFont
*arg1
= (wxFont
*) 0 ;
8436 PyObject
* obj0
= 0 ;
8438 (char *) "self", NULL
8441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8446 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8448 wxPyEndAllowThreads(__tstate
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8464 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8465 PyObject
*resultobj
;
8466 wxFont
*arg1
= (wxFont
*) 0 ;
8468 PyObject
* obj0
= 0 ;
8470 (char *) "self", NULL
8473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8478 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8480 wxPyEndAllowThreads(__tstate
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8485 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8487 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8496 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8497 PyObject
*resultobj
;
8498 wxFont
*arg1
= (wxFont
*) 0 ;
8500 PyObject
* obj0
= 0 ;
8501 PyObject
* obj1
= 0 ;
8503 (char *) "self",(char *) "pointSize", NULL
8506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8509 arg2
= (int)SWIG_As_int(obj1
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 (arg1
)->SetPointSize(arg2
);
8515 wxPyEndAllowThreads(__tstate
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8518 Py_INCREF(Py_None
); resultobj
= Py_None
;
8525 static PyObject
*_wrap_Font_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
*resultobj
;
8527 wxFont
*arg1
= (wxFont
*) 0 ;
8530 PyObject
* obj0
= 0 ;
8531 PyObject
* obj1
= 0 ;
8533 (char *) "self",(char *) "pixelSize", NULL
8536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8541 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8545 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
8547 wxPyEndAllowThreads(__tstate
);
8548 if (PyErr_Occurred()) SWIG_fail
;
8550 Py_INCREF(Py_None
); resultobj
= Py_None
;
8557 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8558 PyObject
*resultobj
;
8559 wxFont
*arg1
= (wxFont
*) 0 ;
8561 PyObject
* obj0
= 0 ;
8562 PyObject
* obj1
= 0 ;
8564 (char *) "self",(char *) "family", NULL
8567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8570 arg2
= (int)SWIG_As_int(obj1
);
8571 if (PyErr_Occurred()) SWIG_fail
;
8573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8574 (arg1
)->SetFamily(arg2
);
8576 wxPyEndAllowThreads(__tstate
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8579 Py_INCREF(Py_None
); resultobj
= Py_None
;
8586 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8587 PyObject
*resultobj
;
8588 wxFont
*arg1
= (wxFont
*) 0 ;
8590 PyObject
* obj0
= 0 ;
8591 PyObject
* obj1
= 0 ;
8593 (char *) "self",(char *) "style", NULL
8596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8599 arg2
= (int)SWIG_As_int(obj1
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8603 (arg1
)->SetStyle(arg2
);
8605 wxPyEndAllowThreads(__tstate
);
8606 if (PyErr_Occurred()) SWIG_fail
;
8608 Py_INCREF(Py_None
); resultobj
= Py_None
;
8615 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8616 PyObject
*resultobj
;
8617 wxFont
*arg1
= (wxFont
*) 0 ;
8619 PyObject
* obj0
= 0 ;
8620 PyObject
* obj1
= 0 ;
8622 (char *) "self",(char *) "weight", NULL
8625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8628 arg2
= (int)SWIG_As_int(obj1
);
8629 if (PyErr_Occurred()) SWIG_fail
;
8631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8632 (arg1
)->SetWeight(arg2
);
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8637 Py_INCREF(Py_None
); resultobj
= Py_None
;
8644 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8645 PyObject
*resultobj
;
8646 wxFont
*arg1
= (wxFont
*) 0 ;
8647 wxString
*arg2
= 0 ;
8648 bool temp2
= false ;
8649 PyObject
* obj0
= 0 ;
8650 PyObject
* obj1
= 0 ;
8652 (char *) "self",(char *) "faceName", NULL
8655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8659 arg2
= wxString_in_helper(obj1
);
8660 if (arg2
== NULL
) SWIG_fail
;
8664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8665 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8667 wxPyEndAllowThreads(__tstate
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8670 Py_INCREF(Py_None
); resultobj
= Py_None
;
8685 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8686 PyObject
*resultobj
;
8687 wxFont
*arg1
= (wxFont
*) 0 ;
8689 PyObject
* obj0
= 0 ;
8690 PyObject
* obj1
= 0 ;
8692 (char *) "self",(char *) "underlined", NULL
8695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8698 arg2
= (bool)SWIG_As_bool(obj1
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8702 (arg1
)->SetUnderlined(arg2
);
8704 wxPyEndAllowThreads(__tstate
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8707 Py_INCREF(Py_None
); resultobj
= Py_None
;
8714 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8715 PyObject
*resultobj
;
8716 wxFont
*arg1
= (wxFont
*) 0 ;
8718 PyObject
* obj0
= 0 ;
8719 PyObject
* obj1
= 0 ;
8721 (char *) "self",(char *) "encoding", NULL
8724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8727 arg2
= (int)SWIG_As_int(obj1
);
8728 if (PyErr_Occurred()) SWIG_fail
;
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8731 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8736 Py_INCREF(Py_None
); resultobj
= Py_None
;
8743 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8744 PyObject
*resultobj
;
8745 wxFont
*arg1
= (wxFont
*) 0 ;
8746 wxNativeFontInfo
*arg2
= 0 ;
8747 PyObject
* obj0
= 0 ;
8748 PyObject
* obj1
= 0 ;
8750 (char *) "self",(char *) "info", NULL
8753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8757 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8760 PyErr_SetString(PyExc_TypeError
,"null reference");
8764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8765 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8767 wxPyEndAllowThreads(__tstate
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8770 Py_INCREF(Py_None
); resultobj
= Py_None
;
8777 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8778 PyObject
*resultobj
;
8779 wxFont
*arg1
= (wxFont
*) 0 ;
8780 wxString
*arg2
= 0 ;
8781 bool temp2
= false ;
8782 PyObject
* obj0
= 0 ;
8783 PyObject
* obj1
= 0 ;
8785 (char *) "self",(char *) "info", NULL
8788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8792 arg2
= wxString_in_helper(obj1
);
8793 if (arg2
== NULL
) SWIG_fail
;
8797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8798 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8800 wxPyEndAllowThreads(__tstate
);
8801 if (PyErr_Occurred()) SWIG_fail
;
8803 Py_INCREF(Py_None
); resultobj
= Py_None
;
8818 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8819 PyObject
*resultobj
;
8820 wxFont
*arg1
= (wxFont
*) 0 ;
8821 wxString
*arg2
= 0 ;
8822 bool temp2
= false ;
8823 PyObject
* obj0
= 0 ;
8824 PyObject
* obj1
= 0 ;
8826 (char *) "self",(char *) "info", NULL
8829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8833 arg2
= wxString_in_helper(obj1
);
8834 if (arg2
== NULL
) SWIG_fail
;
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8844 Py_INCREF(Py_None
); resultobj
= Py_None
;
8859 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8860 PyObject
*resultobj
;
8861 wxFont
*arg1
= (wxFont
*) 0 ;
8863 PyObject
* obj0
= 0 ;
8865 (char *) "self", NULL
8868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8873 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8875 wxPyEndAllowThreads(__tstate
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8891 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
*resultobj
;
8893 wxFont
*arg1
= (wxFont
*) 0 ;
8895 PyObject
* obj0
= 0 ;
8897 (char *) "self", NULL
8900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 result
= ((wxFont
const *)arg1
)->GetStyleString();
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8912 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8914 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8923 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
;
8925 wxFont
*arg1
= (wxFont
*) 0 ;
8927 PyObject
* obj0
= 0 ;
8929 (char *) "self", NULL
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8937 result
= ((wxFont
const *)arg1
)->GetWeightString();
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8944 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8946 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8955 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
*resultobj
;
8957 wxFont
*arg1
= (wxFont
*) 0 ;
8958 bool arg2
= (bool) true ;
8959 PyObject
* obj0
= 0 ;
8960 PyObject
* obj1
= 0 ;
8962 (char *) "self",(char *) "no", NULL
8965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8969 arg2
= (bool)SWIG_As_bool(obj1
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8974 (arg1
)->SetNoAntiAliasing(arg2
);
8976 wxPyEndAllowThreads(__tstate
);
8977 if (PyErr_Occurred()) SWIG_fail
;
8979 Py_INCREF(Py_None
); resultobj
= Py_None
;
8986 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8987 PyObject
*resultobj
;
8988 wxFont
*arg1
= (wxFont
*) 0 ;
8990 PyObject
* obj0
= 0 ;
8992 (char *) "self", NULL
8995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
9002 wxPyEndAllowThreads(__tstate
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9014 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9015 PyObject
*resultobj
;
9021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
9023 if (!wxPyCheckForApp()) SWIG_fail
;
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9025 result
= (int)wxFont::GetDefaultEncoding();
9027 wxPyEndAllowThreads(__tstate
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9030 resultobj
= SWIG_From_int((int)result
);
9037 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9038 PyObject
*resultobj
;
9040 PyObject
* obj0
= 0 ;
9042 (char *) "encoding", NULL
9045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
9046 arg1
= (int)SWIG_As_int(obj0
);
9047 if (PyErr_Occurred()) SWIG_fail
;
9049 if (!wxPyCheckForApp()) SWIG_fail
;
9050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9051 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
9053 wxPyEndAllowThreads(__tstate
);
9054 if (PyErr_Occurred()) SWIG_fail
;
9056 Py_INCREF(Py_None
); resultobj
= Py_None
;
9063 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
9065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9066 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
9068 return Py_BuildValue((char *)"");
9070 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
*resultobj
;
9072 wxPyFontEnumerator
*result
;
9077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
9079 if (!wxPyCheckForApp()) SWIG_fail
;
9080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9081 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
9083 wxPyEndAllowThreads(__tstate
);
9084 if (PyErr_Occurred()) SWIG_fail
;
9086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
9093 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9094 PyObject
*resultobj
;
9095 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9096 PyObject
* obj0
= 0 ;
9098 (char *) "self", NULL
9101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
9102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9108 wxPyEndAllowThreads(__tstate
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9111 Py_INCREF(Py_None
); resultobj
= Py_None
;
9118 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9119 PyObject
*resultobj
;
9120 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9121 PyObject
*arg2
= (PyObject
*) 0 ;
9122 PyObject
*arg3
= (PyObject
*) 0 ;
9124 PyObject
* obj0
= 0 ;
9125 PyObject
* obj1
= 0 ;
9126 PyObject
* obj2
= 0 ;
9127 PyObject
* obj3
= 0 ;
9129 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9137 arg4
= (bool)SWIG_As_bool(obj3
);
9138 if (PyErr_Occurred()) SWIG_fail
;
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9143 wxPyEndAllowThreads(__tstate
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9146 Py_INCREF(Py_None
); resultobj
= Py_None
;
9153 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9154 PyObject
*resultobj
;
9155 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9156 int arg2
= (int) wxFONTENCODING_SYSTEM
;
9157 bool arg3
= (bool) false ;
9159 PyObject
* obj0
= 0 ;
9160 PyObject
* obj1
= 0 ;
9161 PyObject
* obj2
= 0 ;
9163 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
9166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9170 arg2
= (int)SWIG_As_int(obj1
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9174 arg3
= (bool)SWIG_As_bool(obj2
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9179 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
9181 wxPyEndAllowThreads(__tstate
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9193 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9194 PyObject
*resultobj
;
9195 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9196 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9197 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9199 bool temp2
= false ;
9200 PyObject
* obj0
= 0 ;
9201 PyObject
* obj1
= 0 ;
9203 (char *) "self",(char *) "facename", NULL
9206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
9207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9211 arg2
= wxString_in_helper(obj1
);
9212 if (arg2
== NULL
) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9240 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
*resultobj
;
9242 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9244 PyObject
* obj0
= 0 ;
9246 (char *) "self", NULL
9249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
9250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
9256 wxPyEndAllowThreads(__tstate
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9266 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9267 PyObject
*resultobj
;
9268 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9270 PyObject
* obj0
= 0 ;
9272 (char *) "self", NULL
9275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
9276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9280 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9292 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
9294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9295 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
9297 return Py_BuildValue((char *)"");
9299 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9300 PyObject
*resultobj
;
9301 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9303 PyObject
* obj0
= 0 ;
9304 PyObject
* obj1
= 0 ;
9306 (char *) "self",(char *) "Language", NULL
9309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9312 arg2
= (int)SWIG_As_int(obj1
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9314 if (arg1
) (arg1
)->Language
= arg2
;
9316 Py_INCREF(Py_None
); resultobj
= Py_None
;
9323 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9324 PyObject
*resultobj
;
9325 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9327 PyObject
* obj0
= 0 ;
9329 (char *) "self", NULL
9332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9335 result
= (int) ((arg1
)->Language
);
9337 resultobj
= SWIG_From_int((int)result
);
9344 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9345 PyObject
*resultobj
;
9346 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9347 wxString
*arg2
= (wxString
*) 0 ;
9348 bool temp2
= false ;
9349 PyObject
* obj0
= 0 ;
9350 PyObject
* obj1
= 0 ;
9352 (char *) "self",(char *) "CanonicalName", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9359 arg2
= wxString_in_helper(obj1
);
9360 if (arg2
== NULL
) SWIG_fail
;
9363 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9365 Py_INCREF(Py_None
); resultobj
= Py_None
;
9380 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
*resultobj
;
9382 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9384 PyObject
* obj0
= 0 ;
9386 (char *) "self", NULL
9389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9392 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9396 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9398 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9407 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9408 PyObject
*resultobj
;
9409 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9410 wxString
*arg2
= (wxString
*) 0 ;
9411 bool temp2
= false ;
9412 PyObject
* obj0
= 0 ;
9413 PyObject
* obj1
= 0 ;
9415 (char *) "self",(char *) "Description", NULL
9418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9422 arg2
= wxString_in_helper(obj1
);
9423 if (arg2
== NULL
) SWIG_fail
;
9426 if (arg1
) (arg1
)->Description
= *arg2
;
9428 Py_INCREF(Py_None
); resultobj
= Py_None
;
9443 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9444 PyObject
*resultobj
;
9445 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9447 PyObject
* obj0
= 0 ;
9449 (char *) "self", NULL
9452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9455 result
= (wxString
*)& ((arg1
)->Description
);
9459 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9461 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9470 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
9472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9473 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9475 return Py_BuildValue((char *)"");
9477 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9478 PyObject
*resultobj
;
9479 int arg1
= (int) -1 ;
9480 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9482 PyObject
* obj0
= 0 ;
9483 PyObject
* obj1
= 0 ;
9485 (char *) "language",(char *) "flags", NULL
9488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9490 arg1
= (int)SWIG_As_int(obj0
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9494 arg2
= (int)SWIG_As_int(obj1
);
9495 if (PyErr_Occurred()) SWIG_fail
;
9498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9499 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
9501 wxPyEndAllowThreads(__tstate
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9511 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9512 PyObject
*resultobj
;
9513 wxLocale
*arg1
= (wxLocale
*) 0 ;
9514 PyObject
* obj0
= 0 ;
9516 (char *) "self", NULL
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 Py_INCREF(Py_None
); resultobj
= Py_None
;
9536 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
*resultobj
;
9538 wxLocale
*arg1
= (wxLocale
*) 0 ;
9539 wxString
*arg2
= 0 ;
9540 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9541 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9542 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9543 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9544 bool arg5
= (bool) true ;
9545 bool arg6
= (bool) false ;
9547 bool temp2
= false ;
9548 bool temp3
= false ;
9549 bool temp4
= false ;
9550 PyObject
* obj0
= 0 ;
9551 PyObject
* obj1
= 0 ;
9552 PyObject
* obj2
= 0 ;
9553 PyObject
* obj3
= 0 ;
9554 PyObject
* obj4
= 0 ;
9555 PyObject
* obj5
= 0 ;
9557 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9564 arg2
= wxString_in_helper(obj1
);
9565 if (arg2
== NULL
) SWIG_fail
;
9570 arg3
= wxString_in_helper(obj2
);
9571 if (arg3
== NULL
) SWIG_fail
;
9577 arg4
= wxString_in_helper(obj3
);
9578 if (arg4
== NULL
) SWIG_fail
;
9583 arg5
= (bool)SWIG_As_bool(obj4
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9587 arg6
= (bool)SWIG_As_bool(obj5
);
9588 if (PyErr_Occurred()) SWIG_fail
;
9591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9592 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9594 wxPyEndAllowThreads(__tstate
);
9595 if (PyErr_Occurred()) SWIG_fail
;
9598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9630 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
*resultobj
;
9632 wxLocale
*arg1
= (wxLocale
*) 0 ;
9633 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9634 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9636 PyObject
* obj0
= 0 ;
9637 PyObject
* obj1
= 0 ;
9638 PyObject
* obj2
= 0 ;
9640 (char *) "self",(char *) "language",(char *) "flags", NULL
9643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9647 arg2
= (int)SWIG_As_int(obj1
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9651 arg3
= (int)SWIG_As_int(obj2
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9670 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9671 PyObject
*resultobj
;
9677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 result
= (int)wxLocale::GetSystemLanguage();
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9685 resultobj
= SWIG_From_int((int)result
);
9692 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9693 PyObject
*resultobj
;
9699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9702 result
= (int)wxLocale::GetSystemEncoding();
9704 wxPyEndAllowThreads(__tstate
);
9705 if (PyErr_Occurred()) SWIG_fail
;
9707 resultobj
= SWIG_From_int((int)result
);
9714 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9715 PyObject
*resultobj
;
9721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 result
= wxLocale::GetSystemEncodingName();
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9731 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9733 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9742 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9743 PyObject
*resultobj
;
9744 wxLocale
*arg1
= (wxLocale
*) 0 ;
9746 PyObject
* obj0
= 0 ;
9748 (char *) "self", NULL
9751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9770 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9771 PyObject
*resultobj
;
9772 wxLocale
*arg1
= (wxLocale
*) 0 ;
9774 PyObject
* obj0
= 0 ;
9776 (char *) "self", NULL
9779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 result
= ((wxLocale
const *)arg1
)->GetLocale();
9786 wxPyEndAllowThreads(__tstate
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9791 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9793 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9802 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
;
9804 wxLocale
*arg1
= (wxLocale
*) 0 ;
9806 PyObject
* obj0
= 0 ;
9808 (char *) "self", NULL
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9821 resultobj
= SWIG_From_int((int)result
);
9828 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
*resultobj
;
9830 wxLocale
*arg1
= (wxLocale
*) 0 ;
9832 PyObject
* obj0
= 0 ;
9834 (char *) "self", NULL
9837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 result
= ((wxLocale
const *)arg1
)->GetSysName();
9844 wxPyEndAllowThreads(__tstate
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9849 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9851 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9860 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
;
9862 wxLocale
*arg1
= (wxLocale
*) 0 ;
9864 PyObject
* obj0
= 0 ;
9866 (char *) "self", NULL
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9881 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9883 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9892 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9893 PyObject
*resultobj
;
9894 wxString
*arg1
= 0 ;
9895 bool temp1
= false ;
9896 PyObject
* obj0
= 0 ;
9898 (char *) "prefix", NULL
9901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9903 arg1
= wxString_in_helper(obj0
);
9904 if (arg1
== NULL
) SWIG_fail
;
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9909 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9914 Py_INCREF(Py_None
); resultobj
= Py_None
;
9929 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9930 PyObject
*resultobj
;
9931 wxLocale
*arg1
= (wxLocale
*) 0 ;
9932 wxString
*arg2
= 0 ;
9934 bool temp2
= false ;
9935 PyObject
* obj0
= 0 ;
9936 PyObject
* obj1
= 0 ;
9938 (char *) "self",(char *) "szDomain", NULL
9941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9945 arg2
= wxString_in_helper(obj1
);
9946 if (arg2
== NULL
) SWIG_fail
;
9950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9951 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9973 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9974 PyObject
*resultobj
;
9975 wxLocale
*arg1
= (wxLocale
*) 0 ;
9976 wxString
*arg2
= 0 ;
9978 bool temp2
= false ;
9979 PyObject
* obj0
= 0 ;
9980 PyObject
* obj1
= 0 ;
9982 (char *) "self",(char *) "szDomain", NULL
9985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9989 arg2
= wxString_in_helper(obj1
);
9990 if (arg2
== NULL
) SWIG_fail
;
9994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9995 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10017 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10018 PyObject
*resultobj
;
10020 wxLanguageInfo
*result
;
10021 PyObject
* obj0
= 0 ;
10022 char *kwnames
[] = {
10023 (char *) "lang", NULL
10026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
10027 arg1
= (int)SWIG_As_int(obj0
);
10028 if (PyErr_Occurred()) SWIG_fail
;
10030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10031 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
10033 wxPyEndAllowThreads(__tstate
);
10034 if (PyErr_Occurred()) SWIG_fail
;
10036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10043 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10044 PyObject
*resultobj
;
10047 PyObject
* obj0
= 0 ;
10048 char *kwnames
[] = {
10049 (char *) "lang", NULL
10052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
10053 arg1
= (int)SWIG_As_int(obj0
);
10054 if (PyErr_Occurred()) SWIG_fail
;
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10057 result
= wxLocale::GetLanguageName(arg1
);
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10075 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10076 PyObject
*resultobj
;
10077 wxString
*arg1
= 0 ;
10078 wxLanguageInfo
*result
;
10079 bool temp1
= false ;
10080 PyObject
* obj0
= 0 ;
10081 char *kwnames
[] = {
10082 (char *) "locale", NULL
10085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
10087 arg1
= wxString_in_helper(obj0
);
10088 if (arg1
== NULL
) SWIG_fail
;
10092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10093 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
10095 wxPyEndAllowThreads(__tstate
);
10096 if (PyErr_Occurred()) SWIG_fail
;
10098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10113 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10114 PyObject
*resultobj
;
10115 wxLanguageInfo
*arg1
= 0 ;
10116 PyObject
* obj0
= 0 ;
10117 char *kwnames
[] = {
10118 (char *) "info", NULL
10121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
10122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10123 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10125 if (arg1
== NULL
) {
10126 PyErr_SetString(PyExc_TypeError
,"null reference");
10130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10131 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10136 Py_INCREF(Py_None
); resultobj
= Py_None
;
10143 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10144 PyObject
*resultobj
;
10145 wxLocale
*arg1
= (wxLocale
*) 0 ;
10146 wxString
*arg2
= 0 ;
10147 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10148 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10150 bool temp2
= false ;
10151 bool temp3
= false ;
10152 PyObject
* obj0
= 0 ;
10153 PyObject
* obj1
= 0 ;
10154 PyObject
* obj2
= 0 ;
10155 char *kwnames
[] = {
10156 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
10159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10163 arg2
= wxString_in_helper(obj1
);
10164 if (arg2
== NULL
) SWIG_fail
;
10169 arg3
= wxString_in_helper(obj2
);
10170 if (arg3
== NULL
) SWIG_fail
;
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10176 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10210 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10211 PyObject
*resultobj
;
10212 wxLocale
*arg1
= (wxLocale
*) 0 ;
10214 PyObject
* obj0
= 0 ;
10215 char *kwnames
[] = {
10216 (char *) "self", NULL
10219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
10220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
10226 result
= (wxString
*) &_result_ref
;
10229 wxPyEndAllowThreads(__tstate
);
10230 if (PyErr_Occurred()) SWIG_fail
;
10234 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10236 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10245 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
10247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10248 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
10250 return Py_BuildValue((char *)"");
10252 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10253 PyObject
*resultobj
;
10255 char *kwnames
[] = {
10259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
10261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10262 result
= (wxLocale
*)wxGetLocale();
10264 wxPyEndAllowThreads(__tstate
);
10265 if (PyErr_Occurred()) SWIG_fail
;
10267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
10274 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
10275 PyObject
*resultobj
;
10276 wxString
*arg1
= 0 ;
10278 bool temp1
= false ;
10279 PyObject
* obj0
= 0 ;
10281 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
10283 arg1
= wxString_in_helper(obj0
);
10284 if (arg1
== NULL
) SWIG_fail
;
10288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10289 result
= wxGetTranslation((wxString
const &)*arg1
);
10291 wxPyEndAllowThreads(__tstate
);
10292 if (PyErr_Occurred()) SWIG_fail
;
10296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10315 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
10316 PyObject
*resultobj
;
10317 wxString
*arg1
= 0 ;
10318 wxString
*arg2
= 0 ;
10321 bool temp1
= false ;
10322 bool temp2
= false ;
10323 PyObject
* obj0
= 0 ;
10324 PyObject
* obj1
= 0 ;
10325 PyObject
* obj2
= 0 ;
10327 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
10329 arg1
= wxString_in_helper(obj0
);
10330 if (arg1
== NULL
) SWIG_fail
;
10334 arg2
= wxString_in_helper(obj1
);
10335 if (arg2
== NULL
) SWIG_fail
;
10338 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10342 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10344 wxPyEndAllowThreads(__tstate
);
10345 if (PyErr_Occurred()) SWIG_fail
;
10349 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10351 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10376 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10381 argc
= PyObject_Length(args
);
10382 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10383 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10388 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10391 return _wrap_GetTranslation__SWIG_0(self
,args
);
10397 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10401 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10404 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
10406 return _wrap_GetTranslation__SWIG_1(self
,args
);
10412 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10417 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10418 PyObject
*resultobj
;
10419 wxEncodingConverter
*result
;
10420 char *kwnames
[] = {
10424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10427 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10429 wxPyEndAllowThreads(__tstate
);
10430 if (PyErr_Occurred()) SWIG_fail
;
10432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10439 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10440 PyObject
*resultobj
;
10441 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10442 PyObject
* obj0
= 0 ;
10443 char *kwnames
[] = {
10444 (char *) "self", NULL
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 wxPyEndAllowThreads(__tstate
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10457 Py_INCREF(Py_None
); resultobj
= Py_None
;
10464 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10465 PyObject
*resultobj
;
10466 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10469 int arg4
= (int) wxCONVERT_STRICT
;
10471 PyObject
* obj0
= 0 ;
10472 PyObject
* obj1
= 0 ;
10473 PyObject
* obj2
= 0 ;
10474 PyObject
* obj3
= 0 ;
10475 char *kwnames
[] = {
10476 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10482 arg2
= (int)SWIG_As_int(obj1
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10484 arg3
= (int)SWIG_As_int(obj2
);
10485 if (PyErr_Occurred()) SWIG_fail
;
10487 arg4
= (int)SWIG_As_int(obj3
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10492 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10494 wxPyEndAllowThreads(__tstate
);
10495 if (PyErr_Occurred()) SWIG_fail
;
10498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10506 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10507 PyObject
*resultobj
;
10508 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10509 wxString
*arg2
= 0 ;
10511 bool temp2
= false ;
10512 PyObject
* obj0
= 0 ;
10513 PyObject
* obj1
= 0 ;
10514 char *kwnames
[] = {
10515 (char *) "self",(char *) "input", NULL
10518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10522 arg2
= wxString_in_helper(obj1
);
10523 if (arg2
== NULL
) SWIG_fail
;
10527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10528 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10530 wxPyEndAllowThreads(__tstate
);
10531 if (PyErr_Occurred()) SWIG_fail
;
10535 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10537 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10554 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10555 PyObject
*resultobj
;
10557 int arg2
= (int) wxPLATFORM_CURRENT
;
10558 wxFontEncodingArray result
;
10559 PyObject
* obj0
= 0 ;
10560 PyObject
* obj1
= 0 ;
10561 char *kwnames
[] = {
10562 (char *) "enc",(char *) "platform", NULL
10565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10566 arg1
= (int)SWIG_As_int(obj0
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10569 arg2
= (int)SWIG_As_int(obj1
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10574 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10576 wxPyEndAllowThreads(__tstate
);
10577 if (PyErr_Occurred()) SWIG_fail
;
10580 resultobj
= PyList_New(0);
10581 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10582 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10583 PyList_Append(resultobj
, number
);
10593 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
*resultobj
;
10596 wxFontEncodingArray result
;
10597 PyObject
* obj0
= 0 ;
10598 char *kwnames
[] = {
10599 (char *) "enc", NULL
10602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10603 arg1
= (int)SWIG_As_int(obj0
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10609 wxPyEndAllowThreads(__tstate
);
10610 if (PyErr_Occurred()) SWIG_fail
;
10613 resultobj
= PyList_New(0);
10614 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10615 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10616 PyList_Append(resultobj
, number
);
10626 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10627 PyObject
*resultobj
;
10631 PyObject
* obj0
= 0 ;
10632 PyObject
* obj1
= 0 ;
10633 char *kwnames
[] = {
10634 (char *) "encIn",(char *) "encOut", NULL
10637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10638 arg1
= (int)SWIG_As_int(obj0
);
10639 if (PyErr_Occurred()) SWIG_fail
;
10640 arg2
= (int)SWIG_As_int(obj1
);
10641 if (PyErr_Occurred()) SWIG_fail
;
10643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10644 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10646 wxPyEndAllowThreads(__tstate
);
10647 if (PyErr_Occurred()) SWIG_fail
;
10650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10658 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
10660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10661 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10663 return Py_BuildValue((char *)"");
10665 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10666 PyObject
*resultobj
;
10667 wxDC
*arg1
= (wxDC
*) 0 ;
10668 PyObject
* obj0
= 0 ;
10669 char *kwnames
[] = {
10670 (char *) "self", NULL
10673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10683 Py_INCREF(Py_None
); resultobj
= Py_None
;
10690 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10691 PyObject
*resultobj
;
10692 wxDC
*arg1
= (wxDC
*) 0 ;
10693 PyObject
* obj0
= 0 ;
10694 char *kwnames
[] = {
10695 (char *) "self", NULL
10698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10703 (arg1
)->BeginDrawing();
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10708 Py_INCREF(Py_None
); resultobj
= Py_None
;
10715 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10716 PyObject
*resultobj
;
10717 wxDC
*arg1
= (wxDC
*) 0 ;
10718 PyObject
* obj0
= 0 ;
10719 char *kwnames
[] = {
10720 (char *) "self", NULL
10723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10728 (arg1
)->EndDrawing();
10730 wxPyEndAllowThreads(__tstate
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10733 Py_INCREF(Py_None
); resultobj
= Py_None
;
10740 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10741 PyObject
*resultobj
;
10742 wxDC
*arg1
= (wxDC
*) 0 ;
10745 wxColour
*arg4
= 0 ;
10746 int arg5
= (int) wxFLOOD_SURFACE
;
10749 PyObject
* obj0
= 0 ;
10750 PyObject
* obj1
= 0 ;
10751 PyObject
* obj2
= 0 ;
10752 PyObject
* obj3
= 0 ;
10753 PyObject
* obj4
= 0 ;
10754 char *kwnames
[] = {
10755 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10761 arg2
= (int)SWIG_As_int(obj1
);
10762 if (PyErr_Occurred()) SWIG_fail
;
10763 arg3
= (int)SWIG_As_int(obj2
);
10764 if (PyErr_Occurred()) SWIG_fail
;
10767 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10770 arg5
= (int)SWIG_As_int(obj4
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10775 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10789 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10790 PyObject
*resultobj
;
10791 wxDC
*arg1
= (wxDC
*) 0 ;
10792 wxPoint
*arg2
= 0 ;
10793 wxColour
*arg3
= 0 ;
10794 int arg4
= (int) wxFLOOD_SURFACE
;
10798 PyObject
* obj0
= 0 ;
10799 PyObject
* obj1
= 0 ;
10800 PyObject
* obj2
= 0 ;
10801 PyObject
* obj3
= 0 ;
10802 char *kwnames
[] = {
10803 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10811 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10815 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10818 arg4
= (int)SWIG_As_int(obj3
);
10819 if (PyErr_Occurred()) SWIG_fail
;
10822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10823 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10825 wxPyEndAllowThreads(__tstate
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10837 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10838 PyObject
*resultobj
;
10839 wxDC
*arg1
= (wxDC
*) 0 ;
10843 PyObject
* obj0
= 0 ;
10844 PyObject
* obj1
= 0 ;
10845 PyObject
* obj2
= 0 ;
10846 char *kwnames
[] = {
10847 (char *) "self",(char *) "x",(char *) "y", NULL
10850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10853 arg2
= (int)SWIG_As_int(obj1
);
10854 if (PyErr_Occurred()) SWIG_fail
;
10855 arg3
= (int)SWIG_As_int(obj2
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10859 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
10861 wxPyEndAllowThreads(__tstate
);
10862 if (PyErr_Occurred()) SWIG_fail
;
10865 wxColour
* resultptr
;
10866 resultptr
= new wxColour((wxColour
&) result
);
10867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10875 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10876 PyObject
*resultobj
;
10877 wxDC
*arg1
= (wxDC
*) 0 ;
10878 wxPoint
*arg2
= 0 ;
10881 PyObject
* obj0
= 0 ;
10882 PyObject
* obj1
= 0 ;
10883 char *kwnames
[] = {
10884 (char *) "self",(char *) "pt", NULL
10887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10892 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10896 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
10898 wxPyEndAllowThreads(__tstate
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10902 wxColour
* resultptr
;
10903 resultptr
= new wxColour((wxColour
&) result
);
10904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10912 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10913 PyObject
*resultobj
;
10914 wxDC
*arg1
= (wxDC
*) 0 ;
10919 PyObject
* obj0
= 0 ;
10920 PyObject
* obj1
= 0 ;
10921 PyObject
* obj2
= 0 ;
10922 PyObject
* obj3
= 0 ;
10923 PyObject
* obj4
= 0 ;
10924 char *kwnames
[] = {
10925 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10931 arg2
= (int)SWIG_As_int(obj1
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10933 arg3
= (int)SWIG_As_int(obj2
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10935 arg4
= (int)SWIG_As_int(obj3
);
10936 if (PyErr_Occurred()) SWIG_fail
;
10937 arg5
= (int)SWIG_As_int(obj4
);
10938 if (PyErr_Occurred()) SWIG_fail
;
10940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10941 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10943 wxPyEndAllowThreads(__tstate
);
10944 if (PyErr_Occurred()) SWIG_fail
;
10946 Py_INCREF(Py_None
); resultobj
= Py_None
;
10953 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10954 PyObject
*resultobj
;
10955 wxDC
*arg1
= (wxDC
*) 0 ;
10956 wxPoint
*arg2
= 0 ;
10957 wxPoint
*arg3
= 0 ;
10960 PyObject
* obj0
= 0 ;
10961 PyObject
* obj1
= 0 ;
10962 PyObject
* obj2
= 0 ;
10963 char *kwnames
[] = {
10964 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10972 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10976 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10982 wxPyEndAllowThreads(__tstate
);
10983 if (PyErr_Occurred()) SWIG_fail
;
10985 Py_INCREF(Py_None
); resultobj
= Py_None
;
10992 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10993 PyObject
*resultobj
;
10994 wxDC
*arg1
= (wxDC
*) 0 ;
10997 PyObject
* obj0
= 0 ;
10998 PyObject
* obj1
= 0 ;
10999 PyObject
* obj2
= 0 ;
11000 char *kwnames
[] = {
11001 (char *) "self",(char *) "x",(char *) "y", NULL
11004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11007 arg2
= (int)SWIG_As_int(obj1
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11009 arg3
= (int)SWIG_As_int(obj2
);
11010 if (PyErr_Occurred()) SWIG_fail
;
11012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11013 (arg1
)->CrossHair(arg2
,arg3
);
11015 wxPyEndAllowThreads(__tstate
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11018 Py_INCREF(Py_None
); resultobj
= Py_None
;
11025 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11026 PyObject
*resultobj
;
11027 wxDC
*arg1
= (wxDC
*) 0 ;
11028 wxPoint
*arg2
= 0 ;
11030 PyObject
* obj0
= 0 ;
11031 PyObject
* obj1
= 0 ;
11032 char *kwnames
[] = {
11033 (char *) "self",(char *) "pt", NULL
11036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11041 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11045 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
11047 wxPyEndAllowThreads(__tstate
);
11048 if (PyErr_Occurred()) SWIG_fail
;
11050 Py_INCREF(Py_None
); resultobj
= Py_None
;
11057 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11058 PyObject
*resultobj
;
11059 wxDC
*arg1
= (wxDC
*) 0 ;
11066 PyObject
* obj0
= 0 ;
11067 PyObject
* obj1
= 0 ;
11068 PyObject
* obj2
= 0 ;
11069 PyObject
* obj3
= 0 ;
11070 PyObject
* obj4
= 0 ;
11071 PyObject
* obj5
= 0 ;
11072 PyObject
* obj6
= 0 ;
11073 char *kwnames
[] = {
11074 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
11077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11080 arg2
= (int)SWIG_As_int(obj1
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11082 arg3
= (int)SWIG_As_int(obj2
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11084 arg4
= (int)SWIG_As_int(obj3
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11086 arg5
= (int)SWIG_As_int(obj4
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11088 arg6
= (int)SWIG_As_int(obj5
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11090 arg7
= (int)SWIG_As_int(obj6
);
11091 if (PyErr_Occurred()) SWIG_fail
;
11093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11094 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11096 wxPyEndAllowThreads(__tstate
);
11097 if (PyErr_Occurred()) SWIG_fail
;
11099 Py_INCREF(Py_None
); resultobj
= Py_None
;
11106 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11107 PyObject
*resultobj
;
11108 wxDC
*arg1
= (wxDC
*) 0 ;
11109 wxPoint
*arg2
= 0 ;
11110 wxPoint
*arg3
= 0 ;
11111 wxPoint
*arg4
= 0 ;
11115 PyObject
* obj0
= 0 ;
11116 PyObject
* obj1
= 0 ;
11117 PyObject
* obj2
= 0 ;
11118 PyObject
* obj3
= 0 ;
11119 char *kwnames
[] = {
11120 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
11123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11128 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11132 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11136 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11140 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
11142 wxPyEndAllowThreads(__tstate
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11145 Py_INCREF(Py_None
); resultobj
= Py_None
;
11152 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11153 PyObject
*resultobj
;
11154 wxDC
*arg1
= (wxDC
*) 0 ;
11159 PyObject
* obj0
= 0 ;
11160 PyObject
* obj1
= 0 ;
11161 PyObject
* obj2
= 0 ;
11162 PyObject
* obj3
= 0 ;
11163 PyObject
* obj4
= 0 ;
11164 char *kwnames
[] = {
11165 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11171 arg2
= (int)SWIG_As_int(obj1
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11173 arg3
= (int)SWIG_As_int(obj2
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11175 arg4
= (int)SWIG_As_int(obj3
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11177 arg5
= (int)SWIG_As_int(obj4
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11181 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
11183 wxPyEndAllowThreads(__tstate
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11186 Py_INCREF(Py_None
); resultobj
= Py_None
;
11193 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11194 PyObject
*resultobj
;
11195 wxDC
*arg1
= (wxDC
*) 0 ;
11198 PyObject
* obj0
= 0 ;
11199 PyObject
* obj1
= 0 ;
11200 char *kwnames
[] = {
11201 (char *) "self",(char *) "rect", NULL
11204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11209 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11213 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
11215 wxPyEndAllowThreads(__tstate
);
11216 if (PyErr_Occurred()) SWIG_fail
;
11218 Py_INCREF(Py_None
); resultobj
= Py_None
;
11225 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11226 PyObject
*resultobj
;
11227 wxDC
*arg1
= (wxDC
*) 0 ;
11234 PyObject
* obj0
= 0 ;
11235 PyObject
* obj1
= 0 ;
11236 PyObject
* obj2
= 0 ;
11237 PyObject
* obj3
= 0 ;
11238 PyObject
* obj4
= 0 ;
11239 PyObject
* obj5
= 0 ;
11240 PyObject
* obj6
= 0 ;
11241 char *kwnames
[] = {
11242 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
11245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11248 arg2
= (int)SWIG_As_int(obj1
);
11249 if (PyErr_Occurred()) SWIG_fail
;
11250 arg3
= (int)SWIG_As_int(obj2
);
11251 if (PyErr_Occurred()) SWIG_fail
;
11252 arg4
= (int)SWIG_As_int(obj3
);
11253 if (PyErr_Occurred()) SWIG_fail
;
11254 arg5
= (int)SWIG_As_int(obj4
);
11255 if (PyErr_Occurred()) SWIG_fail
;
11256 arg6
= (double)SWIG_As_double(obj5
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11258 arg7
= (double)SWIG_As_double(obj6
);
11259 if (PyErr_Occurred()) SWIG_fail
;
11261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11262 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11264 wxPyEndAllowThreads(__tstate
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11267 Py_INCREF(Py_None
); resultobj
= Py_None
;
11274 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11275 PyObject
*resultobj
;
11276 wxDC
*arg1
= (wxDC
*) 0 ;
11277 wxPoint
*arg2
= 0 ;
11283 PyObject
* obj0
= 0 ;
11284 PyObject
* obj1
= 0 ;
11285 PyObject
* obj2
= 0 ;
11286 PyObject
* obj3
= 0 ;
11287 PyObject
* obj4
= 0 ;
11288 char *kwnames
[] = {
11289 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
11292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11297 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11301 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11303 arg4
= (double)SWIG_As_double(obj3
);
11304 if (PyErr_Occurred()) SWIG_fail
;
11305 arg5
= (double)SWIG_As_double(obj4
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11309 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
11311 wxPyEndAllowThreads(__tstate
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11314 Py_INCREF(Py_None
); resultobj
= Py_None
;
11321 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11322 PyObject
*resultobj
;
11323 wxDC
*arg1
= (wxDC
*) 0 ;
11326 PyObject
* obj0
= 0 ;
11327 PyObject
* obj1
= 0 ;
11328 PyObject
* obj2
= 0 ;
11329 char *kwnames
[] = {
11330 (char *) "self",(char *) "x",(char *) "y", NULL
11333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11336 arg2
= (int)SWIG_As_int(obj1
);
11337 if (PyErr_Occurred()) SWIG_fail
;
11338 arg3
= (int)SWIG_As_int(obj2
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 (arg1
)->DrawPoint(arg2
,arg3
);
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11347 Py_INCREF(Py_None
); resultobj
= Py_None
;
11354 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11355 PyObject
*resultobj
;
11356 wxDC
*arg1
= (wxDC
*) 0 ;
11357 wxPoint
*arg2
= 0 ;
11359 PyObject
* obj0
= 0 ;
11360 PyObject
* obj1
= 0 ;
11361 char *kwnames
[] = {
11362 (char *) "self",(char *) "pt", NULL
11365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11370 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11374 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11376 wxPyEndAllowThreads(__tstate
);
11377 if (PyErr_Occurred()) SWIG_fail
;
11379 Py_INCREF(Py_None
); resultobj
= Py_None
;
11386 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11387 PyObject
*resultobj
;
11388 wxDC
*arg1
= (wxDC
*) 0 ;
11393 PyObject
* obj0
= 0 ;
11394 PyObject
* obj1
= 0 ;
11395 PyObject
* obj2
= 0 ;
11396 PyObject
* obj3
= 0 ;
11397 PyObject
* obj4
= 0 ;
11398 char *kwnames
[] = {
11399 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11405 arg2
= (int)SWIG_As_int(obj1
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11407 arg3
= (int)SWIG_As_int(obj2
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11409 arg4
= (int)SWIG_As_int(obj3
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11411 arg5
= (int)SWIG_As_int(obj4
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11415 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11420 Py_INCREF(Py_None
); resultobj
= Py_None
;
11427 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11428 PyObject
*resultobj
;
11429 wxDC
*arg1
= (wxDC
*) 0 ;
11432 PyObject
* obj0
= 0 ;
11433 PyObject
* obj1
= 0 ;
11434 char *kwnames
[] = {
11435 (char *) "self",(char *) "rect", NULL
11438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11443 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11452 Py_INCREF(Py_None
); resultobj
= Py_None
;
11459 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11460 PyObject
*resultobj
;
11461 wxDC
*arg1
= (wxDC
*) 0 ;
11462 wxPoint
*arg2
= 0 ;
11466 PyObject
* obj0
= 0 ;
11467 PyObject
* obj1
= 0 ;
11468 PyObject
* obj2
= 0 ;
11469 char *kwnames
[] = {
11470 (char *) "self",(char *) "pt",(char *) "sz", NULL
11473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11478 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11482 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11486 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11488 wxPyEndAllowThreads(__tstate
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11491 Py_INCREF(Py_None
); resultobj
= Py_None
;
11498 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11499 PyObject
*resultobj
;
11500 wxDC
*arg1
= (wxDC
*) 0 ;
11506 PyObject
* obj0
= 0 ;
11507 PyObject
* obj1
= 0 ;
11508 PyObject
* obj2
= 0 ;
11509 PyObject
* obj3
= 0 ;
11510 PyObject
* obj4
= 0 ;
11511 PyObject
* obj5
= 0 ;
11512 char *kwnames
[] = {
11513 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11519 arg2
= (int)SWIG_As_int(obj1
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11521 arg3
= (int)SWIG_As_int(obj2
);
11522 if (PyErr_Occurred()) SWIG_fail
;
11523 arg4
= (int)SWIG_As_int(obj3
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11525 arg5
= (int)SWIG_As_int(obj4
);
11526 if (PyErr_Occurred()) SWIG_fail
;
11527 arg6
= (double)SWIG_As_double(obj5
);
11528 if (PyErr_Occurred()) SWIG_fail
;
11530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11531 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11536 Py_INCREF(Py_None
); resultobj
= Py_None
;
11543 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11544 PyObject
*resultobj
;
11545 wxDC
*arg1
= (wxDC
*) 0 ;
11549 PyObject
* obj0
= 0 ;
11550 PyObject
* obj1
= 0 ;
11551 PyObject
* obj2
= 0 ;
11552 char *kwnames
[] = {
11553 (char *) "self",(char *) "r",(char *) "radius", NULL
11556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11561 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11563 arg3
= (double)SWIG_As_double(obj2
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11567 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11569 wxPyEndAllowThreads(__tstate
);
11570 if (PyErr_Occurred()) SWIG_fail
;
11572 Py_INCREF(Py_None
); resultobj
= Py_None
;
11579 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11580 PyObject
*resultobj
;
11581 wxDC
*arg1
= (wxDC
*) 0 ;
11582 wxPoint
*arg2
= 0 ;
11587 PyObject
* obj0
= 0 ;
11588 PyObject
* obj1
= 0 ;
11589 PyObject
* obj2
= 0 ;
11590 PyObject
* obj3
= 0 ;
11591 char *kwnames
[] = {
11592 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11600 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11604 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11606 arg4
= (double)SWIG_As_double(obj3
);
11607 if (PyErr_Occurred()) SWIG_fail
;
11609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11610 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11612 wxPyEndAllowThreads(__tstate
);
11613 if (PyErr_Occurred()) SWIG_fail
;
11615 Py_INCREF(Py_None
); resultobj
= Py_None
;
11622 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
*resultobj
;
11624 wxDC
*arg1
= (wxDC
*) 0 ;
11628 PyObject
* obj0
= 0 ;
11629 PyObject
* obj1
= 0 ;
11630 PyObject
* obj2
= 0 ;
11631 PyObject
* obj3
= 0 ;
11632 char *kwnames
[] = {
11633 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11639 arg2
= (int)SWIG_As_int(obj1
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11641 arg3
= (int)SWIG_As_int(obj2
);
11642 if (PyErr_Occurred()) SWIG_fail
;
11643 arg4
= (int)SWIG_As_int(obj3
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11647 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11649 wxPyEndAllowThreads(__tstate
);
11650 if (PyErr_Occurred()) SWIG_fail
;
11652 Py_INCREF(Py_None
); resultobj
= Py_None
;
11659 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11660 PyObject
*resultobj
;
11661 wxDC
*arg1
= (wxDC
*) 0 ;
11662 wxPoint
*arg2
= 0 ;
11665 PyObject
* obj0
= 0 ;
11666 PyObject
* obj1
= 0 ;
11667 PyObject
* obj2
= 0 ;
11668 char *kwnames
[] = {
11669 (char *) "self",(char *) "pt",(char *) "radius", NULL
11672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11677 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11679 arg3
= (int)SWIG_As_int(obj2
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11688 Py_INCREF(Py_None
); resultobj
= Py_None
;
11695 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11696 PyObject
*resultobj
;
11697 wxDC
*arg1
= (wxDC
*) 0 ;
11702 PyObject
* obj0
= 0 ;
11703 PyObject
* obj1
= 0 ;
11704 PyObject
* obj2
= 0 ;
11705 PyObject
* obj3
= 0 ;
11706 PyObject
* obj4
= 0 ;
11707 char *kwnames
[] = {
11708 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11714 arg2
= (int)SWIG_As_int(obj1
);
11715 if (PyErr_Occurred()) SWIG_fail
;
11716 arg3
= (int)SWIG_As_int(obj2
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11718 arg4
= (int)SWIG_As_int(obj3
);
11719 if (PyErr_Occurred()) SWIG_fail
;
11720 arg5
= (int)SWIG_As_int(obj4
);
11721 if (PyErr_Occurred()) SWIG_fail
;
11723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11724 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11726 wxPyEndAllowThreads(__tstate
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11729 Py_INCREF(Py_None
); resultobj
= Py_None
;
11736 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11737 PyObject
*resultobj
;
11738 wxDC
*arg1
= (wxDC
*) 0 ;
11741 PyObject
* obj0
= 0 ;
11742 PyObject
* obj1
= 0 ;
11743 char *kwnames
[] = {
11744 (char *) "self",(char *) "rect", NULL
11747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11752 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11756 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11758 wxPyEndAllowThreads(__tstate
);
11759 if (PyErr_Occurred()) SWIG_fail
;
11761 Py_INCREF(Py_None
); resultobj
= Py_None
;
11768 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11769 PyObject
*resultobj
;
11770 wxDC
*arg1
= (wxDC
*) 0 ;
11771 wxPoint
*arg2
= 0 ;
11775 PyObject
* obj0
= 0 ;
11776 PyObject
* obj1
= 0 ;
11777 PyObject
* obj2
= 0 ;
11778 char *kwnames
[] = {
11779 (char *) "self",(char *) "pt",(char *) "sz", NULL
11782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11787 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11791 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11795 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11797 wxPyEndAllowThreads(__tstate
);
11798 if (PyErr_Occurred()) SWIG_fail
;
11800 Py_INCREF(Py_None
); resultobj
= Py_None
;
11807 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11808 PyObject
*resultobj
;
11809 wxDC
*arg1
= (wxDC
*) 0 ;
11813 PyObject
* obj0
= 0 ;
11814 PyObject
* obj1
= 0 ;
11815 PyObject
* obj2
= 0 ;
11816 PyObject
* obj3
= 0 ;
11817 char *kwnames
[] = {
11818 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11824 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11825 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11827 if (arg2
== NULL
) {
11828 PyErr_SetString(PyExc_TypeError
,"null reference");
11831 arg3
= (int)SWIG_As_int(obj2
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11833 arg4
= (int)SWIG_As_int(obj3
);
11834 if (PyErr_Occurred()) SWIG_fail
;
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11839 wxPyEndAllowThreads(__tstate
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11842 Py_INCREF(Py_None
); resultobj
= Py_None
;
11849 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11850 PyObject
*resultobj
;
11851 wxDC
*arg1
= (wxDC
*) 0 ;
11853 wxPoint
*arg3
= 0 ;
11855 PyObject
* obj0
= 0 ;
11856 PyObject
* obj1
= 0 ;
11857 PyObject
* obj2
= 0 ;
11858 char *kwnames
[] = {
11859 (char *) "self",(char *) "icon",(char *) "pt", NULL
11862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11866 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11868 if (arg2
== NULL
) {
11869 PyErr_SetString(PyExc_TypeError
,"null reference");
11874 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11883 Py_INCREF(Py_None
); resultobj
= Py_None
;
11890 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11891 PyObject
*resultobj
;
11892 wxDC
*arg1
= (wxDC
*) 0 ;
11893 wxBitmap
*arg2
= 0 ;
11896 bool arg5
= (bool) false ;
11897 PyObject
* obj0
= 0 ;
11898 PyObject
* obj1
= 0 ;
11899 PyObject
* obj2
= 0 ;
11900 PyObject
* obj3
= 0 ;
11901 PyObject
* obj4
= 0 ;
11902 char *kwnames
[] = {
11903 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11910 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11912 if (arg2
== NULL
) {
11913 PyErr_SetString(PyExc_TypeError
,"null reference");
11916 arg3
= (int)SWIG_As_int(obj2
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11918 arg4
= (int)SWIG_As_int(obj3
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11921 arg5
= (bool)SWIG_As_bool(obj4
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11926 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11928 wxPyEndAllowThreads(__tstate
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11931 Py_INCREF(Py_None
); resultobj
= Py_None
;
11938 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11939 PyObject
*resultobj
;
11940 wxDC
*arg1
= (wxDC
*) 0 ;
11941 wxBitmap
*arg2
= 0 ;
11942 wxPoint
*arg3
= 0 ;
11943 bool arg4
= (bool) false ;
11945 PyObject
* obj0
= 0 ;
11946 PyObject
* obj1
= 0 ;
11947 PyObject
* obj2
= 0 ;
11948 PyObject
* obj3
= 0 ;
11949 char *kwnames
[] = {
11950 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11957 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11959 if (arg2
== NULL
) {
11960 PyErr_SetString(PyExc_TypeError
,"null reference");
11965 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11968 arg4
= (bool)SWIG_As_bool(obj3
);
11969 if (PyErr_Occurred()) SWIG_fail
;
11972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11973 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11975 wxPyEndAllowThreads(__tstate
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11978 Py_INCREF(Py_None
); resultobj
= Py_None
;
11985 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11986 PyObject
*resultobj
;
11987 wxDC
*arg1
= (wxDC
*) 0 ;
11988 wxString
*arg2
= 0 ;
11991 bool temp2
= false ;
11992 PyObject
* obj0
= 0 ;
11993 PyObject
* obj1
= 0 ;
11994 PyObject
* obj2
= 0 ;
11995 PyObject
* obj3
= 0 ;
11996 char *kwnames
[] = {
11997 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
12000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12004 arg2
= wxString_in_helper(obj1
);
12005 if (arg2
== NULL
) SWIG_fail
;
12008 arg3
= (int)SWIG_As_int(obj2
);
12009 if (PyErr_Occurred()) SWIG_fail
;
12010 arg4
= (int)SWIG_As_int(obj3
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12014 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
12016 wxPyEndAllowThreads(__tstate
);
12017 if (PyErr_Occurred()) SWIG_fail
;
12019 Py_INCREF(Py_None
); resultobj
= Py_None
;
12034 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12035 PyObject
*resultobj
;
12036 wxDC
*arg1
= (wxDC
*) 0 ;
12037 wxString
*arg2
= 0 ;
12038 wxPoint
*arg3
= 0 ;
12039 bool temp2
= false ;
12041 PyObject
* obj0
= 0 ;
12042 PyObject
* obj1
= 0 ;
12043 PyObject
* obj2
= 0 ;
12044 char *kwnames
[] = {
12045 (char *) "self",(char *) "text",(char *) "pt", NULL
12048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12052 arg2
= wxString_in_helper(obj1
);
12053 if (arg2
== NULL
) SWIG_fail
;
12058 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12062 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
12064 wxPyEndAllowThreads(__tstate
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12067 Py_INCREF(Py_None
); resultobj
= Py_None
;
12082 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12083 PyObject
*resultobj
;
12084 wxDC
*arg1
= (wxDC
*) 0 ;
12085 wxString
*arg2
= 0 ;
12089 bool temp2
= false ;
12090 PyObject
* obj0
= 0 ;
12091 PyObject
* obj1
= 0 ;
12092 PyObject
* obj2
= 0 ;
12093 PyObject
* obj3
= 0 ;
12094 PyObject
* obj4
= 0 ;
12095 char *kwnames
[] = {
12096 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
12099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12103 arg2
= wxString_in_helper(obj1
);
12104 if (arg2
== NULL
) SWIG_fail
;
12107 arg3
= (int)SWIG_As_int(obj2
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12109 arg4
= (int)SWIG_As_int(obj3
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12111 arg5
= (double)SWIG_As_double(obj4
);
12112 if (PyErr_Occurred()) SWIG_fail
;
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12120 Py_INCREF(Py_None
); resultobj
= Py_None
;
12135 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12136 PyObject
*resultobj
;
12137 wxDC
*arg1
= (wxDC
*) 0 ;
12138 wxString
*arg2
= 0 ;
12139 wxPoint
*arg3
= 0 ;
12141 bool temp2
= false ;
12143 PyObject
* obj0
= 0 ;
12144 PyObject
* obj1
= 0 ;
12145 PyObject
* obj2
= 0 ;
12146 PyObject
* obj3
= 0 ;
12147 char *kwnames
[] = {
12148 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
12151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12155 arg2
= wxString_in_helper(obj1
);
12156 if (arg2
== NULL
) SWIG_fail
;
12161 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12163 arg4
= (double)SWIG_As_double(obj3
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12169 wxPyEndAllowThreads(__tstate
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12172 Py_INCREF(Py_None
); resultobj
= Py_None
;
12187 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12188 PyObject
*resultobj
;
12189 wxDC
*arg1
= (wxDC
*) 0 ;
12194 wxDC
*arg6
= (wxDC
*) 0 ;
12197 int arg9
= (int) wxCOPY
;
12198 bool arg10
= (bool) false ;
12199 int arg11
= (int) -1 ;
12200 int arg12
= (int) -1 ;
12202 PyObject
* obj0
= 0 ;
12203 PyObject
* obj1
= 0 ;
12204 PyObject
* obj2
= 0 ;
12205 PyObject
* obj3
= 0 ;
12206 PyObject
* obj4
= 0 ;
12207 PyObject
* obj5
= 0 ;
12208 PyObject
* obj6
= 0 ;
12209 PyObject
* obj7
= 0 ;
12210 PyObject
* obj8
= 0 ;
12211 PyObject
* obj9
= 0 ;
12212 PyObject
* obj10
= 0 ;
12213 PyObject
* obj11
= 0 ;
12214 char *kwnames
[] = {
12215 (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
12218 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
;
12219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12221 arg2
= (int)SWIG_As_int(obj1
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12223 arg3
= (int)SWIG_As_int(obj2
);
12224 if (PyErr_Occurred()) SWIG_fail
;
12225 arg4
= (int)SWIG_As_int(obj3
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12227 arg5
= (int)SWIG_As_int(obj4
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12229 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
12230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12231 arg7
= (int)SWIG_As_int(obj6
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12233 arg8
= (int)SWIG_As_int(obj7
);
12234 if (PyErr_Occurred()) SWIG_fail
;
12236 arg9
= (int)SWIG_As_int(obj8
);
12237 if (PyErr_Occurred()) SWIG_fail
;
12240 arg10
= (bool)SWIG_As_bool(obj9
);
12241 if (PyErr_Occurred()) SWIG_fail
;
12244 arg11
= (int)SWIG_As_int(obj10
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12248 arg12
= (int)SWIG_As_int(obj11
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12255 wxPyEndAllowThreads(__tstate
);
12256 if (PyErr_Occurred()) SWIG_fail
;
12259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12267 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12268 PyObject
*resultobj
;
12269 wxDC
*arg1
= (wxDC
*) 0 ;
12270 wxPoint
*arg2
= 0 ;
12272 wxDC
*arg4
= (wxDC
*) 0 ;
12273 wxPoint
*arg5
= 0 ;
12274 int arg6
= (int) wxCOPY
;
12275 bool arg7
= (bool) false ;
12276 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
12277 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
12283 PyObject
* obj0
= 0 ;
12284 PyObject
* obj1
= 0 ;
12285 PyObject
* obj2
= 0 ;
12286 PyObject
* obj3
= 0 ;
12287 PyObject
* obj4
= 0 ;
12288 PyObject
* obj5
= 0 ;
12289 PyObject
* obj6
= 0 ;
12290 PyObject
* obj7
= 0 ;
12291 char *kwnames
[] = {
12292 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12300 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12304 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12306 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
12307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12310 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12313 arg6
= (int)SWIG_As_int(obj5
);
12314 if (PyErr_Occurred()) SWIG_fail
;
12317 arg7
= (bool)SWIG_As_bool(obj6
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12323 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
12327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12328 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
12330 wxPyEndAllowThreads(__tstate
);
12331 if (PyErr_Occurred()) SWIG_fail
;
12334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12342 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12343 PyObject
*resultobj
;
12344 wxDC
*arg1
= (wxDC
*) 0 ;
12349 PyObject
* obj0
= 0 ;
12350 PyObject
* obj1
= 0 ;
12351 PyObject
* obj2
= 0 ;
12352 PyObject
* obj3
= 0 ;
12353 PyObject
* obj4
= 0 ;
12354 char *kwnames
[] = {
12355 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12361 arg2
= (int)SWIG_As_int(obj1
);
12362 if (PyErr_Occurred()) SWIG_fail
;
12363 arg3
= (int)SWIG_As_int(obj2
);
12364 if (PyErr_Occurred()) SWIG_fail
;
12365 arg4
= (int)SWIG_As_int(obj3
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12367 arg5
= (int)SWIG_As_int(obj4
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12371 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12373 wxPyEndAllowThreads(__tstate
);
12374 if (PyErr_Occurred()) SWIG_fail
;
12376 Py_INCREF(Py_None
); resultobj
= Py_None
;
12383 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12384 PyObject
*resultobj
;
12385 wxDC
*arg1
= (wxDC
*) 0 ;
12386 wxPoint
*arg2
= 0 ;
12390 PyObject
* obj0
= 0 ;
12391 PyObject
* obj1
= 0 ;
12392 PyObject
* obj2
= 0 ;
12393 char *kwnames
[] = {
12394 (char *) "self",(char *) "pt",(char *) "sz", NULL
12397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12402 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12406 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12410 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12415 Py_INCREF(Py_None
); resultobj
= Py_None
;
12422 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
*resultobj
;
12424 wxDC
*arg1
= (wxDC
*) 0 ;
12425 wxRegion
*arg2
= 0 ;
12426 PyObject
* obj0
= 0 ;
12427 PyObject
* obj1
= 0 ;
12428 char *kwnames
[] = {
12429 (char *) "self",(char *) "region", NULL
12432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12435 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12436 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12438 if (arg2
== NULL
) {
12439 PyErr_SetString(PyExc_TypeError
,"null reference");
12443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12444 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12446 wxPyEndAllowThreads(__tstate
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12449 Py_INCREF(Py_None
); resultobj
= Py_None
;
12456 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12457 PyObject
*resultobj
;
12458 wxDC
*arg1
= (wxDC
*) 0 ;
12461 PyObject
* obj0
= 0 ;
12462 PyObject
* obj1
= 0 ;
12463 char *kwnames
[] = {
12464 (char *) "self",(char *) "rect", NULL
12467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12472 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12476 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12478 wxPyEndAllowThreads(__tstate
);
12479 if (PyErr_Occurred()) SWIG_fail
;
12481 Py_INCREF(Py_None
); resultobj
= Py_None
;
12488 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12489 PyObject
*resultobj
;
12490 wxDC
*arg1
= (wxDC
*) 0 ;
12492 wxPoint
*arg3
= (wxPoint
*) 0 ;
12493 int arg4
= (int) 0 ;
12494 int arg5
= (int) 0 ;
12495 PyObject
* obj0
= 0 ;
12496 PyObject
* obj1
= 0 ;
12497 PyObject
* obj2
= 0 ;
12498 PyObject
* obj3
= 0 ;
12499 char *kwnames
[] = {
12500 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12507 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12508 if (arg3
== NULL
) SWIG_fail
;
12511 arg4
= (int)SWIG_As_int(obj2
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12515 arg5
= (int)SWIG_As_int(obj3
);
12516 if (PyErr_Occurred()) SWIG_fail
;
12519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12520 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12522 wxPyEndAllowThreads(__tstate
);
12523 if (PyErr_Occurred()) SWIG_fail
;
12525 Py_INCREF(Py_None
); resultobj
= Py_None
;
12527 if (arg3
) delete [] arg3
;
12532 if (arg3
) delete [] arg3
;
12538 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12539 PyObject
*resultobj
;
12540 wxDC
*arg1
= (wxDC
*) 0 ;
12542 wxPoint
*arg3
= (wxPoint
*) 0 ;
12543 int arg4
= (int) 0 ;
12544 int arg5
= (int) 0 ;
12545 int arg6
= (int) wxODDEVEN_RULE
;
12546 PyObject
* obj0
= 0 ;
12547 PyObject
* obj1
= 0 ;
12548 PyObject
* obj2
= 0 ;
12549 PyObject
* obj3
= 0 ;
12550 PyObject
* obj4
= 0 ;
12551 char *kwnames
[] = {
12552 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12559 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12560 if (arg3
== NULL
) SWIG_fail
;
12563 arg4
= (int)SWIG_As_int(obj2
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12567 arg5
= (int)SWIG_As_int(obj3
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12571 arg6
= (int)SWIG_As_int(obj4
);
12572 if (PyErr_Occurred()) SWIG_fail
;
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12578 wxPyEndAllowThreads(__tstate
);
12579 if (PyErr_Occurred()) SWIG_fail
;
12581 Py_INCREF(Py_None
); resultobj
= Py_None
;
12583 if (arg3
) delete [] arg3
;
12588 if (arg3
) delete [] arg3
;
12594 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12595 PyObject
*resultobj
;
12596 wxDC
*arg1
= (wxDC
*) 0 ;
12597 wxString
*arg2
= 0 ;
12599 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12600 int arg5
= (int) -1 ;
12601 bool temp2
= false ;
12603 PyObject
* obj0
= 0 ;
12604 PyObject
* obj1
= 0 ;
12605 PyObject
* obj2
= 0 ;
12606 PyObject
* obj3
= 0 ;
12607 PyObject
* obj4
= 0 ;
12608 char *kwnames
[] = {
12609 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12616 arg2
= wxString_in_helper(obj1
);
12617 if (arg2
== NULL
) SWIG_fail
;
12622 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12625 arg4
= (int)SWIG_As_int(obj3
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12629 arg5
= (int)SWIG_As_int(obj4
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12636 wxPyEndAllowThreads(__tstate
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12639 Py_INCREF(Py_None
); resultobj
= Py_None
;
12654 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12655 PyObject
*resultobj
;
12656 wxDC
*arg1
= (wxDC
*) 0 ;
12657 wxString
*arg2
= 0 ;
12658 wxBitmap
*arg3
= 0 ;
12660 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12661 int arg6
= (int) -1 ;
12663 bool temp2
= false ;
12665 PyObject
* obj0
= 0 ;
12666 PyObject
* obj1
= 0 ;
12667 PyObject
* obj2
= 0 ;
12668 PyObject
* obj3
= 0 ;
12669 PyObject
* obj4
= 0 ;
12670 PyObject
* obj5
= 0 ;
12671 char *kwnames
[] = {
12672 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12679 arg2
= wxString_in_helper(obj1
);
12680 if (arg2
== NULL
) SWIG_fail
;
12683 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12684 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12686 if (arg3
== NULL
) {
12687 PyErr_SetString(PyExc_TypeError
,"null reference");
12692 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12695 arg5
= (int)SWIG_As_int(obj4
);
12696 if (PyErr_Occurred()) SWIG_fail
;
12699 arg6
= (int)SWIG_As_int(obj5
);
12700 if (PyErr_Occurred()) SWIG_fail
;
12703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12704 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12706 wxPyEndAllowThreads(__tstate
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12710 wxRect
* resultptr
;
12711 resultptr
= new wxRect((wxRect
&) result
);
12712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12728 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12729 PyObject
*resultobj
;
12730 wxDC
*arg1
= (wxDC
*) 0 ;
12732 wxPoint
*arg3
= (wxPoint
*) 0 ;
12733 PyObject
* obj0
= 0 ;
12734 PyObject
* obj1
= 0 ;
12735 char *kwnames
[] = {
12736 (char *) "self",(char *) "points", NULL
12739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12743 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12744 if (arg3
== NULL
) SWIG_fail
;
12747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12748 (arg1
)->DrawSpline(arg2
,arg3
);
12750 wxPyEndAllowThreads(__tstate
);
12751 if (PyErr_Occurred()) SWIG_fail
;
12753 Py_INCREF(Py_None
); resultobj
= Py_None
;
12755 if (arg3
) delete [] arg3
;
12760 if (arg3
) delete [] arg3
;
12766 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12767 PyObject
*resultobj
;
12768 wxDC
*arg1
= (wxDC
*) 0 ;
12769 PyObject
* obj0
= 0 ;
12770 char *kwnames
[] = {
12771 (char *) "self", NULL
12774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12781 wxPyEndAllowThreads(__tstate
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12784 Py_INCREF(Py_None
); resultobj
= Py_None
;
12791 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12792 PyObject
*resultobj
;
12793 wxDC
*arg1
= (wxDC
*) 0 ;
12794 wxString
*arg2
= 0 ;
12796 bool temp2
= false ;
12797 PyObject
* obj0
= 0 ;
12798 PyObject
* obj1
= 0 ;
12799 char *kwnames
[] = {
12800 (char *) "self",(char *) "message", NULL
12803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12807 arg2
= wxString_in_helper(obj1
);
12808 if (arg2
== NULL
) SWIG_fail
;
12812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12813 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12815 wxPyEndAllowThreads(__tstate
);
12816 if (PyErr_Occurred()) SWIG_fail
;
12819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12835 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12836 PyObject
*resultobj
;
12837 wxDC
*arg1
= (wxDC
*) 0 ;
12838 PyObject
* obj0
= 0 ;
12839 char *kwnames
[] = {
12840 (char *) "self", NULL
12843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12850 wxPyEndAllowThreads(__tstate
);
12851 if (PyErr_Occurred()) SWIG_fail
;
12853 Py_INCREF(Py_None
); resultobj
= Py_None
;
12860 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12861 PyObject
*resultobj
;
12862 wxDC
*arg1
= (wxDC
*) 0 ;
12863 PyObject
* obj0
= 0 ;
12864 char *kwnames
[] = {
12865 (char *) "self", NULL
12868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12873 (arg1
)->StartPage();
12875 wxPyEndAllowThreads(__tstate
);
12876 if (PyErr_Occurred()) SWIG_fail
;
12878 Py_INCREF(Py_None
); resultobj
= Py_None
;
12885 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12886 PyObject
*resultobj
;
12887 wxDC
*arg1
= (wxDC
*) 0 ;
12888 PyObject
* obj0
= 0 ;
12889 char *kwnames
[] = {
12890 (char *) "self", NULL
12893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12900 wxPyEndAllowThreads(__tstate
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12903 Py_INCREF(Py_None
); resultobj
= Py_None
;
12910 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12911 PyObject
*resultobj
;
12912 wxDC
*arg1
= (wxDC
*) 0 ;
12914 PyObject
* obj0
= 0 ;
12915 PyObject
* obj1
= 0 ;
12916 char *kwnames
[] = {
12917 (char *) "self",(char *) "font", NULL
12920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12924 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12926 if (arg2
== NULL
) {
12927 PyErr_SetString(PyExc_TypeError
,"null reference");
12931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12932 (arg1
)->SetFont((wxFont
const &)*arg2
);
12934 wxPyEndAllowThreads(__tstate
);
12935 if (PyErr_Occurred()) SWIG_fail
;
12937 Py_INCREF(Py_None
); resultobj
= Py_None
;
12944 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12945 PyObject
*resultobj
;
12946 wxDC
*arg1
= (wxDC
*) 0 ;
12948 PyObject
* obj0
= 0 ;
12949 PyObject
* obj1
= 0 ;
12950 char *kwnames
[] = {
12951 (char *) "self",(char *) "pen", NULL
12954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12957 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12958 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12960 if (arg2
== NULL
) {
12961 PyErr_SetString(PyExc_TypeError
,"null reference");
12965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12966 (arg1
)->SetPen((wxPen
const &)*arg2
);
12968 wxPyEndAllowThreads(__tstate
);
12969 if (PyErr_Occurred()) SWIG_fail
;
12971 Py_INCREF(Py_None
); resultobj
= Py_None
;
12978 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12979 PyObject
*resultobj
;
12980 wxDC
*arg1
= (wxDC
*) 0 ;
12981 wxBrush
*arg2
= 0 ;
12982 PyObject
* obj0
= 0 ;
12983 PyObject
* obj1
= 0 ;
12984 char *kwnames
[] = {
12985 (char *) "self",(char *) "brush", NULL
12988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12992 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12994 if (arg2
== NULL
) {
12995 PyErr_SetString(PyExc_TypeError
,"null reference");
12999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13000 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
13002 wxPyEndAllowThreads(__tstate
);
13003 if (PyErr_Occurred()) SWIG_fail
;
13005 Py_INCREF(Py_None
); resultobj
= Py_None
;
13012 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13013 PyObject
*resultobj
;
13014 wxDC
*arg1
= (wxDC
*) 0 ;
13015 wxBrush
*arg2
= 0 ;
13016 PyObject
* obj0
= 0 ;
13017 PyObject
* obj1
= 0 ;
13018 char *kwnames
[] = {
13019 (char *) "self",(char *) "brush", NULL
13022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13025 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13026 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13028 if (arg2
== NULL
) {
13029 PyErr_SetString(PyExc_TypeError
,"null reference");
13033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13034 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
13036 wxPyEndAllowThreads(__tstate
);
13037 if (PyErr_Occurred()) SWIG_fail
;
13039 Py_INCREF(Py_None
); resultobj
= Py_None
;
13046 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13047 PyObject
*resultobj
;
13048 wxDC
*arg1
= (wxDC
*) 0 ;
13050 PyObject
* obj0
= 0 ;
13051 PyObject
* obj1
= 0 ;
13052 char *kwnames
[] = {
13053 (char *) "self",(char *) "mode", NULL
13056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13059 arg2
= (int)SWIG_As_int(obj1
);
13060 if (PyErr_Occurred()) SWIG_fail
;
13062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13063 (arg1
)->SetBackgroundMode(arg2
);
13065 wxPyEndAllowThreads(__tstate
);
13066 if (PyErr_Occurred()) SWIG_fail
;
13068 Py_INCREF(Py_None
); resultobj
= Py_None
;
13075 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13076 PyObject
*resultobj
;
13077 wxDC
*arg1
= (wxDC
*) 0 ;
13078 wxPalette
*arg2
= 0 ;
13079 PyObject
* obj0
= 0 ;
13080 PyObject
* obj1
= 0 ;
13081 char *kwnames
[] = {
13082 (char *) "self",(char *) "palette", NULL
13085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
13086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13088 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
13089 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13091 if (arg2
== NULL
) {
13092 PyErr_SetString(PyExc_TypeError
,"null reference");
13096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13097 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
13099 wxPyEndAllowThreads(__tstate
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13102 Py_INCREF(Py_None
); resultobj
= Py_None
;
13109 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13110 PyObject
*resultobj
;
13111 wxDC
*arg1
= (wxDC
*) 0 ;
13112 PyObject
* obj0
= 0 ;
13113 char *kwnames
[] = {
13114 (char *) "self", NULL
13117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
13118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13122 (arg1
)->DestroyClippingRegion();
13124 wxPyEndAllowThreads(__tstate
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13127 Py_INCREF(Py_None
); resultobj
= Py_None
;
13134 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13135 PyObject
*resultobj
;
13136 wxDC
*arg1
= (wxDC
*) 0 ;
13137 int *arg2
= (int *) 0 ;
13138 int *arg3
= (int *) 0 ;
13139 int *arg4
= (int *) 0 ;
13140 int *arg5
= (int *) 0 ;
13149 PyObject
* obj0
= 0 ;
13150 char *kwnames
[] = {
13151 (char *) "self", NULL
13154 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13155 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13156 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13157 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
13159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
13165 wxPyEndAllowThreads(__tstate
);
13166 if (PyErr_Occurred()) SWIG_fail
;
13168 Py_INCREF(Py_None
); resultobj
= Py_None
;
13169 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13170 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13171 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13172 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13173 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13174 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13175 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13176 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13183 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13184 PyObject
*resultobj
;
13185 wxDC
*arg1
= (wxDC
*) 0 ;
13187 PyObject
* obj0
= 0 ;
13188 char *kwnames
[] = {
13189 (char *) "self", NULL
13192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
13193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13197 result
= wxDC_GetClippingRect(arg1
);
13199 wxPyEndAllowThreads(__tstate
);
13200 if (PyErr_Occurred()) SWIG_fail
;
13203 wxRect
* resultptr
;
13204 resultptr
= new wxRect((wxRect
&) result
);
13205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13213 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13214 PyObject
*resultobj
;
13215 wxDC
*arg1
= (wxDC
*) 0 ;
13217 PyObject
* obj0
= 0 ;
13218 char *kwnames
[] = {
13219 (char *) "self", NULL
13222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
13223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13232 resultobj
= SWIG_From_int((int)result
);
13239 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13240 PyObject
*resultobj
;
13241 wxDC
*arg1
= (wxDC
*) 0 ;
13243 PyObject
* obj0
= 0 ;
13244 char *kwnames
[] = {
13245 (char *) "self", NULL
13248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
13249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13253 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
13255 wxPyEndAllowThreads(__tstate
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13258 resultobj
= SWIG_From_int((int)result
);
13265 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13266 PyObject
*resultobj
;
13267 wxDC
*arg1
= (wxDC
*) 0 ;
13268 wxString
*arg2
= 0 ;
13269 int *arg3
= (int *) 0 ;
13270 int *arg4
= (int *) 0 ;
13271 bool temp2
= false ;
13276 PyObject
* obj0
= 0 ;
13277 PyObject
* obj1
= 0 ;
13278 char *kwnames
[] = {
13279 (char *) "self",(char *) "string", NULL
13282 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13283 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
13285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13288 arg2
= wxString_in_helper(obj1
);
13289 if (arg2
== NULL
) SWIG_fail
;
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13299 Py_INCREF(Py_None
); resultobj
= Py_None
;
13300 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13301 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13302 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13303 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13318 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13319 PyObject
*resultobj
;
13320 wxDC
*arg1
= (wxDC
*) 0 ;
13321 wxString
*arg2
= 0 ;
13322 int *arg3
= (int *) 0 ;
13323 int *arg4
= (int *) 0 ;
13324 int *arg5
= (int *) 0 ;
13325 int *arg6
= (int *) 0 ;
13326 wxFont
*arg7
= (wxFont
*) NULL
;
13327 bool temp2
= false ;
13336 PyObject
* obj0
= 0 ;
13337 PyObject
* obj1
= 0 ;
13338 PyObject
* obj2
= 0 ;
13339 char *kwnames
[] = {
13340 (char *) "self",(char *) "string",(char *) "font", NULL
13343 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13344 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13345 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13346 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
13347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13351 arg2
= wxString_in_helper(obj1
);
13352 if (arg2
== NULL
) SWIG_fail
;
13356 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
13357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13361 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13366 Py_INCREF(Py_None
); resultobj
= Py_None
;
13367 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13368 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13369 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13370 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13371 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13372 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13373 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
13374 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
13389 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13390 PyObject
*resultobj
;
13391 wxDC
*arg1
= (wxDC
*) 0 ;
13392 wxString
*arg2
= 0 ;
13393 int *arg3
= (int *) 0 ;
13394 int *arg4
= (int *) 0 ;
13395 int *arg5
= (int *) 0 ;
13396 wxFont
*arg6
= (wxFont
*) NULL
;
13397 bool temp2
= false ;
13404 PyObject
* obj0
= 0 ;
13405 PyObject
* obj1
= 0 ;
13406 PyObject
* obj2
= 0 ;
13407 char *kwnames
[] = {
13408 (char *) "self",(char *) "text",(char *) "font", NULL
13411 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13412 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13413 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13418 arg2
= wxString_in_helper(obj1
);
13419 if (arg2
== NULL
) SWIG_fail
;
13423 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13433 Py_INCREF(Py_None
); resultobj
= Py_None
;
13434 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13435 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13436 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13437 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13438 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13439 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13454 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13455 PyObject
*resultobj
;
13456 wxDC
*arg1
= (wxDC
*) 0 ;
13457 wxString
*arg2
= 0 ;
13459 bool temp2
= false ;
13460 PyObject
* obj0
= 0 ;
13461 PyObject
* obj1
= 0 ;
13462 char *kwnames
[] = {
13463 (char *) "self",(char *) "text", NULL
13466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13470 arg2
= wxString_in_helper(obj1
);
13471 if (arg2
== NULL
) SWIG_fail
;
13475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13476 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13478 wxPyEndAllowThreads(__tstate
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13482 resultobj
= PyList_New(0);
13484 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13485 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13486 PyList_Append(resultobj
, val
);
13504 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13505 PyObject
*resultobj
;
13506 wxDC
*arg1
= (wxDC
*) 0 ;
13508 PyObject
* obj0
= 0 ;
13509 char *kwnames
[] = {
13510 (char *) "self", NULL
13513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13518 result
= (arg1
)->GetSize();
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13524 wxSize
* resultptr
;
13525 resultptr
= new wxSize((wxSize
&) result
);
13526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13534 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13535 PyObject
*resultobj
;
13536 wxDC
*arg1
= (wxDC
*) 0 ;
13537 int *arg2
= (int *) 0 ;
13538 int *arg3
= (int *) 0 ;
13543 PyObject
* obj0
= 0 ;
13544 char *kwnames
[] = {
13545 (char *) "self", NULL
13548 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13549 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13555 (arg1
)->GetSize(arg2
,arg3
);
13557 wxPyEndAllowThreads(__tstate
);
13558 if (PyErr_Occurred()) SWIG_fail
;
13560 Py_INCREF(Py_None
); resultobj
= Py_None
;
13561 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13562 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13563 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13564 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13571 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13572 PyObject
*resultobj
;
13573 wxDC
*arg1
= (wxDC
*) 0 ;
13575 PyObject
* obj0
= 0 ;
13576 char *kwnames
[] = {
13577 (char *) "self", NULL
13580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13585 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13587 wxPyEndAllowThreads(__tstate
);
13588 if (PyErr_Occurred()) SWIG_fail
;
13591 wxSize
* resultptr
;
13592 resultptr
= new wxSize((wxSize
&) result
);
13593 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13601 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13602 PyObject
*resultobj
;
13603 wxDC
*arg1
= (wxDC
*) 0 ;
13604 int *arg2
= (int *) 0 ;
13605 int *arg3
= (int *) 0 ;
13610 PyObject
* obj0
= 0 ;
13611 char *kwnames
[] = {
13612 (char *) "self", NULL
13615 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13616 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 Py_INCREF(Py_None
); resultobj
= Py_None
;
13628 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13629 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13630 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13631 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13638 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13639 PyObject
*resultobj
;
13640 wxDC
*arg1
= (wxDC
*) 0 ;
13643 PyObject
* obj0
= 0 ;
13644 PyObject
* obj1
= 0 ;
13645 char *kwnames
[] = {
13646 (char *) "self",(char *) "x", NULL
13649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13652 arg2
= (int)SWIG_As_int(obj1
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13656 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13658 wxPyEndAllowThreads(__tstate
);
13659 if (PyErr_Occurred()) SWIG_fail
;
13661 resultobj
= SWIG_From_int((int)result
);
13668 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13669 PyObject
*resultobj
;
13670 wxDC
*arg1
= (wxDC
*) 0 ;
13673 PyObject
* obj0
= 0 ;
13674 PyObject
* obj1
= 0 ;
13675 char *kwnames
[] = {
13676 (char *) "self",(char *) "y", NULL
13679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13682 arg2
= (int)SWIG_As_int(obj1
);
13683 if (PyErr_Occurred()) SWIG_fail
;
13685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13686 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13688 wxPyEndAllowThreads(__tstate
);
13689 if (PyErr_Occurred()) SWIG_fail
;
13691 resultobj
= SWIG_From_int((int)result
);
13698 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13699 PyObject
*resultobj
;
13700 wxDC
*arg1
= (wxDC
*) 0 ;
13703 PyObject
* obj0
= 0 ;
13704 PyObject
* obj1
= 0 ;
13705 char *kwnames
[] = {
13706 (char *) "self",(char *) "x", NULL
13709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13712 arg2
= (int)SWIG_As_int(obj1
);
13713 if (PyErr_Occurred()) SWIG_fail
;
13715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13716 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13718 wxPyEndAllowThreads(__tstate
);
13719 if (PyErr_Occurred()) SWIG_fail
;
13721 resultobj
= SWIG_From_int((int)result
);
13728 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13729 PyObject
*resultobj
;
13730 wxDC
*arg1
= (wxDC
*) 0 ;
13733 PyObject
* obj0
= 0 ;
13734 PyObject
* obj1
= 0 ;
13735 char *kwnames
[] = {
13736 (char *) "self",(char *) "y", NULL
13739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13742 arg2
= (int)SWIG_As_int(obj1
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13746 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13748 wxPyEndAllowThreads(__tstate
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13751 resultobj
= SWIG_From_int((int)result
);
13758 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13759 PyObject
*resultobj
;
13760 wxDC
*arg1
= (wxDC
*) 0 ;
13763 PyObject
* obj0
= 0 ;
13764 PyObject
* obj1
= 0 ;
13765 char *kwnames
[] = {
13766 (char *) "self",(char *) "x", NULL
13769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13772 arg2
= (int)SWIG_As_int(obj1
);
13773 if (PyErr_Occurred()) SWIG_fail
;
13775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13776 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13778 wxPyEndAllowThreads(__tstate
);
13779 if (PyErr_Occurred()) SWIG_fail
;
13781 resultobj
= SWIG_From_int((int)result
);
13788 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13789 PyObject
*resultobj
;
13790 wxDC
*arg1
= (wxDC
*) 0 ;
13793 PyObject
* obj0
= 0 ;
13794 PyObject
* obj1
= 0 ;
13795 char *kwnames
[] = {
13796 (char *) "self",(char *) "y", NULL
13799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13802 arg2
= (int)SWIG_As_int(obj1
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13806 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13808 wxPyEndAllowThreads(__tstate
);
13809 if (PyErr_Occurred()) SWIG_fail
;
13811 resultobj
= SWIG_From_int((int)result
);
13818 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13819 PyObject
*resultobj
;
13820 wxDC
*arg1
= (wxDC
*) 0 ;
13823 PyObject
* obj0
= 0 ;
13824 PyObject
* obj1
= 0 ;
13825 char *kwnames
[] = {
13826 (char *) "self",(char *) "x", NULL
13829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13832 arg2
= (int)SWIG_As_int(obj1
);
13833 if (PyErr_Occurred()) SWIG_fail
;
13835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13836 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13838 wxPyEndAllowThreads(__tstate
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13841 resultobj
= SWIG_From_int((int)result
);
13848 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13849 PyObject
*resultobj
;
13850 wxDC
*arg1
= (wxDC
*) 0 ;
13853 PyObject
* obj0
= 0 ;
13854 PyObject
* obj1
= 0 ;
13855 char *kwnames
[] = {
13856 (char *) "self",(char *) "y", NULL
13859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13862 arg2
= (int)SWIG_As_int(obj1
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13866 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13868 wxPyEndAllowThreads(__tstate
);
13869 if (PyErr_Occurred()) SWIG_fail
;
13871 resultobj
= SWIG_From_int((int)result
);
13878 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13879 PyObject
*resultobj
;
13880 wxDC
*arg1
= (wxDC
*) 0 ;
13882 PyObject
* obj0
= 0 ;
13883 char *kwnames
[] = {
13884 (char *) "self", NULL
13887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13892 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13894 wxPyEndAllowThreads(__tstate
);
13895 if (PyErr_Occurred()) SWIG_fail
;
13898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13906 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13907 PyObject
*resultobj
;
13908 wxDC
*arg1
= (wxDC
*) 0 ;
13910 PyObject
* obj0
= 0 ;
13911 char *kwnames
[] = {
13912 (char *) "self", NULL
13915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13920 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13922 wxPyEndAllowThreads(__tstate
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13934 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13935 PyObject
*resultobj
;
13936 wxDC
*arg1
= (wxDC
*) 0 ;
13938 PyObject
* obj0
= 0 ;
13939 char *kwnames
[] = {
13940 (char *) "self", NULL
13943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13948 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13950 wxPyEndAllowThreads(__tstate
);
13951 if (PyErr_Occurred()) SWIG_fail
;
13953 resultobj
= SWIG_From_int((int)result
);
13960 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13961 PyObject
*resultobj
;
13962 wxDC
*arg1
= (wxDC
*) 0 ;
13964 PyObject
* obj0
= 0 ;
13965 char *kwnames
[] = {
13966 (char *) "self", NULL
13969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13974 result
= ((wxDC
const *)arg1
)->GetPPI();
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13980 wxSize
* resultptr
;
13981 resultptr
= new wxSize((wxSize
&) result
);
13982 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13990 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13991 PyObject
*resultobj
;
13992 wxDC
*arg1
= (wxDC
*) 0 ;
13994 PyObject
* obj0
= 0 ;
13995 char *kwnames
[] = {
13996 (char *) "self", NULL
13999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
14000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14004 result
= (bool)((wxDC
const *)arg1
)->Ok();
14006 wxPyEndAllowThreads(__tstate
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14018 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14019 PyObject
*resultobj
;
14020 wxDC
*arg1
= (wxDC
*) 0 ;
14022 PyObject
* obj0
= 0 ;
14023 char *kwnames
[] = {
14024 (char *) "self", NULL
14027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
14028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14032 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
14034 wxPyEndAllowThreads(__tstate
);
14035 if (PyErr_Occurred()) SWIG_fail
;
14037 resultobj
= SWIG_From_int((int)result
);
14044 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14045 PyObject
*resultobj
;
14046 wxDC
*arg1
= (wxDC
*) 0 ;
14048 PyObject
* obj0
= 0 ;
14049 char *kwnames
[] = {
14050 (char *) "self", NULL
14053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
14054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14059 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
14060 result
= (wxBrush
*) &_result_ref
;
14063 wxPyEndAllowThreads(__tstate
);
14064 if (PyErr_Occurred()) SWIG_fail
;
14067 wxBrush
* resultptr
= new wxBrush(*result
);
14068 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14076 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14077 PyObject
*resultobj
;
14078 wxDC
*arg1
= (wxDC
*) 0 ;
14080 PyObject
* obj0
= 0 ;
14081 char *kwnames
[] = {
14082 (char *) "self", NULL
14085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
14086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14091 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
14092 result
= (wxBrush
*) &_result_ref
;
14095 wxPyEndAllowThreads(__tstate
);
14096 if (PyErr_Occurred()) SWIG_fail
;
14099 wxBrush
* resultptr
= new wxBrush(*result
);
14100 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14108 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14109 PyObject
*resultobj
;
14110 wxDC
*arg1
= (wxDC
*) 0 ;
14112 PyObject
* obj0
= 0 ;
14113 char *kwnames
[] = {
14114 (char *) "self", NULL
14117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
14118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14123 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
14124 result
= (wxFont
*) &_result_ref
;
14127 wxPyEndAllowThreads(__tstate
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14131 wxFont
* resultptr
= new wxFont(*result
);
14132 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
14140 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14141 PyObject
*resultobj
;
14142 wxDC
*arg1
= (wxDC
*) 0 ;
14144 PyObject
* obj0
= 0 ;
14145 char *kwnames
[] = {
14146 (char *) "self", NULL
14149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
14150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14155 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
14156 result
= (wxPen
*) &_result_ref
;
14159 wxPyEndAllowThreads(__tstate
);
14160 if (PyErr_Occurred()) SWIG_fail
;
14163 wxPen
* resultptr
= new wxPen(*result
);
14164 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
14172 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14173 PyObject
*resultobj
;
14174 wxDC
*arg1
= (wxDC
*) 0 ;
14176 PyObject
* obj0
= 0 ;
14177 char *kwnames
[] = {
14178 (char *) "self", NULL
14181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
14182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14187 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
14188 result
= (wxColour
*) &_result_ref
;
14191 wxPyEndAllowThreads(__tstate
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14201 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14202 PyObject
*resultobj
;
14203 wxDC
*arg1
= (wxDC
*) 0 ;
14205 PyObject
* obj0
= 0 ;
14206 char *kwnames
[] = {
14207 (char *) "self", NULL
14210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
14211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14216 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
14217 result
= (wxColour
*) &_result_ref
;
14220 wxPyEndAllowThreads(__tstate
);
14221 if (PyErr_Occurred()) SWIG_fail
;
14223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14230 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14231 PyObject
*resultobj
;
14232 wxDC
*arg1
= (wxDC
*) 0 ;
14233 wxColour
*arg2
= 0 ;
14235 PyObject
* obj0
= 0 ;
14236 PyObject
* obj1
= 0 ;
14237 char *kwnames
[] = {
14238 (char *) "self",(char *) "colour", NULL
14241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14246 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14250 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
14252 wxPyEndAllowThreads(__tstate
);
14253 if (PyErr_Occurred()) SWIG_fail
;
14255 Py_INCREF(Py_None
); resultobj
= Py_None
;
14262 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14263 PyObject
*resultobj
;
14264 wxDC
*arg1
= (wxDC
*) 0 ;
14265 wxColour
*arg2
= 0 ;
14267 PyObject
* obj0
= 0 ;
14268 PyObject
* obj1
= 0 ;
14269 char *kwnames
[] = {
14270 (char *) "self",(char *) "colour", NULL
14273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14278 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14282 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
14284 wxPyEndAllowThreads(__tstate
);
14285 if (PyErr_Occurred()) SWIG_fail
;
14287 Py_INCREF(Py_None
); resultobj
= Py_None
;
14294 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14295 PyObject
*resultobj
;
14296 wxDC
*arg1
= (wxDC
*) 0 ;
14298 PyObject
* obj0
= 0 ;
14299 char *kwnames
[] = {
14300 (char *) "self", NULL
14303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
14304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14308 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
14310 wxPyEndAllowThreads(__tstate
);
14311 if (PyErr_Occurred()) SWIG_fail
;
14313 resultobj
= SWIG_From_int((int)result
);
14320 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14321 PyObject
*resultobj
;
14322 wxDC
*arg1
= (wxDC
*) 0 ;
14324 PyObject
* obj0
= 0 ;
14325 PyObject
* obj1
= 0 ;
14326 char *kwnames
[] = {
14327 (char *) "self",(char *) "mode", NULL
14330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14333 arg2
= (int)SWIG_As_int(obj1
);
14334 if (PyErr_Occurred()) SWIG_fail
;
14336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14337 (arg1
)->SetMapMode(arg2
);
14339 wxPyEndAllowThreads(__tstate
);
14340 if (PyErr_Occurred()) SWIG_fail
;
14342 Py_INCREF(Py_None
); resultobj
= Py_None
;
14349 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14350 PyObject
*resultobj
;
14351 wxDC
*arg1
= (wxDC
*) 0 ;
14352 double *arg2
= (double *) 0 ;
14353 double *arg3
= (double *) 0 ;
14358 PyObject
* obj0
= 0 ;
14359 char *kwnames
[] = {
14360 (char *) "self", NULL
14363 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14364 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14370 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14375 Py_INCREF(Py_None
); resultobj
= Py_None
;
14376 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14377 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
14378 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14379 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
14386 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14387 PyObject
*resultobj
;
14388 wxDC
*arg1
= (wxDC
*) 0 ;
14391 PyObject
* obj0
= 0 ;
14392 PyObject
* obj1
= 0 ;
14393 PyObject
* obj2
= 0 ;
14394 char *kwnames
[] = {
14395 (char *) "self",(char *) "x",(char *) "y", NULL
14398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14401 arg2
= (double)SWIG_As_double(obj1
);
14402 if (PyErr_Occurred()) SWIG_fail
;
14403 arg3
= (double)SWIG_As_double(obj2
);
14404 if (PyErr_Occurred()) SWIG_fail
;
14406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14407 (arg1
)->SetUserScale(arg2
,arg3
);
14409 wxPyEndAllowThreads(__tstate
);
14410 if (PyErr_Occurred()) SWIG_fail
;
14412 Py_INCREF(Py_None
); resultobj
= Py_None
;
14419 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14420 PyObject
*resultobj
;
14421 wxDC
*arg1
= (wxDC
*) 0 ;
14422 double *arg2
= (double *) 0 ;
14423 double *arg3
= (double *) 0 ;
14428 PyObject
* obj0
= 0 ;
14429 char *kwnames
[] = {
14430 (char *) "self", NULL
14433 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14434 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14440 (arg1
)->GetLogicalScale(arg2
,arg3
);
14442 wxPyEndAllowThreads(__tstate
);
14443 if (PyErr_Occurred()) SWIG_fail
;
14445 Py_INCREF(Py_None
); resultobj
= Py_None
;
14446 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14447 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
14448 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14449 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
14456 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14457 PyObject
*resultobj
;
14458 wxDC
*arg1
= (wxDC
*) 0 ;
14461 PyObject
* obj0
= 0 ;
14462 PyObject
* obj1
= 0 ;
14463 PyObject
* obj2
= 0 ;
14464 char *kwnames
[] = {
14465 (char *) "self",(char *) "x",(char *) "y", NULL
14468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14471 arg2
= (double)SWIG_As_double(obj1
);
14472 if (PyErr_Occurred()) SWIG_fail
;
14473 arg3
= (double)SWIG_As_double(obj2
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14477 (arg1
)->SetLogicalScale(arg2
,arg3
);
14479 wxPyEndAllowThreads(__tstate
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14482 Py_INCREF(Py_None
); resultobj
= Py_None
;
14489 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14490 PyObject
*resultobj
;
14491 wxDC
*arg1
= (wxDC
*) 0 ;
14493 PyObject
* obj0
= 0 ;
14494 char *kwnames
[] = {
14495 (char *) "self", NULL
14498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14503 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14505 wxPyEndAllowThreads(__tstate
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14509 wxPoint
* resultptr
;
14510 resultptr
= new wxPoint((wxPoint
&) result
);
14511 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14519 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14520 PyObject
*resultobj
;
14521 wxDC
*arg1
= (wxDC
*) 0 ;
14522 int *arg2
= (int *) 0 ;
14523 int *arg3
= (int *) 0 ;
14528 PyObject
* obj0
= 0 ;
14529 char *kwnames
[] = {
14530 (char *) "self", NULL
14533 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14534 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14545 Py_INCREF(Py_None
); resultobj
= Py_None
;
14546 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14547 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14548 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14549 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14556 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14557 PyObject
*resultobj
;
14558 wxDC
*arg1
= (wxDC
*) 0 ;
14561 PyObject
* obj0
= 0 ;
14562 PyObject
* obj1
= 0 ;
14563 PyObject
* obj2
= 0 ;
14564 char *kwnames
[] = {
14565 (char *) "self",(char *) "x",(char *) "y", NULL
14568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14571 arg2
= (int)SWIG_As_int(obj1
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14573 arg3
= (int)SWIG_As_int(obj2
);
14574 if (PyErr_Occurred()) SWIG_fail
;
14576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14577 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14582 Py_INCREF(Py_None
); resultobj
= Py_None
;
14589 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14590 PyObject
*resultobj
;
14591 wxDC
*arg1
= (wxDC
*) 0 ;
14592 wxPoint
*arg2
= 0 ;
14594 PyObject
* obj0
= 0 ;
14595 PyObject
* obj1
= 0 ;
14596 char *kwnames
[] = {
14597 (char *) "self",(char *) "point", NULL
14600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14605 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14609 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14611 wxPyEndAllowThreads(__tstate
);
14612 if (PyErr_Occurred()) SWIG_fail
;
14614 Py_INCREF(Py_None
); resultobj
= Py_None
;
14621 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14622 PyObject
*resultobj
;
14623 wxDC
*arg1
= (wxDC
*) 0 ;
14625 PyObject
* obj0
= 0 ;
14626 char *kwnames
[] = {
14627 (char *) "self", NULL
14630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14635 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14637 wxPyEndAllowThreads(__tstate
);
14638 if (PyErr_Occurred()) SWIG_fail
;
14641 wxPoint
* resultptr
;
14642 resultptr
= new wxPoint((wxPoint
&) result
);
14643 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14651 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14652 PyObject
*resultobj
;
14653 wxDC
*arg1
= (wxDC
*) 0 ;
14654 int *arg2
= (int *) 0 ;
14655 int *arg3
= (int *) 0 ;
14660 PyObject
* obj0
= 0 ;
14661 char *kwnames
[] = {
14662 (char *) "self", NULL
14665 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14666 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14672 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14674 wxPyEndAllowThreads(__tstate
);
14675 if (PyErr_Occurred()) SWIG_fail
;
14677 Py_INCREF(Py_None
); resultobj
= Py_None
;
14678 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14679 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14680 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14681 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14688 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14689 PyObject
*resultobj
;
14690 wxDC
*arg1
= (wxDC
*) 0 ;
14693 PyObject
* obj0
= 0 ;
14694 PyObject
* obj1
= 0 ;
14695 PyObject
* obj2
= 0 ;
14696 char *kwnames
[] = {
14697 (char *) "self",(char *) "x",(char *) "y", NULL
14700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14703 arg2
= (int)SWIG_As_int(obj1
);
14704 if (PyErr_Occurred()) SWIG_fail
;
14705 arg3
= (int)SWIG_As_int(obj2
);
14706 if (PyErr_Occurred()) SWIG_fail
;
14708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14709 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14711 wxPyEndAllowThreads(__tstate
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14714 Py_INCREF(Py_None
); resultobj
= Py_None
;
14721 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14722 PyObject
*resultobj
;
14723 wxDC
*arg1
= (wxDC
*) 0 ;
14724 wxPoint
*arg2
= 0 ;
14726 PyObject
* obj0
= 0 ;
14727 PyObject
* obj1
= 0 ;
14728 char *kwnames
[] = {
14729 (char *) "self",(char *) "point", NULL
14732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14737 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14741 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14743 wxPyEndAllowThreads(__tstate
);
14744 if (PyErr_Occurred()) SWIG_fail
;
14746 Py_INCREF(Py_None
); resultobj
= Py_None
;
14753 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14754 PyObject
*resultobj
;
14755 wxDC
*arg1
= (wxDC
*) 0 ;
14758 PyObject
* obj0
= 0 ;
14759 PyObject
* obj1
= 0 ;
14760 PyObject
* obj2
= 0 ;
14761 char *kwnames
[] = {
14762 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14768 arg2
= (bool)SWIG_As_bool(obj1
);
14769 if (PyErr_Occurred()) SWIG_fail
;
14770 arg3
= (bool)SWIG_As_bool(obj2
);
14771 if (PyErr_Occurred()) SWIG_fail
;
14773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14774 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14776 wxPyEndAllowThreads(__tstate
);
14777 if (PyErr_Occurred()) SWIG_fail
;
14779 Py_INCREF(Py_None
); resultobj
= Py_None
;
14786 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14787 PyObject
*resultobj
;
14788 wxDC
*arg1
= (wxDC
*) 0 ;
14790 PyObject
* obj0
= 0 ;
14791 char *kwnames
[] = {
14792 (char *) "self", NULL
14795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14800 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14805 resultobj
= SWIG_From_int((int)result
);
14812 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14813 PyObject
*resultobj
;
14814 wxDC
*arg1
= (wxDC
*) 0 ;
14816 PyObject
* obj0
= 0 ;
14817 PyObject
* obj1
= 0 ;
14818 char *kwnames
[] = {
14819 (char *) "self",(char *) "function", NULL
14822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14825 arg2
= (int)SWIG_As_int(obj1
);
14826 if (PyErr_Occurred()) SWIG_fail
;
14828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14829 (arg1
)->SetLogicalFunction(arg2
);
14831 wxPyEndAllowThreads(__tstate
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14834 Py_INCREF(Py_None
); resultobj
= Py_None
;
14841 static PyObject
*_wrap_DC_SetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
;
14843 wxDC
*arg1
= (wxDC
*) 0 ;
14845 PyObject
* obj0
= 0 ;
14846 PyObject
* obj1
= 0 ;
14847 char *kwnames
[] = {
14848 (char *) "self",(char *) "optimize", NULL
14851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14854 arg2
= (bool)SWIG_As_bool(obj1
);
14855 if (PyErr_Occurred()) SWIG_fail
;
14857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14858 (arg1
)->SetOptimization(arg2
);
14860 wxPyEndAllowThreads(__tstate
);
14861 if (PyErr_Occurred()) SWIG_fail
;
14863 Py_INCREF(Py_None
); resultobj
= Py_None
;
14870 static PyObject
*_wrap_DC_GetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14871 PyObject
*resultobj
;
14872 wxDC
*arg1
= (wxDC
*) 0 ;
14874 PyObject
* obj0
= 0 ;
14875 char *kwnames
[] = {
14876 (char *) "self", NULL
14879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14884 result
= (bool)(arg1
)->GetOptimization();
14886 wxPyEndAllowThreads(__tstate
);
14887 if (PyErr_Occurred()) SWIG_fail
;
14890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14898 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14899 PyObject
*resultobj
;
14900 wxDC
*arg1
= (wxDC
*) 0 ;
14903 PyObject
* obj0
= 0 ;
14904 PyObject
* obj1
= 0 ;
14905 PyObject
* obj2
= 0 ;
14906 char *kwnames
[] = {
14907 (char *) "self",(char *) "x",(char *) "y", NULL
14910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14913 arg2
= (int)SWIG_As_int(obj1
);
14914 if (PyErr_Occurred()) SWIG_fail
;
14915 arg3
= (int)SWIG_As_int(obj2
);
14916 if (PyErr_Occurred()) SWIG_fail
;
14918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14919 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14921 wxPyEndAllowThreads(__tstate
);
14922 if (PyErr_Occurred()) SWIG_fail
;
14924 Py_INCREF(Py_None
); resultobj
= Py_None
;
14931 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14932 PyObject
*resultobj
;
14933 wxDC
*arg1
= (wxDC
*) 0 ;
14934 wxPoint
*arg2
= 0 ;
14936 PyObject
* obj0
= 0 ;
14937 PyObject
* obj1
= 0 ;
14938 char *kwnames
[] = {
14939 (char *) "self",(char *) "point", NULL
14942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14947 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14951 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
14953 wxPyEndAllowThreads(__tstate
);
14954 if (PyErr_Occurred()) SWIG_fail
;
14956 Py_INCREF(Py_None
); resultobj
= Py_None
;
14963 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14964 PyObject
*resultobj
;
14965 wxDC
*arg1
= (wxDC
*) 0 ;
14966 PyObject
* obj0
= 0 ;
14967 char *kwnames
[] = {
14968 (char *) "self", NULL
14971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 (arg1
)->ResetBoundingBox();
14978 wxPyEndAllowThreads(__tstate
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14981 Py_INCREF(Py_None
); resultobj
= Py_None
;
14988 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14989 PyObject
*resultobj
;
14990 wxDC
*arg1
= (wxDC
*) 0 ;
14992 PyObject
* obj0
= 0 ;
14993 char *kwnames
[] = {
14994 (char *) "self", NULL
14997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15002 result
= (int)((wxDC
const *)arg1
)->MinX();
15004 wxPyEndAllowThreads(__tstate
);
15005 if (PyErr_Occurred()) SWIG_fail
;
15007 resultobj
= SWIG_From_int((int)result
);
15014 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15015 PyObject
*resultobj
;
15016 wxDC
*arg1
= (wxDC
*) 0 ;
15018 PyObject
* obj0
= 0 ;
15019 char *kwnames
[] = {
15020 (char *) "self", NULL
15023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
15024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15028 result
= (int)((wxDC
const *)arg1
)->MaxX();
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15033 resultobj
= SWIG_From_int((int)result
);
15040 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15041 PyObject
*resultobj
;
15042 wxDC
*arg1
= (wxDC
*) 0 ;
15044 PyObject
* obj0
= 0 ;
15045 char *kwnames
[] = {
15046 (char *) "self", NULL
15049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
15050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15054 result
= (int)((wxDC
const *)arg1
)->MinY();
15056 wxPyEndAllowThreads(__tstate
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15059 resultobj
= SWIG_From_int((int)result
);
15066 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15067 PyObject
*resultobj
;
15068 wxDC
*arg1
= (wxDC
*) 0 ;
15070 PyObject
* obj0
= 0 ;
15071 char *kwnames
[] = {
15072 (char *) "self", NULL
15075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
15076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15080 result
= (int)((wxDC
const *)arg1
)->MaxY();
15082 wxPyEndAllowThreads(__tstate
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15085 resultobj
= SWIG_From_int((int)result
);
15092 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15093 PyObject
*resultobj
;
15094 wxDC
*arg1
= (wxDC
*) 0 ;
15095 int *arg2
= (int *) 0 ;
15096 int *arg3
= (int *) 0 ;
15097 int *arg4
= (int *) 0 ;
15098 int *arg5
= (int *) 0 ;
15107 PyObject
* obj0
= 0 ;
15108 char *kwnames
[] = {
15109 (char *) "self", NULL
15112 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15113 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15114 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15115 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
15117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15121 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
15123 wxPyEndAllowThreads(__tstate
);
15124 if (PyErr_Occurred()) SWIG_fail
;
15126 Py_INCREF(Py_None
); resultobj
= Py_None
;
15127 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15128 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15129 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15130 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15131 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15132 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15133 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15134 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15141 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15142 PyObject
*resultobj
;
15143 wxDC
*arg1
= (wxDC
*) 0 ;
15144 PyObject
*arg2
= (PyObject
*) 0 ;
15145 PyObject
*arg3
= (PyObject
*) 0 ;
15146 PyObject
*arg4
= (PyObject
*) 0 ;
15148 PyObject
* obj0
= 0 ;
15149 PyObject
* obj1
= 0 ;
15150 PyObject
* obj2
= 0 ;
15151 PyObject
* obj3
= 0 ;
15152 char *kwnames
[] = {
15153 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15164 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15169 resultobj
= result
;
15176 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15177 PyObject
*resultobj
;
15178 wxDC
*arg1
= (wxDC
*) 0 ;
15179 PyObject
*arg2
= (PyObject
*) 0 ;
15180 PyObject
*arg3
= (PyObject
*) 0 ;
15181 PyObject
*arg4
= (PyObject
*) 0 ;
15183 PyObject
* obj0
= 0 ;
15184 PyObject
* obj1
= 0 ;
15185 PyObject
* obj2
= 0 ;
15186 PyObject
* obj3
= 0 ;
15187 char *kwnames
[] = {
15188 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15199 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
15201 wxPyEndAllowThreads(__tstate
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15204 resultobj
= result
;
15211 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15212 PyObject
*resultobj
;
15213 wxDC
*arg1
= (wxDC
*) 0 ;
15214 PyObject
*arg2
= (PyObject
*) 0 ;
15215 PyObject
*arg3
= (PyObject
*) 0 ;
15216 PyObject
*arg4
= (PyObject
*) 0 ;
15218 PyObject
* obj0
= 0 ;
15219 PyObject
* obj1
= 0 ;
15220 PyObject
* obj2
= 0 ;
15221 PyObject
* obj3
= 0 ;
15222 char *kwnames
[] = {
15223 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15234 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
15236 wxPyEndAllowThreads(__tstate
);
15237 if (PyErr_Occurred()) SWIG_fail
;
15239 resultobj
= result
;
15246 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15247 PyObject
*resultobj
;
15248 wxDC
*arg1
= (wxDC
*) 0 ;
15249 PyObject
*arg2
= (PyObject
*) 0 ;
15250 PyObject
*arg3
= (PyObject
*) 0 ;
15251 PyObject
*arg4
= (PyObject
*) 0 ;
15253 PyObject
* obj0
= 0 ;
15254 PyObject
* obj1
= 0 ;
15255 PyObject
* obj2
= 0 ;
15256 PyObject
* obj3
= 0 ;
15257 char *kwnames
[] = {
15258 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15269 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
15271 wxPyEndAllowThreads(__tstate
);
15272 if (PyErr_Occurred()) SWIG_fail
;
15274 resultobj
= result
;
15281 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15282 PyObject
*resultobj
;
15283 wxDC
*arg1
= (wxDC
*) 0 ;
15284 PyObject
*arg2
= (PyObject
*) 0 ;
15285 PyObject
*arg3
= (PyObject
*) 0 ;
15286 PyObject
*arg4
= (PyObject
*) 0 ;
15288 PyObject
* obj0
= 0 ;
15289 PyObject
* obj1
= 0 ;
15290 PyObject
* obj2
= 0 ;
15291 PyObject
* obj3
= 0 ;
15292 char *kwnames
[] = {
15293 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15304 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15306 wxPyEndAllowThreads(__tstate
);
15307 if (PyErr_Occurred()) SWIG_fail
;
15309 resultobj
= result
;
15316 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15317 PyObject
*resultobj
;
15318 wxDC
*arg1
= (wxDC
*) 0 ;
15319 PyObject
*arg2
= (PyObject
*) 0 ;
15320 PyObject
*arg3
= (PyObject
*) 0 ;
15321 PyObject
*arg4
= (PyObject
*) 0 ;
15322 PyObject
*arg5
= (PyObject
*) 0 ;
15324 PyObject
* obj0
= 0 ;
15325 PyObject
* obj1
= 0 ;
15326 PyObject
* obj2
= 0 ;
15327 PyObject
* obj3
= 0 ;
15328 PyObject
* obj4
= 0 ;
15329 char *kwnames
[] = {
15330 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15347 resultobj
= result
;
15354 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
15356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15357 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15359 return Py_BuildValue((char *)"");
15361 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15362 PyObject
*resultobj
;
15363 wxMemoryDC
*result
;
15364 char *kwnames
[] = {
15368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15370 if (!wxPyCheckForApp()) SWIG_fail
;
15371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15372 result
= (wxMemoryDC
*)new wxMemoryDC();
15374 wxPyEndAllowThreads(__tstate
);
15375 if (PyErr_Occurred()) SWIG_fail
;
15377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15384 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15385 PyObject
*resultobj
;
15386 wxDC
*arg1
= (wxDC
*) 0 ;
15387 wxMemoryDC
*result
;
15388 PyObject
* obj0
= 0 ;
15389 char *kwnames
[] = {
15390 (char *) "oldDC", NULL
15393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15397 if (!wxPyCheckForApp()) SWIG_fail
;
15398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15399 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15411 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15412 PyObject
*resultobj
;
15413 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15414 wxBitmap
*arg2
= 0 ;
15415 PyObject
* obj0
= 0 ;
15416 PyObject
* obj1
= 0 ;
15417 char *kwnames
[] = {
15418 (char *) "self",(char *) "bitmap", NULL
15421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15425 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15427 if (arg2
== NULL
) {
15428 PyErr_SetString(PyExc_TypeError
,"null reference");
15432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15433 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15435 wxPyEndAllowThreads(__tstate
);
15436 if (PyErr_Occurred()) SWIG_fail
;
15438 Py_INCREF(Py_None
); resultobj
= Py_None
;
15445 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
15447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15448 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15450 return Py_BuildValue((char *)"");
15452 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
15453 PyObject
*resultobj
;
15454 wxDC
*arg1
= (wxDC
*) 0 ;
15455 wxBitmap
*arg2
= 0 ;
15456 wxBufferedDC
*result
;
15457 PyObject
* obj0
= 0 ;
15458 PyObject
* obj1
= 0 ;
15460 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15464 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15466 if (arg2
== NULL
) {
15467 PyErr_SetString(PyExc_TypeError
,"null reference");
15471 if (!wxPyCheckForApp()) SWIG_fail
;
15472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15473 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15475 wxPyEndAllowThreads(__tstate
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15485 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
15486 PyObject
*resultobj
;
15487 wxDC
*arg1
= (wxDC
*) 0 ;
15489 wxBufferedDC
*result
;
15491 PyObject
* obj0
= 0 ;
15492 PyObject
* obj1
= 0 ;
15494 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15499 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15502 if (!wxPyCheckForApp()) SWIG_fail
;
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15504 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15516 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15521 argc
= PyObject_Length(args
);
15522 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15523 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15529 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15539 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15547 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15555 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15564 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15567 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15572 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15577 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15578 PyObject
*resultobj
;
15579 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15580 PyObject
* obj0
= 0 ;
15581 char *kwnames
[] = {
15582 (char *) "self", NULL
15585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15595 Py_INCREF(Py_None
); resultobj
= Py_None
;
15602 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15603 PyObject
*resultobj
;
15604 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15605 PyObject
* obj0
= 0 ;
15606 char *kwnames
[] = {
15607 (char *) "self", NULL
15610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15617 wxPyEndAllowThreads(__tstate
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15620 Py_INCREF(Py_None
); resultobj
= Py_None
;
15627 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
15629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15630 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15632 return Py_BuildValue((char *)"");
15634 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15635 PyObject
*resultobj
;
15636 wxWindow
*arg1
= (wxWindow
*) 0 ;
15637 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15638 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15639 wxBufferedPaintDC
*result
;
15640 PyObject
* obj0
= 0 ;
15641 PyObject
* obj1
= 0 ;
15642 char *kwnames
[] = {
15643 (char *) "window",(char *) "buffer", NULL
15646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15651 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15653 if (arg2
== NULL
) {
15654 PyErr_SetString(PyExc_TypeError
,"null reference");
15659 if (!wxPyCheckForApp()) SWIG_fail
;
15660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15661 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15663 wxPyEndAllowThreads(__tstate
);
15664 if (PyErr_Occurred()) SWIG_fail
;
15666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15673 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
15675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15676 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15678 return Py_BuildValue((char *)"");
15680 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15681 PyObject
*resultobj
;
15682 wxScreenDC
*result
;
15683 char *kwnames
[] = {
15687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15689 if (!wxPyCheckForApp()) SWIG_fail
;
15690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15691 result
= (wxScreenDC
*)new wxScreenDC();
15693 wxPyEndAllowThreads(__tstate
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15703 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15704 PyObject
*resultobj
;
15705 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15706 wxWindow
*arg2
= (wxWindow
*) 0 ;
15708 PyObject
* obj0
= 0 ;
15709 PyObject
* obj1
= 0 ;
15710 char *kwnames
[] = {
15711 (char *) "self",(char *) "window", NULL
15714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15721 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15723 wxPyEndAllowThreads(__tstate
);
15724 if (PyErr_Occurred()) SWIG_fail
;
15727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15735 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15736 PyObject
*resultobj
;
15737 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15738 wxRect
*arg2
= (wxRect
*) NULL
;
15740 PyObject
* obj0
= 0 ;
15741 PyObject
* obj1
= 0 ;
15742 char *kwnames
[] = {
15743 (char *) "self",(char *) "rect", NULL
15746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15755 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15757 wxPyEndAllowThreads(__tstate
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15769 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15770 PyObject
*resultobj
;
15771 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15773 PyObject
* obj0
= 0 ;
15774 char *kwnames
[] = {
15775 (char *) "self", NULL
15778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15783 result
= (bool)(arg1
)->EndDrawingOnTop();
15785 wxPyEndAllowThreads(__tstate
);
15786 if (PyErr_Occurred()) SWIG_fail
;
15789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15797 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
15799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15800 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15802 return Py_BuildValue((char *)"");
15804 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15805 PyObject
*resultobj
;
15806 wxWindow
*arg1
= (wxWindow
*) 0 ;
15807 wxClientDC
*result
;
15808 PyObject
* obj0
= 0 ;
15809 char *kwnames
[] = {
15810 (char *) "win", NULL
15813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15817 if (!wxPyCheckForApp()) SWIG_fail
;
15818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15819 result
= (wxClientDC
*)new wxClientDC(arg1
);
15821 wxPyEndAllowThreads(__tstate
);
15822 if (PyErr_Occurred()) SWIG_fail
;
15824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15831 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
15833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15834 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15836 return Py_BuildValue((char *)"");
15838 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15839 PyObject
*resultobj
;
15840 wxWindow
*arg1
= (wxWindow
*) 0 ;
15842 PyObject
* obj0
= 0 ;
15843 char *kwnames
[] = {
15844 (char *) "win", NULL
15847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15851 if (!wxPyCheckForApp()) SWIG_fail
;
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15855 wxPyEndAllowThreads(__tstate
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15865 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
15867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15868 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15870 return Py_BuildValue((char *)"");
15872 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15873 PyObject
*resultobj
;
15874 wxWindow
*arg1
= (wxWindow
*) 0 ;
15875 wxWindowDC
*result
;
15876 PyObject
* obj0
= 0 ;
15877 char *kwnames
[] = {
15878 (char *) "win", NULL
15881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15885 if (!wxPyCheckForApp()) SWIG_fail
;
15886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15887 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15889 wxPyEndAllowThreads(__tstate
);
15890 if (PyErr_Occurred()) SWIG_fail
;
15892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15899 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
15901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15902 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15904 return Py_BuildValue((char *)"");
15906 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15907 PyObject
*resultobj
;
15910 wxMirrorDC
*result
;
15911 PyObject
* obj0
= 0 ;
15912 PyObject
* obj1
= 0 ;
15913 char *kwnames
[] = {
15914 (char *) "dc",(char *) "mirror", NULL
15917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15919 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15921 if (arg1
== NULL
) {
15922 PyErr_SetString(PyExc_TypeError
,"null reference");
15925 arg2
= (bool)SWIG_As_bool(obj1
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15928 if (!wxPyCheckForApp()) SWIG_fail
;
15929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15930 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15932 wxPyEndAllowThreads(__tstate
);
15933 if (PyErr_Occurred()) SWIG_fail
;
15935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15942 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
15944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15945 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15947 return Py_BuildValue((char *)"");
15949 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15950 PyObject
*resultobj
;
15951 wxPrintData
*arg1
= 0 ;
15952 wxPostScriptDC
*result
;
15953 PyObject
* obj0
= 0 ;
15954 char *kwnames
[] = {
15955 (char *) "printData", NULL
15958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15960 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15962 if (arg1
== NULL
) {
15963 PyErr_SetString(PyExc_TypeError
,"null reference");
15967 if (!wxPyCheckForApp()) SWIG_fail
;
15968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15969 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15971 wxPyEndAllowThreads(__tstate
);
15972 if (PyErr_Occurred()) SWIG_fail
;
15974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15981 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15982 PyObject
*resultobj
;
15983 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15984 wxPrintData
*result
;
15985 PyObject
* obj0
= 0 ;
15986 char *kwnames
[] = {
15987 (char *) "self", NULL
15990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15996 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15997 result
= (wxPrintData
*) &_result_ref
;
16000 wxPyEndAllowThreads(__tstate
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
16010 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16011 PyObject
*resultobj
;
16012 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16013 wxPrintData
*arg2
= 0 ;
16014 PyObject
* obj0
= 0 ;
16015 PyObject
* obj1
= 0 ;
16016 char *kwnames
[] = {
16017 (char *) "self",(char *) "data", NULL
16020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
16021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
16024 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16026 if (arg2
== NULL
) {
16027 PyErr_SetString(PyExc_TypeError
,"null reference");
16031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16032 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
16034 wxPyEndAllowThreads(__tstate
);
16035 if (PyErr_Occurred()) SWIG_fail
;
16037 Py_INCREF(Py_None
); resultobj
= Py_None
;
16044 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16045 PyObject
*resultobj
;
16047 PyObject
* obj0
= 0 ;
16048 char *kwnames
[] = {
16049 (char *) "ppi", NULL
16052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
16053 arg1
= (int)SWIG_As_int(obj0
);
16054 if (PyErr_Occurred()) SWIG_fail
;
16056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16057 wxPostScriptDC::SetResolution(arg1
);
16059 wxPyEndAllowThreads(__tstate
);
16060 if (PyErr_Occurred()) SWIG_fail
;
16062 Py_INCREF(Py_None
); resultobj
= Py_None
;
16069 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16070 PyObject
*resultobj
;
16072 char *kwnames
[] = {
16076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
16078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16079 result
= (int)wxPostScriptDC::GetResolution();
16081 wxPyEndAllowThreads(__tstate
);
16082 if (PyErr_Occurred()) SWIG_fail
;
16084 resultobj
= SWIG_From_int((int)result
);
16091 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
16093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16094 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
16096 return Py_BuildValue((char *)"");
16098 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16099 PyObject
*resultobj
;
16100 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16101 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16102 wxMetaFile
*result
;
16103 bool temp1
= false ;
16104 PyObject
* obj0
= 0 ;
16105 char *kwnames
[] = {
16106 (char *) "filename", NULL
16109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
16112 arg1
= wxString_in_helper(obj0
);
16113 if (arg1
== NULL
) SWIG_fail
;
16118 if (!wxPyCheckForApp()) SWIG_fail
;
16119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16120 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
16122 wxPyEndAllowThreads(__tstate
);
16123 if (PyErr_Occurred()) SWIG_fail
;
16125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
16140 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
16142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16143 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
16145 return Py_BuildValue((char *)"");
16147 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16148 PyObject
*resultobj
;
16149 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16150 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16151 int arg2
= (int) 0 ;
16152 int arg3
= (int) 0 ;
16153 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16154 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16155 wxMetaFileDC
*result
;
16156 bool temp1
= false ;
16157 bool temp4
= false ;
16158 PyObject
* obj0
= 0 ;
16159 PyObject
* obj1
= 0 ;
16160 PyObject
* obj2
= 0 ;
16161 PyObject
* obj3
= 0 ;
16162 char *kwnames
[] = {
16163 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
16166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16169 arg1
= wxString_in_helper(obj0
);
16170 if (arg1
== NULL
) SWIG_fail
;
16175 arg2
= (int)SWIG_As_int(obj1
);
16176 if (PyErr_Occurred()) SWIG_fail
;
16179 arg3
= (int)SWIG_As_int(obj2
);
16180 if (PyErr_Occurred()) SWIG_fail
;
16184 arg4
= wxString_in_helper(obj3
);
16185 if (arg4
== NULL
) SWIG_fail
;
16190 if (!wxPyCheckForApp()) SWIG_fail
;
16191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16192 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
16194 wxPyEndAllowThreads(__tstate
);
16195 if (PyErr_Occurred()) SWIG_fail
;
16197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
16220 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
16222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16223 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
16225 return Py_BuildValue((char *)"");
16227 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16228 PyObject
*resultobj
;
16229 wxPrintData
*arg1
= 0 ;
16230 wxPrinterDC
*result
;
16231 PyObject
* obj0
= 0 ;
16232 char *kwnames
[] = {
16233 (char *) "printData", NULL
16236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16238 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16240 if (arg1
== NULL
) {
16241 PyErr_SetString(PyExc_TypeError
,"null reference");
16245 if (!wxPyCheckForApp()) SWIG_fail
;
16246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16247 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16249 wxPyEndAllowThreads(__tstate
);
16250 if (PyErr_Occurred()) SWIG_fail
;
16252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16259 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
16261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16262 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16264 return Py_BuildValue((char *)"");
16266 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16267 PyObject
*resultobj
;
16270 int arg3
= (int) true ;
16271 int arg4
= (int) 1 ;
16272 wxImageList
*result
;
16273 PyObject
* obj0
= 0 ;
16274 PyObject
* obj1
= 0 ;
16275 PyObject
* obj2
= 0 ;
16276 PyObject
* obj3
= 0 ;
16277 char *kwnames
[] = {
16278 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16282 arg1
= (int)SWIG_As_int(obj0
);
16283 if (PyErr_Occurred()) SWIG_fail
;
16284 arg2
= (int)SWIG_As_int(obj1
);
16285 if (PyErr_Occurred()) SWIG_fail
;
16287 arg3
= (int)SWIG_As_int(obj2
);
16288 if (PyErr_Occurred()) SWIG_fail
;
16291 arg4
= (int)SWIG_As_int(obj3
);
16292 if (PyErr_Occurred()) SWIG_fail
;
16295 if (!wxPyCheckForApp()) SWIG_fail
;
16296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16297 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16299 wxPyEndAllowThreads(__tstate
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16303 resultobj
= wxPyMake_wxObject(result
, 1);
16311 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16312 PyObject
*resultobj
;
16313 wxImageList
*arg1
= (wxImageList
*) 0 ;
16314 PyObject
* obj0
= 0 ;
16315 char *kwnames
[] = {
16316 (char *) "self", NULL
16319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16326 wxPyEndAllowThreads(__tstate
);
16327 if (PyErr_Occurred()) SWIG_fail
;
16329 Py_INCREF(Py_None
); resultobj
= Py_None
;
16336 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16337 PyObject
*resultobj
;
16338 wxImageList
*arg1
= (wxImageList
*) 0 ;
16339 wxBitmap
*arg2
= 0 ;
16340 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16341 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16343 PyObject
* obj0
= 0 ;
16344 PyObject
* obj1
= 0 ;
16345 PyObject
* obj2
= 0 ;
16346 char *kwnames
[] = {
16347 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16354 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16356 if (arg2
== NULL
) {
16357 PyErr_SetString(PyExc_TypeError
,"null reference");
16361 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16362 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16364 if (arg3
== NULL
) {
16365 PyErr_SetString(PyExc_TypeError
,"null reference");
16370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16371 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16373 wxPyEndAllowThreads(__tstate
);
16374 if (PyErr_Occurred()) SWIG_fail
;
16376 resultobj
= SWIG_From_int((int)result
);
16383 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16384 PyObject
*resultobj
;
16385 wxImageList
*arg1
= (wxImageList
*) 0 ;
16386 wxBitmap
*arg2
= 0 ;
16387 wxColour
*arg3
= 0 ;
16390 PyObject
* obj0
= 0 ;
16391 PyObject
* obj1
= 0 ;
16392 PyObject
* obj2
= 0 ;
16393 char *kwnames
[] = {
16394 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16401 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16403 if (arg2
== NULL
) {
16404 PyErr_SetString(PyExc_TypeError
,"null reference");
16409 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16413 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16415 wxPyEndAllowThreads(__tstate
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16418 resultobj
= SWIG_From_int((int)result
);
16425 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16426 PyObject
*resultobj
;
16427 wxImageList
*arg1
= (wxImageList
*) 0 ;
16430 PyObject
* obj0
= 0 ;
16431 PyObject
* obj1
= 0 ;
16432 char *kwnames
[] = {
16433 (char *) "self",(char *) "icon", NULL
16436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16440 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16442 if (arg2
== NULL
) {
16443 PyErr_SetString(PyExc_TypeError
,"null reference");
16447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16448 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16450 wxPyEndAllowThreads(__tstate
);
16451 if (PyErr_Occurred()) SWIG_fail
;
16453 resultobj
= SWIG_From_int((int)result
);
16460 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16461 PyObject
*resultobj
;
16462 wxImageList
*arg1
= (wxImageList
*) 0 ;
16464 wxBitmap
*arg3
= 0 ;
16466 PyObject
* obj0
= 0 ;
16467 PyObject
* obj1
= 0 ;
16468 PyObject
* obj2
= 0 ;
16469 char *kwnames
[] = {
16470 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16476 arg2
= (int)SWIG_As_int(obj1
);
16477 if (PyErr_Occurred()) SWIG_fail
;
16478 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16479 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16481 if (arg3
== NULL
) {
16482 PyErr_SetString(PyExc_TypeError
,"null reference");
16486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16487 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16489 wxPyEndAllowThreads(__tstate
);
16490 if (PyErr_Occurred()) SWIG_fail
;
16493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16501 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16502 PyObject
*resultobj
;
16503 wxImageList
*arg1
= (wxImageList
*) 0 ;
16508 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16509 bool arg7
= (bool) (bool)false ;
16511 PyObject
* obj0
= 0 ;
16512 PyObject
* obj1
= 0 ;
16513 PyObject
* obj2
= 0 ;
16514 PyObject
* obj3
= 0 ;
16515 PyObject
* obj4
= 0 ;
16516 PyObject
* obj5
= 0 ;
16517 PyObject
* obj6
= 0 ;
16518 char *kwnames
[] = {
16519 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16525 arg2
= (int)SWIG_As_int(obj1
);
16526 if (PyErr_Occurred()) SWIG_fail
;
16527 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16528 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16530 if (arg3
== NULL
) {
16531 PyErr_SetString(PyExc_TypeError
,"null reference");
16534 arg4
= (int)SWIG_As_int(obj3
);
16535 if (PyErr_Occurred()) SWIG_fail
;
16536 arg5
= (int)SWIG_As_int(obj4
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16539 arg6
= (int)SWIG_As_int(obj5
);
16540 if (PyErr_Occurred()) SWIG_fail
;
16543 arg7
= (bool)SWIG_As_bool(obj6
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16548 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16550 wxPyEndAllowThreads(__tstate
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16562 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16563 PyObject
*resultobj
;
16564 wxImageList
*arg1
= (wxImageList
*) 0 ;
16566 PyObject
* obj0
= 0 ;
16567 char *kwnames
[] = {
16568 (char *) "self", NULL
16571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16576 result
= (int)(arg1
)->GetImageCount();
16578 wxPyEndAllowThreads(__tstate
);
16579 if (PyErr_Occurred()) SWIG_fail
;
16581 resultobj
= SWIG_From_int((int)result
);
16588 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16589 PyObject
*resultobj
;
16590 wxImageList
*arg1
= (wxImageList
*) 0 ;
16593 PyObject
* obj0
= 0 ;
16594 PyObject
* obj1
= 0 ;
16595 char *kwnames
[] = {
16596 (char *) "self",(char *) "index", NULL
16599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16602 arg2
= (int)SWIG_As_int(obj1
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16606 result
= (bool)(arg1
)->Remove(arg2
);
16608 wxPyEndAllowThreads(__tstate
);
16609 if (PyErr_Occurred()) SWIG_fail
;
16612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16620 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16621 PyObject
*resultobj
;
16622 wxImageList
*arg1
= (wxImageList
*) 0 ;
16624 PyObject
* obj0
= 0 ;
16625 char *kwnames
[] = {
16626 (char *) "self", NULL
16629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16634 result
= (bool)(arg1
)->RemoveAll();
16636 wxPyEndAllowThreads(__tstate
);
16637 if (PyErr_Occurred()) SWIG_fail
;
16640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16648 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16649 PyObject
*resultobj
;
16650 wxImageList
*arg1
= (wxImageList
*) 0 ;
16658 PyObject
* obj0
= 0 ;
16659 PyObject
* obj1
= 0 ;
16660 char *kwnames
[] = {
16661 (char *) "self",(char *) "index", NULL
16664 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16665 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
16666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16669 arg2
= (int)SWIG_As_int(obj1
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16673 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16675 wxPyEndAllowThreads(__tstate
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16678 Py_INCREF(Py_None
); resultobj
= Py_None
;
16679 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16680 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16681 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
16682 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
16689 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
16691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16692 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16694 return Py_BuildValue((char *)"");
16696 static int _wrap_NORMAL_FONT_set(PyObject
*) {
16697 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16702 static PyObject
*_wrap_NORMAL_FONT_get() {
16705 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16710 static int _wrap_SMALL_FONT_set(PyObject
*) {
16711 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16716 static PyObject
*_wrap_SMALL_FONT_get() {
16719 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16724 static int _wrap_ITALIC_FONT_set(PyObject
*) {
16725 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16730 static PyObject
*_wrap_ITALIC_FONT_get() {
16733 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16738 static int _wrap_SWISS_FONT_set(PyObject
*) {
16739 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16744 static PyObject
*_wrap_SWISS_FONT_get() {
16747 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16752 static int _wrap_RED_PEN_set(PyObject
*) {
16753 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16758 static PyObject
*_wrap_RED_PEN_get() {
16761 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16766 static int _wrap_CYAN_PEN_set(PyObject
*) {
16767 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16772 static PyObject
*_wrap_CYAN_PEN_get() {
16775 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16780 static int _wrap_GREEN_PEN_set(PyObject
*) {
16781 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16786 static PyObject
*_wrap_GREEN_PEN_get() {
16789 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16794 static int _wrap_BLACK_PEN_set(PyObject
*) {
16795 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16800 static PyObject
*_wrap_BLACK_PEN_get() {
16803 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16808 static int _wrap_WHITE_PEN_set(PyObject
*) {
16809 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16814 static PyObject
*_wrap_WHITE_PEN_get() {
16817 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16822 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
16823 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16828 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16831 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16836 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
16837 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16842 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16845 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16850 static int _wrap_GREY_PEN_set(PyObject
*) {
16851 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16856 static PyObject
*_wrap_GREY_PEN_get() {
16859 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16864 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
16865 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16870 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16873 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16878 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
16879 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16884 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16887 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16892 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
16893 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16898 static PyObject
*_wrap_BLUE_BRUSH_get() {
16901 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16906 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
16907 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16912 static PyObject
*_wrap_GREEN_BRUSH_get() {
16915 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16920 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
16921 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16926 static PyObject
*_wrap_WHITE_BRUSH_get() {
16929 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16934 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
16935 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16940 static PyObject
*_wrap_BLACK_BRUSH_get() {
16943 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16948 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
16949 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16954 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16957 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16962 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
16963 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16968 static PyObject
*_wrap_CYAN_BRUSH_get() {
16971 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16976 static int _wrap_RED_BRUSH_set(PyObject
*) {
16977 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16982 static PyObject
*_wrap_RED_BRUSH_get() {
16985 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16990 static int _wrap_GREY_BRUSH_set(PyObject
*) {
16991 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16996 static PyObject
*_wrap_GREY_BRUSH_get() {
16999 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17004 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
17005 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
17010 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
17013 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17018 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
17019 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
17024 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
17027 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17032 static int _wrap_BLACK_set(PyObject
*) {
17033 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
17038 static PyObject
*_wrap_BLACK_get() {
17041 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
17046 static int _wrap_WHITE_set(PyObject
*) {
17047 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
17052 static PyObject
*_wrap_WHITE_get() {
17055 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
17060 static int _wrap_RED_set(PyObject
*) {
17061 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
17066 static PyObject
*_wrap_RED_get() {
17069 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
17074 static int _wrap_BLUE_set(PyObject
*) {
17075 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
17080 static PyObject
*_wrap_BLUE_get() {
17083 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
17088 static int _wrap_GREEN_set(PyObject
*) {
17089 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
17094 static PyObject
*_wrap_GREEN_get() {
17097 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
17102 static int _wrap_CYAN_set(PyObject
*) {
17103 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
17108 static PyObject
*_wrap_CYAN_get() {
17111 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
17116 static int _wrap_LIGHT_GREY_set(PyObject
*) {
17117 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
17122 static PyObject
*_wrap_LIGHT_GREY_get() {
17125 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
17130 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
17131 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
17136 static PyObject
*_wrap_STANDARD_CURSOR_get() {
17139 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17144 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
17145 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
17150 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
17153 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17158 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
17159 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
17164 static PyObject
*_wrap_CROSS_CURSOR_get() {
17167 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17172 static int _wrap_NullBitmap_set(PyObject
*) {
17173 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
17178 static PyObject
*_wrap_NullBitmap_get() {
17181 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
17186 static int _wrap_NullIcon_set(PyObject
*) {
17187 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
17192 static PyObject
*_wrap_NullIcon_get() {
17195 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
17200 static int _wrap_NullCursor_set(PyObject
*) {
17201 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
17206 static PyObject
*_wrap_NullCursor_get() {
17209 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
17214 static int _wrap_NullPen_set(PyObject
*) {
17215 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
17220 static PyObject
*_wrap_NullPen_get() {
17223 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
17228 static int _wrap_NullBrush_set(PyObject
*) {
17229 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17234 static PyObject
*_wrap_NullBrush_get() {
17237 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
17242 static int _wrap_NullPalette_set(PyObject
*) {
17243 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17248 static PyObject
*_wrap_NullPalette_get() {
17251 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17256 static int _wrap_NullFont_set(PyObject
*) {
17257 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17262 static PyObject
*_wrap_NullFont_get() {
17265 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17270 static int _wrap_NullColour_set(PyObject
*) {
17271 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17276 static PyObject
*_wrap_NullColour_get() {
17279 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17284 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
;
17286 wxPenList
*arg1
= (wxPenList
*) 0 ;
17287 wxPen
*arg2
= (wxPen
*) 0 ;
17288 PyObject
* obj0
= 0 ;
17289 PyObject
* obj1
= 0 ;
17290 char *kwnames
[] = {
17291 (char *) "self",(char *) "pen", NULL
17294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17301 (arg1
)->AddPen(arg2
);
17303 wxPyEndAllowThreads(__tstate
);
17304 if (PyErr_Occurred()) SWIG_fail
;
17306 Py_INCREF(Py_None
); resultobj
= Py_None
;
17313 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17314 PyObject
*resultobj
;
17315 wxPenList
*arg1
= (wxPenList
*) 0 ;
17316 wxColour
*arg2
= 0 ;
17321 PyObject
* obj0
= 0 ;
17322 PyObject
* obj1
= 0 ;
17323 PyObject
* obj2
= 0 ;
17324 PyObject
* obj3
= 0 ;
17325 char *kwnames
[] = {
17326 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17334 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17336 arg3
= (int)SWIG_As_int(obj2
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17338 arg4
= (int)SWIG_As_int(obj3
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17342 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17344 wxPyEndAllowThreads(__tstate
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17354 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17356 wxPenList
*arg1
= (wxPenList
*) 0 ;
17357 wxPen
*arg2
= (wxPen
*) 0 ;
17358 PyObject
* obj0
= 0 ;
17359 PyObject
* obj1
= 0 ;
17360 char *kwnames
[] = {
17361 (char *) "self",(char *) "pen", NULL
17364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17367 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17371 (arg1
)->RemovePen(arg2
);
17373 wxPyEndAllowThreads(__tstate
);
17374 if (PyErr_Occurred()) SWIG_fail
;
17376 Py_INCREF(Py_None
); resultobj
= Py_None
;
17383 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17384 PyObject
*resultobj
;
17385 wxPenList
*arg1
= (wxPenList
*) 0 ;
17387 PyObject
* obj0
= 0 ;
17388 char *kwnames
[] = {
17389 (char *) "self", NULL
17392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17397 result
= (int)(arg1
)->GetCount();
17399 wxPyEndAllowThreads(__tstate
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17402 resultobj
= SWIG_From_int((int)result
);
17409 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
17411 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17412 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17414 return Py_BuildValue((char *)"");
17416 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17417 PyObject
*resultobj
;
17418 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17419 wxBrush
*arg2
= (wxBrush
*) 0 ;
17420 PyObject
* obj0
= 0 ;
17421 PyObject
* obj1
= 0 ;
17422 char *kwnames
[] = {
17423 (char *) "self",(char *) "brush", NULL
17426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 (arg1
)->AddBrush(arg2
);
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17438 Py_INCREF(Py_None
); resultobj
= Py_None
;
17445 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17446 PyObject
*resultobj
;
17447 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17448 wxColour
*arg2
= 0 ;
17452 PyObject
* obj0
= 0 ;
17453 PyObject
* obj1
= 0 ;
17454 PyObject
* obj2
= 0 ;
17455 char *kwnames
[] = {
17456 (char *) "self",(char *) "colour",(char *) "style", NULL
17459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17464 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17466 arg3
= (int)SWIG_As_int(obj2
);
17467 if (PyErr_Occurred()) SWIG_fail
;
17469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17470 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17472 wxPyEndAllowThreads(__tstate
);
17473 if (PyErr_Occurred()) SWIG_fail
;
17475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17482 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17483 PyObject
*resultobj
;
17484 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17485 wxBrush
*arg2
= (wxBrush
*) 0 ;
17486 PyObject
* obj0
= 0 ;
17487 PyObject
* obj1
= 0 ;
17488 char *kwnames
[] = {
17489 (char *) "self",(char *) "brush", NULL
17492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17495 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17499 (arg1
)->RemoveBrush(arg2
);
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17504 Py_INCREF(Py_None
); resultobj
= Py_None
;
17511 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17512 PyObject
*resultobj
;
17513 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17515 PyObject
* obj0
= 0 ;
17516 char *kwnames
[] = {
17517 (char *) "self", NULL
17520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 result
= (int)(arg1
)->GetCount();
17527 wxPyEndAllowThreads(__tstate
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17530 resultobj
= SWIG_From_int((int)result
);
17537 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
17539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17540 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17542 return Py_BuildValue((char *)"");
17544 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17545 PyObject
*resultobj
;
17546 wxColourDatabase
*result
;
17547 char *kwnames
[] = {
17551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17553 if (!wxPyCheckForApp()) SWIG_fail
;
17554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17555 result
= (wxColourDatabase
*)new wxColourDatabase();
17557 wxPyEndAllowThreads(__tstate
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17567 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17568 PyObject
*resultobj
;
17569 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17570 PyObject
* obj0
= 0 ;
17571 char *kwnames
[] = {
17572 (char *) "self", NULL
17575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17582 wxPyEndAllowThreads(__tstate
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17585 Py_INCREF(Py_None
); resultobj
= Py_None
;
17592 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17593 PyObject
*resultobj
;
17594 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17595 wxString
*arg2
= 0 ;
17597 bool temp2
= false ;
17598 PyObject
* obj0
= 0 ;
17599 PyObject
* obj1
= 0 ;
17600 char *kwnames
[] = {
17601 (char *) "self",(char *) "name", NULL
17604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17608 arg2
= wxString_in_helper(obj1
);
17609 if (arg2
== NULL
) SWIG_fail
;
17613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17614 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17616 wxPyEndAllowThreads(__tstate
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17620 wxColour
* resultptr
;
17621 resultptr
= new wxColour((wxColour
&) result
);
17622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17638 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17639 PyObject
*resultobj
;
17640 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17641 wxColour
*arg2
= 0 ;
17644 PyObject
* obj0
= 0 ;
17645 PyObject
* obj1
= 0 ;
17646 char *kwnames
[] = {
17647 (char *) "self",(char *) "colour", NULL
17650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17655 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17659 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17661 wxPyEndAllowThreads(__tstate
);
17662 if (PyErr_Occurred()) SWIG_fail
;
17666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17677 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17678 PyObject
*resultobj
;
17679 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17680 wxString
*arg2
= 0 ;
17681 wxColour
*arg3
= 0 ;
17682 bool temp2
= false ;
17684 PyObject
* obj0
= 0 ;
17685 PyObject
* obj1
= 0 ;
17686 PyObject
* obj2
= 0 ;
17687 char *kwnames
[] = {
17688 (char *) "self",(char *) "name",(char *) "colour", NULL
17691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17695 arg2
= wxString_in_helper(obj1
);
17696 if (arg2
== NULL
) SWIG_fail
;
17701 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17705 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17707 wxPyEndAllowThreads(__tstate
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17710 Py_INCREF(Py_None
); resultobj
= Py_None
;
17725 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17726 PyObject
*resultobj
;
17727 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17728 wxString
*arg2
= 0 ;
17732 bool temp2
= false ;
17733 PyObject
* obj0
= 0 ;
17734 PyObject
* obj1
= 0 ;
17735 PyObject
* obj2
= 0 ;
17736 PyObject
* obj3
= 0 ;
17737 PyObject
* obj4
= 0 ;
17738 char *kwnames
[] = {
17739 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17746 arg2
= wxString_in_helper(obj1
);
17747 if (arg2
== NULL
) SWIG_fail
;
17750 arg3
= (int)SWIG_As_int(obj2
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17752 arg4
= (int)SWIG_As_int(obj3
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17754 arg5
= (int)SWIG_As_int(obj4
);
17755 if (PyErr_Occurred()) SWIG_fail
;
17757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17758 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17760 wxPyEndAllowThreads(__tstate
);
17761 if (PyErr_Occurred()) SWIG_fail
;
17763 Py_INCREF(Py_None
); resultobj
= Py_None
;
17778 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
17780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17781 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17783 return Py_BuildValue((char *)"");
17785 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17786 PyObject
*resultobj
;
17787 wxFontList
*arg1
= (wxFontList
*) 0 ;
17788 wxFont
*arg2
= (wxFont
*) 0 ;
17789 PyObject
* obj0
= 0 ;
17790 PyObject
* obj1
= 0 ;
17791 char *kwnames
[] = {
17792 (char *) "self",(char *) "font", NULL
17795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17802 (arg1
)->AddFont(arg2
);
17804 wxPyEndAllowThreads(__tstate
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17807 Py_INCREF(Py_None
); resultobj
= Py_None
;
17814 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17815 PyObject
*resultobj
;
17816 wxFontList
*arg1
= (wxFontList
*) 0 ;
17821 bool arg6
= (bool) false ;
17822 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17823 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17824 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17826 bool temp7
= false ;
17827 PyObject
* obj0
= 0 ;
17828 PyObject
* obj1
= 0 ;
17829 PyObject
* obj2
= 0 ;
17830 PyObject
* obj3
= 0 ;
17831 PyObject
* obj4
= 0 ;
17832 PyObject
* obj5
= 0 ;
17833 PyObject
* obj6
= 0 ;
17834 PyObject
* obj7
= 0 ;
17835 char *kwnames
[] = {
17836 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17842 arg2
= (int)SWIG_As_int(obj1
);
17843 if (PyErr_Occurred()) SWIG_fail
;
17844 arg3
= (int)SWIG_As_int(obj2
);
17845 if (PyErr_Occurred()) SWIG_fail
;
17846 arg4
= (int)SWIG_As_int(obj3
);
17847 if (PyErr_Occurred()) SWIG_fail
;
17848 arg5
= (int)SWIG_As_int(obj4
);
17849 if (PyErr_Occurred()) SWIG_fail
;
17851 arg6
= (bool)SWIG_As_bool(obj5
);
17852 if (PyErr_Occurred()) SWIG_fail
;
17856 arg7
= wxString_in_helper(obj6
);
17857 if (arg7
== NULL
) SWIG_fail
;
17862 arg8
= (int)SWIG_As_int(obj7
);
17863 if (PyErr_Occurred()) SWIG_fail
;
17866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17867 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17869 wxPyEndAllowThreads(__tstate
);
17870 if (PyErr_Occurred()) SWIG_fail
;
17872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17887 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17888 PyObject
*resultobj
;
17889 wxFontList
*arg1
= (wxFontList
*) 0 ;
17890 wxFont
*arg2
= (wxFont
*) 0 ;
17891 PyObject
* obj0
= 0 ;
17892 PyObject
* obj1
= 0 ;
17893 char *kwnames
[] = {
17894 (char *) "self",(char *) "font", NULL
17897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17900 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17904 (arg1
)->RemoveFont(arg2
);
17906 wxPyEndAllowThreads(__tstate
);
17907 if (PyErr_Occurred()) SWIG_fail
;
17909 Py_INCREF(Py_None
); resultobj
= Py_None
;
17916 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17917 PyObject
*resultobj
;
17918 wxFontList
*arg1
= (wxFontList
*) 0 ;
17920 PyObject
* obj0
= 0 ;
17921 char *kwnames
[] = {
17922 (char *) "self", NULL
17925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17930 result
= (int)(arg1
)->GetCount();
17932 wxPyEndAllowThreads(__tstate
);
17933 if (PyErr_Occurred()) SWIG_fail
;
17935 resultobj
= SWIG_From_int((int)result
);
17942 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
17944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17945 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17947 return Py_BuildValue((char *)"");
17949 static int _wrap_TheFontList_set(PyObject
*) {
17950 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17955 static PyObject
*_wrap_TheFontList_get() {
17958 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
17963 static int _wrap_ThePenList_set(PyObject
*) {
17964 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17969 static PyObject
*_wrap_ThePenList_get() {
17972 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
17977 static int _wrap_TheBrushList_set(PyObject
*) {
17978 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17983 static PyObject
*_wrap_TheBrushList_get() {
17986 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
17991 static int _wrap_TheColourDatabase_set(PyObject
*) {
17992 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17997 static PyObject
*_wrap_TheColourDatabase_get() {
18000 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
18005 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
;
18008 char *kwnames
[] = {
18012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
18014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18015 result
= (wxEffects
*)new wxEffects();
18017 wxPyEndAllowThreads(__tstate
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
18027 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18028 PyObject
*resultobj
;
18029 wxEffects
*arg1
= (wxEffects
*) 0 ;
18031 PyObject
* obj0
= 0 ;
18032 char *kwnames
[] = {
18033 (char *) "self", NULL
18036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
18037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18041 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
18043 wxPyEndAllowThreads(__tstate
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18047 wxColour
* resultptr
;
18048 resultptr
= new wxColour((wxColour
&) result
);
18049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18057 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18058 PyObject
*resultobj
;
18059 wxEffects
*arg1
= (wxEffects
*) 0 ;
18061 PyObject
* obj0
= 0 ;
18062 char *kwnames
[] = {
18063 (char *) "self", NULL
18066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
18067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18071 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18077 wxColour
* resultptr
;
18078 resultptr
= new wxColour((wxColour
&) result
);
18079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18087 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18088 PyObject
*resultobj
;
18089 wxEffects
*arg1
= (wxEffects
*) 0 ;
18091 PyObject
* obj0
= 0 ;
18092 char *kwnames
[] = {
18093 (char *) "self", NULL
18096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
18097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18101 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
18103 wxPyEndAllowThreads(__tstate
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18107 wxColour
* resultptr
;
18108 resultptr
= new wxColour((wxColour
&) result
);
18109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18117 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18118 PyObject
*resultobj
;
18119 wxEffects
*arg1
= (wxEffects
*) 0 ;
18121 PyObject
* obj0
= 0 ;
18122 char *kwnames
[] = {
18123 (char *) "self", NULL
18126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
18127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18137 wxColour
* resultptr
;
18138 resultptr
= new wxColour((wxColour
&) result
);
18139 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18147 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18148 PyObject
*resultobj
;
18149 wxEffects
*arg1
= (wxEffects
*) 0 ;
18151 PyObject
* obj0
= 0 ;
18152 char *kwnames
[] = {
18153 (char *) "self", NULL
18156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
18157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18161 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
18163 wxPyEndAllowThreads(__tstate
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18167 wxColour
* resultptr
;
18168 resultptr
= new wxColour((wxColour
&) result
);
18169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18177 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18178 PyObject
*resultobj
;
18179 wxEffects
*arg1
= (wxEffects
*) 0 ;
18180 wxColour
*arg2
= 0 ;
18182 PyObject
* obj0
= 0 ;
18183 PyObject
* obj1
= 0 ;
18184 char *kwnames
[] = {
18185 (char *) "self",(char *) "c", NULL
18188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18193 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18197 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
18199 wxPyEndAllowThreads(__tstate
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18202 Py_INCREF(Py_None
); resultobj
= Py_None
;
18209 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18210 PyObject
*resultobj
;
18211 wxEffects
*arg1
= (wxEffects
*) 0 ;
18212 wxColour
*arg2
= 0 ;
18214 PyObject
* obj0
= 0 ;
18215 PyObject
* obj1
= 0 ;
18216 char *kwnames
[] = {
18217 (char *) "self",(char *) "c", NULL
18220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18225 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18229 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18231 wxPyEndAllowThreads(__tstate
);
18232 if (PyErr_Occurred()) SWIG_fail
;
18234 Py_INCREF(Py_None
); resultobj
= Py_None
;
18241 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18242 PyObject
*resultobj
;
18243 wxEffects
*arg1
= (wxEffects
*) 0 ;
18244 wxColour
*arg2
= 0 ;
18246 PyObject
* obj0
= 0 ;
18247 PyObject
* obj1
= 0 ;
18248 char *kwnames
[] = {
18249 (char *) "self",(char *) "c", NULL
18252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18257 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18261 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18263 wxPyEndAllowThreads(__tstate
);
18264 if (PyErr_Occurred()) SWIG_fail
;
18266 Py_INCREF(Py_None
); resultobj
= Py_None
;
18273 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18274 PyObject
*resultobj
;
18275 wxEffects
*arg1
= (wxEffects
*) 0 ;
18276 wxColour
*arg2
= 0 ;
18278 PyObject
* obj0
= 0 ;
18279 PyObject
* obj1
= 0 ;
18280 char *kwnames
[] = {
18281 (char *) "self",(char *) "c", NULL
18284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18289 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18293 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18295 wxPyEndAllowThreads(__tstate
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18298 Py_INCREF(Py_None
); resultobj
= Py_None
;
18305 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18306 PyObject
*resultobj
;
18307 wxEffects
*arg1
= (wxEffects
*) 0 ;
18308 wxColour
*arg2
= 0 ;
18310 PyObject
* obj0
= 0 ;
18311 PyObject
* obj1
= 0 ;
18312 char *kwnames
[] = {
18313 (char *) "self",(char *) "c", NULL
18316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18321 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18325 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18327 wxPyEndAllowThreads(__tstate
);
18328 if (PyErr_Occurred()) SWIG_fail
;
18330 Py_INCREF(Py_None
); resultobj
= Py_None
;
18337 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18338 PyObject
*resultobj
;
18339 wxEffects
*arg1
= (wxEffects
*) 0 ;
18340 wxColour
*arg2
= 0 ;
18341 wxColour
*arg3
= 0 ;
18342 wxColour
*arg4
= 0 ;
18343 wxColour
*arg5
= 0 ;
18344 wxColour
*arg6
= 0 ;
18350 PyObject
* obj0
= 0 ;
18351 PyObject
* obj1
= 0 ;
18352 PyObject
* obj2
= 0 ;
18353 PyObject
* obj3
= 0 ;
18354 PyObject
* obj4
= 0 ;
18355 PyObject
* obj5
= 0 ;
18356 char *kwnames
[] = {
18357 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18365 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18369 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18373 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18377 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18381 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18385 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18387 wxPyEndAllowThreads(__tstate
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18390 Py_INCREF(Py_None
); resultobj
= Py_None
;
18397 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18398 PyObject
*resultobj
;
18399 wxEffects
*arg1
= (wxEffects
*) 0 ;
18402 int arg4
= (int) 1 ;
18404 PyObject
* obj0
= 0 ;
18405 PyObject
* obj1
= 0 ;
18406 PyObject
* obj2
= 0 ;
18407 PyObject
* obj3
= 0 ;
18408 char *kwnames
[] = {
18409 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18416 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18418 if (arg2
== NULL
) {
18419 PyErr_SetString(PyExc_TypeError
,"null reference");
18424 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18427 arg4
= (int)SWIG_As_int(obj3
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18432 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18434 wxPyEndAllowThreads(__tstate
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18437 Py_INCREF(Py_None
); resultobj
= Py_None
;
18444 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18445 PyObject
*resultobj
;
18446 wxEffects
*arg1
= (wxEffects
*) 0 ;
18449 wxBitmap
*arg4
= 0 ;
18452 PyObject
* obj0
= 0 ;
18453 PyObject
* obj1
= 0 ;
18454 PyObject
* obj2
= 0 ;
18455 PyObject
* obj3
= 0 ;
18456 char *kwnames
[] = {
18457 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18465 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18467 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18468 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18470 if (arg3
== NULL
) {
18471 PyErr_SetString(PyExc_TypeError
,"null reference");
18474 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18475 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18477 if (arg4
== NULL
) {
18478 PyErr_SetString(PyExc_TypeError
,"null reference");
18482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18483 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18485 wxPyEndAllowThreads(__tstate
);
18486 if (PyErr_Occurred()) SWIG_fail
;
18489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18497 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
18499 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18500 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18502 return Py_BuildValue((char *)"");
18504 static PyMethodDef SwigMethods
[] = {
18505 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18506 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18507 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18508 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18509 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18510 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
18511 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18512 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18513 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18514 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18515 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18516 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18517 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18518 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18519 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18520 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18521 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18522 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18523 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18524 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18525 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18526 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18527 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
18528 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18529 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18530 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18531 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18532 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18533 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
18534 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18535 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18536 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18537 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18538 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18539 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18540 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18541 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18542 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18543 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18544 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18545 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18546 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18547 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18548 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18549 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18550 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18551 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18552 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18553 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
18554 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18555 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18556 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18557 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18558 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18559 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18560 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18561 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18562 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18563 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
18564 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18565 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18566 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18567 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18568 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18569 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18570 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18571 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18572 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18573 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18574 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18575 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18576 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18577 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18578 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18579 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18580 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18581 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18582 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18583 { (char *)"Bitmap_GetPalette", (PyCFunction
) _wrap_Bitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18584 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18585 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18586 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18587 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18588 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18589 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18590 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18591 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
18592 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18593 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
18594 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18595 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18596 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18597 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18598 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18599 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18600 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18601 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18602 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18603 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18604 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18605 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18606 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18607 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18608 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18609 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
18610 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18611 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18612 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18613 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18614 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18615 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18616 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18617 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
18618 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18619 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18620 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18621 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18622 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18623 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18624 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18625 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
18626 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18627 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18628 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18629 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18630 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18631 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
18632 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18633 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18634 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18635 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18636 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18637 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18638 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18639 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18640 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18641 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18642 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18643 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18644 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18645 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18646 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18647 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18648 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18649 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18650 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18651 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18652 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18653 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18654 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18655 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18656 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18657 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18658 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18659 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18660 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
18661 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18662 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18663 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18664 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18665 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18666 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18667 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18668 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18669 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18670 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18671 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18672 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18673 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18674 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
18675 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18676 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18677 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18678 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18679 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18680 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18681 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18682 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18683 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18684 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18685 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18686 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18687 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18688 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18689 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18690 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18691 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18692 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18693 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18694 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18695 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18696 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18697 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18698 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
18699 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18700 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18701 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18702 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18703 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18704 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18705 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18706 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18707 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
18708 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18709 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18710 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18711 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18712 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18713 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18714 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18715 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18716 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18717 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18718 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18719 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18720 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18721 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18722 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18723 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18724 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18725 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18726 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18727 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
18728 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18729 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18730 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18731 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18732 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18733 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18734 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18735 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18736 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18737 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18738 { (char *)"Font_GetPixelSize", (PyCFunction
) _wrap_Font_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18739 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
) _wrap_Font_IsUsingSizeInPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18740 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18741 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18742 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18743 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18744 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18745 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18746 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18747 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18748 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18749 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18750 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18751 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18752 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18753 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18754 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18755 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18756 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18757 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18758 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18759 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18760 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18761 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18762 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18763 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18764 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18765 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18766 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18767 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18768 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
18769 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18770 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18771 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18772 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18773 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18774 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18775 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18776 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
18777 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18778 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18779 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18780 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18781 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18782 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18783 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
18784 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18785 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18786 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18787 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18788 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18789 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18790 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18791 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18792 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18793 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18794 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18795 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18796 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18797 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18798 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18799 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18800 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18801 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18802 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18803 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18804 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18805 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
18806 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18807 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
18808 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18809 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18810 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18811 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18812 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18813 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18814 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18815 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
18816 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18817 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18818 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18819 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18820 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18821 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18822 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18823 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18824 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18825 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18826 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18827 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18828 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18829 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18830 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18831 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18832 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18833 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18834 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18835 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18836 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18837 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18838 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18839 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18840 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18841 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18842 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18843 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18844 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18845 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18846 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18847 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18848 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18849 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18850 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18851 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18852 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18853 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18854 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18855 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18856 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18857 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18858 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18859 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18860 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18861 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18862 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18863 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18864 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18865 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18866 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18867 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18868 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18869 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18870 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18871 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18872 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18873 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18874 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18875 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18876 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18877 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18878 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18879 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18880 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18881 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18882 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18883 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18884 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18885 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18886 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18887 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18888 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18889 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18890 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18891 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18892 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18893 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18894 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18895 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18896 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18897 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18898 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18899 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18900 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18901 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18902 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18903 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18904 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18905 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18906 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18907 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18908 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18909 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18910 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18911 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18912 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18913 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18914 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18915 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18916 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18917 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18918 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18919 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18920 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18921 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18922 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18923 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18924 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18925 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18926 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18927 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18928 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18929 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18930 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18931 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18932 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18933 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18934 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18935 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18936 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18937 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18938 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18939 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18940 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18941 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18942 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18943 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18944 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
18945 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18946 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18947 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18948 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
18949 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
18950 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18951 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18952 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
18953 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18954 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
18955 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18956 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18957 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18958 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18959 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
18960 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18961 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
18962 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18963 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
18964 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18965 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
18966 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18967 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
18968 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18969 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18970 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18971 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18972 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18973 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
18974 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18975 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
18976 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18977 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
18978 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18979 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
18980 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18981 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18982 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18983 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18984 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18985 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18986 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18987 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18988 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18989 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18990 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18991 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
18992 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18993 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18994 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18995 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18996 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
18997 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18998 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18999 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19000 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19001 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
19002 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19003 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19004 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19005 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19006 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19007 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19008 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
19009 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19010 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19011 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19012 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19013 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
19014 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19015 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19016 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19017 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19018 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19019 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19020 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19021 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19022 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19023 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19024 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19025 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19026 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19027 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19028 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
19029 { NULL
, NULL
, 0, NULL
}
19033 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19035 static void *_p_wxControlTo_p_wxWindow(void *x
) {
19036 return (void *)((wxWindow
*) ((wxControl
*) x
));
19038 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
19039 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
19041 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
19042 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
19044 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
19045 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
19047 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
19048 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19050 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
19051 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
19053 static void *_p_wxPenTo_p_wxObject(void *x
) {
19054 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
19056 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
19057 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
19059 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
19060 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
19062 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
19063 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
19065 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
19066 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
19068 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
19069 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
19071 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
19072 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
19074 static void *_p_wxIconTo_p_wxObject(void *x
) {
19075 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
19077 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
19078 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
19080 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
19081 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
19083 static void *_p_wxSizerTo_p_wxObject(void *x
) {
19084 return (void *)((wxObject
*) ((wxSizer
*) x
));
19086 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
19087 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
19089 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
19090 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19092 static void *_p_wxPenListTo_p_wxObject(void *x
) {
19093 return (void *)((wxObject
*) ((wxPenList
*) x
));
19095 static void *_p_wxEventTo_p_wxObject(void *x
) {
19096 return (void *)((wxObject
*) ((wxEvent
*) x
));
19098 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
19099 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
19101 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
19102 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
19104 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
19105 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
19107 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
19108 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
19110 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
19111 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
19113 static void *_p_wxDCTo_p_wxObject(void *x
) {
19114 return (void *)((wxObject
*) ((wxDC
*) x
));
19116 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
19117 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
19119 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
19120 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
19122 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
19123 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
19125 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
19126 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
19128 static void *_p_wxControlTo_p_wxObject(void *x
) {
19129 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
19131 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
19132 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
19134 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
19135 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
19137 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
19138 return (void *)((wxObject
*) ((wxFSFile
*) x
));
19140 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
19141 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
19143 static void *_p_wxRegionTo_p_wxObject(void *x
) {
19144 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
19146 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
19147 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
19149 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
19150 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
19152 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
19153 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
19155 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
19156 return (void *)((wxObject
*) ((wxEffects
*) x
));
19158 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
19159 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
19161 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
19162 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19164 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
19165 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
19167 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
19168 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
19170 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
19171 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
19173 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
19174 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
19176 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
19177 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19179 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
19180 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19182 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19183 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19185 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19186 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19188 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19189 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19191 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19192 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19194 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19195 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19197 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19198 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19200 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19201 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19203 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19204 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19206 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19207 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19209 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19210 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19212 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19213 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19215 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19216 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19218 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19219 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19221 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19222 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19224 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19225 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19227 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19228 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19230 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19231 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19233 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19234 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19236 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19237 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19239 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19240 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19242 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19243 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19245 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19246 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19248 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19249 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19251 static void *_p_wxImageTo_p_wxObject(void *x
) {
19252 return (void *)((wxObject
*) ((wxImage
*) x
));
19254 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19255 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19257 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19258 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19260 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19261 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19263 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19264 return (void *)((wxObject
*) ((wxImageList
*) x
));
19266 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19267 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19269 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19270 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19272 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19273 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19275 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19276 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19278 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19279 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19281 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19282 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19284 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19285 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19287 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19288 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19290 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19291 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19293 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19294 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19296 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19297 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19299 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19300 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19302 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19303 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19305 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19306 return (void *)((wxObject
*) ((wxMask
*) x
));
19308 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19309 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19311 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19312 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19314 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19315 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19317 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19318 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19320 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19321 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19323 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19324 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19326 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19327 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19329 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19330 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19332 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19333 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19335 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19336 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19338 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19339 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19341 static void *_p_wxFontTo_p_wxObject(void *x
) {
19342 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19344 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19345 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19347 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19348 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19350 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19351 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19353 static void *_p_wxColourTo_p_wxObject(void *x
) {
19354 return (void *)((wxObject
*) ((wxColour
*) x
));
19356 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19357 return (void *)((wxObject
*) ((wxFontList
*) x
));
19359 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19360 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19362 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19363 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19365 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19366 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19368 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19369 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19371 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19372 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19374 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19375 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19377 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19378 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19380 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19381 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19383 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19384 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19386 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19387 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19389 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19390 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19392 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19393 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19395 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19396 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19398 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19399 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19401 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19402 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19404 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19405 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19407 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19408 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19410 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19411 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19413 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19414 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19416 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19417 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19419 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19420 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19422 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19423 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19425 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}};
19426 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}};
19427 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}};
19428 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}};
19429 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}};
19430 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}};
19431 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}};
19432 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}};
19433 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}};
19434 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}};
19435 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}};
19436 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}};
19437 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}};
19438 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}};
19439 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}};
19440 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}};
19441 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}};
19442 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}};
19443 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}};
19444 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}};
19445 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}};
19446 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}};
19447 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}};
19448 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}};
19449 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}};
19450 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}};
19451 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}};
19452 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}};
19453 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}};
19454 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}};
19455 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}};
19456 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}};
19457 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}};
19458 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}};
19459 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}};
19460 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}};
19461 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}};
19462 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}};
19463 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}};
19464 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}};
19465 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}};
19466 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}};
19467 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}};
19468 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}};
19469 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}};
19470 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}};
19471 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}};
19472 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}};
19473 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}};
19474 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}};
19475 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}};
19476 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}};
19477 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}};
19478 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}};
19479 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}};
19481 static swig_type_info
*swig_types_initial
[] = {
19482 _swigt__p_wxPostScriptDC
,
19484 _swigt__p_wxColour
,
19486 _swigt__p_wxMirrorDC
,
19488 _swigt__p_wxPyFontEnumerator
,
19490 _swigt__p_wxIconLocation
,
19492 _swigt__p_wxMetaFileDC
,
19496 _swigt__p_wxWindow
,
19498 _swigt__p_wxMemoryDC
,
19499 _swigt__p_wxFontMapper
,
19500 _swigt__p_wxEffects
,
19501 _swigt__p_wxNativeEncodingInfo
,
19502 _swigt__p_wxPalette
,
19503 _swigt__p_wxBitmap
,
19504 _swigt__p_wxObject
,
19505 _swigt__p_wxRegionIterator
,
19507 _swigt__p_wxString
,
19508 _swigt__p_wxPrinterDC
,
19509 _swigt__p_wxIconBundle
,
19512 _swigt__p_wxScreenDC
,
19513 _swigt__p_wxCursor
,
19514 _swigt__p_wxClientDC
,
19515 _swigt__p_wxBufferedDC
,
19516 _swigt__p_wxImageList
,
19517 _swigt__p_unsigned_char
,
19518 _swigt__p_wxGDIObject
,
19520 _swigt__p_wxLocale
,
19521 _swigt__p_wxRegion
,
19522 _swigt__p_wxLanguageInfo
,
19523 _swigt__p_wxConfigBase
,
19524 _swigt__p_wxWindowDC
,
19525 _swigt__p_wxPrintData
,
19526 _swigt__p_wxBrushList
,
19527 _swigt__p_wxFontList
,
19529 _swigt__p_wxBufferedPaintDC
,
19530 _swigt__p_wxPaintDC
,
19531 _swigt__p_wxPenList
,
19533 _swigt__p_wxMetaFile
,
19534 _swigt__p_wxNativeFontInfo
,
19535 _swigt__p_wxEncodingConverter
,
19536 _swigt__p_wxColourDatabase
,
19541 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19543 static swig_const_info swig_const_table
[] = {
19544 {0, 0, 0, 0.0, 0, 0}};
19553 SWIGEXPORT(void) SWIG_init(void) {
19554 static PyObject
*SWIG_globals
= 0;
19555 static int typeinit
= 0;
19558 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19559 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19560 d
= PyModule_GetDict(m
);
19563 for (i
= 0; swig_types_initial
[i
]; i
++) {
19564 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19568 SWIG_InstallConstants(d
,swig_const_table
);
19570 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)wxOutRegion
));
19571 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)wxPartRegion
));
19572 PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)wxInRegion
));
19573 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)wxFONTFAMILY_DEFAULT
));
19574 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)wxFONTFAMILY_DECORATIVE
));
19575 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)wxFONTFAMILY_ROMAN
));
19576 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)wxFONTFAMILY_SCRIPT
));
19577 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)wxFONTFAMILY_SWISS
));
19578 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)wxFONTFAMILY_MODERN
));
19579 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)wxFONTFAMILY_TELETYPE
));
19580 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)wxFONTFAMILY_MAX
));
19581 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)wxFONTFAMILY_UNKNOWN
));
19582 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)wxFONTSTYLE_NORMAL
));
19583 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)wxFONTSTYLE_ITALIC
));
19584 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)wxFONTSTYLE_SLANT
));
19585 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)wxFONTSTYLE_MAX
));
19586 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)wxFONTWEIGHT_NORMAL
));
19587 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)wxFONTWEIGHT_LIGHT
));
19588 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)wxFONTWEIGHT_BOLD
));
19589 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)wxFONTWEIGHT_MAX
));
19590 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)wxFONTFLAG_DEFAULT
));
19591 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)wxFONTFLAG_ITALIC
));
19592 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)wxFONTFLAG_SLANT
));
19593 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)wxFONTFLAG_LIGHT
));
19594 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)wxFONTFLAG_BOLD
));
19595 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_ANTIALIASED
));
19596 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_NOT_ANTIALIASED
));
19597 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)wxFONTFLAG_UNDERLINED
));
19598 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)wxFONTFLAG_STRIKETHROUGH
));
19599 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)wxFONTFLAG_MASK
));
19600 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)wxFONTENCODING_SYSTEM
));
19601 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)wxFONTENCODING_DEFAULT
));
19602 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)wxFONTENCODING_ISO8859_1
));
19603 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)wxFONTENCODING_ISO8859_2
));
19604 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)wxFONTENCODING_ISO8859_3
));
19605 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)wxFONTENCODING_ISO8859_4
));
19606 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)wxFONTENCODING_ISO8859_5
));
19607 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)wxFONTENCODING_ISO8859_6
));
19608 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)wxFONTENCODING_ISO8859_7
));
19609 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)wxFONTENCODING_ISO8859_8
));
19610 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)wxFONTENCODING_ISO8859_9
));
19611 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)wxFONTENCODING_ISO8859_10
));
19612 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)wxFONTENCODING_ISO8859_11
));
19613 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)wxFONTENCODING_ISO8859_12
));
19614 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)wxFONTENCODING_ISO8859_13
));
19615 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)wxFONTENCODING_ISO8859_14
));
19616 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)wxFONTENCODING_ISO8859_15
));
19617 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)wxFONTENCODING_ISO8859_MAX
));
19618 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)wxFONTENCODING_KOI8
));
19619 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)wxFONTENCODING_KOI8_U
));
19620 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)wxFONTENCODING_ALTERNATIVE
));
19621 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)wxFONTENCODING_BULGARIAN
));
19622 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)wxFONTENCODING_CP437
));
19623 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)wxFONTENCODING_CP850
));
19624 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)wxFONTENCODING_CP852
));
19625 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)wxFONTENCODING_CP855
));
19626 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)wxFONTENCODING_CP866
));
19627 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)wxFONTENCODING_CP874
));
19628 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)wxFONTENCODING_CP932
));
19629 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)wxFONTENCODING_CP936
));
19630 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)wxFONTENCODING_CP949
));
19631 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)wxFONTENCODING_CP950
));
19632 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)wxFONTENCODING_CP1250
));
19633 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)wxFONTENCODING_CP1251
));
19634 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)wxFONTENCODING_CP1252
));
19635 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)wxFONTENCODING_CP1253
));
19636 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)wxFONTENCODING_CP1254
));
19637 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)wxFONTENCODING_CP1255
));
19638 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)wxFONTENCODING_CP1256
));
19639 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)wxFONTENCODING_CP1257
));
19640 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)wxFONTENCODING_CP12_MAX
));
19641 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)wxFONTENCODING_UTF7
));
19642 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)wxFONTENCODING_UTF8
));
19643 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)wxFONTENCODING_EUC_JP
));
19644 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)wxFONTENCODING_UTF16BE
));
19645 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)wxFONTENCODING_UTF16LE
));
19646 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)wxFONTENCODING_UTF32BE
));
19647 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)wxFONTENCODING_UTF32LE
));
19648 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)wxFONTENCODING_MACROMAN
));
19649 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)wxFONTENCODING_MACJAPANESE
));
19650 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)wxFONTENCODING_MACCHINESETRAD
));
19651 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)wxFONTENCODING_MACKOREAN
));
19652 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)wxFONTENCODING_MACARABIC
));
19653 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)wxFONTENCODING_MACHEBREW
));
19654 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)wxFONTENCODING_MACGREEK
));
19655 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)wxFONTENCODING_MACCYRILLIC
));
19656 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)wxFONTENCODING_MACDEVANAGARI
));
19657 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)wxFONTENCODING_MACGURMUKHI
));
19658 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)wxFONTENCODING_MACGUJARATI
));
19659 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)wxFONTENCODING_MACORIYA
));
19660 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)wxFONTENCODING_MACBENGALI
));
19661 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)wxFONTENCODING_MACTAMIL
));
19662 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)wxFONTENCODING_MACTELUGU
));
19663 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)wxFONTENCODING_MACKANNADA
));
19664 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)wxFONTENCODING_MACMALAJALAM
));
19665 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)wxFONTENCODING_MACSINHALESE
));
19666 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)wxFONTENCODING_MACBURMESE
));
19667 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)wxFONTENCODING_MACKHMER
));
19668 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)wxFONTENCODING_MACTHAI
));
19669 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)wxFONTENCODING_MACLAOTIAN
));
19670 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)wxFONTENCODING_MACGEORGIAN
));
19671 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)wxFONTENCODING_MACARMENIAN
));
19672 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)wxFONTENCODING_MACCHINESESIMP
));
19673 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)wxFONTENCODING_MACTIBETAN
));
19674 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)wxFONTENCODING_MACMONGOLIAN
));
19675 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)wxFONTENCODING_MACETHIOPIC
));
19676 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)wxFONTENCODING_MACCENTRALEUR
));
19677 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)wxFONTENCODING_MACVIATNAMESE
));
19678 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)wxFONTENCODING_MACARABICEXT
));
19679 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)wxFONTENCODING_MACSYMBOL
));
19680 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)wxFONTENCODING_MACDINGBATS
));
19681 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)wxFONTENCODING_MACTURKISH
));
19682 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)wxFONTENCODING_MACCROATIAN
));
19683 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)wxFONTENCODING_MACICELANDIC
));
19684 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)wxFONTENCODING_MACROMANIAN
));
19685 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)wxFONTENCODING_MACCELTIC
));
19686 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)wxFONTENCODING_MACGAELIC
));
19687 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)wxFONTENCODING_MACKEYBOARD
));
19688 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)wxFONTENCODING_MACMIN
));
19689 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)wxFONTENCODING_MACMAX
));
19690 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)wxFONTENCODING_MAX
));
19691 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)wxFONTENCODING_UTF16
));
19692 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)wxFONTENCODING_UTF32
));
19693 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)wxFONTENCODING_UNICODE
));
19694 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)wxFONTENCODING_GB2312
));
19695 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)wxFONTENCODING_BIG5
));
19696 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)wxFONTENCODING_SHIFT_JIS
));
19698 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19700 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)wxLANGUAGE_DEFAULT
));
19701 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)wxLANGUAGE_UNKNOWN
));
19702 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)wxLANGUAGE_ABKHAZIAN
));
19703 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)wxLANGUAGE_AFAR
));
19704 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)wxLANGUAGE_AFRIKAANS
));
19705 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)wxLANGUAGE_ALBANIAN
));
19706 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)wxLANGUAGE_AMHARIC
));
19707 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)wxLANGUAGE_ARABIC
));
19708 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_ALGERIA
));
19709 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19710 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)wxLANGUAGE_ARABIC_EGYPT
));
19711 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)wxLANGUAGE_ARABIC_IRAQ
));
19712 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_JORDAN
));
19713 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)wxLANGUAGE_ARABIC_KUWAIT
));
19714 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)wxLANGUAGE_ARABIC_LEBANON
));
19715 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)wxLANGUAGE_ARABIC_LIBYA
));
19716 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)wxLANGUAGE_ARABIC_MOROCCO
));
19717 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_OMAN
));
19718 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)wxLANGUAGE_ARABIC_QATAR
));
19719 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19720 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_SUDAN
));
19721 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SYRIA
));
19722 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_TUNISIA
));
19723 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)wxLANGUAGE_ARABIC_UAE
));
19724 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)wxLANGUAGE_ARABIC_YEMEN
));
19725 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)wxLANGUAGE_ARMENIAN
));
19726 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)wxLANGUAGE_ASSAMESE
));
19727 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)wxLANGUAGE_AYMARA
));
19728 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)wxLANGUAGE_AZERI
));
19729 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_AZERI_CYRILLIC
));
19730 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)wxLANGUAGE_AZERI_LATIN
));
19731 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)wxLANGUAGE_BASHKIR
));
19732 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)wxLANGUAGE_BASQUE
));
19733 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)wxLANGUAGE_BELARUSIAN
));
19734 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)wxLANGUAGE_BENGALI
));
19735 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)wxLANGUAGE_BHUTANI
));
19736 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)wxLANGUAGE_BIHARI
));
19737 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)wxLANGUAGE_BISLAMA
));
19738 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)wxLANGUAGE_BRETON
));
19739 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)wxLANGUAGE_BULGARIAN
));
19740 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)wxLANGUAGE_BURMESE
));
19741 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)wxLANGUAGE_CAMBODIAN
));
19742 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)wxLANGUAGE_CATALAN
));
19743 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)wxLANGUAGE_CHINESE
));
19744 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19745 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19746 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)wxLANGUAGE_CHINESE_HONGKONG
));
19747 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)wxLANGUAGE_CHINESE_MACAU
));
19748 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19749 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)wxLANGUAGE_CHINESE_TAIWAN
));
19750 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)wxLANGUAGE_CORSICAN
));
19751 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)wxLANGUAGE_CROATIAN
));
19752 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)wxLANGUAGE_CZECH
));
19753 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)wxLANGUAGE_DANISH
));
19754 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)wxLANGUAGE_DUTCH
));
19755 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_DUTCH_BELGIAN
));
19756 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)wxLANGUAGE_ENGLISH
));
19757 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_UK
));
19758 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)wxLANGUAGE_ENGLISH_US
));
19759 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19760 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BELIZE
));
19761 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19762 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CANADA
));
19763 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19764 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_DENMARK
));
19765 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_EIRE
));
19766 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19767 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19768 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19769 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19770 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19771 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19772 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)wxLANGUAGE_ESPERANTO
));
19773 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)wxLANGUAGE_ESTONIAN
));
19774 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)wxLANGUAGE_FAEROESE
));
19775 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)wxLANGUAGE_FARSI
));
19776 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)wxLANGUAGE_FIJI
));
19777 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)wxLANGUAGE_FINNISH
));
19778 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)wxLANGUAGE_FRENCH
));
19779 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_BELGIAN
));
19780 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_CANADIAN
));
19781 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19782 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)wxLANGUAGE_FRENCH_MONACO
));
19783 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)wxLANGUAGE_FRENCH_SWISS
));
19784 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)wxLANGUAGE_FRISIAN
));
19785 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)wxLANGUAGE_GALICIAN
));
19786 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)wxLANGUAGE_GEORGIAN
));
19787 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)wxLANGUAGE_GERMAN
));
19788 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19789 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)wxLANGUAGE_GERMAN_BELGIUM
));
19790 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19791 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19792 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)wxLANGUAGE_GERMAN_SWISS
));
19793 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)wxLANGUAGE_GREEK
));
19794 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)wxLANGUAGE_GREENLANDIC
));
19795 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)wxLANGUAGE_GUARANI
));
19796 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)wxLANGUAGE_GUJARATI
));
19797 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)wxLANGUAGE_HAUSA
));
19798 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)wxLANGUAGE_HEBREW
));
19799 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)wxLANGUAGE_HINDI
));
19800 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)wxLANGUAGE_HUNGARIAN
));
19801 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)wxLANGUAGE_ICELANDIC
));
19802 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)wxLANGUAGE_INDONESIAN
));
19803 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)wxLANGUAGE_INTERLINGUA
));
19804 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)wxLANGUAGE_INTERLINGUE
));
19805 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)wxLANGUAGE_INUKTITUT
));
19806 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)wxLANGUAGE_INUPIAK
));
19807 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)wxLANGUAGE_IRISH
));
19808 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)wxLANGUAGE_ITALIAN
));
19809 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)wxLANGUAGE_ITALIAN_SWISS
));
19810 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)wxLANGUAGE_JAPANESE
));
19811 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)wxLANGUAGE_JAVANESE
));
19812 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)wxLANGUAGE_KANNADA
));
19813 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)wxLANGUAGE_KASHMIRI
));
19814 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)wxLANGUAGE_KASHMIRI_INDIA
));
19815 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)wxLANGUAGE_KAZAKH
));
19816 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)wxLANGUAGE_KERNEWEK
));
19817 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)wxLANGUAGE_KINYARWANDA
));
19818 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)wxLANGUAGE_KIRGHIZ
));
19819 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)wxLANGUAGE_KIRUNDI
));
19820 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)wxLANGUAGE_KONKANI
));
19821 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)wxLANGUAGE_KOREAN
));
19822 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)wxLANGUAGE_KURDISH
));
19823 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)wxLANGUAGE_LAOTHIAN
));
19824 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)wxLANGUAGE_LATIN
));
19825 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)wxLANGUAGE_LATVIAN
));
19826 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)wxLANGUAGE_LINGALA
));
19827 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)wxLANGUAGE_LITHUANIAN
));
19828 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)wxLANGUAGE_MACEDONIAN
));
19829 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)wxLANGUAGE_MALAGASY
));
19830 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)wxLANGUAGE_MALAY
));
19831 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)wxLANGUAGE_MALAYALAM
));
19832 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19833 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)wxLANGUAGE_MALAY_MALAYSIA
));
19834 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)wxLANGUAGE_MALTESE
));
19835 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)wxLANGUAGE_MANIPURI
));
19836 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)wxLANGUAGE_MAORI
));
19837 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)wxLANGUAGE_MARATHI
));
19838 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)wxLANGUAGE_MOLDAVIAN
));
19839 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)wxLANGUAGE_MONGOLIAN
));
19840 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)wxLANGUAGE_NAURU
));
19841 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)wxLANGUAGE_NEPALI
));
19842 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)wxLANGUAGE_NEPALI_INDIA
));
19843 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19844 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19845 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)wxLANGUAGE_OCCITAN
));
19846 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)wxLANGUAGE_ORIYA
));
19847 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)wxLANGUAGE_OROMO
));
19848 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)wxLANGUAGE_PASHTO
));
19849 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)wxLANGUAGE_POLISH
));
19850 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE
));
19851 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19852 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)wxLANGUAGE_PUNJABI
));
19853 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)wxLANGUAGE_QUECHUA
));
19854 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)wxLANGUAGE_RHAETO_ROMANCE
));
19855 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)wxLANGUAGE_ROMANIAN
));
19856 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)wxLANGUAGE_RUSSIAN
));
19857 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19858 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)wxLANGUAGE_SAMOAN
));
19859 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)wxLANGUAGE_SANGHO
));
19860 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)wxLANGUAGE_SANSKRIT
));
19861 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)wxLANGUAGE_SCOTS_GAELIC
));
19862 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)wxLANGUAGE_SERBIAN
));
19863 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19864 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)wxLANGUAGE_SERBIAN_LATIN
));
19865 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)wxLANGUAGE_SERBO_CROATIAN
));
19866 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)wxLANGUAGE_SESOTHO
));
19867 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)wxLANGUAGE_SETSWANA
));
19868 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)wxLANGUAGE_SHONA
));
19869 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)wxLANGUAGE_SINDHI
));
19870 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)wxLANGUAGE_SINHALESE
));
19871 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)wxLANGUAGE_SISWATI
));
19872 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)wxLANGUAGE_SLOVAK
));
19873 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)wxLANGUAGE_SLOVENIAN
));
19874 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)wxLANGUAGE_SOMALI
));
19875 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)wxLANGUAGE_SPANISH
));
19876 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19877 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19878 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)wxLANGUAGE_SPANISH_CHILE
));
19879 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19880 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19881 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19882 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_ECUADOR
));
19883 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19884 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19885 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)wxLANGUAGE_SPANISH_HONDURAS
));
19886 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MEXICAN
));
19887 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MODERN
));
19888 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19889 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)wxLANGUAGE_SPANISH_PANAMA
));
19890 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19891 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)wxLANGUAGE_SPANISH_PERU
));
19892 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19893 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_URUGUAY
));
19894 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)wxLANGUAGE_SPANISH_US
));
19895 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19896 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)wxLANGUAGE_SUNDANESE
));
19897 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)wxLANGUAGE_SWAHILI
));
19898 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)wxLANGUAGE_SWEDISH
));
19899 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)wxLANGUAGE_SWEDISH_FINLAND
));
19900 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)wxLANGUAGE_TAGALOG
));
19901 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)wxLANGUAGE_TAJIK
));
19902 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)wxLANGUAGE_TAMIL
));
19903 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)wxLANGUAGE_TATAR
));
19904 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)wxLANGUAGE_TELUGU
));
19905 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)wxLANGUAGE_THAI
));
19906 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)wxLANGUAGE_TIBETAN
));
19907 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)wxLANGUAGE_TIGRINYA
));
19908 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)wxLANGUAGE_TONGA
));
19909 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)wxLANGUAGE_TSONGA
));
19910 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)wxLANGUAGE_TURKISH
));
19911 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)wxLANGUAGE_TURKMEN
));
19912 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)wxLANGUAGE_TWI
));
19913 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)wxLANGUAGE_UIGHUR
));
19914 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)wxLANGUAGE_UKRAINIAN
));
19915 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)wxLANGUAGE_URDU
));
19916 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)wxLANGUAGE_URDU_INDIA
));
19917 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)wxLANGUAGE_URDU_PAKISTAN
));
19918 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)wxLANGUAGE_UZBEK
));
19919 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19920 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)wxLANGUAGE_UZBEK_LATIN
));
19921 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)wxLANGUAGE_VIETNAMESE
));
19922 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)wxLANGUAGE_VOLAPUK
));
19923 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)wxLANGUAGE_WELSH
));
19924 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)wxLANGUAGE_WOLOF
));
19925 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)wxLANGUAGE_XHOSA
));
19926 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)wxLANGUAGE_YIDDISH
));
19927 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)wxLANGUAGE_YORUBA
));
19928 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)wxLANGUAGE_ZHUANG
));
19929 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)wxLANGUAGE_ZULU
));
19930 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)wxLANGUAGE_USER_DEFINED
));
19931 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)wxLOCALE_CAT_NUMBER
));
19932 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)wxLOCALE_CAT_DATE
));
19933 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)wxLOCALE_CAT_MONEY
));
19934 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)wxLOCALE_CAT_MAX
));
19935 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)wxLOCALE_THOUSANDS_SEP
));
19936 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)wxLOCALE_DECIMAL_POINT
));
19937 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)wxLOCALE_LOAD_DEFAULT
));
19938 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)wxLOCALE_CONV_ENCODING
));
19939 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)wxCONVERT_STRICT
));
19940 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)wxCONVERT_SUBSTITUTE
));
19941 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)wxPLATFORM_CURRENT
));
19942 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)wxPLATFORM_UNIX
));
19943 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)wxPLATFORM_WINDOWS
));
19944 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)wxPLATFORM_OS2
));
19945 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)wxPLATFORM_MAC
));
19946 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)wxIMAGELIST_DRAW_NORMAL
));
19947 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19948 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)wxIMAGELIST_DRAW_SELECTED
));
19949 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)wxIMAGELIST_DRAW_FOCUSED
));
19950 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)wxIMAGE_LIST_NORMAL
));
19951 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)wxIMAGE_LIST_SMALL
));
19952 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)wxIMAGE_LIST_STATE
));
19953 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19954 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19955 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19956 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19957 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19958 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19959 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19960 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19961 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19962 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19963 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19964 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19965 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19966 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19967 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19968 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19969 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19970 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19971 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19972 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19973 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19974 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19975 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19976 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19977 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19978 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19979 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19980 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19981 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19982 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19983 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19984 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19985 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19986 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19987 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19988 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19989 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19990 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19991 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19992 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19993 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19994 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19995 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19996 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19997 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19998 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19999 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
20001 // Work around a chicken/egg problem in drawlist.cpp
20002 wxPyDrawList_SetAPIPtr();