1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
212 #define SWIGTYPE_p_wxBrush swig_types[1]
213 #define SWIGTYPE_p_wxColour swig_types[2]
214 #define SWIGTYPE_p_wxDC swig_types[3]
215 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
216 #define SWIGTYPE_p_byte swig_types[5]
217 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
218 #define SWIGTYPE_p_char swig_types[7]
219 #define SWIGTYPE_p_wxIconLocation swig_types[8]
220 #define SWIGTYPE_p_wxImage swig_types[9]
221 #define SWIGTYPE_p_wxMetaFileDC swig_types[10]
222 #define SWIGTYPE_p_wxMask swig_types[11]
223 #define SWIGTYPE_p_wxSize swig_types[12]
224 #define SWIGTYPE_p_wxFont swig_types[13]
225 #define SWIGTYPE_p_wxWindow swig_types[14]
226 #define SWIGTYPE_p_double swig_types[15]
227 #define SWIGTYPE_p_wxMemoryDC swig_types[16]
228 #define SWIGTYPE_p_wxFontMapper swig_types[17]
229 #define SWIGTYPE_p_wxEffects swig_types[18]
230 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]
231 #define SWIGTYPE_p_wxPalette swig_types[20]
232 #define SWIGTYPE_p_wxBitmap swig_types[21]
233 #define SWIGTYPE_p_wxObject swig_types[22]
234 #define SWIGTYPE_p_wxRegionIterator swig_types[23]
235 #define SWIGTYPE_p_wxRect swig_types[24]
236 #define SWIGTYPE_p_wxString swig_types[25]
237 #define SWIGTYPE_p_wxPrinterDC swig_types[26]
238 #define SWIGTYPE_p_wxIconBundle swig_types[27]
239 #define SWIGTYPE_p_wxPoint swig_types[28]
240 #define SWIGTYPE_p_wxDash swig_types[29]
241 #define SWIGTYPE_p_wxScreenDC swig_types[30]
242 #define SWIGTYPE_p_wxCursor swig_types[31]
243 #define SWIGTYPE_p_wxClientDC swig_types[32]
244 #define SWIGTYPE_p_wxBufferedDC swig_types[33]
245 #define SWIGTYPE_p_wxImageList swig_types[34]
246 #define SWIGTYPE_p_unsigned_char swig_types[35]
247 #define SWIGTYPE_p_wxGDIObject swig_types[36]
248 #define SWIGTYPE_p_wxIcon swig_types[37]
249 #define SWIGTYPE_p_wxLocale swig_types[38]
250 #define SWIGTYPE_p_wxRegion swig_types[39]
251 #define SWIGTYPE_p_wxLanguageInfo swig_types[40]
252 #define SWIGTYPE_p_wxConfigBase swig_types[41]
253 #define SWIGTYPE_p_wxWindowDC swig_types[42]
254 #define SWIGTYPE_p_wxPrintData swig_types[43]
255 #define SWIGTYPE_p_wxBrushList swig_types[44]
256 #define SWIGTYPE_p_wxFontList swig_types[45]
257 #define SWIGTYPE_p_wxPen swig_types[46]
258 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[47]
259 #define SWIGTYPE_p_wxPaintDC swig_types[48]
260 #define SWIGTYPE_p_wxPenList swig_types[49]
261 #define SWIGTYPE_p_int swig_types[50]
262 #define SWIGTYPE_p_wxMetaFile swig_types[51]
263 #define SWIGTYPE_p_wxNativeFontInfo swig_types[52]
264 #define SWIGTYPE_p_wxEncodingConverter swig_types[53]
265 #define SWIGTYPE_p_wxColourDatabase swig_types[54]
266 static swig_type_info
*swig_types
[56];
268 /* -------- TYPES TABLE (END) -------- */
271 /*-----------------------------------------------
273 ------------------------------------------------*/
274 #define SWIG_init init_gdi_
276 #define SWIG_name "_gdi_"
278 /* Auxiliar swig macros that appear in the header */
280 #define SWIG_OLDOBJ 1
281 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
282 #define SWIG_PYSTR SWIG_NEWOBJ + 1
285 #define SWIGSTATICINLINE(a) static inline a
286 #define SWIGSTATIC(a) static a
287 #define swig_new_array(size,Type) (new Type[(size)])
288 #define swig_delete(cptr) delete cptr
289 #define swig_delete_array(cptr) delete[] cptr
290 #define swig_const_cast(a,Type) const_cast<Type >(a)
291 #define swig_static_cast(a,Type) static_cast<Type >(a)
292 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
293 #define swig_new_copy(ptr,Type) (new Type(*ptr))
294 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
298 #define SWIGSTATICINLINE(a) static a
299 #define SWIGSTATIC(a) static a
300 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
301 #define swig_delete(cptr) free((char*)cptr)
302 #define swig_delete_array(cptr) free((char*)cptr)
303 #define swig_const_cast(a,Type) (Type)(a)
304 #define swig_static_cast(a,Type) (Type)(a)
305 #define swig_reinterpret_cast(a,Type) (Type)(a)
306 #define swig_numeric_cast(a,Type) (Type)(a)
307 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
309 #endif /* __cplusplus */
312 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
313 #define SWIG_From_signed_SS_char PyInt_FromLong
315 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
316 #define SWIG_From_unsigned_SS_char PyInt_FromLong
318 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
319 #define SWIG_From_short PyInt_FromLong
321 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
322 #define SWIG_From_unsigned_SS_short PyInt_FromLong
324 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
325 #define SWIG_From_int PyInt_FromLong
327 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
328 #define SWIG_From_long PyInt_FromLong
330 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
331 #define SWIG_From_float PyFloat_FromDouble
333 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
334 #define SWIG_From_double PyFloat_FromDouble
338 #include "wx/wxPython/wxPython.h"
339 #include "wx/wxPython/pyclasses.h"
342 static const wxString
wxPyEmptyString(wxEmptyString
);
347 SWIGSTATICINLINE(int)
348 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
351 if (value
< min_value
) {
353 PyErr_Format(PyExc_OverflowError
,
354 "value %ld is less than '%s' minimum %ld",
355 value
, errmsg
, min_value
);
358 } else if (value
> max_value
) {
360 PyErr_Format(PyExc_OverflowError
,
361 "value %ld is greater than '%s' maximum %ld",
362 value
, errmsg
, max_value
);
370 // See my_fragments.i
371 SWIGSTATICINLINE(int)
372 SWIG_AsVal_long(PyObject
* obj
, long* val
)
374 if (PyNumber_Check(obj
)) {
375 if (val
) *val
= PyInt_AsLong(obj
);
379 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
380 obj
->ob_type
->tp_name
);
381 PyErr_SetObject(PyExc_TypeError
, errmsg
);
388 #if INT_MAX != LONG_MAX
389 SWIGSTATICINLINE(int)
390 SWIG_AsVal_int(PyObject
*obj
, int *val
)
392 const char* errmsg
= val
? "int" : 0;
394 if (SWIG_AsVal_long(obj
, &v
)) {
395 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
396 if (val
) *val
= swig_numeric_cast(v
, int);
405 PyErr_SetString(PyExc_TypeError
, "an int is expected");
410 SWIGSTATICINLINE(int)
411 SWIG_AsVal_int(PyObject
*obj
, int *val
)
413 return SWIG_AsVal_long(obj
,(long*)val
);
418 SWIGSTATICINLINE(int)
419 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
421 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
422 if (obj
== Py_True
) {
423 if (val
) *val
= true;
426 if (obj
== Py_False
) {
427 if (val
) *val
= false;
431 if (SWIG_AsVal_int(obj
, &res
)) {
432 if (val
) *val
= (bool)res
;
436 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
442 SWIGSTATICINLINE(bool)
443 SWIG_As_bool(PyObject
* obj
)
446 if (!SWIG_AsVal_bool(obj
, &v
)) {
448 this is needed to make valgrind/purify happier. the other
449 solution is throw an exception, but since this code should work
452 memset((void*)&v
, 0, sizeof(bool));
458 SWIGSTATICINLINE(int)
459 SWIG_Check_bool(PyObject
* obj
)
461 return SWIG_AsVal_bool(obj
, (bool*)0);
465 // See my_fragments.i
466 SWIGSTATICINLINE(int)
467 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
470 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
471 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
475 *val
= (unsigned long)v
;
480 SWIGSTATICINLINE(int)
481 SWIG_CheckUnsignedLongInRange(unsigned long value
,
482 unsigned long max_value
,
485 if (value
> max_value
) {
487 PyErr_Format(PyExc_OverflowError
,
488 "value %ld is greater than '%s' minimum %ld",
489 value
, errmsg
, max_value
);
497 SWIGSTATICINLINE(int)
498 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
500 const char* errmsg
= val
? "unsigned char" : 0;
502 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
503 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
504 if (val
) *val
= swig_numeric_cast(v
, unsigned char);
513 PyErr_SetString(PyExc_TypeError
, "an unsigned char is expected");
519 SWIGSTATICINLINE(unsigned char)
520 SWIG_As_unsigned_SS_char(PyObject
* obj
)
523 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
525 this is needed to make valgrind/purify happier. the other
526 solution is throw an exception, but since this code should work
529 memset((void*)&v
, 0, sizeof(unsigned char));
535 SWIGSTATICINLINE(int)
536 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
538 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
542 SWIGSTATICINLINE(unsigned long)
543 SWIG_As_unsigned_SS_long(PyObject
* obj
)
546 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
548 this is needed to make valgrind/purify happier. the other
549 solution is throw an exception, but since this code should work
552 memset((void*)&v
, 0, sizeof(unsigned long));
558 SWIGSTATICINLINE(int)
559 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
561 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
564 PyObject
*wxColour_Get(wxColour
*self
){
565 PyObject
* rv
= PyTuple_New(3);
571 green
= self
->Green();
574 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
575 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
576 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
579 unsigned long wxColour_GetRGB(wxColour
*self
){
580 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
583 SWIGSTATICINLINE(PyObject
* )
584 SWIG_From_unsigned_SS_long(unsigned long value
)
586 return (value
> LONG_MAX
) ?
587 PyLong_FromUnsignedLong(value
)
588 : PyInt_FromLong(swig_numeric_cast(value
,long));
592 SWIGSTATICINLINE(int)
593 SWIG_As_int(PyObject
* obj
)
596 if (!SWIG_AsVal_int(obj
, &v
)) {
598 this is needed to make valgrind/purify happier. the other
599 solution is throw an exception, but since this code should work
602 memset((void*)&v
, 0, sizeof(int));
608 SWIGSTATICINLINE(int)
609 SWIG_Check_int(PyObject
* obj
)
611 return SWIG_AsVal_int(obj
, (int*)0);
615 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
621 } else if (target
== Py_None
) {
625 if (!PyTuple_Check(target
)) {
627 target
= PyTuple_New(1);
628 PyTuple_SetItem(target
, 0, o2
);
631 PyTuple_SetItem(o3
, 0, o
);
634 target
= PySequence_Concat(o2
, o3
);
642 PyObject
*wxPen_GetDashes(wxPen
*self
){
644 int count
= self
->GetDashes(&dashes
);
645 bool blocked
= wxPyBeginBlockThreads();
646 PyObject
* retval
= PyList_New(0);
647 for (int x
=0; x
<count
; x
++) {
648 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
649 PyList_Append(retval
, pyint
);
652 wxPyEndBlockThreads(blocked
);
655 void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
656 bool blocked
= wxPyBeginBlockThreads();
657 int size
= PyList_Size(pyDashes
);
658 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
660 // black magic warning! The array of wxDashes needs to exist as
661 // long as the pen does because wxPen does not copy the array. So
662 // stick a copy in a Python string object and attach it to _self,
663 // and then call SetDashes with a pointer to that array. Then
664 // when the Python pen object is destroyed the array will be
666 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
667 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
669 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
671 Py_DECREF(strDashes
);
672 wxPyEndBlockThreads(blocked
);
674 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
675 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
677 #include <wx/image.h>
679 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
680 char** cArray
= NULL
;
683 if (!PyList_Check(listOfStrings
)) {
684 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
687 count
= PyList_Size(listOfStrings
);
688 cArray
= new char*[count
];
690 for(int x
=0; x
<count
; x
++) {
691 // TODO: Need some validation and error checking here
692 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
698 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
699 char** cArray
= NULL
;
702 cArray
= ConvertListOfStrings(listOfStrings
);
705 bmp
= new wxBitmap(cArray
);
709 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
712 PyString_AsStringAndSize(bits
, &buf
, &length
);
713 return new wxBitmap(buf
, width
, height
, depth
);
716 SWIGSTATICINLINE(long)
717 SWIG_As_long(PyObject
* obj
)
720 if (!SWIG_AsVal_long(obj
, &v
)) {
722 this is needed to make valgrind/purify happier. the other
723 solution is throw an exception, but since this code should work
726 memset((void*)&v
, 0, sizeof(long));
732 SWIGSTATICINLINE(int)
733 SWIG_Check_long(PyObject
* obj
)
735 return SWIG_AsVal_long(obj
, (long*)0);
738 void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
739 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
740 wxSize
size(self
->GetWidth(), self
->GetHeight());
743 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
744 wxMask
*mask
= new wxMask(*self
, colour
);
747 void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
748 self
->SetWidth(size
.x
);
749 self
->SetHeight(size
.y
);
751 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
752 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
753 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
755 return new wxMask(bitmap
, *wxBLACK
);
757 return new wxMask(bitmap
, colour
);
760 #include <wx/iconbndl.h>
762 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
763 wxIcon
* icon
= new wxIcon();
764 icon
->CopyFromBitmap(bmp
);
767 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
768 char** cArray
= NULL
;
771 cArray
= ConvertListOfStrings(listOfStrings
);
774 icon
= new wxIcon(cArray
);
778 void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
779 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
781 return new wxIconLocation(*filename
, num
);
786 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
793 int wxIconLocation_GetIndex(wxIconLocation
*self
){
795 return self
->GetIndex();
800 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
802 wxCHECK_MSG(false, NULL
,
803 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
805 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
808 void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
811 void wxRegionIterator_Next(wxRegionIterator
*self
){
814 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
815 return self
->operator bool();
818 #include <wx/fontutil.h>
819 #include <wx/fontmap.h>
820 #include <wx/fontenum.h>
822 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
823 return self
->ToString();
826 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
827 { wxPyRaiseNotImplemented(); return NULL
; }
829 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
830 { wxPyRaiseNotImplemented(); return false; }
832 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
833 wxFontEncoding alt_enc
;
834 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
835 return PyInt_FromLong(alt_enc
);
841 wxFont
*new_wxFont(wxString
const &info
){
842 wxNativeFontInfo nfi
;
843 nfi
.FromString(info
);
844 return new wxFont(nfi
);
846 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
847 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
849 wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
,wxString
const &face
,wxFontEncoding encoding
){
850 return wxFontBase::New(pixelSize
, family
,
851 style
, weight
, underlined
,
854 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
855 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
857 class wxPyFontEnumerator
: public wxFontEnumerator
{
859 wxPyFontEnumerator() {}
860 ~wxPyFontEnumerator() {}
862 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
863 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
868 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
869 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
872 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
873 wxArrayString
* arr
= self
->GetEncodings();
875 return wxArrayString2PyList_helper(*arr
);
877 return PyList_New(0);
879 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
880 wxArrayString
* arr
= self
->GetFacenames();
882 return wxArrayString2PyList_helper(*arr
);
884 return PyList_New(0);
889 wxLocale
*new_wxLocale(int language
,int flags
){
892 loc
= new wxLocale();
894 loc
= new wxLocale(language
, flags
);
895 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
896 // for the floating point conversions and such to work right.
897 #if PY_VERSION_HEX < 0x02040000
898 setlocale(LC_NUMERIC
, "C");
902 bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
,wxString
const &szLocale
,bool bLoadDefault
,bool bConvertEncoding
){
903 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
904 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
905 // for the floating point conversions and such to work right.
906 #if PY_VERSION_HEX < 0x02040000
907 setlocale(LC_NUMERIC
, "C");
911 bool wxLocale_Init2(wxLocale
*self
,int language
,int flags
){
912 bool rc
= self
->Init(language
, flags
);
913 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
914 // for the floating point conversions and such to work right.
915 #if PY_VERSION_HEX < 0x02040000
916 setlocale(LC_NUMERIC
, "C");
921 #include "wx/wxPython/pydrawxxx.h"
923 wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
925 self
->GetPixel(x
, y
, &col
);
928 wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
930 self
->GetPixel(pt
, &col
);
934 // See my_fragments.i
935 SWIGSTATICINLINE(int)
936 SWIG_AsVal_double(PyObject
*obj
, double* val
)
938 if (PyNumber_Check(obj
)) {
939 if (val
) *val
= PyFloat_AsDouble(obj
);
943 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
944 obj
->ob_type
->tp_name
);
945 PyErr_SetObject(PyExc_TypeError
, errmsg
);
952 SWIGSTATICINLINE(double)
953 SWIG_As_double(PyObject
* obj
)
956 if (!SWIG_AsVal_double(obj
, &v
)) {
958 this is needed to make valgrind/purify happier. the other
959 solution is throw an exception, but since this code should work
962 memset((void*)&v
, 0, sizeof(double));
968 SWIGSTATICINLINE(int)
969 SWIG_Check_double(PyObject
* obj
)
971 return SWIG_AsVal_double(obj
, (double*)0);
974 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
976 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
980 wxRect
wxDC_GetClippingRect(wxDC
*self
){
982 self
->GetClippingBox(rect
);
985 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
987 self
->GetPartialTextExtents(text
, widths
);
991 void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
992 self
->SetLogicalOrigin(point
.x
, point
.y
);
994 void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
995 self
->SetDeviceOrigin(point
.x
, point
.y
);
997 void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
998 self
->CalcBoundingBox(point
.x
, point
.y
);
1000 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1001 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
1003 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1004 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
1006 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1007 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
1009 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1010 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
1012 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1013 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
1015 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
1016 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
1019 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
1027 #include <wx/dcbuffer.h>
1030 #include <wx/dcps.h>
1033 #include <wx/metafile.h>
1037 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
1038 self
->AddColour(name
, wxColour(red
, green
, blue
));
1041 #include <wx/effects.h>
1046 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1047 PyObject
*resultobj
;
1048 wxGDIObject
*result
;
1053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
1055 if (!wxPyCheckForApp()) SWIG_fail
;
1056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1057 result
= (wxGDIObject
*)new wxGDIObject();
1059 wxPyEndAllowThreads(__tstate
);
1060 if (PyErr_Occurred()) SWIG_fail
;
1062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
1069 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1070 PyObject
*resultobj
;
1071 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1072 PyObject
* obj0
= 0 ;
1074 (char *) "self", NULL
1077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
1078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1084 wxPyEndAllowThreads(__tstate
);
1085 if (PyErr_Occurred()) SWIG_fail
;
1087 Py_INCREF(Py_None
); resultobj
= Py_None
;
1094 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1095 PyObject
*resultobj
;
1096 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1098 PyObject
* obj0
= 0 ;
1100 (char *) "self", NULL
1103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
1104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1108 result
= (bool)(arg1
)->GetVisible();
1110 wxPyEndAllowThreads(__tstate
);
1111 if (PyErr_Occurred()) SWIG_fail
;
1114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1122 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1123 PyObject
*resultobj
;
1124 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1126 PyObject
* obj0
= 0 ;
1127 PyObject
* obj1
= 0 ;
1129 (char *) "self",(char *) "visible", NULL
1132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
1133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1135 arg2
= (bool)SWIG_As_bool(obj1
);
1136 if (PyErr_Occurred()) SWIG_fail
;
1138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1139 (arg1
)->SetVisible(arg2
);
1141 wxPyEndAllowThreads(__tstate
);
1142 if (PyErr_Occurred()) SWIG_fail
;
1144 Py_INCREF(Py_None
); resultobj
= Py_None
;
1151 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1152 PyObject
*resultobj
;
1153 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1155 PyObject
* obj0
= 0 ;
1157 (char *) "self", NULL
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1165 result
= (bool)(arg1
)->IsNull();
1167 wxPyEndAllowThreads(__tstate
);
1168 if (PyErr_Occurred()) SWIG_fail
;
1171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1179 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
1181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1182 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1184 return Py_BuildValue((char *)"");
1186 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1187 PyObject
*resultobj
;
1188 byte arg1
= (byte
) 0 ;
1189 byte arg2
= (byte
) 0 ;
1190 byte arg3
= (byte
) 0 ;
1192 PyObject
* obj0
= 0 ;
1193 PyObject
* obj1
= 0 ;
1194 PyObject
* obj2
= 0 ;
1196 (char *) "red",(char *) "green",(char *) "blue", NULL
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1201 arg1
= (byte
)SWIG_As_unsigned_SS_char(obj0
);
1202 if (PyErr_Occurred()) SWIG_fail
;
1205 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1206 if (PyErr_Occurred()) SWIG_fail
;
1209 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1210 if (PyErr_Occurred()) SWIG_fail
;
1213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1214 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1216 wxPyEndAllowThreads(__tstate
);
1217 if (PyErr_Occurred()) SWIG_fail
;
1219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1226 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1227 PyObject
*resultobj
;
1228 wxString
*arg1
= 0 ;
1230 bool temp1
= false ;
1231 PyObject
* obj0
= 0 ;
1233 (char *) "colorName", NULL
1236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1238 arg1
= wxString_in_helper(obj0
);
1239 if (arg1
== NULL
) SWIG_fail
;
1243 if (!wxPyCheckForApp()) SWIG_fail
;
1244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1245 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1247 wxPyEndAllowThreads(__tstate
);
1248 if (PyErr_Occurred()) SWIG_fail
;
1250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1265 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1266 PyObject
*resultobj
;
1267 unsigned long arg1
;
1269 PyObject
* obj0
= 0 ;
1271 (char *) "colRGB", NULL
1274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1275 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
1276 if (PyErr_Occurred()) SWIG_fail
;
1278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1279 result
= (wxColour
*)new wxColour(arg1
);
1281 wxPyEndAllowThreads(__tstate
);
1282 if (PyErr_Occurred()) SWIG_fail
;
1284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1291 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1292 PyObject
*resultobj
;
1293 wxColour
*arg1
= (wxColour
*) 0 ;
1294 PyObject
* obj0
= 0 ;
1296 (char *) "self", NULL
1299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1306 wxPyEndAllowThreads(__tstate
);
1307 if (PyErr_Occurred()) SWIG_fail
;
1309 Py_INCREF(Py_None
); resultobj
= Py_None
;
1316 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1317 PyObject
*resultobj
;
1318 wxColour
*arg1
= (wxColour
*) 0 ;
1320 PyObject
* obj0
= 0 ;
1322 (char *) "self", NULL
1325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1330 result
= (byte
)(arg1
)->Red();
1332 wxPyEndAllowThreads(__tstate
);
1333 if (PyErr_Occurred()) SWIG_fail
;
1335 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1342 static PyObject
*_wrap_Colour_Green(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1343 PyObject
*resultobj
;
1344 wxColour
*arg1
= (wxColour
*) 0 ;
1346 PyObject
* obj0
= 0 ;
1348 (char *) "self", NULL
1351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1356 result
= (byte
)(arg1
)->Green();
1358 wxPyEndAllowThreads(__tstate
);
1359 if (PyErr_Occurred()) SWIG_fail
;
1361 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1368 static PyObject
*_wrap_Colour_Blue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1369 PyObject
*resultobj
;
1370 wxColour
*arg1
= (wxColour
*) 0 ;
1372 PyObject
* obj0
= 0 ;
1374 (char *) "self", NULL
1377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1382 result
= (byte
)(arg1
)->Blue();
1384 wxPyEndAllowThreads(__tstate
);
1385 if (PyErr_Occurred()) SWIG_fail
;
1387 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1394 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1395 PyObject
*resultobj
;
1396 wxColour
*arg1
= (wxColour
*) 0 ;
1398 PyObject
* obj0
= 0 ;
1400 (char *) "self", NULL
1403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1408 result
= (bool)(arg1
)->Ok();
1410 wxPyEndAllowThreads(__tstate
);
1411 if (PyErr_Occurred()) SWIG_fail
;
1414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1422 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
*resultobj
;
1424 wxColour
*arg1
= (wxColour
*) 0 ;
1428 PyObject
* obj0
= 0 ;
1429 PyObject
* obj1
= 0 ;
1430 PyObject
* obj2
= 0 ;
1431 PyObject
* obj3
= 0 ;
1433 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1439 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1440 if (PyErr_Occurred()) SWIG_fail
;
1441 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1442 if (PyErr_Occurred()) SWIG_fail
;
1443 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
1444 if (PyErr_Occurred()) SWIG_fail
;
1446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1447 (arg1
)->Set(arg2
,arg3
,arg4
);
1449 wxPyEndAllowThreads(__tstate
);
1450 if (PyErr_Occurred()) SWIG_fail
;
1452 Py_INCREF(Py_None
); resultobj
= Py_None
;
1459 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1460 PyObject
*resultobj
;
1461 wxColour
*arg1
= (wxColour
*) 0 ;
1462 unsigned long arg2
;
1463 PyObject
* obj0
= 0 ;
1464 PyObject
* obj1
= 0 ;
1466 (char *) "self",(char *) "colRGB", NULL
1469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1472 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
1473 if (PyErr_Occurred()) SWIG_fail
;
1475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1478 wxPyEndAllowThreads(__tstate
);
1479 if (PyErr_Occurred()) SWIG_fail
;
1481 Py_INCREF(Py_None
); resultobj
= Py_None
;
1488 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1489 PyObject
*resultobj
;
1490 wxColour
*arg1
= (wxColour
*) 0 ;
1491 wxString
*arg2
= 0 ;
1492 bool temp2
= false ;
1493 PyObject
* obj0
= 0 ;
1494 PyObject
* obj1
= 0 ;
1496 (char *) "self",(char *) "colourName", NULL
1499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1503 arg2
= wxString_in_helper(obj1
);
1504 if (arg2
== NULL
) SWIG_fail
;
1508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1509 (arg1
)->InitFromName((wxString
const &)*arg2
);
1511 wxPyEndAllowThreads(__tstate
);
1512 if (PyErr_Occurred()) SWIG_fail
;
1514 Py_INCREF(Py_None
); resultobj
= Py_None
;
1529 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1530 PyObject
*resultobj
;
1531 wxColour
*arg1
= (wxColour
*) 0 ;
1533 PyObject
* obj0
= 0 ;
1535 (char *) "self", NULL
1538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1543 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1545 wxPyEndAllowThreads(__tstate
);
1546 if (PyErr_Occurred()) SWIG_fail
;
1548 resultobj
= SWIG_From_long((long)result
);
1555 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1556 PyObject
*resultobj
;
1557 wxColour
*arg1
= (wxColour
*) 0 ;
1558 wxColour
*arg2
= 0 ;
1561 PyObject
* obj0
= 0 ;
1562 PyObject
* obj1
= 0 ;
1564 (char *) "self",(char *) "colour", NULL
1567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1572 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1576 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1578 wxPyEndAllowThreads(__tstate
);
1579 if (PyErr_Occurred()) SWIG_fail
;
1582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1590 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
*resultobj
;
1592 wxColour
*arg1
= (wxColour
*) 0 ;
1593 wxColour
*arg2
= 0 ;
1596 PyObject
* obj0
= 0 ;
1597 PyObject
* obj1
= 0 ;
1599 (char *) "self",(char *) "colour", NULL
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1607 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1611 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1613 wxPyEndAllowThreads(__tstate
);
1614 if (PyErr_Occurred()) SWIG_fail
;
1617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1625 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1626 PyObject
*resultobj
;
1627 wxColour
*arg1
= (wxColour
*) 0 ;
1629 PyObject
* obj0
= 0 ;
1631 (char *) "self", NULL
1634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1639 result
= (PyObject
*)wxColour_Get(arg1
);
1641 wxPyEndAllowThreads(__tstate
);
1642 if (PyErr_Occurred()) SWIG_fail
;
1651 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1652 PyObject
*resultobj
;
1653 wxColour
*arg1
= (wxColour
*) 0 ;
1654 unsigned long result
;
1655 PyObject
* obj0
= 0 ;
1657 (char *) "self", NULL
1660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1665 result
= (unsigned long)wxColour_GetRGB(arg1
);
1667 wxPyEndAllowThreads(__tstate
);
1668 if (PyErr_Occurred()) SWIG_fail
;
1670 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
1677 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
1679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1680 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1682 return Py_BuildValue((char *)"");
1684 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1685 PyObject
*resultobj
;
1687 unsigned char *arg2
= (unsigned char *) 0 ;
1688 unsigned char *arg3
= (unsigned char *) 0 ;
1689 unsigned char *arg4
= (unsigned char *) 0 ;
1691 PyObject
* obj0
= 0 ;
1692 PyObject
* obj1
= 0 ;
1693 PyObject
* obj2
= 0 ;
1694 PyObject
* obj3
= 0 ;
1696 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1700 arg1
= (int)SWIG_As_int(obj0
);
1701 if (PyErr_Occurred()) SWIG_fail
;
1702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1704 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1706 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1709 if (!wxPyCheckForApp()) SWIG_fail
;
1710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1711 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1713 wxPyEndAllowThreads(__tstate
);
1714 if (PyErr_Occurred()) SWIG_fail
;
1716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1723 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1724 PyObject
*resultobj
;
1725 wxPalette
*arg1
= (wxPalette
*) 0 ;
1726 PyObject
* obj0
= 0 ;
1728 (char *) "self", NULL
1731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1738 wxPyEndAllowThreads(__tstate
);
1739 if (PyErr_Occurred()) SWIG_fail
;
1741 Py_INCREF(Py_None
); resultobj
= Py_None
;
1748 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1749 PyObject
*resultobj
;
1750 wxPalette
*arg1
= (wxPalette
*) 0 ;
1755 PyObject
* obj0
= 0 ;
1756 PyObject
* obj1
= 0 ;
1757 PyObject
* obj2
= 0 ;
1758 PyObject
* obj3
= 0 ;
1760 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1766 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1767 if (PyErr_Occurred()) SWIG_fail
;
1768 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1769 if (PyErr_Occurred()) SWIG_fail
;
1770 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
1771 if (PyErr_Occurred()) SWIG_fail
;
1773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1774 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1776 wxPyEndAllowThreads(__tstate
);
1777 if (PyErr_Occurred()) SWIG_fail
;
1779 resultobj
= SWIG_From_int((int)result
);
1786 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1787 PyObject
*resultobj
;
1788 wxPalette
*arg1
= (wxPalette
*) 0 ;
1790 byte
*arg3
= (byte
*) 0 ;
1791 byte
*arg4
= (byte
*) 0 ;
1792 byte
*arg5
= (byte
*) 0 ;
1800 PyObject
* obj0
= 0 ;
1801 PyObject
* obj1
= 0 ;
1803 (char *) "self",(char *) "pixel", NULL
1806 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
1807 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
1808 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
1809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1812 arg2
= (int)SWIG_As_int(obj1
);
1813 if (PyErr_Occurred()) SWIG_fail
;
1815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1816 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1818 wxPyEndAllowThreads(__tstate
);
1819 if (PyErr_Occurred()) SWIG_fail
;
1822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1824 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
1825 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
1826 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
1827 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
1828 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
1829 SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_byte
, 0)));
1836 static PyObject
*_wrap_Palette_GetColoursCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1837 PyObject
*resultobj
;
1838 wxPalette
*arg1
= (wxPalette
*) 0 ;
1840 PyObject
* obj0
= 0 ;
1842 (char *) "self", NULL
1845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_GetColoursCount",kwnames
,&obj0
)) goto fail
;
1846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1850 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
1852 wxPyEndAllowThreads(__tstate
);
1853 if (PyErr_Occurred()) SWIG_fail
;
1855 resultobj
= SWIG_From_int((int)result
);
1862 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
*resultobj
;
1864 wxPalette
*arg1
= (wxPalette
*) 0 ;
1866 PyObject
* obj0
= 0 ;
1868 (char *) "self", NULL
1871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1876 result
= (bool)(arg1
)->Ok();
1878 wxPyEndAllowThreads(__tstate
);
1879 if (PyErr_Occurred()) SWIG_fail
;
1882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1890 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
1892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1893 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1895 return Py_BuildValue((char *)"");
1897 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1898 PyObject
*resultobj
;
1899 wxColour
*arg1
= 0 ;
1900 int arg2
= (int) 1 ;
1901 int arg3
= (int) wxSOLID
;
1904 PyObject
* obj0
= 0 ;
1905 PyObject
* obj1
= 0 ;
1906 PyObject
* obj2
= 0 ;
1908 (char *) "colour",(char *) "width",(char *) "style", NULL
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1914 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1917 arg2
= (int)SWIG_As_int(obj1
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1921 arg3
= (int)SWIG_As_int(obj2
);
1922 if (PyErr_Occurred()) SWIG_fail
;
1925 if (!wxPyCheckForApp()) SWIG_fail
;
1926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1927 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1929 wxPyEndAllowThreads(__tstate
);
1930 if (PyErr_Occurred()) SWIG_fail
;
1932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1939 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
*resultobj
;
1941 wxPen
*arg1
= (wxPen
*) 0 ;
1942 PyObject
* obj0
= 0 ;
1944 (char *) "self", NULL
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1954 wxPyEndAllowThreads(__tstate
);
1955 if (PyErr_Occurred()) SWIG_fail
;
1957 Py_INCREF(Py_None
); resultobj
= Py_None
;
1964 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
*resultobj
;
1966 wxPen
*arg1
= (wxPen
*) 0 ;
1968 PyObject
* obj0
= 0 ;
1970 (char *) "self", NULL
1973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1978 result
= (int)(arg1
)->GetCap();
1980 wxPyEndAllowThreads(__tstate
);
1981 if (PyErr_Occurred()) SWIG_fail
;
1983 resultobj
= SWIG_From_int((int)result
);
1990 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1991 PyObject
*resultobj
;
1992 wxPen
*arg1
= (wxPen
*) 0 ;
1994 PyObject
* obj0
= 0 ;
1996 (char *) "self", NULL
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
2000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2004 result
= (arg1
)->GetColour();
2006 wxPyEndAllowThreads(__tstate
);
2007 if (PyErr_Occurred()) SWIG_fail
;
2010 wxColour
* resultptr
;
2011 resultptr
= new wxColour((wxColour
&) result
);
2012 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2020 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2021 PyObject
*resultobj
;
2022 wxPen
*arg1
= (wxPen
*) 0 ;
2024 PyObject
* obj0
= 0 ;
2026 (char *) "self", NULL
2029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
2030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2034 result
= (int)(arg1
)->GetJoin();
2036 wxPyEndAllowThreads(__tstate
);
2037 if (PyErr_Occurred()) SWIG_fail
;
2039 resultobj
= SWIG_From_int((int)result
);
2046 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2047 PyObject
*resultobj
;
2048 wxPen
*arg1
= (wxPen
*) 0 ;
2050 PyObject
* obj0
= 0 ;
2052 (char *) "self", NULL
2055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
2056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2060 result
= (int)(arg1
)->GetStyle();
2062 wxPyEndAllowThreads(__tstate
);
2063 if (PyErr_Occurred()) SWIG_fail
;
2065 resultobj
= SWIG_From_int((int)result
);
2072 static PyObject
*_wrap_Pen_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2073 PyObject
*resultobj
;
2074 wxPen
*arg1
= (wxPen
*) 0 ;
2076 PyObject
* obj0
= 0 ;
2078 (char *) "self", NULL
2081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
2082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2086 result
= (int)(arg1
)->GetWidth();
2088 wxPyEndAllowThreads(__tstate
);
2089 if (PyErr_Occurred()) SWIG_fail
;
2091 resultobj
= SWIG_From_int((int)result
);
2098 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2099 PyObject
*resultobj
;
2100 wxPen
*arg1
= (wxPen
*) 0 ;
2102 PyObject
* obj0
= 0 ;
2104 (char *) "self", NULL
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
2108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2112 result
= (bool)(arg1
)->Ok();
2114 wxPyEndAllowThreads(__tstate
);
2115 if (PyErr_Occurred()) SWIG_fail
;
2118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2126 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
*resultobj
;
2128 wxPen
*arg1
= (wxPen
*) 0 ;
2130 PyObject
* obj0
= 0 ;
2131 PyObject
* obj1
= 0 ;
2133 (char *) "self",(char *) "cap_style", NULL
2136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
2137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2139 arg2
= (int)SWIG_As_int(obj1
);
2140 if (PyErr_Occurred()) SWIG_fail
;
2142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2143 (arg1
)->SetCap(arg2
);
2145 wxPyEndAllowThreads(__tstate
);
2146 if (PyErr_Occurred()) SWIG_fail
;
2148 Py_INCREF(Py_None
); resultobj
= Py_None
;
2155 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2156 PyObject
*resultobj
;
2157 wxPen
*arg1
= (wxPen
*) 0 ;
2158 wxColour
*arg2
= 0 ;
2160 PyObject
* obj0
= 0 ;
2161 PyObject
* obj1
= 0 ;
2163 (char *) "self",(char *) "colour", NULL
2166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2171 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2175 (arg1
)->SetColour(*arg2
);
2177 wxPyEndAllowThreads(__tstate
);
2178 if (PyErr_Occurred()) SWIG_fail
;
2180 Py_INCREF(Py_None
); resultobj
= Py_None
;
2187 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2188 PyObject
*resultobj
;
2189 wxPen
*arg1
= (wxPen
*) 0 ;
2191 PyObject
* obj0
= 0 ;
2192 PyObject
* obj1
= 0 ;
2194 (char *) "self",(char *) "join_style", NULL
2197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2200 arg2
= (int)SWIG_As_int(obj1
);
2201 if (PyErr_Occurred()) SWIG_fail
;
2203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2204 (arg1
)->SetJoin(arg2
);
2206 wxPyEndAllowThreads(__tstate
);
2207 if (PyErr_Occurred()) SWIG_fail
;
2209 Py_INCREF(Py_None
); resultobj
= Py_None
;
2216 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2217 PyObject
*resultobj
;
2218 wxPen
*arg1
= (wxPen
*) 0 ;
2220 PyObject
* obj0
= 0 ;
2221 PyObject
* obj1
= 0 ;
2223 (char *) "self",(char *) "style", NULL
2226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2229 arg2
= (int)SWIG_As_int(obj1
);
2230 if (PyErr_Occurred()) SWIG_fail
;
2232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2233 (arg1
)->SetStyle(arg2
);
2235 wxPyEndAllowThreads(__tstate
);
2236 if (PyErr_Occurred()) SWIG_fail
;
2238 Py_INCREF(Py_None
); resultobj
= Py_None
;
2245 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2246 PyObject
*resultobj
;
2247 wxPen
*arg1
= (wxPen
*) 0 ;
2249 PyObject
* obj0
= 0 ;
2250 PyObject
* obj1
= 0 ;
2252 (char *) "self",(char *) "width", NULL
2255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2258 arg2
= (int)SWIG_As_int(obj1
);
2259 if (PyErr_Occurred()) SWIG_fail
;
2261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2262 (arg1
)->SetWidth(arg2
);
2264 wxPyEndAllowThreads(__tstate
);
2265 if (PyErr_Occurred()) SWIG_fail
;
2267 Py_INCREF(Py_None
); resultobj
= Py_None
;
2274 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2275 PyObject
*resultobj
;
2276 wxPen
*arg1
= (wxPen
*) 0 ;
2278 wxDash
*arg3
= (wxDash
*) 0 ;
2279 PyObject
* obj0
= 0 ;
2280 PyObject
* obj1
= 0 ;
2282 (char *) "self",(char *) "dashes", NULL
2285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2289 arg2
= PyList_Size(obj1
);
2290 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2291 if (arg3
== NULL
) SWIG_fail
;
2294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2295 (arg1
)->SetDashes(arg2
,arg3
);
2297 wxPyEndAllowThreads(__tstate
);
2298 if (PyErr_Occurred()) SWIG_fail
;
2300 Py_INCREF(Py_None
); resultobj
= Py_None
;
2302 if (arg3
) delete [] arg3
;
2307 if (arg3
) delete [] arg3
;
2313 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
*resultobj
;
2315 wxPen
*arg1
= (wxPen
*) 0 ;
2317 PyObject
* obj0
= 0 ;
2319 (char *) "self", NULL
2322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2327 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2329 wxPyEndAllowThreads(__tstate
);
2330 if (PyErr_Occurred()) SWIG_fail
;
2339 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
*resultobj
;
2341 wxPen
*arg1
= (wxPen
*) 0 ;
2342 PyObject
*arg2
= (PyObject
*) 0 ;
2343 PyObject
*arg3
= (PyObject
*) 0 ;
2344 PyObject
* obj0
= 0 ;
2345 PyObject
* obj1
= 0 ;
2346 PyObject
* obj2
= 0 ;
2348 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2358 wxPen__SetDashes(arg1
,arg2
,arg3
);
2360 wxPyEndAllowThreads(__tstate
);
2361 if (PyErr_Occurred()) SWIG_fail
;
2363 Py_INCREF(Py_None
); resultobj
= Py_None
;
2370 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2371 PyObject
*resultobj
;
2372 wxPen
*arg1
= (wxPen
*) 0 ;
2374 PyObject
* obj0
= 0 ;
2376 (char *) "self", NULL
2379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2384 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2386 wxPyEndAllowThreads(__tstate
);
2387 if (PyErr_Occurred()) SWIG_fail
;
2389 resultobj
= SWIG_From_int((int)result
);
2396 static PyObject
*_wrap_Pen_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2397 PyObject
*resultobj
;
2398 wxPen
*arg1
= (wxPen
*) 0 ;
2400 PyObject
* obj0
= 0 ;
2402 (char *) "self", NULL
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStipple",kwnames
,&obj0
)) goto fail
;
2406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2410 result
= (wxBitmap
*)(arg1
)->GetStipple();
2412 wxPyEndAllowThreads(__tstate
);
2413 if (PyErr_Occurred()) SWIG_fail
;
2415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2422 static PyObject
*_wrap_Pen_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2423 PyObject
*resultobj
;
2424 wxPen
*arg1
= (wxPen
*) 0 ;
2425 wxBitmap
*arg2
= 0 ;
2426 PyObject
* obj0
= 0 ;
2427 PyObject
* obj1
= 0 ;
2429 (char *) "self",(char *) "stipple", NULL
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2435 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2436 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2439 PyErr_SetString(PyExc_TypeError
,"null reference");
2443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2444 (arg1
)->SetStipple(*arg2
);
2446 wxPyEndAllowThreads(__tstate
);
2447 if (PyErr_Occurred()) SWIG_fail
;
2449 Py_INCREF(Py_None
); resultobj
= Py_None
;
2456 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2457 PyObject
*resultobj
;
2458 wxPen
*arg1
= (wxPen
*) 0 ;
2459 wxPen
*arg2
= (wxPen
*) 0 ;
2461 PyObject
* obj0
= 0 ;
2462 PyObject
* obj1
= 0 ;
2464 (char *) "self",(char *) "other", NULL
2467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2474 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2476 wxPyEndAllowThreads(__tstate
);
2477 if (PyErr_Occurred()) SWIG_fail
;
2480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2488 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2489 PyObject
*resultobj
;
2490 wxPen
*arg1
= (wxPen
*) 0 ;
2491 wxPen
*arg2
= (wxPen
*) 0 ;
2493 PyObject
* obj0
= 0 ;
2494 PyObject
* obj1
= 0 ;
2496 (char *) "self",(char *) "other", NULL
2499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2506 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2508 wxPyEndAllowThreads(__tstate
);
2509 if (PyErr_Occurred()) SWIG_fail
;
2512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2520 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
2522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2523 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2525 return Py_BuildValue((char *)"");
2527 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
*resultobj
;
2529 wxColour
*arg1
= 0 ;
2530 int arg2
= (int) wxSOLID
;
2533 PyObject
* obj0
= 0 ;
2534 PyObject
* obj1
= 0 ;
2536 (char *) "colour",(char *) "style", NULL
2539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2542 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2545 arg2
= (int)SWIG_As_int(obj1
);
2546 if (PyErr_Occurred()) SWIG_fail
;
2549 if (!wxPyCheckForApp()) SWIG_fail
;
2550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2551 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2553 wxPyEndAllowThreads(__tstate
);
2554 if (PyErr_Occurred()) SWIG_fail
;
2556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2563 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
*resultobj
;
2565 wxBrush
*arg1
= (wxBrush
*) 0 ;
2566 PyObject
* obj0
= 0 ;
2568 (char *) "self", NULL
2571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2578 wxPyEndAllowThreads(__tstate
);
2579 if (PyErr_Occurred()) SWIG_fail
;
2581 Py_INCREF(Py_None
); resultobj
= Py_None
;
2588 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2589 PyObject
*resultobj
;
2590 wxBrush
*arg1
= (wxBrush
*) 0 ;
2591 wxColour
*arg2
= 0 ;
2593 PyObject
* obj0
= 0 ;
2594 PyObject
* obj1
= 0 ;
2596 (char *) "self",(char *) "col", NULL
2599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2604 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2608 (arg1
)->SetColour((wxColour
const &)*arg2
);
2610 wxPyEndAllowThreads(__tstate
);
2611 if (PyErr_Occurred()) SWIG_fail
;
2613 Py_INCREF(Py_None
); resultobj
= Py_None
;
2620 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2621 PyObject
*resultobj
;
2622 wxBrush
*arg1
= (wxBrush
*) 0 ;
2624 PyObject
* obj0
= 0 ;
2625 PyObject
* obj1
= 0 ;
2627 (char *) "self",(char *) "style", NULL
2630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2633 arg2
= (int)SWIG_As_int(obj1
);
2634 if (PyErr_Occurred()) SWIG_fail
;
2636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2637 (arg1
)->SetStyle(arg2
);
2639 wxPyEndAllowThreads(__tstate
);
2640 if (PyErr_Occurred()) SWIG_fail
;
2642 Py_INCREF(Py_None
); resultobj
= Py_None
;
2649 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2650 PyObject
*resultobj
;
2651 wxBrush
*arg1
= (wxBrush
*) 0 ;
2652 wxBitmap
*arg2
= 0 ;
2653 PyObject
* obj0
= 0 ;
2654 PyObject
* obj1
= 0 ;
2656 (char *) "self",(char *) "stipple", NULL
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2663 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2666 PyErr_SetString(PyExc_TypeError
,"null reference");
2670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2671 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2673 wxPyEndAllowThreads(__tstate
);
2674 if (PyErr_Occurred()) SWIG_fail
;
2676 Py_INCREF(Py_None
); resultobj
= Py_None
;
2683 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2684 PyObject
*resultobj
;
2685 wxBrush
*arg1
= (wxBrush
*) 0 ;
2687 PyObject
* obj0
= 0 ;
2689 (char *) "self", NULL
2692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2697 result
= ((wxBrush
const *)arg1
)->GetColour();
2699 wxPyEndAllowThreads(__tstate
);
2700 if (PyErr_Occurred()) SWIG_fail
;
2703 wxColour
* resultptr
;
2704 resultptr
= new wxColour((wxColour
&) result
);
2705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2713 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2714 PyObject
*resultobj
;
2715 wxBrush
*arg1
= (wxBrush
*) 0 ;
2717 PyObject
* obj0
= 0 ;
2719 (char *) "self", NULL
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2727 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2729 wxPyEndAllowThreads(__tstate
);
2730 if (PyErr_Occurred()) SWIG_fail
;
2732 resultobj
= SWIG_From_int((int)result
);
2739 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2740 PyObject
*resultobj
;
2741 wxBrush
*arg1
= (wxBrush
*) 0 ;
2743 PyObject
* obj0
= 0 ;
2745 (char *) "self", NULL
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2753 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2755 wxPyEndAllowThreads(__tstate
);
2756 if (PyErr_Occurred()) SWIG_fail
;
2758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2765 static PyObject
*_wrap_Brush_IsHatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
*resultobj
;
2767 wxBrush
*arg1
= (wxBrush
*) 0 ;
2769 PyObject
* obj0
= 0 ;
2771 (char *) "self", NULL
2774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_IsHatch",kwnames
,&obj0
)) goto fail
;
2775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2779 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
2781 wxPyEndAllowThreads(__tstate
);
2782 if (PyErr_Occurred()) SWIG_fail
;
2785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2793 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
*resultobj
;
2795 wxBrush
*arg1
= (wxBrush
*) 0 ;
2797 PyObject
* obj0
= 0 ;
2799 (char *) "self", NULL
2802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2807 result
= (bool)(arg1
)->Ok();
2809 wxPyEndAllowThreads(__tstate
);
2810 if (PyErr_Occurred()) SWIG_fail
;
2813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2821 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
2823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2824 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2826 return Py_BuildValue((char *)"");
2828 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
*resultobj
;
2830 wxString
*arg1
= 0 ;
2831 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2833 bool temp1
= false ;
2834 PyObject
* obj0
= 0 ;
2835 PyObject
* obj1
= 0 ;
2837 (char *) "name",(char *) "type", NULL
2840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2842 arg1
= wxString_in_helper(obj0
);
2843 if (arg1
== NULL
) SWIG_fail
;
2847 arg2
= (int)SWIG_As_int(obj1
);
2848 if (PyErr_Occurred()) SWIG_fail
;
2851 if (!wxPyCheckForApp()) SWIG_fail
;
2852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2853 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2855 wxPyEndAllowThreads(__tstate
);
2856 if (PyErr_Occurred()) SWIG_fail
;
2858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2873 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2874 PyObject
*resultobj
;
2875 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2876 PyObject
* obj0
= 0 ;
2878 (char *) "self", NULL
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2888 wxPyEndAllowThreads(__tstate
);
2889 if (PyErr_Occurred()) SWIG_fail
;
2891 Py_INCREF(Py_None
); resultobj
= Py_None
;
2898 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
*resultobj
;
2902 int arg3
= (int) -1 ;
2904 PyObject
* obj0
= 0 ;
2905 PyObject
* obj1
= 0 ;
2906 PyObject
* obj2
= 0 ;
2908 (char *) "width",(char *) "height",(char *) "depth", NULL
2911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2912 arg1
= (int)SWIG_As_int(obj0
);
2913 if (PyErr_Occurred()) SWIG_fail
;
2914 arg2
= (int)SWIG_As_int(obj1
);
2915 if (PyErr_Occurred()) SWIG_fail
;
2917 arg3
= (int)SWIG_As_int(obj2
);
2918 if (PyErr_Occurred()) SWIG_fail
;
2921 if (!wxPyCheckForApp()) SWIG_fail
;
2922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2923 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2925 wxPyEndAllowThreads(__tstate
);
2926 if (PyErr_Occurred()) SWIG_fail
;
2928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2935 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2936 PyObject
*resultobj
;
2939 PyObject
* obj0
= 0 ;
2941 (char *) "icon", NULL
2944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2946 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2949 PyErr_SetString(PyExc_TypeError
,"null reference");
2953 if (!wxPyCheckForApp()) SWIG_fail
;
2954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2955 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2957 wxPyEndAllowThreads(__tstate
);
2958 if (PyErr_Occurred()) SWIG_fail
;
2960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2967 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
*resultobj
;
2970 int arg2
= (int) -1 ;
2972 PyObject
* obj0
= 0 ;
2973 PyObject
* obj1
= 0 ;
2975 (char *) "image",(char *) "depth", NULL
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2980 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2983 PyErr_SetString(PyExc_TypeError
,"null reference");
2987 arg2
= (int)SWIG_As_int(obj1
);
2988 if (PyErr_Occurred()) SWIG_fail
;
2991 if (!wxPyCheckForApp()) SWIG_fail
;
2992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2993 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2995 wxPyEndAllowThreads(__tstate
);
2996 if (PyErr_Occurred()) SWIG_fail
;
2998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
3005 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3006 PyObject
*resultobj
;
3007 PyObject
*arg1
= (PyObject
*) 0 ;
3009 PyObject
* obj0
= 0 ;
3011 (char *) "listOfStrings", NULL
3014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
3017 if (!wxPyCheckForApp()) SWIG_fail
;
3018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3019 result
= (wxBitmap
*)new_wxBitmap(arg1
);
3021 wxPyEndAllowThreads(__tstate
);
3022 if (PyErr_Occurred()) SWIG_fail
;
3024 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
3031 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3032 PyObject
*resultobj
;
3033 PyObject
*arg1
= (PyObject
*) 0 ;
3036 int arg4
= (int) 1 ;
3038 PyObject
* obj0
= 0 ;
3039 PyObject
* obj1
= 0 ;
3040 PyObject
* obj2
= 0 ;
3041 PyObject
* obj3
= 0 ;
3043 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
3046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3048 arg2
= (int)SWIG_As_int(obj1
);
3049 if (PyErr_Occurred()) SWIG_fail
;
3050 arg3
= (int)SWIG_As_int(obj2
);
3051 if (PyErr_Occurred()) SWIG_fail
;
3053 arg4
= (int)SWIG_As_int(obj3
);
3054 if (PyErr_Occurred()) SWIG_fail
;
3057 if (!wxPyCheckForApp()) SWIG_fail
;
3058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3059 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
3061 wxPyEndAllowThreads(__tstate
);
3062 if (PyErr_Occurred()) SWIG_fail
;
3064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
3071 static PyObject
*_wrap_Bitmap_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3072 PyObject
*resultobj
;
3073 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3075 PyObject
* obj0
= 0 ;
3077 (char *) "self", NULL
3080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHandle",kwnames
,&obj0
)) goto fail
;
3081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3085 result
= (long)(arg1
)->GetHandle();
3087 wxPyEndAllowThreads(__tstate
);
3088 if (PyErr_Occurred()) SWIG_fail
;
3090 resultobj
= SWIG_From_long((long)result
);
3097 static PyObject
*_wrap_Bitmap_SetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
*resultobj
;
3099 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3101 PyObject
* obj0
= 0 ;
3102 PyObject
* obj1
= 0 ;
3104 (char *) "self",(char *) "handle", NULL
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
3108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3110 arg2
= (long)SWIG_As_long(obj1
);
3111 if (PyErr_Occurred()) SWIG_fail
;
3113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3114 wxBitmap_SetHandle(arg1
,arg2
);
3116 wxPyEndAllowThreads(__tstate
);
3117 if (PyErr_Occurred()) SWIG_fail
;
3119 Py_INCREF(Py_None
); resultobj
= Py_None
;
3126 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3127 PyObject
*resultobj
;
3128 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3130 PyObject
* obj0
= 0 ;
3132 (char *) "self", NULL
3135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
3136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3140 result
= (bool)(arg1
)->Ok();
3142 wxPyEndAllowThreads(__tstate
);
3143 if (PyErr_Occurred()) SWIG_fail
;
3146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3154 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3155 PyObject
*resultobj
;
3156 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3158 PyObject
* obj0
= 0 ;
3160 (char *) "self", NULL
3163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
3164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3168 result
= (int)(arg1
)->GetWidth();
3170 wxPyEndAllowThreads(__tstate
);
3171 if (PyErr_Occurred()) SWIG_fail
;
3173 resultobj
= SWIG_From_int((int)result
);
3180 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
*resultobj
;
3182 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3184 PyObject
* obj0
= 0 ;
3186 (char *) "self", NULL
3189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
3190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3194 result
= (int)(arg1
)->GetHeight();
3196 wxPyEndAllowThreads(__tstate
);
3197 if (PyErr_Occurred()) SWIG_fail
;
3199 resultobj
= SWIG_From_int((int)result
);
3206 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
*resultobj
;
3208 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3210 PyObject
* obj0
= 0 ;
3212 (char *) "self", NULL
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
3216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3220 result
= (int)(arg1
)->GetDepth();
3222 wxPyEndAllowThreads(__tstate
);
3223 if (PyErr_Occurred()) SWIG_fail
;
3225 resultobj
= SWIG_From_int((int)result
);
3232 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
*resultobj
;
3234 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3236 PyObject
* obj0
= 0 ;
3238 (char *) "self", NULL
3241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
3242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3246 result
= wxBitmap_GetSize(arg1
);
3248 wxPyEndAllowThreads(__tstate
);
3249 if (PyErr_Occurred()) SWIG_fail
;
3253 resultptr
= new wxSize((wxSize
&) result
);
3254 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3262 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3263 PyObject
*resultobj
;
3264 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3265 SwigValueWrapper
< wxImage
> result
;
3266 PyObject
* obj0
= 0 ;
3268 (char *) "self", NULL
3271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3276 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3278 wxPyEndAllowThreads(__tstate
);
3279 if (PyErr_Occurred()) SWIG_fail
;
3282 wxImage
* resultptr
;
3283 resultptr
= new wxImage((wxImage
&) result
);
3284 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3292 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
*resultobj
;
3294 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3296 PyObject
* obj0
= 0 ;
3298 (char *) "self", NULL
3301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3306 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3308 wxPyEndAllowThreads(__tstate
);
3309 if (PyErr_Occurred()) SWIG_fail
;
3311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3318 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3319 PyObject
*resultobj
;
3320 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3321 wxMask
*arg2
= (wxMask
*) 0 ;
3322 PyObject
* obj0
= 0 ;
3323 PyObject
* obj1
= 0 ;
3325 (char *) "self",(char *) "mask", NULL
3328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3335 (arg1
)->SetMask(arg2
);
3337 wxPyEndAllowThreads(__tstate
);
3338 if (PyErr_Occurred()) SWIG_fail
;
3340 Py_INCREF(Py_None
); resultobj
= Py_None
;
3347 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3348 PyObject
*resultobj
;
3349 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3350 wxColour
*arg2
= 0 ;
3352 PyObject
* obj0
= 0 ;
3353 PyObject
* obj1
= 0 ;
3355 (char *) "self",(char *) "colour", NULL
3358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3363 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3367 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3369 wxPyEndAllowThreads(__tstate
);
3370 if (PyErr_Occurred()) SWIG_fail
;
3372 Py_INCREF(Py_None
); resultobj
= Py_None
;
3379 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
*resultobj
;
3381 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3383 SwigValueWrapper
< wxBitmap
> result
;
3385 PyObject
* obj0
= 0 ;
3386 PyObject
* obj1
= 0 ;
3388 (char *) "self",(char *) "rect", NULL
3391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3396 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3400 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3402 wxPyEndAllowThreads(__tstate
);
3403 if (PyErr_Occurred()) SWIG_fail
;
3406 wxBitmap
* resultptr
;
3407 resultptr
= new wxBitmap((wxBitmap
&) result
);
3408 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3416 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
*resultobj
;
3418 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3419 wxString
*arg2
= 0 ;
3421 wxPalette
*arg4
= (wxPalette
*) NULL
;
3423 bool temp2
= false ;
3424 PyObject
* obj0
= 0 ;
3425 PyObject
* obj1
= 0 ;
3426 PyObject
* obj2
= 0 ;
3427 PyObject
* obj3
= 0 ;
3429 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3436 arg2
= wxString_in_helper(obj1
);
3437 if (arg2
== NULL
) SWIG_fail
;
3440 arg3
= (int)SWIG_As_int(obj2
);
3441 if (PyErr_Occurred()) SWIG_fail
;
3443 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3448 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3450 wxPyEndAllowThreads(__tstate
);
3451 if (PyErr_Occurred()) SWIG_fail
;
3454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3470 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3471 PyObject
*resultobj
;
3472 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3473 wxString
*arg2
= 0 ;
3476 bool temp2
= false ;
3477 PyObject
* obj0
= 0 ;
3478 PyObject
* obj1
= 0 ;
3479 PyObject
* obj2
= 0 ;
3481 (char *) "self",(char *) "name",(char *) "type", NULL
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3488 arg2
= wxString_in_helper(obj1
);
3489 if (arg2
== NULL
) SWIG_fail
;
3492 arg3
= (int)SWIG_As_int(obj2
);
3493 if (PyErr_Occurred()) SWIG_fail
;
3495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3496 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3498 wxPyEndAllowThreads(__tstate
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3518 static PyObject
*_wrap_Bitmap_GetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3519 PyObject
*resultobj
;
3520 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3522 PyObject
* obj0
= 0 ;
3524 (char *) "self", NULL
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetPalette",kwnames
,&obj0
)) goto fail
;
3528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3532 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
3534 wxPyEndAllowThreads(__tstate
);
3535 if (PyErr_Occurred()) SWIG_fail
;
3537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 0);
3544 static PyObject
*_wrap_Bitmap_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
*resultobj
;
3546 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3547 wxPalette
*arg2
= 0 ;
3548 PyObject
* obj0
= 0 ;
3549 PyObject
* obj1
= 0 ;
3551 (char *) "self",(char *) "palette", NULL
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
3555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
3558 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3561 PyErr_SetString(PyExc_TypeError
,"null reference");
3565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3566 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
3568 wxPyEndAllowThreads(__tstate
);
3569 if (PyErr_Occurred()) SWIG_fail
;
3571 Py_INCREF(Py_None
); resultobj
= Py_None
;
3578 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3579 PyObject
*resultobj
;
3580 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3583 PyObject
* obj0
= 0 ;
3584 PyObject
* obj1
= 0 ;
3586 (char *) "self",(char *) "icon", NULL
3589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3593 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3596 PyErr_SetString(PyExc_TypeError
,"null reference");
3600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3603 wxPyEndAllowThreads(__tstate
);
3604 if (PyErr_Occurred()) SWIG_fail
;
3607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3615 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3616 PyObject
*resultobj
;
3617 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3619 PyObject
* obj0
= 0 ;
3620 PyObject
* obj1
= 0 ;
3622 (char *) "self",(char *) "height", NULL
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3628 arg2
= (int)SWIG_As_int(obj1
);
3629 if (PyErr_Occurred()) SWIG_fail
;
3631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3632 (arg1
)->SetHeight(arg2
);
3634 wxPyEndAllowThreads(__tstate
);
3635 if (PyErr_Occurred()) SWIG_fail
;
3637 Py_INCREF(Py_None
); resultobj
= Py_None
;
3644 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
*resultobj
;
3646 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3648 PyObject
* obj0
= 0 ;
3649 PyObject
* obj1
= 0 ;
3651 (char *) "self",(char *) "width", NULL
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3657 arg2
= (int)SWIG_As_int(obj1
);
3658 if (PyErr_Occurred()) SWIG_fail
;
3660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 (arg1
)->SetWidth(arg2
);
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) SWIG_fail
;
3666 Py_INCREF(Py_None
); resultobj
= Py_None
;
3673 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3674 PyObject
*resultobj
;
3675 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3677 PyObject
* obj0
= 0 ;
3678 PyObject
* obj1
= 0 ;
3680 (char *) "self",(char *) "depth", NULL
3683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3686 arg2
= (int)SWIG_As_int(obj1
);
3687 if (PyErr_Occurred()) SWIG_fail
;
3689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3690 (arg1
)->SetDepth(arg2
);
3692 wxPyEndAllowThreads(__tstate
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3695 Py_INCREF(Py_None
); resultobj
= Py_None
;
3702 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3703 PyObject
*resultobj
;
3704 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3707 PyObject
* obj0
= 0 ;
3708 PyObject
* obj1
= 0 ;
3710 (char *) "self",(char *) "size", NULL
3713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3718 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3722 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3727 Py_INCREF(Py_None
); resultobj
= Py_None
;
3734 static PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3735 PyObject
*resultobj
;
3736 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3737 wxCursor
*arg2
= 0 ;
3739 PyObject
* obj0
= 0 ;
3740 PyObject
* obj1
= 0 ;
3742 (char *) "self",(char *) "cursor", NULL
3745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
3746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
3749 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3752 PyErr_SetString(PyExc_TypeError
,"null reference");
3756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3757 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
3759 wxPyEndAllowThreads(__tstate
);
3760 if (PyErr_Occurred()) SWIG_fail
;
3763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3771 static PyObject
*_wrap_Bitmap_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
*resultobj
;
3773 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3775 PyObject
* obj0
= 0 ;
3777 (char *) "self", NULL
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetQuality",kwnames
,&obj0
)) goto fail
;
3781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 result
= (int)(arg1
)->GetQuality();
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3790 resultobj
= SWIG_From_int((int)result
);
3797 static PyObject
*_wrap_Bitmap_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
*resultobj
;
3799 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3801 PyObject
* obj0
= 0 ;
3802 PyObject
* obj1
= 0 ;
3804 (char *) "self",(char *) "q", NULL
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
3808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3810 arg2
= (int)SWIG_As_int(obj1
);
3811 if (PyErr_Occurred()) SWIG_fail
;
3813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3814 (arg1
)->SetQuality(arg2
);
3816 wxPyEndAllowThreads(__tstate
);
3817 if (PyErr_Occurred()) SWIG_fail
;
3819 Py_INCREF(Py_None
); resultobj
= Py_None
;
3826 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3827 PyObject
*resultobj
;
3828 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3829 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3831 PyObject
* obj0
= 0 ;
3832 PyObject
* obj1
= 0 ;
3834 (char *) "self",(char *) "other", NULL
3837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3844 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3846 wxPyEndAllowThreads(__tstate
);
3847 if (PyErr_Occurred()) SWIG_fail
;
3850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3858 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
*resultobj
;
3860 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3861 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3863 PyObject
* obj0
= 0 ;
3864 PyObject
* obj1
= 0 ;
3866 (char *) "self",(char *) "other", NULL
3869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3876 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3878 wxPyEndAllowThreads(__tstate
);
3879 if (PyErr_Occurred()) SWIG_fail
;
3882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3890 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
3892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3893 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3895 return Py_BuildValue((char *)"");
3897 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
*resultobj
;
3899 wxBitmap
*arg1
= 0 ;
3900 wxColour
const &arg2_defvalue
= wxNullColour
;
3901 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3904 PyObject
* obj0
= 0 ;
3905 PyObject
* obj1
= 0 ;
3907 (char *) "bitmap",(char *) "colour", NULL
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3912 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3915 PyErr_SetString(PyExc_TypeError
,"null reference");
3921 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3925 if (!wxPyCheckForApp()) SWIG_fail
;
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3927 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3939 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
3941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3942 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3944 return Py_BuildValue((char *)"");
3946 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
*resultobj
;
3948 wxString
*arg1
= 0 ;
3950 int arg3
= (int) -1 ;
3951 int arg4
= (int) -1 ;
3953 bool temp1
= false ;
3954 PyObject
* obj0
= 0 ;
3955 PyObject
* obj1
= 0 ;
3956 PyObject
* obj2
= 0 ;
3957 PyObject
* obj3
= 0 ;
3959 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3964 arg1
= wxString_in_helper(obj0
);
3965 if (arg1
== NULL
) SWIG_fail
;
3968 arg2
= (int)SWIG_As_int(obj1
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3971 arg3
= (int)SWIG_As_int(obj2
);
3972 if (PyErr_Occurred()) SWIG_fail
;
3975 arg4
= (int)SWIG_As_int(obj3
);
3976 if (PyErr_Occurred()) SWIG_fail
;
3979 if (!wxPyCheckForApp()) SWIG_fail
;
3980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3981 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3983 wxPyEndAllowThreads(__tstate
);
3984 if (PyErr_Occurred()) SWIG_fail
;
3986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
4001 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
*resultobj
;
4003 wxIcon
*arg1
= (wxIcon
*) 0 ;
4004 PyObject
* obj0
= 0 ;
4006 (char *) "self", NULL
4009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
4010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4016 wxPyEndAllowThreads(__tstate
);
4017 if (PyErr_Occurred()) SWIG_fail
;
4019 Py_INCREF(Py_None
); resultobj
= Py_None
;
4026 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4027 PyObject
*resultobj
;
4033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
4035 if (!wxPyCheckForApp()) SWIG_fail
;
4036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4037 result
= (wxIcon
*)new wxIcon();
4039 wxPyEndAllowThreads(__tstate
);
4040 if (PyErr_Occurred()) SWIG_fail
;
4042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
4049 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4050 PyObject
*resultobj
;
4051 wxIconLocation
*arg1
= 0 ;
4053 PyObject
* obj0
= 0 ;
4055 (char *) "loc", NULL
4058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
4059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4060 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4063 PyErr_SetString(PyExc_TypeError
,"null reference");
4067 if (!wxPyCheckForApp()) SWIG_fail
;
4068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4069 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
4081 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
*resultobj
;
4083 wxBitmap
*arg1
= 0 ;
4085 PyObject
* obj0
= 0 ;
4087 (char *) "bmp", NULL
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
4091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4092 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4095 PyErr_SetString(PyExc_TypeError
,"null reference");
4099 if (!wxPyCheckForApp()) SWIG_fail
;
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4101 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
4103 wxPyEndAllowThreads(__tstate
);
4104 if (PyErr_Occurred()) SWIG_fail
;
4106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
4113 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4114 PyObject
*resultobj
;
4115 PyObject
*arg1
= (PyObject
*) 0 ;
4117 PyObject
* obj0
= 0 ;
4119 (char *) "listOfStrings", NULL
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
4125 if (!wxPyCheckForApp()) SWIG_fail
;
4126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4127 result
= (wxIcon
*)new_wxIcon(arg1
);
4129 wxPyEndAllowThreads(__tstate
);
4130 if (PyErr_Occurred()) SWIG_fail
;
4132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
4139 static PyObject
*_wrap_Icon_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
*resultobj
;
4141 wxIcon
*arg1
= (wxIcon
*) 0 ;
4142 wxString
*arg2
= 0 ;
4145 bool temp2
= false ;
4146 PyObject
* obj0
= 0 ;
4147 PyObject
* obj1
= 0 ;
4148 PyObject
* obj2
= 0 ;
4150 (char *) "self",(char *) "name",(char *) "type", NULL
4153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4157 arg2
= wxString_in_helper(obj1
);
4158 if (arg2
== NULL
) SWIG_fail
;
4161 arg3
= (int)SWIG_As_int(obj2
);
4162 if (PyErr_Occurred()) SWIG_fail
;
4164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4165 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
4167 wxPyEndAllowThreads(__tstate
);
4168 if (PyErr_Occurred()) SWIG_fail
;
4171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4187 static PyObject
*_wrap_Icon_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
*resultobj
;
4189 wxIcon
*arg1
= (wxIcon
*) 0 ;
4191 PyObject
* obj0
= 0 ;
4193 (char *) "self", NULL
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHandle",kwnames
,&obj0
)) goto fail
;
4197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4201 result
= (long)(arg1
)->GetHandle();
4203 wxPyEndAllowThreads(__tstate
);
4204 if (PyErr_Occurred()) SWIG_fail
;
4206 resultobj
= SWIG_From_long((long)result
);
4213 static PyObject
*_wrap_Icon_SetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
*resultobj
;
4215 wxIcon
*arg1
= (wxIcon
*) 0 ;
4217 PyObject
* obj0
= 0 ;
4218 PyObject
* obj1
= 0 ;
4220 (char *) "self",(char *) "handle", NULL
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
4224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4226 arg2
= (long)SWIG_As_long(obj1
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 wxIcon_SetHandle(arg1
,arg2
);
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4235 Py_INCREF(Py_None
); resultobj
= Py_None
;
4242 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4243 PyObject
*resultobj
;
4244 wxIcon
*arg1
= (wxIcon
*) 0 ;
4246 PyObject
* obj0
= 0 ;
4248 (char *) "self", NULL
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
4252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 result
= (bool)(arg1
)->Ok();
4258 wxPyEndAllowThreads(__tstate
);
4259 if (PyErr_Occurred()) SWIG_fail
;
4262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4270 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
*resultobj
;
4272 wxIcon
*arg1
= (wxIcon
*) 0 ;
4274 PyObject
* obj0
= 0 ;
4276 (char *) "self", NULL
4279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
4280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4284 result
= (int)(arg1
)->GetWidth();
4286 wxPyEndAllowThreads(__tstate
);
4287 if (PyErr_Occurred()) SWIG_fail
;
4289 resultobj
= SWIG_From_int((int)result
);
4296 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4297 PyObject
*resultobj
;
4298 wxIcon
*arg1
= (wxIcon
*) 0 ;
4300 PyObject
* obj0
= 0 ;
4302 (char *) "self", NULL
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
4306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4310 result
= (int)(arg1
)->GetHeight();
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) SWIG_fail
;
4315 resultobj
= SWIG_From_int((int)result
);
4322 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
*resultobj
;
4324 wxIcon
*arg1
= (wxIcon
*) 0 ;
4326 PyObject
* obj0
= 0 ;
4328 (char *) "self", NULL
4331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
4332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4336 result
= (int)(arg1
)->GetDepth();
4338 wxPyEndAllowThreads(__tstate
);
4339 if (PyErr_Occurred()) SWIG_fail
;
4341 resultobj
= SWIG_From_int((int)result
);
4348 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
*resultobj
;
4350 wxIcon
*arg1
= (wxIcon
*) 0 ;
4352 PyObject
* obj0
= 0 ;
4353 PyObject
* obj1
= 0 ;
4355 (char *) "self",(char *) "w", NULL
4358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4361 arg2
= (int)SWIG_As_int(obj1
);
4362 if (PyErr_Occurred()) SWIG_fail
;
4364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4365 (arg1
)->SetWidth(arg2
);
4367 wxPyEndAllowThreads(__tstate
);
4368 if (PyErr_Occurred()) SWIG_fail
;
4370 Py_INCREF(Py_None
); resultobj
= Py_None
;
4377 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4378 PyObject
*resultobj
;
4379 wxIcon
*arg1
= (wxIcon
*) 0 ;
4381 PyObject
* obj0
= 0 ;
4382 PyObject
* obj1
= 0 ;
4384 (char *) "self",(char *) "h", NULL
4387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4390 arg2
= (int)SWIG_As_int(obj1
);
4391 if (PyErr_Occurred()) SWIG_fail
;
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4394 (arg1
)->SetHeight(arg2
);
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4399 Py_INCREF(Py_None
); resultobj
= Py_None
;
4406 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4407 PyObject
*resultobj
;
4408 wxIcon
*arg1
= (wxIcon
*) 0 ;
4410 PyObject
* obj0
= 0 ;
4411 PyObject
* obj1
= 0 ;
4413 (char *) "self",(char *) "d", NULL
4416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4419 arg2
= (int)SWIG_As_int(obj1
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4423 (arg1
)->SetDepth(arg2
);
4425 wxPyEndAllowThreads(__tstate
);
4426 if (PyErr_Occurred()) SWIG_fail
;
4428 Py_INCREF(Py_None
); resultobj
= Py_None
;
4435 static PyObject
*_wrap_Icon_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
*resultobj
;
4437 wxIcon
*arg1
= (wxIcon
*) 0 ;
4440 PyObject
* obj0
= 0 ;
4441 PyObject
* obj1
= 0 ;
4443 (char *) "self",(char *) "size", NULL
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4451 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4455 (arg1
)->SetSize((wxSize
const &)*arg2
);
4457 wxPyEndAllowThreads(__tstate
);
4458 if (PyErr_Occurred()) SWIG_fail
;
4460 Py_INCREF(Py_None
); resultobj
= Py_None
;
4467 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4468 PyObject
*resultobj
;
4469 wxIcon
*arg1
= (wxIcon
*) 0 ;
4470 wxBitmap
*arg2
= 0 ;
4471 PyObject
* obj0
= 0 ;
4472 PyObject
* obj1
= 0 ;
4474 (char *) "self",(char *) "bmp", NULL
4477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4481 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4484 PyErr_SetString(PyExc_TypeError
,"null reference");
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4494 Py_INCREF(Py_None
); resultobj
= Py_None
;
4501 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
4503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4504 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4506 return Py_BuildValue((char *)"");
4508 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
*resultobj
;
4510 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4511 int arg2
= (int) 0 ;
4512 wxIconLocation
*result
;
4513 bool temp1
= false ;
4514 PyObject
* obj0
= 0 ;
4515 PyObject
* obj1
= 0 ;
4517 (char *) "filename",(char *) "num", NULL
4520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4523 arg1
= wxString_in_helper(obj0
);
4524 if (arg1
== NULL
) SWIG_fail
;
4529 arg2
= (int)SWIG_As_int(obj1
);
4530 if (PyErr_Occurred()) SWIG_fail
;
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4536 wxPyEndAllowThreads(__tstate
);
4537 if (PyErr_Occurred()) SWIG_fail
;
4539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4554 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
*resultobj
;
4556 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4557 PyObject
* obj0
= 0 ;
4559 (char *) "self", NULL
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4572 Py_INCREF(Py_None
); resultobj
= Py_None
;
4579 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
*resultobj
;
4581 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4583 PyObject
* obj0
= 0 ;
4585 (char *) "self", NULL
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4593 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4595 wxPyEndAllowThreads(__tstate
);
4596 if (PyErr_Occurred()) SWIG_fail
;
4599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4607 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4608 PyObject
*resultobj
;
4609 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4610 wxString
*arg2
= 0 ;
4611 bool temp2
= false ;
4612 PyObject
* obj0
= 0 ;
4613 PyObject
* obj1
= 0 ;
4615 (char *) "self",(char *) "filename", NULL
4618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4622 arg2
= wxString_in_helper(obj1
);
4623 if (arg2
== NULL
) SWIG_fail
;
4627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 (arg1
)->SetFileName((wxString
const &)*arg2
);
4630 wxPyEndAllowThreads(__tstate
);
4631 if (PyErr_Occurred()) SWIG_fail
;
4633 Py_INCREF(Py_None
); resultobj
= Py_None
;
4648 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
*resultobj
;
4650 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4652 PyObject
* obj0
= 0 ;
4654 (char *) "self", NULL
4657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4663 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4664 result
= (wxString
*) &_result_ref
;
4667 wxPyEndAllowThreads(__tstate
);
4668 if (PyErr_Occurred()) SWIG_fail
;
4672 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4674 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4683 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
*resultobj
;
4685 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4687 PyObject
* obj0
= 0 ;
4688 PyObject
* obj1
= 0 ;
4690 (char *) "self",(char *) "num", NULL
4693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4696 arg2
= (int)SWIG_As_int(obj1
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 wxIconLocation_SetIndex(arg1
,arg2
);
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4705 Py_INCREF(Py_None
); resultobj
= Py_None
;
4712 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
*resultobj
;
4714 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4716 PyObject
* obj0
= 0 ;
4718 (char *) "self", NULL
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4726 result
= (int)wxIconLocation_GetIndex(arg1
);
4728 wxPyEndAllowThreads(__tstate
);
4729 if (PyErr_Occurred()) SWIG_fail
;
4731 resultobj
= SWIG_From_int((int)result
);
4738 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
4740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4741 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4743 return Py_BuildValue((char *)"");
4745 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4746 PyObject
*resultobj
;
4747 wxIconBundle
*result
;
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4755 result
= (wxIconBundle
*)new wxIconBundle();
4757 wxPyEndAllowThreads(__tstate
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4767 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
*resultobj
;
4769 wxString
*arg1
= 0 ;
4771 wxIconBundle
*result
;
4772 bool temp1
= false ;
4773 PyObject
* obj0
= 0 ;
4774 PyObject
* obj1
= 0 ;
4776 (char *) "file",(char *) "type", NULL
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4781 arg1
= wxString_in_helper(obj0
);
4782 if (arg1
== NULL
) SWIG_fail
;
4785 arg2
= (long)SWIG_As_long(obj1
);
4786 if (PyErr_Occurred()) SWIG_fail
;
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4789 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) SWIG_fail
;
4794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4809 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
*resultobj
;
4812 wxIconBundle
*result
;
4813 PyObject
* obj0
= 0 ;
4815 (char *) "icon", NULL
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4820 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4823 PyErr_SetString(PyExc_TypeError
,"null reference");
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) SWIG_fail
;
4833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4840 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4841 PyObject
*resultobj
;
4842 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4843 PyObject
* obj0
= 0 ;
4845 (char *) "self", NULL
4848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4858 Py_INCREF(Py_None
); resultobj
= Py_None
;
4865 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
;
4867 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4869 PyObject
* obj0
= 0 ;
4870 PyObject
* obj1
= 0 ;
4872 (char *) "self",(char *) "icon", NULL
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4878 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4879 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4882 PyErr_SetString(PyExc_TypeError
,"null reference");
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4892 Py_INCREF(Py_None
); resultobj
= Py_None
;
4899 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4900 PyObject
*resultobj
;
4901 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4902 wxString
*arg2
= 0 ;
4904 bool temp2
= false ;
4905 PyObject
* obj0
= 0 ;
4906 PyObject
* obj1
= 0 ;
4907 PyObject
* obj2
= 0 ;
4909 (char *) "self",(char *) "file",(char *) "type", NULL
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4916 arg2
= wxString_in_helper(obj1
);
4917 if (arg2
== NULL
) SWIG_fail
;
4920 arg3
= (long)SWIG_As_long(obj2
);
4921 if (PyErr_Occurred()) SWIG_fail
;
4923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4924 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) SWIG_fail
;
4929 Py_INCREF(Py_None
); resultobj
= Py_None
;
4944 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4945 PyObject
*resultobj
;
4946 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4950 PyObject
* obj0
= 0 ;
4951 PyObject
* obj1
= 0 ;
4953 (char *) "self",(char *) "size", NULL
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4961 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4966 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4967 result
= (wxIcon
*) &_result_ref
;
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4974 wxIcon
* resultptr
= new wxIcon(*result
);
4975 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4983 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
4985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4986 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4988 return Py_BuildValue((char *)"");
4990 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4991 PyObject
*resultobj
;
4992 wxString
*arg1
= (wxString
*) 0 ;
4994 int arg3
= (int) 0 ;
4995 int arg4
= (int) 0 ;
4997 bool temp1
= false ;
4998 PyObject
* obj0
= 0 ;
4999 PyObject
* obj1
= 0 ;
5000 PyObject
* obj2
= 0 ;
5001 PyObject
* obj3
= 0 ;
5003 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5008 arg1
= wxString_in_helper(obj0
);
5009 if (arg1
== NULL
) SWIG_fail
;
5012 arg2
= (long)SWIG_As_long(obj1
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5015 arg3
= (int)SWIG_As_int(obj2
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5019 arg4
= (int)SWIG_As_int(obj3
);
5020 if (PyErr_Occurred()) SWIG_fail
;
5023 if (!wxPyCheckForApp()) SWIG_fail
;
5024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5025 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
5027 wxPyEndAllowThreads(__tstate
);
5028 if (PyErr_Occurred()) SWIG_fail
;
5030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
5045 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5046 PyObject
*resultobj
;
5047 wxCursor
*arg1
= (wxCursor
*) 0 ;
5048 PyObject
* obj0
= 0 ;
5050 (char *) "self", NULL
5053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
5054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5060 wxPyEndAllowThreads(__tstate
);
5061 if (PyErr_Occurred()) SWIG_fail
;
5063 Py_INCREF(Py_None
); resultobj
= Py_None
;
5070 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
*resultobj
;
5074 PyObject
* obj0
= 0 ;
5079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
5080 arg1
= (int)SWIG_As_int(obj0
);
5081 if (PyErr_Occurred()) SWIG_fail
;
5083 if (!wxPyCheckForApp()) SWIG_fail
;
5084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5085 result
= (wxCursor
*)new wxCursor(arg1
);
5087 wxPyEndAllowThreads(__tstate
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
5097 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5098 PyObject
*resultobj
;
5101 PyObject
* obj0
= 0 ;
5103 (char *) "image", NULL
5106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
5107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
5108 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5111 PyErr_SetString(PyExc_TypeError
,"null reference");
5115 if (!wxPyCheckForApp()) SWIG_fail
;
5116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5117 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
5119 wxPyEndAllowThreads(__tstate
);
5120 if (PyErr_Occurred()) SWIG_fail
;
5122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
5129 static PyObject
*_wrap_Cursor_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5130 PyObject
*resultobj
;
5131 wxCursor
*arg1
= (wxCursor
*) 0 ;
5133 PyObject
* obj0
= 0 ;
5135 (char *) "self", NULL
5138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHandle",kwnames
,&obj0
)) goto fail
;
5139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5143 result
= (long)(arg1
)->GetHandle();
5145 wxPyEndAllowThreads(__tstate
);
5146 if (PyErr_Occurred()) SWIG_fail
;
5148 resultobj
= SWIG_From_long((long)result
);
5155 static PyObject
*_wrap_Cursor_SetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5156 PyObject
*resultobj
;
5157 wxCursor
*arg1
= (wxCursor
*) 0 ;
5159 PyObject
* obj0
= 0 ;
5160 PyObject
* obj1
= 0 ;
5162 (char *) "self",(char *) "handle", NULL
5165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
5166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5168 arg2
= (long)SWIG_As_long(obj1
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5172 wxCursor_SetHandle(arg1
,arg2
);
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5177 Py_INCREF(Py_None
); resultobj
= Py_None
;
5184 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5185 PyObject
*resultobj
;
5186 wxCursor
*arg1
= (wxCursor
*) 0 ;
5188 PyObject
* obj0
= 0 ;
5190 (char *) "self", NULL
5193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
5194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5198 result
= (bool)(arg1
)->Ok();
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5212 static PyObject
*_wrap_Cursor_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5213 PyObject
*resultobj
;
5214 wxCursor
*arg1
= (wxCursor
*) 0 ;
5216 PyObject
* obj0
= 0 ;
5218 (char *) "self", NULL
5221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetWidth",kwnames
,&obj0
)) goto fail
;
5222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5226 result
= (int)(arg1
)->GetWidth();
5228 wxPyEndAllowThreads(__tstate
);
5229 if (PyErr_Occurred()) SWIG_fail
;
5231 resultobj
= SWIG_From_int((int)result
);
5238 static PyObject
*_wrap_Cursor_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5239 PyObject
*resultobj
;
5240 wxCursor
*arg1
= (wxCursor
*) 0 ;
5242 PyObject
* obj0
= 0 ;
5244 (char *) "self", NULL
5247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHeight",kwnames
,&obj0
)) goto fail
;
5248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5252 result
= (int)(arg1
)->GetHeight();
5254 wxPyEndAllowThreads(__tstate
);
5255 if (PyErr_Occurred()) SWIG_fail
;
5257 resultobj
= SWIG_From_int((int)result
);
5264 static PyObject
*_wrap_Cursor_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5265 PyObject
*resultobj
;
5266 wxCursor
*arg1
= (wxCursor
*) 0 ;
5268 PyObject
* obj0
= 0 ;
5270 (char *) "self", NULL
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetDepth",kwnames
,&obj0
)) goto fail
;
5274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5278 result
= (int)(arg1
)->GetDepth();
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5283 resultobj
= SWIG_From_int((int)result
);
5290 static PyObject
*_wrap_Cursor_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
*resultobj
;
5292 wxCursor
*arg1
= (wxCursor
*) 0 ;
5294 PyObject
* obj0
= 0 ;
5295 PyObject
* obj1
= 0 ;
5297 (char *) "self",(char *) "w", NULL
5300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5303 arg2
= (int)SWIG_As_int(obj1
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5307 (arg1
)->SetWidth(arg2
);
5309 wxPyEndAllowThreads(__tstate
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5312 Py_INCREF(Py_None
); resultobj
= Py_None
;
5319 static PyObject
*_wrap_Cursor_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5320 PyObject
*resultobj
;
5321 wxCursor
*arg1
= (wxCursor
*) 0 ;
5323 PyObject
* obj0
= 0 ;
5324 PyObject
* obj1
= 0 ;
5326 (char *) "self",(char *) "h", NULL
5329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5332 arg2
= (int)SWIG_As_int(obj1
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 (arg1
)->SetHeight(arg2
);
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5341 Py_INCREF(Py_None
); resultobj
= Py_None
;
5348 static PyObject
*_wrap_Cursor_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
;
5350 wxCursor
*arg1
= (wxCursor
*) 0 ;
5352 PyObject
* obj0
= 0 ;
5353 PyObject
* obj1
= 0 ;
5355 (char *) "self",(char *) "d", NULL
5358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5361 arg2
= (int)SWIG_As_int(obj1
);
5362 if (PyErr_Occurred()) SWIG_fail
;
5364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5365 (arg1
)->SetDepth(arg2
);
5367 wxPyEndAllowThreads(__tstate
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5370 Py_INCREF(Py_None
); resultobj
= Py_None
;
5377 static PyObject
*_wrap_Cursor_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
*resultobj
;
5379 wxCursor
*arg1
= (wxCursor
*) 0 ;
5382 PyObject
* obj0
= 0 ;
5383 PyObject
* obj1
= 0 ;
5385 (char *) "self",(char *) "size", NULL
5388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5393 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5397 (arg1
)->SetSize((wxSize
const &)*arg2
);
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5402 Py_INCREF(Py_None
); resultobj
= Py_None
;
5409 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
5411 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5412 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
5414 return Py_BuildValue((char *)"");
5416 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
*resultobj
;
5418 int arg1
= (int) 0 ;
5419 int arg2
= (int) 0 ;
5420 int arg3
= (int) 0 ;
5421 int arg4
= (int) 0 ;
5423 PyObject
* obj0
= 0 ;
5424 PyObject
* obj1
= 0 ;
5425 PyObject
* obj2
= 0 ;
5426 PyObject
* obj3
= 0 ;
5428 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5433 arg1
= (int)SWIG_As_int(obj0
);
5434 if (PyErr_Occurred()) SWIG_fail
;
5437 arg2
= (int)SWIG_As_int(obj1
);
5438 if (PyErr_Occurred()) SWIG_fail
;
5441 arg3
= (int)SWIG_As_int(obj2
);
5442 if (PyErr_Occurred()) SWIG_fail
;
5445 arg4
= (int)SWIG_As_int(obj3
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5449 if (!wxPyCheckForApp()) SWIG_fail
;
5450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5451 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
5453 wxPyEndAllowThreads(__tstate
);
5454 if (PyErr_Occurred()) SWIG_fail
;
5456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5463 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
*resultobj
;
5465 wxBitmap
*arg1
= 0 ;
5467 PyObject
* obj0
= 0 ;
5469 (char *) "bmp", NULL
5472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
5473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5474 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5477 PyErr_SetString(PyExc_TypeError
,"null reference");
5481 if (!wxPyCheckForApp()) SWIG_fail
;
5482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5483 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
5485 wxPyEndAllowThreads(__tstate
);
5486 if (PyErr_Occurred()) SWIG_fail
;
5488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5495 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5496 PyObject
*resultobj
;
5497 wxBitmap
*arg1
= 0 ;
5498 wxColour
*arg2
= 0 ;
5499 int arg3
= (int) 0 ;
5502 PyObject
* obj0
= 0 ;
5503 PyObject
* obj1
= 0 ;
5504 PyObject
* obj2
= 0 ;
5506 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5511 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5514 PyErr_SetString(PyExc_TypeError
,"null reference");
5519 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5522 arg3
= (int)SWIG_As_int(obj2
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5526 if (!wxPyCheckForApp()) SWIG_fail
;
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5540 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5541 PyObject
*resultobj
;
5543 wxPoint
*arg2
= (wxPoint
*) 0 ;
5544 int arg3
= (int) wxWINDING_RULE
;
5546 PyObject
* obj0
= 0 ;
5547 PyObject
* obj1
= 0 ;
5549 (char *) "points",(char *) "fillStyle", NULL
5552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
5554 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
5555 if (arg2
== NULL
) SWIG_fail
;
5558 arg3
= (int)SWIG_As_int(obj1
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5562 if (!wxPyCheckForApp()) SWIG_fail
;
5563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5564 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
5566 wxPyEndAllowThreads(__tstate
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5571 if (arg2
) delete [] arg2
;
5576 if (arg2
) delete [] arg2
;
5582 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5583 PyObject
*resultobj
;
5584 wxRegion
*arg1
= (wxRegion
*) 0 ;
5585 PyObject
* obj0
= 0 ;
5587 (char *) "self", NULL
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
5591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5600 Py_INCREF(Py_None
); resultobj
= Py_None
;
5607 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
*resultobj
;
5609 wxRegion
*arg1
= (wxRegion
*) 0 ;
5610 PyObject
* obj0
= 0 ;
5612 (char *) "self", NULL
5615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
5616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 wxPyEndAllowThreads(__tstate
);
5623 if (PyErr_Occurred()) SWIG_fail
;
5625 Py_INCREF(Py_None
); resultobj
= Py_None
;
5632 static PyObject
*_wrap_Region_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5633 PyObject
*resultobj
;
5634 wxRegion
*arg1
= (wxRegion
*) 0 ;
5638 PyObject
* obj0
= 0 ;
5639 PyObject
* obj1
= 0 ;
5640 PyObject
* obj2
= 0 ;
5642 (char *) "self",(char *) "x",(char *) "y", NULL
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5648 arg2
= (int)SWIG_As_int(obj1
);
5649 if (PyErr_Occurred()) SWIG_fail
;
5650 arg3
= (int)SWIG_As_int(obj2
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5668 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5669 PyObject
*resultobj
;
5670 wxRegion
*arg1
= (wxRegion
*) 0 ;
5674 PyObject
* obj0
= 0 ;
5675 PyObject
* obj1
= 0 ;
5676 PyObject
* obj2
= 0 ;
5678 (char *) "self",(char *) "x",(char *) "y", NULL
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5684 arg2
= (int)SWIG_As_int(obj1
);
5685 if (PyErr_Occurred()) SWIG_fail
;
5686 arg3
= (int)SWIG_As_int(obj2
);
5687 if (PyErr_Occurred()) SWIG_fail
;
5689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5690 result
= (int)(arg1
)->Contains(arg2
,arg3
);
5692 wxPyEndAllowThreads(__tstate
);
5693 if (PyErr_Occurred()) SWIG_fail
;
5695 resultobj
= SWIG_From_int((int)result
);
5702 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5703 PyObject
*resultobj
;
5704 wxRegion
*arg1
= (wxRegion
*) 0 ;
5708 PyObject
* obj0
= 0 ;
5709 PyObject
* obj1
= 0 ;
5711 (char *) "self",(char *) "pt", NULL
5714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
5715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5719 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5728 resultobj
= SWIG_From_int((int)result
);
5735 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
*resultobj
;
5737 wxRegion
*arg1
= (wxRegion
*) 0 ;
5741 PyObject
* obj0
= 0 ;
5742 PyObject
* obj1
= 0 ;
5744 (char *) "self",(char *) "rect", NULL
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5752 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5756 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5761 resultobj
= SWIG_From_int((int)result
);
5768 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5769 PyObject
*resultobj
;
5770 wxRegion
*arg1
= (wxRegion
*) 0 ;
5776 PyObject
* obj0
= 0 ;
5777 PyObject
* obj1
= 0 ;
5778 PyObject
* obj2
= 0 ;
5779 PyObject
* obj3
= 0 ;
5780 PyObject
* obj4
= 0 ;
5782 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5788 arg2
= (int)SWIG_As_int(obj1
);
5789 if (PyErr_Occurred()) SWIG_fail
;
5790 arg3
= (int)SWIG_As_int(obj2
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5792 arg4
= (int)SWIG_As_int(obj3
);
5793 if (PyErr_Occurred()) SWIG_fail
;
5794 arg5
= (int)SWIG_As_int(obj4
);
5795 if (PyErr_Occurred()) SWIG_fail
;
5797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5798 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5800 wxPyEndAllowThreads(__tstate
);
5801 if (PyErr_Occurred()) SWIG_fail
;
5803 resultobj
= SWIG_From_int((int)result
);
5810 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5811 PyObject
*resultobj
;
5812 wxRegion
*arg1
= (wxRegion
*) 0 ;
5814 PyObject
* obj0
= 0 ;
5816 (char *) "self", NULL
5819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 result
= (arg1
)->GetBox();
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5831 resultptr
= new wxRect((wxRect
&) result
);
5832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5840 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
*resultobj
;
5842 wxRegion
*arg1
= (wxRegion
*) 0 ;
5848 PyObject
* obj0
= 0 ;
5849 PyObject
* obj1
= 0 ;
5850 PyObject
* obj2
= 0 ;
5851 PyObject
* obj3
= 0 ;
5852 PyObject
* obj4
= 0 ;
5854 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5860 arg2
= (int)SWIG_As_int(obj1
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5862 arg3
= (int)SWIG_As_int(obj2
);
5863 if (PyErr_Occurred()) SWIG_fail
;
5864 arg4
= (int)SWIG_As_int(obj3
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5866 arg5
= (int)SWIG_As_int(obj4
);
5867 if (PyErr_Occurred()) SWIG_fail
;
5869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5870 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5872 wxPyEndAllowThreads(__tstate
);
5873 if (PyErr_Occurred()) SWIG_fail
;
5876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5884 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5885 PyObject
*resultobj
;
5886 wxRegion
*arg1
= (wxRegion
*) 0 ;
5890 PyObject
* obj0
= 0 ;
5891 PyObject
* obj1
= 0 ;
5893 (char *) "self",(char *) "rect", NULL
5896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5901 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5905 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5907 wxPyEndAllowThreads(__tstate
);
5908 if (PyErr_Occurred()) SWIG_fail
;
5911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5919 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5920 PyObject
*resultobj
;
5921 wxRegion
*arg1
= (wxRegion
*) 0 ;
5922 wxRegion
*arg2
= 0 ;
5924 PyObject
* obj0
= 0 ;
5925 PyObject
* obj1
= 0 ;
5927 (char *) "self",(char *) "region", NULL
5930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5933 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5934 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5937 PyErr_SetString(PyExc_TypeError
,"null reference");
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5956 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
*resultobj
;
5958 wxRegion
*arg1
= (wxRegion
*) 0 ;
5960 PyObject
* obj0
= 0 ;
5962 (char *) "self", NULL
5965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 result
= (bool)(arg1
)->IsEmpty();
5972 wxPyEndAllowThreads(__tstate
);
5973 if (PyErr_Occurred()) SWIG_fail
;
5976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5984 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
;
5986 wxRegion
*arg1
= (wxRegion
*) 0 ;
5992 PyObject
* obj0
= 0 ;
5993 PyObject
* obj1
= 0 ;
5994 PyObject
* obj2
= 0 ;
5995 PyObject
* obj3
= 0 ;
5996 PyObject
* obj4
= 0 ;
5998 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6004 arg2
= (int)SWIG_As_int(obj1
);
6005 if (PyErr_Occurred()) SWIG_fail
;
6006 arg3
= (int)SWIG_As_int(obj2
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6008 arg4
= (int)SWIG_As_int(obj3
);
6009 if (PyErr_Occurred()) SWIG_fail
;
6010 arg5
= (int)SWIG_As_int(obj4
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6014 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
6016 wxPyEndAllowThreads(__tstate
);
6017 if (PyErr_Occurred()) SWIG_fail
;
6020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6028 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
*resultobj
;
6030 wxRegion
*arg1
= (wxRegion
*) 0 ;
6034 PyObject
* obj0
= 0 ;
6035 PyObject
* obj1
= 0 ;
6037 (char *) "self",(char *) "rect", NULL
6040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6045 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6049 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
6051 wxPyEndAllowThreads(__tstate
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6063 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
*resultobj
;
6065 wxRegion
*arg1
= (wxRegion
*) 0 ;
6066 wxRegion
*arg2
= 0 ;
6068 PyObject
* obj0
= 0 ;
6069 PyObject
* obj1
= 0 ;
6071 (char *) "self",(char *) "region", NULL
6074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
6078 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6081 PyErr_SetString(PyExc_TypeError
,"null reference");
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6100 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
;
6102 wxRegion
*arg1
= (wxRegion
*) 0 ;
6108 PyObject
* obj0
= 0 ;
6109 PyObject
* obj1
= 0 ;
6110 PyObject
* obj2
= 0 ;
6111 PyObject
* obj3
= 0 ;
6112 PyObject
* obj4
= 0 ;
6114 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6120 arg2
= (int)SWIG_As_int(obj1
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6122 arg3
= (int)SWIG_As_int(obj2
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6124 arg4
= (int)SWIG_As_int(obj3
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6126 arg5
= (int)SWIG_As_int(obj4
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6130 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
6132 wxPyEndAllowThreads(__tstate
);
6133 if (PyErr_Occurred()) SWIG_fail
;
6136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6144 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
*resultobj
;
6146 wxRegion
*arg1
= (wxRegion
*) 0 ;
6150 PyObject
* obj0
= 0 ;
6151 PyObject
* obj1
= 0 ;
6153 (char *) "self",(char *) "rect", NULL
6156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6161 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6179 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
*resultobj
;
6181 wxRegion
*arg1
= (wxRegion
*) 0 ;
6182 wxRegion
*arg2
= 0 ;
6184 PyObject
* obj0
= 0 ;
6185 PyObject
* obj1
= 0 ;
6187 (char *) "self",(char *) "region", NULL
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
6194 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6197 PyErr_SetString(PyExc_TypeError
,"null reference");
6201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6202 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
6204 wxPyEndAllowThreads(__tstate
);
6205 if (PyErr_Occurred()) SWIG_fail
;
6208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6216 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
*resultobj
;
6218 wxRegion
*arg1
= (wxRegion
*) 0 ;
6224 PyObject
* obj0
= 0 ;
6225 PyObject
* obj1
= 0 ;
6226 PyObject
* obj2
= 0 ;
6227 PyObject
* obj3
= 0 ;
6228 PyObject
* obj4
= 0 ;
6230 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6236 arg2
= (int)SWIG_As_int(obj1
);
6237 if (PyErr_Occurred()) SWIG_fail
;
6238 arg3
= (int)SWIG_As_int(obj2
);
6239 if (PyErr_Occurred()) SWIG_fail
;
6240 arg4
= (int)SWIG_As_int(obj3
);
6241 if (PyErr_Occurred()) SWIG_fail
;
6242 arg5
= (int)SWIG_As_int(obj4
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6246 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
6248 wxPyEndAllowThreads(__tstate
);
6249 if (PyErr_Occurred()) SWIG_fail
;
6252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6260 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
;
6262 wxRegion
*arg1
= (wxRegion
*) 0 ;
6266 PyObject
* obj0
= 0 ;
6267 PyObject
* obj1
= 0 ;
6269 (char *) "self",(char *) "rect", NULL
6272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6277 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
6283 wxPyEndAllowThreads(__tstate
);
6284 if (PyErr_Occurred()) SWIG_fail
;
6287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6295 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6296 PyObject
*resultobj
;
6297 wxRegion
*arg1
= (wxRegion
*) 0 ;
6298 wxRegion
*arg2
= 0 ;
6300 PyObject
* obj0
= 0 ;
6301 PyObject
* obj1
= 0 ;
6303 (char *) "self",(char *) "region", NULL
6306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
6310 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6313 PyErr_SetString(PyExc_TypeError
,"null reference");
6317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6318 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
6320 wxPyEndAllowThreads(__tstate
);
6321 if (PyErr_Occurred()) SWIG_fail
;
6324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6332 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6333 PyObject
*resultobj
;
6334 wxRegion
*arg1
= (wxRegion
*) 0 ;
6335 SwigValueWrapper
< wxBitmap
> result
;
6336 PyObject
* obj0
= 0 ;
6338 (char *) "self", NULL
6341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
6342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 result
= (arg1
)->ConvertToBitmap();
6348 wxPyEndAllowThreads(__tstate
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6352 wxBitmap
* resultptr
;
6353 resultptr
= new wxBitmap((wxBitmap
&) result
);
6354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6362 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
*resultobj
;
6364 wxRegion
*arg1
= (wxRegion
*) 0 ;
6365 wxBitmap
*arg2
= 0 ;
6367 PyObject
* obj0
= 0 ;
6368 PyObject
* obj1
= 0 ;
6370 (char *) "self",(char *) "bmp", NULL
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
6377 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6380 PyErr_SetString(PyExc_TypeError
,"null reference");
6384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6385 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
6387 wxPyEndAllowThreads(__tstate
);
6388 if (PyErr_Occurred()) SWIG_fail
;
6391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6399 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6400 PyObject
*resultobj
;
6401 wxRegion
*arg1
= (wxRegion
*) 0 ;
6402 wxBitmap
*arg2
= 0 ;
6403 wxColour
*arg3
= 0 ;
6404 int arg4
= (int) 0 ;
6407 PyObject
* obj0
= 0 ;
6408 PyObject
* obj1
= 0 ;
6409 PyObject
* obj2
= 0 ;
6410 PyObject
* obj3
= 0 ;
6412 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
6415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
6419 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6422 PyErr_SetString(PyExc_TypeError
,"null reference");
6427 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6430 arg4
= (int)SWIG_As_int(obj3
);
6431 if (PyErr_Occurred()) SWIG_fail
;
6434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6435 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
6437 wxPyEndAllowThreads(__tstate
);
6438 if (PyErr_Occurred()) SWIG_fail
;
6441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6449 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
6451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6452 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
6454 return Py_BuildValue((char *)"");
6456 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
;
6458 wxRegion
*arg1
= 0 ;
6459 wxRegionIterator
*result
;
6460 PyObject
* obj0
= 0 ;
6462 (char *) "region", NULL
6465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
6466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6467 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6470 PyErr_SetString(PyExc_TypeError
,"null reference");
6474 if (!wxPyCheckForApp()) SWIG_fail
;
6475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6476 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
6478 wxPyEndAllowThreads(__tstate
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
6488 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6489 PyObject
*resultobj
;
6490 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6491 PyObject
* obj0
= 0 ;
6493 (char *) "self", NULL
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
6497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6506 Py_INCREF(Py_None
); resultobj
= Py_None
;
6513 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6514 PyObject
*resultobj
;
6515 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6517 PyObject
* obj0
= 0 ;
6519 (char *) "self", NULL
6522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
6523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6527 result
= (int)(arg1
)->GetX();
6529 wxPyEndAllowThreads(__tstate
);
6530 if (PyErr_Occurred()) SWIG_fail
;
6532 resultobj
= SWIG_From_int((int)result
);
6539 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
*resultobj
;
6541 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6543 PyObject
* obj0
= 0 ;
6545 (char *) "self", NULL
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
6549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 result
= (int)(arg1
)->GetY();
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6558 resultobj
= SWIG_From_int((int)result
);
6565 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6566 PyObject
*resultobj
;
6567 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6569 PyObject
* obj0
= 0 ;
6571 (char *) "self", NULL
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
6575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 result
= (int)(arg1
)->GetW();
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6584 resultobj
= SWIG_From_int((int)result
);
6591 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
*resultobj
;
6593 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6595 PyObject
* obj0
= 0 ;
6597 (char *) "self", NULL
6600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
6601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6605 result
= (int)(arg1
)->GetWidth();
6607 wxPyEndAllowThreads(__tstate
);
6608 if (PyErr_Occurred()) SWIG_fail
;
6610 resultobj
= SWIG_From_int((int)result
);
6617 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6618 PyObject
*resultobj
;
6619 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6621 PyObject
* obj0
= 0 ;
6623 (char *) "self", NULL
6626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
6627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 result
= (int)(arg1
)->GetH();
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6636 resultobj
= SWIG_From_int((int)result
);
6643 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
*resultobj
;
6645 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6647 PyObject
* obj0
= 0 ;
6649 (char *) "self", NULL
6652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
6653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 result
= (int)(arg1
)->GetHeight();
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6662 resultobj
= SWIG_From_int((int)result
);
6669 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
*resultobj
;
6671 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6673 PyObject
* obj0
= 0 ;
6675 (char *) "self", NULL
6678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
6679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 result
= (arg1
)->GetRect();
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6690 resultptr
= new wxRect((wxRect
&) result
);
6691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6699 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
*resultobj
;
6701 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6703 PyObject
* obj0
= 0 ;
6705 (char *) "self", NULL
6708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
6709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6713 result
= (bool)(arg1
)->HaveRects();
6715 wxPyEndAllowThreads(__tstate
);
6716 if (PyErr_Occurred()) SWIG_fail
;
6719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6727 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6728 PyObject
*resultobj
;
6729 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6730 PyObject
* obj0
= 0 ;
6732 (char *) "self", NULL
6735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
6736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6742 wxPyEndAllowThreads(__tstate
);
6743 if (PyErr_Occurred()) SWIG_fail
;
6745 Py_INCREF(Py_None
); resultobj
= Py_None
;
6752 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
*resultobj
;
6754 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6755 PyObject
* obj0
= 0 ;
6757 (char *) "self", NULL
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
6761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 wxRegionIterator_Next(arg1
);
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6770 Py_INCREF(Py_None
); resultobj
= Py_None
;
6777 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
*resultobj
;
6779 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6781 PyObject
* obj0
= 0 ;
6783 (char *) "self", NULL
6786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
6787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6791 result
= (bool)wxRegionIterator___nonzero__(arg1
);
6793 wxPyEndAllowThreads(__tstate
);
6794 if (PyErr_Occurred()) SWIG_fail
;
6797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6805 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
6807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6808 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6810 return Py_BuildValue((char *)"");
6812 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
*resultobj
;
6814 wxNativeFontInfo
*result
;
6819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6822 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6824 wxPyEndAllowThreads(__tstate
);
6825 if (PyErr_Occurred()) SWIG_fail
;
6827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6834 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
*resultobj
;
6836 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6837 PyObject
* obj0
= 0 ;
6839 (char *) "self", NULL
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6849 wxPyEndAllowThreads(__tstate
);
6850 if (PyErr_Occurred()) SWIG_fail
;
6852 Py_INCREF(Py_None
); resultobj
= Py_None
;
6859 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6860 PyObject
*resultobj
;
6861 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6862 PyObject
* obj0
= 0 ;
6864 (char *) "self", NULL
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6877 Py_INCREF(Py_None
); resultobj
= Py_None
;
6884 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
;
6886 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6888 PyObject
* obj0
= 0 ;
6889 PyObject
* obj1
= 0 ;
6891 (char *) "self",(char *) "font", NULL
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6897 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6898 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6901 PyErr_SetString(PyExc_TypeError
,"null reference");
6905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6906 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6908 wxPyEndAllowThreads(__tstate
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6911 Py_INCREF(Py_None
); resultobj
= Py_None
;
6918 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6919 PyObject
*resultobj
;
6920 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6922 PyObject
* obj0
= 0 ;
6924 (char *) "self", NULL
6927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6937 resultobj
= SWIG_From_int((int)result
);
6944 static PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
*resultobj
;
6946 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6948 PyObject
* obj0
= 0 ;
6950 (char *) "self", NULL
6953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPixelSize",kwnames
,&obj0
)) goto fail
;
6954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6958 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
6960 wxPyEndAllowThreads(__tstate
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6965 resultptr
= new wxSize((wxSize
&) result
);
6966 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
6974 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
*resultobj
;
6976 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6978 PyObject
* obj0
= 0 ;
6980 (char *) "self", NULL
6983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6988 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6990 wxPyEndAllowThreads(__tstate
);
6991 if (PyErr_Occurred()) SWIG_fail
;
6993 resultobj
= SWIG_From_int((int)result
);
7000 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
*resultobj
;
7002 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7004 PyObject
* obj0
= 0 ;
7006 (char *) "self", NULL
7009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
7010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7014 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
7016 wxPyEndAllowThreads(__tstate
);
7017 if (PyErr_Occurred()) SWIG_fail
;
7019 resultobj
= SWIG_From_int((int)result
);
7026 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
*resultobj
;
7028 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7030 PyObject
* obj0
= 0 ;
7032 (char *) "self", NULL
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7054 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
*resultobj
;
7056 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7058 PyObject
* obj0
= 0 ;
7060 (char *) "self", NULL
7063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
7064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7068 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
7070 wxPyEndAllowThreads(__tstate
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7075 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7077 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7086 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
*resultobj
;
7088 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7090 PyObject
* obj0
= 0 ;
7092 (char *) "self", NULL
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
7096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
7102 wxPyEndAllowThreads(__tstate
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7105 resultobj
= SWIG_From_int((int)result
);
7112 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
*resultobj
;
7114 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7116 PyObject
* obj0
= 0 ;
7118 (char *) "self", NULL
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
7122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7126 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
7128 wxPyEndAllowThreads(__tstate
);
7129 if (PyErr_Occurred()) SWIG_fail
;
7131 resultobj
= SWIG_From_int((int)result
);
7138 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7139 PyObject
*resultobj
;
7140 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7142 PyObject
* obj0
= 0 ;
7143 PyObject
* obj1
= 0 ;
7145 (char *) "self",(char *) "pointsize", NULL
7148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7151 arg2
= (int)SWIG_As_int(obj1
);
7152 if (PyErr_Occurred()) SWIG_fail
;
7154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7155 (arg1
)->SetPointSize(arg2
);
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7160 Py_INCREF(Py_None
); resultobj
= Py_None
;
7167 static PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7168 PyObject
*resultobj
;
7169 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7172 PyObject
* obj0
= 0 ;
7173 PyObject
* obj1
= 0 ;
7175 (char *) "self",(char *) "pixelSize", NULL
7178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7183 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7187 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
7189 wxPyEndAllowThreads(__tstate
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7192 Py_INCREF(Py_None
); resultobj
= Py_None
;
7199 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
*resultobj
;
7201 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7203 PyObject
* obj0
= 0 ;
7204 PyObject
* obj1
= 0 ;
7206 (char *) "self",(char *) "style", NULL
7209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7212 arg2
= (int)SWIG_As_int(obj1
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 (arg1
)->SetStyle((wxFontStyle
)arg2
);
7218 wxPyEndAllowThreads(__tstate
);
7219 if (PyErr_Occurred()) SWIG_fail
;
7221 Py_INCREF(Py_None
); resultobj
= Py_None
;
7228 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7229 PyObject
*resultobj
;
7230 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7232 PyObject
* obj0
= 0 ;
7233 PyObject
* obj1
= 0 ;
7235 (char *) "self",(char *) "weight", NULL
7238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7241 arg2
= (int)SWIG_As_int(obj1
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7245 (arg1
)->SetWeight((wxFontWeight
)arg2
);
7247 wxPyEndAllowThreads(__tstate
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7250 Py_INCREF(Py_None
); resultobj
= Py_None
;
7257 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
;
7259 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7261 PyObject
* obj0
= 0 ;
7262 PyObject
* obj1
= 0 ;
7264 (char *) "self",(char *) "underlined", NULL
7267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
7268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7270 arg2
= (bool)SWIG_As_bool(obj1
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 (arg1
)->SetUnderlined(arg2
);
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7279 Py_INCREF(Py_None
); resultobj
= Py_None
;
7286 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7287 PyObject
*resultobj
;
7288 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7290 PyObject
* obj0
= 0 ;
7291 PyObject
* obj1
= 0 ;
7293 (char *) "self",(char *) "facename", NULL
7296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
7297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7300 wxString
* sptr
= wxString_in_helper(obj1
);
7301 if (sptr
== NULL
) SWIG_fail
;
7306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7307 (arg1
)->SetFaceName(arg2
);
7309 wxPyEndAllowThreads(__tstate
);
7310 if (PyErr_Occurred()) SWIG_fail
;
7312 Py_INCREF(Py_None
); resultobj
= Py_None
;
7319 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
*resultobj
;
7321 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7323 PyObject
* obj0
= 0 ;
7324 PyObject
* obj1
= 0 ;
7326 (char *) "self",(char *) "family", NULL
7329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
7330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7332 arg2
= (int)SWIG_As_int(obj1
);
7333 if (PyErr_Occurred()) SWIG_fail
;
7335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7336 (arg1
)->SetFamily((wxFontFamily
)arg2
);
7338 wxPyEndAllowThreads(__tstate
);
7339 if (PyErr_Occurred()) SWIG_fail
;
7341 Py_INCREF(Py_None
); resultobj
= Py_None
;
7348 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7349 PyObject
*resultobj
;
7350 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7352 PyObject
* obj0
= 0 ;
7353 PyObject
* obj1
= 0 ;
7355 (char *) "self",(char *) "encoding", NULL
7358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
7359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7361 arg2
= (int)SWIG_As_int(obj1
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7365 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
7367 wxPyEndAllowThreads(__tstate
);
7368 if (PyErr_Occurred()) SWIG_fail
;
7370 Py_INCREF(Py_None
); resultobj
= Py_None
;
7377 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
*resultobj
;
7379 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7380 wxString
*arg2
= 0 ;
7382 bool temp2
= false ;
7383 PyObject
* obj0
= 0 ;
7384 PyObject
* obj1
= 0 ;
7386 (char *) "self",(char *) "s", NULL
7389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7393 arg2
= wxString_in_helper(obj1
);
7394 if (arg2
== NULL
) SWIG_fail
;
7398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7399 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7401 wxPyEndAllowThreads(__tstate
);
7402 if (PyErr_Occurred()) SWIG_fail
;
7405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7421 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7422 PyObject
*resultobj
;
7423 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7425 PyObject
* obj0
= 0 ;
7427 (char *) "self", NULL
7430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
7431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7435 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
7437 wxPyEndAllowThreads(__tstate
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7442 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7444 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7453 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
;
7455 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7457 PyObject
* obj0
= 0 ;
7459 (char *) "self", NULL
7462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
7463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7467 result
= wxNativeFontInfo___str__(arg1
);
7469 wxPyEndAllowThreads(__tstate
);
7470 if (PyErr_Occurred()) SWIG_fail
;
7474 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7476 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7485 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
*resultobj
;
7487 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7488 wxString
*arg2
= 0 ;
7490 bool temp2
= false ;
7491 PyObject
* obj0
= 0 ;
7492 PyObject
* obj1
= 0 ;
7494 (char *) "self",(char *) "s", NULL
7497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
7498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7501 arg2
= wxString_in_helper(obj1
);
7502 if (arg2
== NULL
) SWIG_fail
;
7506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7507 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
7509 wxPyEndAllowThreads(__tstate
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7529 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7530 PyObject
*resultobj
;
7531 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7533 PyObject
* obj0
= 0 ;
7535 (char *) "self", NULL
7538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
7539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7543 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
7545 wxPyEndAllowThreads(__tstate
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7550 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7552 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7561 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
7563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7564 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
7566 return Py_BuildValue((char *)"");
7568 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
*resultobj
;
7570 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7571 wxString
*arg2
= (wxString
*) 0 ;
7572 bool temp2
= false ;
7573 PyObject
* obj0
= 0 ;
7574 PyObject
* obj1
= 0 ;
7576 (char *) "self",(char *) "facename", NULL
7579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7583 arg2
= wxString_in_helper(obj1
);
7584 if (arg2
== NULL
) SWIG_fail
;
7587 if (arg1
) (arg1
)->facename
= *arg2
;
7589 Py_INCREF(Py_None
); resultobj
= Py_None
;
7604 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7605 PyObject
*resultobj
;
7606 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7608 PyObject
* obj0
= 0 ;
7610 (char *) "self", NULL
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
7614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7616 result
= (wxString
*)& ((arg1
)->facename
);
7620 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7622 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7631 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
*resultobj
;
7633 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7635 PyObject
* obj0
= 0 ;
7636 PyObject
* obj1
= 0 ;
7638 (char *) "self",(char *) "encoding", NULL
7641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7644 arg2
= (int)SWIG_As_int(obj1
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7646 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
7648 Py_INCREF(Py_None
); resultobj
= Py_None
;
7655 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7656 PyObject
*resultobj
;
7657 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7659 PyObject
* obj0
= 0 ;
7661 (char *) "self", NULL
7664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
7665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7667 result
= (int) ((arg1
)->encoding
);
7669 resultobj
= SWIG_From_int((int)result
);
7676 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
*resultobj
;
7678 wxNativeEncodingInfo
*result
;
7683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
7685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
7688 wxPyEndAllowThreads(__tstate
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
7698 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7699 PyObject
*resultobj
;
7700 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7701 PyObject
* obj0
= 0 ;
7703 (char *) "self", NULL
7706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
7707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7713 wxPyEndAllowThreads(__tstate
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7716 Py_INCREF(Py_None
); resultobj
= Py_None
;
7723 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
*resultobj
;
7725 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7726 wxString
*arg2
= 0 ;
7728 bool temp2
= false ;
7729 PyObject
* obj0
= 0 ;
7730 PyObject
* obj1
= 0 ;
7732 (char *) "self",(char *) "s", NULL
7735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7739 arg2
= wxString_in_helper(obj1
);
7740 if (arg2
== NULL
) SWIG_fail
;
7744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7745 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7747 wxPyEndAllowThreads(__tstate
);
7748 if (PyErr_Occurred()) SWIG_fail
;
7751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7767 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7768 PyObject
*resultobj
;
7769 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7771 PyObject
* obj0
= 0 ;
7773 (char *) "self", NULL
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
7777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7781 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) SWIG_fail
;
7788 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7790 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7799 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
7801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7802 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
7804 return Py_BuildValue((char *)"");
7806 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7809 wxNativeEncodingInfo
*result
;
7810 PyObject
* obj0
= 0 ;
7812 (char *) "encoding", NULL
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
7816 arg1
= (int)SWIG_As_int(obj0
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
7832 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7833 PyObject
*resultobj
;
7834 wxNativeEncodingInfo
*arg1
= 0 ;
7836 PyObject
* obj0
= 0 ;
7838 (char *) "info", NULL
7841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
7842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7843 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7846 PyErr_SetString(PyExc_TypeError
,"null reference");
7850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7851 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
7853 wxPyEndAllowThreads(__tstate
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7865 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7866 PyObject
*resultobj
;
7867 wxFontMapper
*result
;
7872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7875 result
= (wxFontMapper
*)new wxFontMapper();
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7887 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7888 PyObject
*resultobj
;
7889 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7890 PyObject
* obj0
= 0 ;
7892 (char *) "self", NULL
7895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7902 wxPyEndAllowThreads(__tstate
);
7903 if (PyErr_Occurred()) SWIG_fail
;
7905 Py_INCREF(Py_None
); resultobj
= Py_None
;
7912 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7913 PyObject
*resultobj
;
7914 wxFontMapper
*result
;
7919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 result
= (wxFontMapper
*)wxFontMapper::Get();
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7934 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7935 PyObject
*resultobj
;
7936 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7937 wxFontMapper
*result
;
7938 PyObject
* obj0
= 0 ;
7940 (char *) "mapper", NULL
7943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7948 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7960 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7961 PyObject
*resultobj
;
7962 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7963 wxString
*arg2
= 0 ;
7964 bool arg3
= (bool) true ;
7966 bool temp2
= false ;
7967 PyObject
* obj0
= 0 ;
7968 PyObject
* obj1
= 0 ;
7969 PyObject
* obj2
= 0 ;
7971 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7978 arg2
= wxString_in_helper(obj1
);
7979 if (arg2
== NULL
) SWIG_fail
;
7983 arg3
= (bool)SWIG_As_bool(obj2
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7988 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7990 wxPyEndAllowThreads(__tstate
);
7991 if (PyErr_Occurred()) SWIG_fail
;
7993 resultobj
= SWIG_From_int((int)result
);
8008 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8009 PyObject
*resultobj
;
8015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
8017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8018 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8023 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8030 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8031 PyObject
*resultobj
;
8034 PyObject
* obj0
= 0 ;
8039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
8040 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
8041 if (PyErr_Occurred()) SWIG_fail
;
8043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8044 result
= (int)wxFontMapper::GetEncoding(arg1
);
8046 wxPyEndAllowThreads(__tstate
);
8047 if (PyErr_Occurred()) SWIG_fail
;
8049 resultobj
= SWIG_From_int((int)result
);
8056 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8057 PyObject
*resultobj
;
8060 PyObject
* obj0
= 0 ;
8062 (char *) "encoding", NULL
8065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
8066 arg1
= (int)SWIG_As_int(obj0
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8070 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
8072 wxPyEndAllowThreads(__tstate
);
8073 if (PyErr_Occurred()) SWIG_fail
;
8077 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8079 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8088 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8089 PyObject
*resultobj
;
8092 PyObject
* obj0
= 0 ;
8094 (char *) "encoding", NULL
8097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
8098 arg1
= (int)SWIG_As_int(obj0
);
8099 if (PyErr_Occurred()) SWIG_fail
;
8101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8102 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8109 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8111 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8120 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8121 PyObject
*resultobj
;
8122 wxString
*arg1
= 0 ;
8124 bool temp1
= false ;
8125 PyObject
* obj0
= 0 ;
8127 (char *) "name", NULL
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
8132 arg1
= wxString_in_helper(obj0
);
8133 if (arg1
== NULL
) SWIG_fail
;
8137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8138 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
8140 wxPyEndAllowThreads(__tstate
);
8141 if (PyErr_Occurred()) SWIG_fail
;
8143 resultobj
= SWIG_From_int((int)result
);
8158 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8159 PyObject
*resultobj
;
8160 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8161 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
8162 PyObject
* obj0
= 0 ;
8163 PyObject
* obj1
= 0 ;
8165 (char *) "self",(char *) "config", NULL
8168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
8169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8171 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
8172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8175 (arg1
)->SetConfig(arg2
);
8177 wxPyEndAllowThreads(__tstate
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8180 Py_INCREF(Py_None
); resultobj
= Py_None
;
8187 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8188 PyObject
*resultobj
;
8189 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8190 wxString
*arg2
= 0 ;
8191 bool temp2
= false ;
8192 PyObject
* obj0
= 0 ;
8193 PyObject
* obj1
= 0 ;
8195 (char *) "self",(char *) "prefix", NULL
8198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
8199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8202 arg2
= wxString_in_helper(obj1
);
8203 if (arg2
== NULL
) SWIG_fail
;
8207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8208 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
8210 wxPyEndAllowThreads(__tstate
);
8211 if (PyErr_Occurred()) SWIG_fail
;
8213 Py_INCREF(Py_None
); resultobj
= Py_None
;
8228 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8229 PyObject
*resultobj
;
8235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
8237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8238 result
= wxFontMapper::GetDefaultConfigPath();
8240 wxPyEndAllowThreads(__tstate
);
8241 if (PyErr_Occurred()) SWIG_fail
;
8245 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8247 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8256 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8257 PyObject
*resultobj
;
8258 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8260 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8261 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8262 bool arg4
= (bool) true ;
8264 bool temp3
= false ;
8265 PyObject
* obj0
= 0 ;
8266 PyObject
* obj1
= 0 ;
8267 PyObject
* obj2
= 0 ;
8268 PyObject
* obj3
= 0 ;
8270 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
8273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8276 arg2
= (int)SWIG_As_int(obj1
);
8277 if (PyErr_Occurred()) SWIG_fail
;
8280 arg3
= wxString_in_helper(obj2
);
8281 if (arg3
== NULL
) SWIG_fail
;
8286 arg4
= (bool)SWIG_As_bool(obj3
);
8287 if (PyErr_Occurred()) SWIG_fail
;
8290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8291 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
8293 wxPyEndAllowThreads(__tstate
);
8294 if (PyErr_Occurred()) SWIG_fail
;
8311 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8312 PyObject
*resultobj
;
8313 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8315 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8316 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8318 bool temp3
= false ;
8319 PyObject
* obj0
= 0 ;
8320 PyObject
* obj1
= 0 ;
8321 PyObject
* obj2
= 0 ;
8323 (char *) "self",(char *) "encoding",(char *) "facename", NULL
8326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8329 arg2
= (int)SWIG_As_int(obj1
);
8330 if (PyErr_Occurred()) SWIG_fail
;
8333 arg3
= wxString_in_helper(obj2
);
8334 if (arg3
== NULL
) SWIG_fail
;
8339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8340 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
8342 wxPyEndAllowThreads(__tstate
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8362 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8363 PyObject
*resultobj
;
8364 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8365 wxWindow
*arg2
= (wxWindow
*) 0 ;
8366 PyObject
* obj0
= 0 ;
8367 PyObject
* obj1
= 0 ;
8369 (char *) "self",(char *) "parent", NULL
8372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
8373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8375 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8379 (arg1
)->SetDialogParent(arg2
);
8381 wxPyEndAllowThreads(__tstate
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8384 Py_INCREF(Py_None
); resultobj
= Py_None
;
8391 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8392 PyObject
*resultobj
;
8393 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8394 wxString
*arg2
= 0 ;
8395 bool temp2
= false ;
8396 PyObject
* obj0
= 0 ;
8397 PyObject
* obj1
= 0 ;
8399 (char *) "self",(char *) "title", NULL
8402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
8403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8406 arg2
= wxString_in_helper(obj1
);
8407 if (arg2
== NULL
) SWIG_fail
;
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
8414 wxPyEndAllowThreads(__tstate
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8417 Py_INCREF(Py_None
); resultobj
= Py_None
;
8432 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
8434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8435 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
8437 return Py_BuildValue((char *)"");
8439 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8440 PyObject
*resultobj
;
8445 bool arg5
= (bool) false ;
8446 wxString
const &arg6_defvalue
= wxPyEmptyString
;
8447 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8448 int arg7
= (int) wxFONTENCODING_DEFAULT
;
8450 bool temp6
= false ;
8451 PyObject
* obj0
= 0 ;
8452 PyObject
* obj1
= 0 ;
8453 PyObject
* obj2
= 0 ;
8454 PyObject
* obj3
= 0 ;
8455 PyObject
* obj4
= 0 ;
8456 PyObject
* obj5
= 0 ;
8457 PyObject
* obj6
= 0 ;
8459 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
8462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8463 arg1
= (int)SWIG_As_int(obj0
);
8464 if (PyErr_Occurred()) SWIG_fail
;
8465 arg2
= (int)SWIG_As_int(obj1
);
8466 if (PyErr_Occurred()) SWIG_fail
;
8467 arg3
= (int)SWIG_As_int(obj2
);
8468 if (PyErr_Occurred()) SWIG_fail
;
8469 arg4
= (int)SWIG_As_int(obj3
);
8470 if (PyErr_Occurred()) SWIG_fail
;
8472 arg5
= (bool)SWIG_As_bool(obj4
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8477 arg6
= wxString_in_helper(obj5
);
8478 if (arg6
== NULL
) SWIG_fail
;
8483 arg7
= (int)SWIG_As_int(obj6
);
8484 if (PyErr_Occurred()) SWIG_fail
;
8487 if (!wxPyCheckForApp()) SWIG_fail
;
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8509 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8510 PyObject
*resultobj
;
8511 wxFont
*arg1
= (wxFont
*) 0 ;
8512 PyObject
* obj0
= 0 ;
8514 (char *) "self", NULL
8517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
8518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8524 wxPyEndAllowThreads(__tstate
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8527 Py_INCREF(Py_None
); resultobj
= Py_None
;
8534 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
*resultobj
;
8536 wxNativeFontInfo
*arg1
= 0 ;
8538 PyObject
* obj0
= 0 ;
8540 (char *) "info", NULL
8543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
8544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
8545 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8548 PyErr_SetString(PyExc_TypeError
,"null reference");
8552 if (!wxPyCheckForApp()) SWIG_fail
;
8553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8554 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
8556 wxPyEndAllowThreads(__tstate
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8566 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8567 PyObject
*resultobj
;
8568 wxString
*arg1
= 0 ;
8570 bool temp1
= false ;
8571 PyObject
* obj0
= 0 ;
8573 (char *) "info", NULL
8576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
8578 arg1
= wxString_in_helper(obj0
);
8579 if (arg1
== NULL
) SWIG_fail
;
8583 if (!wxPyCheckForApp()) SWIG_fail
;
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8585 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
8587 wxPyEndAllowThreads(__tstate
);
8588 if (PyErr_Occurred()) SWIG_fail
;
8590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8605 static PyObject
*_wrap_new_Font2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
*resultobj
;
8609 int arg3
= (int) wxFONTFLAG_DEFAULT
;
8610 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8611 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8612 int arg5
= (int) wxFONTENCODING_DEFAULT
;
8614 bool temp4
= false ;
8615 PyObject
* obj0
= 0 ;
8616 PyObject
* obj1
= 0 ;
8617 PyObject
* obj2
= 0 ;
8618 PyObject
* obj3
= 0 ;
8619 PyObject
* obj4
= 0 ;
8621 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
8624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8625 arg1
= (int)SWIG_As_int(obj0
);
8626 if (PyErr_Occurred()) SWIG_fail
;
8627 arg2
= (int)SWIG_As_int(obj1
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8630 arg3
= (int)SWIG_As_int(obj2
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8635 arg4
= wxString_in_helper(obj3
);
8636 if (arg4
== NULL
) SWIG_fail
;
8641 arg5
= (int)SWIG_As_int(obj4
);
8642 if (PyErr_Occurred()) SWIG_fail
;
8645 if (!wxPyCheckForApp()) SWIG_fail
;
8646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8647 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
8649 wxPyEndAllowThreads(__tstate
);
8650 if (PyErr_Occurred()) SWIG_fail
;
8652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8667 static PyObject
*_wrap_new_FontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8668 PyObject
*resultobj
;
8673 bool arg5
= (bool) false ;
8674 wxString
const &arg6_defvalue
= wxEmptyString
;
8675 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8676 int arg7
= (int) wxFONTENCODING_DEFAULT
;
8679 bool temp6
= false ;
8680 PyObject
* obj0
= 0 ;
8681 PyObject
* obj1
= 0 ;
8682 PyObject
* obj2
= 0 ;
8683 PyObject
* obj3
= 0 ;
8684 PyObject
* obj4
= 0 ;
8685 PyObject
* obj5
= 0 ;
8686 PyObject
* obj6
= 0 ;
8688 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
8691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8694 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
8696 arg2
= (int)SWIG_As_int(obj1
);
8697 if (PyErr_Occurred()) SWIG_fail
;
8698 arg3
= (int)SWIG_As_int(obj2
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8700 arg4
= (int)SWIG_As_int(obj3
);
8701 if (PyErr_Occurred()) SWIG_fail
;
8703 arg5
= (bool)SWIG_As_bool(obj4
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8708 arg6
= wxString_in_helper(obj5
);
8709 if (arg6
== NULL
) SWIG_fail
;
8714 arg7
= (int)SWIG_As_int(obj6
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8718 if (!wxPyCheckForApp()) SWIG_fail
;
8719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8720 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
8722 wxPyEndAllowThreads(__tstate
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8740 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8741 PyObject
*resultobj
;
8742 wxFont
*arg1
= (wxFont
*) 0 ;
8744 PyObject
* obj0
= 0 ;
8746 (char *) "self", NULL
8749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
8750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8754 result
= (bool)((wxFont
const *)arg1
)->Ok();
8756 wxPyEndAllowThreads(__tstate
);
8757 if (PyErr_Occurred()) SWIG_fail
;
8760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8768 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8769 PyObject
*resultobj
;
8770 wxFont
*arg1
= (wxFont
*) 0 ;
8771 wxFont
*arg2
= (wxFont
*) 0 ;
8773 PyObject
* obj0
= 0 ;
8774 PyObject
* obj1
= 0 ;
8776 (char *) "self",(char *) "other", NULL
8779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
8780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8800 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
*resultobj
;
8802 wxFont
*arg1
= (wxFont
*) 0 ;
8803 wxFont
*arg2
= (wxFont
*) 0 ;
8805 PyObject
* obj0
= 0 ;
8806 PyObject
* obj1
= 0 ;
8808 (char *) "self",(char *) "other", NULL
8811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
8812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8814 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8832 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
;
8834 wxFont
*arg1
= (wxFont
*) 0 ;
8836 PyObject
* obj0
= 0 ;
8838 (char *) "self", NULL
8841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
8842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8846 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
8848 wxPyEndAllowThreads(__tstate
);
8849 if (PyErr_Occurred()) SWIG_fail
;
8851 resultobj
= SWIG_From_int((int)result
);
8858 static PyObject
*_wrap_Font_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
*resultobj
;
8860 wxFont
*arg1
= (wxFont
*) 0 ;
8862 PyObject
* obj0
= 0 ;
8864 (char *) "self", NULL
8867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPixelSize",kwnames
,&obj0
)) goto fail
;
8868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8872 result
= ((wxFont
const *)arg1
)->GetPixelSize();
8874 wxPyEndAllowThreads(__tstate
);
8875 if (PyErr_Occurred()) SWIG_fail
;
8879 resultptr
= new wxSize((wxSize
&) result
);
8880 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8888 static PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8889 PyObject
*resultobj
;
8890 wxFont
*arg1
= (wxFont
*) 0 ;
8892 PyObject
* obj0
= 0 ;
8894 (char *) "self", NULL
8897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsUsingSizeInPixels",kwnames
,&obj0
)) goto fail
;
8898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8916 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
;
8918 wxFont
*arg1
= (wxFont
*) 0 ;
8920 PyObject
* obj0
= 0 ;
8922 (char *) "self", NULL
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
8926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8930 result
= (int)((wxFont
const *)arg1
)->GetFamily();
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) SWIG_fail
;
8935 resultobj
= SWIG_From_int((int)result
);
8942 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8943 PyObject
*resultobj
;
8944 wxFont
*arg1
= (wxFont
*) 0 ;
8946 PyObject
* obj0
= 0 ;
8948 (char *) "self", NULL
8951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
8952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 result
= (int)((wxFont
const *)arg1
)->GetStyle();
8958 wxPyEndAllowThreads(__tstate
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8961 resultobj
= SWIG_From_int((int)result
);
8968 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8969 PyObject
*resultobj
;
8970 wxFont
*arg1
= (wxFont
*) 0 ;
8972 PyObject
* obj0
= 0 ;
8974 (char *) "self", NULL
8977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
8978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 result
= (int)((wxFont
const *)arg1
)->GetWeight();
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8987 resultobj
= SWIG_From_int((int)result
);
8994 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8995 PyObject
*resultobj
;
8996 wxFont
*arg1
= (wxFont
*) 0 ;
8998 PyObject
* obj0
= 0 ;
9000 (char *) "self", NULL
9003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
9004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9008 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
9010 wxPyEndAllowThreads(__tstate
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9022 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9023 PyObject
*resultobj
;
9024 wxFont
*arg1
= (wxFont
*) 0 ;
9026 PyObject
* obj0
= 0 ;
9028 (char *) "self", NULL
9031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
9032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9036 result
= ((wxFont
const *)arg1
)->GetFaceName();
9038 wxPyEndAllowThreads(__tstate
);
9039 if (PyErr_Occurred()) SWIG_fail
;
9043 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9045 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9054 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9055 PyObject
*resultobj
;
9056 wxFont
*arg1
= (wxFont
*) 0 ;
9058 PyObject
* obj0
= 0 ;
9060 (char *) "self", NULL
9063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
9064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
9070 wxPyEndAllowThreads(__tstate
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9073 resultobj
= SWIG_From_int((int)result
);
9080 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
*resultobj
;
9082 wxFont
*arg1
= (wxFont
*) 0 ;
9083 wxNativeFontInfo
*result
;
9084 PyObject
* obj0
= 0 ;
9086 (char *) "self", NULL
9089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
9090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
9096 wxPyEndAllowThreads(__tstate
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
9106 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9107 PyObject
*resultobj
;
9108 wxFont
*arg1
= (wxFont
*) 0 ;
9110 PyObject
* obj0
= 0 ;
9112 (char *) "self", NULL
9115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
9116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9134 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9135 PyObject
*resultobj
;
9136 wxFont
*arg1
= (wxFont
*) 0 ;
9138 PyObject
* obj0
= 0 ;
9140 (char *) "self", NULL
9143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
9144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9148 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
9150 wxPyEndAllowThreads(__tstate
);
9151 if (PyErr_Occurred()) SWIG_fail
;
9155 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9157 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9166 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9167 PyObject
*resultobj
;
9168 wxFont
*arg1
= (wxFont
*) 0 ;
9170 PyObject
* obj0
= 0 ;
9172 (char *) "self", NULL
9175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
9176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
9182 wxPyEndAllowThreads(__tstate
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9187 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9189 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9198 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9199 PyObject
*resultobj
;
9200 wxFont
*arg1
= (wxFont
*) 0 ;
9202 PyObject
* obj0
= 0 ;
9203 PyObject
* obj1
= 0 ;
9205 (char *) "self",(char *) "pointSize", NULL
9208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9211 arg2
= (int)SWIG_As_int(obj1
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 (arg1
)->SetPointSize(arg2
);
9217 wxPyEndAllowThreads(__tstate
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9220 Py_INCREF(Py_None
); resultobj
= Py_None
;
9227 static PyObject
*_wrap_Font_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9228 PyObject
*resultobj
;
9229 wxFont
*arg1
= (wxFont
*) 0 ;
9232 PyObject
* obj0
= 0 ;
9233 PyObject
* obj1
= 0 ;
9235 (char *) "self",(char *) "pixelSize", NULL
9238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9243 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
9249 wxPyEndAllowThreads(__tstate
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9252 Py_INCREF(Py_None
); resultobj
= Py_None
;
9259 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9260 PyObject
*resultobj
;
9261 wxFont
*arg1
= (wxFont
*) 0 ;
9263 PyObject
* obj0
= 0 ;
9264 PyObject
* obj1
= 0 ;
9266 (char *) "self",(char *) "family", NULL
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
9270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9272 arg2
= (int)SWIG_As_int(obj1
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9276 (arg1
)->SetFamily(arg2
);
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9281 Py_INCREF(Py_None
); resultobj
= Py_None
;
9288 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
*resultobj
;
9290 wxFont
*arg1
= (wxFont
*) 0 ;
9292 PyObject
* obj0
= 0 ;
9293 PyObject
* obj1
= 0 ;
9295 (char *) "self",(char *) "style", NULL
9298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9301 arg2
= (int)SWIG_As_int(obj1
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9305 (arg1
)->SetStyle(arg2
);
9307 wxPyEndAllowThreads(__tstate
);
9308 if (PyErr_Occurred()) SWIG_fail
;
9310 Py_INCREF(Py_None
); resultobj
= Py_None
;
9317 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9318 PyObject
*resultobj
;
9319 wxFont
*arg1
= (wxFont
*) 0 ;
9321 PyObject
* obj0
= 0 ;
9322 PyObject
* obj1
= 0 ;
9324 (char *) "self",(char *) "weight", NULL
9327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
9328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9330 arg2
= (int)SWIG_As_int(obj1
);
9331 if (PyErr_Occurred()) SWIG_fail
;
9333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9334 (arg1
)->SetWeight(arg2
);
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) SWIG_fail
;
9339 Py_INCREF(Py_None
); resultobj
= Py_None
;
9346 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
;
9348 wxFont
*arg1
= (wxFont
*) 0 ;
9349 wxString
*arg2
= 0 ;
9350 bool temp2
= false ;
9351 PyObject
* obj0
= 0 ;
9352 PyObject
* obj1
= 0 ;
9354 (char *) "self",(char *) "faceName", NULL
9357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
9358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9361 arg2
= wxString_in_helper(obj1
);
9362 if (arg2
== NULL
) SWIG_fail
;
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9367 (arg1
)->SetFaceName((wxString
const &)*arg2
);
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9372 Py_INCREF(Py_None
); resultobj
= Py_None
;
9387 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
;
9389 wxFont
*arg1
= (wxFont
*) 0 ;
9391 PyObject
* obj0
= 0 ;
9392 PyObject
* obj1
= 0 ;
9394 (char *) "self",(char *) "underlined", NULL
9397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
9398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9400 arg2
= (bool)SWIG_As_bool(obj1
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 (arg1
)->SetUnderlined(arg2
);
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9409 Py_INCREF(Py_None
); resultobj
= Py_None
;
9416 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
*resultobj
;
9418 wxFont
*arg1
= (wxFont
*) 0 ;
9420 PyObject
* obj0
= 0 ;
9421 PyObject
* obj1
= 0 ;
9423 (char *) "self",(char *) "encoding", NULL
9426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
9427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9429 arg2
= (int)SWIG_As_int(obj1
);
9430 if (PyErr_Occurred()) SWIG_fail
;
9432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9433 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
9435 wxPyEndAllowThreads(__tstate
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9438 Py_INCREF(Py_None
); resultobj
= Py_None
;
9445 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
*resultobj
;
9447 wxFont
*arg1
= (wxFont
*) 0 ;
9448 wxNativeFontInfo
*arg2
= 0 ;
9449 PyObject
* obj0
= 0 ;
9450 PyObject
* obj1
= 0 ;
9452 (char *) "self",(char *) "info", NULL
9455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
9456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9458 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
9459 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9462 PyErr_SetString(PyExc_TypeError
,"null reference");
9466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9467 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
9469 wxPyEndAllowThreads(__tstate
);
9470 if (PyErr_Occurred()) SWIG_fail
;
9472 Py_INCREF(Py_None
); resultobj
= Py_None
;
9479 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9480 PyObject
*resultobj
;
9481 wxFont
*arg1
= (wxFont
*) 0 ;
9482 wxString
*arg2
= 0 ;
9483 bool temp2
= false ;
9484 PyObject
* obj0
= 0 ;
9485 PyObject
* obj1
= 0 ;
9487 (char *) "self",(char *) "info", NULL
9490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
9491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9494 arg2
= wxString_in_helper(obj1
);
9495 if (arg2
== NULL
) SWIG_fail
;
9499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9500 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
9502 wxPyEndAllowThreads(__tstate
);
9503 if (PyErr_Occurred()) SWIG_fail
;
9505 Py_INCREF(Py_None
); resultobj
= Py_None
;
9520 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9521 PyObject
*resultobj
;
9522 wxFont
*arg1
= (wxFont
*) 0 ;
9523 wxString
*arg2
= 0 ;
9524 bool temp2
= false ;
9525 PyObject
* obj0
= 0 ;
9526 PyObject
* obj1
= 0 ;
9528 (char *) "self",(char *) "info", NULL
9531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
9532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9535 arg2
= wxString_in_helper(obj1
);
9536 if (arg2
== NULL
) SWIG_fail
;
9540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9541 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
9543 wxPyEndAllowThreads(__tstate
);
9544 if (PyErr_Occurred()) SWIG_fail
;
9546 Py_INCREF(Py_None
); resultobj
= Py_None
;
9561 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
*resultobj
;
9563 wxFont
*arg1
= (wxFont
*) 0 ;
9565 PyObject
* obj0
= 0 ;
9567 (char *) "self", NULL
9570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
9571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 result
= ((wxFont
const *)arg1
)->GetFamilyString();
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9582 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9584 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9593 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9594 PyObject
*resultobj
;
9595 wxFont
*arg1
= (wxFont
*) 0 ;
9597 PyObject
* obj0
= 0 ;
9599 (char *) "self", NULL
9602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
9603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9607 result
= ((wxFont
const *)arg1
)->GetStyleString();
9609 wxPyEndAllowThreads(__tstate
);
9610 if (PyErr_Occurred()) SWIG_fail
;
9614 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9616 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9625 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
;
9627 wxFont
*arg1
= (wxFont
*) 0 ;
9629 PyObject
* obj0
= 0 ;
9631 (char *) "self", NULL
9634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
9635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9639 result
= ((wxFont
const *)arg1
)->GetWeightString();
9641 wxPyEndAllowThreads(__tstate
);
9642 if (PyErr_Occurred()) SWIG_fail
;
9646 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9648 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9657 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
*resultobj
;
9659 wxFont
*arg1
= (wxFont
*) 0 ;
9660 bool arg2
= (bool) true ;
9661 PyObject
* obj0
= 0 ;
9662 PyObject
* obj1
= 0 ;
9664 (char *) "self",(char *) "no", NULL
9667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
9668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9671 arg2
= (bool)SWIG_As_bool(obj1
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9676 (arg1
)->SetNoAntiAliasing(arg2
);
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9681 Py_INCREF(Py_None
); resultobj
= Py_None
;
9688 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
;
9690 wxFont
*arg1
= (wxFont
*) 0 ;
9692 PyObject
* obj0
= 0 ;
9694 (char *) "self", NULL
9697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
9698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9702 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
9704 wxPyEndAllowThreads(__tstate
);
9705 if (PyErr_Occurred()) SWIG_fail
;
9708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9716 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9717 PyObject
*resultobj
;
9723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
9725 if (!wxPyCheckForApp()) SWIG_fail
;
9726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 result
= (int)wxFont::GetDefaultEncoding();
9729 wxPyEndAllowThreads(__tstate
);
9730 if (PyErr_Occurred()) SWIG_fail
;
9732 resultobj
= SWIG_From_int((int)result
);
9739 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9740 PyObject
*resultobj
;
9742 PyObject
* obj0
= 0 ;
9744 (char *) "encoding", NULL
9747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
9748 arg1
= (int)SWIG_As_int(obj0
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9751 if (!wxPyCheckForApp()) SWIG_fail
;
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9753 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
9755 wxPyEndAllowThreads(__tstate
);
9756 if (PyErr_Occurred()) SWIG_fail
;
9758 Py_INCREF(Py_None
); resultobj
= Py_None
;
9765 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
9767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9768 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
9770 return Py_BuildValue((char *)"");
9772 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
*resultobj
;
9774 wxPyFontEnumerator
*result
;
9779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
9781 if (!wxPyCheckForApp()) SWIG_fail
;
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) SWIG_fail
;
9788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
9795 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9796 PyObject
*resultobj
;
9797 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9798 PyObject
* obj0
= 0 ;
9800 (char *) "self", NULL
9803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
9804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9810 wxPyEndAllowThreads(__tstate
);
9811 if (PyErr_Occurred()) SWIG_fail
;
9813 Py_INCREF(Py_None
); resultobj
= Py_None
;
9820 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9821 PyObject
*resultobj
;
9822 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9823 PyObject
*arg2
= (PyObject
*) 0 ;
9824 PyObject
*arg3
= (PyObject
*) 0 ;
9826 PyObject
* obj0
= 0 ;
9827 PyObject
* obj1
= 0 ;
9828 PyObject
* obj2
= 0 ;
9829 PyObject
* obj3
= 0 ;
9831 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9839 arg4
= (bool)SWIG_As_bool(obj3
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9843 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9845 wxPyEndAllowThreads(__tstate
);
9846 if (PyErr_Occurred()) SWIG_fail
;
9848 Py_INCREF(Py_None
); resultobj
= Py_None
;
9855 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
*resultobj
;
9857 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9858 int arg2
= (int) wxFONTENCODING_SYSTEM
;
9859 bool arg3
= (bool) false ;
9861 PyObject
* obj0
= 0 ;
9862 PyObject
* obj1
= 0 ;
9863 PyObject
* obj2
= 0 ;
9865 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
9868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9872 arg2
= (int)SWIG_As_int(obj1
);
9873 if (PyErr_Occurred()) SWIG_fail
;
9876 arg3
= (bool)SWIG_As_bool(obj2
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9881 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
9883 wxPyEndAllowThreads(__tstate
);
9884 if (PyErr_Occurred()) SWIG_fail
;
9887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9895 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9896 PyObject
*resultobj
;
9897 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9898 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9899 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9901 bool temp2
= false ;
9902 PyObject
* obj0
= 0 ;
9903 PyObject
* obj1
= 0 ;
9905 (char *) "self",(char *) "facename", NULL
9908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
9909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9913 arg2
= wxString_in_helper(obj1
);
9914 if (arg2
== NULL
) SWIG_fail
;
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
9922 wxPyEndAllowThreads(__tstate
);
9923 if (PyErr_Occurred()) SWIG_fail
;
9926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9942 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9943 PyObject
*resultobj
;
9944 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9946 PyObject
* obj0
= 0 ;
9948 (char *) "self", NULL
9951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
9952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9956 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9968 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9969 PyObject
*resultobj
;
9970 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9972 PyObject
* obj0
= 0 ;
9974 (char *) "self", NULL
9977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
9978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
9984 wxPyEndAllowThreads(__tstate
);
9985 if (PyErr_Occurred()) SWIG_fail
;
9994 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
9996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9997 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
9999 return Py_BuildValue((char *)"");
10001 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
*resultobj
;
10003 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10005 PyObject
* obj0
= 0 ;
10006 PyObject
* obj1
= 0 ;
10007 char *kwnames
[] = {
10008 (char *) "self",(char *) "Language", NULL
10011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10014 arg2
= (int)SWIG_As_int(obj1
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10016 if (arg1
) (arg1
)->Language
= arg2
;
10018 Py_INCREF(Py_None
); resultobj
= Py_None
;
10025 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10026 PyObject
*resultobj
;
10027 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10029 PyObject
* obj0
= 0 ;
10030 char *kwnames
[] = {
10031 (char *) "self", NULL
10034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
10035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10037 result
= (int) ((arg1
)->Language
);
10039 resultobj
= SWIG_From_int((int)result
);
10046 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10047 PyObject
*resultobj
;
10048 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10049 wxString
*arg2
= (wxString
*) 0 ;
10050 bool temp2
= false ;
10051 PyObject
* obj0
= 0 ;
10052 PyObject
* obj1
= 0 ;
10053 char *kwnames
[] = {
10054 (char *) "self",(char *) "CanonicalName", NULL
10057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10061 arg2
= wxString_in_helper(obj1
);
10062 if (arg2
== NULL
) SWIG_fail
;
10065 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
10067 Py_INCREF(Py_None
); resultobj
= Py_None
;
10082 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10083 PyObject
*resultobj
;
10084 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10086 PyObject
* obj0
= 0 ;
10087 char *kwnames
[] = {
10088 (char *) "self", NULL
10091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
10092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10094 result
= (wxString
*)& ((arg1
)->CanonicalName
);
10098 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10100 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10109 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
*resultobj
;
10111 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10112 wxString
*arg2
= (wxString
*) 0 ;
10113 bool temp2
= false ;
10114 PyObject
* obj0
= 0 ;
10115 PyObject
* obj1
= 0 ;
10116 char *kwnames
[] = {
10117 (char *) "self",(char *) "Description", NULL
10120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10124 arg2
= wxString_in_helper(obj1
);
10125 if (arg2
== NULL
) SWIG_fail
;
10128 if (arg1
) (arg1
)->Description
= *arg2
;
10130 Py_INCREF(Py_None
); resultobj
= Py_None
;
10145 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10146 PyObject
*resultobj
;
10147 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10149 PyObject
* obj0
= 0 ;
10150 char *kwnames
[] = {
10151 (char *) "self", NULL
10154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
10155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10157 result
= (wxString
*)& ((arg1
)->Description
);
10161 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10163 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10172 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
10174 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10175 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
10177 return Py_BuildValue((char *)"");
10179 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
*resultobj
;
10181 int arg1
= (int) -1 ;
10182 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
10184 PyObject
* obj0
= 0 ;
10185 PyObject
* obj1
= 0 ;
10186 char *kwnames
[] = {
10187 (char *) "language",(char *) "flags", NULL
10190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
10192 arg1
= (int)SWIG_As_int(obj0
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10196 arg2
= (int)SWIG_As_int(obj1
);
10197 if (PyErr_Occurred()) SWIG_fail
;
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
10213 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
*resultobj
;
10215 wxLocale
*arg1
= (wxLocale
*) 0 ;
10216 PyObject
* obj0
= 0 ;
10217 char *kwnames
[] = {
10218 (char *) "self", NULL
10221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
10222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 Py_INCREF(Py_None
); resultobj
= Py_None
;
10238 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
*resultobj
;
10240 wxLocale
*arg1
= (wxLocale
*) 0 ;
10241 wxString
*arg2
= 0 ;
10242 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10243 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10244 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10245 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10246 bool arg5
= (bool) true ;
10247 bool arg6
= (bool) false ;
10249 bool temp2
= false ;
10250 bool temp3
= false ;
10251 bool temp4
= false ;
10252 PyObject
* obj0
= 0 ;
10253 PyObject
* obj1
= 0 ;
10254 PyObject
* obj2
= 0 ;
10255 PyObject
* obj3
= 0 ;
10256 PyObject
* obj4
= 0 ;
10257 PyObject
* obj5
= 0 ;
10258 char *kwnames
[] = {
10259 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
10262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10266 arg2
= wxString_in_helper(obj1
);
10267 if (arg2
== NULL
) SWIG_fail
;
10272 arg3
= wxString_in_helper(obj2
);
10273 if (arg3
== NULL
) SWIG_fail
;
10279 arg4
= wxString_in_helper(obj3
);
10280 if (arg4
== NULL
) SWIG_fail
;
10285 arg5
= (bool)SWIG_As_bool(obj4
);
10286 if (PyErr_Occurred()) SWIG_fail
;
10289 arg6
= (bool)SWIG_As_bool(obj5
);
10290 if (PyErr_Occurred()) SWIG_fail
;
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10294 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10332 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10333 PyObject
*resultobj
;
10334 wxLocale
*arg1
= (wxLocale
*) 0 ;
10335 int arg2
= (int) wxLANGUAGE_DEFAULT
;
10336 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
10338 PyObject
* obj0
= 0 ;
10339 PyObject
* obj1
= 0 ;
10340 PyObject
* obj2
= 0 ;
10341 char *kwnames
[] = {
10342 (char *) "self",(char *) "language",(char *) "flags", NULL
10345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10349 arg2
= (int)SWIG_As_int(obj1
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10353 arg3
= (int)SWIG_As_int(obj2
);
10354 if (PyErr_Occurred()) SWIG_fail
;
10357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10358 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
10360 wxPyEndAllowThreads(__tstate
);
10361 if (PyErr_Occurred()) SWIG_fail
;
10364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10372 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
*resultobj
;
10375 char *kwnames
[] = {
10379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
10381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10382 result
= (int)wxLocale::GetSystemLanguage();
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10387 resultobj
= SWIG_From_int((int)result
);
10394 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10395 PyObject
*resultobj
;
10397 char *kwnames
[] = {
10401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
10403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10404 result
= (int)wxLocale::GetSystemEncoding();
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10409 resultobj
= SWIG_From_int((int)result
);
10416 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10417 PyObject
*resultobj
;
10419 char *kwnames
[] = {
10423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 result
= wxLocale::GetSystemEncodingName();
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10433 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10435 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10444 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10445 PyObject
*resultobj
;
10446 wxLocale
*arg1
= (wxLocale
*) 0 ;
10448 PyObject
* obj0
= 0 ;
10449 char *kwnames
[] = {
10450 (char *) "self", NULL
10453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
10454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10458 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10472 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
*resultobj
;
10474 wxLocale
*arg1
= (wxLocale
*) 0 ;
10476 PyObject
* obj0
= 0 ;
10477 char *kwnames
[] = {
10478 (char *) "self", NULL
10481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
10482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10486 result
= ((wxLocale
const *)arg1
)->GetLocale();
10488 wxPyEndAllowThreads(__tstate
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10493 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10495 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10504 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10505 PyObject
*resultobj
;
10506 wxLocale
*arg1
= (wxLocale
*) 0 ;
10508 PyObject
* obj0
= 0 ;
10509 char *kwnames
[] = {
10510 (char *) "self", NULL
10513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
10514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10523 resultobj
= SWIG_From_int((int)result
);
10530 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10531 PyObject
*resultobj
;
10532 wxLocale
*arg1
= (wxLocale
*) 0 ;
10534 PyObject
* obj0
= 0 ;
10535 char *kwnames
[] = {
10536 (char *) "self", NULL
10539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
10540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10544 result
= ((wxLocale
const *)arg1
)->GetSysName();
10546 wxPyEndAllowThreads(__tstate
);
10547 if (PyErr_Occurred()) SWIG_fail
;
10551 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10553 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10562 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
*resultobj
;
10564 wxLocale
*arg1
= (wxLocale
*) 0 ;
10566 PyObject
* obj0
= 0 ;
10567 char *kwnames
[] = {
10568 (char *) "self", NULL
10571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
10572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10576 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
10578 wxPyEndAllowThreads(__tstate
);
10579 if (PyErr_Occurred()) SWIG_fail
;
10583 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10585 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10594 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10595 PyObject
*resultobj
;
10596 wxString
*arg1
= 0 ;
10597 bool temp1
= false ;
10598 PyObject
* obj0
= 0 ;
10599 char *kwnames
[] = {
10600 (char *) "prefix", NULL
10603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
10605 arg1
= wxString_in_helper(obj0
);
10606 if (arg1
== NULL
) SWIG_fail
;
10610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10611 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
10613 wxPyEndAllowThreads(__tstate
);
10614 if (PyErr_Occurred()) SWIG_fail
;
10616 Py_INCREF(Py_None
); resultobj
= Py_None
;
10631 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10632 PyObject
*resultobj
;
10633 wxLocale
*arg1
= (wxLocale
*) 0 ;
10634 wxString
*arg2
= 0 ;
10636 bool temp2
= false ;
10637 PyObject
* obj0
= 0 ;
10638 PyObject
* obj1
= 0 ;
10639 char *kwnames
[] = {
10640 (char *) "self",(char *) "szDomain", NULL
10643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
10644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10647 arg2
= wxString_in_helper(obj1
);
10648 if (arg2
== NULL
) SWIG_fail
;
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
10655 wxPyEndAllowThreads(__tstate
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10675 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10676 PyObject
*resultobj
;
10677 wxLocale
*arg1
= (wxLocale
*) 0 ;
10678 wxString
*arg2
= 0 ;
10680 bool temp2
= false ;
10681 PyObject
* obj0
= 0 ;
10682 PyObject
* obj1
= 0 ;
10683 char *kwnames
[] = {
10684 (char *) "self",(char *) "szDomain", NULL
10687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
10688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10691 arg2
= wxString_in_helper(obj1
);
10692 if (arg2
== NULL
) SWIG_fail
;
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10719 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
*resultobj
;
10722 wxLanguageInfo
*result
;
10723 PyObject
* obj0
= 0 ;
10724 char *kwnames
[] = {
10725 (char *) "lang", NULL
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
10729 arg1
= (int)SWIG_As_int(obj0
);
10730 if (PyErr_Occurred()) SWIG_fail
;
10732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10733 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
10735 wxPyEndAllowThreads(__tstate
);
10736 if (PyErr_Occurred()) SWIG_fail
;
10738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10745 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10746 PyObject
*resultobj
;
10749 PyObject
* obj0
= 0 ;
10750 char *kwnames
[] = {
10751 (char *) "lang", NULL
10754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
10755 arg1
= (int)SWIG_As_int(obj0
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 result
= wxLocale::GetLanguageName(arg1
);
10761 wxPyEndAllowThreads(__tstate
);
10762 if (PyErr_Occurred()) SWIG_fail
;
10766 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10768 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10777 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10778 PyObject
*resultobj
;
10779 wxString
*arg1
= 0 ;
10780 wxLanguageInfo
*result
;
10781 bool temp1
= false ;
10782 PyObject
* obj0
= 0 ;
10783 char *kwnames
[] = {
10784 (char *) "locale", NULL
10787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
10789 arg1
= wxString_in_helper(obj0
);
10790 if (arg1
== NULL
) SWIG_fail
;
10794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10795 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10815 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10816 PyObject
*resultobj
;
10817 wxLanguageInfo
*arg1
= 0 ;
10818 PyObject
* obj0
= 0 ;
10819 char *kwnames
[] = {
10820 (char *) "info", NULL
10823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
10824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10825 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10827 if (arg1
== NULL
) {
10828 PyErr_SetString(PyExc_TypeError
,"null reference");
10832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10833 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
10835 wxPyEndAllowThreads(__tstate
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10838 Py_INCREF(Py_None
); resultobj
= Py_None
;
10845 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10846 PyObject
*resultobj
;
10847 wxLocale
*arg1
= (wxLocale
*) 0 ;
10848 wxString
*arg2
= 0 ;
10849 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10850 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10852 bool temp2
= false ;
10853 bool temp3
= false ;
10854 PyObject
* obj0
= 0 ;
10855 PyObject
* obj1
= 0 ;
10856 PyObject
* obj2
= 0 ;
10857 char *kwnames
[] = {
10858 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
10861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10865 arg2
= wxString_in_helper(obj1
);
10866 if (arg2
== NULL
) SWIG_fail
;
10871 arg3
= wxString_in_helper(obj2
);
10872 if (arg3
== NULL
) SWIG_fail
;
10877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10878 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10880 wxPyEndAllowThreads(__tstate
);
10881 if (PyErr_Occurred()) SWIG_fail
;
10885 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10887 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10912 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10913 PyObject
*resultobj
;
10914 wxLocale
*arg1
= (wxLocale
*) 0 ;
10916 PyObject
* obj0
= 0 ;
10917 char *kwnames
[] = {
10918 (char *) "self", NULL
10921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
10922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10927 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
10928 result
= (wxString
*) &_result_ref
;
10931 wxPyEndAllowThreads(__tstate
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10936 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10938 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10947 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
10949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10950 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
10952 return Py_BuildValue((char *)"");
10954 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10955 PyObject
*resultobj
;
10957 char *kwnames
[] = {
10961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
10963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10964 result
= (wxLocale
*)wxGetLocale();
10966 wxPyEndAllowThreads(__tstate
);
10967 if (PyErr_Occurred()) SWIG_fail
;
10969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
10976 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
10977 PyObject
*resultobj
;
10978 wxString
*arg1
= 0 ;
10980 bool temp1
= false ;
10981 PyObject
* obj0
= 0 ;
10983 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
10985 arg1
= wxString_in_helper(obj0
);
10986 if (arg1
== NULL
) SWIG_fail
;
10990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10991 result
= wxGetTranslation((wxString
const &)*arg1
);
10993 wxPyEndAllowThreads(__tstate
);
10994 if (PyErr_Occurred()) SWIG_fail
;
10998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11017 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
11018 PyObject
*resultobj
;
11019 wxString
*arg1
= 0 ;
11020 wxString
*arg2
= 0 ;
11023 bool temp1
= false ;
11024 bool temp2
= false ;
11025 PyObject
* obj0
= 0 ;
11026 PyObject
* obj1
= 0 ;
11027 PyObject
* obj2
= 0 ;
11029 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
11031 arg1
= wxString_in_helper(obj0
);
11032 if (arg1
== NULL
) SWIG_fail
;
11036 arg2
= wxString_in_helper(obj1
);
11037 if (arg2
== NULL
) SWIG_fail
;
11040 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11044 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
11046 wxPyEndAllowThreads(__tstate
);
11047 if (PyErr_Occurred()) SWIG_fail
;
11051 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11053 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11078 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
11083 argc
= PyObject_Length(args
);
11084 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
11085 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11090 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11093 return _wrap_GetTranslation__SWIG_0(self
,args
);
11099 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11103 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11106 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
11108 return _wrap_GetTranslation__SWIG_1(self
,args
);
11114 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
11119 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
*resultobj
;
11121 wxEncodingConverter
*result
;
11122 char *kwnames
[] = {
11126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11129 result
= (wxEncodingConverter
*)new wxEncodingConverter();
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
11141 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11142 PyObject
*resultobj
;
11143 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
11144 PyObject
* obj0
= 0 ;
11145 char *kwnames
[] = {
11146 (char *) "self", NULL
11149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
11150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
11151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 wxPyEndAllowThreads(__tstate
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11159 Py_INCREF(Py_None
); resultobj
= Py_None
;
11166 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11167 PyObject
*resultobj
;
11168 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
11171 int arg4
= (int) wxCONVERT_STRICT
;
11173 PyObject
* obj0
= 0 ;
11174 PyObject
* obj1
= 0 ;
11175 PyObject
* obj2
= 0 ;
11176 PyObject
* obj3
= 0 ;
11177 char *kwnames
[] = {
11178 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
11181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
11183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11184 arg2
= (int)SWIG_As_int(obj1
);
11185 if (PyErr_Occurred()) SWIG_fail
;
11186 arg3
= (int)SWIG_As_int(obj2
);
11187 if (PyErr_Occurred()) SWIG_fail
;
11189 arg4
= (int)SWIG_As_int(obj3
);
11190 if (PyErr_Occurred()) SWIG_fail
;
11193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11194 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
11196 wxPyEndAllowThreads(__tstate
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11208 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11209 PyObject
*resultobj
;
11210 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
11211 wxString
*arg2
= 0 ;
11213 bool temp2
= false ;
11214 PyObject
* obj0
= 0 ;
11215 PyObject
* obj1
= 0 ;
11216 char *kwnames
[] = {
11217 (char *) "self",(char *) "input", NULL
11220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
11221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
11222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11224 arg2
= wxString_in_helper(obj1
);
11225 if (arg2
== NULL
) SWIG_fail
;
11229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11230 result
= (arg1
)->Convert((wxString
const &)*arg2
);
11232 wxPyEndAllowThreads(__tstate
);
11233 if (PyErr_Occurred()) SWIG_fail
;
11237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11256 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11257 PyObject
*resultobj
;
11259 int arg2
= (int) wxPLATFORM_CURRENT
;
11260 wxFontEncodingArray result
;
11261 PyObject
* obj0
= 0 ;
11262 PyObject
* obj1
= 0 ;
11263 char *kwnames
[] = {
11264 (char *) "enc",(char *) "platform", NULL
11267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
11268 arg1
= (int)SWIG_As_int(obj0
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11271 arg2
= (int)SWIG_As_int(obj1
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
11278 wxPyEndAllowThreads(__tstate
);
11279 if (PyErr_Occurred()) SWIG_fail
;
11282 resultobj
= PyList_New(0);
11283 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
11284 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
11285 PyList_Append(resultobj
, number
);
11295 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11296 PyObject
*resultobj
;
11298 wxFontEncodingArray result
;
11299 PyObject
* obj0
= 0 ;
11300 char *kwnames
[] = {
11301 (char *) "enc", NULL
11304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
11305 arg1
= (int)SWIG_As_int(obj0
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11309 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
11311 wxPyEndAllowThreads(__tstate
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11315 resultobj
= PyList_New(0);
11316 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
11317 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
11318 PyList_Append(resultobj
, number
);
11328 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11329 PyObject
*resultobj
;
11333 PyObject
* obj0
= 0 ;
11334 PyObject
* obj1
= 0 ;
11335 char *kwnames
[] = {
11336 (char *) "encIn",(char *) "encOut", NULL
11339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
11340 arg1
= (int)SWIG_As_int(obj0
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11342 arg2
= (int)SWIG_As_int(obj1
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11346 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
11348 wxPyEndAllowThreads(__tstate
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11360 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
11362 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11363 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
11365 return Py_BuildValue((char *)"");
11367 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11368 PyObject
*resultobj
;
11369 wxDC
*arg1
= (wxDC
*) 0 ;
11370 PyObject
* obj0
= 0 ;
11371 char *kwnames
[] = {
11372 (char *) "self", NULL
11375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
11376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11382 wxPyEndAllowThreads(__tstate
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11385 Py_INCREF(Py_None
); resultobj
= Py_None
;
11392 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11393 PyObject
*resultobj
;
11394 wxDC
*arg1
= (wxDC
*) 0 ;
11395 PyObject
* obj0
= 0 ;
11396 char *kwnames
[] = {
11397 (char *) "self", NULL
11400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
11401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11405 (arg1
)->BeginDrawing();
11407 wxPyEndAllowThreads(__tstate
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11410 Py_INCREF(Py_None
); resultobj
= Py_None
;
11417 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11418 PyObject
*resultobj
;
11419 wxDC
*arg1
= (wxDC
*) 0 ;
11420 PyObject
* obj0
= 0 ;
11421 char *kwnames
[] = {
11422 (char *) "self", NULL
11425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
11426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11430 (arg1
)->EndDrawing();
11432 wxPyEndAllowThreads(__tstate
);
11433 if (PyErr_Occurred()) SWIG_fail
;
11435 Py_INCREF(Py_None
); resultobj
= Py_None
;
11442 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11443 PyObject
*resultobj
;
11444 wxDC
*arg1
= (wxDC
*) 0 ;
11447 wxColour
*arg4
= 0 ;
11448 int arg5
= (int) wxFLOOD_SURFACE
;
11451 PyObject
* obj0
= 0 ;
11452 PyObject
* obj1
= 0 ;
11453 PyObject
* obj2
= 0 ;
11454 PyObject
* obj3
= 0 ;
11455 PyObject
* obj4
= 0 ;
11456 char *kwnames
[] = {
11457 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
11460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11463 arg2
= (int)SWIG_As_int(obj1
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11465 arg3
= (int)SWIG_As_int(obj2
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11469 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
11472 arg5
= (int)SWIG_As_int(obj4
);
11473 if (PyErr_Occurred()) SWIG_fail
;
11476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11477 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
11479 wxPyEndAllowThreads(__tstate
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11491 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11492 PyObject
*resultobj
;
11493 wxDC
*arg1
= (wxDC
*) 0 ;
11494 wxPoint
*arg2
= 0 ;
11495 wxColour
*arg3
= 0 ;
11496 int arg4
= (int) wxFLOOD_SURFACE
;
11500 PyObject
* obj0
= 0 ;
11501 PyObject
* obj1
= 0 ;
11502 PyObject
* obj2
= 0 ;
11503 PyObject
* obj3
= 0 ;
11504 char *kwnames
[] = {
11505 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
11508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11513 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11517 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11520 arg4
= (int)SWIG_As_int(obj3
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11525 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11527 wxPyEndAllowThreads(__tstate
);
11528 if (PyErr_Occurred()) SWIG_fail
;
11531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11539 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11540 PyObject
*resultobj
;
11541 wxDC
*arg1
= (wxDC
*) 0 ;
11545 PyObject
* obj0
= 0 ;
11546 PyObject
* obj1
= 0 ;
11547 PyObject
* obj2
= 0 ;
11548 char *kwnames
[] = {
11549 (char *) "self",(char *) "x",(char *) "y", NULL
11552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11555 arg2
= (int)SWIG_As_int(obj1
);
11556 if (PyErr_Occurred()) SWIG_fail
;
11557 arg3
= (int)SWIG_As_int(obj2
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11561 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
11563 wxPyEndAllowThreads(__tstate
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11567 wxColour
* resultptr
;
11568 resultptr
= new wxColour((wxColour
&) result
);
11569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11577 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11578 PyObject
*resultobj
;
11579 wxDC
*arg1
= (wxDC
*) 0 ;
11580 wxPoint
*arg2
= 0 ;
11583 PyObject
* obj0
= 0 ;
11584 PyObject
* obj1
= 0 ;
11585 char *kwnames
[] = {
11586 (char *) "self",(char *) "pt", NULL
11589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11594 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11598 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
11600 wxPyEndAllowThreads(__tstate
);
11601 if (PyErr_Occurred()) SWIG_fail
;
11604 wxColour
* resultptr
;
11605 resultptr
= new wxColour((wxColour
&) result
);
11606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11614 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11615 PyObject
*resultobj
;
11616 wxDC
*arg1
= (wxDC
*) 0 ;
11621 PyObject
* obj0
= 0 ;
11622 PyObject
* obj1
= 0 ;
11623 PyObject
* obj2
= 0 ;
11624 PyObject
* obj3
= 0 ;
11625 PyObject
* obj4
= 0 ;
11626 char *kwnames
[] = {
11627 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
11630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11633 arg2
= (int)SWIG_As_int(obj1
);
11634 if (PyErr_Occurred()) SWIG_fail
;
11635 arg3
= (int)SWIG_As_int(obj2
);
11636 if (PyErr_Occurred()) SWIG_fail
;
11637 arg4
= (int)SWIG_As_int(obj3
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11639 arg5
= (int)SWIG_As_int(obj4
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11643 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
11645 wxPyEndAllowThreads(__tstate
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11648 Py_INCREF(Py_None
); resultobj
= Py_None
;
11655 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11656 PyObject
*resultobj
;
11657 wxDC
*arg1
= (wxDC
*) 0 ;
11658 wxPoint
*arg2
= 0 ;
11659 wxPoint
*arg3
= 0 ;
11662 PyObject
* obj0
= 0 ;
11663 PyObject
* obj1
= 0 ;
11664 PyObject
* obj2
= 0 ;
11665 char *kwnames
[] = {
11666 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
11669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11674 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11678 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11682 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
11684 wxPyEndAllowThreads(__tstate
);
11685 if (PyErr_Occurred()) SWIG_fail
;
11687 Py_INCREF(Py_None
); resultobj
= Py_None
;
11694 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11695 PyObject
*resultobj
;
11696 wxDC
*arg1
= (wxDC
*) 0 ;
11699 PyObject
* obj0
= 0 ;
11700 PyObject
* obj1
= 0 ;
11701 PyObject
* obj2
= 0 ;
11702 char *kwnames
[] = {
11703 (char *) "self",(char *) "x",(char *) "y", NULL
11706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11709 arg2
= (int)SWIG_As_int(obj1
);
11710 if (PyErr_Occurred()) SWIG_fail
;
11711 arg3
= (int)SWIG_As_int(obj2
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11715 (arg1
)->CrossHair(arg2
,arg3
);
11717 wxPyEndAllowThreads(__tstate
);
11718 if (PyErr_Occurred()) SWIG_fail
;
11720 Py_INCREF(Py_None
); resultobj
= Py_None
;
11727 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11728 PyObject
*resultobj
;
11729 wxDC
*arg1
= (wxDC
*) 0 ;
11730 wxPoint
*arg2
= 0 ;
11732 PyObject
* obj0
= 0 ;
11733 PyObject
* obj1
= 0 ;
11734 char *kwnames
[] = {
11735 (char *) "self",(char *) "pt", NULL
11738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11743 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11747 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
11749 wxPyEndAllowThreads(__tstate
);
11750 if (PyErr_Occurred()) SWIG_fail
;
11752 Py_INCREF(Py_None
); resultobj
= Py_None
;
11759 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11760 PyObject
*resultobj
;
11761 wxDC
*arg1
= (wxDC
*) 0 ;
11768 PyObject
* obj0
= 0 ;
11769 PyObject
* obj1
= 0 ;
11770 PyObject
* obj2
= 0 ;
11771 PyObject
* obj3
= 0 ;
11772 PyObject
* obj4
= 0 ;
11773 PyObject
* obj5
= 0 ;
11774 PyObject
* obj6
= 0 ;
11775 char *kwnames
[] = {
11776 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
11779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11782 arg2
= (int)SWIG_As_int(obj1
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11784 arg3
= (int)SWIG_As_int(obj2
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11786 arg4
= (int)SWIG_As_int(obj3
);
11787 if (PyErr_Occurred()) SWIG_fail
;
11788 arg5
= (int)SWIG_As_int(obj4
);
11789 if (PyErr_Occurred()) SWIG_fail
;
11790 arg6
= (int)SWIG_As_int(obj5
);
11791 if (PyErr_Occurred()) SWIG_fail
;
11792 arg7
= (int)SWIG_As_int(obj6
);
11793 if (PyErr_Occurred()) SWIG_fail
;
11795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11796 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11798 wxPyEndAllowThreads(__tstate
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11801 Py_INCREF(Py_None
); resultobj
= Py_None
;
11808 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11809 PyObject
*resultobj
;
11810 wxDC
*arg1
= (wxDC
*) 0 ;
11811 wxPoint
*arg2
= 0 ;
11812 wxPoint
*arg3
= 0 ;
11813 wxPoint
*arg4
= 0 ;
11817 PyObject
* obj0
= 0 ;
11818 PyObject
* obj1
= 0 ;
11819 PyObject
* obj2
= 0 ;
11820 PyObject
* obj3
= 0 ;
11821 char *kwnames
[] = {
11822 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
11825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11830 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11834 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11838 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11842 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
11844 wxPyEndAllowThreads(__tstate
);
11845 if (PyErr_Occurred()) SWIG_fail
;
11847 Py_INCREF(Py_None
); resultobj
= Py_None
;
11854 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11855 PyObject
*resultobj
;
11856 wxDC
*arg1
= (wxDC
*) 0 ;
11861 PyObject
* obj0
= 0 ;
11862 PyObject
* obj1
= 0 ;
11863 PyObject
* obj2
= 0 ;
11864 PyObject
* obj3
= 0 ;
11865 PyObject
* obj4
= 0 ;
11866 char *kwnames
[] = {
11867 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11873 arg2
= (int)SWIG_As_int(obj1
);
11874 if (PyErr_Occurred()) SWIG_fail
;
11875 arg3
= (int)SWIG_As_int(obj2
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11877 arg4
= (int)SWIG_As_int(obj3
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11879 arg5
= (int)SWIG_As_int(obj4
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11883 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
11885 wxPyEndAllowThreads(__tstate
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11888 Py_INCREF(Py_None
); resultobj
= Py_None
;
11895 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11896 PyObject
*resultobj
;
11897 wxDC
*arg1
= (wxDC
*) 0 ;
11900 PyObject
* obj0
= 0 ;
11901 PyObject
* obj1
= 0 ;
11902 char *kwnames
[] = {
11903 (char *) "self",(char *) "rect", NULL
11906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11911 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11915 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
11917 wxPyEndAllowThreads(__tstate
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11920 Py_INCREF(Py_None
); resultobj
= Py_None
;
11927 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11928 PyObject
*resultobj
;
11929 wxDC
*arg1
= (wxDC
*) 0 ;
11936 PyObject
* obj0
= 0 ;
11937 PyObject
* obj1
= 0 ;
11938 PyObject
* obj2
= 0 ;
11939 PyObject
* obj3
= 0 ;
11940 PyObject
* obj4
= 0 ;
11941 PyObject
* obj5
= 0 ;
11942 PyObject
* obj6
= 0 ;
11943 char *kwnames
[] = {
11944 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
11947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11950 arg2
= (int)SWIG_As_int(obj1
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11952 arg3
= (int)SWIG_As_int(obj2
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11954 arg4
= (int)SWIG_As_int(obj3
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11956 arg5
= (int)SWIG_As_int(obj4
);
11957 if (PyErr_Occurred()) SWIG_fail
;
11958 arg6
= (double)SWIG_As_double(obj5
);
11959 if (PyErr_Occurred()) SWIG_fail
;
11960 arg7
= (double)SWIG_As_double(obj6
);
11961 if (PyErr_Occurred()) SWIG_fail
;
11963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11964 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11966 wxPyEndAllowThreads(__tstate
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11969 Py_INCREF(Py_None
); resultobj
= Py_None
;
11976 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11977 PyObject
*resultobj
;
11978 wxDC
*arg1
= (wxDC
*) 0 ;
11979 wxPoint
*arg2
= 0 ;
11985 PyObject
* obj0
= 0 ;
11986 PyObject
* obj1
= 0 ;
11987 PyObject
* obj2
= 0 ;
11988 PyObject
* obj3
= 0 ;
11989 PyObject
* obj4
= 0 ;
11990 char *kwnames
[] = {
11991 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
11994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11999 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12003 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12005 arg4
= (double)SWIG_As_double(obj3
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12007 arg5
= (double)SWIG_As_double(obj4
);
12008 if (PyErr_Occurred()) SWIG_fail
;
12010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12011 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
12013 wxPyEndAllowThreads(__tstate
);
12014 if (PyErr_Occurred()) SWIG_fail
;
12016 Py_INCREF(Py_None
); resultobj
= Py_None
;
12023 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12024 PyObject
*resultobj
;
12025 wxDC
*arg1
= (wxDC
*) 0 ;
12028 PyObject
* obj0
= 0 ;
12029 PyObject
* obj1
= 0 ;
12030 PyObject
* obj2
= 0 ;
12031 char *kwnames
[] = {
12032 (char *) "self",(char *) "x",(char *) "y", NULL
12035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12038 arg2
= (int)SWIG_As_int(obj1
);
12039 if (PyErr_Occurred()) SWIG_fail
;
12040 arg3
= (int)SWIG_As_int(obj2
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12044 (arg1
)->DrawPoint(arg2
,arg3
);
12046 wxPyEndAllowThreads(__tstate
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12049 Py_INCREF(Py_None
); resultobj
= Py_None
;
12056 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12057 PyObject
*resultobj
;
12058 wxDC
*arg1
= (wxDC
*) 0 ;
12059 wxPoint
*arg2
= 0 ;
12061 PyObject
* obj0
= 0 ;
12062 PyObject
* obj1
= 0 ;
12063 char *kwnames
[] = {
12064 (char *) "self",(char *) "pt", NULL
12067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12072 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12076 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
12078 wxPyEndAllowThreads(__tstate
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12081 Py_INCREF(Py_None
); resultobj
= Py_None
;
12088 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12089 PyObject
*resultobj
;
12090 wxDC
*arg1
= (wxDC
*) 0 ;
12095 PyObject
* obj0
= 0 ;
12096 PyObject
* obj1
= 0 ;
12097 PyObject
* obj2
= 0 ;
12098 PyObject
* obj3
= 0 ;
12099 PyObject
* obj4
= 0 ;
12100 char *kwnames
[] = {
12101 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12107 arg2
= (int)SWIG_As_int(obj1
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12109 arg3
= (int)SWIG_As_int(obj2
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12111 arg4
= (int)SWIG_As_int(obj3
);
12112 if (PyErr_Occurred()) SWIG_fail
;
12113 arg5
= (int)SWIG_As_int(obj4
);
12114 if (PyErr_Occurred()) SWIG_fail
;
12116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12117 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12122 Py_INCREF(Py_None
); resultobj
= Py_None
;
12129 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12130 PyObject
*resultobj
;
12131 wxDC
*arg1
= (wxDC
*) 0 ;
12134 PyObject
* obj0
= 0 ;
12135 PyObject
* obj1
= 0 ;
12136 char *kwnames
[] = {
12137 (char *) "self",(char *) "rect", NULL
12140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12145 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
12151 wxPyEndAllowThreads(__tstate
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12154 Py_INCREF(Py_None
); resultobj
= Py_None
;
12161 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12162 PyObject
*resultobj
;
12163 wxDC
*arg1
= (wxDC
*) 0 ;
12164 wxPoint
*arg2
= 0 ;
12168 PyObject
* obj0
= 0 ;
12169 PyObject
* obj1
= 0 ;
12170 PyObject
* obj2
= 0 ;
12171 char *kwnames
[] = {
12172 (char *) "self",(char *) "pt",(char *) "sz", NULL
12175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12180 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12184 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12193 Py_INCREF(Py_None
); resultobj
= Py_None
;
12200 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12201 PyObject
*resultobj
;
12202 wxDC
*arg1
= (wxDC
*) 0 ;
12208 PyObject
* obj0
= 0 ;
12209 PyObject
* obj1
= 0 ;
12210 PyObject
* obj2
= 0 ;
12211 PyObject
* obj3
= 0 ;
12212 PyObject
* obj4
= 0 ;
12213 PyObject
* obj5
= 0 ;
12214 char *kwnames
[] = {
12215 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
12218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) 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 arg6
= (double)SWIG_As_double(obj5
);
12230 if (PyErr_Occurred()) SWIG_fail
;
12232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12233 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
12235 wxPyEndAllowThreads(__tstate
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12238 Py_INCREF(Py_None
); resultobj
= Py_None
;
12245 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12246 PyObject
*resultobj
;
12247 wxDC
*arg1
= (wxDC
*) 0 ;
12251 PyObject
* obj0
= 0 ;
12252 PyObject
* obj1
= 0 ;
12253 PyObject
* obj2
= 0 ;
12254 char *kwnames
[] = {
12255 (char *) "self",(char *) "r",(char *) "radius", NULL
12258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12263 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12265 arg3
= (double)SWIG_As_double(obj2
);
12266 if (PyErr_Occurred()) SWIG_fail
;
12268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12269 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
12271 wxPyEndAllowThreads(__tstate
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12274 Py_INCREF(Py_None
); resultobj
= Py_None
;
12281 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12282 PyObject
*resultobj
;
12283 wxDC
*arg1
= (wxDC
*) 0 ;
12284 wxPoint
*arg2
= 0 ;
12289 PyObject
* obj0
= 0 ;
12290 PyObject
* obj1
= 0 ;
12291 PyObject
* obj2
= 0 ;
12292 PyObject
* obj3
= 0 ;
12293 char *kwnames
[] = {
12294 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
12297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12302 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12306 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12308 arg4
= (double)SWIG_As_double(obj3
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12312 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
12314 wxPyEndAllowThreads(__tstate
);
12315 if (PyErr_Occurred()) SWIG_fail
;
12317 Py_INCREF(Py_None
); resultobj
= Py_None
;
12324 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12325 PyObject
*resultobj
;
12326 wxDC
*arg1
= (wxDC
*) 0 ;
12330 PyObject
* obj0
= 0 ;
12331 PyObject
* obj1
= 0 ;
12332 PyObject
* obj2
= 0 ;
12333 PyObject
* obj3
= 0 ;
12334 char *kwnames
[] = {
12335 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
12338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12341 arg2
= (int)SWIG_As_int(obj1
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12343 arg3
= (int)SWIG_As_int(obj2
);
12344 if (PyErr_Occurred()) SWIG_fail
;
12345 arg4
= (int)SWIG_As_int(obj3
);
12346 if (PyErr_Occurred()) SWIG_fail
;
12348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12349 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
12351 wxPyEndAllowThreads(__tstate
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12354 Py_INCREF(Py_None
); resultobj
= Py_None
;
12361 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12362 PyObject
*resultobj
;
12363 wxDC
*arg1
= (wxDC
*) 0 ;
12364 wxPoint
*arg2
= 0 ;
12367 PyObject
* obj0
= 0 ;
12368 PyObject
* obj1
= 0 ;
12369 PyObject
* obj2
= 0 ;
12370 char *kwnames
[] = {
12371 (char *) "self",(char *) "pt",(char *) "radius", NULL
12374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12379 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12381 arg3
= (int)SWIG_As_int(obj2
);
12382 if (PyErr_Occurred()) SWIG_fail
;
12384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12385 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
12387 wxPyEndAllowThreads(__tstate
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12390 Py_INCREF(Py_None
); resultobj
= Py_None
;
12397 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12398 PyObject
*resultobj
;
12399 wxDC
*arg1
= (wxDC
*) 0 ;
12404 PyObject
* obj0
= 0 ;
12405 PyObject
* obj1
= 0 ;
12406 PyObject
* obj2
= 0 ;
12407 PyObject
* obj3
= 0 ;
12408 PyObject
* obj4
= 0 ;
12409 char *kwnames
[] = {
12410 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12416 arg2
= (int)SWIG_As_int(obj1
);
12417 if (PyErr_Occurred()) SWIG_fail
;
12418 arg3
= (int)SWIG_As_int(obj2
);
12419 if (PyErr_Occurred()) SWIG_fail
;
12420 arg4
= (int)SWIG_As_int(obj3
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12422 arg5
= (int)SWIG_As_int(obj4
);
12423 if (PyErr_Occurred()) SWIG_fail
;
12425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12426 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
12428 wxPyEndAllowThreads(__tstate
);
12429 if (PyErr_Occurred()) SWIG_fail
;
12431 Py_INCREF(Py_None
); resultobj
= Py_None
;
12438 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12439 PyObject
*resultobj
;
12440 wxDC
*arg1
= (wxDC
*) 0 ;
12443 PyObject
* obj0
= 0 ;
12444 PyObject
* obj1
= 0 ;
12445 char *kwnames
[] = {
12446 (char *) "self",(char *) "rect", NULL
12449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12454 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12458 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
12460 wxPyEndAllowThreads(__tstate
);
12461 if (PyErr_Occurred()) SWIG_fail
;
12463 Py_INCREF(Py_None
); resultobj
= Py_None
;
12470 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
;
12472 wxDC
*arg1
= (wxDC
*) 0 ;
12473 wxPoint
*arg2
= 0 ;
12477 PyObject
* obj0
= 0 ;
12478 PyObject
* obj1
= 0 ;
12479 PyObject
* obj2
= 0 ;
12480 char *kwnames
[] = {
12481 (char *) "self",(char *) "pt",(char *) "sz", NULL
12484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12489 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12493 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12497 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12499 wxPyEndAllowThreads(__tstate
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12502 Py_INCREF(Py_None
); resultobj
= Py_None
;
12509 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12510 PyObject
*resultobj
;
12511 wxDC
*arg1
= (wxDC
*) 0 ;
12515 PyObject
* obj0
= 0 ;
12516 PyObject
* obj1
= 0 ;
12517 PyObject
* obj2
= 0 ;
12518 PyObject
* obj3
= 0 ;
12519 char *kwnames
[] = {
12520 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
12523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12526 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
12527 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12529 if (arg2
== NULL
) {
12530 PyErr_SetString(PyExc_TypeError
,"null reference");
12533 arg3
= (int)SWIG_As_int(obj2
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12535 arg4
= (int)SWIG_As_int(obj3
);
12536 if (PyErr_Occurred()) SWIG_fail
;
12538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12539 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
12541 wxPyEndAllowThreads(__tstate
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12544 Py_INCREF(Py_None
); resultobj
= Py_None
;
12551 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12552 PyObject
*resultobj
;
12553 wxDC
*arg1
= (wxDC
*) 0 ;
12555 wxPoint
*arg3
= 0 ;
12557 PyObject
* obj0
= 0 ;
12558 PyObject
* obj1
= 0 ;
12559 PyObject
* obj2
= 0 ;
12560 char *kwnames
[] = {
12561 (char *) "self",(char *) "icon",(char *) "pt", NULL
12564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
12568 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12570 if (arg2
== NULL
) {
12571 PyErr_SetString(PyExc_TypeError
,"null reference");
12576 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12580 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12585 Py_INCREF(Py_None
); resultobj
= Py_None
;
12592 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12593 PyObject
*resultobj
;
12594 wxDC
*arg1
= (wxDC
*) 0 ;
12595 wxBitmap
*arg2
= 0 ;
12598 bool arg5
= (bool) false ;
12599 PyObject
* obj0
= 0 ;
12600 PyObject
* obj1
= 0 ;
12601 PyObject
* obj2
= 0 ;
12602 PyObject
* obj3
= 0 ;
12603 PyObject
* obj4
= 0 ;
12604 char *kwnames
[] = {
12605 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
12608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
12612 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12614 if (arg2
== NULL
) {
12615 PyErr_SetString(PyExc_TypeError
,"null reference");
12618 arg3
= (int)SWIG_As_int(obj2
);
12619 if (PyErr_Occurred()) SWIG_fail
;
12620 arg4
= (int)SWIG_As_int(obj3
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 arg5
= (bool)SWIG_As_bool(obj4
);
12624 if (PyErr_Occurred()) SWIG_fail
;
12627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12628 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
12630 wxPyEndAllowThreads(__tstate
);
12631 if (PyErr_Occurred()) SWIG_fail
;
12633 Py_INCREF(Py_None
); resultobj
= Py_None
;
12640 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12641 PyObject
*resultobj
;
12642 wxDC
*arg1
= (wxDC
*) 0 ;
12643 wxBitmap
*arg2
= 0 ;
12644 wxPoint
*arg3
= 0 ;
12645 bool arg4
= (bool) false ;
12647 PyObject
* obj0
= 0 ;
12648 PyObject
* obj1
= 0 ;
12649 PyObject
* obj2
= 0 ;
12650 PyObject
* obj3
= 0 ;
12651 char *kwnames
[] = {
12652 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
12655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
12659 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12661 if (arg2
== NULL
) {
12662 PyErr_SetString(PyExc_TypeError
,"null reference");
12667 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12670 arg4
= (bool)SWIG_As_bool(obj3
);
12671 if (PyErr_Occurred()) SWIG_fail
;
12674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12675 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12677 wxPyEndAllowThreads(__tstate
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12680 Py_INCREF(Py_None
); resultobj
= Py_None
;
12687 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12688 PyObject
*resultobj
;
12689 wxDC
*arg1
= (wxDC
*) 0 ;
12690 wxString
*arg2
= 0 ;
12693 bool temp2
= false ;
12694 PyObject
* obj0
= 0 ;
12695 PyObject
* obj1
= 0 ;
12696 PyObject
* obj2
= 0 ;
12697 PyObject
* obj3
= 0 ;
12698 char *kwnames
[] = {
12699 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
12702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12706 arg2
= wxString_in_helper(obj1
);
12707 if (arg2
== NULL
) SWIG_fail
;
12710 arg3
= (int)SWIG_As_int(obj2
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12712 arg4
= (int)SWIG_As_int(obj3
);
12713 if (PyErr_Occurred()) SWIG_fail
;
12715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12716 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
12718 wxPyEndAllowThreads(__tstate
);
12719 if (PyErr_Occurred()) SWIG_fail
;
12721 Py_INCREF(Py_None
); resultobj
= Py_None
;
12736 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12737 PyObject
*resultobj
;
12738 wxDC
*arg1
= (wxDC
*) 0 ;
12739 wxString
*arg2
= 0 ;
12740 wxPoint
*arg3
= 0 ;
12741 bool temp2
= false ;
12743 PyObject
* obj0
= 0 ;
12744 PyObject
* obj1
= 0 ;
12745 PyObject
* obj2
= 0 ;
12746 char *kwnames
[] = {
12747 (char *) "self",(char *) "text",(char *) "pt", NULL
12750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12754 arg2
= wxString_in_helper(obj1
);
12755 if (arg2
== NULL
) SWIG_fail
;
12760 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12764 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
12766 wxPyEndAllowThreads(__tstate
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12769 Py_INCREF(Py_None
); resultobj
= Py_None
;
12784 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12785 PyObject
*resultobj
;
12786 wxDC
*arg1
= (wxDC
*) 0 ;
12787 wxString
*arg2
= 0 ;
12791 bool temp2
= false ;
12792 PyObject
* obj0
= 0 ;
12793 PyObject
* obj1
= 0 ;
12794 PyObject
* obj2
= 0 ;
12795 PyObject
* obj3
= 0 ;
12796 PyObject
* obj4
= 0 ;
12797 char *kwnames
[] = {
12798 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
12801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12805 arg2
= wxString_in_helper(obj1
);
12806 if (arg2
== NULL
) SWIG_fail
;
12809 arg3
= (int)SWIG_As_int(obj2
);
12810 if (PyErr_Occurred()) SWIG_fail
;
12811 arg4
= (int)SWIG_As_int(obj3
);
12812 if (PyErr_Occurred()) SWIG_fail
;
12813 arg5
= (double)SWIG_As_double(obj4
);
12814 if (PyErr_Occurred()) SWIG_fail
;
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12819 wxPyEndAllowThreads(__tstate
);
12820 if (PyErr_Occurred()) SWIG_fail
;
12822 Py_INCREF(Py_None
); resultobj
= Py_None
;
12837 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12838 PyObject
*resultobj
;
12839 wxDC
*arg1
= (wxDC
*) 0 ;
12840 wxString
*arg2
= 0 ;
12841 wxPoint
*arg3
= 0 ;
12843 bool temp2
= false ;
12845 PyObject
* obj0
= 0 ;
12846 PyObject
* obj1
= 0 ;
12847 PyObject
* obj2
= 0 ;
12848 PyObject
* obj3
= 0 ;
12849 char *kwnames
[] = {
12850 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
12853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12857 arg2
= wxString_in_helper(obj1
);
12858 if (arg2
== NULL
) SWIG_fail
;
12863 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12865 arg4
= (double)SWIG_As_double(obj3
);
12866 if (PyErr_Occurred()) SWIG_fail
;
12868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12869 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12871 wxPyEndAllowThreads(__tstate
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12874 Py_INCREF(Py_None
); resultobj
= Py_None
;
12889 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12890 PyObject
*resultobj
;
12891 wxDC
*arg1
= (wxDC
*) 0 ;
12896 wxDC
*arg6
= (wxDC
*) 0 ;
12899 int arg9
= (int) wxCOPY
;
12900 bool arg10
= (bool) false ;
12901 int arg11
= (int) -1 ;
12902 int arg12
= (int) -1 ;
12904 PyObject
* obj0
= 0 ;
12905 PyObject
* obj1
= 0 ;
12906 PyObject
* obj2
= 0 ;
12907 PyObject
* obj3
= 0 ;
12908 PyObject
* obj4
= 0 ;
12909 PyObject
* obj5
= 0 ;
12910 PyObject
* obj6
= 0 ;
12911 PyObject
* obj7
= 0 ;
12912 PyObject
* obj8
= 0 ;
12913 PyObject
* obj9
= 0 ;
12914 PyObject
* obj10
= 0 ;
12915 PyObject
* obj11
= 0 ;
12916 char *kwnames
[] = {
12917 (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
12920 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
;
12921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12923 arg2
= (int)SWIG_As_int(obj1
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12925 arg3
= (int)SWIG_As_int(obj2
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12927 arg4
= (int)SWIG_As_int(obj3
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12929 arg5
= (int)SWIG_As_int(obj4
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12931 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
12932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12933 arg7
= (int)SWIG_As_int(obj6
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12935 arg8
= (int)SWIG_As_int(obj7
);
12936 if (PyErr_Occurred()) SWIG_fail
;
12938 arg9
= (int)SWIG_As_int(obj8
);
12939 if (PyErr_Occurred()) SWIG_fail
;
12942 arg10
= (bool)SWIG_As_bool(obj9
);
12943 if (PyErr_Occurred()) SWIG_fail
;
12946 arg11
= (int)SWIG_As_int(obj10
);
12947 if (PyErr_Occurred()) SWIG_fail
;
12950 arg12
= (int)SWIG_As_int(obj11
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12955 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12957 wxPyEndAllowThreads(__tstate
);
12958 if (PyErr_Occurred()) SWIG_fail
;
12961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12969 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
;
12971 wxDC
*arg1
= (wxDC
*) 0 ;
12972 wxPoint
*arg2
= 0 ;
12974 wxDC
*arg4
= (wxDC
*) 0 ;
12975 wxPoint
*arg5
= 0 ;
12976 int arg6
= (int) wxCOPY
;
12977 bool arg7
= (bool) false ;
12978 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
12979 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
12985 PyObject
* obj0
= 0 ;
12986 PyObject
* obj1
= 0 ;
12987 PyObject
* obj2
= 0 ;
12988 PyObject
* obj3
= 0 ;
12989 PyObject
* obj4
= 0 ;
12990 PyObject
* obj5
= 0 ;
12991 PyObject
* obj6
= 0 ;
12992 PyObject
* obj7
= 0 ;
12993 char *kwnames
[] = {
12994 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13002 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13006 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13008 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
13009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13012 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13015 arg6
= (int)SWIG_As_int(obj5
);
13016 if (PyErr_Occurred()) SWIG_fail
;
13019 arg7
= (bool)SWIG_As_bool(obj6
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13025 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13044 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
*resultobj
;
13046 wxDC
*arg1
= (wxDC
*) 0 ;
13051 PyObject
* obj0
= 0 ;
13052 PyObject
* obj1
= 0 ;
13053 PyObject
* obj2
= 0 ;
13054 PyObject
* obj3
= 0 ;
13055 PyObject
* obj4
= 0 ;
13056 char *kwnames
[] = {
13057 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13063 arg2
= (int)SWIG_As_int(obj1
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13065 arg3
= (int)SWIG_As_int(obj2
);
13066 if (PyErr_Occurred()) SWIG_fail
;
13067 arg4
= (int)SWIG_As_int(obj3
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13069 arg5
= (int)SWIG_As_int(obj4
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13073 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
13075 wxPyEndAllowThreads(__tstate
);
13076 if (PyErr_Occurred()) SWIG_fail
;
13078 Py_INCREF(Py_None
); resultobj
= Py_None
;
13085 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13086 PyObject
*resultobj
;
13087 wxDC
*arg1
= (wxDC
*) 0 ;
13088 wxPoint
*arg2
= 0 ;
13092 PyObject
* obj0
= 0 ;
13093 PyObject
* obj1
= 0 ;
13094 PyObject
* obj2
= 0 ;
13095 char *kwnames
[] = {
13096 (char *) "self",(char *) "pt",(char *) "sz", NULL
13099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13104 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13108 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13112 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13114 wxPyEndAllowThreads(__tstate
);
13115 if (PyErr_Occurred()) SWIG_fail
;
13117 Py_INCREF(Py_None
); resultobj
= Py_None
;
13124 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13125 PyObject
*resultobj
;
13126 wxDC
*arg1
= (wxDC
*) 0 ;
13127 wxRegion
*arg2
= 0 ;
13128 PyObject
* obj0
= 0 ;
13129 PyObject
* obj1
= 0 ;
13130 char *kwnames
[] = {
13131 (char *) "self",(char *) "region", NULL
13134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
13135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
13138 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13140 if (arg2
== NULL
) {
13141 PyErr_SetString(PyExc_TypeError
,"null reference");
13145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13146 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
13148 wxPyEndAllowThreads(__tstate
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13151 Py_INCREF(Py_None
); resultobj
= Py_None
;
13158 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13159 PyObject
*resultobj
;
13160 wxDC
*arg1
= (wxDC
*) 0 ;
13163 PyObject
* obj0
= 0 ;
13164 PyObject
* obj1
= 0 ;
13165 char *kwnames
[] = {
13166 (char *) "self",(char *) "rect", NULL
13169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13174 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13178 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
13180 wxPyEndAllowThreads(__tstate
);
13181 if (PyErr_Occurred()) SWIG_fail
;
13183 Py_INCREF(Py_None
); resultobj
= Py_None
;
13190 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13191 PyObject
*resultobj
;
13192 wxDC
*arg1
= (wxDC
*) 0 ;
13194 wxPoint
*arg3
= (wxPoint
*) 0 ;
13195 int arg4
= (int) 0 ;
13196 int arg5
= (int) 0 ;
13197 PyObject
* obj0
= 0 ;
13198 PyObject
* obj1
= 0 ;
13199 PyObject
* obj2
= 0 ;
13200 PyObject
* obj3
= 0 ;
13201 char *kwnames
[] = {
13202 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
13205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13209 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
13210 if (arg3
== NULL
) SWIG_fail
;
13213 arg4
= (int)SWIG_As_int(obj2
);
13214 if (PyErr_Occurred()) SWIG_fail
;
13217 arg5
= (int)SWIG_As_int(obj3
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13222 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
13224 wxPyEndAllowThreads(__tstate
);
13225 if (PyErr_Occurred()) SWIG_fail
;
13227 Py_INCREF(Py_None
); resultobj
= Py_None
;
13229 if (arg3
) delete [] arg3
;
13234 if (arg3
) delete [] arg3
;
13240 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13241 PyObject
*resultobj
;
13242 wxDC
*arg1
= (wxDC
*) 0 ;
13244 wxPoint
*arg3
= (wxPoint
*) 0 ;
13245 int arg4
= (int) 0 ;
13246 int arg5
= (int) 0 ;
13247 int arg6
= (int) wxODDEVEN_RULE
;
13248 PyObject
* obj0
= 0 ;
13249 PyObject
* obj1
= 0 ;
13250 PyObject
* obj2
= 0 ;
13251 PyObject
* obj3
= 0 ;
13252 PyObject
* obj4
= 0 ;
13253 char *kwnames
[] = {
13254 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
13257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13261 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
13262 if (arg3
== NULL
) SWIG_fail
;
13265 arg4
= (int)SWIG_As_int(obj2
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13269 arg5
= (int)SWIG_As_int(obj3
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13273 arg6
= (int)SWIG_As_int(obj4
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13278 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
13280 wxPyEndAllowThreads(__tstate
);
13281 if (PyErr_Occurred()) SWIG_fail
;
13283 Py_INCREF(Py_None
); resultobj
= Py_None
;
13285 if (arg3
) delete [] arg3
;
13290 if (arg3
) delete [] arg3
;
13296 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13297 PyObject
*resultobj
;
13298 wxDC
*arg1
= (wxDC
*) 0 ;
13299 wxString
*arg2
= 0 ;
13301 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
13302 int arg5
= (int) -1 ;
13303 bool temp2
= false ;
13305 PyObject
* obj0
= 0 ;
13306 PyObject
* obj1
= 0 ;
13307 PyObject
* obj2
= 0 ;
13308 PyObject
* obj3
= 0 ;
13309 PyObject
* obj4
= 0 ;
13310 char *kwnames
[] = {
13311 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
13314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13318 arg2
= wxString_in_helper(obj1
);
13319 if (arg2
== NULL
) SWIG_fail
;
13324 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
13327 arg4
= (int)SWIG_As_int(obj3
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13331 arg5
= (int)SWIG_As_int(obj4
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13336 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
13338 wxPyEndAllowThreads(__tstate
);
13339 if (PyErr_Occurred()) SWIG_fail
;
13341 Py_INCREF(Py_None
); resultobj
= Py_None
;
13356 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13357 PyObject
*resultobj
;
13358 wxDC
*arg1
= (wxDC
*) 0 ;
13359 wxString
*arg2
= 0 ;
13360 wxBitmap
*arg3
= 0 ;
13362 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
13363 int arg6
= (int) -1 ;
13365 bool temp2
= false ;
13367 PyObject
* obj0
= 0 ;
13368 PyObject
* obj1
= 0 ;
13369 PyObject
* obj2
= 0 ;
13370 PyObject
* obj3
= 0 ;
13371 PyObject
* obj4
= 0 ;
13372 PyObject
* obj5
= 0 ;
13373 char *kwnames
[] = {
13374 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
13377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13381 arg2
= wxString_in_helper(obj1
);
13382 if (arg2
== NULL
) SWIG_fail
;
13385 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
13386 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13388 if (arg3
== NULL
) {
13389 PyErr_SetString(PyExc_TypeError
,"null reference");
13394 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
13397 arg5
= (int)SWIG_As_int(obj4
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13401 arg6
= (int)SWIG_As_int(obj5
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13406 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13412 wxRect
* resultptr
;
13413 resultptr
= new wxRect((wxRect
&) result
);
13414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13430 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13431 PyObject
*resultobj
;
13432 wxDC
*arg1
= (wxDC
*) 0 ;
13434 wxPoint
*arg3
= (wxPoint
*) 0 ;
13435 PyObject
* obj0
= 0 ;
13436 PyObject
* obj1
= 0 ;
13437 char *kwnames
[] = {
13438 (char *) "self",(char *) "points", NULL
13441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
13442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13445 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
13446 if (arg3
== NULL
) SWIG_fail
;
13449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13450 (arg1
)->DrawSpline(arg2
,arg3
);
13452 wxPyEndAllowThreads(__tstate
);
13453 if (PyErr_Occurred()) SWIG_fail
;
13455 Py_INCREF(Py_None
); resultobj
= Py_None
;
13457 if (arg3
) delete [] arg3
;
13462 if (arg3
) delete [] arg3
;
13468 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13469 PyObject
*resultobj
;
13470 wxDC
*arg1
= (wxDC
*) 0 ;
13471 PyObject
* obj0
= 0 ;
13472 char *kwnames
[] = {
13473 (char *) "self", NULL
13476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
13477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13486 Py_INCREF(Py_None
); resultobj
= Py_None
;
13493 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13494 PyObject
*resultobj
;
13495 wxDC
*arg1
= (wxDC
*) 0 ;
13496 wxString
*arg2
= 0 ;
13498 bool temp2
= false ;
13499 PyObject
* obj0
= 0 ;
13500 PyObject
* obj1
= 0 ;
13501 char *kwnames
[] = {
13502 (char *) "self",(char *) "message", NULL
13505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
13506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13509 arg2
= wxString_in_helper(obj1
);
13510 if (arg2
== NULL
) SWIG_fail
;
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13537 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13538 PyObject
*resultobj
;
13539 wxDC
*arg1
= (wxDC
*) 0 ;
13540 PyObject
* obj0
= 0 ;
13541 char *kwnames
[] = {
13542 (char *) "self", NULL
13545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
13546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13552 wxPyEndAllowThreads(__tstate
);
13553 if (PyErr_Occurred()) SWIG_fail
;
13555 Py_INCREF(Py_None
); resultobj
= Py_None
;
13562 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13563 PyObject
*resultobj
;
13564 wxDC
*arg1
= (wxDC
*) 0 ;
13565 PyObject
* obj0
= 0 ;
13566 char *kwnames
[] = {
13567 (char *) "self", NULL
13570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
13571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 (arg1
)->StartPage();
13577 wxPyEndAllowThreads(__tstate
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13580 Py_INCREF(Py_None
); resultobj
= Py_None
;
13587 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13588 PyObject
*resultobj
;
13589 wxDC
*arg1
= (wxDC
*) 0 ;
13590 PyObject
* obj0
= 0 ;
13591 char *kwnames
[] = {
13592 (char *) "self", NULL
13595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
13596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13602 wxPyEndAllowThreads(__tstate
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13605 Py_INCREF(Py_None
); resultobj
= Py_None
;
13612 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13613 PyObject
*resultobj
;
13614 wxDC
*arg1
= (wxDC
*) 0 ;
13616 PyObject
* obj0
= 0 ;
13617 PyObject
* obj1
= 0 ;
13618 char *kwnames
[] = {
13619 (char *) "self",(char *) "font", NULL
13622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13626 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13628 if (arg2
== NULL
) {
13629 PyErr_SetString(PyExc_TypeError
,"null reference");
13633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13634 (arg1
)->SetFont((wxFont
const &)*arg2
);
13636 wxPyEndAllowThreads(__tstate
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13639 Py_INCREF(Py_None
); resultobj
= Py_None
;
13646 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13647 PyObject
*resultobj
;
13648 wxDC
*arg1
= (wxDC
*) 0 ;
13650 PyObject
* obj0
= 0 ;
13651 PyObject
* obj1
= 0 ;
13652 char *kwnames
[] = {
13653 (char *) "self",(char *) "pen", NULL
13656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
13657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13659 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
13660 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13662 if (arg2
== NULL
) {
13663 PyErr_SetString(PyExc_TypeError
,"null reference");
13667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13668 (arg1
)->SetPen((wxPen
const &)*arg2
);
13670 wxPyEndAllowThreads(__tstate
);
13671 if (PyErr_Occurred()) SWIG_fail
;
13673 Py_INCREF(Py_None
); resultobj
= Py_None
;
13680 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13681 PyObject
*resultobj
;
13682 wxDC
*arg1
= (wxDC
*) 0 ;
13683 wxBrush
*arg2
= 0 ;
13684 PyObject
* obj0
= 0 ;
13685 PyObject
* obj1
= 0 ;
13686 char *kwnames
[] = {
13687 (char *) "self",(char *) "brush", NULL
13690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
13691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13694 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13696 if (arg2
== NULL
) {
13697 PyErr_SetString(PyExc_TypeError
,"null reference");
13701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13702 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
13704 wxPyEndAllowThreads(__tstate
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13707 Py_INCREF(Py_None
); resultobj
= Py_None
;
13714 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13715 PyObject
*resultobj
;
13716 wxDC
*arg1
= (wxDC
*) 0 ;
13717 wxBrush
*arg2
= 0 ;
13718 PyObject
* obj0
= 0 ;
13719 PyObject
* obj1
= 0 ;
13720 char *kwnames
[] = {
13721 (char *) "self",(char *) "brush", NULL
13724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13728 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13730 if (arg2
== NULL
) {
13731 PyErr_SetString(PyExc_TypeError
,"null reference");
13735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13736 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
13738 wxPyEndAllowThreads(__tstate
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 Py_INCREF(Py_None
); resultobj
= Py_None
;
13748 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13749 PyObject
*resultobj
;
13750 wxDC
*arg1
= (wxDC
*) 0 ;
13752 PyObject
* obj0
= 0 ;
13753 PyObject
* obj1
= 0 ;
13754 char *kwnames
[] = {
13755 (char *) "self",(char *) "mode", NULL
13758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13761 arg2
= (int)SWIG_As_int(obj1
);
13762 if (PyErr_Occurred()) SWIG_fail
;
13764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13765 (arg1
)->SetBackgroundMode(arg2
);
13767 wxPyEndAllowThreads(__tstate
);
13768 if (PyErr_Occurred()) SWIG_fail
;
13770 Py_INCREF(Py_None
); resultobj
= Py_None
;
13777 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13778 PyObject
*resultobj
;
13779 wxDC
*arg1
= (wxDC
*) 0 ;
13780 wxPalette
*arg2
= 0 ;
13781 PyObject
* obj0
= 0 ;
13782 PyObject
* obj1
= 0 ;
13783 char *kwnames
[] = {
13784 (char *) "self",(char *) "palette", NULL
13787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
13788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13790 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
13791 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13793 if (arg2
== NULL
) {
13794 PyErr_SetString(PyExc_TypeError
,"null reference");
13798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13799 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
13801 wxPyEndAllowThreads(__tstate
);
13802 if (PyErr_Occurred()) SWIG_fail
;
13804 Py_INCREF(Py_None
); resultobj
= Py_None
;
13811 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13812 PyObject
*resultobj
;
13813 wxDC
*arg1
= (wxDC
*) 0 ;
13814 PyObject
* obj0
= 0 ;
13815 char *kwnames
[] = {
13816 (char *) "self", NULL
13819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
13820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13824 (arg1
)->DestroyClippingRegion();
13826 wxPyEndAllowThreads(__tstate
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13829 Py_INCREF(Py_None
); resultobj
= Py_None
;
13836 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13837 PyObject
*resultobj
;
13838 wxDC
*arg1
= (wxDC
*) 0 ;
13839 int *arg2
= (int *) 0 ;
13840 int *arg3
= (int *) 0 ;
13841 int *arg4
= (int *) 0 ;
13842 int *arg5
= (int *) 0 ;
13851 PyObject
* obj0
= 0 ;
13852 char *kwnames
[] = {
13853 (char *) "self", NULL
13856 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13857 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13858 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13859 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
13861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13865 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
13867 wxPyEndAllowThreads(__tstate
);
13868 if (PyErr_Occurred()) SWIG_fail
;
13870 Py_INCREF(Py_None
); resultobj
= Py_None
;
13871 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13872 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13873 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13874 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13875 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13876 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13877 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13878 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13885 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13886 PyObject
*resultobj
;
13887 wxDC
*arg1
= (wxDC
*) 0 ;
13889 PyObject
* obj0
= 0 ;
13890 char *kwnames
[] = {
13891 (char *) "self", NULL
13894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
13895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13899 result
= wxDC_GetClippingRect(arg1
);
13901 wxPyEndAllowThreads(__tstate
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13905 wxRect
* resultptr
;
13906 resultptr
= new wxRect((wxRect
&) result
);
13907 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13915 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13916 PyObject
*resultobj
;
13917 wxDC
*arg1
= (wxDC
*) 0 ;
13919 PyObject
* obj0
= 0 ;
13920 char *kwnames
[] = {
13921 (char *) "self", NULL
13924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
13925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13929 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
13931 wxPyEndAllowThreads(__tstate
);
13932 if (PyErr_Occurred()) SWIG_fail
;
13934 resultobj
= SWIG_From_int((int)result
);
13941 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13942 PyObject
*resultobj
;
13943 wxDC
*arg1
= (wxDC
*) 0 ;
13945 PyObject
* obj0
= 0 ;
13946 char *kwnames
[] = {
13947 (char *) "self", NULL
13950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
13951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13960 resultobj
= SWIG_From_int((int)result
);
13967 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13968 PyObject
*resultobj
;
13969 wxDC
*arg1
= (wxDC
*) 0 ;
13970 wxString
*arg2
= 0 ;
13971 int *arg3
= (int *) 0 ;
13972 int *arg4
= (int *) 0 ;
13973 bool temp2
= false ;
13978 PyObject
* obj0
= 0 ;
13979 PyObject
* obj1
= 0 ;
13980 char *kwnames
[] = {
13981 (char *) "self",(char *) "string", NULL
13984 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13985 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
13987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13990 arg2
= wxString_in_helper(obj1
);
13991 if (arg2
== NULL
) SWIG_fail
;
13995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13996 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
13998 wxPyEndAllowThreads(__tstate
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14001 Py_INCREF(Py_None
); resultobj
= Py_None
;
14002 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14003 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14004 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
14005 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
14020 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14021 PyObject
*resultobj
;
14022 wxDC
*arg1
= (wxDC
*) 0 ;
14023 wxString
*arg2
= 0 ;
14024 int *arg3
= (int *) 0 ;
14025 int *arg4
= (int *) 0 ;
14026 int *arg5
= (int *) 0 ;
14027 int *arg6
= (int *) 0 ;
14028 wxFont
*arg7
= (wxFont
*) NULL
;
14029 bool temp2
= false ;
14038 PyObject
* obj0
= 0 ;
14039 PyObject
* obj1
= 0 ;
14040 PyObject
* obj2
= 0 ;
14041 char *kwnames
[] = {
14042 (char *) "self",(char *) "string",(char *) "font", NULL
14045 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14046 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
14047 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
14048 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
14049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14053 arg2
= wxString_in_helper(obj1
);
14054 if (arg2
== NULL
) SWIG_fail
;
14058 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
14059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14063 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14065 wxPyEndAllowThreads(__tstate
);
14066 if (PyErr_Occurred()) SWIG_fail
;
14068 Py_INCREF(Py_None
); resultobj
= Py_None
;
14069 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14070 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14071 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
14072 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
14073 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
14074 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
14075 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
14076 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
14091 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14092 PyObject
*resultobj
;
14093 wxDC
*arg1
= (wxDC
*) 0 ;
14094 wxString
*arg2
= 0 ;
14095 int *arg3
= (int *) 0 ;
14096 int *arg4
= (int *) 0 ;
14097 int *arg5
= (int *) 0 ;
14098 wxFont
*arg6
= (wxFont
*) NULL
;
14099 bool temp2
= false ;
14106 PyObject
* obj0
= 0 ;
14107 PyObject
* obj1
= 0 ;
14108 PyObject
* obj2
= 0 ;
14109 char *kwnames
[] = {
14110 (char *) "self",(char *) "text",(char *) "font", NULL
14113 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14114 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
14115 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
14116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14120 arg2
= wxString_in_helper(obj1
);
14121 if (arg2
== NULL
) SWIG_fail
;
14125 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
14126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14130 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
14132 wxPyEndAllowThreads(__tstate
);
14133 if (PyErr_Occurred()) SWIG_fail
;
14135 Py_INCREF(Py_None
); resultobj
= Py_None
;
14136 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14137 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14138 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
14139 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
14140 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
14141 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
14156 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14157 PyObject
*resultobj
;
14158 wxDC
*arg1
= (wxDC
*) 0 ;
14159 wxString
*arg2
= 0 ;
14161 bool temp2
= false ;
14162 PyObject
* obj0
= 0 ;
14163 PyObject
* obj1
= 0 ;
14164 char *kwnames
[] = {
14165 (char *) "self",(char *) "text", NULL
14168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
14169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14172 arg2
= wxString_in_helper(obj1
);
14173 if (arg2
== NULL
) SWIG_fail
;
14177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14178 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14184 resultobj
= PyList_New(0);
14186 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
14187 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
14188 PyList_Append(resultobj
, val
);
14206 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14207 PyObject
*resultobj
;
14208 wxDC
*arg1
= (wxDC
*) 0 ;
14210 PyObject
* obj0
= 0 ;
14211 char *kwnames
[] = {
14212 (char *) "self", NULL
14215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
14216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14220 result
= (arg1
)->GetSize();
14222 wxPyEndAllowThreads(__tstate
);
14223 if (PyErr_Occurred()) SWIG_fail
;
14226 wxSize
* resultptr
;
14227 resultptr
= new wxSize((wxSize
&) result
);
14228 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14236 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
;
14238 wxDC
*arg1
= (wxDC
*) 0 ;
14239 int *arg2
= (int *) 0 ;
14240 int *arg3
= (int *) 0 ;
14245 PyObject
* obj0
= 0 ;
14246 char *kwnames
[] = {
14247 (char *) "self", NULL
14250 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14251 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
14253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14257 (arg1
)->GetSize(arg2
,arg3
);
14259 wxPyEndAllowThreads(__tstate
);
14260 if (PyErr_Occurred()) SWIG_fail
;
14262 Py_INCREF(Py_None
); resultobj
= Py_None
;
14263 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14264 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14265 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14266 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14273 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14274 PyObject
*resultobj
;
14275 wxDC
*arg1
= (wxDC
*) 0 ;
14277 PyObject
* obj0
= 0 ;
14278 char *kwnames
[] = {
14279 (char *) "self", NULL
14282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
14283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14287 result
= ((wxDC
const *)arg1
)->GetSizeMM();
14289 wxPyEndAllowThreads(__tstate
);
14290 if (PyErr_Occurred()) SWIG_fail
;
14293 wxSize
* resultptr
;
14294 resultptr
= new wxSize((wxSize
&) result
);
14295 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14303 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14304 PyObject
*resultobj
;
14305 wxDC
*arg1
= (wxDC
*) 0 ;
14306 int *arg2
= (int *) 0 ;
14307 int *arg3
= (int *) 0 ;
14312 PyObject
* obj0
= 0 ;
14313 char *kwnames
[] = {
14314 (char *) "self", NULL
14317 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14318 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
14320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14324 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
14326 wxPyEndAllowThreads(__tstate
);
14327 if (PyErr_Occurred()) SWIG_fail
;
14329 Py_INCREF(Py_None
); resultobj
= Py_None
;
14330 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14331 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14332 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14333 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14340 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14341 PyObject
*resultobj
;
14342 wxDC
*arg1
= (wxDC
*) 0 ;
14345 PyObject
* obj0
= 0 ;
14346 PyObject
* obj1
= 0 ;
14347 char *kwnames
[] = {
14348 (char *) "self",(char *) "x", NULL
14351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
14352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14354 arg2
= (int)SWIG_As_int(obj1
);
14355 if (PyErr_Occurred()) SWIG_fail
;
14357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14358 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
14360 wxPyEndAllowThreads(__tstate
);
14361 if (PyErr_Occurred()) SWIG_fail
;
14363 resultobj
= SWIG_From_int((int)result
);
14370 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14371 PyObject
*resultobj
;
14372 wxDC
*arg1
= (wxDC
*) 0 ;
14375 PyObject
* obj0
= 0 ;
14376 PyObject
* obj1
= 0 ;
14377 char *kwnames
[] = {
14378 (char *) "self",(char *) "y", NULL
14381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
14382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14384 arg2
= (int)SWIG_As_int(obj1
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14388 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
14390 wxPyEndAllowThreads(__tstate
);
14391 if (PyErr_Occurred()) SWIG_fail
;
14393 resultobj
= SWIG_From_int((int)result
);
14400 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14401 PyObject
*resultobj
;
14402 wxDC
*arg1
= (wxDC
*) 0 ;
14405 PyObject
* obj0
= 0 ;
14406 PyObject
* obj1
= 0 ;
14407 char *kwnames
[] = {
14408 (char *) "self",(char *) "x", NULL
14411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
14412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14414 arg2
= (int)SWIG_As_int(obj1
);
14415 if (PyErr_Occurred()) SWIG_fail
;
14417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14418 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
14420 wxPyEndAllowThreads(__tstate
);
14421 if (PyErr_Occurred()) SWIG_fail
;
14423 resultobj
= SWIG_From_int((int)result
);
14430 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14431 PyObject
*resultobj
;
14432 wxDC
*arg1
= (wxDC
*) 0 ;
14435 PyObject
* obj0
= 0 ;
14436 PyObject
* obj1
= 0 ;
14437 char *kwnames
[] = {
14438 (char *) "self",(char *) "y", NULL
14441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
14442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14444 arg2
= (int)SWIG_As_int(obj1
);
14445 if (PyErr_Occurred()) SWIG_fail
;
14447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14448 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
14450 wxPyEndAllowThreads(__tstate
);
14451 if (PyErr_Occurred()) SWIG_fail
;
14453 resultobj
= SWIG_From_int((int)result
);
14460 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14461 PyObject
*resultobj
;
14462 wxDC
*arg1
= (wxDC
*) 0 ;
14465 PyObject
* obj0
= 0 ;
14466 PyObject
* obj1
= 0 ;
14467 char *kwnames
[] = {
14468 (char *) "self",(char *) "x", NULL
14471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
14472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14474 arg2
= (int)SWIG_As_int(obj1
);
14475 if (PyErr_Occurred()) SWIG_fail
;
14477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14478 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
14480 wxPyEndAllowThreads(__tstate
);
14481 if (PyErr_Occurred()) SWIG_fail
;
14483 resultobj
= SWIG_From_int((int)result
);
14490 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14491 PyObject
*resultobj
;
14492 wxDC
*arg1
= (wxDC
*) 0 ;
14495 PyObject
* obj0
= 0 ;
14496 PyObject
* obj1
= 0 ;
14497 char *kwnames
[] = {
14498 (char *) "self",(char *) "y", NULL
14501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
14502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14504 arg2
= (int)SWIG_As_int(obj1
);
14505 if (PyErr_Occurred()) SWIG_fail
;
14507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14508 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
14510 wxPyEndAllowThreads(__tstate
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14513 resultobj
= SWIG_From_int((int)result
);
14520 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14521 PyObject
*resultobj
;
14522 wxDC
*arg1
= (wxDC
*) 0 ;
14525 PyObject
* obj0
= 0 ;
14526 PyObject
* obj1
= 0 ;
14527 char *kwnames
[] = {
14528 (char *) "self",(char *) "x", NULL
14531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
14532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14534 arg2
= (int)SWIG_As_int(obj1
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14538 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
14540 wxPyEndAllowThreads(__tstate
);
14541 if (PyErr_Occurred()) SWIG_fail
;
14543 resultobj
= SWIG_From_int((int)result
);
14550 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14551 PyObject
*resultobj
;
14552 wxDC
*arg1
= (wxDC
*) 0 ;
14555 PyObject
* obj0
= 0 ;
14556 PyObject
* obj1
= 0 ;
14557 char *kwnames
[] = {
14558 (char *) "self",(char *) "y", NULL
14561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
14562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14564 arg2
= (int)SWIG_As_int(obj1
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14568 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
14570 wxPyEndAllowThreads(__tstate
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14573 resultobj
= SWIG_From_int((int)result
);
14580 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14581 PyObject
*resultobj
;
14582 wxDC
*arg1
= (wxDC
*) 0 ;
14584 PyObject
* obj0
= 0 ;
14585 char *kwnames
[] = {
14586 (char *) "self", NULL
14589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
14590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14594 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
14596 wxPyEndAllowThreads(__tstate
);
14597 if (PyErr_Occurred()) SWIG_fail
;
14600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14608 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14609 PyObject
*resultobj
;
14610 wxDC
*arg1
= (wxDC
*) 0 ;
14612 PyObject
* obj0
= 0 ;
14613 char *kwnames
[] = {
14614 (char *) "self", NULL
14617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
14618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14622 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
14624 wxPyEndAllowThreads(__tstate
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14636 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14637 PyObject
*resultobj
;
14638 wxDC
*arg1
= (wxDC
*) 0 ;
14640 PyObject
* obj0
= 0 ;
14641 char *kwnames
[] = {
14642 (char *) "self", NULL
14645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
14646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 result
= (int)((wxDC
const *)arg1
)->GetDepth();
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14655 resultobj
= SWIG_From_int((int)result
);
14662 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14663 PyObject
*resultobj
;
14664 wxDC
*arg1
= (wxDC
*) 0 ;
14666 PyObject
* obj0
= 0 ;
14667 char *kwnames
[] = {
14668 (char *) "self", NULL
14671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
14672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14676 result
= ((wxDC
const *)arg1
)->GetPPI();
14678 wxPyEndAllowThreads(__tstate
);
14679 if (PyErr_Occurred()) SWIG_fail
;
14682 wxSize
* resultptr
;
14683 resultptr
= new wxSize((wxSize
&) result
);
14684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14692 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14693 PyObject
*resultobj
;
14694 wxDC
*arg1
= (wxDC
*) 0 ;
14696 PyObject
* obj0
= 0 ;
14697 char *kwnames
[] = {
14698 (char *) "self", NULL
14701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
14702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14706 result
= (bool)((wxDC
const *)arg1
)->Ok();
14708 wxPyEndAllowThreads(__tstate
);
14709 if (PyErr_Occurred()) SWIG_fail
;
14712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14720 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14721 PyObject
*resultobj
;
14722 wxDC
*arg1
= (wxDC
*) 0 ;
14724 PyObject
* obj0
= 0 ;
14725 char *kwnames
[] = {
14726 (char *) "self", NULL
14729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
14730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14734 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
14736 wxPyEndAllowThreads(__tstate
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14739 resultobj
= SWIG_From_int((int)result
);
14746 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14747 PyObject
*resultobj
;
14748 wxDC
*arg1
= (wxDC
*) 0 ;
14750 PyObject
* obj0
= 0 ;
14751 char *kwnames
[] = {
14752 (char *) "self", NULL
14755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
14756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14761 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
14762 result
= (wxBrush
*) &_result_ref
;
14765 wxPyEndAllowThreads(__tstate
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14769 wxBrush
* resultptr
= new wxBrush(*result
);
14770 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14778 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14779 PyObject
*resultobj
;
14780 wxDC
*arg1
= (wxDC
*) 0 ;
14782 PyObject
* obj0
= 0 ;
14783 char *kwnames
[] = {
14784 (char *) "self", NULL
14787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
14788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14793 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
14794 result
= (wxBrush
*) &_result_ref
;
14797 wxPyEndAllowThreads(__tstate
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14801 wxBrush
* resultptr
= new wxBrush(*result
);
14802 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14810 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14811 PyObject
*resultobj
;
14812 wxDC
*arg1
= (wxDC
*) 0 ;
14814 PyObject
* obj0
= 0 ;
14815 char *kwnames
[] = {
14816 (char *) "self", NULL
14819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
14820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14825 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
14826 result
= (wxFont
*) &_result_ref
;
14829 wxPyEndAllowThreads(__tstate
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14833 wxFont
* resultptr
= new wxFont(*result
);
14834 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
14842 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14843 PyObject
*resultobj
;
14844 wxDC
*arg1
= (wxDC
*) 0 ;
14846 PyObject
* obj0
= 0 ;
14847 char *kwnames
[] = {
14848 (char *) "self", NULL
14851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
14852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14857 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
14858 result
= (wxPen
*) &_result_ref
;
14861 wxPyEndAllowThreads(__tstate
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14865 wxPen
* resultptr
= new wxPen(*result
);
14866 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
14874 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14875 PyObject
*resultobj
;
14876 wxDC
*arg1
= (wxDC
*) 0 ;
14878 PyObject
* obj0
= 0 ;
14879 char *kwnames
[] = {
14880 (char *) "self", NULL
14883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
14884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14889 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
14890 result
= (wxColour
*) &_result_ref
;
14893 wxPyEndAllowThreads(__tstate
);
14894 if (PyErr_Occurred()) SWIG_fail
;
14896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14903 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14904 PyObject
*resultobj
;
14905 wxDC
*arg1
= (wxDC
*) 0 ;
14907 PyObject
* obj0
= 0 ;
14908 char *kwnames
[] = {
14909 (char *) "self", NULL
14912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
14913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14918 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
14919 result
= (wxColour
*) &_result_ref
;
14922 wxPyEndAllowThreads(__tstate
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14932 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14933 PyObject
*resultobj
;
14934 wxDC
*arg1
= (wxDC
*) 0 ;
14935 wxColour
*arg2
= 0 ;
14937 PyObject
* obj0
= 0 ;
14938 PyObject
* obj1
= 0 ;
14939 char *kwnames
[] = {
14940 (char *) "self",(char *) "colour", NULL
14943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14948 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14952 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
14954 wxPyEndAllowThreads(__tstate
);
14955 if (PyErr_Occurred()) SWIG_fail
;
14957 Py_INCREF(Py_None
); resultobj
= Py_None
;
14964 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14965 PyObject
*resultobj
;
14966 wxDC
*arg1
= (wxDC
*) 0 ;
14967 wxColour
*arg2
= 0 ;
14969 PyObject
* obj0
= 0 ;
14970 PyObject
* obj1
= 0 ;
14971 char *kwnames
[] = {
14972 (char *) "self",(char *) "colour", NULL
14975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14980 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14984 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
14986 wxPyEndAllowThreads(__tstate
);
14987 if (PyErr_Occurred()) SWIG_fail
;
14989 Py_INCREF(Py_None
); resultobj
= Py_None
;
14996 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14997 PyObject
*resultobj
;
14998 wxDC
*arg1
= (wxDC
*) 0 ;
15000 PyObject
* obj0
= 0 ;
15001 char *kwnames
[] = {
15002 (char *) "self", NULL
15005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
15006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15010 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
15012 wxPyEndAllowThreads(__tstate
);
15013 if (PyErr_Occurred()) SWIG_fail
;
15015 resultobj
= SWIG_From_int((int)result
);
15022 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15023 PyObject
*resultobj
;
15024 wxDC
*arg1
= (wxDC
*) 0 ;
15026 PyObject
* obj0
= 0 ;
15027 PyObject
* obj1
= 0 ;
15028 char *kwnames
[] = {
15029 (char *) "self",(char *) "mode", NULL
15032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
15033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15035 arg2
= (int)SWIG_As_int(obj1
);
15036 if (PyErr_Occurred()) SWIG_fail
;
15038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15039 (arg1
)->SetMapMode(arg2
);
15041 wxPyEndAllowThreads(__tstate
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15044 Py_INCREF(Py_None
); resultobj
= Py_None
;
15051 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15052 PyObject
*resultobj
;
15053 wxDC
*arg1
= (wxDC
*) 0 ;
15054 double *arg2
= (double *) 0 ;
15055 double *arg3
= (double *) 0 ;
15060 PyObject
* obj0
= 0 ;
15061 char *kwnames
[] = {
15062 (char *) "self", NULL
15065 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15066 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
15068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15072 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
15074 wxPyEndAllowThreads(__tstate
);
15075 if (PyErr_Occurred()) SWIG_fail
;
15077 Py_INCREF(Py_None
); resultobj
= Py_None
;
15078 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15079 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
15080 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15081 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
15088 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15089 PyObject
*resultobj
;
15090 wxDC
*arg1
= (wxDC
*) 0 ;
15093 PyObject
* obj0
= 0 ;
15094 PyObject
* obj1
= 0 ;
15095 PyObject
* obj2
= 0 ;
15096 char *kwnames
[] = {
15097 (char *) "self",(char *) "x",(char *) "y", NULL
15100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15103 arg2
= (double)SWIG_As_double(obj1
);
15104 if (PyErr_Occurred()) SWIG_fail
;
15105 arg3
= (double)SWIG_As_double(obj2
);
15106 if (PyErr_Occurred()) SWIG_fail
;
15108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15109 (arg1
)->SetUserScale(arg2
,arg3
);
15111 wxPyEndAllowThreads(__tstate
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15114 Py_INCREF(Py_None
); resultobj
= Py_None
;
15121 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15122 PyObject
*resultobj
;
15123 wxDC
*arg1
= (wxDC
*) 0 ;
15124 double *arg2
= (double *) 0 ;
15125 double *arg3
= (double *) 0 ;
15130 PyObject
* obj0
= 0 ;
15131 char *kwnames
[] = {
15132 (char *) "self", NULL
15135 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15136 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
15138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15142 (arg1
)->GetLogicalScale(arg2
,arg3
);
15144 wxPyEndAllowThreads(__tstate
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15147 Py_INCREF(Py_None
); resultobj
= Py_None
;
15148 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15149 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
15150 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15151 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
15158 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15159 PyObject
*resultobj
;
15160 wxDC
*arg1
= (wxDC
*) 0 ;
15163 PyObject
* obj0
= 0 ;
15164 PyObject
* obj1
= 0 ;
15165 PyObject
* obj2
= 0 ;
15166 char *kwnames
[] = {
15167 (char *) "self",(char *) "x",(char *) "y", NULL
15170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15173 arg2
= (double)SWIG_As_double(obj1
);
15174 if (PyErr_Occurred()) SWIG_fail
;
15175 arg3
= (double)SWIG_As_double(obj2
);
15176 if (PyErr_Occurred()) SWIG_fail
;
15178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15179 (arg1
)->SetLogicalScale(arg2
,arg3
);
15181 wxPyEndAllowThreads(__tstate
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15184 Py_INCREF(Py_None
); resultobj
= Py_None
;
15191 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15192 PyObject
*resultobj
;
15193 wxDC
*arg1
= (wxDC
*) 0 ;
15195 PyObject
* obj0
= 0 ;
15196 char *kwnames
[] = {
15197 (char *) "self", NULL
15200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
15201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15205 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
15207 wxPyEndAllowThreads(__tstate
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15211 wxPoint
* resultptr
;
15212 resultptr
= new wxPoint((wxPoint
&) result
);
15213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15221 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15222 PyObject
*resultobj
;
15223 wxDC
*arg1
= (wxDC
*) 0 ;
15224 int *arg2
= (int *) 0 ;
15225 int *arg3
= (int *) 0 ;
15230 PyObject
* obj0
= 0 ;
15231 char *kwnames
[] = {
15232 (char *) "self", NULL
15235 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15236 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
15238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15242 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
15244 wxPyEndAllowThreads(__tstate
);
15245 if (PyErr_Occurred()) SWIG_fail
;
15247 Py_INCREF(Py_None
); resultobj
= Py_None
;
15248 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15249 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15250 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15251 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15258 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15259 PyObject
*resultobj
;
15260 wxDC
*arg1
= (wxDC
*) 0 ;
15263 PyObject
* obj0
= 0 ;
15264 PyObject
* obj1
= 0 ;
15265 PyObject
* obj2
= 0 ;
15266 char *kwnames
[] = {
15267 (char *) "self",(char *) "x",(char *) "y", NULL
15270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15273 arg2
= (int)SWIG_As_int(obj1
);
15274 if (PyErr_Occurred()) SWIG_fail
;
15275 arg3
= (int)SWIG_As_int(obj2
);
15276 if (PyErr_Occurred()) SWIG_fail
;
15278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15279 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
15281 wxPyEndAllowThreads(__tstate
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15284 Py_INCREF(Py_None
); resultobj
= Py_None
;
15291 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15292 PyObject
*resultobj
;
15293 wxDC
*arg1
= (wxDC
*) 0 ;
15294 wxPoint
*arg2
= 0 ;
15296 PyObject
* obj0
= 0 ;
15297 PyObject
* obj1
= 0 ;
15298 char *kwnames
[] = {
15299 (char *) "self",(char *) "point", NULL
15302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
15303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15307 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15311 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
15313 wxPyEndAllowThreads(__tstate
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15316 Py_INCREF(Py_None
); resultobj
= Py_None
;
15323 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15324 PyObject
*resultobj
;
15325 wxDC
*arg1
= (wxDC
*) 0 ;
15327 PyObject
* obj0
= 0 ;
15328 char *kwnames
[] = {
15329 (char *) "self", NULL
15332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
15333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15337 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
15339 wxPyEndAllowThreads(__tstate
);
15340 if (PyErr_Occurred()) SWIG_fail
;
15343 wxPoint
* resultptr
;
15344 resultptr
= new wxPoint((wxPoint
&) result
);
15345 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15353 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15354 PyObject
*resultobj
;
15355 wxDC
*arg1
= (wxDC
*) 0 ;
15356 int *arg2
= (int *) 0 ;
15357 int *arg3
= (int *) 0 ;
15362 PyObject
* obj0
= 0 ;
15363 char *kwnames
[] = {
15364 (char *) "self", NULL
15367 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15368 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
15370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15379 Py_INCREF(Py_None
); resultobj
= Py_None
;
15380 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15381 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15382 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15383 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15390 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15391 PyObject
*resultobj
;
15392 wxDC
*arg1
= (wxDC
*) 0 ;
15395 PyObject
* obj0
= 0 ;
15396 PyObject
* obj1
= 0 ;
15397 PyObject
* obj2
= 0 ;
15398 char *kwnames
[] = {
15399 (char *) "self",(char *) "x",(char *) "y", NULL
15402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15405 arg2
= (int)SWIG_As_int(obj1
);
15406 if (PyErr_Occurred()) SWIG_fail
;
15407 arg3
= (int)SWIG_As_int(obj2
);
15408 if (PyErr_Occurred()) SWIG_fail
;
15410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15411 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
15413 wxPyEndAllowThreads(__tstate
);
15414 if (PyErr_Occurred()) SWIG_fail
;
15416 Py_INCREF(Py_None
); resultobj
= Py_None
;
15423 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15424 PyObject
*resultobj
;
15425 wxDC
*arg1
= (wxDC
*) 0 ;
15426 wxPoint
*arg2
= 0 ;
15428 PyObject
* obj0
= 0 ;
15429 PyObject
* obj1
= 0 ;
15430 char *kwnames
[] = {
15431 (char *) "self",(char *) "point", NULL
15434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
15435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15439 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15443 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
15445 wxPyEndAllowThreads(__tstate
);
15446 if (PyErr_Occurred()) SWIG_fail
;
15448 Py_INCREF(Py_None
); resultobj
= Py_None
;
15455 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15456 PyObject
*resultobj
;
15457 wxDC
*arg1
= (wxDC
*) 0 ;
15460 PyObject
* obj0
= 0 ;
15461 PyObject
* obj1
= 0 ;
15462 PyObject
* obj2
= 0 ;
15463 char *kwnames
[] = {
15464 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
15467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15470 arg2
= (bool)SWIG_As_bool(obj1
);
15471 if (PyErr_Occurred()) SWIG_fail
;
15472 arg3
= (bool)SWIG_As_bool(obj2
);
15473 if (PyErr_Occurred()) SWIG_fail
;
15475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15476 (arg1
)->SetAxisOrientation(arg2
,arg3
);
15478 wxPyEndAllowThreads(__tstate
);
15479 if (PyErr_Occurred()) SWIG_fail
;
15481 Py_INCREF(Py_None
); resultobj
= Py_None
;
15488 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15489 PyObject
*resultobj
;
15490 wxDC
*arg1
= (wxDC
*) 0 ;
15492 PyObject
* obj0
= 0 ;
15493 char *kwnames
[] = {
15494 (char *) "self", NULL
15497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
15498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15502 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
15504 wxPyEndAllowThreads(__tstate
);
15505 if (PyErr_Occurred()) SWIG_fail
;
15507 resultobj
= SWIG_From_int((int)result
);
15514 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
;
15516 wxDC
*arg1
= (wxDC
*) 0 ;
15518 PyObject
* obj0
= 0 ;
15519 PyObject
* obj1
= 0 ;
15520 char *kwnames
[] = {
15521 (char *) "self",(char *) "function", NULL
15524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
15525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15527 arg2
= (int)SWIG_As_int(obj1
);
15528 if (PyErr_Occurred()) SWIG_fail
;
15530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15531 (arg1
)->SetLogicalFunction(arg2
);
15533 wxPyEndAllowThreads(__tstate
);
15534 if (PyErr_Occurred()) SWIG_fail
;
15536 Py_INCREF(Py_None
); resultobj
= Py_None
;
15543 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15544 PyObject
*resultobj
;
15545 wxDC
*arg1
= (wxDC
*) 0 ;
15548 PyObject
* obj0
= 0 ;
15549 PyObject
* obj1
= 0 ;
15550 PyObject
* obj2
= 0 ;
15551 char *kwnames
[] = {
15552 (char *) "self",(char *) "x",(char *) "y", NULL
15555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15558 arg2
= (int)SWIG_As_int(obj1
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15560 arg3
= (int)SWIG_As_int(obj2
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15564 (arg1
)->CalcBoundingBox(arg2
,arg3
);
15566 wxPyEndAllowThreads(__tstate
);
15567 if (PyErr_Occurred()) SWIG_fail
;
15569 Py_INCREF(Py_None
); resultobj
= Py_None
;
15576 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15577 PyObject
*resultobj
;
15578 wxDC
*arg1
= (wxDC
*) 0 ;
15579 wxPoint
*arg2
= 0 ;
15581 PyObject
* obj0
= 0 ;
15582 PyObject
* obj1
= 0 ;
15583 char *kwnames
[] = {
15584 (char *) "self",(char *) "point", NULL
15587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
15588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15592 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15596 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
15598 wxPyEndAllowThreads(__tstate
);
15599 if (PyErr_Occurred()) SWIG_fail
;
15601 Py_INCREF(Py_None
); resultobj
= Py_None
;
15608 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15609 PyObject
*resultobj
;
15610 wxDC
*arg1
= (wxDC
*) 0 ;
15611 PyObject
* obj0
= 0 ;
15612 char *kwnames
[] = {
15613 (char *) "self", NULL
15616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
15617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15621 (arg1
)->ResetBoundingBox();
15623 wxPyEndAllowThreads(__tstate
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15626 Py_INCREF(Py_None
); resultobj
= Py_None
;
15633 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15634 PyObject
*resultobj
;
15635 wxDC
*arg1
= (wxDC
*) 0 ;
15637 PyObject
* obj0
= 0 ;
15638 char *kwnames
[] = {
15639 (char *) "self", NULL
15642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
15643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15647 result
= (int)((wxDC
const *)arg1
)->MinX();
15649 wxPyEndAllowThreads(__tstate
);
15650 if (PyErr_Occurred()) SWIG_fail
;
15652 resultobj
= SWIG_From_int((int)result
);
15659 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15660 PyObject
*resultobj
;
15661 wxDC
*arg1
= (wxDC
*) 0 ;
15663 PyObject
* obj0
= 0 ;
15664 char *kwnames
[] = {
15665 (char *) "self", NULL
15668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
15669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15673 result
= (int)((wxDC
const *)arg1
)->MaxX();
15675 wxPyEndAllowThreads(__tstate
);
15676 if (PyErr_Occurred()) SWIG_fail
;
15678 resultobj
= SWIG_From_int((int)result
);
15685 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15686 PyObject
*resultobj
;
15687 wxDC
*arg1
= (wxDC
*) 0 ;
15689 PyObject
* obj0
= 0 ;
15690 char *kwnames
[] = {
15691 (char *) "self", NULL
15694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
15695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15699 result
= (int)((wxDC
const *)arg1
)->MinY();
15701 wxPyEndAllowThreads(__tstate
);
15702 if (PyErr_Occurred()) SWIG_fail
;
15704 resultobj
= SWIG_From_int((int)result
);
15711 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15712 PyObject
*resultobj
;
15713 wxDC
*arg1
= (wxDC
*) 0 ;
15715 PyObject
* obj0
= 0 ;
15716 char *kwnames
[] = {
15717 (char *) "self", NULL
15720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
15721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15725 result
= (int)((wxDC
const *)arg1
)->MaxY();
15727 wxPyEndAllowThreads(__tstate
);
15728 if (PyErr_Occurred()) SWIG_fail
;
15730 resultobj
= SWIG_From_int((int)result
);
15737 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15738 PyObject
*resultobj
;
15739 wxDC
*arg1
= (wxDC
*) 0 ;
15740 int *arg2
= (int *) 0 ;
15741 int *arg3
= (int *) 0 ;
15742 int *arg4
= (int *) 0 ;
15743 int *arg5
= (int *) 0 ;
15752 PyObject
* obj0
= 0 ;
15753 char *kwnames
[] = {
15754 (char *) "self", NULL
15757 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15758 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15759 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15760 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
15762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15766 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
15768 wxPyEndAllowThreads(__tstate
);
15769 if (PyErr_Occurred()) SWIG_fail
;
15771 Py_INCREF(Py_None
); resultobj
= Py_None
;
15772 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15773 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15774 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15775 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15776 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15777 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15778 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15779 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15786 static PyObject
*_wrap_DC_GetHDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15787 PyObject
*resultobj
;
15788 wxDC
*arg1
= (wxDC
*) 0 ;
15790 PyObject
* obj0
= 0 ;
15791 char *kwnames
[] = {
15792 (char *) "self", NULL
15795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetHDC",kwnames
,&obj0
)) goto fail
;
15796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15800 result
= (long)(arg1
)->GetHDC();
15802 wxPyEndAllowThreads(__tstate
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15805 resultobj
= SWIG_From_long((long)result
);
15812 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15813 PyObject
*resultobj
;
15814 wxDC
*arg1
= (wxDC
*) 0 ;
15815 PyObject
*arg2
= (PyObject
*) 0 ;
15816 PyObject
*arg3
= (PyObject
*) 0 ;
15817 PyObject
*arg4
= (PyObject
*) 0 ;
15819 PyObject
* obj0
= 0 ;
15820 PyObject
* obj1
= 0 ;
15821 PyObject
* obj2
= 0 ;
15822 PyObject
* obj3
= 0 ;
15823 char *kwnames
[] = {
15824 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15835 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
15837 wxPyEndAllowThreads(__tstate
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15840 resultobj
= result
;
15847 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15848 PyObject
*resultobj
;
15849 wxDC
*arg1
= (wxDC
*) 0 ;
15850 PyObject
*arg2
= (PyObject
*) 0 ;
15851 PyObject
*arg3
= (PyObject
*) 0 ;
15852 PyObject
*arg4
= (PyObject
*) 0 ;
15854 PyObject
* obj0
= 0 ;
15855 PyObject
* obj1
= 0 ;
15856 PyObject
* obj2
= 0 ;
15857 PyObject
* obj3
= 0 ;
15858 char *kwnames
[] = {
15859 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15870 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
15872 wxPyEndAllowThreads(__tstate
);
15873 if (PyErr_Occurred()) SWIG_fail
;
15875 resultobj
= result
;
15882 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15883 PyObject
*resultobj
;
15884 wxDC
*arg1
= (wxDC
*) 0 ;
15885 PyObject
*arg2
= (PyObject
*) 0 ;
15886 PyObject
*arg3
= (PyObject
*) 0 ;
15887 PyObject
*arg4
= (PyObject
*) 0 ;
15889 PyObject
* obj0
= 0 ;
15890 PyObject
* obj1
= 0 ;
15891 PyObject
* obj2
= 0 ;
15892 PyObject
* obj3
= 0 ;
15893 char *kwnames
[] = {
15894 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15905 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
15907 wxPyEndAllowThreads(__tstate
);
15908 if (PyErr_Occurred()) SWIG_fail
;
15910 resultobj
= result
;
15917 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15918 PyObject
*resultobj
;
15919 wxDC
*arg1
= (wxDC
*) 0 ;
15920 PyObject
*arg2
= (PyObject
*) 0 ;
15921 PyObject
*arg3
= (PyObject
*) 0 ;
15922 PyObject
*arg4
= (PyObject
*) 0 ;
15924 PyObject
* obj0
= 0 ;
15925 PyObject
* obj1
= 0 ;
15926 PyObject
* obj2
= 0 ;
15927 PyObject
* obj3
= 0 ;
15928 char *kwnames
[] = {
15929 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15940 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
15942 wxPyEndAllowThreads(__tstate
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15945 resultobj
= result
;
15952 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15953 PyObject
*resultobj
;
15954 wxDC
*arg1
= (wxDC
*) 0 ;
15955 PyObject
*arg2
= (PyObject
*) 0 ;
15956 PyObject
*arg3
= (PyObject
*) 0 ;
15957 PyObject
*arg4
= (PyObject
*) 0 ;
15959 PyObject
* obj0
= 0 ;
15960 PyObject
* obj1
= 0 ;
15961 PyObject
* obj2
= 0 ;
15962 PyObject
* obj3
= 0 ;
15963 char *kwnames
[] = {
15964 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15975 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15977 wxPyEndAllowThreads(__tstate
);
15978 if (PyErr_Occurred()) SWIG_fail
;
15980 resultobj
= result
;
15987 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15988 PyObject
*resultobj
;
15989 wxDC
*arg1
= (wxDC
*) 0 ;
15990 PyObject
*arg2
= (PyObject
*) 0 ;
15991 PyObject
*arg3
= (PyObject
*) 0 ;
15992 PyObject
*arg4
= (PyObject
*) 0 ;
15993 PyObject
*arg5
= (PyObject
*) 0 ;
15995 PyObject
* obj0
= 0 ;
15996 PyObject
* obj1
= 0 ;
15997 PyObject
* obj2
= 0 ;
15998 PyObject
* obj3
= 0 ;
15999 PyObject
* obj4
= 0 ;
16000 char *kwnames
[] = {
16001 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
16004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
16006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16013 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
16015 wxPyEndAllowThreads(__tstate
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16018 resultobj
= result
;
16025 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
16027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16028 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
16030 return Py_BuildValue((char *)"");
16032 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16033 PyObject
*resultobj
;
16034 wxMemoryDC
*result
;
16035 char *kwnames
[] = {
16039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
16041 if (!wxPyCheckForApp()) SWIG_fail
;
16042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16043 result
= (wxMemoryDC
*)new wxMemoryDC();
16045 wxPyEndAllowThreads(__tstate
);
16046 if (PyErr_Occurred()) SWIG_fail
;
16048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
16055 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16056 PyObject
*resultobj
;
16057 wxDC
*arg1
= (wxDC
*) 0 ;
16058 wxMemoryDC
*result
;
16059 PyObject
* obj0
= 0 ;
16060 char *kwnames
[] = {
16061 (char *) "oldDC", NULL
16064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
16065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
16066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16068 if (!wxPyCheckForApp()) SWIG_fail
;
16069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16070 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
16072 wxPyEndAllowThreads(__tstate
);
16073 if (PyErr_Occurred()) SWIG_fail
;
16075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
16082 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16083 PyObject
*resultobj
;
16084 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
16085 wxBitmap
*arg2
= 0 ;
16086 PyObject
* obj0
= 0 ;
16087 PyObject
* obj1
= 0 ;
16088 char *kwnames
[] = {
16089 (char *) "self",(char *) "bitmap", NULL
16092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
16093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
16094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16096 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16098 if (arg2
== NULL
) {
16099 PyErr_SetString(PyExc_TypeError
,"null reference");
16103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16104 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
16106 wxPyEndAllowThreads(__tstate
);
16107 if (PyErr_Occurred()) SWIG_fail
;
16109 Py_INCREF(Py_None
); resultobj
= Py_None
;
16116 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
16118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16119 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
16121 return Py_BuildValue((char *)"");
16123 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
16124 PyObject
*resultobj
;
16125 wxDC
*arg1
= (wxDC
*) 0 ;
16126 wxBitmap
*arg2
= 0 ;
16127 wxBufferedDC
*result
;
16128 PyObject
* obj0
= 0 ;
16129 PyObject
* obj1
= 0 ;
16131 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
16132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
16133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16135 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16137 if (arg2
== NULL
) {
16138 PyErr_SetString(PyExc_TypeError
,"null reference");
16142 if (!wxPyCheckForApp()) SWIG_fail
;
16143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16144 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
16146 wxPyEndAllowThreads(__tstate
);
16147 if (PyErr_Occurred()) SWIG_fail
;
16149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
16156 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
16157 PyObject
*resultobj
;
16158 wxDC
*arg1
= (wxDC
*) 0 ;
16160 wxBufferedDC
*result
;
16162 PyObject
* obj0
= 0 ;
16163 PyObject
* obj1
= 0 ;
16165 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
16166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
16167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16170 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16173 if (!wxPyCheckForApp()) SWIG_fail
;
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
16177 wxPyEndAllowThreads(__tstate
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
16187 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
16192 argc
= PyObject_Length(args
);
16193 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
16194 argv
[ii
] = PyTuple_GetItem(args
,ii
);
16200 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
16210 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
16218 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
16226 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
16235 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
16238 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
16243 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
16248 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16249 PyObject
*resultobj
;
16250 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
16251 PyObject
* obj0
= 0 ;
16252 char *kwnames
[] = {
16253 (char *) "self", NULL
16256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
16257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
16258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16263 wxPyEndAllowThreads(__tstate
);
16264 if (PyErr_Occurred()) SWIG_fail
;
16266 Py_INCREF(Py_None
); resultobj
= Py_None
;
16273 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16274 PyObject
*resultobj
;
16275 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
16276 PyObject
* obj0
= 0 ;
16277 char *kwnames
[] = {
16278 (char *) "self", NULL
16281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
16282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
16283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16288 wxPyEndAllowThreads(__tstate
);
16289 if (PyErr_Occurred()) SWIG_fail
;
16291 Py_INCREF(Py_None
); resultobj
= Py_None
;
16298 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
16300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16301 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
16303 return Py_BuildValue((char *)"");
16305 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16306 PyObject
*resultobj
;
16307 wxWindow
*arg1
= (wxWindow
*) 0 ;
16308 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
16309 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
16310 wxBufferedPaintDC
*result
;
16311 PyObject
* obj0
= 0 ;
16312 PyObject
* obj1
= 0 ;
16313 char *kwnames
[] = {
16314 (char *) "window",(char *) "buffer", NULL
16317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
16318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16322 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16324 if (arg2
== NULL
) {
16325 PyErr_SetString(PyExc_TypeError
,"null reference");
16330 if (!wxPyCheckForApp()) SWIG_fail
;
16331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16332 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
16334 wxPyEndAllowThreads(__tstate
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
16344 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
16346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16347 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
16349 return Py_BuildValue((char *)"");
16351 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16352 PyObject
*resultobj
;
16353 wxScreenDC
*result
;
16354 char *kwnames
[] = {
16358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
16360 if (!wxPyCheckForApp()) SWIG_fail
;
16361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16362 result
= (wxScreenDC
*)new wxScreenDC();
16364 wxPyEndAllowThreads(__tstate
);
16365 if (PyErr_Occurred()) SWIG_fail
;
16367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
16374 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16375 PyObject
*resultobj
;
16376 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
16377 wxWindow
*arg2
= (wxWindow
*) 0 ;
16379 PyObject
* obj0
= 0 ;
16380 PyObject
* obj1
= 0 ;
16381 char *kwnames
[] = {
16382 (char *) "self",(char *) "window", NULL
16385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
16386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
16387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16388 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16392 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
16394 wxPyEndAllowThreads(__tstate
);
16395 if (PyErr_Occurred()) SWIG_fail
;
16398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16406 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16407 PyObject
*resultobj
;
16408 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
16409 wxRect
*arg2
= (wxRect
*) NULL
;
16411 PyObject
* obj0
= 0 ;
16412 PyObject
* obj1
= 0 ;
16413 char *kwnames
[] = {
16414 (char *) "self",(char *) "rect", NULL
16417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
16418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
16419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16426 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
16428 wxPyEndAllowThreads(__tstate
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16440 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16441 PyObject
*resultobj
;
16442 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
16444 PyObject
* obj0
= 0 ;
16445 char *kwnames
[] = {
16446 (char *) "self", NULL
16449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
16450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
16451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16454 result
= (bool)(arg1
)->EndDrawingOnTop();
16456 wxPyEndAllowThreads(__tstate
);
16457 if (PyErr_Occurred()) SWIG_fail
;
16460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16468 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
16470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16471 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
16473 return Py_BuildValue((char *)"");
16475 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16476 PyObject
*resultobj
;
16477 wxWindow
*arg1
= (wxWindow
*) 0 ;
16478 wxClientDC
*result
;
16479 PyObject
* obj0
= 0 ;
16480 char *kwnames
[] = {
16481 (char *) "win", NULL
16484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
16485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16488 if (!wxPyCheckForApp()) SWIG_fail
;
16489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16490 result
= (wxClientDC
*)new wxClientDC(arg1
);
16492 wxPyEndAllowThreads(__tstate
);
16493 if (PyErr_Occurred()) SWIG_fail
;
16495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
16502 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
16504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16505 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
16507 return Py_BuildValue((char *)"");
16509 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16510 PyObject
*resultobj
;
16511 wxWindow
*arg1
= (wxWindow
*) 0 ;
16513 PyObject
* obj0
= 0 ;
16514 char *kwnames
[] = {
16515 (char *) "win", NULL
16518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
16519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16522 if (!wxPyCheckForApp()) SWIG_fail
;
16523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16524 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
16526 wxPyEndAllowThreads(__tstate
);
16527 if (PyErr_Occurred()) SWIG_fail
;
16529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
16536 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
16538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16539 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
16541 return Py_BuildValue((char *)"");
16543 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16544 PyObject
*resultobj
;
16545 wxWindow
*arg1
= (wxWindow
*) 0 ;
16546 wxWindowDC
*result
;
16547 PyObject
* obj0
= 0 ;
16548 char *kwnames
[] = {
16549 (char *) "win", NULL
16552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
16553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16556 if (!wxPyCheckForApp()) SWIG_fail
;
16557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16558 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
16560 wxPyEndAllowThreads(__tstate
);
16561 if (PyErr_Occurred()) SWIG_fail
;
16563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
16570 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
16572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16573 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
16575 return Py_BuildValue((char *)"");
16577 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16578 PyObject
*resultobj
;
16581 wxMirrorDC
*result
;
16582 PyObject
* obj0
= 0 ;
16583 PyObject
* obj1
= 0 ;
16584 char *kwnames
[] = {
16585 (char *) "dc",(char *) "mirror", NULL
16588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
16589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
16590 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16592 if (arg1
== NULL
) {
16593 PyErr_SetString(PyExc_TypeError
,"null reference");
16596 arg2
= (bool)SWIG_As_bool(obj1
);
16597 if (PyErr_Occurred()) SWIG_fail
;
16599 if (!wxPyCheckForApp()) SWIG_fail
;
16600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16601 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
16603 wxPyEndAllowThreads(__tstate
);
16604 if (PyErr_Occurred()) SWIG_fail
;
16606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
16613 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
16615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16616 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
16618 return Py_BuildValue((char *)"");
16620 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16621 PyObject
*resultobj
;
16622 wxPrintData
*arg1
= 0 ;
16623 wxPostScriptDC
*result
;
16624 PyObject
* obj0
= 0 ;
16625 char *kwnames
[] = {
16626 (char *) "printData", NULL
16629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
16630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16631 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16633 if (arg1
== NULL
) {
16634 PyErr_SetString(PyExc_TypeError
,"null reference");
16638 if (!wxPyCheckForApp()) SWIG_fail
;
16639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16640 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
16642 wxPyEndAllowThreads(__tstate
);
16643 if (PyErr_Occurred()) SWIG_fail
;
16645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
16652 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16653 PyObject
*resultobj
;
16654 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16655 wxPrintData
*result
;
16656 PyObject
* obj0
= 0 ;
16657 char *kwnames
[] = {
16658 (char *) "self", NULL
16661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
16662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16667 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
16668 result
= (wxPrintData
*) &_result_ref
;
16671 wxPyEndAllowThreads(__tstate
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
16681 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16682 PyObject
*resultobj
;
16683 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16684 wxPrintData
*arg2
= 0 ;
16685 PyObject
* obj0
= 0 ;
16686 PyObject
* obj1
= 0 ;
16687 char *kwnames
[] = {
16688 (char *) "self",(char *) "data", NULL
16691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
16692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16694 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
16695 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16697 if (arg2
== NULL
) {
16698 PyErr_SetString(PyExc_TypeError
,"null reference");
16702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16703 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
16705 wxPyEndAllowThreads(__tstate
);
16706 if (PyErr_Occurred()) SWIG_fail
;
16708 Py_INCREF(Py_None
); resultobj
= Py_None
;
16715 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16716 PyObject
*resultobj
;
16718 PyObject
* obj0
= 0 ;
16719 char *kwnames
[] = {
16720 (char *) "ppi", NULL
16723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
16724 arg1
= (int)SWIG_As_int(obj0
);
16725 if (PyErr_Occurred()) SWIG_fail
;
16727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 wxPostScriptDC::SetResolution(arg1
);
16730 wxPyEndAllowThreads(__tstate
);
16731 if (PyErr_Occurred()) SWIG_fail
;
16733 Py_INCREF(Py_None
); resultobj
= Py_None
;
16740 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16741 PyObject
*resultobj
;
16743 char *kwnames
[] = {
16747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
16749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16750 result
= (int)wxPostScriptDC::GetResolution();
16752 wxPyEndAllowThreads(__tstate
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16755 resultobj
= SWIG_From_int((int)result
);
16762 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
16764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16765 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
16767 return Py_BuildValue((char *)"");
16769 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16770 PyObject
*resultobj
;
16771 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16772 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16773 wxMetaFile
*result
;
16774 bool temp1
= false ;
16775 PyObject
* obj0
= 0 ;
16776 char *kwnames
[] = {
16777 (char *) "filename", NULL
16780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
16783 arg1
= wxString_in_helper(obj0
);
16784 if (arg1
== NULL
) SWIG_fail
;
16789 if (!wxPyCheckForApp()) SWIG_fail
;
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16791 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
16811 static PyObject
*_wrap_delete_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16812 PyObject
*resultobj
;
16813 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16814 PyObject
* obj0
= 0 ;
16815 char *kwnames
[] = {
16816 (char *) "self", NULL
16819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
16820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16826 wxPyEndAllowThreads(__tstate
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16829 Py_INCREF(Py_None
); resultobj
= Py_None
;
16836 static PyObject
*_wrap_MetaFile_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16837 PyObject
*resultobj
;
16838 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16840 PyObject
* obj0
= 0 ;
16841 char *kwnames
[] = {
16842 (char *) "self", NULL
16845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
16846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 result
= (bool)(arg1
)->Ok();
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16864 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16865 PyObject
*resultobj
;
16866 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16867 int arg2
= (int) 0 ;
16868 int arg3
= (int) 0 ;
16870 PyObject
* obj0
= 0 ;
16871 PyObject
* obj1
= 0 ;
16872 PyObject
* obj2
= 0 ;
16873 char *kwnames
[] = {
16874 (char *) "self",(char *) "width",(char *) "height", NULL
16877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16881 arg2
= (int)SWIG_As_int(obj1
);
16882 if (PyErr_Occurred()) SWIG_fail
;
16885 arg3
= (int)SWIG_As_int(obj2
);
16886 if (PyErr_Occurred()) SWIG_fail
;
16889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16890 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
16892 wxPyEndAllowThreads(__tstate
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16904 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16905 PyObject
*resultobj
;
16906 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16908 PyObject
* obj0
= 0 ;
16909 char *kwnames
[] = {
16910 (char *) "self", NULL
16913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
16914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16918 result
= (arg1
)->GetSize();
16920 wxPyEndAllowThreads(__tstate
);
16921 if (PyErr_Occurred()) SWIG_fail
;
16924 wxSize
* resultptr
;
16925 resultptr
= new wxSize((wxSize
&) result
);
16926 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16934 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16935 PyObject
*resultobj
;
16936 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16938 PyObject
* obj0
= 0 ;
16939 char *kwnames
[] = {
16940 (char *) "self", NULL
16943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
16944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16948 result
= (int)(arg1
)->GetWidth();
16950 wxPyEndAllowThreads(__tstate
);
16951 if (PyErr_Occurred()) SWIG_fail
;
16953 resultobj
= SWIG_From_int((int)result
);
16960 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16961 PyObject
*resultobj
;
16962 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16964 PyObject
* obj0
= 0 ;
16965 char *kwnames
[] = {
16966 (char *) "self", NULL
16969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
16970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16974 result
= (int)(arg1
)->GetHeight();
16976 wxPyEndAllowThreads(__tstate
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16979 resultobj
= SWIG_From_int((int)result
);
16986 static PyObject
*_wrap_MetaFile_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16987 PyObject
*resultobj
;
16988 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16990 PyObject
* obj0
= 0 ;
16991 char *kwnames
[] = {
16992 (char *) "self", NULL
16995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetFileName",kwnames
,&obj0
)) goto fail
;
16996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17001 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
17002 result
= (wxString
*) &_result_ref
;
17005 wxPyEndAllowThreads(__tstate
);
17006 if (PyErr_Occurred()) SWIG_fail
;
17010 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17012 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17021 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
17023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17024 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
17026 return Py_BuildValue((char *)"");
17028 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17029 PyObject
*resultobj
;
17030 wxString
const &arg1_defvalue
= wxPyEmptyString
;
17031 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
17032 int arg2
= (int) 0 ;
17033 int arg3
= (int) 0 ;
17034 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17035 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17036 wxMetaFileDC
*result
;
17037 bool temp1
= false ;
17038 bool temp4
= false ;
17039 PyObject
* obj0
= 0 ;
17040 PyObject
* obj1
= 0 ;
17041 PyObject
* obj2
= 0 ;
17042 PyObject
* obj3
= 0 ;
17043 char *kwnames
[] = {
17044 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
17047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17050 arg1
= wxString_in_helper(obj0
);
17051 if (arg1
== NULL
) SWIG_fail
;
17056 arg2
= (int)SWIG_As_int(obj1
);
17057 if (PyErr_Occurred()) SWIG_fail
;
17060 arg3
= (int)SWIG_As_int(obj2
);
17061 if (PyErr_Occurred()) SWIG_fail
;
17065 arg4
= wxString_in_helper(obj3
);
17066 if (arg4
== NULL
) SWIG_fail
;
17071 if (!wxPyCheckForApp()) SWIG_fail
;
17072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17073 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
17075 wxPyEndAllowThreads(__tstate
);
17076 if (PyErr_Occurred()) SWIG_fail
;
17078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
17101 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17102 PyObject
*resultobj
;
17103 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
17104 wxMetaFile
*result
;
17105 PyObject
* obj0
= 0 ;
17106 char *kwnames
[] = {
17107 (char *) "self", NULL
17110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
17111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
,
17112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17115 result
= (wxMetaFile
*)(arg1
)->Close();
17117 wxPyEndAllowThreads(__tstate
);
17118 if (PyErr_Occurred()) SWIG_fail
;
17120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
17127 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
17129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17130 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
17132 return Py_BuildValue((char *)"");
17134 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17135 PyObject
*resultobj
;
17136 wxPrintData
*arg1
= 0 ;
17137 wxPrinterDC
*result
;
17138 PyObject
* obj0
= 0 ;
17139 char *kwnames
[] = {
17140 (char *) "printData", NULL
17143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
17144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17145 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17147 if (arg1
== NULL
) {
17148 PyErr_SetString(PyExc_TypeError
,"null reference");
17152 if (!wxPyCheckForApp()) SWIG_fail
;
17153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17154 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
17156 wxPyEndAllowThreads(__tstate
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
17166 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
17168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17169 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
17171 return Py_BuildValue((char *)"");
17173 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17174 PyObject
*resultobj
;
17177 int arg3
= (int) true ;
17178 int arg4
= (int) 1 ;
17179 wxImageList
*result
;
17180 PyObject
* obj0
= 0 ;
17181 PyObject
* obj1
= 0 ;
17182 PyObject
* obj2
= 0 ;
17183 PyObject
* obj3
= 0 ;
17184 char *kwnames
[] = {
17185 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
17188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17189 arg1
= (int)SWIG_As_int(obj0
);
17190 if (PyErr_Occurred()) SWIG_fail
;
17191 arg2
= (int)SWIG_As_int(obj1
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17194 arg3
= (int)SWIG_As_int(obj2
);
17195 if (PyErr_Occurred()) SWIG_fail
;
17198 arg4
= (int)SWIG_As_int(obj3
);
17199 if (PyErr_Occurred()) SWIG_fail
;
17202 if (!wxPyCheckForApp()) SWIG_fail
;
17203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17204 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
17206 wxPyEndAllowThreads(__tstate
);
17207 if (PyErr_Occurred()) SWIG_fail
;
17210 resultobj
= wxPyMake_wxObject(result
, 1);
17218 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17219 PyObject
*resultobj
;
17220 wxImageList
*arg1
= (wxImageList
*) 0 ;
17221 PyObject
* obj0
= 0 ;
17222 char *kwnames
[] = {
17223 (char *) "self", NULL
17226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
17227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17236 Py_INCREF(Py_None
); resultobj
= Py_None
;
17243 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17244 PyObject
*resultobj
;
17245 wxImageList
*arg1
= (wxImageList
*) 0 ;
17246 wxBitmap
*arg2
= 0 ;
17247 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
17248 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
17250 PyObject
* obj0
= 0 ;
17251 PyObject
* obj1
= 0 ;
17252 PyObject
* obj2
= 0 ;
17253 char *kwnames
[] = {
17254 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
17257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17260 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
17261 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17263 if (arg2
== NULL
) {
17264 PyErr_SetString(PyExc_TypeError
,"null reference");
17268 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
17269 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17271 if (arg3
== NULL
) {
17272 PyErr_SetString(PyExc_TypeError
,"null reference");
17277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17278 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
17280 wxPyEndAllowThreads(__tstate
);
17281 if (PyErr_Occurred()) SWIG_fail
;
17283 resultobj
= SWIG_From_int((int)result
);
17290 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17291 PyObject
*resultobj
;
17292 wxImageList
*arg1
= (wxImageList
*) 0 ;
17293 wxBitmap
*arg2
= 0 ;
17294 wxColour
*arg3
= 0 ;
17297 PyObject
* obj0
= 0 ;
17298 PyObject
* obj1
= 0 ;
17299 PyObject
* obj2
= 0 ;
17300 char *kwnames
[] = {
17301 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
17304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
17308 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17310 if (arg2
== NULL
) {
17311 PyErr_SetString(PyExc_TypeError
,"null reference");
17316 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17320 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
17322 wxPyEndAllowThreads(__tstate
);
17323 if (PyErr_Occurred()) SWIG_fail
;
17325 resultobj
= SWIG_From_int((int)result
);
17332 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17333 PyObject
*resultobj
;
17334 wxImageList
*arg1
= (wxImageList
*) 0 ;
17337 PyObject
* obj0
= 0 ;
17338 PyObject
* obj1
= 0 ;
17339 char *kwnames
[] = {
17340 (char *) "self",(char *) "icon", NULL
17343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
17344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
17347 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17349 if (arg2
== NULL
) {
17350 PyErr_SetString(PyExc_TypeError
,"null reference");
17354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17355 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
17357 wxPyEndAllowThreads(__tstate
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17360 resultobj
= SWIG_From_int((int)result
);
17367 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17368 PyObject
*resultobj
;
17369 wxImageList
*arg1
= (wxImageList
*) 0 ;
17371 wxBitmap
*arg3
= 0 ;
17372 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
17373 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
17375 PyObject
* obj0
= 0 ;
17376 PyObject
* obj1
= 0 ;
17377 PyObject
* obj2
= 0 ;
17378 PyObject
* obj3
= 0 ;
17379 char *kwnames
[] = {
17380 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
17383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17386 arg2
= (int)SWIG_As_int(obj1
);
17387 if (PyErr_Occurred()) SWIG_fail
;
17388 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
17389 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17391 if (arg3
== NULL
) {
17392 PyErr_SetString(PyExc_TypeError
,"null reference");
17396 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
17397 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17399 if (arg4
== NULL
) {
17400 PyErr_SetString(PyExc_TypeError
,"null reference");
17405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17406 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
17408 wxPyEndAllowThreads(__tstate
);
17409 if (PyErr_Occurred()) SWIG_fail
;
17412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17420 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17421 PyObject
*resultobj
;
17422 wxImageList
*arg1
= (wxImageList
*) 0 ;
17427 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
17428 bool arg7
= (bool) (bool)false ;
17430 PyObject
* obj0
= 0 ;
17431 PyObject
* obj1
= 0 ;
17432 PyObject
* obj2
= 0 ;
17433 PyObject
* obj3
= 0 ;
17434 PyObject
* obj4
= 0 ;
17435 PyObject
* obj5
= 0 ;
17436 PyObject
* obj6
= 0 ;
17437 char *kwnames
[] = {
17438 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
17441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17444 arg2
= (int)SWIG_As_int(obj1
);
17445 if (PyErr_Occurred()) SWIG_fail
;
17446 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
17447 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17449 if (arg3
== NULL
) {
17450 PyErr_SetString(PyExc_TypeError
,"null reference");
17453 arg4
= (int)SWIG_As_int(obj3
);
17454 if (PyErr_Occurred()) SWIG_fail
;
17455 arg5
= (int)SWIG_As_int(obj4
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17458 arg6
= (int)SWIG_As_int(obj5
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17462 arg7
= (bool)SWIG_As_bool(obj6
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17467 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17481 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17482 PyObject
*resultobj
;
17483 wxImageList
*arg1
= (wxImageList
*) 0 ;
17485 PyObject
* obj0
= 0 ;
17486 char *kwnames
[] = {
17487 (char *) "self", NULL
17490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
17491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17495 result
= (int)(arg1
)->GetImageCount();
17497 wxPyEndAllowThreads(__tstate
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17500 resultobj
= SWIG_From_int((int)result
);
17507 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17508 PyObject
*resultobj
;
17509 wxImageList
*arg1
= (wxImageList
*) 0 ;
17512 PyObject
* obj0
= 0 ;
17513 PyObject
* obj1
= 0 ;
17514 char *kwnames
[] = {
17515 (char *) "self",(char *) "index", NULL
17518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
17519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17521 arg2
= (int)SWIG_As_int(obj1
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 result
= (bool)(arg1
)->Remove(arg2
);
17527 wxPyEndAllowThreads(__tstate
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17539 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17540 PyObject
*resultobj
;
17541 wxImageList
*arg1
= (wxImageList
*) 0 ;
17543 PyObject
* obj0
= 0 ;
17544 char *kwnames
[] = {
17545 (char *) "self", NULL
17548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
17549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17553 result
= (bool)(arg1
)->RemoveAll();
17555 wxPyEndAllowThreads(__tstate
);
17556 if (PyErr_Occurred()) SWIG_fail
;
17559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17567 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17568 PyObject
*resultobj
;
17569 wxImageList
*arg1
= (wxImageList
*) 0 ;
17577 PyObject
* obj0
= 0 ;
17578 PyObject
* obj1
= 0 ;
17579 char *kwnames
[] = {
17580 (char *) "self",(char *) "index", NULL
17583 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17584 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
17585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17588 arg2
= (int)SWIG_As_int(obj1
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17592 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
17594 wxPyEndAllowThreads(__tstate
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17597 Py_INCREF(Py_None
); resultobj
= Py_None
;
17598 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17599 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17600 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
17601 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
17608 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
17610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17611 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
17613 return Py_BuildValue((char *)"");
17615 static int _wrap_NORMAL_FONT_set(PyObject
*) {
17616 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
17621 static PyObject
*_wrap_NORMAL_FONT_get() {
17624 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
17629 static int _wrap_SMALL_FONT_set(PyObject
*) {
17630 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
17635 static PyObject
*_wrap_SMALL_FONT_get() {
17638 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
17643 static int _wrap_ITALIC_FONT_set(PyObject
*) {
17644 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
17649 static PyObject
*_wrap_ITALIC_FONT_get() {
17652 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
17657 static int _wrap_SWISS_FONT_set(PyObject
*) {
17658 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
17663 static PyObject
*_wrap_SWISS_FONT_get() {
17666 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
17671 static int _wrap_RED_PEN_set(PyObject
*) {
17672 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
17677 static PyObject
*_wrap_RED_PEN_get() {
17680 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
17685 static int _wrap_CYAN_PEN_set(PyObject
*) {
17686 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
17691 static PyObject
*_wrap_CYAN_PEN_get() {
17694 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
17699 static int _wrap_GREEN_PEN_set(PyObject
*) {
17700 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
17705 static PyObject
*_wrap_GREEN_PEN_get() {
17708 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
17713 static int _wrap_BLACK_PEN_set(PyObject
*) {
17714 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
17719 static PyObject
*_wrap_BLACK_PEN_get() {
17722 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
17727 static int _wrap_WHITE_PEN_set(PyObject
*) {
17728 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
17733 static PyObject
*_wrap_WHITE_PEN_get() {
17736 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
17741 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
17742 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
17747 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
17750 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
17755 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
17756 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
17761 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
17764 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
17769 static int _wrap_GREY_PEN_set(PyObject
*) {
17770 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
17775 static PyObject
*_wrap_GREY_PEN_get() {
17778 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17783 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
17784 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
17789 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
17792 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17797 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
17798 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
17803 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
17806 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17811 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
17812 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
17817 static PyObject
*_wrap_BLUE_BRUSH_get() {
17820 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17825 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
17826 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
17831 static PyObject
*_wrap_GREEN_BRUSH_get() {
17834 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17839 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
17840 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
17845 static PyObject
*_wrap_WHITE_BRUSH_get() {
17848 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17853 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
17854 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
17859 static PyObject
*_wrap_BLACK_BRUSH_get() {
17862 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17867 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
17868 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
17873 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
17876 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17881 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
17882 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
17887 static PyObject
*_wrap_CYAN_BRUSH_get() {
17890 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17895 static int _wrap_RED_BRUSH_set(PyObject
*) {
17896 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
17901 static PyObject
*_wrap_RED_BRUSH_get() {
17904 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17909 static int _wrap_GREY_BRUSH_set(PyObject
*) {
17910 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
17915 static PyObject
*_wrap_GREY_BRUSH_get() {
17918 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17923 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
17924 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
17929 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
17932 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17937 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
17938 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
17943 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
17946 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17951 static int _wrap_BLACK_set(PyObject
*) {
17952 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
17957 static PyObject
*_wrap_BLACK_get() {
17960 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
17965 static int _wrap_WHITE_set(PyObject
*) {
17966 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
17971 static PyObject
*_wrap_WHITE_get() {
17974 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
17979 static int _wrap_RED_set(PyObject
*) {
17980 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
17985 static PyObject
*_wrap_RED_get() {
17988 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
17993 static int _wrap_BLUE_set(PyObject
*) {
17994 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
17999 static PyObject
*_wrap_BLUE_get() {
18002 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
18007 static int _wrap_GREEN_set(PyObject
*) {
18008 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
18013 static PyObject
*_wrap_GREEN_get() {
18016 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
18021 static int _wrap_CYAN_set(PyObject
*) {
18022 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
18027 static PyObject
*_wrap_CYAN_get() {
18030 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
18035 static int _wrap_LIGHT_GREY_set(PyObject
*) {
18036 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
18041 static PyObject
*_wrap_LIGHT_GREY_get() {
18044 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
18049 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
18050 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
18055 static PyObject
*_wrap_STANDARD_CURSOR_get() {
18058 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
18063 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
18064 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
18069 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
18072 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
18077 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
18078 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
18083 static PyObject
*_wrap_CROSS_CURSOR_get() {
18086 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
18091 static int _wrap_NullBitmap_set(PyObject
*) {
18092 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
18097 static PyObject
*_wrap_NullBitmap_get() {
18100 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
18105 static int _wrap_NullIcon_set(PyObject
*) {
18106 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
18111 static PyObject
*_wrap_NullIcon_get() {
18114 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
18119 static int _wrap_NullCursor_set(PyObject
*) {
18120 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
18125 static PyObject
*_wrap_NullCursor_get() {
18128 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
18133 static int _wrap_NullPen_set(PyObject
*) {
18134 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
18139 static PyObject
*_wrap_NullPen_get() {
18142 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
18147 static int _wrap_NullBrush_set(PyObject
*) {
18148 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
18153 static PyObject
*_wrap_NullBrush_get() {
18156 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
18161 static int _wrap_NullPalette_set(PyObject
*) {
18162 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
18167 static PyObject
*_wrap_NullPalette_get() {
18170 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
18175 static int _wrap_NullFont_set(PyObject
*) {
18176 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
18181 static PyObject
*_wrap_NullFont_get() {
18184 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
18189 static int _wrap_NullColour_set(PyObject
*) {
18190 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
18195 static PyObject
*_wrap_NullColour_get() {
18198 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
18203 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18204 PyObject
*resultobj
;
18205 wxPenList
*arg1
= (wxPenList
*) 0 ;
18206 wxPen
*arg2
= (wxPen
*) 0 ;
18207 PyObject
* obj0
= 0 ;
18208 PyObject
* obj1
= 0 ;
18209 char *kwnames
[] = {
18210 (char *) "self",(char *) "pen", NULL
18213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
18214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
18215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18216 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
18217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18220 (arg1
)->AddPen(arg2
);
18222 wxPyEndAllowThreads(__tstate
);
18223 if (PyErr_Occurred()) SWIG_fail
;
18225 Py_INCREF(Py_None
); resultobj
= Py_None
;
18232 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18233 PyObject
*resultobj
;
18234 wxPenList
*arg1
= (wxPenList
*) 0 ;
18235 wxColour
*arg2
= 0 ;
18240 PyObject
* obj0
= 0 ;
18241 PyObject
* obj1
= 0 ;
18242 PyObject
* obj2
= 0 ;
18243 PyObject
* obj3
= 0 ;
18244 char *kwnames
[] = {
18245 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
18248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
18250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18253 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18255 arg3
= (int)SWIG_As_int(obj2
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18257 arg4
= (int)SWIG_As_int(obj3
);
18258 if (PyErr_Occurred()) SWIG_fail
;
18260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18261 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
18263 wxPyEndAllowThreads(__tstate
);
18264 if (PyErr_Occurred()) SWIG_fail
;
18266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
18273 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18274 PyObject
*resultobj
;
18275 wxPenList
*arg1
= (wxPenList
*) 0 ;
18276 wxPen
*arg2
= (wxPen
*) 0 ;
18277 PyObject
* obj0
= 0 ;
18278 PyObject
* obj1
= 0 ;
18279 char *kwnames
[] = {
18280 (char *) "self",(char *) "pen", NULL
18283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
18284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
18285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18286 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
18287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18290 (arg1
)->RemovePen(arg2
);
18292 wxPyEndAllowThreads(__tstate
);
18293 if (PyErr_Occurred()) SWIG_fail
;
18295 Py_INCREF(Py_None
); resultobj
= Py_None
;
18302 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18303 PyObject
*resultobj
;
18304 wxPenList
*arg1
= (wxPenList
*) 0 ;
18306 PyObject
* obj0
= 0 ;
18307 char *kwnames
[] = {
18308 (char *) "self", NULL
18311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
18312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
18313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18316 result
= (int)(arg1
)->GetCount();
18318 wxPyEndAllowThreads(__tstate
);
18319 if (PyErr_Occurred()) SWIG_fail
;
18321 resultobj
= SWIG_From_int((int)result
);
18328 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
18330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18331 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
18333 return Py_BuildValue((char *)"");
18335 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18336 PyObject
*resultobj
;
18337 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
18338 wxBrush
*arg2
= (wxBrush
*) 0 ;
18339 PyObject
* obj0
= 0 ;
18340 PyObject
* obj1
= 0 ;
18341 char *kwnames
[] = {
18342 (char *) "self",(char *) "brush", NULL
18345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
18346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
18347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
18349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18352 (arg1
)->AddBrush(arg2
);
18354 wxPyEndAllowThreads(__tstate
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18357 Py_INCREF(Py_None
); resultobj
= Py_None
;
18364 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18365 PyObject
*resultobj
;
18366 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
18367 wxColour
*arg2
= 0 ;
18371 PyObject
* obj0
= 0 ;
18372 PyObject
* obj1
= 0 ;
18373 PyObject
* obj2
= 0 ;
18374 char *kwnames
[] = {
18375 (char *) "self",(char *) "colour",(char *) "style", NULL
18378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
18380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18383 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18385 arg3
= (int)SWIG_As_int(obj2
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18389 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
18391 wxPyEndAllowThreads(__tstate
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
18401 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18402 PyObject
*resultobj
;
18403 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
18404 wxBrush
*arg2
= (wxBrush
*) 0 ;
18405 PyObject
* obj0
= 0 ;
18406 PyObject
* obj1
= 0 ;
18407 char *kwnames
[] = {
18408 (char *) "self",(char *) "brush", NULL
18411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
18412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
18413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18414 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
18415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18418 (arg1
)->RemoveBrush(arg2
);
18420 wxPyEndAllowThreads(__tstate
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18423 Py_INCREF(Py_None
); resultobj
= Py_None
;
18430 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18431 PyObject
*resultobj
;
18432 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
18434 PyObject
* obj0
= 0 ;
18435 char *kwnames
[] = {
18436 (char *) "self", NULL
18439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
18440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
18441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18444 result
= (int)(arg1
)->GetCount();
18446 wxPyEndAllowThreads(__tstate
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18449 resultobj
= SWIG_From_int((int)result
);
18456 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
18458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18459 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
18461 return Py_BuildValue((char *)"");
18463 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18464 PyObject
*resultobj
;
18465 wxColourDatabase
*result
;
18466 char *kwnames
[] = {
18470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
18472 if (!wxPyCheckForApp()) SWIG_fail
;
18473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18474 result
= (wxColourDatabase
*)new wxColourDatabase();
18476 wxPyEndAllowThreads(__tstate
);
18477 if (PyErr_Occurred()) SWIG_fail
;
18479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
18486 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18487 PyObject
*resultobj
;
18488 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18489 PyObject
* obj0
= 0 ;
18490 char *kwnames
[] = {
18491 (char *) "self", NULL
18494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
18495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18501 wxPyEndAllowThreads(__tstate
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18504 Py_INCREF(Py_None
); resultobj
= Py_None
;
18511 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18512 PyObject
*resultobj
;
18513 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18514 wxString
*arg2
= 0 ;
18516 bool temp2
= false ;
18517 PyObject
* obj0
= 0 ;
18518 PyObject
* obj1
= 0 ;
18519 char *kwnames
[] = {
18520 (char *) "self",(char *) "name", NULL
18523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
18524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18527 arg2
= wxString_in_helper(obj1
);
18528 if (arg2
== NULL
) SWIG_fail
;
18532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18533 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18539 wxColour
* resultptr
;
18540 resultptr
= new wxColour((wxColour
&) result
);
18541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18557 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18558 PyObject
*resultobj
;
18559 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18560 wxColour
*arg2
= 0 ;
18563 PyObject
* obj0
= 0 ;
18564 PyObject
* obj1
= 0 ;
18565 char *kwnames
[] = {
18566 (char *) "self",(char *) "colour", NULL
18569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
18570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18574 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18578 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
18580 wxPyEndAllowThreads(__tstate
);
18581 if (PyErr_Occurred()) SWIG_fail
;
18585 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18587 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18596 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18597 PyObject
*resultobj
;
18598 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18599 wxString
*arg2
= 0 ;
18600 wxColour
*arg3
= 0 ;
18601 bool temp2
= false ;
18603 PyObject
* obj0
= 0 ;
18604 PyObject
* obj1
= 0 ;
18605 PyObject
* obj2
= 0 ;
18606 char *kwnames
[] = {
18607 (char *) "self",(char *) "name",(char *) "colour", NULL
18610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18614 arg2
= wxString_in_helper(obj1
);
18615 if (arg2
== NULL
) SWIG_fail
;
18620 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18624 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
18626 wxPyEndAllowThreads(__tstate
);
18627 if (PyErr_Occurred()) SWIG_fail
;
18629 Py_INCREF(Py_None
); resultobj
= Py_None
;
18644 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18645 PyObject
*resultobj
;
18646 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18647 wxString
*arg2
= 0 ;
18651 bool temp2
= false ;
18652 PyObject
* obj0
= 0 ;
18653 PyObject
* obj1
= 0 ;
18654 PyObject
* obj2
= 0 ;
18655 PyObject
* obj3
= 0 ;
18656 PyObject
* obj4
= 0 ;
18657 char *kwnames
[] = {
18658 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
18661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18665 arg2
= wxString_in_helper(obj1
);
18666 if (arg2
== NULL
) SWIG_fail
;
18669 arg3
= (int)SWIG_As_int(obj2
);
18670 if (PyErr_Occurred()) SWIG_fail
;
18671 arg4
= (int)SWIG_As_int(obj3
);
18672 if (PyErr_Occurred()) SWIG_fail
;
18673 arg5
= (int)SWIG_As_int(obj4
);
18674 if (PyErr_Occurred()) SWIG_fail
;
18676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18677 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
18679 wxPyEndAllowThreads(__tstate
);
18680 if (PyErr_Occurred()) SWIG_fail
;
18682 Py_INCREF(Py_None
); resultobj
= Py_None
;
18697 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
18699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18700 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
18702 return Py_BuildValue((char *)"");
18704 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18705 PyObject
*resultobj
;
18706 wxFontList
*arg1
= (wxFontList
*) 0 ;
18707 wxFont
*arg2
= (wxFont
*) 0 ;
18708 PyObject
* obj0
= 0 ;
18709 PyObject
* obj1
= 0 ;
18710 char *kwnames
[] = {
18711 (char *) "self",(char *) "font", NULL
18714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 (arg1
)->AddFont(arg2
);
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 Py_INCREF(Py_None
); resultobj
= Py_None
;
18733 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18734 PyObject
*resultobj
;
18735 wxFontList
*arg1
= (wxFontList
*) 0 ;
18740 bool arg6
= (bool) false ;
18741 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18742 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18743 int arg8
= (int) wxFONTENCODING_DEFAULT
;
18745 bool temp7
= false ;
18746 PyObject
* obj0
= 0 ;
18747 PyObject
* obj1
= 0 ;
18748 PyObject
* obj2
= 0 ;
18749 PyObject
* obj3
= 0 ;
18750 PyObject
* obj4
= 0 ;
18751 PyObject
* obj5
= 0 ;
18752 PyObject
* obj6
= 0 ;
18753 PyObject
* obj7
= 0 ;
18754 char *kwnames
[] = {
18755 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
18758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18761 arg2
= (int)SWIG_As_int(obj1
);
18762 if (PyErr_Occurred()) SWIG_fail
;
18763 arg3
= (int)SWIG_As_int(obj2
);
18764 if (PyErr_Occurred()) SWIG_fail
;
18765 arg4
= (int)SWIG_As_int(obj3
);
18766 if (PyErr_Occurred()) SWIG_fail
;
18767 arg5
= (int)SWIG_As_int(obj4
);
18768 if (PyErr_Occurred()) SWIG_fail
;
18770 arg6
= (bool)SWIG_As_bool(obj5
);
18771 if (PyErr_Occurred()) SWIG_fail
;
18775 arg7
= wxString_in_helper(obj6
);
18776 if (arg7
== NULL
) SWIG_fail
;
18781 arg8
= (int)SWIG_As_int(obj7
);
18782 if (PyErr_Occurred()) SWIG_fail
;
18785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18786 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
18788 wxPyEndAllowThreads(__tstate
);
18789 if (PyErr_Occurred()) SWIG_fail
;
18791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
18806 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18807 PyObject
*resultobj
;
18808 wxFontList
*arg1
= (wxFontList
*) 0 ;
18809 wxFont
*arg2
= (wxFont
*) 0 ;
18810 PyObject
* obj0
= 0 ;
18811 PyObject
* obj1
= 0 ;
18812 char *kwnames
[] = {
18813 (char *) "self",(char *) "font", NULL
18816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18819 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18823 (arg1
)->RemoveFont(arg2
);
18825 wxPyEndAllowThreads(__tstate
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18828 Py_INCREF(Py_None
); resultobj
= Py_None
;
18835 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
;
18837 wxFontList
*arg1
= (wxFontList
*) 0 ;
18839 PyObject
* obj0
= 0 ;
18840 char *kwnames
[] = {
18841 (char *) "self", NULL
18844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
18845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18849 result
= (int)(arg1
)->GetCount();
18851 wxPyEndAllowThreads(__tstate
);
18852 if (PyErr_Occurred()) SWIG_fail
;
18854 resultobj
= SWIG_From_int((int)result
);
18861 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
18863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18864 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
18866 return Py_BuildValue((char *)"");
18868 static int _wrap_TheFontList_set(PyObject
*) {
18869 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
18874 static PyObject
*_wrap_TheFontList_get() {
18877 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
18882 static int _wrap_ThePenList_set(PyObject
*) {
18883 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
18888 static PyObject
*_wrap_ThePenList_get() {
18891 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
18896 static int _wrap_TheBrushList_set(PyObject
*) {
18897 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
18902 static PyObject
*_wrap_TheBrushList_get() {
18905 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
18910 static int _wrap_TheColourDatabase_set(PyObject
*) {
18911 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
18916 static PyObject
*_wrap_TheColourDatabase_get() {
18919 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
18924 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18925 PyObject
*resultobj
;
18927 char *kwnames
[] = {
18931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
18933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18934 result
= (wxEffects
*)new wxEffects();
18936 wxPyEndAllowThreads(__tstate
);
18937 if (PyErr_Occurred()) SWIG_fail
;
18939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
18946 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18947 PyObject
*resultobj
;
18948 wxEffects
*arg1
= (wxEffects
*) 0 ;
18950 PyObject
* obj0
= 0 ;
18951 char *kwnames
[] = {
18952 (char *) "self", NULL
18955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
18956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18960 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
18962 wxPyEndAllowThreads(__tstate
);
18963 if (PyErr_Occurred()) SWIG_fail
;
18966 wxColour
* resultptr
;
18967 resultptr
= new wxColour((wxColour
&) result
);
18968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18976 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18977 PyObject
*resultobj
;
18978 wxEffects
*arg1
= (wxEffects
*) 0 ;
18980 PyObject
* obj0
= 0 ;
18981 char *kwnames
[] = {
18982 (char *) "self", NULL
18985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
18986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18990 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
18992 wxPyEndAllowThreads(__tstate
);
18993 if (PyErr_Occurred()) SWIG_fail
;
18996 wxColour
* resultptr
;
18997 resultptr
= new wxColour((wxColour
&) result
);
18998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19006 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19007 PyObject
*resultobj
;
19008 wxEffects
*arg1
= (wxEffects
*) 0 ;
19010 PyObject
* obj0
= 0 ;
19011 char *kwnames
[] = {
19012 (char *) "self", NULL
19015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
19016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19020 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
19022 wxPyEndAllowThreads(__tstate
);
19023 if (PyErr_Occurred()) SWIG_fail
;
19026 wxColour
* resultptr
;
19027 resultptr
= new wxColour((wxColour
&) result
);
19028 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19036 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19037 PyObject
*resultobj
;
19038 wxEffects
*arg1
= (wxEffects
*) 0 ;
19040 PyObject
* obj0
= 0 ;
19041 char *kwnames
[] = {
19042 (char *) "self", NULL
19045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
19046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19050 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
19052 wxPyEndAllowThreads(__tstate
);
19053 if (PyErr_Occurred()) SWIG_fail
;
19056 wxColour
* resultptr
;
19057 resultptr
= new wxColour((wxColour
&) result
);
19058 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19066 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19067 PyObject
*resultobj
;
19068 wxEffects
*arg1
= (wxEffects
*) 0 ;
19070 PyObject
* obj0
= 0 ;
19071 char *kwnames
[] = {
19072 (char *) "self", NULL
19075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
19076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19080 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
19082 wxPyEndAllowThreads(__tstate
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19086 wxColour
* resultptr
;
19087 resultptr
= new wxColour((wxColour
&) result
);
19088 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19096 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19097 PyObject
*resultobj
;
19098 wxEffects
*arg1
= (wxEffects
*) 0 ;
19099 wxColour
*arg2
= 0 ;
19101 PyObject
* obj0
= 0 ;
19102 PyObject
* obj1
= 0 ;
19103 char *kwnames
[] = {
19104 (char *) "self",(char *) "c", NULL
19107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19112 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19116 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
19118 wxPyEndAllowThreads(__tstate
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19121 Py_INCREF(Py_None
); resultobj
= Py_None
;
19128 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19129 PyObject
*resultobj
;
19130 wxEffects
*arg1
= (wxEffects
*) 0 ;
19131 wxColour
*arg2
= 0 ;
19133 PyObject
* obj0
= 0 ;
19134 PyObject
* obj1
= 0 ;
19135 char *kwnames
[] = {
19136 (char *) "self",(char *) "c", NULL
19139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
19140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19144 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19148 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
19150 wxPyEndAllowThreads(__tstate
);
19151 if (PyErr_Occurred()) SWIG_fail
;
19153 Py_INCREF(Py_None
); resultobj
= Py_None
;
19160 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19161 PyObject
*resultobj
;
19162 wxEffects
*arg1
= (wxEffects
*) 0 ;
19163 wxColour
*arg2
= 0 ;
19165 PyObject
* obj0
= 0 ;
19166 PyObject
* obj1
= 0 ;
19167 char *kwnames
[] = {
19168 (char *) "self",(char *) "c", NULL
19171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19176 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19180 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
19182 wxPyEndAllowThreads(__tstate
);
19183 if (PyErr_Occurred()) SWIG_fail
;
19185 Py_INCREF(Py_None
); resultobj
= Py_None
;
19192 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19193 PyObject
*resultobj
;
19194 wxEffects
*arg1
= (wxEffects
*) 0 ;
19195 wxColour
*arg2
= 0 ;
19197 PyObject
* obj0
= 0 ;
19198 PyObject
* obj1
= 0 ;
19199 char *kwnames
[] = {
19200 (char *) "self",(char *) "c", NULL
19203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
19204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19208 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19212 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
19214 wxPyEndAllowThreads(__tstate
);
19215 if (PyErr_Occurred()) SWIG_fail
;
19217 Py_INCREF(Py_None
); resultobj
= Py_None
;
19224 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19225 PyObject
*resultobj
;
19226 wxEffects
*arg1
= (wxEffects
*) 0 ;
19227 wxColour
*arg2
= 0 ;
19229 PyObject
* obj0
= 0 ;
19230 PyObject
* obj1
= 0 ;
19231 char *kwnames
[] = {
19232 (char *) "self",(char *) "c", NULL
19235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
19236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19240 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19244 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
19246 wxPyEndAllowThreads(__tstate
);
19247 if (PyErr_Occurred()) SWIG_fail
;
19249 Py_INCREF(Py_None
); resultobj
= Py_None
;
19256 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19257 PyObject
*resultobj
;
19258 wxEffects
*arg1
= (wxEffects
*) 0 ;
19259 wxColour
*arg2
= 0 ;
19260 wxColour
*arg3
= 0 ;
19261 wxColour
*arg4
= 0 ;
19262 wxColour
*arg5
= 0 ;
19263 wxColour
*arg6
= 0 ;
19269 PyObject
* obj0
= 0 ;
19270 PyObject
* obj1
= 0 ;
19271 PyObject
* obj2
= 0 ;
19272 PyObject
* obj3
= 0 ;
19273 PyObject
* obj4
= 0 ;
19274 PyObject
* obj5
= 0 ;
19275 char *kwnames
[] = {
19276 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
19279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19284 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19288 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19292 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
19296 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
19300 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
19303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19304 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
19306 wxPyEndAllowThreads(__tstate
);
19307 if (PyErr_Occurred()) SWIG_fail
;
19309 Py_INCREF(Py_None
); resultobj
= Py_None
;
19316 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19317 PyObject
*resultobj
;
19318 wxEffects
*arg1
= (wxEffects
*) 0 ;
19321 int arg4
= (int) 1 ;
19323 PyObject
* obj0
= 0 ;
19324 PyObject
* obj1
= 0 ;
19325 PyObject
* obj2
= 0 ;
19326 PyObject
* obj3
= 0 ;
19327 char *kwnames
[] = {
19328 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
19331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19335 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19337 if (arg2
== NULL
) {
19338 PyErr_SetString(PyExc_TypeError
,"null reference");
19343 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
19346 arg4
= (int)SWIG_As_int(obj3
);
19347 if (PyErr_Occurred()) SWIG_fail
;
19350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19351 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
19353 wxPyEndAllowThreads(__tstate
);
19354 if (PyErr_Occurred()) SWIG_fail
;
19356 Py_INCREF(Py_None
); resultobj
= Py_None
;
19363 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19364 PyObject
*resultobj
;
19365 wxEffects
*arg1
= (wxEffects
*) 0 ;
19368 wxBitmap
*arg4
= 0 ;
19371 PyObject
* obj0
= 0 ;
19372 PyObject
* obj1
= 0 ;
19373 PyObject
* obj2
= 0 ;
19374 PyObject
* obj3
= 0 ;
19375 char *kwnames
[] = {
19376 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
19379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19384 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19386 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
19387 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19389 if (arg3
== NULL
) {
19390 PyErr_SetString(PyExc_TypeError
,"null reference");
19393 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
19394 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19396 if (arg4
== NULL
) {
19397 PyErr_SetString(PyExc_TypeError
,"null reference");
19401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19402 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
19404 wxPyEndAllowThreads(__tstate
);
19405 if (PyErr_Occurred()) SWIG_fail
;
19408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19416 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
19418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19419 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
19421 return Py_BuildValue((char *)"");
19423 static PyMethodDef SwigMethods
[] = {
19424 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19425 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19426 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19427 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19428 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19429 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
19430 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19431 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19432 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19433 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19434 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19435 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19436 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19437 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19438 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19439 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19440 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19441 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19442 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19443 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19444 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19445 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19446 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
19447 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19448 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19449 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19450 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19451 { (char *)"Palette_GetColoursCount", (PyCFunction
) _wrap_Palette_GetColoursCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19452 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19453 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
19454 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19455 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19456 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19457 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19458 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19459 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19460 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19461 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19462 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19463 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19464 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19465 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19466 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19467 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19468 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19469 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19470 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19471 { (char *)"Pen_GetStipple", (PyCFunction
) _wrap_Pen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19472 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19473 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19474 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19475 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
19476 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19477 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19478 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19479 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19480 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19481 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19482 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19483 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19484 { (char *)"Brush_IsHatch", (PyCFunction
) _wrap_Brush_IsHatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19485 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19486 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
19487 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19488 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19489 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19490 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19491 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19492 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19493 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19494 { (char *)"Bitmap_GetHandle", (PyCFunction
) _wrap_Bitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19495 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19496 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19497 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19498 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19499 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19500 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19501 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19502 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19503 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19504 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19505 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19506 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19507 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19508 { (char *)"Bitmap_GetPalette", (PyCFunction
) _wrap_Bitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19509 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19510 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19511 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19512 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19513 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19514 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19515 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19516 { (char *)"Bitmap_GetQuality", (PyCFunction
) _wrap_Bitmap_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19517 { (char *)"Bitmap_SetQuality", (PyCFunction
) _wrap_Bitmap_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19518 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19519 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19520 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
19521 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19522 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
19523 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19524 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19525 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19526 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19527 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19528 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19529 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19530 { (char *)"Icon_GetHandle", (PyCFunction
) _wrap_Icon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19531 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19532 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19533 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19534 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19535 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19536 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19537 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19538 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19539 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19540 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19541 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
19542 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19543 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19544 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19545 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19546 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19547 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19548 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19549 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
19550 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19551 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19552 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19553 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19554 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19555 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19556 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19557 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
19558 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19559 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19560 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19561 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19562 { (char *)"Cursor_GetHandle", (PyCFunction
) _wrap_Cursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19563 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19564 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19565 { (char *)"Cursor_GetWidth", (PyCFunction
) _wrap_Cursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19566 { (char *)"Cursor_GetHeight", (PyCFunction
) _wrap_Cursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19567 { (char *)"Cursor_GetDepth", (PyCFunction
) _wrap_Cursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19568 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19569 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19570 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19571 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19572 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
19573 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19574 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19575 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19576 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19577 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19578 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19579 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19580 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19581 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19582 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19583 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19584 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19585 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19586 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19587 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19588 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19589 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19590 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19591 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19592 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19593 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19594 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19595 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19596 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19597 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19598 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19599 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19600 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19601 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
19602 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19603 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19604 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19605 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19606 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19607 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19608 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19609 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19610 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19611 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19612 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19613 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19614 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19615 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
19616 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19617 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19618 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19619 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19620 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19621 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19622 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19623 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19624 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19625 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19626 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19627 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19628 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19629 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19630 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19631 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19632 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19633 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19634 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19635 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19636 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19637 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19638 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19639 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19640 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19641 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
19642 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19643 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19644 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19645 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19646 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19647 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19648 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19649 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19650 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
19651 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19652 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19653 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19654 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19655 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19656 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19657 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19658 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19659 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19660 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19661 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19662 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19663 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19664 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19665 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19666 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19667 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19668 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19669 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19670 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
19671 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19672 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19673 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19674 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19675 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19676 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19677 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19678 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19679 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19680 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19681 { (char *)"Font_GetPixelSize", (PyCFunction
) _wrap_Font_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19682 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
) _wrap_Font_IsUsingSizeInPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19683 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19684 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19685 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19686 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19687 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19688 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19689 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19690 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19691 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19692 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19693 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19694 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19695 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19696 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19697 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19698 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19699 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19700 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19701 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19702 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19703 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19704 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19705 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19706 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19707 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19708 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19709 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19710 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19711 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
19712 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19713 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19714 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19715 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19716 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19717 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19718 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19719 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
19720 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19721 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19722 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19723 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19724 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19725 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19726 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
19727 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19728 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19729 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19730 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19731 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19732 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19733 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19734 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19735 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19736 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19737 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19738 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19739 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19740 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19741 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19742 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19743 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19744 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19745 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19746 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19747 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19748 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
19749 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19750 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
19751 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19752 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19753 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19754 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19755 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19756 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19757 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19758 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
19759 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19760 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19761 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19762 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19763 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19764 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19765 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19766 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19767 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19768 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19769 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19770 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19771 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19772 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19773 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19774 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19775 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19776 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19777 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19778 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19779 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19780 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19781 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19782 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19783 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19784 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19785 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19786 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19787 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19788 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19789 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19790 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19791 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19792 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19793 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19794 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19795 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19796 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19797 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19798 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19799 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19800 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19801 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19802 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19803 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19804 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19805 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19806 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19807 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19808 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19809 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19810 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19811 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19812 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19813 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19814 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19815 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19816 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19817 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19818 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19819 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19820 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19821 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19822 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19823 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19824 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19825 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19826 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19827 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19828 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19829 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19830 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19831 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19832 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19833 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19834 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19835 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19836 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19837 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19838 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19839 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19840 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19841 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19842 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19843 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19844 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19845 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19846 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19847 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19848 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19849 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19850 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19851 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19852 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19853 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19854 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19855 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19856 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19857 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19858 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19859 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19860 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19861 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19862 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19863 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19864 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19865 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19866 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19867 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19868 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19869 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19870 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19871 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19872 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19873 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19874 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19875 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19876 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19877 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19878 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19879 { (char *)"DC_GetHDC", (PyCFunction
) _wrap_DC_GetHDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19880 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19881 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19882 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19883 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19884 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19885 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19886 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
19887 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19888 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19889 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19890 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
19891 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
19892 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19893 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19894 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
19895 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19896 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
19897 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19898 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19899 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19900 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19901 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
19902 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19903 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
19904 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19905 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
19906 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19907 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
19908 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19909 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
19910 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19911 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19912 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19913 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19914 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19915 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
19916 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19917 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19918 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19919 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19920 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19921 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19922 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19923 { (char *)"MetaFile_GetFileName", (PyCFunction
) _wrap_MetaFile_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19924 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
19925 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19926 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19927 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
19928 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19929 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
19930 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19931 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19932 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19933 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19934 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19935 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19936 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19937 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19938 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19939 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19940 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19941 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
19942 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19943 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19944 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19945 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19946 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
19947 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19948 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19949 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19950 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19951 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
19952 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19953 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19954 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19955 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19956 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19957 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19958 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
19959 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19960 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19961 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19962 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19963 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
19964 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19965 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19966 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19967 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19968 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19969 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19970 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19971 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19972 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19973 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19974 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19975 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19976 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19977 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19978 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
19979 { NULL
, NULL
, 0, NULL
}
19983 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19985 static void *_p_wxControlTo_p_wxWindow(void *x
) {
19986 return (void *)((wxWindow
*) ((wxControl
*) x
));
19988 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
19989 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
19991 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
19992 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
19994 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
19995 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
19997 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
19998 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
20000 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
20001 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
20003 static void *_p_wxPenTo_p_wxObject(void *x
) {
20004 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
20006 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
20007 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
20009 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
20010 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
20012 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
20013 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
20015 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
20016 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
20018 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
20019 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
20021 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
20022 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
20024 static void *_p_wxIconTo_p_wxObject(void *x
) {
20025 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
20027 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
20028 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
20030 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
20031 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
20033 static void *_p_wxSizerTo_p_wxObject(void *x
) {
20034 return (void *)((wxObject
*) ((wxSizer
*) x
));
20036 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
20037 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
20039 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
20040 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
20042 static void *_p_wxPenListTo_p_wxObject(void *x
) {
20043 return (void *)((wxObject
*) ((wxPenList
*) x
));
20045 static void *_p_wxEventTo_p_wxObject(void *x
) {
20046 return (void *)((wxObject
*) ((wxEvent
*) x
));
20048 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
20049 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
20051 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
20052 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
20054 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
20055 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
20057 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
20058 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
20060 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
20061 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
20063 static void *_p_wxDCTo_p_wxObject(void *x
) {
20064 return (void *)((wxObject
*) ((wxDC
*) x
));
20066 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
20067 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
20069 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
20070 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
20072 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
20073 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
20075 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
20076 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
20078 static void *_p_wxControlTo_p_wxObject(void *x
) {
20079 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
20081 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
20082 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
20084 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
20085 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
20087 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
20088 return (void *)((wxObject
*) ((wxFSFile
*) x
));
20090 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
20091 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
20093 static void *_p_wxRegionTo_p_wxObject(void *x
) {
20094 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
20096 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
20097 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
20099 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
20100 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
20102 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
20103 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
20105 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
20106 return (void *)((wxObject
*) ((wxEffects
*) x
));
20108 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
20109 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
20111 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
20112 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
20114 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
20115 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
20117 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
20118 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
20120 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
20121 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
20123 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
20124 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
20126 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
20127 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
20129 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
20130 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
20132 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
20133 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
20135 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
20136 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
20138 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
20139 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
20141 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
20142 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
20144 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
20145 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
20147 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
20148 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
20150 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
20151 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
20153 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
20154 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
20156 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
20157 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
20159 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
20160 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
20162 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
20163 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
20165 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
20166 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
20168 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
20169 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
20171 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
20172 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
20174 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
20175 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
20177 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
20178 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
20180 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
20181 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
20183 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
20184 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
20186 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
20187 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
20189 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
20190 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
20192 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
20193 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
20195 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
20196 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
20198 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
20199 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
20201 static void *_p_wxImageTo_p_wxObject(void *x
) {
20202 return (void *)((wxObject
*) ((wxImage
*) x
));
20204 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
20205 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
20207 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
20208 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
20210 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
20211 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
20213 static void *_p_wxImageListTo_p_wxObject(void *x
) {
20214 return (void *)((wxObject
*) ((wxImageList
*) x
));
20216 static void *_p_wxCursorTo_p_wxObject(void *x
) {
20217 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
20219 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
20220 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
20222 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
20223 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
20225 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
20226 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
20228 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
20229 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
20231 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
20232 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
20234 static void *_p_wxWindowTo_p_wxObject(void *x
) {
20235 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
20237 static void *_p_wxMenuTo_p_wxObject(void *x
) {
20238 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
20240 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
20241 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
20243 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
20244 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
20246 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
20247 return (void *)((wxObject
*) ((wxBrushList
*) x
));
20249 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
20250 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
20252 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
20253 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
20255 static void *_p_wxMaskTo_p_wxObject(void *x
) {
20256 return (void *)((wxObject
*) ((wxMask
*) x
));
20258 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
20259 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
20261 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
20262 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
20264 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
20265 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
20267 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
20268 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
20270 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
20271 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
20273 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
20274 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
20276 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
20277 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
20279 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
20280 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
20282 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
20283 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
20285 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
20286 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
20288 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
20289 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
20291 static void *_p_wxFontTo_p_wxObject(void *x
) {
20292 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
20294 static void *_p_wxBrushTo_p_wxObject(void *x
) {
20295 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
20297 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
20298 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
20300 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
20301 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
20303 static void *_p_wxColourTo_p_wxObject(void *x
) {
20304 return (void *)((wxObject
*) ((wxColour
*) x
));
20306 static void *_p_wxFontListTo_p_wxObject(void *x
) {
20307 return (void *)((wxObject
*) ((wxFontList
*) x
));
20309 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
20310 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
20312 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
20313 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
20315 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
20316 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
20318 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
20319 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
20321 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
20322 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
20324 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
20325 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
20327 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
20328 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
20330 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
20331 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
20333 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
20334 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
20336 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
20337 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
20339 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
20340 return (void *)((wxDC
*) ((wxClientDC
*) x
));
20342 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
20343 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
20345 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
20346 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
20348 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
20349 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
20351 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
20352 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
20354 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
20355 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
20357 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
20358 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
20360 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
20361 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
20363 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
20364 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
20366 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
20367 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
20369 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
20370 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
20372 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
20373 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
20375 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}};
20376 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}};
20377 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}};
20378 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}};
20379 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}};
20380 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}};
20381 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}};
20382 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}};
20383 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}};
20384 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}};
20385 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}};
20386 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}};
20387 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}};
20388 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}};
20389 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}};
20390 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}};
20391 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}};
20392 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}};
20393 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}};
20394 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}};
20395 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}};
20396 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}};
20397 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}};
20398 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}};
20399 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}};
20400 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}};
20401 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}};
20402 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}};
20403 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}};
20404 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}};
20405 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}};
20406 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}};
20407 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}};
20408 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}};
20409 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}};
20410 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}};
20411 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}};
20412 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}};
20413 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}};
20414 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}};
20415 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}};
20416 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}};
20417 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}};
20418 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}};
20419 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}};
20420 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}};
20421 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}};
20422 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}};
20423 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}};
20424 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}};
20425 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}};
20426 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}};
20427 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}};
20428 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}};
20429 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}};
20431 static swig_type_info
*swig_types_initial
[] = {
20432 _swigt__p_wxPostScriptDC
,
20434 _swigt__p_wxColour
,
20436 _swigt__p_wxMirrorDC
,
20438 _swigt__p_wxPyFontEnumerator
,
20440 _swigt__p_wxIconLocation
,
20442 _swigt__p_wxMetaFileDC
,
20446 _swigt__p_wxWindow
,
20448 _swigt__p_wxMemoryDC
,
20449 _swigt__p_wxFontMapper
,
20450 _swigt__p_wxEffects
,
20451 _swigt__p_wxNativeEncodingInfo
,
20452 _swigt__p_wxPalette
,
20453 _swigt__p_wxBitmap
,
20454 _swigt__p_wxObject
,
20455 _swigt__p_wxRegionIterator
,
20457 _swigt__p_wxString
,
20458 _swigt__p_wxPrinterDC
,
20459 _swigt__p_wxIconBundle
,
20462 _swigt__p_wxScreenDC
,
20463 _swigt__p_wxCursor
,
20464 _swigt__p_wxClientDC
,
20465 _swigt__p_wxBufferedDC
,
20466 _swigt__p_wxImageList
,
20467 _swigt__p_unsigned_char
,
20468 _swigt__p_wxGDIObject
,
20470 _swigt__p_wxLocale
,
20471 _swigt__p_wxRegion
,
20472 _swigt__p_wxLanguageInfo
,
20473 _swigt__p_wxConfigBase
,
20474 _swigt__p_wxWindowDC
,
20475 _swigt__p_wxPrintData
,
20476 _swigt__p_wxBrushList
,
20477 _swigt__p_wxFontList
,
20479 _swigt__p_wxBufferedPaintDC
,
20480 _swigt__p_wxPaintDC
,
20481 _swigt__p_wxPenList
,
20483 _swigt__p_wxMetaFile
,
20484 _swigt__p_wxNativeFontInfo
,
20485 _swigt__p_wxEncodingConverter
,
20486 _swigt__p_wxColourDatabase
,
20491 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
20493 static swig_const_info swig_const_table
[] = {
20494 {0, 0, 0, 0.0, 0, 0}};
20503 SWIGEXPORT(void) SWIG_init(void) {
20504 static PyObject
*SWIG_globals
= 0;
20505 static int typeinit
= 0;
20508 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
20509 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
20510 d
= PyModule_GetDict(m
);
20513 for (i
= 0; swig_types_initial
[i
]; i
++) {
20514 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
20518 SWIG_InstallConstants(d
,swig_const_table
);
20520 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)wxOutRegion
));
20521 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)wxPartRegion
));
20522 PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)wxInRegion
));
20523 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)wxFONTFAMILY_DEFAULT
));
20524 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)wxFONTFAMILY_DECORATIVE
));
20525 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)wxFONTFAMILY_ROMAN
));
20526 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)wxFONTFAMILY_SCRIPT
));
20527 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)wxFONTFAMILY_SWISS
));
20528 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)wxFONTFAMILY_MODERN
));
20529 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)wxFONTFAMILY_TELETYPE
));
20530 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)wxFONTFAMILY_MAX
));
20531 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)wxFONTFAMILY_UNKNOWN
));
20532 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)wxFONTSTYLE_NORMAL
));
20533 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)wxFONTSTYLE_ITALIC
));
20534 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)wxFONTSTYLE_SLANT
));
20535 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)wxFONTSTYLE_MAX
));
20536 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)wxFONTWEIGHT_NORMAL
));
20537 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)wxFONTWEIGHT_LIGHT
));
20538 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)wxFONTWEIGHT_BOLD
));
20539 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)wxFONTWEIGHT_MAX
));
20540 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)wxFONTFLAG_DEFAULT
));
20541 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)wxFONTFLAG_ITALIC
));
20542 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)wxFONTFLAG_SLANT
));
20543 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)wxFONTFLAG_LIGHT
));
20544 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)wxFONTFLAG_BOLD
));
20545 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_ANTIALIASED
));
20546 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_NOT_ANTIALIASED
));
20547 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)wxFONTFLAG_UNDERLINED
));
20548 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)wxFONTFLAG_STRIKETHROUGH
));
20549 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)wxFONTFLAG_MASK
));
20550 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)wxFONTENCODING_SYSTEM
));
20551 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)wxFONTENCODING_DEFAULT
));
20552 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)wxFONTENCODING_ISO8859_1
));
20553 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)wxFONTENCODING_ISO8859_2
));
20554 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)wxFONTENCODING_ISO8859_3
));
20555 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)wxFONTENCODING_ISO8859_4
));
20556 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)wxFONTENCODING_ISO8859_5
));
20557 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)wxFONTENCODING_ISO8859_6
));
20558 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)wxFONTENCODING_ISO8859_7
));
20559 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)wxFONTENCODING_ISO8859_8
));
20560 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)wxFONTENCODING_ISO8859_9
));
20561 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)wxFONTENCODING_ISO8859_10
));
20562 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)wxFONTENCODING_ISO8859_11
));
20563 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)wxFONTENCODING_ISO8859_12
));
20564 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)wxFONTENCODING_ISO8859_13
));
20565 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)wxFONTENCODING_ISO8859_14
));
20566 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)wxFONTENCODING_ISO8859_15
));
20567 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)wxFONTENCODING_ISO8859_MAX
));
20568 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)wxFONTENCODING_KOI8
));
20569 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)wxFONTENCODING_KOI8_U
));
20570 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)wxFONTENCODING_ALTERNATIVE
));
20571 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)wxFONTENCODING_BULGARIAN
));
20572 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)wxFONTENCODING_CP437
));
20573 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)wxFONTENCODING_CP850
));
20574 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)wxFONTENCODING_CP852
));
20575 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)wxFONTENCODING_CP855
));
20576 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)wxFONTENCODING_CP866
));
20577 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)wxFONTENCODING_CP874
));
20578 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)wxFONTENCODING_CP932
));
20579 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)wxFONTENCODING_CP936
));
20580 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)wxFONTENCODING_CP949
));
20581 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)wxFONTENCODING_CP950
));
20582 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)wxFONTENCODING_CP1250
));
20583 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)wxFONTENCODING_CP1251
));
20584 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)wxFONTENCODING_CP1252
));
20585 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)wxFONTENCODING_CP1253
));
20586 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)wxFONTENCODING_CP1254
));
20587 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)wxFONTENCODING_CP1255
));
20588 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)wxFONTENCODING_CP1256
));
20589 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)wxFONTENCODING_CP1257
));
20590 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)wxFONTENCODING_CP12_MAX
));
20591 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)wxFONTENCODING_UTF7
));
20592 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)wxFONTENCODING_UTF8
));
20593 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)wxFONTENCODING_EUC_JP
));
20594 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)wxFONTENCODING_UTF16BE
));
20595 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)wxFONTENCODING_UTF16LE
));
20596 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)wxFONTENCODING_UTF32BE
));
20597 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)wxFONTENCODING_UTF32LE
));
20598 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)wxFONTENCODING_MACROMAN
));
20599 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)wxFONTENCODING_MACJAPANESE
));
20600 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)wxFONTENCODING_MACCHINESETRAD
));
20601 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)wxFONTENCODING_MACKOREAN
));
20602 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)wxFONTENCODING_MACARABIC
));
20603 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)wxFONTENCODING_MACHEBREW
));
20604 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)wxFONTENCODING_MACGREEK
));
20605 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)wxFONTENCODING_MACCYRILLIC
));
20606 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)wxFONTENCODING_MACDEVANAGARI
));
20607 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)wxFONTENCODING_MACGURMUKHI
));
20608 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)wxFONTENCODING_MACGUJARATI
));
20609 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)wxFONTENCODING_MACORIYA
));
20610 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)wxFONTENCODING_MACBENGALI
));
20611 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)wxFONTENCODING_MACTAMIL
));
20612 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)wxFONTENCODING_MACTELUGU
));
20613 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)wxFONTENCODING_MACKANNADA
));
20614 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)wxFONTENCODING_MACMALAJALAM
));
20615 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)wxFONTENCODING_MACSINHALESE
));
20616 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)wxFONTENCODING_MACBURMESE
));
20617 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)wxFONTENCODING_MACKHMER
));
20618 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)wxFONTENCODING_MACTHAI
));
20619 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)wxFONTENCODING_MACLAOTIAN
));
20620 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)wxFONTENCODING_MACGEORGIAN
));
20621 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)wxFONTENCODING_MACARMENIAN
));
20622 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)wxFONTENCODING_MACCHINESESIMP
));
20623 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)wxFONTENCODING_MACTIBETAN
));
20624 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)wxFONTENCODING_MACMONGOLIAN
));
20625 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)wxFONTENCODING_MACETHIOPIC
));
20626 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)wxFONTENCODING_MACCENTRALEUR
));
20627 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)wxFONTENCODING_MACVIATNAMESE
));
20628 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)wxFONTENCODING_MACARABICEXT
));
20629 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)wxFONTENCODING_MACSYMBOL
));
20630 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)wxFONTENCODING_MACDINGBATS
));
20631 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)wxFONTENCODING_MACTURKISH
));
20632 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)wxFONTENCODING_MACCROATIAN
));
20633 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)wxFONTENCODING_MACICELANDIC
));
20634 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)wxFONTENCODING_MACROMANIAN
));
20635 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)wxFONTENCODING_MACCELTIC
));
20636 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)wxFONTENCODING_MACGAELIC
));
20637 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)wxFONTENCODING_MACKEYBOARD
));
20638 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)wxFONTENCODING_MACMIN
));
20639 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)wxFONTENCODING_MACMAX
));
20640 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)wxFONTENCODING_MAX
));
20641 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)wxFONTENCODING_UTF16
));
20642 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)wxFONTENCODING_UTF32
));
20643 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)wxFONTENCODING_UNICODE
));
20644 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)wxFONTENCODING_GB2312
));
20645 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)wxFONTENCODING_BIG5
));
20646 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)wxFONTENCODING_SHIFT_JIS
));
20648 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
20650 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)wxLANGUAGE_DEFAULT
));
20651 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)wxLANGUAGE_UNKNOWN
));
20652 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)wxLANGUAGE_ABKHAZIAN
));
20653 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)wxLANGUAGE_AFAR
));
20654 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)wxLANGUAGE_AFRIKAANS
));
20655 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)wxLANGUAGE_ALBANIAN
));
20656 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)wxLANGUAGE_AMHARIC
));
20657 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)wxLANGUAGE_ARABIC
));
20658 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_ALGERIA
));
20659 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)wxLANGUAGE_ARABIC_BAHRAIN
));
20660 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)wxLANGUAGE_ARABIC_EGYPT
));
20661 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)wxLANGUAGE_ARABIC_IRAQ
));
20662 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_JORDAN
));
20663 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)wxLANGUAGE_ARABIC_KUWAIT
));
20664 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)wxLANGUAGE_ARABIC_LEBANON
));
20665 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)wxLANGUAGE_ARABIC_LIBYA
));
20666 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)wxLANGUAGE_ARABIC_MOROCCO
));
20667 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_OMAN
));
20668 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)wxLANGUAGE_ARABIC_QATAR
));
20669 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
20670 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_SUDAN
));
20671 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SYRIA
));
20672 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_TUNISIA
));
20673 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)wxLANGUAGE_ARABIC_UAE
));
20674 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)wxLANGUAGE_ARABIC_YEMEN
));
20675 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)wxLANGUAGE_ARMENIAN
));
20676 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)wxLANGUAGE_ASSAMESE
));
20677 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)wxLANGUAGE_AYMARA
));
20678 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)wxLANGUAGE_AZERI
));
20679 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_AZERI_CYRILLIC
));
20680 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)wxLANGUAGE_AZERI_LATIN
));
20681 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)wxLANGUAGE_BASHKIR
));
20682 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)wxLANGUAGE_BASQUE
));
20683 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)wxLANGUAGE_BELARUSIAN
));
20684 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)wxLANGUAGE_BENGALI
));
20685 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)wxLANGUAGE_BHUTANI
));
20686 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)wxLANGUAGE_BIHARI
));
20687 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)wxLANGUAGE_BISLAMA
));
20688 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)wxLANGUAGE_BRETON
));
20689 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)wxLANGUAGE_BULGARIAN
));
20690 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)wxLANGUAGE_BURMESE
));
20691 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)wxLANGUAGE_CAMBODIAN
));
20692 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)wxLANGUAGE_CATALAN
));
20693 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)wxLANGUAGE_CHINESE
));
20694 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
20695 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
20696 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)wxLANGUAGE_CHINESE_HONGKONG
));
20697 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)wxLANGUAGE_CHINESE_MACAU
));
20698 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)wxLANGUAGE_CHINESE_SINGAPORE
));
20699 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)wxLANGUAGE_CHINESE_TAIWAN
));
20700 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)wxLANGUAGE_CORSICAN
));
20701 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)wxLANGUAGE_CROATIAN
));
20702 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)wxLANGUAGE_CZECH
));
20703 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)wxLANGUAGE_DANISH
));
20704 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)wxLANGUAGE_DUTCH
));
20705 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_DUTCH_BELGIAN
));
20706 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)wxLANGUAGE_ENGLISH
));
20707 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_UK
));
20708 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)wxLANGUAGE_ENGLISH_US
));
20709 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
20710 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BELIZE
));
20711 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
20712 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CANADA
));
20713 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
20714 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_DENMARK
));
20715 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_EIRE
));
20716 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_JAMAICA
));
20717 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
20718 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
20719 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
20720 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
20721 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
20722 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)wxLANGUAGE_ESPERANTO
));
20723 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)wxLANGUAGE_ESTONIAN
));
20724 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)wxLANGUAGE_FAEROESE
));
20725 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)wxLANGUAGE_FARSI
));
20726 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)wxLANGUAGE_FIJI
));
20727 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)wxLANGUAGE_FINNISH
));
20728 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)wxLANGUAGE_FRENCH
));
20729 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_BELGIAN
));
20730 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_CANADIAN
));
20731 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
20732 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)wxLANGUAGE_FRENCH_MONACO
));
20733 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)wxLANGUAGE_FRENCH_SWISS
));
20734 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)wxLANGUAGE_FRISIAN
));
20735 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)wxLANGUAGE_GALICIAN
));
20736 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)wxLANGUAGE_GEORGIAN
));
20737 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)wxLANGUAGE_GERMAN
));
20738 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
20739 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)wxLANGUAGE_GERMAN_BELGIUM
));
20740 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
20741 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
20742 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)wxLANGUAGE_GERMAN_SWISS
));
20743 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)wxLANGUAGE_GREEK
));
20744 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)wxLANGUAGE_GREENLANDIC
));
20745 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)wxLANGUAGE_GUARANI
));
20746 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)wxLANGUAGE_GUJARATI
));
20747 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)wxLANGUAGE_HAUSA
));
20748 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)wxLANGUAGE_HEBREW
));
20749 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)wxLANGUAGE_HINDI
));
20750 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)wxLANGUAGE_HUNGARIAN
));
20751 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)wxLANGUAGE_ICELANDIC
));
20752 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)wxLANGUAGE_INDONESIAN
));
20753 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)wxLANGUAGE_INTERLINGUA
));
20754 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)wxLANGUAGE_INTERLINGUE
));
20755 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)wxLANGUAGE_INUKTITUT
));
20756 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)wxLANGUAGE_INUPIAK
));
20757 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)wxLANGUAGE_IRISH
));
20758 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)wxLANGUAGE_ITALIAN
));
20759 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)wxLANGUAGE_ITALIAN_SWISS
));
20760 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)wxLANGUAGE_JAPANESE
));
20761 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)wxLANGUAGE_JAVANESE
));
20762 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)wxLANGUAGE_KANNADA
));
20763 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)wxLANGUAGE_KASHMIRI
));
20764 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)wxLANGUAGE_KASHMIRI_INDIA
));
20765 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)wxLANGUAGE_KAZAKH
));
20766 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)wxLANGUAGE_KERNEWEK
));
20767 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)wxLANGUAGE_KINYARWANDA
));
20768 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)wxLANGUAGE_KIRGHIZ
));
20769 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)wxLANGUAGE_KIRUNDI
));
20770 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)wxLANGUAGE_KONKANI
));
20771 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)wxLANGUAGE_KOREAN
));
20772 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)wxLANGUAGE_KURDISH
));
20773 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)wxLANGUAGE_LAOTHIAN
));
20774 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)wxLANGUAGE_LATIN
));
20775 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)wxLANGUAGE_LATVIAN
));
20776 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)wxLANGUAGE_LINGALA
));
20777 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)wxLANGUAGE_LITHUANIAN
));
20778 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)wxLANGUAGE_MACEDONIAN
));
20779 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)wxLANGUAGE_MALAGASY
));
20780 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)wxLANGUAGE_MALAY
));
20781 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)wxLANGUAGE_MALAYALAM
));
20782 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
20783 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)wxLANGUAGE_MALAY_MALAYSIA
));
20784 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)wxLANGUAGE_MALTESE
));
20785 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)wxLANGUAGE_MANIPURI
));
20786 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)wxLANGUAGE_MAORI
));
20787 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)wxLANGUAGE_MARATHI
));
20788 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)wxLANGUAGE_MOLDAVIAN
));
20789 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)wxLANGUAGE_MONGOLIAN
));
20790 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)wxLANGUAGE_NAURU
));
20791 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)wxLANGUAGE_NEPALI
));
20792 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)wxLANGUAGE_NEPALI_INDIA
));
20793 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
20794 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
20795 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)wxLANGUAGE_OCCITAN
));
20796 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)wxLANGUAGE_ORIYA
));
20797 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)wxLANGUAGE_OROMO
));
20798 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)wxLANGUAGE_PASHTO
));
20799 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)wxLANGUAGE_POLISH
));
20800 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE
));
20801 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
20802 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)wxLANGUAGE_PUNJABI
));
20803 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)wxLANGUAGE_QUECHUA
));
20804 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)wxLANGUAGE_RHAETO_ROMANCE
));
20805 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)wxLANGUAGE_ROMANIAN
));
20806 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)wxLANGUAGE_RUSSIAN
));
20807 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
20808 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)wxLANGUAGE_SAMOAN
));
20809 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)wxLANGUAGE_SANGHO
));
20810 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)wxLANGUAGE_SANSKRIT
));
20811 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)wxLANGUAGE_SCOTS_GAELIC
));
20812 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)wxLANGUAGE_SERBIAN
));
20813 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
20814 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)wxLANGUAGE_SERBIAN_LATIN
));
20815 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)wxLANGUAGE_SERBO_CROATIAN
));
20816 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)wxLANGUAGE_SESOTHO
));
20817 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)wxLANGUAGE_SETSWANA
));
20818 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)wxLANGUAGE_SHONA
));
20819 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)wxLANGUAGE_SINDHI
));
20820 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)wxLANGUAGE_SINHALESE
));
20821 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)wxLANGUAGE_SISWATI
));
20822 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)wxLANGUAGE_SLOVAK
));
20823 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)wxLANGUAGE_SLOVENIAN
));
20824 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)wxLANGUAGE_SOMALI
));
20825 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)wxLANGUAGE_SPANISH
));
20826 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)wxLANGUAGE_SPANISH_ARGENTINA
));
20827 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_BOLIVIA
));
20828 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)wxLANGUAGE_SPANISH_CHILE
));
20829 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COLOMBIA
));
20830 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
20831 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
20832 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_ECUADOR
));
20833 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
20834 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)wxLANGUAGE_SPANISH_GUATEMALA
));
20835 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)wxLANGUAGE_SPANISH_HONDURAS
));
20836 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MEXICAN
));
20837 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MODERN
));
20838 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)wxLANGUAGE_SPANISH_NICARAGUA
));
20839 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)wxLANGUAGE_SPANISH_PANAMA
));
20840 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_PARAGUAY
));
20841 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)wxLANGUAGE_SPANISH_PERU
));
20842 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
20843 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_URUGUAY
));
20844 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)wxLANGUAGE_SPANISH_US
));
20845 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)wxLANGUAGE_SPANISH_VENEZUELA
));
20846 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)wxLANGUAGE_SUNDANESE
));
20847 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)wxLANGUAGE_SWAHILI
));
20848 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)wxLANGUAGE_SWEDISH
));
20849 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)wxLANGUAGE_SWEDISH_FINLAND
));
20850 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)wxLANGUAGE_TAGALOG
));
20851 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)wxLANGUAGE_TAJIK
));
20852 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)wxLANGUAGE_TAMIL
));
20853 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)wxLANGUAGE_TATAR
));
20854 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)wxLANGUAGE_TELUGU
));
20855 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)wxLANGUAGE_THAI
));
20856 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)wxLANGUAGE_TIBETAN
));
20857 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)wxLANGUAGE_TIGRINYA
));
20858 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)wxLANGUAGE_TONGA
));
20859 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)wxLANGUAGE_TSONGA
));
20860 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)wxLANGUAGE_TURKISH
));
20861 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)wxLANGUAGE_TURKMEN
));
20862 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)wxLANGUAGE_TWI
));
20863 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)wxLANGUAGE_UIGHUR
));
20864 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)wxLANGUAGE_UKRAINIAN
));
20865 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)wxLANGUAGE_URDU
));
20866 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)wxLANGUAGE_URDU_INDIA
));
20867 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)wxLANGUAGE_URDU_PAKISTAN
));
20868 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)wxLANGUAGE_UZBEK
));
20869 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_UZBEK_CYRILLIC
));
20870 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)wxLANGUAGE_UZBEK_LATIN
));
20871 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)wxLANGUAGE_VIETNAMESE
));
20872 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)wxLANGUAGE_VOLAPUK
));
20873 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)wxLANGUAGE_WELSH
));
20874 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)wxLANGUAGE_WOLOF
));
20875 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)wxLANGUAGE_XHOSA
));
20876 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)wxLANGUAGE_YIDDISH
));
20877 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)wxLANGUAGE_YORUBA
));
20878 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)wxLANGUAGE_ZHUANG
));
20879 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)wxLANGUAGE_ZULU
));
20880 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)wxLANGUAGE_USER_DEFINED
));
20881 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)wxLOCALE_CAT_NUMBER
));
20882 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)wxLOCALE_CAT_DATE
));
20883 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)wxLOCALE_CAT_MONEY
));
20884 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)wxLOCALE_CAT_MAX
));
20885 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)wxLOCALE_THOUSANDS_SEP
));
20886 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)wxLOCALE_DECIMAL_POINT
));
20887 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)wxLOCALE_LOAD_DEFAULT
));
20888 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)wxLOCALE_CONV_ENCODING
));
20889 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)wxCONVERT_STRICT
));
20890 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)wxCONVERT_SUBSTITUTE
));
20891 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)wxPLATFORM_CURRENT
));
20892 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)wxPLATFORM_UNIX
));
20893 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)wxPLATFORM_WINDOWS
));
20894 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)wxPLATFORM_OS2
));
20895 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)wxPLATFORM_MAC
));
20896 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)wxIMAGELIST_DRAW_NORMAL
));
20897 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)wxIMAGELIST_DRAW_TRANSPARENT
));
20898 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)wxIMAGELIST_DRAW_SELECTED
));
20899 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)wxIMAGELIST_DRAW_FOCUSED
));
20900 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)wxIMAGE_LIST_NORMAL
));
20901 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)wxIMAGE_LIST_SMALL
));
20902 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)wxIMAGE_LIST_STATE
));
20903 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
20904 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
20905 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
20906 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
20907 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
20908 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
20909 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
20910 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
20911 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
20912 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
20913 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
20914 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
20915 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
20916 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
20917 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
20918 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
20919 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
20920 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
20921 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
20922 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
20923 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
20924 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
20925 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
20926 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
20927 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
20928 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
20929 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
20930 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
20931 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
20932 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
20933 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
20934 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
20935 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
20936 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
20937 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
20938 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
20939 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
20940 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
20941 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
20942 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
20943 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
20944 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
20945 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
20946 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
20947 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
20948 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
20949 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
20951 // Work around a chicken/egg problem in drawlist.cpp
20952 wxPyDrawList_SetAPIPtr();