1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
212 #define SWIGTYPE_p_wxBrush swig_types[1]
213 #define SWIGTYPE_p_wxColour swig_types[2]
214 #define SWIGTYPE_p_wxDC swig_types[3]
215 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
216 #define SWIGTYPE_p_byte swig_types[5]
217 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
218 #define SWIGTYPE_p_char swig_types[7]
219 #define SWIGTYPE_p_wxIconLocation swig_types[8]
220 #define SWIGTYPE_p_wxImage swig_types[9]
221 #define SWIGTYPE_p_wxMetaFileDC swig_types[10]
222 #define SWIGTYPE_p_wxMask swig_types[11]
223 #define SWIGTYPE_p_wxSize swig_types[12]
224 #define SWIGTYPE_p_wxFont swig_types[13]
225 #define SWIGTYPE_p_wxWindow swig_types[14]
226 #define SWIGTYPE_p_double swig_types[15]
227 #define SWIGTYPE_p_wxMemoryDC swig_types[16]
228 #define SWIGTYPE_p_wxFontMapper swig_types[17]
229 #define SWIGTYPE_p_wxEffects swig_types[18]
230 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]
231 #define SWIGTYPE_p_wxPalette swig_types[20]
232 #define SWIGTYPE_p_wxBitmap swig_types[21]
233 #define SWIGTYPE_p_wxObject swig_types[22]
234 #define SWIGTYPE_p_wxRegionIterator swig_types[23]
235 #define SWIGTYPE_p_wxRect swig_types[24]
236 #define SWIGTYPE_p_wxString swig_types[25]
237 #define SWIGTYPE_p_wxPrinterDC swig_types[26]
238 #define SWIGTYPE_p_wxIconBundle swig_types[27]
239 #define SWIGTYPE_p_wxPoint swig_types[28]
240 #define SWIGTYPE_p_wxDash swig_types[29]
241 #define SWIGTYPE_p_wxScreenDC swig_types[30]
242 #define SWIGTYPE_p_wxCursor swig_types[31]
243 #define SWIGTYPE_p_wxClientDC swig_types[32]
244 #define SWIGTYPE_p_wxBufferedDC swig_types[33]
245 #define SWIGTYPE_p_wxImageList swig_types[34]
246 #define SWIGTYPE_p_unsigned_char swig_types[35]
247 #define SWIGTYPE_p_wxGDIObject swig_types[36]
248 #define SWIGTYPE_p_wxIcon swig_types[37]
249 #define SWIGTYPE_p_wxLocale swig_types[38]
250 #define SWIGTYPE_p_wxRegion swig_types[39]
251 #define SWIGTYPE_p_wxLanguageInfo swig_types[40]
252 #define SWIGTYPE_p_wxConfigBase swig_types[41]
253 #define SWIGTYPE_p_wxWindowDC swig_types[42]
254 #define SWIGTYPE_p_wxPrintData swig_types[43]
255 #define SWIGTYPE_p_wxBrushList swig_types[44]
256 #define SWIGTYPE_p_wxFontList swig_types[45]
257 #define SWIGTYPE_p_wxPen swig_types[46]
258 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[47]
259 #define SWIGTYPE_p_wxPaintDC swig_types[48]
260 #define SWIGTYPE_p_wxPenList swig_types[49]
261 #define SWIGTYPE_p_int swig_types[50]
262 #define SWIGTYPE_p_wxMetaFile swig_types[51]
263 #define SWIGTYPE_p_wxNativeFontInfo swig_types[52]
264 #define SWIGTYPE_p_wxEncodingConverter swig_types[53]
265 #define SWIGTYPE_p_wxColourDatabase swig_types[54]
266 static swig_type_info
*swig_types
[56];
268 /* -------- TYPES TABLE (END) -------- */
271 /*-----------------------------------------------
273 ------------------------------------------------*/
274 #define SWIG_init init_gdi_
276 #define SWIG_name "_gdi_"
278 /* Auxiliar swig macros that appear in the header */
280 #define SWIG_OLDOBJ 1
281 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
282 #define SWIG_PYSTR SWIG_NEWOBJ + 1
285 #define SWIGSTATICINLINE(a) static inline a
286 #define SWIGSTATIC(a) static a
287 #define swig_new_array(size,Type) (new Type[(size)])
288 #define swig_delete(cptr) delete cptr
289 #define swig_delete_array(cptr) delete[] cptr
290 #define swig_const_cast(a,Type) const_cast<Type >(a)
291 #define swig_static_cast(a,Type) static_cast<Type >(a)
292 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
293 #define swig_new_copy(ptr,Type) (new Type(*ptr))
294 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
298 #define SWIGSTATICINLINE(a) static a
299 #define SWIGSTATIC(a) static a
300 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
301 #define swig_delete(cptr) free((char*)cptr)
302 #define swig_delete_array(cptr) free((char*)cptr)
303 #define swig_const_cast(a,Type) (Type)(a)
304 #define swig_static_cast(a,Type) (Type)(a)
305 #define swig_reinterpret_cast(a,Type) (Type)(a)
306 #define swig_numeric_cast(a,Type) (Type)(a)
307 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
309 #endif /* __cplusplus */
312 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
313 #define SWIG_From_signed_SS_char PyInt_FromLong
315 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
316 #define SWIG_From_unsigned_SS_char PyInt_FromLong
318 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
319 #define SWIG_From_short PyInt_FromLong
321 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
322 #define SWIG_From_unsigned_SS_short PyInt_FromLong
324 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
325 #define SWIG_From_int PyInt_FromLong
327 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
328 #define SWIG_From_long PyInt_FromLong
330 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
331 #define SWIG_From_float PyFloat_FromDouble
333 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
334 #define SWIG_From_double PyFloat_FromDouble
338 #include "wx/wxPython/wxPython.h"
339 #include "wx/wxPython/pyclasses.h"
342 static const wxString
wxPyEmptyString(wxEmptyString
);
347 SWIGSTATICINLINE(int)
348 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
351 if (value
< min_value
) {
353 PyErr_Format(PyExc_OverflowError
,
354 "value %ld is less than '%s' minimum %ld",
355 value
, errmsg
, min_value
);
358 } else if (value
> max_value
) {
360 PyErr_Format(PyExc_OverflowError
,
361 "value %ld is greater than '%s' maximum %ld",
362 value
, errmsg
, max_value
);
370 // See my_fragments.i
371 SWIGSTATICINLINE(int)
372 SWIG_AsVal_long(PyObject
* obj
, long* val
)
374 if (PyNumber_Check(obj
)) {
375 if (val
) *val
= PyInt_AsLong(obj
);
379 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
380 obj
->ob_type
->tp_name
);
381 PyErr_SetObject(PyExc_TypeError
, errmsg
);
388 #if INT_MAX != LONG_MAX
389 SWIGSTATICINLINE(int)
390 SWIG_AsVal_int(PyObject
*obj
, int *val
)
392 const char* errmsg
= val
? "int" : 0;
394 if (SWIG_AsVal_long(obj
, &v
)) {
395 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
396 if (val
) *val
= swig_numeric_cast(v
, int);
405 PyErr_SetString(PyExc_TypeError
, "an int is expected");
410 SWIGSTATICINLINE(int)
411 SWIG_AsVal_int(PyObject
*obj
, int *val
)
413 return SWIG_AsVal_long(obj
,(long*)val
);
418 SWIGSTATICINLINE(int)
419 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
421 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
422 if (obj
== Py_True
) {
423 if (val
) *val
= true;
426 if (obj
== Py_False
) {
427 if (val
) *val
= false;
431 if (SWIG_AsVal_int(obj
, &res
)) {
432 if (val
) *val
= (bool)res
;
436 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
442 SWIGSTATICINLINE(bool)
443 SWIG_As_bool(PyObject
* obj
)
446 if (!SWIG_AsVal_bool(obj
, &v
)) {
448 this is needed to make valgrind/purify happier. the other
449 solution is throw an exception, but since this code should work
452 memset((void*)&v
, 0, sizeof(bool));
458 SWIGSTATICINLINE(int)
459 SWIG_Check_bool(PyObject
* obj
)
461 return SWIG_AsVal_bool(obj
, (bool*)0);
465 // See my_fragments.i
466 SWIGSTATICINLINE(int)
467 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
470 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
471 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
475 *val
= (unsigned long)v
;
480 SWIGSTATICINLINE(int)
481 SWIG_CheckUnsignedLongInRange(unsigned long value
,
482 unsigned long max_value
,
485 if (value
> max_value
) {
487 PyErr_Format(PyExc_OverflowError
,
488 "value %ld is greater than '%s' minimum %ld",
489 value
, errmsg
, max_value
);
497 SWIGSTATICINLINE(int)
498 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
500 const char* errmsg
= val
? "unsigned char" : 0;
502 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
503 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
504 if (val
) *val
= swig_numeric_cast(v
, unsigned char);
513 PyErr_SetString(PyExc_TypeError
, "an unsigned char is expected");
519 SWIGSTATICINLINE(unsigned char)
520 SWIG_As_unsigned_SS_char(PyObject
* obj
)
523 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
525 this is needed to make valgrind/purify happier. the other
526 solution is throw an exception, but since this code should work
529 memset((void*)&v
, 0, sizeof(unsigned char));
535 SWIGSTATICINLINE(int)
536 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
538 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
542 SWIGSTATICINLINE(unsigned long)
543 SWIG_As_unsigned_SS_long(PyObject
* obj
)
546 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
548 this is needed to make valgrind/purify happier. the other
549 solution is throw an exception, but since this code should work
552 memset((void*)&v
, 0, sizeof(unsigned long));
558 SWIGSTATICINLINE(int)
559 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
561 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
564 PyObject
*wxColour_Get(wxColour
*self
){
565 PyObject
* rv
= PyTuple_New(3);
571 green
= self
->Green();
574 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
575 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
576 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
579 unsigned long wxColour_GetRGB(wxColour
*self
){
580 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
583 SWIGSTATICINLINE(PyObject
* )
584 SWIG_From_unsigned_SS_long(unsigned long value
)
586 return (value
> LONG_MAX
) ?
587 PyLong_FromUnsignedLong(value
)
588 : PyInt_FromLong(swig_numeric_cast(value
,long));
592 SWIGSTATICINLINE(int)
593 SWIG_As_int(PyObject
* obj
)
596 if (!SWIG_AsVal_int(obj
, &v
)) {
598 this is needed to make valgrind/purify happier. the other
599 solution is throw an exception, but since this code should work
602 memset((void*)&v
, 0, sizeof(int));
608 SWIGSTATICINLINE(int)
609 SWIG_Check_int(PyObject
* obj
)
611 return SWIG_AsVal_int(obj
, (int*)0);
615 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
621 } else if (target
== Py_None
) {
626 target
= PyTuple_New(1);
627 PyTuple_SetItem(target
, 0, o2
);
630 PyTuple_SetItem(o3
, 0, o
);
633 target
= PySequence_Concat(o2
, o3
);
641 PyObject
*wxPen_GetDashes(wxPen
*self
){
643 int count
= self
->GetDashes(&dashes
);
644 bool blocked
= wxPyBeginBlockThreads();
645 PyObject
* retval
= PyList_New(0);
646 for (int x
=0; x
<count
; x
++) {
647 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
648 PyList_Append(retval
, pyint
);
651 wxPyEndBlockThreads(blocked
);
654 void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
655 bool blocked
= wxPyBeginBlockThreads();
656 int size
= PyList_Size(pyDashes
);
657 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
659 // black magic warning! The array of wxDashes needs to exist as
660 // long as the pen does because wxPen does not copy the array. So
661 // stick a copy in a Python string object and attach it to _self,
662 // and then call SetDashes with a pointer to that array. Then
663 // when the Python pen object is destroyed the array will be
665 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
666 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
668 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
670 Py_DECREF(strDashes
);
671 wxPyEndBlockThreads(blocked
);
673 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : False
; }
674 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : True
; }
676 #include <wx/image.h>
678 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
679 char** cArray
= NULL
;
682 if (!PyList_Check(listOfStrings
)) {
683 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
686 count
= PyList_Size(listOfStrings
);
687 cArray
= new char*[count
];
689 for(int x
=0; x
<count
; x
++) {
690 // TODO: Need some validation and error checking here
691 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
697 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
698 char** cArray
= NULL
;
701 cArray
= ConvertListOfStrings(listOfStrings
);
704 bmp
= new wxBitmap(cArray
);
708 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
711 PyString_AsStringAndSize(bits
, &buf
, &length
);
712 return new wxBitmap(buf
, width
, height
, depth
);
714 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
715 wxSize
size(self
->GetWidth(), self
->GetHeight());
718 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
719 wxMask
*mask
= new wxMask(*self
, colour
);
722 void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
723 self
->SetWidth(size
.x
);
724 self
->SetHeight(size
.y
);
726 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : False
; }
727 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : True
; }
728 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
730 return new wxMask(bitmap
, *wxBLACK
);
732 return new wxMask(bitmap
, colour
);
735 #include <wx/iconbndl.h>
737 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
738 wxIcon
* icon
= new wxIcon();
739 icon
->CopyFromBitmap(bmp
);
742 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
743 char** cArray
= NULL
;
746 cArray
= ConvertListOfStrings(listOfStrings
);
749 icon
= new wxIcon(cArray
);
753 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
757 return new wxIconLocation(*filename
);
760 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
767 int wxIconLocation_GetIndex(wxIconLocation
*self
){
775 SWIGSTATICINLINE(long)
776 SWIG_As_long(PyObject
* obj
)
779 if (!SWIG_AsVal_long(obj
, &v
)) {
781 this is needed to make valgrind/purify happier. the other
782 solution is throw an exception, but since this code should work
785 memset((void*)&v
, 0, sizeof(long));
791 SWIGSTATICINLINE(int)
792 SWIG_Check_long(PyObject
* obj
)
794 return SWIG_AsVal_long(obj
, (long*)0);
797 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
799 wxCHECK_MSG(False
, NULL
,
800 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
802 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
807 void wxRegionIterator_Next(wxRegionIterator
*self
){
810 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
811 return self
->operator bool();
814 #include <wx/fontutil.h>
815 #include <wx/fontmap.h>
816 #include <wx/fontenum.h>
818 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
819 return self
->ToString();
822 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
823 static wxNativeEncodingInfo info
;
824 if ( wxGetNativeFontEncoding(encoding
, &info
) )
830 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
831 wxFontEncoding alt_enc
;
832 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
833 return PyInt_FromLong(alt_enc
);
839 wxFont
*new_wxFont(wxString
const &info
){
840 wxNativeFontInfo nfi
;
841 nfi
.FromString(info
);
842 return new wxFont(nfi
);
844 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
845 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
847 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
848 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
850 class wxPyFontEnumerator
: public wxFontEnumerator
{
852 wxPyFontEnumerator() {}
853 ~wxPyFontEnumerator() {}
855 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
856 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
861 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
862 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
865 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
866 wxArrayString
* arr
= self
->GetEncodings();
868 return wxArrayString2PyList_helper(*arr
);
870 return PyList_New(0);
872 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
873 wxArrayString
* arr
= self
->GetFacenames();
875 return wxArrayString2PyList_helper(*arr
);
877 return PyList_New(0);
881 wxLocale
*new_wxLocale(int language
,int flags
){
883 return new wxLocale();
885 return new wxLocale(language
, flags
);
888 #include "wx/wxPython/pydrawxxx.h"
890 wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
892 self
->GetPixel(x
, y
, &col
);
895 wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
897 self
->GetPixel(pt
, &col
);
901 // See my_fragments.i
902 SWIGSTATICINLINE(int)
903 SWIG_AsVal_double(PyObject
*obj
, double* val
)
905 if (PyNumber_Check(obj
)) {
906 if (val
) *val
= PyFloat_AsDouble(obj
);
910 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
911 obj
->ob_type
->tp_name
);
912 PyErr_SetObject(PyExc_TypeError
, errmsg
);
919 SWIGSTATICINLINE(double)
920 SWIG_As_double(PyObject
* obj
)
923 if (!SWIG_AsVal_double(obj
, &v
)) {
925 this is needed to make valgrind/purify happier. the other
926 solution is throw an exception, but since this code should work
929 memset((void*)&v
, 0, sizeof(double));
935 SWIGSTATICINLINE(int)
936 SWIG_Check_double(PyObject
* obj
)
938 return SWIG_AsVal_double(obj
, (double*)0);
941 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
943 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
947 wxRect
wxDC_GetClippingRect(wxDC
*self
){
949 self
->GetClippingBox(rect
);
952 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
954 self
->GetPartialTextExtents(text
, widths
);
958 void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
959 self
->SetLogicalOrigin(point
.x
, point
.y
);
961 void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
962 self
->SetDeviceOrigin(point
.x
, point
.y
);
964 void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
965 self
->CalcBoundingBox(point
.x
, point
.y
);
967 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
968 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
970 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
971 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
973 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
974 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
976 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
977 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
979 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
980 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
982 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
983 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
986 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
994 #include <wx/dcbuffer.h>
1000 class wxMetaFile
: public wxObject
{
1002 wxMetaFile(const wxString
&)
1003 { wxPyRaiseNotImplemented(); }
1006 class wxMetaFileDC
: public wxClientDC
{
1008 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
1009 { wxPyRaiseNotImplemented(); }
1014 class wxPrinterDC
: public wxClientDC
{
1016 wxPrinterDC(const wxPrintData
&)
1017 { wxPyRaiseNotImplemented(); }
1019 // wxPrinterDC(const wxString&, const wxString&, const wxString&, bool, int)
1020 // { wxPyRaiseNotImplemented(); }
1025 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
1026 self
->AddColour(name
, wxColour(red
, green
, blue
));
1029 #include <wx/effects.h>
1034 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1035 PyObject
*resultobj
;
1036 wxGDIObject
*result
;
1041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
1043 if (!wxPyCheckForApp()) SWIG_fail
;
1044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1045 result
= (wxGDIObject
*)new wxGDIObject();
1047 wxPyEndAllowThreads(__tstate
);
1048 if (PyErr_Occurred()) SWIG_fail
;
1050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
1057 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1058 PyObject
*resultobj
;
1059 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1060 PyObject
* obj0
= 0 ;
1062 (char *) "self", NULL
1065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
1066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1072 wxPyEndAllowThreads(__tstate
);
1073 if (PyErr_Occurred()) SWIG_fail
;
1075 Py_INCREF(Py_None
); resultobj
= Py_None
;
1082 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1083 PyObject
*resultobj
;
1084 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1086 PyObject
* obj0
= 0 ;
1088 (char *) "self", NULL
1091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
1092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1096 result
= (bool)(arg1
)->GetVisible();
1098 wxPyEndAllowThreads(__tstate
);
1099 if (PyErr_Occurred()) SWIG_fail
;
1102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1110 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1111 PyObject
*resultobj
;
1112 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1114 PyObject
* obj0
= 0 ;
1115 PyObject
* obj1
= 0 ;
1117 (char *) "self",(char *) "visible", NULL
1120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
1121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1123 arg2
= (bool)SWIG_As_bool(obj1
);
1124 if (PyErr_Occurred()) SWIG_fail
;
1126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1127 (arg1
)->SetVisible(arg2
);
1129 wxPyEndAllowThreads(__tstate
);
1130 if (PyErr_Occurred()) SWIG_fail
;
1132 Py_INCREF(Py_None
); resultobj
= Py_None
;
1139 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1140 PyObject
*resultobj
;
1141 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1143 PyObject
* obj0
= 0 ;
1145 (char *) "self", NULL
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1153 result
= (bool)(arg1
)->IsNull();
1155 wxPyEndAllowThreads(__tstate
);
1156 if (PyErr_Occurred()) SWIG_fail
;
1159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1167 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
1169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1170 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1172 return Py_BuildValue((char *)"");
1174 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1175 PyObject
*resultobj
;
1176 byte arg1
= (byte
) 0 ;
1177 byte arg2
= (byte
) 0 ;
1178 byte arg3
= (byte
) 0 ;
1180 PyObject
* obj0
= 0 ;
1181 PyObject
* obj1
= 0 ;
1182 PyObject
* obj2
= 0 ;
1184 (char *) "red",(char *) "green",(char *) "blue", NULL
1187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1189 arg1
= (byte
)SWIG_As_unsigned_SS_char(obj0
);
1190 if (PyErr_Occurred()) SWIG_fail
;
1193 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1194 if (PyErr_Occurred()) SWIG_fail
;
1197 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1198 if (PyErr_Occurred()) SWIG_fail
;
1201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1202 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1204 wxPyEndAllowThreads(__tstate
);
1205 if (PyErr_Occurred()) SWIG_fail
;
1207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1214 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1215 PyObject
*resultobj
;
1216 wxString
*arg1
= 0 ;
1218 bool temp1
= False
;
1219 PyObject
* obj0
= 0 ;
1221 (char *) "colorName", NULL
1224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1226 arg1
= wxString_in_helper(obj0
);
1227 if (arg1
== NULL
) SWIG_fail
;
1231 if (!wxPyCheckForApp()) SWIG_fail
;
1232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1233 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1235 wxPyEndAllowThreads(__tstate
);
1236 if (PyErr_Occurred()) SWIG_fail
;
1238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1253 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1254 PyObject
*resultobj
;
1255 unsigned long arg1
;
1257 PyObject
* obj0
= 0 ;
1259 (char *) "colRGB", NULL
1262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1263 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
1264 if (PyErr_Occurred()) SWIG_fail
;
1266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1267 result
= (wxColour
*)new wxColour(arg1
);
1269 wxPyEndAllowThreads(__tstate
);
1270 if (PyErr_Occurred()) SWIG_fail
;
1272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1279 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1280 PyObject
*resultobj
;
1281 wxColour
*arg1
= (wxColour
*) 0 ;
1282 PyObject
* obj0
= 0 ;
1284 (char *) "self", NULL
1287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1294 wxPyEndAllowThreads(__tstate
);
1295 if (PyErr_Occurred()) SWIG_fail
;
1297 Py_INCREF(Py_None
); resultobj
= Py_None
;
1304 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1305 PyObject
*resultobj
;
1306 wxColour
*arg1
= (wxColour
*) 0 ;
1308 PyObject
* obj0
= 0 ;
1310 (char *) "self", NULL
1313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1318 result
= (byte
)(arg1
)->Red();
1320 wxPyEndAllowThreads(__tstate
);
1321 if (PyErr_Occurred()) SWIG_fail
;
1323 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1330 static PyObject
*_wrap_Colour_Green(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1331 PyObject
*resultobj
;
1332 wxColour
*arg1
= (wxColour
*) 0 ;
1334 PyObject
* obj0
= 0 ;
1336 (char *) "self", NULL
1339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1344 result
= (byte
)(arg1
)->Green();
1346 wxPyEndAllowThreads(__tstate
);
1347 if (PyErr_Occurred()) SWIG_fail
;
1349 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1356 static PyObject
*_wrap_Colour_Blue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1357 PyObject
*resultobj
;
1358 wxColour
*arg1
= (wxColour
*) 0 ;
1360 PyObject
* obj0
= 0 ;
1362 (char *) "self", NULL
1365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1370 result
= (byte
)(arg1
)->Blue();
1372 wxPyEndAllowThreads(__tstate
);
1373 if (PyErr_Occurred()) SWIG_fail
;
1375 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1382 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1383 PyObject
*resultobj
;
1384 wxColour
*arg1
= (wxColour
*) 0 ;
1386 PyObject
* obj0
= 0 ;
1388 (char *) "self", NULL
1391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1396 result
= (bool)(arg1
)->Ok();
1398 wxPyEndAllowThreads(__tstate
);
1399 if (PyErr_Occurred()) SWIG_fail
;
1402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1410 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1411 PyObject
*resultobj
;
1412 wxColour
*arg1
= (wxColour
*) 0 ;
1416 PyObject
* obj0
= 0 ;
1417 PyObject
* obj1
= 0 ;
1418 PyObject
* obj2
= 0 ;
1419 PyObject
* obj3
= 0 ;
1421 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1427 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1428 if (PyErr_Occurred()) SWIG_fail
;
1429 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1430 if (PyErr_Occurred()) SWIG_fail
;
1431 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
1432 if (PyErr_Occurred()) SWIG_fail
;
1434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1435 (arg1
)->Set(arg2
,arg3
,arg4
);
1437 wxPyEndAllowThreads(__tstate
);
1438 if (PyErr_Occurred()) SWIG_fail
;
1440 Py_INCREF(Py_None
); resultobj
= Py_None
;
1447 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1448 PyObject
*resultobj
;
1449 wxColour
*arg1
= (wxColour
*) 0 ;
1450 unsigned long arg2
;
1451 PyObject
* obj0
= 0 ;
1452 PyObject
* obj1
= 0 ;
1454 (char *) "self",(char *) "colRGB", NULL
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1460 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
1461 if (PyErr_Occurred()) SWIG_fail
;
1463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1466 wxPyEndAllowThreads(__tstate
);
1467 if (PyErr_Occurred()) SWIG_fail
;
1469 Py_INCREF(Py_None
); resultobj
= Py_None
;
1476 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1477 PyObject
*resultobj
;
1478 wxColour
*arg1
= (wxColour
*) 0 ;
1479 wxString
*arg2
= 0 ;
1480 bool temp2
= False
;
1481 PyObject
* obj0
= 0 ;
1482 PyObject
* obj1
= 0 ;
1484 (char *) "self",(char *) "colourName", NULL
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1491 arg2
= wxString_in_helper(obj1
);
1492 if (arg2
== NULL
) SWIG_fail
;
1496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1497 (arg1
)->InitFromName((wxString
const &)*arg2
);
1499 wxPyEndAllowThreads(__tstate
);
1500 if (PyErr_Occurred()) SWIG_fail
;
1502 Py_INCREF(Py_None
); resultobj
= Py_None
;
1517 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1518 PyObject
*resultobj
;
1519 wxColour
*arg1
= (wxColour
*) 0 ;
1521 PyObject
* obj0
= 0 ;
1523 (char *) "self", NULL
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1531 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1533 wxPyEndAllowThreads(__tstate
);
1534 if (PyErr_Occurred()) SWIG_fail
;
1536 resultobj
= SWIG_From_long((long)result
);
1543 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1544 PyObject
*resultobj
;
1545 wxColour
*arg1
= (wxColour
*) 0 ;
1546 wxColour
*arg2
= 0 ;
1549 PyObject
* obj0
= 0 ;
1550 PyObject
* obj1
= 0 ;
1552 (char *) "self",(char *) "colour", NULL
1555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1560 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1564 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1566 wxPyEndAllowThreads(__tstate
);
1567 if (PyErr_Occurred()) SWIG_fail
;
1570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1578 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1579 PyObject
*resultobj
;
1580 wxColour
*arg1
= (wxColour
*) 0 ;
1581 wxColour
*arg2
= 0 ;
1584 PyObject
* obj0
= 0 ;
1585 PyObject
* obj1
= 0 ;
1587 (char *) "self",(char *) "colour", NULL
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1595 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1599 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1601 wxPyEndAllowThreads(__tstate
);
1602 if (PyErr_Occurred()) SWIG_fail
;
1605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1613 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
*resultobj
;
1615 wxColour
*arg1
= (wxColour
*) 0 ;
1617 PyObject
* obj0
= 0 ;
1619 (char *) "self", NULL
1622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1627 result
= (PyObject
*)wxColour_Get(arg1
);
1629 wxPyEndAllowThreads(__tstate
);
1630 if (PyErr_Occurred()) SWIG_fail
;
1639 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1640 PyObject
*resultobj
;
1641 wxColour
*arg1
= (wxColour
*) 0 ;
1642 unsigned long result
;
1643 PyObject
* obj0
= 0 ;
1645 (char *) "self", NULL
1648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1653 result
= (unsigned long)wxColour_GetRGB(arg1
);
1655 wxPyEndAllowThreads(__tstate
);
1656 if (PyErr_Occurred()) SWIG_fail
;
1658 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
1665 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
1667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1668 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1670 return Py_BuildValue((char *)"");
1672 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1673 PyObject
*resultobj
;
1675 unsigned char *arg2
= (unsigned char *) 0 ;
1676 unsigned char *arg3
= (unsigned char *) 0 ;
1677 unsigned char *arg4
= (unsigned char *) 0 ;
1679 PyObject
* obj0
= 0 ;
1680 PyObject
* obj1
= 0 ;
1681 PyObject
* obj2
= 0 ;
1682 PyObject
* obj3
= 0 ;
1684 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1688 arg1
= (int)SWIG_As_int(obj0
);
1689 if (PyErr_Occurred()) SWIG_fail
;
1690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1692 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1694 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1697 if (!wxPyCheckForApp()) SWIG_fail
;
1698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1699 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1701 wxPyEndAllowThreads(__tstate
);
1702 if (PyErr_Occurred()) SWIG_fail
;
1704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1711 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1712 PyObject
*resultobj
;
1713 wxPalette
*arg1
= (wxPalette
*) 0 ;
1714 PyObject
* obj0
= 0 ;
1716 (char *) "self", NULL
1719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1726 wxPyEndAllowThreads(__tstate
);
1727 if (PyErr_Occurred()) SWIG_fail
;
1729 Py_INCREF(Py_None
); resultobj
= Py_None
;
1736 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
*resultobj
;
1738 wxPalette
*arg1
= (wxPalette
*) 0 ;
1743 PyObject
* obj0
= 0 ;
1744 PyObject
* obj1
= 0 ;
1745 PyObject
* obj2
= 0 ;
1746 PyObject
* obj3
= 0 ;
1748 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1754 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1755 if (PyErr_Occurred()) SWIG_fail
;
1756 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1757 if (PyErr_Occurred()) SWIG_fail
;
1758 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
1759 if (PyErr_Occurred()) SWIG_fail
;
1761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1762 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1764 wxPyEndAllowThreads(__tstate
);
1765 if (PyErr_Occurred()) SWIG_fail
;
1767 resultobj
= SWIG_From_int((int)result
);
1774 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
*resultobj
;
1776 wxPalette
*arg1
= (wxPalette
*) 0 ;
1778 byte
*arg3
= (byte
*) 0 ;
1779 byte
*arg4
= (byte
*) 0 ;
1780 byte
*arg5
= (byte
*) 0 ;
1788 PyObject
* obj0
= 0 ;
1789 PyObject
* obj1
= 0 ;
1791 (char *) "self",(char *) "pixel", NULL
1794 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
1795 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
1796 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
1797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1800 arg2
= (int)SWIG_As_int(obj1
);
1801 if (PyErr_Occurred()) SWIG_fail
;
1803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1804 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1806 wxPyEndAllowThreads(__tstate
);
1807 if (PyErr_Occurred()) SWIG_fail
;
1810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1812 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
1813 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
1814 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
1815 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
1816 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
1817 SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_byte
, 0)));
1824 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1825 PyObject
*resultobj
;
1826 wxPalette
*arg1
= (wxPalette
*) 0 ;
1828 PyObject
* obj0
= 0 ;
1830 (char *) "self", NULL
1833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1838 result
= (bool)(arg1
)->Ok();
1840 wxPyEndAllowThreads(__tstate
);
1841 if (PyErr_Occurred()) SWIG_fail
;
1844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1852 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
1854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1855 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1857 return Py_BuildValue((char *)"");
1859 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1860 PyObject
*resultobj
;
1861 wxColour
*arg1
= 0 ;
1862 int arg2
= (int) 1 ;
1863 int arg3
= (int) wxSOLID
;
1866 PyObject
* obj0
= 0 ;
1867 PyObject
* obj1
= 0 ;
1868 PyObject
* obj2
= 0 ;
1870 (char *) "colour",(char *) "width",(char *) "style", NULL
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1876 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1879 arg2
= (int)SWIG_As_int(obj1
);
1880 if (PyErr_Occurred()) SWIG_fail
;
1883 arg3
= (int)SWIG_As_int(obj2
);
1884 if (PyErr_Occurred()) SWIG_fail
;
1887 if (!wxPyCheckForApp()) SWIG_fail
;
1888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1889 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1891 wxPyEndAllowThreads(__tstate
);
1892 if (PyErr_Occurred()) SWIG_fail
;
1894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1901 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
*resultobj
;
1903 wxPen
*arg1
= (wxPen
*) 0 ;
1904 PyObject
* obj0
= 0 ;
1906 (char *) "self", NULL
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1916 wxPyEndAllowThreads(__tstate
);
1917 if (PyErr_Occurred()) SWIG_fail
;
1919 Py_INCREF(Py_None
); resultobj
= Py_None
;
1926 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1927 PyObject
*resultobj
;
1928 wxPen
*arg1
= (wxPen
*) 0 ;
1930 PyObject
* obj0
= 0 ;
1932 (char *) "self", NULL
1935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1940 result
= (int)(arg1
)->GetCap();
1942 wxPyEndAllowThreads(__tstate
);
1943 if (PyErr_Occurred()) SWIG_fail
;
1945 resultobj
= SWIG_From_int((int)result
);
1952 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1953 PyObject
*resultobj
;
1954 wxPen
*arg1
= (wxPen
*) 0 ;
1956 PyObject
* obj0
= 0 ;
1958 (char *) "self", NULL
1961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1966 result
= (arg1
)->GetColour();
1968 wxPyEndAllowThreads(__tstate
);
1969 if (PyErr_Occurred()) SWIG_fail
;
1972 wxColour
* resultptr
;
1973 resultptr
= new wxColour((wxColour
&) result
);
1974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1982 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
*resultobj
;
1984 wxPen
*arg1
= (wxPen
*) 0 ;
1986 PyObject
* obj0
= 0 ;
1988 (char *) "self", NULL
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1996 result
= (int)(arg1
)->GetJoin();
1998 wxPyEndAllowThreads(__tstate
);
1999 if (PyErr_Occurred()) SWIG_fail
;
2001 resultobj
= SWIG_From_int((int)result
);
2008 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2009 PyObject
*resultobj
;
2010 wxPen
*arg1
= (wxPen
*) 0 ;
2012 PyObject
* obj0
= 0 ;
2014 (char *) "self", NULL
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
2018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2022 result
= (int)(arg1
)->GetStyle();
2024 wxPyEndAllowThreads(__tstate
);
2025 if (PyErr_Occurred()) SWIG_fail
;
2027 resultobj
= SWIG_From_int((int)result
);
2034 static PyObject
*_wrap_Pen_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2035 PyObject
*resultobj
;
2036 wxPen
*arg1
= (wxPen
*) 0 ;
2038 PyObject
* obj0
= 0 ;
2040 (char *) "self", NULL
2043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
2044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2048 result
= (int)(arg1
)->GetWidth();
2050 wxPyEndAllowThreads(__tstate
);
2051 if (PyErr_Occurred()) SWIG_fail
;
2053 resultobj
= SWIG_From_int((int)result
);
2060 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
*resultobj
;
2062 wxPen
*arg1
= (wxPen
*) 0 ;
2064 PyObject
* obj0
= 0 ;
2066 (char *) "self", NULL
2069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
2070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2074 result
= (bool)(arg1
)->Ok();
2076 wxPyEndAllowThreads(__tstate
);
2077 if (PyErr_Occurred()) SWIG_fail
;
2080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2088 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2089 PyObject
*resultobj
;
2090 wxPen
*arg1
= (wxPen
*) 0 ;
2092 PyObject
* obj0
= 0 ;
2093 PyObject
* obj1
= 0 ;
2095 (char *) "self",(char *) "cap_style", NULL
2098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
2099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2101 arg2
= (int)SWIG_As_int(obj1
);
2102 if (PyErr_Occurred()) SWIG_fail
;
2104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2105 (arg1
)->SetCap(arg2
);
2107 wxPyEndAllowThreads(__tstate
);
2108 if (PyErr_Occurred()) SWIG_fail
;
2110 Py_INCREF(Py_None
); resultobj
= Py_None
;
2117 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
*resultobj
;
2119 wxPen
*arg1
= (wxPen
*) 0 ;
2120 wxColour
*arg2
= 0 ;
2122 PyObject
* obj0
= 0 ;
2123 PyObject
* obj1
= 0 ;
2125 (char *) "self",(char *) "colour", NULL
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2133 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2137 (arg1
)->SetColour(*arg2
);
2139 wxPyEndAllowThreads(__tstate
);
2140 if (PyErr_Occurred()) SWIG_fail
;
2142 Py_INCREF(Py_None
); resultobj
= Py_None
;
2149 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2150 PyObject
*resultobj
;
2151 wxPen
*arg1
= (wxPen
*) 0 ;
2153 PyObject
* obj0
= 0 ;
2154 PyObject
* obj1
= 0 ;
2156 (char *) "self",(char *) "join_style", NULL
2159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2162 arg2
= (int)SWIG_As_int(obj1
);
2163 if (PyErr_Occurred()) SWIG_fail
;
2165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2166 (arg1
)->SetJoin(arg2
);
2168 wxPyEndAllowThreads(__tstate
);
2169 if (PyErr_Occurred()) SWIG_fail
;
2171 Py_INCREF(Py_None
); resultobj
= Py_None
;
2178 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2179 PyObject
*resultobj
;
2180 wxPen
*arg1
= (wxPen
*) 0 ;
2182 PyObject
* obj0
= 0 ;
2183 PyObject
* obj1
= 0 ;
2185 (char *) "self",(char *) "style", NULL
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2191 arg2
= (int)SWIG_As_int(obj1
);
2192 if (PyErr_Occurred()) SWIG_fail
;
2194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2195 (arg1
)->SetStyle(arg2
);
2197 wxPyEndAllowThreads(__tstate
);
2198 if (PyErr_Occurred()) SWIG_fail
;
2200 Py_INCREF(Py_None
); resultobj
= Py_None
;
2207 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2208 PyObject
*resultobj
;
2209 wxPen
*arg1
= (wxPen
*) 0 ;
2211 PyObject
* obj0
= 0 ;
2212 PyObject
* obj1
= 0 ;
2214 (char *) "self",(char *) "width", NULL
2217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2220 arg2
= (int)SWIG_As_int(obj1
);
2221 if (PyErr_Occurred()) SWIG_fail
;
2223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2224 (arg1
)->SetWidth(arg2
);
2226 wxPyEndAllowThreads(__tstate
);
2227 if (PyErr_Occurred()) SWIG_fail
;
2229 Py_INCREF(Py_None
); resultobj
= Py_None
;
2236 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2237 PyObject
*resultobj
;
2238 wxPen
*arg1
= (wxPen
*) 0 ;
2240 wxDash
*arg3
= (wxDash
*) 0 ;
2241 PyObject
* obj0
= 0 ;
2242 PyObject
* obj1
= 0 ;
2244 (char *) "self",(char *) "dashes", NULL
2247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2251 arg2
= PyList_Size(obj1
);
2252 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2253 if (arg3
== NULL
) SWIG_fail
;
2256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2257 (arg1
)->SetDashes(arg2
,arg3
);
2259 wxPyEndAllowThreads(__tstate
);
2260 if (PyErr_Occurred()) SWIG_fail
;
2262 Py_INCREF(Py_None
); resultobj
= Py_None
;
2264 if (arg3
) delete [] arg3
;
2269 if (arg3
) delete [] arg3
;
2275 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2276 PyObject
*resultobj
;
2277 wxPen
*arg1
= (wxPen
*) 0 ;
2279 PyObject
* obj0
= 0 ;
2281 (char *) "self", NULL
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2289 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2291 wxPyEndAllowThreads(__tstate
);
2292 if (PyErr_Occurred()) SWIG_fail
;
2301 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2302 PyObject
*resultobj
;
2303 wxPen
*arg1
= (wxPen
*) 0 ;
2304 PyObject
*arg2
= (PyObject
*) 0 ;
2305 PyObject
*arg3
= (PyObject
*) 0 ;
2306 PyObject
* obj0
= 0 ;
2307 PyObject
* obj1
= 0 ;
2308 PyObject
* obj2
= 0 ;
2310 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2320 wxPen__SetDashes(arg1
,arg2
,arg3
);
2322 wxPyEndAllowThreads(__tstate
);
2323 if (PyErr_Occurred()) SWIG_fail
;
2325 Py_INCREF(Py_None
); resultobj
= Py_None
;
2332 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2333 PyObject
*resultobj
;
2334 wxPen
*arg1
= (wxPen
*) 0 ;
2336 PyObject
* obj0
= 0 ;
2338 (char *) "self", NULL
2341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2346 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2348 wxPyEndAllowThreads(__tstate
);
2349 if (PyErr_Occurred()) SWIG_fail
;
2351 resultobj
= SWIG_From_int((int)result
);
2358 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2359 PyObject
*resultobj
;
2360 wxPen
*arg1
= (wxPen
*) 0 ;
2361 wxPen
*arg2
= (wxPen
*) 0 ;
2363 PyObject
* obj0
= 0 ;
2364 PyObject
* obj1
= 0 ;
2366 (char *) "self",(char *) "other", NULL
2369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2372 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2376 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2378 wxPyEndAllowThreads(__tstate
);
2379 if (PyErr_Occurred()) SWIG_fail
;
2382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2390 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2391 PyObject
*resultobj
;
2392 wxPen
*arg1
= (wxPen
*) 0 ;
2393 wxPen
*arg2
= (wxPen
*) 0 ;
2395 PyObject
* obj0
= 0 ;
2396 PyObject
* obj1
= 0 ;
2398 (char *) "self",(char *) "other", NULL
2401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2408 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2410 wxPyEndAllowThreads(__tstate
);
2411 if (PyErr_Occurred()) SWIG_fail
;
2414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2422 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
2424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2425 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2427 return Py_BuildValue((char *)"");
2429 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2430 PyObject
*resultobj
;
2431 wxColour
*arg1
= 0 ;
2432 int arg2
= (int) wxSOLID
;
2435 PyObject
* obj0
= 0 ;
2436 PyObject
* obj1
= 0 ;
2438 (char *) "colour",(char *) "style", NULL
2441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2444 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2447 arg2
= (int)SWIG_As_int(obj1
);
2448 if (PyErr_Occurred()) SWIG_fail
;
2451 if (!wxPyCheckForApp()) SWIG_fail
;
2452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2453 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2455 wxPyEndAllowThreads(__tstate
);
2456 if (PyErr_Occurred()) SWIG_fail
;
2458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2465 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2466 PyObject
*resultobj
;
2467 wxBrush
*arg1
= (wxBrush
*) 0 ;
2468 PyObject
* obj0
= 0 ;
2470 (char *) "self", NULL
2473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2480 wxPyEndAllowThreads(__tstate
);
2481 if (PyErr_Occurred()) SWIG_fail
;
2483 Py_INCREF(Py_None
); resultobj
= Py_None
;
2490 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2491 PyObject
*resultobj
;
2492 wxBrush
*arg1
= (wxBrush
*) 0 ;
2493 wxColour
*arg2
= 0 ;
2495 PyObject
* obj0
= 0 ;
2496 PyObject
* obj1
= 0 ;
2498 (char *) "self",(char *) "col", NULL
2501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2506 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2510 (arg1
)->SetColour((wxColour
const &)*arg2
);
2512 wxPyEndAllowThreads(__tstate
);
2513 if (PyErr_Occurred()) SWIG_fail
;
2515 Py_INCREF(Py_None
); resultobj
= Py_None
;
2522 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
*resultobj
;
2524 wxBrush
*arg1
= (wxBrush
*) 0 ;
2526 PyObject
* obj0
= 0 ;
2527 PyObject
* obj1
= 0 ;
2529 (char *) "self",(char *) "style", NULL
2532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2535 arg2
= (int)SWIG_As_int(obj1
);
2536 if (PyErr_Occurred()) SWIG_fail
;
2538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2539 (arg1
)->SetStyle(arg2
);
2541 wxPyEndAllowThreads(__tstate
);
2542 if (PyErr_Occurred()) SWIG_fail
;
2544 Py_INCREF(Py_None
); resultobj
= Py_None
;
2551 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2552 PyObject
*resultobj
;
2553 wxBrush
*arg1
= (wxBrush
*) 0 ;
2554 wxBitmap
*arg2
= 0 ;
2555 PyObject
* obj0
= 0 ;
2556 PyObject
* obj1
= 0 ;
2558 (char *) "self",(char *) "stipple", NULL
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2565 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2568 PyErr_SetString(PyExc_TypeError
,"null reference");
2572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2573 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2575 wxPyEndAllowThreads(__tstate
);
2576 if (PyErr_Occurred()) SWIG_fail
;
2578 Py_INCREF(Py_None
); resultobj
= Py_None
;
2585 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
*resultobj
;
2587 wxBrush
*arg1
= (wxBrush
*) 0 ;
2589 PyObject
* obj0
= 0 ;
2591 (char *) "self", NULL
2594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2599 result
= ((wxBrush
const *)arg1
)->GetColour();
2601 wxPyEndAllowThreads(__tstate
);
2602 if (PyErr_Occurred()) SWIG_fail
;
2605 wxColour
* resultptr
;
2606 resultptr
= new wxColour((wxColour
&) result
);
2607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2615 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2616 PyObject
*resultobj
;
2617 wxBrush
*arg1
= (wxBrush
*) 0 ;
2619 PyObject
* obj0
= 0 ;
2621 (char *) "self", NULL
2624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2629 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2631 wxPyEndAllowThreads(__tstate
);
2632 if (PyErr_Occurred()) SWIG_fail
;
2634 resultobj
= SWIG_From_int((int)result
);
2641 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2642 PyObject
*resultobj
;
2643 wxBrush
*arg1
= (wxBrush
*) 0 ;
2645 PyObject
* obj0
= 0 ;
2647 (char *) "self", NULL
2650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2655 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2657 wxPyEndAllowThreads(__tstate
);
2658 if (PyErr_Occurred()) SWIG_fail
;
2660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2667 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2668 PyObject
*resultobj
;
2669 wxBrush
*arg1
= (wxBrush
*) 0 ;
2671 PyObject
* obj0
= 0 ;
2673 (char *) "self", NULL
2676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2681 result
= (bool)(arg1
)->Ok();
2683 wxPyEndAllowThreads(__tstate
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2695 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
2697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2698 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2700 return Py_BuildValue((char *)"");
2702 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
*resultobj
;
2704 wxString
*arg1
= 0 ;
2705 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2707 bool temp1
= False
;
2708 PyObject
* obj0
= 0 ;
2709 PyObject
* obj1
= 0 ;
2711 (char *) "name",(char *) "type", NULL
2714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2716 arg1
= wxString_in_helper(obj0
);
2717 if (arg1
== NULL
) SWIG_fail
;
2721 arg2
= (int)SWIG_As_int(obj1
);
2722 if (PyErr_Occurred()) SWIG_fail
;
2725 if (!wxPyCheckForApp()) SWIG_fail
;
2726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2727 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2729 wxPyEndAllowThreads(__tstate
);
2730 if (PyErr_Occurred()) SWIG_fail
;
2732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2747 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2748 PyObject
*resultobj
;
2749 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2750 PyObject
* obj0
= 0 ;
2752 (char *) "self", NULL
2755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2762 wxPyEndAllowThreads(__tstate
);
2763 if (PyErr_Occurred()) SWIG_fail
;
2765 Py_INCREF(Py_None
); resultobj
= Py_None
;
2772 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2773 PyObject
*resultobj
;
2776 int arg3
= (int) -1 ;
2778 PyObject
* obj0
= 0 ;
2779 PyObject
* obj1
= 0 ;
2780 PyObject
* obj2
= 0 ;
2782 (char *) "width",(char *) "height",(char *) "depth", NULL
2785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2786 arg1
= (int)SWIG_As_int(obj0
);
2787 if (PyErr_Occurred()) SWIG_fail
;
2788 arg2
= (int)SWIG_As_int(obj1
);
2789 if (PyErr_Occurred()) SWIG_fail
;
2791 arg3
= (int)SWIG_As_int(obj2
);
2792 if (PyErr_Occurred()) SWIG_fail
;
2795 if (!wxPyCheckForApp()) SWIG_fail
;
2796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2797 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2799 wxPyEndAllowThreads(__tstate
);
2800 if (PyErr_Occurred()) SWIG_fail
;
2802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2809 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2810 PyObject
*resultobj
;
2813 PyObject
* obj0
= 0 ;
2815 (char *) "icon", NULL
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2820 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2823 PyErr_SetString(PyExc_TypeError
,"null reference");
2827 if (!wxPyCheckForApp()) SWIG_fail
;
2828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2829 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2831 wxPyEndAllowThreads(__tstate
);
2832 if (PyErr_Occurred()) SWIG_fail
;
2834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2841 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
*resultobj
;
2844 int arg2
= (int) -1 ;
2846 PyObject
* obj0
= 0 ;
2847 PyObject
* obj1
= 0 ;
2849 (char *) "image",(char *) "depth", NULL
2852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2854 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2857 PyErr_SetString(PyExc_TypeError
,"null reference");
2861 arg2
= (int)SWIG_As_int(obj1
);
2862 if (PyErr_Occurred()) SWIG_fail
;
2865 if (!wxPyCheckForApp()) SWIG_fail
;
2866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2867 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2869 wxPyEndAllowThreads(__tstate
);
2870 if (PyErr_Occurred()) SWIG_fail
;
2872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2879 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2880 PyObject
*resultobj
;
2881 PyObject
*arg1
= (PyObject
*) 0 ;
2883 PyObject
* obj0
= 0 ;
2885 (char *) "listOfStrings", NULL
2888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2891 if (!wxPyCheckForApp()) SWIG_fail
;
2892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2893 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2895 wxPyEndAllowThreads(__tstate
);
2896 if (PyErr_Occurred()) SWIG_fail
;
2898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2905 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2906 PyObject
*resultobj
;
2907 PyObject
*arg1
= (PyObject
*) 0 ;
2910 int arg4
= (int) 1 ;
2912 PyObject
* obj0
= 0 ;
2913 PyObject
* obj1
= 0 ;
2914 PyObject
* obj2
= 0 ;
2915 PyObject
* obj3
= 0 ;
2917 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2922 arg2
= (int)SWIG_As_int(obj1
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2924 arg3
= (int)SWIG_As_int(obj2
);
2925 if (PyErr_Occurred()) SWIG_fail
;
2927 arg4
= (int)SWIG_As_int(obj3
);
2928 if (PyErr_Occurred()) SWIG_fail
;
2931 if (!wxPyCheckForApp()) SWIG_fail
;
2932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2933 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2935 wxPyEndAllowThreads(__tstate
);
2936 if (PyErr_Occurred()) SWIG_fail
;
2938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2945 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
*resultobj
;
2947 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2949 PyObject
* obj0
= 0 ;
2951 (char *) "self", NULL
2954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2959 result
= (bool)(arg1
)->Ok();
2961 wxPyEndAllowThreads(__tstate
);
2962 if (PyErr_Occurred()) SWIG_fail
;
2965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2973 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2974 PyObject
*resultobj
;
2975 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2977 PyObject
* obj0
= 0 ;
2979 (char *) "self", NULL
2982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2987 result
= (int)(arg1
)->GetWidth();
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) SWIG_fail
;
2992 resultobj
= SWIG_From_int((int)result
);
2999 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3000 PyObject
*resultobj
;
3001 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3003 PyObject
* obj0
= 0 ;
3005 (char *) "self", NULL
3008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
3009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3013 result
= (int)(arg1
)->GetHeight();
3015 wxPyEndAllowThreads(__tstate
);
3016 if (PyErr_Occurred()) SWIG_fail
;
3018 resultobj
= SWIG_From_int((int)result
);
3025 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
*resultobj
;
3027 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3029 PyObject
* obj0
= 0 ;
3031 (char *) "self", NULL
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
3035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3039 result
= (int)(arg1
)->GetDepth();
3041 wxPyEndAllowThreads(__tstate
);
3042 if (PyErr_Occurred()) SWIG_fail
;
3044 resultobj
= SWIG_From_int((int)result
);
3051 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
*resultobj
;
3053 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3055 PyObject
* obj0
= 0 ;
3057 (char *) "self", NULL
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
3061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3065 result
= wxBitmap_GetSize(arg1
);
3067 wxPyEndAllowThreads(__tstate
);
3068 if (PyErr_Occurred()) SWIG_fail
;
3072 resultptr
= new wxSize((wxSize
&) result
);
3073 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3081 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
*resultobj
;
3083 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3084 SwigValueWrapper
< wxImage
> result
;
3085 PyObject
* obj0
= 0 ;
3087 (char *) "self", NULL
3090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3095 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3097 wxPyEndAllowThreads(__tstate
);
3098 if (PyErr_Occurred()) SWIG_fail
;
3101 wxImage
* resultptr
;
3102 resultptr
= new wxImage((wxImage
&) result
);
3103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3111 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3112 PyObject
*resultobj
;
3113 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3115 PyObject
* obj0
= 0 ;
3117 (char *) "self", NULL
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3125 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3127 wxPyEndAllowThreads(__tstate
);
3128 if (PyErr_Occurred()) SWIG_fail
;
3130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3137 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3138 PyObject
*resultobj
;
3139 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3140 wxMask
*arg2
= (wxMask
*) 0 ;
3141 PyObject
* obj0
= 0 ;
3142 PyObject
* obj1
= 0 ;
3144 (char *) "self",(char *) "mask", NULL
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3150 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3154 (arg1
)->SetMask(arg2
);
3156 wxPyEndAllowThreads(__tstate
);
3157 if (PyErr_Occurred()) SWIG_fail
;
3159 Py_INCREF(Py_None
); resultobj
= Py_None
;
3166 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3167 PyObject
*resultobj
;
3168 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3169 wxColour
*arg2
= 0 ;
3171 PyObject
* obj0
= 0 ;
3172 PyObject
* obj1
= 0 ;
3174 (char *) "self",(char *) "colour", NULL
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3182 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3186 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3188 wxPyEndAllowThreads(__tstate
);
3189 if (PyErr_Occurred()) SWIG_fail
;
3191 Py_INCREF(Py_None
); resultobj
= Py_None
;
3198 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3199 PyObject
*resultobj
;
3200 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3202 SwigValueWrapper
< wxBitmap
> result
;
3204 PyObject
* obj0
= 0 ;
3205 PyObject
* obj1
= 0 ;
3207 (char *) "self",(char *) "rect", NULL
3210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3215 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3219 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3221 wxPyEndAllowThreads(__tstate
);
3222 if (PyErr_Occurred()) SWIG_fail
;
3225 wxBitmap
* resultptr
;
3226 resultptr
= new wxBitmap((wxBitmap
&) result
);
3227 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3235 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3236 PyObject
*resultobj
;
3237 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3238 wxString
*arg2
= 0 ;
3240 wxPalette
*arg4
= (wxPalette
*) NULL
;
3242 bool temp2
= False
;
3243 PyObject
* obj0
= 0 ;
3244 PyObject
* obj1
= 0 ;
3245 PyObject
* obj2
= 0 ;
3246 PyObject
* obj3
= 0 ;
3248 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3255 arg2
= wxString_in_helper(obj1
);
3256 if (arg2
== NULL
) SWIG_fail
;
3259 arg3
= (int)SWIG_As_int(obj2
);
3260 if (PyErr_Occurred()) SWIG_fail
;
3262 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3267 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3269 wxPyEndAllowThreads(__tstate
);
3270 if (PyErr_Occurred()) SWIG_fail
;
3273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3289 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3290 PyObject
*resultobj
;
3291 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3292 wxString
*arg2
= 0 ;
3295 bool temp2
= False
;
3296 PyObject
* obj0
= 0 ;
3297 PyObject
* obj1
= 0 ;
3298 PyObject
* obj2
= 0 ;
3300 (char *) "self",(char *) "name",(char *) "type", NULL
3303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3307 arg2
= wxString_in_helper(obj1
);
3308 if (arg2
== NULL
) SWIG_fail
;
3311 arg3
= (int)SWIG_As_int(obj2
);
3312 if (PyErr_Occurred()) SWIG_fail
;
3314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3315 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3317 wxPyEndAllowThreads(__tstate
);
3318 if (PyErr_Occurred()) SWIG_fail
;
3321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3337 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3338 PyObject
*resultobj
;
3339 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3342 PyObject
* obj0
= 0 ;
3343 PyObject
* obj1
= 0 ;
3345 (char *) "self",(char *) "icon", NULL
3348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3352 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3355 PyErr_SetString(PyExc_TypeError
,"null reference");
3359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3360 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3362 wxPyEndAllowThreads(__tstate
);
3363 if (PyErr_Occurred()) SWIG_fail
;
3366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3374 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
*resultobj
;
3376 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3378 PyObject
* obj0
= 0 ;
3379 PyObject
* obj1
= 0 ;
3381 (char *) "self",(char *) "height", NULL
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3387 arg2
= (int)SWIG_As_int(obj1
);
3388 if (PyErr_Occurred()) SWIG_fail
;
3390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3391 (arg1
)->SetHeight(arg2
);
3393 wxPyEndAllowThreads(__tstate
);
3394 if (PyErr_Occurred()) SWIG_fail
;
3396 Py_INCREF(Py_None
); resultobj
= Py_None
;
3403 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3404 PyObject
*resultobj
;
3405 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3407 PyObject
* obj0
= 0 ;
3408 PyObject
* obj1
= 0 ;
3410 (char *) "self",(char *) "width", NULL
3413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3416 arg2
= (int)SWIG_As_int(obj1
);
3417 if (PyErr_Occurred()) SWIG_fail
;
3419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3420 (arg1
)->SetWidth(arg2
);
3422 wxPyEndAllowThreads(__tstate
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3425 Py_INCREF(Py_None
); resultobj
= Py_None
;
3432 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
*resultobj
;
3434 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3436 PyObject
* obj0
= 0 ;
3437 PyObject
* obj1
= 0 ;
3439 (char *) "self",(char *) "depth", NULL
3442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3445 arg2
= (int)SWIG_As_int(obj1
);
3446 if (PyErr_Occurred()) SWIG_fail
;
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3449 (arg1
)->SetDepth(arg2
);
3451 wxPyEndAllowThreads(__tstate
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3454 Py_INCREF(Py_None
); resultobj
= Py_None
;
3461 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3462 PyObject
*resultobj
;
3463 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3466 PyObject
* obj0
= 0 ;
3467 PyObject
* obj1
= 0 ;
3469 (char *) "self",(char *) "size", NULL
3472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3477 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3481 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3483 wxPyEndAllowThreads(__tstate
);
3484 if (PyErr_Occurred()) SWIG_fail
;
3486 Py_INCREF(Py_None
); resultobj
= Py_None
;
3493 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3494 PyObject
*resultobj
;
3495 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3496 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3498 PyObject
* obj0
= 0 ;
3499 PyObject
* obj1
= 0 ;
3501 (char *) "self",(char *) "other", NULL
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3511 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3513 wxPyEndAllowThreads(__tstate
);
3514 if (PyErr_Occurred()) SWIG_fail
;
3517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3525 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3526 PyObject
*resultobj
;
3527 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3528 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3530 PyObject
* obj0
= 0 ;
3531 PyObject
* obj1
= 0 ;
3533 (char *) "self",(char *) "other", NULL
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3539 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3543 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3557 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
3559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3560 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3562 return Py_BuildValue((char *)"");
3564 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
*resultobj
;
3566 wxBitmap
*arg1
= 0 ;
3567 wxColour
const &arg2_defvalue
= wxNullColour
;
3568 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3571 PyObject
* obj0
= 0 ;
3572 PyObject
* obj1
= 0 ;
3574 (char *) "bitmap",(char *) "colour", NULL
3577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3582 PyErr_SetString(PyExc_TypeError
,"null reference");
3588 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3592 if (!wxPyCheckForApp()) SWIG_fail
;
3593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3594 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3596 wxPyEndAllowThreads(__tstate
);
3597 if (PyErr_Occurred()) SWIG_fail
;
3599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3606 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
3608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3609 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3611 return Py_BuildValue((char *)"");
3613 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
*resultobj
;
3615 wxString
*arg1
= 0 ;
3617 int arg3
= (int) -1 ;
3618 int arg4
= (int) -1 ;
3620 bool temp1
= False
;
3621 PyObject
* obj0
= 0 ;
3622 PyObject
* obj1
= 0 ;
3623 PyObject
* obj2
= 0 ;
3624 PyObject
* obj3
= 0 ;
3626 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3631 arg1
= wxString_in_helper(obj0
);
3632 if (arg1
== NULL
) SWIG_fail
;
3635 arg2
= (int)SWIG_As_int(obj1
);
3636 if (PyErr_Occurred()) SWIG_fail
;
3638 arg3
= (int)SWIG_As_int(obj2
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3642 arg4
= (int)SWIG_As_int(obj3
);
3643 if (PyErr_Occurred()) SWIG_fail
;
3646 if (!wxPyCheckForApp()) SWIG_fail
;
3647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3648 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3650 wxPyEndAllowThreads(__tstate
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3668 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
*resultobj
;
3670 wxIcon
*arg1
= (wxIcon
*) 0 ;
3671 PyObject
* obj0
= 0 ;
3673 (char *) "self", NULL
3676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3683 wxPyEndAllowThreads(__tstate
);
3684 if (PyErr_Occurred()) SWIG_fail
;
3686 Py_INCREF(Py_None
); resultobj
= Py_None
;
3693 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
*resultobj
;
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3702 if (!wxPyCheckForApp()) SWIG_fail
;
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 result
= (wxIcon
*)new wxIcon();
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3716 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3717 PyObject
*resultobj
;
3718 wxIconLocation
*arg1
= 0 ;
3720 PyObject
* obj0
= 0 ;
3722 (char *) "loc", NULL
3725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3730 PyErr_SetString(PyExc_TypeError
,"null reference");
3734 if (!wxPyCheckForApp()) SWIG_fail
;
3735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3736 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3738 wxPyEndAllowThreads(__tstate
);
3739 if (PyErr_Occurred()) SWIG_fail
;
3741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3748 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3749 PyObject
*resultobj
;
3750 wxBitmap
*arg1
= 0 ;
3752 PyObject
* obj0
= 0 ;
3754 (char *) "bmp", NULL
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3759 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3762 PyErr_SetString(PyExc_TypeError
,"null reference");
3766 if (!wxPyCheckForApp()) SWIG_fail
;
3767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3768 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3770 wxPyEndAllowThreads(__tstate
);
3771 if (PyErr_Occurred()) SWIG_fail
;
3773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3780 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
*resultobj
;
3782 PyObject
*arg1
= (PyObject
*) 0 ;
3784 PyObject
* obj0
= 0 ;
3786 (char *) "listOfStrings", NULL
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3792 if (!wxPyCheckForApp()) SWIG_fail
;
3793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3794 result
= (wxIcon
*)new_wxIcon(arg1
);
3796 wxPyEndAllowThreads(__tstate
);
3797 if (PyErr_Occurred()) SWIG_fail
;
3799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3806 static PyObject
*_wrap_Icon_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3807 PyObject
*resultobj
;
3808 wxIcon
*arg1
= (wxIcon
*) 0 ;
3809 wxString
*arg2
= 0 ;
3812 bool temp2
= False
;
3813 PyObject
* obj0
= 0 ;
3814 PyObject
* obj1
= 0 ;
3815 PyObject
* obj2
= 0 ;
3817 (char *) "self",(char *) "name",(char *) "type", NULL
3820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3824 arg2
= wxString_in_helper(obj1
);
3825 if (arg2
== NULL
) SWIG_fail
;
3828 arg3
= (int)SWIG_As_int(obj2
);
3829 if (PyErr_Occurred()) SWIG_fail
;
3831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3832 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3834 wxPyEndAllowThreads(__tstate
);
3835 if (PyErr_Occurred()) SWIG_fail
;
3838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3854 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3855 PyObject
*resultobj
;
3856 wxIcon
*arg1
= (wxIcon
*) 0 ;
3858 PyObject
* obj0
= 0 ;
3860 (char *) "self", NULL
3863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3868 result
= (bool)(arg1
)->Ok();
3870 wxPyEndAllowThreads(__tstate
);
3871 if (PyErr_Occurred()) SWIG_fail
;
3874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3882 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
*resultobj
;
3884 wxIcon
*arg1
= (wxIcon
*) 0 ;
3886 PyObject
* obj0
= 0 ;
3888 (char *) "self", NULL
3891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3896 result
= (int)(arg1
)->GetWidth();
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3901 resultobj
= SWIG_From_int((int)result
);
3908 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
*resultobj
;
3910 wxIcon
*arg1
= (wxIcon
*) 0 ;
3912 PyObject
* obj0
= 0 ;
3914 (char *) "self", NULL
3917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3922 result
= (int)(arg1
)->GetHeight();
3924 wxPyEndAllowThreads(__tstate
);
3925 if (PyErr_Occurred()) SWIG_fail
;
3927 resultobj
= SWIG_From_int((int)result
);
3934 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3935 PyObject
*resultobj
;
3936 wxIcon
*arg1
= (wxIcon
*) 0 ;
3938 PyObject
* obj0
= 0 ;
3940 (char *) "self", NULL
3943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3948 result
= (int)(arg1
)->GetDepth();
3950 wxPyEndAllowThreads(__tstate
);
3951 if (PyErr_Occurred()) SWIG_fail
;
3953 resultobj
= SWIG_From_int((int)result
);
3960 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3961 PyObject
*resultobj
;
3962 wxIcon
*arg1
= (wxIcon
*) 0 ;
3964 PyObject
* obj0
= 0 ;
3965 PyObject
* obj1
= 0 ;
3967 (char *) "self",(char *) "w", NULL
3970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3973 arg2
= (int)SWIG_As_int(obj1
);
3974 if (PyErr_Occurred()) SWIG_fail
;
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 (arg1
)->SetWidth(arg2
);
3979 wxPyEndAllowThreads(__tstate
);
3980 if (PyErr_Occurred()) SWIG_fail
;
3982 Py_INCREF(Py_None
); resultobj
= Py_None
;
3989 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3990 PyObject
*resultobj
;
3991 wxIcon
*arg1
= (wxIcon
*) 0 ;
3993 PyObject
* obj0
= 0 ;
3994 PyObject
* obj1
= 0 ;
3996 (char *) "self",(char *) "h", NULL
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4002 arg2
= (int)SWIG_As_int(obj1
);
4003 if (PyErr_Occurred()) SWIG_fail
;
4005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4006 (arg1
)->SetHeight(arg2
);
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4011 Py_INCREF(Py_None
); resultobj
= Py_None
;
4018 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4019 PyObject
*resultobj
;
4020 wxIcon
*arg1
= (wxIcon
*) 0 ;
4022 PyObject
* obj0
= 0 ;
4023 PyObject
* obj1
= 0 ;
4025 (char *) "self",(char *) "d", NULL
4028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4031 arg2
= (int)SWIG_As_int(obj1
);
4032 if (PyErr_Occurred()) SWIG_fail
;
4034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4035 (arg1
)->SetDepth(arg2
);
4037 wxPyEndAllowThreads(__tstate
);
4038 if (PyErr_Occurred()) SWIG_fail
;
4040 Py_INCREF(Py_None
); resultobj
= Py_None
;
4047 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4048 PyObject
*resultobj
;
4049 wxIcon
*arg1
= (wxIcon
*) 0 ;
4050 wxBitmap
*arg2
= 0 ;
4051 PyObject
* obj0
= 0 ;
4052 PyObject
* obj1
= 0 ;
4054 (char *) "self",(char *) "bmp", NULL
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4060 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4061 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4064 PyErr_SetString(PyExc_TypeError
,"null reference");
4068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4069 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4074 Py_INCREF(Py_None
); resultobj
= Py_None
;
4081 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
4083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4084 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4086 return Py_BuildValue((char *)"");
4088 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4089 PyObject
*resultobj
;
4090 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4091 int arg2
= (int) 0 ;
4092 wxIconLocation
*result
;
4093 bool temp1
= False
;
4094 PyObject
* obj0
= 0 ;
4095 PyObject
* obj1
= 0 ;
4097 (char *) "filename",(char *) "num", NULL
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4103 arg1
= wxString_in_helper(obj0
);
4104 if (arg1
== NULL
) SWIG_fail
;
4109 arg2
= (int)SWIG_As_int(obj1
);
4110 if (PyErr_Occurred()) SWIG_fail
;
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4134 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4135 PyObject
*resultobj
;
4136 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4137 PyObject
* obj0
= 0 ;
4139 (char *) "self", NULL
4142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 wxPyEndAllowThreads(__tstate
);
4150 if (PyErr_Occurred()) SWIG_fail
;
4152 Py_INCREF(Py_None
); resultobj
= Py_None
;
4159 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
*resultobj
;
4161 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4163 PyObject
* obj0
= 0 ;
4165 (char *) "self", NULL
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4173 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4175 wxPyEndAllowThreads(__tstate
);
4176 if (PyErr_Occurred()) SWIG_fail
;
4179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4187 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
*resultobj
;
4189 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4190 wxString
*arg2
= 0 ;
4191 bool temp2
= False
;
4192 PyObject
* obj0
= 0 ;
4193 PyObject
* obj1
= 0 ;
4195 (char *) "self",(char *) "filename", NULL
4198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4202 arg2
= wxString_in_helper(obj1
);
4203 if (arg2
== NULL
) SWIG_fail
;
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 (arg1
)->SetFileName((wxString
const &)*arg2
);
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) SWIG_fail
;
4213 Py_INCREF(Py_None
); resultobj
= Py_None
;
4228 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4229 PyObject
*resultobj
;
4230 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4232 PyObject
* obj0
= 0 ;
4234 (char *) "self", NULL
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4243 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4244 result
= (wxString
*) &_result_ref
;
4247 wxPyEndAllowThreads(__tstate
);
4248 if (PyErr_Occurred()) SWIG_fail
;
4252 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4254 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4263 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
*resultobj
;
4265 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4267 PyObject
* obj0
= 0 ;
4268 PyObject
* obj1
= 0 ;
4270 (char *) "self",(char *) "num", NULL
4273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4276 arg2
= (int)SWIG_As_int(obj1
);
4277 if (PyErr_Occurred()) SWIG_fail
;
4279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4280 wxIconLocation_SetIndex(arg1
,arg2
);
4282 wxPyEndAllowThreads(__tstate
);
4283 if (PyErr_Occurred()) SWIG_fail
;
4285 Py_INCREF(Py_None
); resultobj
= Py_None
;
4292 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4293 PyObject
*resultobj
;
4294 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4296 PyObject
* obj0
= 0 ;
4298 (char *) "self", NULL
4301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 result
= (int)wxIconLocation_GetIndex(arg1
);
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4311 resultobj
= SWIG_From_int((int)result
);
4318 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
4320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4321 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4323 return Py_BuildValue((char *)"");
4325 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
*resultobj
;
4327 wxIconBundle
*result
;
4332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4335 result
= (wxIconBundle
*)new wxIconBundle();
4337 wxPyEndAllowThreads(__tstate
);
4338 if (PyErr_Occurred()) SWIG_fail
;
4340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4347 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4348 PyObject
*resultobj
;
4349 wxString
*arg1
= 0 ;
4351 wxIconBundle
*result
;
4352 bool temp1
= False
;
4353 PyObject
* obj0
= 0 ;
4354 PyObject
* obj1
= 0 ;
4356 (char *) "file",(char *) "type", NULL
4359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4361 arg1
= wxString_in_helper(obj0
);
4362 if (arg1
== NULL
) SWIG_fail
;
4365 arg2
= (long)SWIG_As_long(obj1
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4369 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4371 wxPyEndAllowThreads(__tstate
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4389 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
*resultobj
;
4392 wxIconBundle
*result
;
4393 PyObject
* obj0
= 0 ;
4395 (char *) "icon", NULL
4398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4400 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4403 PyErr_SetString(PyExc_TypeError
,"null reference");
4407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4408 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4410 wxPyEndAllowThreads(__tstate
);
4411 if (PyErr_Occurred()) SWIG_fail
;
4413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4420 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4421 PyObject
*resultobj
;
4422 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4423 PyObject
* obj0
= 0 ;
4425 (char *) "self", NULL
4428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4435 wxPyEndAllowThreads(__tstate
);
4436 if (PyErr_Occurred()) SWIG_fail
;
4438 Py_INCREF(Py_None
); resultobj
= Py_None
;
4445 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4446 PyObject
*resultobj
;
4447 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4449 PyObject
* obj0
= 0 ;
4450 PyObject
* obj1
= 0 ;
4452 (char *) "self",(char *) "icon", NULL
4455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4458 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4459 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4462 PyErr_SetString(PyExc_TypeError
,"null reference");
4466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4472 Py_INCREF(Py_None
); resultobj
= Py_None
;
4479 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
;
4481 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4482 wxString
*arg2
= 0 ;
4484 bool temp2
= False
;
4485 PyObject
* obj0
= 0 ;
4486 PyObject
* obj1
= 0 ;
4487 PyObject
* obj2
= 0 ;
4489 (char *) "self",(char *) "file",(char *) "type", NULL
4492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4496 arg2
= wxString_in_helper(obj1
);
4497 if (arg2
== NULL
) SWIG_fail
;
4500 arg3
= (long)SWIG_As_long(obj2
);
4501 if (PyErr_Occurred()) SWIG_fail
;
4503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4504 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4509 Py_INCREF(Py_None
); resultobj
= Py_None
;
4524 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
*resultobj
;
4526 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4530 PyObject
* obj0
= 0 ;
4531 PyObject
* obj1
= 0 ;
4533 (char *) "self",(char *) "size", NULL
4536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4541 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4546 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4547 result
= (wxIcon
*) &_result_ref
;
4550 wxPyEndAllowThreads(__tstate
);
4551 if (PyErr_Occurred()) SWIG_fail
;
4554 wxIcon
* resultptr
= new wxIcon(*result
);
4555 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4563 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
4565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4566 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4568 return Py_BuildValue((char *)"");
4570 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4571 PyObject
*resultobj
;
4572 wxString
*arg1
= (wxString
*) 0 ;
4574 int arg3
= (int) 0 ;
4575 int arg4
= (int) 0 ;
4577 bool temp1
= False
;
4578 PyObject
* obj0
= 0 ;
4579 PyObject
* obj1
= 0 ;
4580 PyObject
* obj2
= 0 ;
4581 PyObject
* obj3
= 0 ;
4583 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4588 arg1
= wxString_in_helper(obj0
);
4589 if (arg1
== NULL
) SWIG_fail
;
4592 arg2
= (long)SWIG_As_long(obj1
);
4593 if (PyErr_Occurred()) SWIG_fail
;
4595 arg3
= (int)SWIG_As_int(obj2
);
4596 if (PyErr_Occurred()) SWIG_fail
;
4599 arg4
= (int)SWIG_As_int(obj3
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4603 if (!wxPyCheckForApp()) SWIG_fail
;
4604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4605 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4607 wxPyEndAllowThreads(__tstate
);
4608 if (PyErr_Occurred()) SWIG_fail
;
4610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4625 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
*resultobj
;
4627 wxCursor
*arg1
= (wxCursor
*) 0 ;
4628 PyObject
* obj0
= 0 ;
4630 (char *) "self", NULL
4633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) SWIG_fail
;
4643 Py_INCREF(Py_None
); resultobj
= Py_None
;
4650 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4651 PyObject
*resultobj
;
4654 PyObject
* obj0
= 0 ;
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4660 arg1
= (int)SWIG_As_int(obj0
);
4661 if (PyErr_Occurred()) SWIG_fail
;
4663 if (!wxPyCheckForApp()) SWIG_fail
;
4664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4665 result
= (wxCursor
*)new wxCursor(arg1
);
4667 wxPyEndAllowThreads(__tstate
);
4668 if (PyErr_Occurred()) SWIG_fail
;
4670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4677 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4678 PyObject
*resultobj
;
4681 PyObject
* obj0
= 0 ;
4683 (char *) "image", NULL
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4688 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4691 PyErr_SetString(PyExc_TypeError
,"null reference");
4695 if (!wxPyCheckForApp()) SWIG_fail
;
4696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4697 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4699 wxPyEndAllowThreads(__tstate
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4709 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4710 PyObject
*resultobj
;
4711 wxCursor
*arg1
= (wxCursor
*) 0 ;
4713 PyObject
* obj0
= 0 ;
4715 (char *) "self", NULL
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 result
= (bool)(arg1
)->Ok();
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4737 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
4739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4740 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4742 return Py_BuildValue((char *)"");
4744 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
*resultobj
;
4746 int arg1
= (int) 0 ;
4747 int arg2
= (int) 0 ;
4748 int arg3
= (int) 0 ;
4749 int arg4
= (int) 0 ;
4751 PyObject
* obj0
= 0 ;
4752 PyObject
* obj1
= 0 ;
4753 PyObject
* obj2
= 0 ;
4754 PyObject
* obj3
= 0 ;
4756 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4761 arg1
= (int)SWIG_As_int(obj0
);
4762 if (PyErr_Occurred()) SWIG_fail
;
4765 arg2
= (int)SWIG_As_int(obj1
);
4766 if (PyErr_Occurred()) SWIG_fail
;
4769 arg3
= (int)SWIG_As_int(obj2
);
4770 if (PyErr_Occurred()) SWIG_fail
;
4773 arg4
= (int)SWIG_As_int(obj3
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4777 if (!wxPyCheckForApp()) SWIG_fail
;
4778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4779 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4781 wxPyEndAllowThreads(__tstate
);
4782 if (PyErr_Occurred()) SWIG_fail
;
4784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4791 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4792 PyObject
*resultobj
;
4793 wxBitmap
*arg1
= 0 ;
4795 PyObject
* obj0
= 0 ;
4797 (char *) "bmp", NULL
4800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
4801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4802 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4805 PyErr_SetString(PyExc_TypeError
,"null reference");
4809 if (!wxPyCheckForApp()) SWIG_fail
;
4810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4811 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
4813 wxPyEndAllowThreads(__tstate
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4823 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
*resultobj
;
4825 wxBitmap
*arg1
= 0 ;
4826 wxColour
*arg2
= 0 ;
4827 int arg3
= (int) 0 ;
4830 PyObject
* obj0
= 0 ;
4831 PyObject
* obj1
= 0 ;
4832 PyObject
* obj2
= 0 ;
4834 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4839 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4842 PyErr_SetString(PyExc_TypeError
,"null reference");
4847 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4850 arg3
= (int)SWIG_As_int(obj2
);
4851 if (PyErr_Occurred()) SWIG_fail
;
4854 if (!wxPyCheckForApp()) SWIG_fail
;
4855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4856 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4868 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
*resultobj
;
4871 wxPoint
*arg2
= (wxPoint
*) 0 ;
4872 int arg3
= (int) wxWINDING_RULE
;
4874 PyObject
* obj0
= 0 ;
4875 PyObject
* obj1
= 0 ;
4877 (char *) "points",(char *) "fillStyle", NULL
4880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4882 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4883 if (arg2
== NULL
) SWIG_fail
;
4886 arg3
= (int)SWIG_As_int(obj1
);
4887 if (PyErr_Occurred()) SWIG_fail
;
4890 if (!wxPyCheckForApp()) SWIG_fail
;
4891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4892 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4899 if (arg2
) delete [] arg2
;
4904 if (arg2
) delete [] arg2
;
4910 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
*resultobj
;
4912 wxRegion
*arg1
= (wxRegion
*) 0 ;
4913 PyObject
* obj0
= 0 ;
4915 (char *) "self", NULL
4918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 wxPyEndAllowThreads(__tstate
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4928 Py_INCREF(Py_None
); resultobj
= Py_None
;
4935 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4936 PyObject
*resultobj
;
4937 wxRegion
*arg1
= (wxRegion
*) 0 ;
4938 PyObject
* obj0
= 0 ;
4940 (char *) "self", NULL
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4953 Py_INCREF(Py_None
); resultobj
= Py_None
;
4960 static PyObject
*_wrap_Region_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4961 PyObject
*resultobj
;
4962 wxRegion
*arg1
= (wxRegion
*) 0 ;
4966 PyObject
* obj0
= 0 ;
4967 PyObject
* obj1
= 0 ;
4968 PyObject
* obj2
= 0 ;
4970 (char *) "self",(char *) "x",(char *) "y", NULL
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4976 arg2
= (int)SWIG_As_int(obj1
);
4977 if (PyErr_Occurred()) SWIG_fail
;
4978 arg3
= (int)SWIG_As_int(obj2
);
4979 if (PyErr_Occurred()) SWIG_fail
;
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4996 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
*resultobj
;
4998 wxRegion
*arg1
= (wxRegion
*) 0 ;
5002 PyObject
* obj0
= 0 ;
5003 PyObject
* obj1
= 0 ;
5004 PyObject
* obj2
= 0 ;
5006 (char *) "self",(char *) "x",(char *) "y", NULL
5009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5012 arg2
= (int)SWIG_As_int(obj1
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5014 arg3
= (int)SWIG_As_int(obj2
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5018 result
= (int)(arg1
)->Contains(arg2
,arg3
);
5020 wxPyEndAllowThreads(__tstate
);
5021 if (PyErr_Occurred()) SWIG_fail
;
5023 resultobj
= SWIG_From_int((int)result
);
5030 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5031 PyObject
*resultobj
;
5032 wxRegion
*arg1
= (wxRegion
*) 0 ;
5036 PyObject
* obj0
= 0 ;
5037 PyObject
* obj1
= 0 ;
5039 (char *) "self",(char *) "pt", NULL
5042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
5043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5047 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5051 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
5053 wxPyEndAllowThreads(__tstate
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5056 resultobj
= SWIG_From_int((int)result
);
5063 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
*resultobj
;
5065 wxRegion
*arg1
= (wxRegion
*) 0 ;
5069 PyObject
* obj0
= 0 ;
5070 PyObject
* obj1
= 0 ;
5072 (char *) "self",(char *) "rect", NULL
5075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5080 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5084 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
5086 wxPyEndAllowThreads(__tstate
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5089 resultobj
= SWIG_From_int((int)result
);
5096 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
*resultobj
;
5098 wxRegion
*arg1
= (wxRegion
*) 0 ;
5104 PyObject
* obj0
= 0 ;
5105 PyObject
* obj1
= 0 ;
5106 PyObject
* obj2
= 0 ;
5107 PyObject
* obj3
= 0 ;
5108 PyObject
* obj4
= 0 ;
5110 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5116 arg2
= (int)SWIG_As_int(obj1
);
5117 if (PyErr_Occurred()) SWIG_fail
;
5118 arg3
= (int)SWIG_As_int(obj2
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5120 arg4
= (int)SWIG_As_int(obj3
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5122 arg5
= (int)SWIG_As_int(obj4
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5131 resultobj
= SWIG_From_int((int)result
);
5138 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5139 PyObject
*resultobj
;
5140 wxRegion
*arg1
= (wxRegion
*) 0 ;
5142 PyObject
* obj0
= 0 ;
5144 (char *) "self", NULL
5147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5152 result
= (arg1
)->GetBox();
5154 wxPyEndAllowThreads(__tstate
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5159 resultptr
= new wxRect((wxRect
&) result
);
5160 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5168 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5169 PyObject
*resultobj
;
5170 wxRegion
*arg1
= (wxRegion
*) 0 ;
5176 PyObject
* obj0
= 0 ;
5177 PyObject
* obj1
= 0 ;
5178 PyObject
* obj2
= 0 ;
5179 PyObject
* obj3
= 0 ;
5180 PyObject
* obj4
= 0 ;
5182 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5188 arg2
= (int)SWIG_As_int(obj1
);
5189 if (PyErr_Occurred()) SWIG_fail
;
5190 arg3
= (int)SWIG_As_int(obj2
);
5191 if (PyErr_Occurred()) SWIG_fail
;
5192 arg4
= (int)SWIG_As_int(obj3
);
5193 if (PyErr_Occurred()) SWIG_fail
;
5194 arg5
= (int)SWIG_As_int(obj4
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5198 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5212 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5213 PyObject
*resultobj
;
5214 wxRegion
*arg1
= (wxRegion
*) 0 ;
5218 PyObject
* obj0
= 0 ;
5219 PyObject
* obj1
= 0 ;
5221 (char *) "self",(char *) "rect", NULL
5224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5229 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5247 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5248 PyObject
*resultobj
;
5249 wxRegion
*arg1
= (wxRegion
*) 0 ;
5250 wxRegion
*arg2
= 0 ;
5252 PyObject
* obj0
= 0 ;
5253 PyObject
* obj1
= 0 ;
5255 (char *) "self",(char *) "region", NULL
5258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5262 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5265 PyErr_SetString(PyExc_TypeError
,"null reference");
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5284 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5285 PyObject
*resultobj
;
5286 wxRegion
*arg1
= (wxRegion
*) 0 ;
5288 PyObject
* obj0
= 0 ;
5290 (char *) "self", NULL
5293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5298 result
= (bool)(arg1
)->IsEmpty();
5300 wxPyEndAllowThreads(__tstate
);
5301 if (PyErr_Occurred()) SWIG_fail
;
5304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5312 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5313 PyObject
*resultobj
;
5314 wxRegion
*arg1
= (wxRegion
*) 0 ;
5320 PyObject
* obj0
= 0 ;
5321 PyObject
* obj1
= 0 ;
5322 PyObject
* obj2
= 0 ;
5323 PyObject
* obj3
= 0 ;
5324 PyObject
* obj4
= 0 ;
5326 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5332 arg2
= (int)SWIG_As_int(obj1
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5334 arg3
= (int)SWIG_As_int(obj2
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5336 arg4
= (int)SWIG_As_int(obj3
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5338 arg5
= (int)SWIG_As_int(obj4
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5342 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5344 wxPyEndAllowThreads(__tstate
);
5345 if (PyErr_Occurred()) SWIG_fail
;
5348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5356 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5357 PyObject
*resultobj
;
5358 wxRegion
*arg1
= (wxRegion
*) 0 ;
5362 PyObject
* obj0
= 0 ;
5363 PyObject
* obj1
= 0 ;
5365 (char *) "self",(char *) "rect", NULL
5368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5373 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5377 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5379 wxPyEndAllowThreads(__tstate
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5391 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5392 PyObject
*resultobj
;
5393 wxRegion
*arg1
= (wxRegion
*) 0 ;
5394 wxRegion
*arg2
= 0 ;
5396 PyObject
* obj0
= 0 ;
5397 PyObject
* obj1
= 0 ;
5399 (char *) "self",(char *) "region", NULL
5402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5406 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5409 PyErr_SetString(PyExc_TypeError
,"null reference");
5413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5414 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5428 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5429 PyObject
*resultobj
;
5430 wxRegion
*arg1
= (wxRegion
*) 0 ;
5436 PyObject
* obj0
= 0 ;
5437 PyObject
* obj1
= 0 ;
5438 PyObject
* obj2
= 0 ;
5439 PyObject
* obj3
= 0 ;
5440 PyObject
* obj4
= 0 ;
5442 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5448 arg2
= (int)SWIG_As_int(obj1
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5450 arg3
= (int)SWIG_As_int(obj2
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5452 arg4
= (int)SWIG_As_int(obj3
);
5453 if (PyErr_Occurred()) SWIG_fail
;
5454 arg5
= (int)SWIG_As_int(obj4
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5472 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
*resultobj
;
5474 wxRegion
*arg1
= (wxRegion
*) 0 ;
5478 PyObject
* obj0
= 0 ;
5479 PyObject
* obj1
= 0 ;
5481 (char *) "self",(char *) "rect", NULL
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5489 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5493 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5495 wxPyEndAllowThreads(__tstate
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5507 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
*resultobj
;
5509 wxRegion
*arg1
= (wxRegion
*) 0 ;
5510 wxRegion
*arg2
= 0 ;
5512 PyObject
* obj0
= 0 ;
5513 PyObject
* obj1
= 0 ;
5515 (char *) "self",(char *) "region", NULL
5518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5521 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5522 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5525 PyErr_SetString(PyExc_TypeError
,"null reference");
5529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5530 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5532 wxPyEndAllowThreads(__tstate
);
5533 if (PyErr_Occurred()) SWIG_fail
;
5536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5544 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
*resultobj
;
5546 wxRegion
*arg1
= (wxRegion
*) 0 ;
5552 PyObject
* obj0
= 0 ;
5553 PyObject
* obj1
= 0 ;
5554 PyObject
* obj2
= 0 ;
5555 PyObject
* obj3
= 0 ;
5556 PyObject
* obj4
= 0 ;
5558 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5564 arg2
= (int)SWIG_As_int(obj1
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5566 arg3
= (int)SWIG_As_int(obj2
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5568 arg4
= (int)SWIG_As_int(obj3
);
5569 if (PyErr_Occurred()) SWIG_fail
;
5570 arg5
= (int)SWIG_As_int(obj4
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5574 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5588 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5589 PyObject
*resultobj
;
5590 wxRegion
*arg1
= (wxRegion
*) 0 ;
5594 PyObject
* obj0
= 0 ;
5595 PyObject
* obj1
= 0 ;
5597 (char *) "self",(char *) "rect", NULL
5600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5605 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5609 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5611 wxPyEndAllowThreads(__tstate
);
5612 if (PyErr_Occurred()) SWIG_fail
;
5615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5623 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5624 PyObject
*resultobj
;
5625 wxRegion
*arg1
= (wxRegion
*) 0 ;
5626 wxRegion
*arg2
= 0 ;
5628 PyObject
* obj0
= 0 ;
5629 PyObject
* obj1
= 0 ;
5631 (char *) "self",(char *) "region", NULL
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5637 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5638 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5641 PyErr_SetString(PyExc_TypeError
,"null reference");
5645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5646 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5648 wxPyEndAllowThreads(__tstate
);
5649 if (PyErr_Occurred()) SWIG_fail
;
5652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5660 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5661 PyObject
*resultobj
;
5662 wxRegion
*arg1
= (wxRegion
*) 0 ;
5663 SwigValueWrapper
< wxBitmap
> result
;
5664 PyObject
* obj0
= 0 ;
5666 (char *) "self", NULL
5669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5674 result
= (arg1
)->ConvertToBitmap();
5676 wxPyEndAllowThreads(__tstate
);
5677 if (PyErr_Occurred()) SWIG_fail
;
5680 wxBitmap
* resultptr
;
5681 resultptr
= new wxBitmap((wxBitmap
&) result
);
5682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5690 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5691 PyObject
*resultobj
;
5692 wxRegion
*arg1
= (wxRegion
*) 0 ;
5693 wxBitmap
*arg2
= 0 ;
5695 PyObject
* obj0
= 0 ;
5696 PyObject
* obj1
= 0 ;
5698 (char *) "self",(char *) "bmp", NULL
5701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5705 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5708 PyErr_SetString(PyExc_TypeError
,"null reference");
5712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) SWIG_fail
;
5719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5727 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5728 PyObject
*resultobj
;
5729 wxRegion
*arg1
= (wxRegion
*) 0 ;
5730 wxBitmap
*arg2
= 0 ;
5731 wxColour
*arg3
= 0 ;
5732 int arg4
= (int) 0 ;
5735 PyObject
* obj0
= 0 ;
5736 PyObject
* obj1
= 0 ;
5737 PyObject
* obj2
= 0 ;
5738 PyObject
* obj3
= 0 ;
5740 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5747 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5750 PyErr_SetString(PyExc_TypeError
,"null reference");
5755 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5758 arg4
= (int)SWIG_As_int(obj3
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5777 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
5779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5780 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5782 return Py_BuildValue((char *)"");
5784 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5785 PyObject
*resultobj
;
5786 wxRegion
*arg1
= 0 ;
5787 wxRegionIterator
*result
;
5788 PyObject
* obj0
= 0 ;
5790 (char *) "region", NULL
5793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5795 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5798 PyErr_SetString(PyExc_TypeError
,"null reference");
5802 if (!wxPyCheckForApp()) SWIG_fail
;
5803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5804 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5806 wxPyEndAllowThreads(__tstate
);
5807 if (PyErr_Occurred()) SWIG_fail
;
5809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5816 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
*resultobj
;
5818 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5819 PyObject
* obj0
= 0 ;
5821 (char *) "self", NULL
5824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5834 Py_INCREF(Py_None
); resultobj
= Py_None
;
5841 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
*resultobj
;
5843 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5845 PyObject
* obj0
= 0 ;
5847 (char *) "self", NULL
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 result
= (int)(arg1
)->GetX();
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5860 resultobj
= SWIG_From_int((int)result
);
5867 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5868 PyObject
*resultobj
;
5869 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5871 PyObject
* obj0
= 0 ;
5873 (char *) "self", NULL
5876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 result
= (int)(arg1
)->GetY();
5883 wxPyEndAllowThreads(__tstate
);
5884 if (PyErr_Occurred()) SWIG_fail
;
5886 resultobj
= SWIG_From_int((int)result
);
5893 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
*resultobj
;
5895 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5897 PyObject
* obj0
= 0 ;
5899 (char *) "self", NULL
5902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5907 result
= (int)(arg1
)->GetW();
5909 wxPyEndAllowThreads(__tstate
);
5910 if (PyErr_Occurred()) SWIG_fail
;
5912 resultobj
= SWIG_From_int((int)result
);
5919 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5920 PyObject
*resultobj
;
5921 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5923 PyObject
* obj0
= 0 ;
5925 (char *) "self", NULL
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 result
= (int)(arg1
)->GetWidth();
5935 wxPyEndAllowThreads(__tstate
);
5936 if (PyErr_Occurred()) SWIG_fail
;
5938 resultobj
= SWIG_From_int((int)result
);
5945 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5946 PyObject
*resultobj
;
5947 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5949 PyObject
* obj0
= 0 ;
5951 (char *) "self", NULL
5954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5959 result
= (int)(arg1
)->GetH();
5961 wxPyEndAllowThreads(__tstate
);
5962 if (PyErr_Occurred()) SWIG_fail
;
5964 resultobj
= SWIG_From_int((int)result
);
5971 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5972 PyObject
*resultobj
;
5973 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5975 PyObject
* obj0
= 0 ;
5977 (char *) "self", NULL
5980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 result
= (int)(arg1
)->GetHeight();
5987 wxPyEndAllowThreads(__tstate
);
5988 if (PyErr_Occurred()) SWIG_fail
;
5990 resultobj
= SWIG_From_int((int)result
);
5997 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5998 PyObject
*resultobj
;
5999 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6001 PyObject
* obj0
= 0 ;
6003 (char *) "self", NULL
6006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
6007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 result
= (arg1
)->GetRect();
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6018 resultptr
= new wxRect((wxRect
&) result
);
6019 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6027 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6028 PyObject
*resultobj
;
6029 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6031 PyObject
* obj0
= 0 ;
6033 (char *) "self", NULL
6036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
6037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6041 result
= (bool)(arg1
)->HaveRects();
6043 wxPyEndAllowThreads(__tstate
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6055 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6056 PyObject
*resultobj
;
6057 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6058 PyObject
* obj0
= 0 ;
6060 (char *) "self", NULL
6063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
6064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6070 wxPyEndAllowThreads(__tstate
);
6071 if (PyErr_Occurred()) SWIG_fail
;
6073 Py_INCREF(Py_None
); resultobj
= Py_None
;
6080 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
*resultobj
;
6082 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6083 PyObject
* obj0
= 0 ;
6085 (char *) "self", NULL
6088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
6089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 wxRegionIterator_Next(arg1
);
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6098 Py_INCREF(Py_None
); resultobj
= Py_None
;
6105 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
*resultobj
;
6107 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6109 PyObject
* obj0
= 0 ;
6111 (char *) "self", NULL
6114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
6115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 result
= (bool)wxRegionIterator___nonzero__(arg1
);
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) SWIG_fail
;
6125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6133 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
6135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6136 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6138 return Py_BuildValue((char *)"");
6140 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6141 PyObject
*resultobj
;
6142 wxNativeFontInfo
*result
;
6147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6152 wxPyEndAllowThreads(__tstate
);
6153 if (PyErr_Occurred()) SWIG_fail
;
6155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6162 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6163 PyObject
*resultobj
;
6164 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6165 PyObject
* obj0
= 0 ;
6167 (char *) "self", NULL
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) SWIG_fail
;
6180 Py_INCREF(Py_None
); resultobj
= Py_None
;
6187 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
*resultobj
;
6189 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6190 PyObject
* obj0
= 0 ;
6192 (char *) "self", NULL
6195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6202 wxPyEndAllowThreads(__tstate
);
6203 if (PyErr_Occurred()) SWIG_fail
;
6205 Py_INCREF(Py_None
); resultobj
= Py_None
;
6212 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6213 PyObject
*resultobj
;
6214 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6216 PyObject
* obj0
= 0 ;
6217 PyObject
* obj1
= 0 ;
6219 (char *) "self",(char *) "font", NULL
6222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6226 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6229 PyErr_SetString(PyExc_TypeError
,"null reference");
6233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6234 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6236 wxPyEndAllowThreads(__tstate
);
6237 if (PyErr_Occurred()) SWIG_fail
;
6239 Py_INCREF(Py_None
); resultobj
= Py_None
;
6246 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6247 PyObject
*resultobj
;
6248 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6250 PyObject
* obj0
= 0 ;
6252 (char *) "self", NULL
6255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6260 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6262 wxPyEndAllowThreads(__tstate
);
6263 if (PyErr_Occurred()) SWIG_fail
;
6265 resultobj
= SWIG_From_int((int)result
);
6272 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
*resultobj
;
6274 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6276 PyObject
* obj0
= 0 ;
6278 (char *) "self", NULL
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6286 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) SWIG_fail
;
6291 resultobj
= SWIG_From_int((int)result
);
6298 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6299 PyObject
*resultobj
;
6300 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6302 PyObject
* obj0
= 0 ;
6304 (char *) "self", NULL
6307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6312 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6314 wxPyEndAllowThreads(__tstate
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6317 resultobj
= SWIG_From_int((int)result
);
6324 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6325 PyObject
*resultobj
;
6326 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6328 PyObject
* obj0
= 0 ;
6330 (char *) "self", NULL
6333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6338 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6352 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6353 PyObject
*resultobj
;
6354 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6356 PyObject
* obj0
= 0 ;
6358 (char *) "self", NULL
6361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6366 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6368 wxPyEndAllowThreads(__tstate
);
6369 if (PyErr_Occurred()) SWIG_fail
;
6373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6384 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6385 PyObject
*resultobj
;
6386 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6388 PyObject
* obj0
= 0 ;
6390 (char *) "self", NULL
6393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6398 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6400 wxPyEndAllowThreads(__tstate
);
6401 if (PyErr_Occurred()) SWIG_fail
;
6403 resultobj
= SWIG_From_int((int)result
);
6410 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6411 PyObject
*resultobj
;
6412 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6414 PyObject
* obj0
= 0 ;
6416 (char *) "self", NULL
6419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6424 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6426 wxPyEndAllowThreads(__tstate
);
6427 if (PyErr_Occurred()) SWIG_fail
;
6429 resultobj
= SWIG_From_int((int)result
);
6436 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6437 PyObject
*resultobj
;
6438 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6440 PyObject
* obj0
= 0 ;
6441 PyObject
* obj1
= 0 ;
6443 (char *) "self",(char *) "pointsize", NULL
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6449 arg2
= (int)SWIG_As_int(obj1
);
6450 if (PyErr_Occurred()) SWIG_fail
;
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 (arg1
)->SetPointSize(arg2
);
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6458 Py_INCREF(Py_None
); resultobj
= Py_None
;
6465 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
*resultobj
;
6467 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6469 PyObject
* obj0
= 0 ;
6470 PyObject
* obj1
= 0 ;
6472 (char *) "self",(char *) "style", NULL
6475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6478 arg2
= (int)SWIG_As_int(obj1
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6482 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6484 wxPyEndAllowThreads(__tstate
);
6485 if (PyErr_Occurred()) SWIG_fail
;
6487 Py_INCREF(Py_None
); resultobj
= Py_None
;
6494 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
*resultobj
;
6496 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6498 PyObject
* obj0
= 0 ;
6499 PyObject
* obj1
= 0 ;
6501 (char *) "self",(char *) "weight", NULL
6504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6507 arg2
= (int)SWIG_As_int(obj1
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6511 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6513 wxPyEndAllowThreads(__tstate
);
6514 if (PyErr_Occurred()) SWIG_fail
;
6516 Py_INCREF(Py_None
); resultobj
= Py_None
;
6523 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6524 PyObject
*resultobj
;
6525 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6527 PyObject
* obj0
= 0 ;
6528 PyObject
* obj1
= 0 ;
6530 (char *) "self",(char *) "underlined", NULL
6533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6536 arg2
= (bool)SWIG_As_bool(obj1
);
6537 if (PyErr_Occurred()) SWIG_fail
;
6539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6540 (arg1
)->SetUnderlined(arg2
);
6542 wxPyEndAllowThreads(__tstate
);
6543 if (PyErr_Occurred()) SWIG_fail
;
6545 Py_INCREF(Py_None
); resultobj
= Py_None
;
6552 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6553 PyObject
*resultobj
;
6554 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6556 PyObject
* obj0
= 0 ;
6557 PyObject
* obj1
= 0 ;
6559 (char *) "self",(char *) "facename", NULL
6562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6566 wxString
* sptr
= wxString_in_helper(obj1
);
6567 if (sptr
== NULL
) SWIG_fail
;
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 (arg1
)->SetFaceName(arg2
);
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 Py_INCREF(Py_None
); resultobj
= Py_None
;
6585 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
*resultobj
;
6587 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6589 PyObject
* obj0
= 0 ;
6590 PyObject
* obj1
= 0 ;
6592 (char *) "self",(char *) "family", NULL
6595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6598 arg2
= (int)SWIG_As_int(obj1
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6602 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6604 wxPyEndAllowThreads(__tstate
);
6605 if (PyErr_Occurred()) SWIG_fail
;
6607 Py_INCREF(Py_None
); resultobj
= Py_None
;
6614 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6615 PyObject
*resultobj
;
6616 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6618 PyObject
* obj0
= 0 ;
6619 PyObject
* obj1
= 0 ;
6621 (char *) "self",(char *) "encoding", NULL
6624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6627 arg2
= (int)SWIG_As_int(obj1
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6636 Py_INCREF(Py_None
); resultobj
= Py_None
;
6643 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
*resultobj
;
6645 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6646 wxString
*arg2
= 0 ;
6648 bool temp2
= False
;
6649 PyObject
* obj0
= 0 ;
6650 PyObject
* obj1
= 0 ;
6652 (char *) "self",(char *) "s", NULL
6655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6659 arg2
= wxString_in_helper(obj1
);
6660 if (arg2
== NULL
) SWIG_fail
;
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6687 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
*resultobj
;
6689 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6691 PyObject
* obj0
= 0 ;
6693 (char *) "self", NULL
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6719 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6720 PyObject
*resultobj
;
6721 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6723 PyObject
* obj0
= 0 ;
6725 (char *) "self", NULL
6728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6733 result
= wxNativeFontInfo___str__(arg1
);
6735 wxPyEndAllowThreads(__tstate
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6740 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6742 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6751 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
*resultobj
;
6753 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6754 wxString
*arg2
= 0 ;
6756 bool temp2
= False
;
6757 PyObject
* obj0
= 0 ;
6758 PyObject
* obj1
= 0 ;
6760 (char *) "self",(char *) "s", NULL
6763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6767 arg2
= wxString_in_helper(obj1
);
6768 if (arg2
== NULL
) SWIG_fail
;
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6795 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
*resultobj
;
6797 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6799 PyObject
* obj0
= 0 ;
6801 (char *) "self", NULL
6804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6816 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6818 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6827 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
6829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6830 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6832 return Py_BuildValue((char *)"");
6834 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
*resultobj
;
6836 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6837 wxString
*arg2
= (wxString
*) 0 ;
6838 bool temp2
= False
;
6839 PyObject
* obj0
= 0 ;
6840 PyObject
* obj1
= 0 ;
6842 (char *) "self",(char *) "facename", NULL
6845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6849 arg2
= wxString_in_helper(obj1
);
6850 if (arg2
== NULL
) SWIG_fail
;
6853 if (arg1
) (arg1
)->facename
= *arg2
;
6855 Py_INCREF(Py_None
); resultobj
= Py_None
;
6870 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6871 PyObject
*resultobj
;
6872 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6874 PyObject
* obj0
= 0 ;
6876 (char *) "self", NULL
6879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6882 result
= (wxString
*)& ((arg1
)->facename
);
6886 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6888 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6897 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6898 PyObject
*resultobj
;
6899 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6901 PyObject
* obj0
= 0 ;
6902 PyObject
* obj1
= 0 ;
6904 (char *) "self",(char *) "encoding", NULL
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6910 arg2
= (int)SWIG_As_int(obj1
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6912 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6914 Py_INCREF(Py_None
); resultobj
= Py_None
;
6921 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
*resultobj
;
6923 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6925 PyObject
* obj0
= 0 ;
6927 (char *) "self", NULL
6930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6933 result
= (int) ((arg1
)->encoding
);
6935 resultobj
= SWIG_From_int((int)result
);
6942 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
*resultobj
;
6944 wxNativeEncodingInfo
*result
;
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6954 wxPyEndAllowThreads(__tstate
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6964 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
*resultobj
;
6966 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6967 PyObject
* obj0
= 0 ;
6969 (char *) "self", NULL
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6982 Py_INCREF(Py_None
); resultobj
= Py_None
;
6989 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6990 PyObject
*resultobj
;
6991 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6992 wxString
*arg2
= 0 ;
6994 bool temp2
= False
;
6995 PyObject
* obj0
= 0 ;
6996 PyObject
* obj1
= 0 ;
6998 (char *) "self",(char *) "s", NULL
7001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7005 arg2
= wxString_in_helper(obj1
);
7006 if (arg2
== NULL
) SWIG_fail
;
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7011 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7033 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7034 PyObject
*resultobj
;
7035 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7037 PyObject
* obj0
= 0 ;
7039 (char *) "self", NULL
7042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
7043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7047 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
7049 wxPyEndAllowThreads(__tstate
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7054 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7056 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7065 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
7067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7068 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
7070 return Py_BuildValue((char *)"");
7072 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
*resultobj
;
7075 wxNativeEncodingInfo
*result
;
7076 PyObject
* obj0
= 0 ;
7078 (char *) "encoding", NULL
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
7082 arg1
= (int)SWIG_As_int(obj0
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7086 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
7088 wxPyEndAllowThreads(__tstate
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
7098 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7099 PyObject
*resultobj
;
7100 wxNativeEncodingInfo
*arg1
= 0 ;
7102 PyObject
* obj0
= 0 ;
7104 (char *) "info", NULL
7107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
7108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7109 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7112 PyErr_SetString(PyExc_TypeError
,"null reference");
7116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7117 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
7119 wxPyEndAllowThreads(__tstate
);
7120 if (PyErr_Occurred()) SWIG_fail
;
7123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7131 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7132 PyObject
*resultobj
;
7133 wxFontMapper
*result
;
7138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 result
= (wxFontMapper
*)new wxFontMapper();
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7153 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
*resultobj
;
7155 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7156 PyObject
* obj0
= 0 ;
7158 (char *) "self", NULL
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 wxPyEndAllowThreads(__tstate
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7171 Py_INCREF(Py_None
); resultobj
= Py_None
;
7178 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7179 PyObject
*resultobj
;
7180 wxFontMapper
*result
;
7185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7188 result
= (wxFontMapper
*)wxFontMapper::Get();
7190 wxPyEndAllowThreads(__tstate
);
7191 if (PyErr_Occurred()) SWIG_fail
;
7193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7200 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7201 PyObject
*resultobj
;
7202 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7203 wxFontMapper
*result
;
7204 PyObject
* obj0
= 0 ;
7206 (char *) "mapper", NULL
7209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7214 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7216 wxPyEndAllowThreads(__tstate
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7226 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7227 PyObject
*resultobj
;
7228 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7229 wxString
*arg2
= 0 ;
7230 bool arg3
= (bool) True
;
7232 bool temp2
= False
;
7233 PyObject
* obj0
= 0 ;
7234 PyObject
* obj1
= 0 ;
7235 PyObject
* obj2
= 0 ;
7237 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7244 arg2
= wxString_in_helper(obj1
);
7245 if (arg2
== NULL
) SWIG_fail
;
7249 arg3
= (bool)SWIG_As_bool(obj2
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7254 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7256 wxPyEndAllowThreads(__tstate
);
7257 if (PyErr_Occurred()) SWIG_fail
;
7259 resultobj
= SWIG_From_int((int)result
);
7274 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
*resultobj
;
7281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7284 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7286 wxPyEndAllowThreads(__tstate
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7289 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7296 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7297 PyObject
*resultobj
;
7300 PyObject
* obj0
= 0 ;
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7306 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
7307 if (PyErr_Occurred()) SWIG_fail
;
7309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7310 result
= (int)wxFontMapper::GetEncoding(arg1
);
7312 wxPyEndAllowThreads(__tstate
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 resultobj
= SWIG_From_int((int)result
);
7322 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
*resultobj
;
7326 PyObject
* obj0
= 0 ;
7328 (char *) "encoding", NULL
7331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7332 arg1
= (int)SWIG_As_int(obj0
);
7333 if (PyErr_Occurred()) SWIG_fail
;
7335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7336 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7338 wxPyEndAllowThreads(__tstate
);
7339 if (PyErr_Occurred()) SWIG_fail
;
7343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7354 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
*resultobj
;
7358 PyObject
* obj0
= 0 ;
7360 (char *) "encoding", NULL
7363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7364 arg1
= (int)SWIG_As_int(obj0
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7370 wxPyEndAllowThreads(__tstate
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7386 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7387 PyObject
*resultobj
;
7388 wxString
*arg1
= 0 ;
7390 bool temp1
= False
;
7391 PyObject
* obj0
= 0 ;
7393 (char *) "name", NULL
7396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7398 arg1
= wxString_in_helper(obj0
);
7399 if (arg1
== NULL
) SWIG_fail
;
7403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7404 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7406 wxPyEndAllowThreads(__tstate
);
7407 if (PyErr_Occurred()) SWIG_fail
;
7409 resultobj
= SWIG_From_int((int)result
);
7424 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
*resultobj
;
7426 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7427 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7428 PyObject
* obj0
= 0 ;
7429 PyObject
* obj1
= 0 ;
7431 (char *) "self",(char *) "config", NULL
7434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7441 (arg1
)->SetConfig(arg2
);
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 Py_INCREF(Py_None
); resultobj
= Py_None
;
7453 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
;
7455 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7456 wxString
*arg2
= 0 ;
7457 bool temp2
= False
;
7458 PyObject
* obj0
= 0 ;
7459 PyObject
* obj1
= 0 ;
7461 (char *) "self",(char *) "prefix", NULL
7464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7468 arg2
= wxString_in_helper(obj1
);
7469 if (arg2
== NULL
) SWIG_fail
;
7473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7474 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7476 wxPyEndAllowThreads(__tstate
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7479 Py_INCREF(Py_None
); resultobj
= Py_None
;
7494 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7495 PyObject
*resultobj
;
7501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7504 result
= wxFontMapper::GetDefaultConfigPath();
7506 wxPyEndAllowThreads(__tstate
);
7507 if (PyErr_Occurred()) SWIG_fail
;
7511 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7513 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7522 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7523 PyObject
*resultobj
;
7524 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7526 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7527 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7528 bool arg4
= (bool) True
;
7530 bool temp3
= False
;
7531 PyObject
* obj0
= 0 ;
7532 PyObject
* obj1
= 0 ;
7533 PyObject
* obj2
= 0 ;
7534 PyObject
* obj3
= 0 ;
7536 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7542 arg2
= (int)SWIG_As_int(obj1
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7546 arg3
= wxString_in_helper(obj2
);
7547 if (arg3
== NULL
) SWIG_fail
;
7552 arg4
= (bool)SWIG_As_bool(obj3
);
7553 if (PyErr_Occurred()) SWIG_fail
;
7556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7557 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7559 wxPyEndAllowThreads(__tstate
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7577 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
;
7579 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7581 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7582 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7584 bool temp3
= False
;
7585 PyObject
* obj0
= 0 ;
7586 PyObject
* obj1
= 0 ;
7587 PyObject
* obj2
= 0 ;
7589 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7595 arg2
= (int)SWIG_As_int(obj1
);
7596 if (PyErr_Occurred()) SWIG_fail
;
7599 arg3
= wxString_in_helper(obj2
);
7600 if (arg3
== NULL
) SWIG_fail
;
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7628 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7629 PyObject
*resultobj
;
7630 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7631 wxWindow
*arg2
= (wxWindow
*) 0 ;
7632 PyObject
* obj0
= 0 ;
7633 PyObject
* obj1
= 0 ;
7635 (char *) "self",(char *) "parent", NULL
7638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7645 (arg1
)->SetDialogParent(arg2
);
7647 wxPyEndAllowThreads(__tstate
);
7648 if (PyErr_Occurred()) SWIG_fail
;
7650 Py_INCREF(Py_None
); resultobj
= Py_None
;
7657 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7658 PyObject
*resultobj
;
7659 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7660 wxString
*arg2
= 0 ;
7661 bool temp2
= False
;
7662 PyObject
* obj0
= 0 ;
7663 PyObject
* obj1
= 0 ;
7665 (char *) "self",(char *) "title", NULL
7668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7672 arg2
= wxString_in_helper(obj1
);
7673 if (arg2
== NULL
) SWIG_fail
;
7677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7683 Py_INCREF(Py_None
); resultobj
= Py_None
;
7698 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
7700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7701 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7703 return Py_BuildValue((char *)"");
7705 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7706 PyObject
*resultobj
;
7711 bool arg5
= (bool) False
;
7712 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7713 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7714 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7716 bool temp6
= False
;
7717 PyObject
* obj0
= 0 ;
7718 PyObject
* obj1
= 0 ;
7719 PyObject
* obj2
= 0 ;
7720 PyObject
* obj3
= 0 ;
7721 PyObject
* obj4
= 0 ;
7722 PyObject
* obj5
= 0 ;
7723 PyObject
* obj6
= 0 ;
7725 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7729 arg1
= (int)SWIG_As_int(obj0
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7731 arg2
= (int)SWIG_As_int(obj1
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7733 arg3
= (int)SWIG_As_int(obj2
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7735 arg4
= (int)SWIG_As_int(obj3
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7738 arg5
= (bool)SWIG_As_bool(obj4
);
7739 if (PyErr_Occurred()) SWIG_fail
;
7743 arg6
= wxString_in_helper(obj5
);
7744 if (arg6
== NULL
) SWIG_fail
;
7749 arg7
= (int)SWIG_As_int(obj6
);
7750 if (PyErr_Occurred()) SWIG_fail
;
7753 if (!wxPyCheckForApp()) SWIG_fail
;
7754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7755 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7757 wxPyEndAllowThreads(__tstate
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7775 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7776 PyObject
*resultobj
;
7777 wxFont
*arg1
= (wxFont
*) 0 ;
7778 PyObject
* obj0
= 0 ;
7780 (char *) "self", NULL
7783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 wxPyEndAllowThreads(__tstate
);
7791 if (PyErr_Occurred()) SWIG_fail
;
7793 Py_INCREF(Py_None
); resultobj
= Py_None
;
7800 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
*resultobj
;
7802 wxNativeFontInfo
*arg1
= 0 ;
7804 PyObject
* obj0
= 0 ;
7806 (char *) "info", NULL
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7811 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7814 PyErr_SetString(PyExc_TypeError
,"null reference");
7818 if (!wxPyCheckForApp()) SWIG_fail
;
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7832 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7833 PyObject
*resultobj
;
7834 wxString
*arg1
= 0 ;
7836 bool temp1
= False
;
7837 PyObject
* obj0
= 0 ;
7839 (char *) "info", NULL
7842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7844 arg1
= wxString_in_helper(obj0
);
7845 if (arg1
== NULL
) SWIG_fail
;
7849 if (!wxPyCheckForApp()) SWIG_fail
;
7850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7851 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7853 wxPyEndAllowThreads(__tstate
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7871 static PyObject
*_wrap_new_Font2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7872 PyObject
*resultobj
;
7875 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7876 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7877 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7878 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7880 bool temp4
= False
;
7881 PyObject
* obj0
= 0 ;
7882 PyObject
* obj1
= 0 ;
7883 PyObject
* obj2
= 0 ;
7884 PyObject
* obj3
= 0 ;
7885 PyObject
* obj4
= 0 ;
7887 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7891 arg1
= (int)SWIG_As_int(obj0
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7893 arg2
= (int)SWIG_As_int(obj1
);
7894 if (PyErr_Occurred()) SWIG_fail
;
7896 arg3
= (int)SWIG_As_int(obj2
);
7897 if (PyErr_Occurred()) SWIG_fail
;
7901 arg4
= wxString_in_helper(obj3
);
7902 if (arg4
== NULL
) SWIG_fail
;
7907 arg5
= (int)SWIG_As_int(obj4
);
7908 if (PyErr_Occurred()) SWIG_fail
;
7911 if (!wxPyCheckForApp()) SWIG_fail
;
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7933 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7934 PyObject
*resultobj
;
7935 wxFont
*arg1
= (wxFont
*) 0 ;
7937 PyObject
* obj0
= 0 ;
7939 (char *) "self", NULL
7942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7947 result
= (bool)((wxFont
const *)arg1
)->Ok();
7949 wxPyEndAllowThreads(__tstate
);
7950 if (PyErr_Occurred()) SWIG_fail
;
7953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7961 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7962 PyObject
*resultobj
;
7963 wxFont
*arg1
= (wxFont
*) 0 ;
7964 wxFont
*arg2
= (wxFont
*) 0 ;
7966 PyObject
* obj0
= 0 ;
7967 PyObject
* obj1
= 0 ;
7969 (char *) "self",(char *) "other", NULL
7972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7979 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
7981 wxPyEndAllowThreads(__tstate
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7993 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7994 PyObject
*resultobj
;
7995 wxFont
*arg1
= (wxFont
*) 0 ;
7996 wxFont
*arg2
= (wxFont
*) 0 ;
7998 PyObject
* obj0
= 0 ;
7999 PyObject
* obj1
= 0 ;
8001 (char *) "self",(char *) "other", NULL
8004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
8005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8011 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
8013 wxPyEndAllowThreads(__tstate
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8025 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8026 PyObject
*resultobj
;
8027 wxFont
*arg1
= (wxFont
*) 0 ;
8029 PyObject
* obj0
= 0 ;
8031 (char *) "self", NULL
8034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
8035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8039 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
8041 wxPyEndAllowThreads(__tstate
);
8042 if (PyErr_Occurred()) SWIG_fail
;
8044 resultobj
= SWIG_From_int((int)result
);
8051 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8052 PyObject
*resultobj
;
8053 wxFont
*arg1
= (wxFont
*) 0 ;
8055 PyObject
* obj0
= 0 ;
8057 (char *) "self", NULL
8060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
8061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8065 result
= (int)((wxFont
const *)arg1
)->GetFamily();
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8070 resultobj
= SWIG_From_int((int)result
);
8077 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
*resultobj
;
8079 wxFont
*arg1
= (wxFont
*) 0 ;
8081 PyObject
* obj0
= 0 ;
8083 (char *) "self", NULL
8086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
8087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 result
= (int)((wxFont
const *)arg1
)->GetStyle();
8093 wxPyEndAllowThreads(__tstate
);
8094 if (PyErr_Occurred()) SWIG_fail
;
8096 resultobj
= SWIG_From_int((int)result
);
8103 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8104 PyObject
*resultobj
;
8105 wxFont
*arg1
= (wxFont
*) 0 ;
8107 PyObject
* obj0
= 0 ;
8109 (char *) "self", NULL
8112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
8113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8117 result
= (int)((wxFont
const *)arg1
)->GetWeight();
8119 wxPyEndAllowThreads(__tstate
);
8120 if (PyErr_Occurred()) SWIG_fail
;
8122 resultobj
= SWIG_From_int((int)result
);
8129 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8130 PyObject
*resultobj
;
8131 wxFont
*arg1
= (wxFont
*) 0 ;
8133 PyObject
* obj0
= 0 ;
8135 (char *) "self", NULL
8138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8157 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8158 PyObject
*resultobj
;
8159 wxFont
*arg1
= (wxFont
*) 0 ;
8161 PyObject
* obj0
= 0 ;
8163 (char *) "self", NULL
8166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8171 result
= ((wxFont
const *)arg1
)->GetFaceName();
8173 wxPyEndAllowThreads(__tstate
);
8174 if (PyErr_Occurred()) SWIG_fail
;
8178 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8180 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8189 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8190 PyObject
*resultobj
;
8191 wxFont
*arg1
= (wxFont
*) 0 ;
8193 PyObject
* obj0
= 0 ;
8195 (char *) "self", NULL
8198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8203 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8205 wxPyEndAllowThreads(__tstate
);
8206 if (PyErr_Occurred()) SWIG_fail
;
8208 resultobj
= SWIG_From_int((int)result
);
8215 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8216 PyObject
*resultobj
;
8217 wxFont
*arg1
= (wxFont
*) 0 ;
8218 wxNativeFontInfo
*result
;
8219 PyObject
* obj0
= 0 ;
8221 (char *) "self", NULL
8224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8229 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8231 wxPyEndAllowThreads(__tstate
);
8232 if (PyErr_Occurred()) SWIG_fail
;
8234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8241 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
*resultobj
;
8243 wxFont
*arg1
= (wxFont
*) 0 ;
8245 PyObject
* obj0
= 0 ;
8247 (char *) "self", NULL
8250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8255 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8257 wxPyEndAllowThreads(__tstate
);
8258 if (PyErr_Occurred()) SWIG_fail
;
8261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8269 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8270 PyObject
*resultobj
;
8271 wxFont
*arg1
= (wxFont
*) 0 ;
8273 PyObject
* obj0
= 0 ;
8275 (char *) "self", NULL
8278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8283 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8285 wxPyEndAllowThreads(__tstate
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8290 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8292 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8301 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8302 PyObject
*resultobj
;
8303 wxFont
*arg1
= (wxFont
*) 0 ;
8305 PyObject
* obj0
= 0 ;
8307 (char *) "self", NULL
8310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8315 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8317 wxPyEndAllowThreads(__tstate
);
8318 if (PyErr_Occurred()) SWIG_fail
;
8322 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8324 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8333 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8334 PyObject
*resultobj
;
8335 wxFont
*arg1
= (wxFont
*) 0 ;
8337 PyObject
* obj0
= 0 ;
8338 PyObject
* obj1
= 0 ;
8340 (char *) "self",(char *) "pointSize", NULL
8343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8346 arg2
= (int)SWIG_As_int(obj1
);
8347 if (PyErr_Occurred()) SWIG_fail
;
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 (arg1
)->SetPointSize(arg2
);
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8355 Py_INCREF(Py_None
); resultobj
= Py_None
;
8362 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8363 PyObject
*resultobj
;
8364 wxFont
*arg1
= (wxFont
*) 0 ;
8366 PyObject
* obj0
= 0 ;
8367 PyObject
* obj1
= 0 ;
8369 (char *) "self",(char *) "family", NULL
8372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8375 arg2
= (int)SWIG_As_int(obj1
);
8376 if (PyErr_Occurred()) SWIG_fail
;
8378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8379 (arg1
)->SetFamily(arg2
);
8381 wxPyEndAllowThreads(__tstate
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8384 Py_INCREF(Py_None
); resultobj
= Py_None
;
8391 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8392 PyObject
*resultobj
;
8393 wxFont
*arg1
= (wxFont
*) 0 ;
8395 PyObject
* obj0
= 0 ;
8396 PyObject
* obj1
= 0 ;
8398 (char *) "self",(char *) "style", NULL
8401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8404 arg2
= (int)SWIG_As_int(obj1
);
8405 if (PyErr_Occurred()) SWIG_fail
;
8407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8408 (arg1
)->SetStyle(arg2
);
8410 wxPyEndAllowThreads(__tstate
);
8411 if (PyErr_Occurred()) SWIG_fail
;
8413 Py_INCREF(Py_None
); resultobj
= Py_None
;
8420 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8421 PyObject
*resultobj
;
8422 wxFont
*arg1
= (wxFont
*) 0 ;
8424 PyObject
* obj0
= 0 ;
8425 PyObject
* obj1
= 0 ;
8427 (char *) "self",(char *) "weight", NULL
8430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8433 arg2
= (int)SWIG_As_int(obj1
);
8434 if (PyErr_Occurred()) SWIG_fail
;
8436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8437 (arg1
)->SetWeight(arg2
);
8439 wxPyEndAllowThreads(__tstate
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8442 Py_INCREF(Py_None
); resultobj
= Py_None
;
8449 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
*resultobj
;
8451 wxFont
*arg1
= (wxFont
*) 0 ;
8452 wxString
*arg2
= 0 ;
8453 bool temp2
= False
;
8454 PyObject
* obj0
= 0 ;
8455 PyObject
* obj1
= 0 ;
8457 (char *) "self",(char *) "faceName", NULL
8460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8464 arg2
= wxString_in_helper(obj1
);
8465 if (arg2
== NULL
) SWIG_fail
;
8469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8472 wxPyEndAllowThreads(__tstate
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8475 Py_INCREF(Py_None
); resultobj
= Py_None
;
8490 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
*resultobj
;
8492 wxFont
*arg1
= (wxFont
*) 0 ;
8494 PyObject
* obj0
= 0 ;
8495 PyObject
* obj1
= 0 ;
8497 (char *) "self",(char *) "underlined", NULL
8500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8503 arg2
= (bool)SWIG_As_bool(obj1
);
8504 if (PyErr_Occurred()) SWIG_fail
;
8506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8507 (arg1
)->SetUnderlined(arg2
);
8509 wxPyEndAllowThreads(__tstate
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8512 Py_INCREF(Py_None
); resultobj
= Py_None
;
8519 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8520 PyObject
*resultobj
;
8521 wxFont
*arg1
= (wxFont
*) 0 ;
8523 PyObject
* obj0
= 0 ;
8524 PyObject
* obj1
= 0 ;
8526 (char *) "self",(char *) "encoding", NULL
8529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8532 arg2
= (int)SWIG_As_int(obj1
);
8533 if (PyErr_Occurred()) SWIG_fail
;
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8536 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8541 Py_INCREF(Py_None
); resultobj
= Py_None
;
8548 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
;
8550 wxFont
*arg1
= (wxFont
*) 0 ;
8551 wxNativeFontInfo
*arg2
= 0 ;
8552 PyObject
* obj0
= 0 ;
8553 PyObject
* obj1
= 0 ;
8555 (char *) "self",(char *) "info", NULL
8558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8562 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8565 PyErr_SetString(PyExc_TypeError
,"null reference");
8569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8570 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8572 wxPyEndAllowThreads(__tstate
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8575 Py_INCREF(Py_None
); resultobj
= Py_None
;
8582 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8583 PyObject
*resultobj
;
8584 wxFont
*arg1
= (wxFont
*) 0 ;
8585 wxString
*arg2
= 0 ;
8586 bool temp2
= False
;
8587 PyObject
* obj0
= 0 ;
8588 PyObject
* obj1
= 0 ;
8590 (char *) "self",(char *) "info", NULL
8593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8597 arg2
= wxString_in_helper(obj1
);
8598 if (arg2
== NULL
) SWIG_fail
;
8602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8603 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8605 wxPyEndAllowThreads(__tstate
);
8606 if (PyErr_Occurred()) SWIG_fail
;
8608 Py_INCREF(Py_None
); resultobj
= Py_None
;
8623 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8624 PyObject
*resultobj
;
8625 wxFont
*arg1
= (wxFont
*) 0 ;
8626 wxString
*arg2
= 0 ;
8627 bool temp2
= False
;
8628 PyObject
* obj0
= 0 ;
8629 PyObject
* obj1
= 0 ;
8631 (char *) "self",(char *) "info", NULL
8634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8638 arg2
= wxString_in_helper(obj1
);
8639 if (arg2
== NULL
) SWIG_fail
;
8643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8644 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8646 wxPyEndAllowThreads(__tstate
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8649 Py_INCREF(Py_None
); resultobj
= Py_None
;
8664 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8665 PyObject
*resultobj
;
8666 wxFont
*arg1
= (wxFont
*) 0 ;
8668 PyObject
* obj0
= 0 ;
8670 (char *) "self", NULL
8673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8678 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8680 wxPyEndAllowThreads(__tstate
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8685 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8687 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8696 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8697 PyObject
*resultobj
;
8698 wxFont
*arg1
= (wxFont
*) 0 ;
8700 PyObject
* obj0
= 0 ;
8702 (char *) "self", NULL
8705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 result
= ((wxFont
const *)arg1
)->GetStyleString();
8712 wxPyEndAllowThreads(__tstate
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8717 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8719 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8728 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
;
8730 wxFont
*arg1
= (wxFont
*) 0 ;
8732 PyObject
* obj0
= 0 ;
8734 (char *) "self", NULL
8737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8742 result
= ((wxFont
const *)arg1
)->GetWeightString();
8744 wxPyEndAllowThreads(__tstate
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8749 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8751 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8760 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8761 PyObject
*resultobj
;
8762 wxFont
*arg1
= (wxFont
*) 0 ;
8763 bool arg2
= (bool) True
;
8764 PyObject
* obj0
= 0 ;
8765 PyObject
* obj1
= 0 ;
8767 (char *) "self",(char *) "no", NULL
8770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8774 arg2
= (bool)SWIG_As_bool(obj1
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 (arg1
)->SetNoAntiAliasing(arg2
);
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8784 Py_INCREF(Py_None
); resultobj
= Py_None
;
8791 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
*resultobj
;
8793 wxFont
*arg1
= (wxFont
*) 0 ;
8795 PyObject
* obj0
= 0 ;
8797 (char *) "self", NULL
8800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8805 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
8807 wxPyEndAllowThreads(__tstate
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8819 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
*resultobj
;
8826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8828 if (!wxPyCheckForApp()) SWIG_fail
;
8829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8830 result
= (int)wxFont::GetDefaultEncoding();
8832 wxPyEndAllowThreads(__tstate
);
8833 if (PyErr_Occurred()) SWIG_fail
;
8835 resultobj
= SWIG_From_int((int)result
);
8842 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8843 PyObject
*resultobj
;
8845 PyObject
* obj0
= 0 ;
8847 (char *) "encoding", NULL
8850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8851 arg1
= (int)SWIG_As_int(obj0
);
8852 if (PyErr_Occurred()) SWIG_fail
;
8854 if (!wxPyCheckForApp()) SWIG_fail
;
8855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8856 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8858 wxPyEndAllowThreads(__tstate
);
8859 if (PyErr_Occurred()) SWIG_fail
;
8861 Py_INCREF(Py_None
); resultobj
= Py_None
;
8868 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
8870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8871 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8873 return Py_BuildValue((char *)"");
8875 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
*resultobj
;
8877 wxPyFontEnumerator
*result
;
8882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8884 if (!wxPyCheckForApp()) SWIG_fail
;
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
8898 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8899 PyObject
*resultobj
;
8900 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8901 PyObject
* obj0
= 0 ;
8903 (char *) "self", NULL
8906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 Py_INCREF(Py_None
); resultobj
= Py_None
;
8923 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
;
8925 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8926 PyObject
*arg2
= (PyObject
*) 0 ;
8927 PyObject
*arg3
= (PyObject
*) 0 ;
8929 PyObject
* obj0
= 0 ;
8930 PyObject
* obj1
= 0 ;
8931 PyObject
* obj2
= 0 ;
8932 PyObject
* obj3
= 0 ;
8934 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8942 arg4
= (bool)SWIG_As_bool(obj3
);
8943 if (PyErr_Occurred()) SWIG_fail
;
8945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8948 wxPyEndAllowThreads(__tstate
);
8949 if (PyErr_Occurred()) SWIG_fail
;
8951 Py_INCREF(Py_None
); resultobj
= Py_None
;
8958 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8959 PyObject
*resultobj
;
8960 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8961 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8962 bool arg3
= (bool) False
;
8964 PyObject
* obj0
= 0 ;
8965 PyObject
* obj1
= 0 ;
8966 PyObject
* obj2
= 0 ;
8968 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8975 arg2
= (int)SWIG_As_int(obj1
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8979 arg3
= (bool)SWIG_As_bool(obj2
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8984 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8986 wxPyEndAllowThreads(__tstate
);
8987 if (PyErr_Occurred()) SWIG_fail
;
8990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8998 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
*resultobj
;
9000 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9001 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9002 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9004 bool temp2
= False
;
9005 PyObject
* obj0
= 0 ;
9006 PyObject
* obj1
= 0 ;
9008 (char *) "self",(char *) "facename", NULL
9011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
9012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9016 arg2
= wxString_in_helper(obj1
);
9017 if (arg2
== NULL
) SWIG_fail
;
9022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9023 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
9025 wxPyEndAllowThreads(__tstate
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9045 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
;
9047 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9049 PyObject
* obj0
= 0 ;
9051 (char *) "self", NULL
9054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
9055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9059 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
9061 wxPyEndAllowThreads(__tstate
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9071 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9072 PyObject
*resultobj
;
9073 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9075 PyObject
* obj0
= 0 ;
9077 (char *) "self", NULL
9080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
9081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9085 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
9087 wxPyEndAllowThreads(__tstate
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9097 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
9099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9100 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
9102 return Py_BuildValue((char *)"");
9104 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9105 PyObject
*resultobj
;
9106 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9108 PyObject
* obj0
= 0 ;
9109 PyObject
* obj1
= 0 ;
9111 (char *) "self",(char *) "Language", NULL
9114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9117 arg2
= (int)SWIG_As_int(obj1
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9119 if (arg1
) (arg1
)->Language
= arg2
;
9121 Py_INCREF(Py_None
); resultobj
= Py_None
;
9128 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
*resultobj
;
9130 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9132 PyObject
* obj0
= 0 ;
9134 (char *) "self", NULL
9137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9140 result
= (int) ((arg1
)->Language
);
9142 resultobj
= SWIG_From_int((int)result
);
9149 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9150 PyObject
*resultobj
;
9151 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9152 wxString
*arg2
= (wxString
*) 0 ;
9153 bool temp2
= False
;
9154 PyObject
* obj0
= 0 ;
9155 PyObject
* obj1
= 0 ;
9157 (char *) "self",(char *) "CanonicalName", NULL
9160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9164 arg2
= wxString_in_helper(obj1
);
9165 if (arg2
== NULL
) SWIG_fail
;
9168 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9170 Py_INCREF(Py_None
); resultobj
= Py_None
;
9185 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
;
9187 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9189 PyObject
* obj0
= 0 ;
9191 (char *) "self", NULL
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9197 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9201 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9203 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9212 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9213 PyObject
*resultobj
;
9214 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9215 wxString
*arg2
= (wxString
*) 0 ;
9216 bool temp2
= False
;
9217 PyObject
* obj0
= 0 ;
9218 PyObject
* obj1
= 0 ;
9220 (char *) "self",(char *) "Description", NULL
9223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9227 arg2
= wxString_in_helper(obj1
);
9228 if (arg2
== NULL
) SWIG_fail
;
9231 if (arg1
) (arg1
)->Description
= *arg2
;
9233 Py_INCREF(Py_None
); resultobj
= Py_None
;
9248 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9249 PyObject
*resultobj
;
9250 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9252 PyObject
* obj0
= 0 ;
9254 (char *) "self", NULL
9257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9260 result
= (wxString
*)& ((arg1
)->Description
);
9264 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9266 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9275 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
9277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9278 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9280 return Py_BuildValue((char *)"");
9282 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9283 PyObject
*resultobj
;
9284 int arg1
= (int) -1 ;
9285 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9287 PyObject
* obj0
= 0 ;
9288 PyObject
* obj1
= 0 ;
9290 (char *) "language",(char *) "flags", NULL
9293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9295 arg1
= (int)SWIG_As_int(obj0
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9299 arg2
= (int)SWIG_As_int(obj1
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
9306 wxPyEndAllowThreads(__tstate
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9316 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9317 PyObject
*resultobj
;
9318 wxLocale
*arg1
= (wxLocale
*) 0 ;
9319 PyObject
* obj0
= 0 ;
9321 (char *) "self", NULL
9324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9331 wxPyEndAllowThreads(__tstate
);
9332 if (PyErr_Occurred()) SWIG_fail
;
9334 Py_INCREF(Py_None
); resultobj
= Py_None
;
9341 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9342 PyObject
*resultobj
;
9343 wxLocale
*arg1
= (wxLocale
*) 0 ;
9344 wxString
*arg2
= 0 ;
9345 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9346 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9347 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9348 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9349 bool arg5
= (bool) True
;
9350 bool arg6
= (bool) False
;
9352 bool temp2
= False
;
9353 bool temp3
= False
;
9354 bool temp4
= False
;
9355 PyObject
* obj0
= 0 ;
9356 PyObject
* obj1
= 0 ;
9357 PyObject
* obj2
= 0 ;
9358 PyObject
* obj3
= 0 ;
9359 PyObject
* obj4
= 0 ;
9360 PyObject
* obj5
= 0 ;
9362 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9369 arg2
= wxString_in_helper(obj1
);
9370 if (arg2
== NULL
) SWIG_fail
;
9375 arg3
= wxString_in_helper(obj2
);
9376 if (arg3
== NULL
) SWIG_fail
;
9382 arg4
= wxString_in_helper(obj3
);
9383 if (arg4
== NULL
) SWIG_fail
;
9388 arg5
= (bool)SWIG_As_bool(obj4
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9392 arg6
= (bool)SWIG_As_bool(obj5
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9435 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9436 PyObject
*resultobj
;
9437 wxLocale
*arg1
= (wxLocale
*) 0 ;
9438 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9439 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9441 PyObject
* obj0
= 0 ;
9442 PyObject
* obj1
= 0 ;
9443 PyObject
* obj2
= 0 ;
9445 (char *) "self",(char *) "language",(char *) "flags", NULL
9448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9452 arg2
= (int)SWIG_As_int(obj1
);
9453 if (PyErr_Occurred()) SWIG_fail
;
9456 arg3
= (int)SWIG_As_int(obj2
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9475 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9476 PyObject
*resultobj
;
9482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9485 result
= (int)wxLocale::GetSystemLanguage();
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9490 resultobj
= SWIG_From_int((int)result
);
9497 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9498 PyObject
*resultobj
;
9504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 result
= (int)wxLocale::GetSystemEncoding();
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9512 resultobj
= SWIG_From_int((int)result
);
9519 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9520 PyObject
*resultobj
;
9526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9529 result
= wxLocale::GetSystemEncodingName();
9531 wxPyEndAllowThreads(__tstate
);
9532 if (PyErr_Occurred()) SWIG_fail
;
9536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9547 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9548 PyObject
*resultobj
;
9549 wxLocale
*arg1
= (wxLocale
*) 0 ;
9551 PyObject
* obj0
= 0 ;
9553 (char *) "self", NULL
9556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9561 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9563 wxPyEndAllowThreads(__tstate
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9575 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
*resultobj
;
9577 wxLocale
*arg1
= (wxLocale
*) 0 ;
9579 PyObject
* obj0
= 0 ;
9581 (char *) "self", NULL
9584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9589 result
= ((wxLocale
const *)arg1
)->GetLocale();
9591 wxPyEndAllowThreads(__tstate
);
9592 if (PyErr_Occurred()) SWIG_fail
;
9596 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9598 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9607 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9608 PyObject
*resultobj
;
9609 wxLocale
*arg1
= (wxLocale
*) 0 ;
9611 PyObject
* obj0
= 0 ;
9613 (char *) "self", NULL
9616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9626 resultobj
= SWIG_From_int((int)result
);
9633 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
*resultobj
;
9635 wxLocale
*arg1
= (wxLocale
*) 0 ;
9637 PyObject
* obj0
= 0 ;
9639 (char *) "self", NULL
9642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9647 result
= ((wxLocale
const *)arg1
)->GetSysName();
9649 wxPyEndAllowThreads(__tstate
);
9650 if (PyErr_Occurred()) SWIG_fail
;
9654 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9656 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9665 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9666 PyObject
*resultobj
;
9667 wxLocale
*arg1
= (wxLocale
*) 0 ;
9669 PyObject
* obj0
= 0 ;
9671 (char *) "self", NULL
9674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9679 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9686 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9688 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9697 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9698 PyObject
*resultobj
;
9699 wxString
*arg1
= 0 ;
9700 bool temp1
= False
;
9701 PyObject
* obj0
= 0 ;
9703 (char *) "prefix", NULL
9706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9708 arg1
= wxString_in_helper(obj0
);
9709 if (arg1
== NULL
) SWIG_fail
;
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9716 wxPyEndAllowThreads(__tstate
);
9717 if (PyErr_Occurred()) SWIG_fail
;
9719 Py_INCREF(Py_None
); resultobj
= Py_None
;
9734 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
;
9736 wxLocale
*arg1
= (wxLocale
*) 0 ;
9737 wxString
*arg2
= 0 ;
9739 bool temp2
= False
;
9740 PyObject
* obj0
= 0 ;
9741 PyObject
* obj1
= 0 ;
9743 (char *) "self",(char *) "szDomain", NULL
9746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9750 arg2
= wxString_in_helper(obj1
);
9751 if (arg2
== NULL
) SWIG_fail
;
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9778 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9779 PyObject
*resultobj
;
9780 wxLocale
*arg1
= (wxLocale
*) 0 ;
9781 wxString
*arg2
= 0 ;
9783 bool temp2
= False
;
9784 PyObject
* obj0
= 0 ;
9785 PyObject
* obj1
= 0 ;
9787 (char *) "self",(char *) "szDomain", NULL
9790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9794 arg2
= wxString_in_helper(obj1
);
9795 if (arg2
== NULL
) SWIG_fail
;
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9822 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9823 PyObject
*resultobj
;
9825 wxLanguageInfo
*result
;
9826 PyObject
* obj0
= 0 ;
9828 (char *) "lang", NULL
9831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9832 arg1
= (int)SWIG_As_int(obj0
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9838 wxPyEndAllowThreads(__tstate
);
9839 if (PyErr_Occurred()) SWIG_fail
;
9841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9848 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9849 PyObject
*resultobj
;
9852 PyObject
* obj0
= 0 ;
9854 (char *) "lang", NULL
9857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9858 arg1
= (int)SWIG_As_int(obj0
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 result
= wxLocale::GetLanguageName(arg1
);
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9869 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9871 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9880 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
*resultobj
;
9882 wxString
*arg1
= 0 ;
9883 wxLanguageInfo
*result
;
9884 bool temp1
= False
;
9885 PyObject
* obj0
= 0 ;
9887 (char *) "locale", NULL
9890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9892 arg1
= wxString_in_helper(obj0
);
9893 if (arg1
== NULL
) SWIG_fail
;
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9918 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9919 PyObject
*resultobj
;
9920 wxLanguageInfo
*arg1
= 0 ;
9921 PyObject
* obj0
= 0 ;
9923 (char *) "info", NULL
9926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9928 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9931 PyErr_SetString(PyExc_TypeError
,"null reference");
9935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9936 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9938 wxPyEndAllowThreads(__tstate
);
9939 if (PyErr_Occurred()) SWIG_fail
;
9941 Py_INCREF(Py_None
); resultobj
= Py_None
;
9948 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9949 PyObject
*resultobj
;
9950 wxLocale
*arg1
= (wxLocale
*) 0 ;
9951 wxString
*arg2
= 0 ;
9952 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9953 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9955 bool temp2
= False
;
9956 bool temp3
= False
;
9957 PyObject
* obj0
= 0 ;
9958 PyObject
* obj1
= 0 ;
9959 PyObject
* obj2
= 0 ;
9961 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9968 arg2
= wxString_in_helper(obj1
);
9969 if (arg2
== NULL
) SWIG_fail
;
9974 arg3
= wxString_in_helper(obj2
);
9975 if (arg3
== NULL
) SWIG_fail
;
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9988 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9990 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10015 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10016 PyObject
*resultobj
;
10017 wxLocale
*arg1
= (wxLocale
*) 0 ;
10019 PyObject
* obj0
= 0 ;
10020 char *kwnames
[] = {
10021 (char *) "self", NULL
10024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
10025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10030 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
10031 result
= (wxString
*) &_result_ref
;
10034 wxPyEndAllowThreads(__tstate
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10039 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10041 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10050 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
10052 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10053 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
10055 return Py_BuildValue((char *)"");
10057 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
*resultobj
;
10060 char *kwnames
[] = {
10064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 result
= (wxLocale
*)wxGetLocale();
10069 wxPyEndAllowThreads(__tstate
);
10070 if (PyErr_Occurred()) SWIG_fail
;
10072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
10079 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
10080 PyObject
*resultobj
;
10081 wxString
*arg1
= 0 ;
10083 bool temp1
= False
;
10084 PyObject
* obj0
= 0 ;
10086 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
10088 arg1
= wxString_in_helper(obj0
);
10089 if (arg1
== NULL
) SWIG_fail
;
10093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10094 result
= wxGetTranslation((wxString
const &)*arg1
);
10096 wxPyEndAllowThreads(__tstate
);
10097 if (PyErr_Occurred()) SWIG_fail
;
10101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10120 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
10121 PyObject
*resultobj
;
10122 wxString
*arg1
= 0 ;
10123 wxString
*arg2
= 0 ;
10126 bool temp1
= False
;
10127 bool temp2
= False
;
10128 PyObject
* obj0
= 0 ;
10129 PyObject
* obj1
= 0 ;
10130 PyObject
* obj2
= 0 ;
10132 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
10134 arg1
= wxString_in_helper(obj0
);
10135 if (arg1
== NULL
) SWIG_fail
;
10139 arg2
= wxString_in_helper(obj1
);
10140 if (arg2
== NULL
) SWIG_fail
;
10143 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10144 if (PyErr_Occurred()) SWIG_fail
;
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10154 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10156 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10181 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10186 argc
= PyObject_Length(args
);
10187 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10188 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10193 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10196 return _wrap_GetTranslation__SWIG_0(self
,args
);
10202 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10206 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10209 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
10211 return _wrap_GetTranslation__SWIG_1(self
,args
);
10217 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10222 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10223 PyObject
*resultobj
;
10224 wxEncodingConverter
*result
;
10225 char *kwnames
[] = {
10229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10244 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
*resultobj
;
10246 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10247 PyObject
* obj0
= 0 ;
10248 char *kwnames
[] = {
10249 (char *) "self", NULL
10252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10262 Py_INCREF(Py_None
); resultobj
= Py_None
;
10269 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
*resultobj
;
10271 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10274 int arg4
= (int) wxCONVERT_STRICT
;
10276 PyObject
* obj0
= 0 ;
10277 PyObject
* obj1
= 0 ;
10278 PyObject
* obj2
= 0 ;
10279 PyObject
* obj3
= 0 ;
10280 char *kwnames
[] = {
10281 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10287 arg2
= (int)SWIG_As_int(obj1
);
10288 if (PyErr_Occurred()) SWIG_fail
;
10289 arg3
= (int)SWIG_As_int(obj2
);
10290 if (PyErr_Occurred()) SWIG_fail
;
10292 arg4
= (int)SWIG_As_int(obj3
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10297 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10299 wxPyEndAllowThreads(__tstate
);
10300 if (PyErr_Occurred()) SWIG_fail
;
10303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10311 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10312 PyObject
*resultobj
;
10313 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10314 wxString
*arg2
= 0 ;
10316 bool temp2
= False
;
10317 PyObject
* obj0
= 0 ;
10318 PyObject
* obj1
= 0 ;
10319 char *kwnames
[] = {
10320 (char *) "self",(char *) "input", NULL
10323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10327 arg2
= wxString_in_helper(obj1
);
10328 if (arg2
== NULL
) SWIG_fail
;
10332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10333 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10340 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10342 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10359 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
;
10362 int arg2
= (int) wxPLATFORM_CURRENT
;
10363 wxFontEncodingArray result
;
10364 PyObject
* obj0
= 0 ;
10365 PyObject
* obj1
= 0 ;
10366 char *kwnames
[] = {
10367 (char *) "enc",(char *) "platform", NULL
10370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10371 arg1
= (int)SWIG_As_int(obj0
);
10372 if (PyErr_Occurred()) SWIG_fail
;
10374 arg2
= (int)SWIG_As_int(obj1
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10379 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10381 wxPyEndAllowThreads(__tstate
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10385 resultobj
= PyList_New(0);
10386 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10387 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10388 PyList_Append(resultobj
, number
);
10398 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10399 PyObject
*resultobj
;
10401 wxFontEncodingArray result
;
10402 PyObject
* obj0
= 0 ;
10403 char *kwnames
[] = {
10404 (char *) "enc", NULL
10407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10408 arg1
= (int)SWIG_As_int(obj0
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10412 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10414 wxPyEndAllowThreads(__tstate
);
10415 if (PyErr_Occurred()) SWIG_fail
;
10418 resultobj
= PyList_New(0);
10419 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10420 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10421 PyList_Append(resultobj
, number
);
10431 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10432 PyObject
*resultobj
;
10436 PyObject
* obj0
= 0 ;
10437 PyObject
* obj1
= 0 ;
10438 char *kwnames
[] = {
10439 (char *) "encIn",(char *) "encOut", NULL
10442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10443 arg1
= (int)SWIG_As_int(obj0
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10445 arg2
= (int)SWIG_As_int(obj1
);
10446 if (PyErr_Occurred()) SWIG_fail
;
10448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10449 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10451 wxPyEndAllowThreads(__tstate
);
10452 if (PyErr_Occurred()) SWIG_fail
;
10455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10463 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
10465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10466 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10468 return Py_BuildValue((char *)"");
10470 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10471 PyObject
*resultobj
;
10472 wxDC
*arg1
= (wxDC
*) 0 ;
10473 PyObject
* obj0
= 0 ;
10474 char *kwnames
[] = {
10475 (char *) "self", NULL
10478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10485 wxPyEndAllowThreads(__tstate
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10488 Py_INCREF(Py_None
); resultobj
= Py_None
;
10495 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10496 PyObject
*resultobj
;
10497 wxDC
*arg1
= (wxDC
*) 0 ;
10498 PyObject
* obj0
= 0 ;
10499 char *kwnames
[] = {
10500 (char *) "self", NULL
10503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10508 (arg1
)->BeginDrawing();
10510 wxPyEndAllowThreads(__tstate
);
10511 if (PyErr_Occurred()) SWIG_fail
;
10513 Py_INCREF(Py_None
); resultobj
= Py_None
;
10520 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10521 PyObject
*resultobj
;
10522 wxDC
*arg1
= (wxDC
*) 0 ;
10523 PyObject
* obj0
= 0 ;
10524 char *kwnames
[] = {
10525 (char *) "self", NULL
10528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10533 (arg1
)->EndDrawing();
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10538 Py_INCREF(Py_None
); resultobj
= Py_None
;
10545 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10546 PyObject
*resultobj
;
10547 wxDC
*arg1
= (wxDC
*) 0 ;
10550 wxColour
*arg4
= 0 ;
10551 int arg5
= (int) wxFLOOD_SURFACE
;
10554 PyObject
* obj0
= 0 ;
10555 PyObject
* obj1
= 0 ;
10556 PyObject
* obj2
= 0 ;
10557 PyObject
* obj3
= 0 ;
10558 PyObject
* obj4
= 0 ;
10559 char *kwnames
[] = {
10560 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10566 arg2
= (int)SWIG_As_int(obj1
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10568 arg3
= (int)SWIG_As_int(obj2
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10572 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10575 arg5
= (int)SWIG_As_int(obj4
);
10576 if (PyErr_Occurred()) SWIG_fail
;
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10580 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10594 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10595 PyObject
*resultobj
;
10596 wxDC
*arg1
= (wxDC
*) 0 ;
10597 wxPoint
*arg2
= 0 ;
10598 wxColour
*arg3
= 0 ;
10599 int arg4
= (int) wxFLOOD_SURFACE
;
10603 PyObject
* obj0
= 0 ;
10604 PyObject
* obj1
= 0 ;
10605 PyObject
* obj2
= 0 ;
10606 PyObject
* obj3
= 0 ;
10607 char *kwnames
[] = {
10608 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10616 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10620 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10623 arg4
= (int)SWIG_As_int(obj3
);
10624 if (PyErr_Occurred()) SWIG_fail
;
10627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10628 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10642 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10643 PyObject
*resultobj
;
10644 wxDC
*arg1
= (wxDC
*) 0 ;
10648 PyObject
* obj0
= 0 ;
10649 PyObject
* obj1
= 0 ;
10650 PyObject
* obj2
= 0 ;
10651 char *kwnames
[] = {
10652 (char *) "self",(char *) "x",(char *) "y", NULL
10655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10658 arg2
= (int)SWIG_As_int(obj1
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10660 arg3
= (int)SWIG_As_int(obj2
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10664 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
10666 wxPyEndAllowThreads(__tstate
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10670 wxColour
* resultptr
;
10671 resultptr
= new wxColour((wxColour
&) result
);
10672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10680 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
;
10682 wxDC
*arg1
= (wxDC
*) 0 ;
10683 wxPoint
*arg2
= 0 ;
10686 PyObject
* obj0
= 0 ;
10687 PyObject
* obj1
= 0 ;
10688 char *kwnames
[] = {
10689 (char *) "self",(char *) "pt", NULL
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10697 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10707 wxColour
* resultptr
;
10708 resultptr
= new wxColour((wxColour
&) result
);
10709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10717 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10718 PyObject
*resultobj
;
10719 wxDC
*arg1
= (wxDC
*) 0 ;
10724 PyObject
* obj0
= 0 ;
10725 PyObject
* obj1
= 0 ;
10726 PyObject
* obj2
= 0 ;
10727 PyObject
* obj3
= 0 ;
10728 PyObject
* obj4
= 0 ;
10729 char *kwnames
[] = {
10730 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10736 arg2
= (int)SWIG_As_int(obj1
);
10737 if (PyErr_Occurred()) SWIG_fail
;
10738 arg3
= (int)SWIG_As_int(obj2
);
10739 if (PyErr_Occurred()) SWIG_fail
;
10740 arg4
= (int)SWIG_As_int(obj3
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10742 arg5
= (int)SWIG_As_int(obj4
);
10743 if (PyErr_Occurred()) SWIG_fail
;
10745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10746 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10748 wxPyEndAllowThreads(__tstate
);
10749 if (PyErr_Occurred()) SWIG_fail
;
10751 Py_INCREF(Py_None
); resultobj
= Py_None
;
10758 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10759 PyObject
*resultobj
;
10760 wxDC
*arg1
= (wxDC
*) 0 ;
10761 wxPoint
*arg2
= 0 ;
10762 wxPoint
*arg3
= 0 ;
10765 PyObject
* obj0
= 0 ;
10766 PyObject
* obj1
= 0 ;
10767 PyObject
* obj2
= 0 ;
10768 char *kwnames
[] = {
10769 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10777 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10781 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 Py_INCREF(Py_None
); resultobj
= Py_None
;
10797 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
;
10799 wxDC
*arg1
= (wxDC
*) 0 ;
10802 PyObject
* obj0
= 0 ;
10803 PyObject
* obj1
= 0 ;
10804 PyObject
* obj2
= 0 ;
10805 char *kwnames
[] = {
10806 (char *) "self",(char *) "x",(char *) "y", NULL
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10812 arg2
= (int)SWIG_As_int(obj1
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10814 arg3
= (int)SWIG_As_int(obj2
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10818 (arg1
)->CrossHair(arg2
,arg3
);
10820 wxPyEndAllowThreads(__tstate
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10823 Py_INCREF(Py_None
); resultobj
= Py_None
;
10830 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10831 PyObject
*resultobj
;
10832 wxDC
*arg1
= (wxDC
*) 0 ;
10833 wxPoint
*arg2
= 0 ;
10835 PyObject
* obj0
= 0 ;
10836 PyObject
* obj1
= 0 ;
10837 char *kwnames
[] = {
10838 (char *) "self",(char *) "pt", NULL
10841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10846 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10850 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10852 wxPyEndAllowThreads(__tstate
);
10853 if (PyErr_Occurred()) SWIG_fail
;
10855 Py_INCREF(Py_None
); resultobj
= Py_None
;
10862 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10863 PyObject
*resultobj
;
10864 wxDC
*arg1
= (wxDC
*) 0 ;
10871 PyObject
* obj0
= 0 ;
10872 PyObject
* obj1
= 0 ;
10873 PyObject
* obj2
= 0 ;
10874 PyObject
* obj3
= 0 ;
10875 PyObject
* obj4
= 0 ;
10876 PyObject
* obj5
= 0 ;
10877 PyObject
* obj6
= 0 ;
10878 char *kwnames
[] = {
10879 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10885 arg2
= (int)SWIG_As_int(obj1
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10887 arg3
= (int)SWIG_As_int(obj2
);
10888 if (PyErr_Occurred()) SWIG_fail
;
10889 arg4
= (int)SWIG_As_int(obj3
);
10890 if (PyErr_Occurred()) SWIG_fail
;
10891 arg5
= (int)SWIG_As_int(obj4
);
10892 if (PyErr_Occurred()) SWIG_fail
;
10893 arg6
= (int)SWIG_As_int(obj5
);
10894 if (PyErr_Occurred()) SWIG_fail
;
10895 arg7
= (int)SWIG_As_int(obj6
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10899 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10901 wxPyEndAllowThreads(__tstate
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10904 Py_INCREF(Py_None
); resultobj
= Py_None
;
10911 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10912 PyObject
*resultobj
;
10913 wxDC
*arg1
= (wxDC
*) 0 ;
10914 wxPoint
*arg2
= 0 ;
10915 wxPoint
*arg3
= 0 ;
10916 wxPoint
*arg4
= 0 ;
10920 PyObject
* obj0
= 0 ;
10921 PyObject
* obj1
= 0 ;
10922 PyObject
* obj2
= 0 ;
10923 PyObject
* obj3
= 0 ;
10924 char *kwnames
[] = {
10925 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
10928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10933 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10937 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10941 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10947 wxPyEndAllowThreads(__tstate
);
10948 if (PyErr_Occurred()) SWIG_fail
;
10950 Py_INCREF(Py_None
); resultobj
= Py_None
;
10957 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
*resultobj
;
10959 wxDC
*arg1
= (wxDC
*) 0 ;
10964 PyObject
* obj0
= 0 ;
10965 PyObject
* obj1
= 0 ;
10966 PyObject
* obj2
= 0 ;
10967 PyObject
* obj3
= 0 ;
10968 PyObject
* obj4
= 0 ;
10969 char *kwnames
[] = {
10970 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10976 arg2
= (int)SWIG_As_int(obj1
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10978 arg3
= (int)SWIG_As_int(obj2
);
10979 if (PyErr_Occurred()) SWIG_fail
;
10980 arg4
= (int)SWIG_As_int(obj3
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10982 arg5
= (int)SWIG_As_int(obj4
);
10983 if (PyErr_Occurred()) SWIG_fail
;
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10991 Py_INCREF(Py_None
); resultobj
= Py_None
;
10998 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10999 PyObject
*resultobj
;
11000 wxDC
*arg1
= (wxDC
*) 0 ;
11003 PyObject
* obj0
= 0 ;
11004 PyObject
* obj1
= 0 ;
11005 char *kwnames
[] = {
11006 (char *) "self",(char *) "rect", NULL
11009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11014 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
11020 wxPyEndAllowThreads(__tstate
);
11021 if (PyErr_Occurred()) SWIG_fail
;
11023 Py_INCREF(Py_None
); resultobj
= Py_None
;
11030 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11031 PyObject
*resultobj
;
11032 wxDC
*arg1
= (wxDC
*) 0 ;
11039 PyObject
* obj0
= 0 ;
11040 PyObject
* obj1
= 0 ;
11041 PyObject
* obj2
= 0 ;
11042 PyObject
* obj3
= 0 ;
11043 PyObject
* obj4
= 0 ;
11044 PyObject
* obj5
= 0 ;
11045 PyObject
* obj6
= 0 ;
11046 char *kwnames
[] = {
11047 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
11050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11053 arg2
= (int)SWIG_As_int(obj1
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11055 arg3
= (int)SWIG_As_int(obj2
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11057 arg4
= (int)SWIG_As_int(obj3
);
11058 if (PyErr_Occurred()) SWIG_fail
;
11059 arg5
= (int)SWIG_As_int(obj4
);
11060 if (PyErr_Occurred()) SWIG_fail
;
11061 arg6
= (double)SWIG_As_double(obj5
);
11062 if (PyErr_Occurred()) SWIG_fail
;
11063 arg7
= (double)SWIG_As_double(obj6
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11067 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11069 wxPyEndAllowThreads(__tstate
);
11070 if (PyErr_Occurred()) SWIG_fail
;
11072 Py_INCREF(Py_None
); resultobj
= Py_None
;
11079 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11080 PyObject
*resultobj
;
11081 wxDC
*arg1
= (wxDC
*) 0 ;
11082 wxPoint
*arg2
= 0 ;
11088 PyObject
* obj0
= 0 ;
11089 PyObject
* obj1
= 0 ;
11090 PyObject
* obj2
= 0 ;
11091 PyObject
* obj3
= 0 ;
11092 PyObject
* obj4
= 0 ;
11093 char *kwnames
[] = {
11094 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
11097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11102 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11106 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11108 arg4
= (double)SWIG_As_double(obj3
);
11109 if (PyErr_Occurred()) SWIG_fail
;
11110 arg5
= (double)SWIG_As_double(obj4
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11114 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
11116 wxPyEndAllowThreads(__tstate
);
11117 if (PyErr_Occurred()) SWIG_fail
;
11119 Py_INCREF(Py_None
); resultobj
= Py_None
;
11126 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11127 PyObject
*resultobj
;
11128 wxDC
*arg1
= (wxDC
*) 0 ;
11131 PyObject
* obj0
= 0 ;
11132 PyObject
* obj1
= 0 ;
11133 PyObject
* obj2
= 0 ;
11134 char *kwnames
[] = {
11135 (char *) "self",(char *) "x",(char *) "y", NULL
11138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11141 arg2
= (int)SWIG_As_int(obj1
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11143 arg3
= (int)SWIG_As_int(obj2
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11147 (arg1
)->DrawPoint(arg2
,arg3
);
11149 wxPyEndAllowThreads(__tstate
);
11150 if (PyErr_Occurred()) SWIG_fail
;
11152 Py_INCREF(Py_None
); resultobj
= Py_None
;
11159 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11160 PyObject
*resultobj
;
11161 wxDC
*arg1
= (wxDC
*) 0 ;
11162 wxPoint
*arg2
= 0 ;
11164 PyObject
* obj0
= 0 ;
11165 PyObject
* obj1
= 0 ;
11166 char *kwnames
[] = {
11167 (char *) "self",(char *) "pt", NULL
11170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11175 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11179 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11181 wxPyEndAllowThreads(__tstate
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11184 Py_INCREF(Py_None
); resultobj
= Py_None
;
11191 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11192 PyObject
*resultobj
;
11193 wxDC
*arg1
= (wxDC
*) 0 ;
11198 PyObject
* obj0
= 0 ;
11199 PyObject
* obj1
= 0 ;
11200 PyObject
* obj2
= 0 ;
11201 PyObject
* obj3
= 0 ;
11202 PyObject
* obj4
= 0 ;
11203 char *kwnames
[] = {
11204 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11210 arg2
= (int)SWIG_As_int(obj1
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11212 arg3
= (int)SWIG_As_int(obj2
);
11213 if (PyErr_Occurred()) SWIG_fail
;
11214 arg4
= (int)SWIG_As_int(obj3
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11216 arg5
= (int)SWIG_As_int(obj4
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11220 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11222 wxPyEndAllowThreads(__tstate
);
11223 if (PyErr_Occurred()) SWIG_fail
;
11225 Py_INCREF(Py_None
); resultobj
= Py_None
;
11232 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11233 PyObject
*resultobj
;
11234 wxDC
*arg1
= (wxDC
*) 0 ;
11237 PyObject
* obj0
= 0 ;
11238 PyObject
* obj1
= 0 ;
11239 char *kwnames
[] = {
11240 (char *) "self",(char *) "rect", NULL
11243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11248 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11252 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11254 wxPyEndAllowThreads(__tstate
);
11255 if (PyErr_Occurred()) SWIG_fail
;
11257 Py_INCREF(Py_None
); resultobj
= Py_None
;
11264 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11265 PyObject
*resultobj
;
11266 wxDC
*arg1
= (wxDC
*) 0 ;
11267 wxPoint
*arg2
= 0 ;
11271 PyObject
* obj0
= 0 ;
11272 PyObject
* obj1
= 0 ;
11273 PyObject
* obj2
= 0 ;
11274 char *kwnames
[] = {
11275 (char *) "self",(char *) "pt",(char *) "sz", NULL
11278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11283 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11287 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11291 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11296 Py_INCREF(Py_None
); resultobj
= Py_None
;
11303 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11304 PyObject
*resultobj
;
11305 wxDC
*arg1
= (wxDC
*) 0 ;
11311 PyObject
* obj0
= 0 ;
11312 PyObject
* obj1
= 0 ;
11313 PyObject
* obj2
= 0 ;
11314 PyObject
* obj3
= 0 ;
11315 PyObject
* obj4
= 0 ;
11316 PyObject
* obj5
= 0 ;
11317 char *kwnames
[] = {
11318 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11324 arg2
= (int)SWIG_As_int(obj1
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11326 arg3
= (int)SWIG_As_int(obj2
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11328 arg4
= (int)SWIG_As_int(obj3
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11330 arg5
= (int)SWIG_As_int(obj4
);
11331 if (PyErr_Occurred()) SWIG_fail
;
11332 arg6
= (double)SWIG_As_double(obj5
);
11333 if (PyErr_Occurred()) SWIG_fail
;
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11336 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11338 wxPyEndAllowThreads(__tstate
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11341 Py_INCREF(Py_None
); resultobj
= Py_None
;
11348 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11349 PyObject
*resultobj
;
11350 wxDC
*arg1
= (wxDC
*) 0 ;
11354 PyObject
* obj0
= 0 ;
11355 PyObject
* obj1
= 0 ;
11356 PyObject
* obj2
= 0 ;
11357 char *kwnames
[] = {
11358 (char *) "self",(char *) "r",(char *) "radius", NULL
11361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11366 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11368 arg3
= (double)SWIG_As_double(obj2
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11372 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11374 wxPyEndAllowThreads(__tstate
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11377 Py_INCREF(Py_None
); resultobj
= Py_None
;
11384 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11385 PyObject
*resultobj
;
11386 wxDC
*arg1
= (wxDC
*) 0 ;
11387 wxPoint
*arg2
= 0 ;
11392 PyObject
* obj0
= 0 ;
11393 PyObject
* obj1
= 0 ;
11394 PyObject
* obj2
= 0 ;
11395 PyObject
* obj3
= 0 ;
11396 char *kwnames
[] = {
11397 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11405 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11409 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11411 arg4
= (double)SWIG_As_double(obj3
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11415 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11420 Py_INCREF(Py_None
); resultobj
= Py_None
;
11427 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11428 PyObject
*resultobj
;
11429 wxDC
*arg1
= (wxDC
*) 0 ;
11433 PyObject
* obj0
= 0 ;
11434 PyObject
* obj1
= 0 ;
11435 PyObject
* obj2
= 0 ;
11436 PyObject
* obj3
= 0 ;
11437 char *kwnames
[] = {
11438 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11444 arg2
= (int)SWIG_As_int(obj1
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11446 arg3
= (int)SWIG_As_int(obj2
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11448 arg4
= (int)SWIG_As_int(obj3
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11452 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11454 wxPyEndAllowThreads(__tstate
);
11455 if (PyErr_Occurred()) SWIG_fail
;
11457 Py_INCREF(Py_None
); resultobj
= Py_None
;
11464 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11465 PyObject
*resultobj
;
11466 wxDC
*arg1
= (wxDC
*) 0 ;
11467 wxPoint
*arg2
= 0 ;
11470 PyObject
* obj0
= 0 ;
11471 PyObject
* obj1
= 0 ;
11472 PyObject
* obj2
= 0 ;
11473 char *kwnames
[] = {
11474 (char *) "self",(char *) "pt",(char *) "radius", NULL
11477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11482 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11484 arg3
= (int)SWIG_As_int(obj2
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11488 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11490 wxPyEndAllowThreads(__tstate
);
11491 if (PyErr_Occurred()) SWIG_fail
;
11493 Py_INCREF(Py_None
); resultobj
= Py_None
;
11500 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11501 PyObject
*resultobj
;
11502 wxDC
*arg1
= (wxDC
*) 0 ;
11507 PyObject
* obj0
= 0 ;
11508 PyObject
* obj1
= 0 ;
11509 PyObject
* obj2
= 0 ;
11510 PyObject
* obj3
= 0 ;
11511 PyObject
* obj4
= 0 ;
11512 char *kwnames
[] = {
11513 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11519 arg2
= (int)SWIG_As_int(obj1
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11521 arg3
= (int)SWIG_As_int(obj2
);
11522 if (PyErr_Occurred()) SWIG_fail
;
11523 arg4
= (int)SWIG_As_int(obj3
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11525 arg5
= (int)SWIG_As_int(obj4
);
11526 if (PyErr_Occurred()) SWIG_fail
;
11528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11529 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11531 wxPyEndAllowThreads(__tstate
);
11532 if (PyErr_Occurred()) SWIG_fail
;
11534 Py_INCREF(Py_None
); resultobj
= Py_None
;
11541 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
*resultobj
;
11543 wxDC
*arg1
= (wxDC
*) 0 ;
11546 PyObject
* obj0
= 0 ;
11547 PyObject
* obj1
= 0 ;
11548 char *kwnames
[] = {
11549 (char *) "self",(char *) "rect", NULL
11552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11557 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11561 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11563 wxPyEndAllowThreads(__tstate
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11566 Py_INCREF(Py_None
); resultobj
= Py_None
;
11573 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11574 PyObject
*resultobj
;
11575 wxDC
*arg1
= (wxDC
*) 0 ;
11576 wxPoint
*arg2
= 0 ;
11580 PyObject
* obj0
= 0 ;
11581 PyObject
* obj1
= 0 ;
11582 PyObject
* obj2
= 0 ;
11583 char *kwnames
[] = {
11584 (char *) "self",(char *) "pt",(char *) "sz", NULL
11587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11592 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11596 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11600 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11602 wxPyEndAllowThreads(__tstate
);
11603 if (PyErr_Occurred()) SWIG_fail
;
11605 Py_INCREF(Py_None
); resultobj
= Py_None
;
11612 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11613 PyObject
*resultobj
;
11614 wxDC
*arg1
= (wxDC
*) 0 ;
11618 PyObject
* obj0
= 0 ;
11619 PyObject
* obj1
= 0 ;
11620 PyObject
* obj2
= 0 ;
11621 PyObject
* obj3
= 0 ;
11622 char *kwnames
[] = {
11623 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11632 if (arg2
== NULL
) {
11633 PyErr_SetString(PyExc_TypeError
,"null reference");
11636 arg3
= (int)SWIG_As_int(obj2
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11638 arg4
= (int)SWIG_As_int(obj3
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11647 Py_INCREF(Py_None
); resultobj
= Py_None
;
11654 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11655 PyObject
*resultobj
;
11656 wxDC
*arg1
= (wxDC
*) 0 ;
11658 wxPoint
*arg3
= 0 ;
11660 PyObject
* obj0
= 0 ;
11661 PyObject
* obj1
= 0 ;
11662 PyObject
* obj2
= 0 ;
11663 char *kwnames
[] = {
11664 (char *) "self",(char *) "icon",(char *) "pt", NULL
11667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11671 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11673 if (arg2
== NULL
) {
11674 PyErr_SetString(PyExc_TypeError
,"null reference");
11679 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11688 Py_INCREF(Py_None
); resultobj
= Py_None
;
11695 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11696 PyObject
*resultobj
;
11697 wxDC
*arg1
= (wxDC
*) 0 ;
11698 wxBitmap
*arg2
= 0 ;
11701 bool arg5
= (bool) False
;
11702 PyObject
* obj0
= 0 ;
11703 PyObject
* obj1
= 0 ;
11704 PyObject
* obj2
= 0 ;
11705 PyObject
* obj3
= 0 ;
11706 PyObject
* obj4
= 0 ;
11707 char *kwnames
[] = {
11708 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11714 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11715 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11717 if (arg2
== NULL
) {
11718 PyErr_SetString(PyExc_TypeError
,"null reference");
11721 arg3
= (int)SWIG_As_int(obj2
);
11722 if (PyErr_Occurred()) SWIG_fail
;
11723 arg4
= (int)SWIG_As_int(obj3
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11726 arg5
= (bool)SWIG_As_bool(obj4
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11733 wxPyEndAllowThreads(__tstate
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11736 Py_INCREF(Py_None
); resultobj
= Py_None
;
11743 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11744 PyObject
*resultobj
;
11745 wxDC
*arg1
= (wxDC
*) 0 ;
11746 wxBitmap
*arg2
= 0 ;
11747 wxPoint
*arg3
= 0 ;
11748 bool arg4
= (bool) False
;
11750 PyObject
* obj0
= 0 ;
11751 PyObject
* obj1
= 0 ;
11752 PyObject
* obj2
= 0 ;
11753 PyObject
* obj3
= 0 ;
11754 char *kwnames
[] = {
11755 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11762 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11764 if (arg2
== NULL
) {
11765 PyErr_SetString(PyExc_TypeError
,"null reference");
11770 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11773 arg4
= (bool)SWIG_As_bool(obj3
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11778 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11780 wxPyEndAllowThreads(__tstate
);
11781 if (PyErr_Occurred()) SWIG_fail
;
11783 Py_INCREF(Py_None
); resultobj
= Py_None
;
11790 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11791 PyObject
*resultobj
;
11792 wxDC
*arg1
= (wxDC
*) 0 ;
11793 wxString
*arg2
= 0 ;
11796 bool temp2
= False
;
11797 PyObject
* obj0
= 0 ;
11798 PyObject
* obj1
= 0 ;
11799 PyObject
* obj2
= 0 ;
11800 PyObject
* obj3
= 0 ;
11801 char *kwnames
[] = {
11802 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11809 arg2
= wxString_in_helper(obj1
);
11810 if (arg2
== NULL
) SWIG_fail
;
11813 arg3
= (int)SWIG_As_int(obj2
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11815 arg4
= (int)SWIG_As_int(obj3
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11819 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11821 wxPyEndAllowThreads(__tstate
);
11822 if (PyErr_Occurred()) SWIG_fail
;
11824 Py_INCREF(Py_None
); resultobj
= Py_None
;
11839 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11840 PyObject
*resultobj
;
11841 wxDC
*arg1
= (wxDC
*) 0 ;
11842 wxString
*arg2
= 0 ;
11843 wxPoint
*arg3
= 0 ;
11844 bool temp2
= False
;
11846 PyObject
* obj0
= 0 ;
11847 PyObject
* obj1
= 0 ;
11848 PyObject
* obj2
= 0 ;
11849 char *kwnames
[] = {
11850 (char *) "self",(char *) "text",(char *) "pt", NULL
11853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11857 arg2
= wxString_in_helper(obj1
);
11858 if (arg2
== NULL
) SWIG_fail
;
11863 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 Py_INCREF(Py_None
); resultobj
= Py_None
;
11887 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11888 PyObject
*resultobj
;
11889 wxDC
*arg1
= (wxDC
*) 0 ;
11890 wxString
*arg2
= 0 ;
11894 bool temp2
= False
;
11895 PyObject
* obj0
= 0 ;
11896 PyObject
* obj1
= 0 ;
11897 PyObject
* obj2
= 0 ;
11898 PyObject
* obj3
= 0 ;
11899 PyObject
* obj4
= 0 ;
11900 char *kwnames
[] = {
11901 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11908 arg2
= wxString_in_helper(obj1
);
11909 if (arg2
== NULL
) SWIG_fail
;
11912 arg3
= (int)SWIG_As_int(obj2
);
11913 if (PyErr_Occurred()) SWIG_fail
;
11914 arg4
= (int)SWIG_As_int(obj3
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11916 arg5
= (double)SWIG_As_double(obj4
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11925 Py_INCREF(Py_None
); resultobj
= Py_None
;
11940 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11941 PyObject
*resultobj
;
11942 wxDC
*arg1
= (wxDC
*) 0 ;
11943 wxString
*arg2
= 0 ;
11944 wxPoint
*arg3
= 0 ;
11946 bool temp2
= False
;
11948 PyObject
* obj0
= 0 ;
11949 PyObject
* obj1
= 0 ;
11950 PyObject
* obj2
= 0 ;
11951 PyObject
* obj3
= 0 ;
11952 char *kwnames
[] = {
11953 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11960 arg2
= wxString_in_helper(obj1
);
11961 if (arg2
== NULL
) SWIG_fail
;
11966 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11968 arg4
= (double)SWIG_As_double(obj3
);
11969 if (PyErr_Occurred()) SWIG_fail
;
11971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11972 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11974 wxPyEndAllowThreads(__tstate
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11977 Py_INCREF(Py_None
); resultobj
= Py_None
;
11992 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11993 PyObject
*resultobj
;
11994 wxDC
*arg1
= (wxDC
*) 0 ;
11999 wxDC
*arg6
= (wxDC
*) 0 ;
12002 int arg9
= (int) wxCOPY
;
12003 bool arg10
= (bool) False
;
12004 int arg11
= (int) -1 ;
12005 int arg12
= (int) -1 ;
12007 PyObject
* obj0
= 0 ;
12008 PyObject
* obj1
= 0 ;
12009 PyObject
* obj2
= 0 ;
12010 PyObject
* obj3
= 0 ;
12011 PyObject
* obj4
= 0 ;
12012 PyObject
* obj5
= 0 ;
12013 PyObject
* obj6
= 0 ;
12014 PyObject
* obj7
= 0 ;
12015 PyObject
* obj8
= 0 ;
12016 PyObject
* obj9
= 0 ;
12017 PyObject
* obj10
= 0 ;
12018 PyObject
* obj11
= 0 ;
12019 char *kwnames
[] = {
12020 (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
12023 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
;
12024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12026 arg2
= (int)SWIG_As_int(obj1
);
12027 if (PyErr_Occurred()) SWIG_fail
;
12028 arg3
= (int)SWIG_As_int(obj2
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12030 arg4
= (int)SWIG_As_int(obj3
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12032 arg5
= (int)SWIG_As_int(obj4
);
12033 if (PyErr_Occurred()) SWIG_fail
;
12034 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
12035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12036 arg7
= (int)SWIG_As_int(obj6
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12038 arg8
= (int)SWIG_As_int(obj7
);
12039 if (PyErr_Occurred()) SWIG_fail
;
12041 arg9
= (int)SWIG_As_int(obj8
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12045 arg10
= (bool)SWIG_As_bool(obj9
);
12046 if (PyErr_Occurred()) SWIG_fail
;
12049 arg11
= (int)SWIG_As_int(obj10
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12053 arg12
= (int)SWIG_As_int(obj11
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12058 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12060 wxPyEndAllowThreads(__tstate
);
12061 if (PyErr_Occurred()) SWIG_fail
;
12064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12072 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12073 PyObject
*resultobj
;
12074 wxDC
*arg1
= (wxDC
*) 0 ;
12075 wxPoint
*arg2
= 0 ;
12077 wxDC
*arg4
= (wxDC
*) 0 ;
12078 wxPoint
*arg5
= 0 ;
12079 int arg6
= (int) wxCOPY
;
12080 bool arg7
= (bool) False
;
12081 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
12082 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
12088 PyObject
* obj0
= 0 ;
12089 PyObject
* obj1
= 0 ;
12090 PyObject
* obj2
= 0 ;
12091 PyObject
* obj3
= 0 ;
12092 PyObject
* obj4
= 0 ;
12093 PyObject
* obj5
= 0 ;
12094 PyObject
* obj6
= 0 ;
12095 PyObject
* obj7
= 0 ;
12096 char *kwnames
[] = {
12097 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12105 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12109 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12111 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
12112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12115 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12118 arg6
= (int)SWIG_As_int(obj5
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12122 arg7
= (bool)SWIG_As_bool(obj6
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12128 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
12132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12133 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12147 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12148 PyObject
*resultobj
;
12149 wxDC
*arg1
= (wxDC
*) 0 ;
12154 PyObject
* obj0
= 0 ;
12155 PyObject
* obj1
= 0 ;
12156 PyObject
* obj2
= 0 ;
12157 PyObject
* obj3
= 0 ;
12158 PyObject
* obj4
= 0 ;
12159 char *kwnames
[] = {
12160 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12166 arg2
= (int)SWIG_As_int(obj1
);
12167 if (PyErr_Occurred()) SWIG_fail
;
12168 arg3
= (int)SWIG_As_int(obj2
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12170 arg4
= (int)SWIG_As_int(obj3
);
12171 if (PyErr_Occurred()) SWIG_fail
;
12172 arg5
= (int)SWIG_As_int(obj4
);
12173 if (PyErr_Occurred()) SWIG_fail
;
12175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12176 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12178 wxPyEndAllowThreads(__tstate
);
12179 if (PyErr_Occurred()) SWIG_fail
;
12181 Py_INCREF(Py_None
); resultobj
= Py_None
;
12188 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12189 PyObject
*resultobj
;
12190 wxDC
*arg1
= (wxDC
*) 0 ;
12191 wxPoint
*arg2
= 0 ;
12195 PyObject
* obj0
= 0 ;
12196 PyObject
* obj1
= 0 ;
12197 PyObject
* obj2
= 0 ;
12198 char *kwnames
[] = {
12199 (char *) "self",(char *) "pt",(char *) "sz", NULL
12202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12207 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12211 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12220 Py_INCREF(Py_None
); resultobj
= Py_None
;
12227 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12228 PyObject
*resultobj
;
12229 wxDC
*arg1
= (wxDC
*) 0 ;
12230 wxRegion
*arg2
= 0 ;
12231 PyObject
* obj0
= 0 ;
12232 PyObject
* obj1
= 0 ;
12233 char *kwnames
[] = {
12234 (char *) "self",(char *) "region", NULL
12237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12240 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12241 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12243 if (arg2
== NULL
) {
12244 PyErr_SetString(PyExc_TypeError
,"null reference");
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12251 wxPyEndAllowThreads(__tstate
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12254 Py_INCREF(Py_None
); resultobj
= Py_None
;
12261 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12262 PyObject
*resultobj
;
12263 wxDC
*arg1
= (wxDC
*) 0 ;
12266 PyObject
* obj0
= 0 ;
12267 PyObject
* obj1
= 0 ;
12268 char *kwnames
[] = {
12269 (char *) "self",(char *) "rect", NULL
12272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12277 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12281 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12283 wxPyEndAllowThreads(__tstate
);
12284 if (PyErr_Occurred()) SWIG_fail
;
12286 Py_INCREF(Py_None
); resultobj
= Py_None
;
12293 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12294 PyObject
*resultobj
;
12295 wxDC
*arg1
= (wxDC
*) 0 ;
12297 wxPoint
*arg3
= (wxPoint
*) 0 ;
12298 int arg4
= (int) 0 ;
12299 int arg5
= (int) 0 ;
12300 PyObject
* obj0
= 0 ;
12301 PyObject
* obj1
= 0 ;
12302 PyObject
* obj2
= 0 ;
12303 PyObject
* obj3
= 0 ;
12304 char *kwnames
[] = {
12305 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12312 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12313 if (arg3
== NULL
) SWIG_fail
;
12316 arg4
= (int)SWIG_As_int(obj2
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12320 arg5
= (int)SWIG_As_int(obj3
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12325 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12330 Py_INCREF(Py_None
); resultobj
= Py_None
;
12332 if (arg3
) delete [] arg3
;
12337 if (arg3
) delete [] arg3
;
12343 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12344 PyObject
*resultobj
;
12345 wxDC
*arg1
= (wxDC
*) 0 ;
12347 wxPoint
*arg3
= (wxPoint
*) 0 ;
12348 int arg4
= (int) 0 ;
12349 int arg5
= (int) 0 ;
12350 int arg6
= (int) wxODDEVEN_RULE
;
12351 PyObject
* obj0
= 0 ;
12352 PyObject
* obj1
= 0 ;
12353 PyObject
* obj2
= 0 ;
12354 PyObject
* obj3
= 0 ;
12355 PyObject
* obj4
= 0 ;
12356 char *kwnames
[] = {
12357 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12364 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12365 if (arg3
== NULL
) SWIG_fail
;
12368 arg4
= (int)SWIG_As_int(obj2
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12372 arg5
= (int)SWIG_As_int(obj3
);
12373 if (PyErr_Occurred()) SWIG_fail
;
12376 arg6
= (int)SWIG_As_int(obj4
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12381 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12383 wxPyEndAllowThreads(__tstate
);
12384 if (PyErr_Occurred()) SWIG_fail
;
12386 Py_INCREF(Py_None
); resultobj
= Py_None
;
12388 if (arg3
) delete [] arg3
;
12393 if (arg3
) delete [] arg3
;
12399 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12400 PyObject
*resultobj
;
12401 wxDC
*arg1
= (wxDC
*) 0 ;
12402 wxString
*arg2
= 0 ;
12404 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12405 int arg5
= (int) -1 ;
12406 bool temp2
= False
;
12408 PyObject
* obj0
= 0 ;
12409 PyObject
* obj1
= 0 ;
12410 PyObject
* obj2
= 0 ;
12411 PyObject
* obj3
= 0 ;
12412 PyObject
* obj4
= 0 ;
12413 char *kwnames
[] = {
12414 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12421 arg2
= wxString_in_helper(obj1
);
12422 if (arg2
== NULL
) SWIG_fail
;
12427 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12430 arg4
= (int)SWIG_As_int(obj3
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12434 arg5
= (int)SWIG_As_int(obj4
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12439 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12441 wxPyEndAllowThreads(__tstate
);
12442 if (PyErr_Occurred()) SWIG_fail
;
12444 Py_INCREF(Py_None
); resultobj
= Py_None
;
12459 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12460 PyObject
*resultobj
;
12461 wxDC
*arg1
= (wxDC
*) 0 ;
12462 wxString
*arg2
= 0 ;
12463 wxBitmap
*arg3
= 0 ;
12465 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12466 int arg6
= (int) -1 ;
12468 bool temp2
= False
;
12470 PyObject
* obj0
= 0 ;
12471 PyObject
* obj1
= 0 ;
12472 PyObject
* obj2
= 0 ;
12473 PyObject
* obj3
= 0 ;
12474 PyObject
* obj4
= 0 ;
12475 PyObject
* obj5
= 0 ;
12476 char *kwnames
[] = {
12477 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12484 arg2
= wxString_in_helper(obj1
);
12485 if (arg2
== NULL
) SWIG_fail
;
12488 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12489 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12491 if (arg3
== NULL
) {
12492 PyErr_SetString(PyExc_TypeError
,"null reference");
12497 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12500 arg5
= (int)SWIG_As_int(obj4
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12504 arg6
= (int)SWIG_As_int(obj5
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12509 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12511 wxPyEndAllowThreads(__tstate
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12515 wxRect
* resultptr
;
12516 resultptr
= new wxRect((wxRect
&) result
);
12517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12533 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12534 PyObject
*resultobj
;
12535 wxDC
*arg1
= (wxDC
*) 0 ;
12537 wxPoint
*arg3
= (wxPoint
*) 0 ;
12538 PyObject
* obj0
= 0 ;
12539 PyObject
* obj1
= 0 ;
12540 char *kwnames
[] = {
12541 (char *) "self",(char *) "points", NULL
12544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12548 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12549 if (arg3
== NULL
) SWIG_fail
;
12552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12553 (arg1
)->DrawSpline(arg2
,arg3
);
12555 wxPyEndAllowThreads(__tstate
);
12556 if (PyErr_Occurred()) SWIG_fail
;
12558 Py_INCREF(Py_None
); resultobj
= Py_None
;
12560 if (arg3
) delete [] arg3
;
12565 if (arg3
) delete [] arg3
;
12571 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12572 PyObject
*resultobj
;
12573 wxDC
*arg1
= (wxDC
*) 0 ;
12574 PyObject
* obj0
= 0 ;
12575 char *kwnames
[] = {
12576 (char *) "self", NULL
12579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12589 Py_INCREF(Py_None
); resultobj
= Py_None
;
12596 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12597 PyObject
*resultobj
;
12598 wxDC
*arg1
= (wxDC
*) 0 ;
12599 wxString
*arg2
= 0 ;
12601 bool temp2
= False
;
12602 PyObject
* obj0
= 0 ;
12603 PyObject
* obj1
= 0 ;
12604 char *kwnames
[] = {
12605 (char *) "self",(char *) "message", NULL
12608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12612 arg2
= wxString_in_helper(obj1
);
12613 if (arg2
== NULL
) SWIG_fail
;
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12640 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12641 PyObject
*resultobj
;
12642 wxDC
*arg1
= (wxDC
*) 0 ;
12643 PyObject
* obj0
= 0 ;
12644 char *kwnames
[] = {
12645 (char *) "self", NULL
12648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 wxPyEndAllowThreads(__tstate
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12658 Py_INCREF(Py_None
); resultobj
= Py_None
;
12665 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12666 PyObject
*resultobj
;
12667 wxDC
*arg1
= (wxDC
*) 0 ;
12668 PyObject
* obj0
= 0 ;
12669 char *kwnames
[] = {
12670 (char *) "self", NULL
12673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12678 (arg1
)->StartPage();
12680 wxPyEndAllowThreads(__tstate
);
12681 if (PyErr_Occurred()) SWIG_fail
;
12683 Py_INCREF(Py_None
); resultobj
= Py_None
;
12690 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12691 PyObject
*resultobj
;
12692 wxDC
*arg1
= (wxDC
*) 0 ;
12693 PyObject
* obj0
= 0 ;
12694 char *kwnames
[] = {
12695 (char *) "self", NULL
12698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12705 wxPyEndAllowThreads(__tstate
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12708 Py_INCREF(Py_None
); resultobj
= Py_None
;
12715 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12716 PyObject
*resultobj
;
12717 wxDC
*arg1
= (wxDC
*) 0 ;
12719 PyObject
* obj0
= 0 ;
12720 PyObject
* obj1
= 0 ;
12721 char *kwnames
[] = {
12722 (char *) "self",(char *) "font", NULL
12725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12729 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12731 if (arg2
== NULL
) {
12732 PyErr_SetString(PyExc_TypeError
,"null reference");
12736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12737 (arg1
)->SetFont((wxFont
const &)*arg2
);
12739 wxPyEndAllowThreads(__tstate
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12742 Py_INCREF(Py_None
); resultobj
= Py_None
;
12749 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12750 PyObject
*resultobj
;
12751 wxDC
*arg1
= (wxDC
*) 0 ;
12753 PyObject
* obj0
= 0 ;
12754 PyObject
* obj1
= 0 ;
12755 char *kwnames
[] = {
12756 (char *) "self",(char *) "pen", NULL
12759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12763 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12765 if (arg2
== NULL
) {
12766 PyErr_SetString(PyExc_TypeError
,"null reference");
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 (arg1
)->SetPen((wxPen
const &)*arg2
);
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12776 Py_INCREF(Py_None
); resultobj
= Py_None
;
12783 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12784 PyObject
*resultobj
;
12785 wxDC
*arg1
= (wxDC
*) 0 ;
12786 wxBrush
*arg2
= 0 ;
12787 PyObject
* obj0
= 0 ;
12788 PyObject
* obj1
= 0 ;
12789 char *kwnames
[] = {
12790 (char *) "self",(char *) "brush", NULL
12793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12796 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12797 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12799 if (arg2
== NULL
) {
12800 PyErr_SetString(PyExc_TypeError
,"null reference");
12804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12805 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12807 wxPyEndAllowThreads(__tstate
);
12808 if (PyErr_Occurred()) SWIG_fail
;
12810 Py_INCREF(Py_None
); resultobj
= Py_None
;
12817 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12818 PyObject
*resultobj
;
12819 wxDC
*arg1
= (wxDC
*) 0 ;
12820 wxBrush
*arg2
= 0 ;
12821 PyObject
* obj0
= 0 ;
12822 PyObject
* obj1
= 0 ;
12823 char *kwnames
[] = {
12824 (char *) "self",(char *) "brush", NULL
12827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12831 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12833 if (arg2
== NULL
) {
12834 PyErr_SetString(PyExc_TypeError
,"null reference");
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12841 wxPyEndAllowThreads(__tstate
);
12842 if (PyErr_Occurred()) SWIG_fail
;
12844 Py_INCREF(Py_None
); resultobj
= Py_None
;
12851 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12852 PyObject
*resultobj
;
12853 wxDC
*arg1
= (wxDC
*) 0 ;
12855 PyObject
* obj0
= 0 ;
12856 PyObject
* obj1
= 0 ;
12857 char *kwnames
[] = {
12858 (char *) "self",(char *) "mode", NULL
12861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12864 arg2
= (int)SWIG_As_int(obj1
);
12865 if (PyErr_Occurred()) SWIG_fail
;
12867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12868 (arg1
)->SetBackgroundMode(arg2
);
12870 wxPyEndAllowThreads(__tstate
);
12871 if (PyErr_Occurred()) SWIG_fail
;
12873 Py_INCREF(Py_None
); resultobj
= Py_None
;
12880 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12881 PyObject
*resultobj
;
12882 wxDC
*arg1
= (wxDC
*) 0 ;
12883 wxPalette
*arg2
= 0 ;
12884 PyObject
* obj0
= 0 ;
12885 PyObject
* obj1
= 0 ;
12886 char *kwnames
[] = {
12887 (char *) "self",(char *) "palette", NULL
12890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12893 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
12894 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12896 if (arg2
== NULL
) {
12897 PyErr_SetString(PyExc_TypeError
,"null reference");
12901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12902 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12907 Py_INCREF(Py_None
); resultobj
= Py_None
;
12914 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12915 PyObject
*resultobj
;
12916 wxDC
*arg1
= (wxDC
*) 0 ;
12917 PyObject
* obj0
= 0 ;
12918 char *kwnames
[] = {
12919 (char *) "self", NULL
12922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12927 (arg1
)->DestroyClippingRegion();
12929 wxPyEndAllowThreads(__tstate
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12932 Py_INCREF(Py_None
); resultobj
= Py_None
;
12939 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12940 PyObject
*resultobj
;
12941 wxDC
*arg1
= (wxDC
*) 0 ;
12942 int *arg2
= (int *) 0 ;
12943 int *arg3
= (int *) 0 ;
12944 int *arg4
= (int *) 0 ;
12945 int *arg5
= (int *) 0 ;
12954 PyObject
* obj0
= 0 ;
12955 char *kwnames
[] = {
12956 (char *) "self", NULL
12959 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12960 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12961 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12962 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
12963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12968 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12970 wxPyEndAllowThreads(__tstate
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12973 Py_INCREF(Py_None
); resultobj
= Py_None
;
12974 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12975 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
12976 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12977 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
12978 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12979 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
12980 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
12981 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
12988 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12989 PyObject
*resultobj
;
12990 wxDC
*arg1
= (wxDC
*) 0 ;
12992 PyObject
* obj0
= 0 ;
12993 char *kwnames
[] = {
12994 (char *) "self", NULL
12997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13002 result
= wxDC_GetClippingRect(arg1
);
13004 wxPyEndAllowThreads(__tstate
);
13005 if (PyErr_Occurred()) SWIG_fail
;
13008 wxRect
* resultptr
;
13009 resultptr
= new wxRect((wxRect
&) result
);
13010 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13018 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13019 PyObject
*resultobj
;
13020 wxDC
*arg1
= (wxDC
*) 0 ;
13022 PyObject
* obj0
= 0 ;
13023 char *kwnames
[] = {
13024 (char *) "self", NULL
13027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
13028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
13034 wxPyEndAllowThreads(__tstate
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13037 resultobj
= SWIG_From_int((int)result
);
13044 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
*resultobj
;
13046 wxDC
*arg1
= (wxDC
*) 0 ;
13048 PyObject
* obj0
= 0 ;
13049 char *kwnames
[] = {
13050 (char *) "self", NULL
13053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
13054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13058 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
13060 wxPyEndAllowThreads(__tstate
);
13061 if (PyErr_Occurred()) SWIG_fail
;
13063 resultobj
= SWIG_From_int((int)result
);
13070 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13071 PyObject
*resultobj
;
13072 wxDC
*arg1
= (wxDC
*) 0 ;
13073 wxString
*arg2
= 0 ;
13074 int *arg3
= (int *) 0 ;
13075 int *arg4
= (int *) 0 ;
13076 bool temp2
= False
;
13081 PyObject
* obj0
= 0 ;
13082 PyObject
* obj1
= 0 ;
13083 char *kwnames
[] = {
13084 (char *) "self",(char *) "string", NULL
13087 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13088 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
13090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13093 arg2
= wxString_in_helper(obj1
);
13094 if (arg2
== NULL
) SWIG_fail
;
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13104 Py_INCREF(Py_None
); resultobj
= Py_None
;
13105 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13106 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13107 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13108 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13123 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13124 PyObject
*resultobj
;
13125 wxDC
*arg1
= (wxDC
*) 0 ;
13126 wxString
*arg2
= 0 ;
13127 int *arg3
= (int *) 0 ;
13128 int *arg4
= (int *) 0 ;
13129 int *arg5
= (int *) 0 ;
13130 int *arg6
= (int *) 0 ;
13131 wxFont
*arg7
= (wxFont
*) NULL
;
13132 bool temp2
= False
;
13141 PyObject
* obj0
= 0 ;
13142 PyObject
* obj1
= 0 ;
13143 PyObject
* obj2
= 0 ;
13144 char *kwnames
[] = {
13145 (char *) "self",(char *) "string",(char *) "font", NULL
13148 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13149 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13150 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13151 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
13152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13156 arg2
= wxString_in_helper(obj1
);
13157 if (arg2
== NULL
) SWIG_fail
;
13161 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
13162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13166 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13168 wxPyEndAllowThreads(__tstate
);
13169 if (PyErr_Occurred()) SWIG_fail
;
13171 Py_INCREF(Py_None
); resultobj
= Py_None
;
13172 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13173 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13174 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13175 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13176 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13177 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13178 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
13179 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
13194 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13195 PyObject
*resultobj
;
13196 wxDC
*arg1
= (wxDC
*) 0 ;
13197 wxString
*arg2
= 0 ;
13198 int *arg3
= (int *) 0 ;
13199 int *arg4
= (int *) 0 ;
13200 int *arg5
= (int *) 0 ;
13201 wxFont
*arg6
= (wxFont
*) NULL
;
13202 bool temp2
= False
;
13209 PyObject
* obj0
= 0 ;
13210 PyObject
* obj1
= 0 ;
13211 PyObject
* obj2
= 0 ;
13212 char *kwnames
[] = {
13213 (char *) "self",(char *) "text",(char *) "font", NULL
13216 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13217 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13218 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13223 arg2
= wxString_in_helper(obj1
);
13224 if (arg2
== NULL
) SWIG_fail
;
13228 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13233 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13235 wxPyEndAllowThreads(__tstate
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13238 Py_INCREF(Py_None
); resultobj
= Py_None
;
13239 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13240 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13241 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13242 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13243 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13244 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13259 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13260 PyObject
*resultobj
;
13261 wxDC
*arg1
= (wxDC
*) 0 ;
13262 wxString
*arg2
= 0 ;
13264 bool temp2
= False
;
13265 PyObject
* obj0
= 0 ;
13266 PyObject
* obj1
= 0 ;
13267 char *kwnames
[] = {
13268 (char *) "self",(char *) "text", NULL
13271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13275 arg2
= wxString_in_helper(obj1
);
13276 if (arg2
== NULL
) SWIG_fail
;
13280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13281 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13283 wxPyEndAllowThreads(__tstate
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13287 resultobj
= PyList_New(0);
13289 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13290 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13291 PyList_Append(resultobj
, val
);
13309 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
*resultobj
;
13311 wxDC
*arg1
= (wxDC
*) 0 ;
13313 PyObject
* obj0
= 0 ;
13314 char *kwnames
[] = {
13315 (char *) "self", NULL
13318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 result
= (arg1
)->GetSize();
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13329 wxSize
* resultptr
;
13330 resultptr
= new wxSize((wxSize
&) result
);
13331 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13339 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13340 PyObject
*resultobj
;
13341 wxDC
*arg1
= (wxDC
*) 0 ;
13342 int *arg2
= (int *) 0 ;
13343 int *arg3
= (int *) 0 ;
13348 PyObject
* obj0
= 0 ;
13349 char *kwnames
[] = {
13350 (char *) "self", NULL
13353 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13354 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13360 (arg1
)->GetSize(arg2
,arg3
);
13362 wxPyEndAllowThreads(__tstate
);
13363 if (PyErr_Occurred()) SWIG_fail
;
13365 Py_INCREF(Py_None
); resultobj
= Py_None
;
13366 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13367 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13368 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13369 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13376 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13377 PyObject
*resultobj
;
13378 wxDC
*arg1
= (wxDC
*) 0 ;
13380 PyObject
* obj0
= 0 ;
13381 char *kwnames
[] = {
13382 (char *) "self", NULL
13385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13390 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13392 wxPyEndAllowThreads(__tstate
);
13393 if (PyErr_Occurred()) SWIG_fail
;
13396 wxSize
* resultptr
;
13397 resultptr
= new wxSize((wxSize
&) result
);
13398 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13406 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13407 PyObject
*resultobj
;
13408 wxDC
*arg1
= (wxDC
*) 0 ;
13409 int *arg2
= (int *) 0 ;
13410 int *arg3
= (int *) 0 ;
13415 PyObject
* obj0
= 0 ;
13416 char *kwnames
[] = {
13417 (char *) "self", NULL
13420 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13421 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13427 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13432 Py_INCREF(Py_None
); resultobj
= Py_None
;
13433 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13434 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13435 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13436 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13443 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13444 PyObject
*resultobj
;
13445 wxDC
*arg1
= (wxDC
*) 0 ;
13448 PyObject
* obj0
= 0 ;
13449 PyObject
* obj1
= 0 ;
13450 char *kwnames
[] = {
13451 (char *) "self",(char *) "x", NULL
13454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13457 arg2
= (int)SWIG_As_int(obj1
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13461 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13463 wxPyEndAllowThreads(__tstate
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13466 resultobj
= SWIG_From_int((int)result
);
13473 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13474 PyObject
*resultobj
;
13475 wxDC
*arg1
= (wxDC
*) 0 ;
13478 PyObject
* obj0
= 0 ;
13479 PyObject
* obj1
= 0 ;
13480 char *kwnames
[] = {
13481 (char *) "self",(char *) "y", NULL
13484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13487 arg2
= (int)SWIG_As_int(obj1
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13496 resultobj
= SWIG_From_int((int)result
);
13503 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13504 PyObject
*resultobj
;
13505 wxDC
*arg1
= (wxDC
*) 0 ;
13508 PyObject
* obj0
= 0 ;
13509 PyObject
* obj1
= 0 ;
13510 char *kwnames
[] = {
13511 (char *) "self",(char *) "x", NULL
13514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13517 arg2
= (int)SWIG_As_int(obj1
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13521 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13523 wxPyEndAllowThreads(__tstate
);
13524 if (PyErr_Occurred()) SWIG_fail
;
13526 resultobj
= SWIG_From_int((int)result
);
13533 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13534 PyObject
*resultobj
;
13535 wxDC
*arg1
= (wxDC
*) 0 ;
13538 PyObject
* obj0
= 0 ;
13539 PyObject
* obj1
= 0 ;
13540 char *kwnames
[] = {
13541 (char *) "self",(char *) "y", NULL
13544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13547 arg2
= (int)SWIG_As_int(obj1
);
13548 if (PyErr_Occurred()) SWIG_fail
;
13550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13551 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13553 wxPyEndAllowThreads(__tstate
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13556 resultobj
= SWIG_From_int((int)result
);
13563 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13564 PyObject
*resultobj
;
13565 wxDC
*arg1
= (wxDC
*) 0 ;
13568 PyObject
* obj0
= 0 ;
13569 PyObject
* obj1
= 0 ;
13570 char *kwnames
[] = {
13571 (char *) "self",(char *) "x", NULL
13574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13577 arg2
= (int)SWIG_As_int(obj1
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13581 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13586 resultobj
= SWIG_From_int((int)result
);
13593 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13594 PyObject
*resultobj
;
13595 wxDC
*arg1
= (wxDC
*) 0 ;
13598 PyObject
* obj0
= 0 ;
13599 PyObject
* obj1
= 0 ;
13600 char *kwnames
[] = {
13601 (char *) "self",(char *) "y", NULL
13604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13607 arg2
= (int)SWIG_As_int(obj1
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13611 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13613 wxPyEndAllowThreads(__tstate
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13616 resultobj
= SWIG_From_int((int)result
);
13623 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13624 PyObject
*resultobj
;
13625 wxDC
*arg1
= (wxDC
*) 0 ;
13628 PyObject
* obj0
= 0 ;
13629 PyObject
* obj1
= 0 ;
13630 char *kwnames
[] = {
13631 (char *) "self",(char *) "x", NULL
13634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13637 arg2
= (int)SWIG_As_int(obj1
);
13638 if (PyErr_Occurred()) SWIG_fail
;
13640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13641 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13643 wxPyEndAllowThreads(__tstate
);
13644 if (PyErr_Occurred()) SWIG_fail
;
13646 resultobj
= SWIG_From_int((int)result
);
13653 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13654 PyObject
*resultobj
;
13655 wxDC
*arg1
= (wxDC
*) 0 ;
13658 PyObject
* obj0
= 0 ;
13659 PyObject
* obj1
= 0 ;
13660 char *kwnames
[] = {
13661 (char *) "self",(char *) "y", NULL
13664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13667 arg2
= (int)SWIG_As_int(obj1
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13671 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13673 wxPyEndAllowThreads(__tstate
);
13674 if (PyErr_Occurred()) SWIG_fail
;
13676 resultobj
= SWIG_From_int((int)result
);
13683 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13684 PyObject
*resultobj
;
13685 wxDC
*arg1
= (wxDC
*) 0 ;
13687 PyObject
* obj0
= 0 ;
13688 char *kwnames
[] = {
13689 (char *) "self", NULL
13692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13697 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13699 wxPyEndAllowThreads(__tstate
);
13700 if (PyErr_Occurred()) SWIG_fail
;
13703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13711 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13712 PyObject
*resultobj
;
13713 wxDC
*arg1
= (wxDC
*) 0 ;
13715 PyObject
* obj0
= 0 ;
13716 char *kwnames
[] = {
13717 (char *) "self", NULL
13720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13725 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13727 wxPyEndAllowThreads(__tstate
);
13728 if (PyErr_Occurred()) SWIG_fail
;
13731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13739 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13740 PyObject
*resultobj
;
13741 wxDC
*arg1
= (wxDC
*) 0 ;
13743 PyObject
* obj0
= 0 ;
13744 char *kwnames
[] = {
13745 (char *) "self", NULL
13748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13753 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13755 wxPyEndAllowThreads(__tstate
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13758 resultobj
= SWIG_From_int((int)result
);
13765 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13766 PyObject
*resultobj
;
13767 wxDC
*arg1
= (wxDC
*) 0 ;
13769 PyObject
* obj0
= 0 ;
13770 char *kwnames
[] = {
13771 (char *) "self", NULL
13774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13779 result
= ((wxDC
const *)arg1
)->GetPPI();
13781 wxPyEndAllowThreads(__tstate
);
13782 if (PyErr_Occurred()) SWIG_fail
;
13785 wxSize
* resultptr
;
13786 resultptr
= new wxSize((wxSize
&) result
);
13787 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13795 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13796 PyObject
*resultobj
;
13797 wxDC
*arg1
= (wxDC
*) 0 ;
13799 PyObject
* obj0
= 0 ;
13800 char *kwnames
[] = {
13801 (char *) "self", NULL
13804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13809 result
= (bool)((wxDC
const *)arg1
)->Ok();
13811 wxPyEndAllowThreads(__tstate
);
13812 if (PyErr_Occurred()) SWIG_fail
;
13815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13823 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13824 PyObject
*resultobj
;
13825 wxDC
*arg1
= (wxDC
*) 0 ;
13827 PyObject
* obj0
= 0 ;
13828 char *kwnames
[] = {
13829 (char *) "self", NULL
13832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13837 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13839 wxPyEndAllowThreads(__tstate
);
13840 if (PyErr_Occurred()) SWIG_fail
;
13842 resultobj
= SWIG_From_int((int)result
);
13849 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13850 PyObject
*resultobj
;
13851 wxDC
*arg1
= (wxDC
*) 0 ;
13853 PyObject
* obj0
= 0 ;
13854 char *kwnames
[] = {
13855 (char *) "self", NULL
13858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13864 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13865 result
= (wxBrush
*) &_result_ref
;
13868 wxPyEndAllowThreads(__tstate
);
13869 if (PyErr_Occurred()) SWIG_fail
;
13872 wxBrush
* resultptr
= new wxBrush(*result
);
13873 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13881 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13882 PyObject
*resultobj
;
13883 wxDC
*arg1
= (wxDC
*) 0 ;
13885 PyObject
* obj0
= 0 ;
13886 char *kwnames
[] = {
13887 (char *) "self", NULL
13890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13896 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13897 result
= (wxBrush
*) &_result_ref
;
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13904 wxBrush
* resultptr
= new wxBrush(*result
);
13905 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13913 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13914 PyObject
*resultobj
;
13915 wxDC
*arg1
= (wxDC
*) 0 ;
13917 PyObject
* obj0
= 0 ;
13918 char *kwnames
[] = {
13919 (char *) "self", NULL
13922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13928 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13929 result
= (wxFont
*) &_result_ref
;
13932 wxPyEndAllowThreads(__tstate
);
13933 if (PyErr_Occurred()) SWIG_fail
;
13936 wxFont
* resultptr
= new wxFont(*result
);
13937 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13945 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13946 PyObject
*resultobj
;
13947 wxDC
*arg1
= (wxDC
*) 0 ;
13949 PyObject
* obj0
= 0 ;
13950 char *kwnames
[] = {
13951 (char *) "self", NULL
13954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13960 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13961 result
= (wxPen
*) &_result_ref
;
13964 wxPyEndAllowThreads(__tstate
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13968 wxPen
* resultptr
= new wxPen(*result
);
13969 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
13977 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13978 PyObject
*resultobj
;
13979 wxDC
*arg1
= (wxDC
*) 0 ;
13981 PyObject
* obj0
= 0 ;
13982 char *kwnames
[] = {
13983 (char *) "self", NULL
13986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13992 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13993 result
= (wxColour
*) &_result_ref
;
13996 wxPyEndAllowThreads(__tstate
);
13997 if (PyErr_Occurred()) SWIG_fail
;
13999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14006 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14007 PyObject
*resultobj
;
14008 wxDC
*arg1
= (wxDC
*) 0 ;
14010 PyObject
* obj0
= 0 ;
14011 char *kwnames
[] = {
14012 (char *) "self", NULL
14015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
14016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14021 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
14022 result
= (wxColour
*) &_result_ref
;
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14035 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14036 PyObject
*resultobj
;
14037 wxDC
*arg1
= (wxDC
*) 0 ;
14038 wxColour
*arg2
= 0 ;
14040 PyObject
* obj0
= 0 ;
14041 PyObject
* obj1
= 0 ;
14042 char *kwnames
[] = {
14043 (char *) "self",(char *) "colour", NULL
14046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14051 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14055 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
14057 wxPyEndAllowThreads(__tstate
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14060 Py_INCREF(Py_None
); resultobj
= Py_None
;
14067 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14068 PyObject
*resultobj
;
14069 wxDC
*arg1
= (wxDC
*) 0 ;
14070 wxColour
*arg2
= 0 ;
14072 PyObject
* obj0
= 0 ;
14073 PyObject
* obj1
= 0 ;
14074 char *kwnames
[] = {
14075 (char *) "self",(char *) "colour", NULL
14078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14083 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14087 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
14089 wxPyEndAllowThreads(__tstate
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14092 Py_INCREF(Py_None
); resultobj
= Py_None
;
14099 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14100 PyObject
*resultobj
;
14101 wxDC
*arg1
= (wxDC
*) 0 ;
14103 PyObject
* obj0
= 0 ;
14104 char *kwnames
[] = {
14105 (char *) "self", NULL
14108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
14109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14113 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
14115 wxPyEndAllowThreads(__tstate
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14118 resultobj
= SWIG_From_int((int)result
);
14125 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14126 PyObject
*resultobj
;
14127 wxDC
*arg1
= (wxDC
*) 0 ;
14129 PyObject
* obj0
= 0 ;
14130 PyObject
* obj1
= 0 ;
14131 char *kwnames
[] = {
14132 (char *) "self",(char *) "mode", NULL
14135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14138 arg2
= (int)SWIG_As_int(obj1
);
14139 if (PyErr_Occurred()) SWIG_fail
;
14141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14142 (arg1
)->SetMapMode(arg2
);
14144 wxPyEndAllowThreads(__tstate
);
14145 if (PyErr_Occurred()) SWIG_fail
;
14147 Py_INCREF(Py_None
); resultobj
= Py_None
;
14154 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14155 PyObject
*resultobj
;
14156 wxDC
*arg1
= (wxDC
*) 0 ;
14157 double *arg2
= (double *) 0 ;
14158 double *arg3
= (double *) 0 ;
14163 PyObject
* obj0
= 0 ;
14164 char *kwnames
[] = {
14165 (char *) "self", NULL
14168 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14169 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14175 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14177 wxPyEndAllowThreads(__tstate
);
14178 if (PyErr_Occurred()) SWIG_fail
;
14180 Py_INCREF(Py_None
); resultobj
= Py_None
;
14181 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14182 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
14183 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14184 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
14191 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14192 PyObject
*resultobj
;
14193 wxDC
*arg1
= (wxDC
*) 0 ;
14196 PyObject
* obj0
= 0 ;
14197 PyObject
* obj1
= 0 ;
14198 PyObject
* obj2
= 0 ;
14199 char *kwnames
[] = {
14200 (char *) "self",(char *) "x",(char *) "y", NULL
14203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14206 arg2
= (double)SWIG_As_double(obj1
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14208 arg3
= (double)SWIG_As_double(obj2
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14212 (arg1
)->SetUserScale(arg2
,arg3
);
14214 wxPyEndAllowThreads(__tstate
);
14215 if (PyErr_Occurred()) SWIG_fail
;
14217 Py_INCREF(Py_None
); resultobj
= Py_None
;
14224 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
;
14226 wxDC
*arg1
= (wxDC
*) 0 ;
14227 double *arg2
= (double *) 0 ;
14228 double *arg3
= (double *) 0 ;
14233 PyObject
* obj0
= 0 ;
14234 char *kwnames
[] = {
14235 (char *) "self", NULL
14238 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14239 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14245 (arg1
)->GetLogicalScale(arg2
,arg3
);
14247 wxPyEndAllowThreads(__tstate
);
14248 if (PyErr_Occurred()) SWIG_fail
;
14250 Py_INCREF(Py_None
); resultobj
= Py_None
;
14251 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14252 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
14253 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14254 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
14261 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14262 PyObject
*resultobj
;
14263 wxDC
*arg1
= (wxDC
*) 0 ;
14266 PyObject
* obj0
= 0 ;
14267 PyObject
* obj1
= 0 ;
14268 PyObject
* obj2
= 0 ;
14269 char *kwnames
[] = {
14270 (char *) "self",(char *) "x",(char *) "y", NULL
14273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14276 arg2
= (double)SWIG_As_double(obj1
);
14277 if (PyErr_Occurred()) SWIG_fail
;
14278 arg3
= (double)SWIG_As_double(obj2
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14282 (arg1
)->SetLogicalScale(arg2
,arg3
);
14284 wxPyEndAllowThreads(__tstate
);
14285 if (PyErr_Occurred()) SWIG_fail
;
14287 Py_INCREF(Py_None
); resultobj
= Py_None
;
14294 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14295 PyObject
*resultobj
;
14296 wxDC
*arg1
= (wxDC
*) 0 ;
14298 PyObject
* obj0
= 0 ;
14299 char *kwnames
[] = {
14300 (char *) "self", NULL
14303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14308 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14310 wxPyEndAllowThreads(__tstate
);
14311 if (PyErr_Occurred()) SWIG_fail
;
14314 wxPoint
* resultptr
;
14315 resultptr
= new wxPoint((wxPoint
&) result
);
14316 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14324 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14325 PyObject
*resultobj
;
14326 wxDC
*arg1
= (wxDC
*) 0 ;
14327 int *arg2
= (int *) 0 ;
14328 int *arg3
= (int *) 0 ;
14333 PyObject
* obj0
= 0 ;
14334 char *kwnames
[] = {
14335 (char *) "self", NULL
14338 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14339 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14345 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14347 wxPyEndAllowThreads(__tstate
);
14348 if (PyErr_Occurred()) SWIG_fail
;
14350 Py_INCREF(Py_None
); resultobj
= Py_None
;
14351 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14352 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14353 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14354 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14361 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14362 PyObject
*resultobj
;
14363 wxDC
*arg1
= (wxDC
*) 0 ;
14366 PyObject
* obj0
= 0 ;
14367 PyObject
* obj1
= 0 ;
14368 PyObject
* obj2
= 0 ;
14369 char *kwnames
[] = {
14370 (char *) "self",(char *) "x",(char *) "y", NULL
14373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14376 arg2
= (int)SWIG_As_int(obj1
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14378 arg3
= (int)SWIG_As_int(obj2
);
14379 if (PyErr_Occurred()) SWIG_fail
;
14381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14382 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14384 wxPyEndAllowThreads(__tstate
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14387 Py_INCREF(Py_None
); resultobj
= Py_None
;
14394 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14395 PyObject
*resultobj
;
14396 wxDC
*arg1
= (wxDC
*) 0 ;
14397 wxPoint
*arg2
= 0 ;
14399 PyObject
* obj0
= 0 ;
14400 PyObject
* obj1
= 0 ;
14401 char *kwnames
[] = {
14402 (char *) "self",(char *) "point", NULL
14405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14410 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14414 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14416 wxPyEndAllowThreads(__tstate
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14419 Py_INCREF(Py_None
); resultobj
= Py_None
;
14426 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14427 PyObject
*resultobj
;
14428 wxDC
*arg1
= (wxDC
*) 0 ;
14430 PyObject
* obj0
= 0 ;
14431 char *kwnames
[] = {
14432 (char *) "self", NULL
14435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14440 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14442 wxPyEndAllowThreads(__tstate
);
14443 if (PyErr_Occurred()) SWIG_fail
;
14446 wxPoint
* resultptr
;
14447 resultptr
= new wxPoint((wxPoint
&) result
);
14448 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14456 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14457 PyObject
*resultobj
;
14458 wxDC
*arg1
= (wxDC
*) 0 ;
14459 int *arg2
= (int *) 0 ;
14460 int *arg3
= (int *) 0 ;
14465 PyObject
* obj0
= 0 ;
14466 char *kwnames
[] = {
14467 (char *) "self", NULL
14470 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14471 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14477 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14479 wxPyEndAllowThreads(__tstate
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14482 Py_INCREF(Py_None
); resultobj
= Py_None
;
14483 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14484 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14485 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14486 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14493 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14494 PyObject
*resultobj
;
14495 wxDC
*arg1
= (wxDC
*) 0 ;
14498 PyObject
* obj0
= 0 ;
14499 PyObject
* obj1
= 0 ;
14500 PyObject
* obj2
= 0 ;
14501 char *kwnames
[] = {
14502 (char *) "self",(char *) "x",(char *) "y", NULL
14505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14508 arg2
= (int)SWIG_As_int(obj1
);
14509 if (PyErr_Occurred()) SWIG_fail
;
14510 arg3
= (int)SWIG_As_int(obj2
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14514 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14516 wxPyEndAllowThreads(__tstate
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14519 Py_INCREF(Py_None
); resultobj
= Py_None
;
14526 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14527 PyObject
*resultobj
;
14528 wxDC
*arg1
= (wxDC
*) 0 ;
14529 wxPoint
*arg2
= 0 ;
14531 PyObject
* obj0
= 0 ;
14532 PyObject
* obj1
= 0 ;
14533 char *kwnames
[] = {
14534 (char *) "self",(char *) "point", NULL
14537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14542 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14546 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14548 wxPyEndAllowThreads(__tstate
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14551 Py_INCREF(Py_None
); resultobj
= Py_None
;
14558 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14559 PyObject
*resultobj
;
14560 wxDC
*arg1
= (wxDC
*) 0 ;
14563 PyObject
* obj0
= 0 ;
14564 PyObject
* obj1
= 0 ;
14565 PyObject
* obj2
= 0 ;
14566 char *kwnames
[] = {
14567 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14573 arg2
= (bool)SWIG_As_bool(obj1
);
14574 if (PyErr_Occurred()) SWIG_fail
;
14575 arg3
= (bool)SWIG_As_bool(obj2
);
14576 if (PyErr_Occurred()) SWIG_fail
;
14578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14579 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14581 wxPyEndAllowThreads(__tstate
);
14582 if (PyErr_Occurred()) SWIG_fail
;
14584 Py_INCREF(Py_None
); resultobj
= Py_None
;
14591 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14592 PyObject
*resultobj
;
14593 wxDC
*arg1
= (wxDC
*) 0 ;
14595 PyObject
* obj0
= 0 ;
14596 char *kwnames
[] = {
14597 (char *) "self", NULL
14600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14605 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14610 resultobj
= SWIG_From_int((int)result
);
14617 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14618 PyObject
*resultobj
;
14619 wxDC
*arg1
= (wxDC
*) 0 ;
14621 PyObject
* obj0
= 0 ;
14622 PyObject
* obj1
= 0 ;
14623 char *kwnames
[] = {
14624 (char *) "self",(char *) "function", NULL
14627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14630 arg2
= (int)SWIG_As_int(obj1
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14634 (arg1
)->SetLogicalFunction(arg2
);
14636 wxPyEndAllowThreads(__tstate
);
14637 if (PyErr_Occurred()) SWIG_fail
;
14639 Py_INCREF(Py_None
); resultobj
= Py_None
;
14646 static PyObject
*_wrap_DC_SetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14647 PyObject
*resultobj
;
14648 wxDC
*arg1
= (wxDC
*) 0 ;
14650 PyObject
* obj0
= 0 ;
14651 PyObject
* obj1
= 0 ;
14652 char *kwnames
[] = {
14653 (char *) "self",(char *) "optimize", NULL
14656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14659 arg2
= (bool)SWIG_As_bool(obj1
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14663 (arg1
)->SetOptimization(arg2
);
14665 wxPyEndAllowThreads(__tstate
);
14666 if (PyErr_Occurred()) SWIG_fail
;
14668 Py_INCREF(Py_None
); resultobj
= Py_None
;
14675 static PyObject
*_wrap_DC_GetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14676 PyObject
*resultobj
;
14677 wxDC
*arg1
= (wxDC
*) 0 ;
14679 PyObject
* obj0
= 0 ;
14680 char *kwnames
[] = {
14681 (char *) "self", NULL
14684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14689 result
= (bool)(arg1
)->GetOptimization();
14691 wxPyEndAllowThreads(__tstate
);
14692 if (PyErr_Occurred()) SWIG_fail
;
14695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14703 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14704 PyObject
*resultobj
;
14705 wxDC
*arg1
= (wxDC
*) 0 ;
14708 PyObject
* obj0
= 0 ;
14709 PyObject
* obj1
= 0 ;
14710 PyObject
* obj2
= 0 ;
14711 char *kwnames
[] = {
14712 (char *) "self",(char *) "x",(char *) "y", NULL
14715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14718 arg2
= (int)SWIG_As_int(obj1
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14720 arg3
= (int)SWIG_As_int(obj2
);
14721 if (PyErr_Occurred()) SWIG_fail
;
14723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14724 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14726 wxPyEndAllowThreads(__tstate
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14729 Py_INCREF(Py_None
); resultobj
= Py_None
;
14736 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14737 PyObject
*resultobj
;
14738 wxDC
*arg1
= (wxDC
*) 0 ;
14739 wxPoint
*arg2
= 0 ;
14741 PyObject
* obj0
= 0 ;
14742 PyObject
* obj1
= 0 ;
14743 char *kwnames
[] = {
14744 (char *) "self",(char *) "point", NULL
14747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14752 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14756 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
14758 wxPyEndAllowThreads(__tstate
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14761 Py_INCREF(Py_None
); resultobj
= Py_None
;
14768 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
;
14770 wxDC
*arg1
= (wxDC
*) 0 ;
14771 PyObject
* obj0
= 0 ;
14772 char *kwnames
[] = {
14773 (char *) "self", NULL
14776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14781 (arg1
)->ResetBoundingBox();
14783 wxPyEndAllowThreads(__tstate
);
14784 if (PyErr_Occurred()) SWIG_fail
;
14786 Py_INCREF(Py_None
); resultobj
= Py_None
;
14793 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14794 PyObject
*resultobj
;
14795 wxDC
*arg1
= (wxDC
*) 0 ;
14797 PyObject
* obj0
= 0 ;
14798 char *kwnames
[] = {
14799 (char *) "self", NULL
14802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14807 result
= (int)((wxDC
const *)arg1
)->MinX();
14809 wxPyEndAllowThreads(__tstate
);
14810 if (PyErr_Occurred()) SWIG_fail
;
14812 resultobj
= SWIG_From_int((int)result
);
14819 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14820 PyObject
*resultobj
;
14821 wxDC
*arg1
= (wxDC
*) 0 ;
14823 PyObject
* obj0
= 0 ;
14824 char *kwnames
[] = {
14825 (char *) "self", NULL
14828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14833 result
= (int)((wxDC
const *)arg1
)->MaxX();
14835 wxPyEndAllowThreads(__tstate
);
14836 if (PyErr_Occurred()) SWIG_fail
;
14838 resultobj
= SWIG_From_int((int)result
);
14845 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14846 PyObject
*resultobj
;
14847 wxDC
*arg1
= (wxDC
*) 0 ;
14849 PyObject
* obj0
= 0 ;
14850 char *kwnames
[] = {
14851 (char *) "self", NULL
14854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14859 result
= (int)((wxDC
const *)arg1
)->MinY();
14861 wxPyEndAllowThreads(__tstate
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14864 resultobj
= SWIG_From_int((int)result
);
14871 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14872 PyObject
*resultobj
;
14873 wxDC
*arg1
= (wxDC
*) 0 ;
14875 PyObject
* obj0
= 0 ;
14876 char *kwnames
[] = {
14877 (char *) "self", NULL
14880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14885 result
= (int)((wxDC
const *)arg1
)->MaxY();
14887 wxPyEndAllowThreads(__tstate
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14890 resultobj
= SWIG_From_int((int)result
);
14897 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14898 PyObject
*resultobj
;
14899 wxDC
*arg1
= (wxDC
*) 0 ;
14900 int *arg2
= (int *) 0 ;
14901 int *arg3
= (int *) 0 ;
14902 int *arg4
= (int *) 0 ;
14903 int *arg5
= (int *) 0 ;
14912 PyObject
* obj0
= 0 ;
14913 char *kwnames
[] = {
14914 (char *) "self", NULL
14917 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14918 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14919 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
14920 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
14921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14926 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14928 wxPyEndAllowThreads(__tstate
);
14929 if (PyErr_Occurred()) SWIG_fail
;
14931 Py_INCREF(Py_None
); resultobj
= Py_None
;
14932 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14933 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14934 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14935 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14936 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
14937 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
14938 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
14939 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
14946 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14947 PyObject
*resultobj
;
14948 wxDC
*arg1
= (wxDC
*) 0 ;
14949 PyObject
*arg2
= (PyObject
*) 0 ;
14950 PyObject
*arg3
= (PyObject
*) 0 ;
14951 PyObject
*arg4
= (PyObject
*) 0 ;
14953 PyObject
* obj0
= 0 ;
14954 PyObject
* obj1
= 0 ;
14955 PyObject
* obj2
= 0 ;
14956 PyObject
* obj3
= 0 ;
14957 char *kwnames
[] = {
14958 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14969 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14971 wxPyEndAllowThreads(__tstate
);
14972 if (PyErr_Occurred()) SWIG_fail
;
14974 resultobj
= result
;
14981 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14982 PyObject
*resultobj
;
14983 wxDC
*arg1
= (wxDC
*) 0 ;
14984 PyObject
*arg2
= (PyObject
*) 0 ;
14985 PyObject
*arg3
= (PyObject
*) 0 ;
14986 PyObject
*arg4
= (PyObject
*) 0 ;
14988 PyObject
* obj0
= 0 ;
14989 PyObject
* obj1
= 0 ;
14990 PyObject
* obj2
= 0 ;
14991 PyObject
* obj3
= 0 ;
14992 char *kwnames
[] = {
14993 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15004 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
15006 wxPyEndAllowThreads(__tstate
);
15007 if (PyErr_Occurred()) SWIG_fail
;
15009 resultobj
= result
;
15016 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15017 PyObject
*resultobj
;
15018 wxDC
*arg1
= (wxDC
*) 0 ;
15019 PyObject
*arg2
= (PyObject
*) 0 ;
15020 PyObject
*arg3
= (PyObject
*) 0 ;
15021 PyObject
*arg4
= (PyObject
*) 0 ;
15023 PyObject
* obj0
= 0 ;
15024 PyObject
* obj1
= 0 ;
15025 PyObject
* obj2
= 0 ;
15026 PyObject
* obj3
= 0 ;
15027 char *kwnames
[] = {
15028 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15039 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
15041 wxPyEndAllowThreads(__tstate
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15044 resultobj
= result
;
15051 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15052 PyObject
*resultobj
;
15053 wxDC
*arg1
= (wxDC
*) 0 ;
15054 PyObject
*arg2
= (PyObject
*) 0 ;
15055 PyObject
*arg3
= (PyObject
*) 0 ;
15056 PyObject
*arg4
= (PyObject
*) 0 ;
15058 PyObject
* obj0
= 0 ;
15059 PyObject
* obj1
= 0 ;
15060 PyObject
* obj2
= 0 ;
15061 PyObject
* obj3
= 0 ;
15062 char *kwnames
[] = {
15063 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15074 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15079 resultobj
= result
;
15086 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15087 PyObject
*resultobj
;
15088 wxDC
*arg1
= (wxDC
*) 0 ;
15089 PyObject
*arg2
= (PyObject
*) 0 ;
15090 PyObject
*arg3
= (PyObject
*) 0 ;
15091 PyObject
*arg4
= (PyObject
*) 0 ;
15093 PyObject
* obj0
= 0 ;
15094 PyObject
* obj1
= 0 ;
15095 PyObject
* obj2
= 0 ;
15096 PyObject
* obj3
= 0 ;
15097 char *kwnames
[] = {
15098 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15109 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15111 wxPyEndAllowThreads(__tstate
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15114 resultobj
= result
;
15121 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15122 PyObject
*resultobj
;
15123 wxDC
*arg1
= (wxDC
*) 0 ;
15124 PyObject
*arg2
= (PyObject
*) 0 ;
15125 PyObject
*arg3
= (PyObject
*) 0 ;
15126 PyObject
*arg4
= (PyObject
*) 0 ;
15127 PyObject
*arg5
= (PyObject
*) 0 ;
15129 PyObject
* obj0
= 0 ;
15130 PyObject
* obj1
= 0 ;
15131 PyObject
* obj2
= 0 ;
15132 PyObject
* obj3
= 0 ;
15133 PyObject
* obj4
= 0 ;
15134 char *kwnames
[] = {
15135 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15147 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
15149 wxPyEndAllowThreads(__tstate
);
15150 if (PyErr_Occurred()) SWIG_fail
;
15152 resultobj
= result
;
15159 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
15161 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15162 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15164 return Py_BuildValue((char *)"");
15166 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15167 PyObject
*resultobj
;
15168 wxMemoryDC
*result
;
15169 char *kwnames
[] = {
15173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15175 if (!wxPyCheckForApp()) SWIG_fail
;
15176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15177 result
= (wxMemoryDC
*)new wxMemoryDC();
15179 wxPyEndAllowThreads(__tstate
);
15180 if (PyErr_Occurred()) SWIG_fail
;
15182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15189 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15190 PyObject
*resultobj
;
15191 wxDC
*arg1
= (wxDC
*) 0 ;
15192 wxMemoryDC
*result
;
15193 PyObject
* obj0
= 0 ;
15194 char *kwnames
[] = {
15195 (char *) "oldDC", NULL
15198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15202 if (!wxPyCheckForApp()) SWIG_fail
;
15203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15204 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15206 wxPyEndAllowThreads(__tstate
);
15207 if (PyErr_Occurred()) SWIG_fail
;
15209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15216 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15217 PyObject
*resultobj
;
15218 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15219 wxBitmap
*arg2
= 0 ;
15220 PyObject
* obj0
= 0 ;
15221 PyObject
* obj1
= 0 ;
15222 char *kwnames
[] = {
15223 (char *) "self",(char *) "bitmap", NULL
15226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15230 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15232 if (arg2
== NULL
) {
15233 PyErr_SetString(PyExc_TypeError
,"null reference");
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15238 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15240 wxPyEndAllowThreads(__tstate
);
15241 if (PyErr_Occurred()) SWIG_fail
;
15243 Py_INCREF(Py_None
); resultobj
= Py_None
;
15250 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
15252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15253 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15255 return Py_BuildValue((char *)"");
15257 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
15258 PyObject
*resultobj
;
15259 wxDC
*arg1
= (wxDC
*) 0 ;
15260 wxBitmap
*arg2
= 0 ;
15261 wxBufferedDC
*result
;
15262 PyObject
* obj0
= 0 ;
15263 PyObject
* obj1
= 0 ;
15265 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15269 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15271 if (arg2
== NULL
) {
15272 PyErr_SetString(PyExc_TypeError
,"null reference");
15276 if (!wxPyCheckForApp()) SWIG_fail
;
15277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15278 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15280 wxPyEndAllowThreads(__tstate
);
15281 if (PyErr_Occurred()) SWIG_fail
;
15283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15290 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
15291 PyObject
*resultobj
;
15292 wxDC
*arg1
= (wxDC
*) 0 ;
15294 wxBufferedDC
*result
;
15296 PyObject
* obj0
= 0 ;
15297 PyObject
* obj1
= 0 ;
15299 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15304 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15307 if (!wxPyCheckForApp()) SWIG_fail
;
15308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15309 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15311 wxPyEndAllowThreads(__tstate
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15321 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15326 argc
= PyObject_Length(args
);
15327 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15328 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15334 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15344 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15352 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15360 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15369 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15372 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15377 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15382 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15383 PyObject
*resultobj
;
15384 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15385 PyObject
* obj0
= 0 ;
15386 char *kwnames
[] = {
15387 (char *) "self", NULL
15390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15397 wxPyEndAllowThreads(__tstate
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15400 Py_INCREF(Py_None
); resultobj
= Py_None
;
15407 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15408 PyObject
*resultobj
;
15409 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15410 PyObject
* obj0
= 0 ;
15411 char *kwnames
[] = {
15412 (char *) "self", NULL
15415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 wxPyEndAllowThreads(__tstate
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15425 Py_INCREF(Py_None
); resultobj
= Py_None
;
15432 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
15434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15435 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15437 return Py_BuildValue((char *)"");
15439 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15440 PyObject
*resultobj
;
15441 wxWindow
*arg1
= (wxWindow
*) 0 ;
15442 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15443 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15444 wxBufferedPaintDC
*result
;
15445 PyObject
* obj0
= 0 ;
15446 PyObject
* obj1
= 0 ;
15447 char *kwnames
[] = {
15448 (char *) "window",(char *) "buffer", NULL
15451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15455 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15456 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15458 if (arg2
== NULL
) {
15459 PyErr_SetString(PyExc_TypeError
,"null reference");
15464 if (!wxPyCheckForApp()) SWIG_fail
;
15465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15466 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15468 wxPyEndAllowThreads(__tstate
);
15469 if (PyErr_Occurred()) SWIG_fail
;
15471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15478 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
15480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15481 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15483 return Py_BuildValue((char *)"");
15485 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15486 PyObject
*resultobj
;
15487 wxScreenDC
*result
;
15488 char *kwnames
[] = {
15492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15494 if (!wxPyCheckForApp()) SWIG_fail
;
15495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15496 result
= (wxScreenDC
*)new wxScreenDC();
15498 wxPyEndAllowThreads(__tstate
);
15499 if (PyErr_Occurred()) SWIG_fail
;
15501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15508 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15509 PyObject
*resultobj
;
15510 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15511 wxWindow
*arg2
= (wxWindow
*) 0 ;
15513 PyObject
* obj0
= 0 ;
15514 PyObject
* obj1
= 0 ;
15515 char *kwnames
[] = {
15516 (char *) "self",(char *) "window", NULL
15519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15526 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15528 wxPyEndAllowThreads(__tstate
);
15529 if (PyErr_Occurred()) SWIG_fail
;
15532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15540 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15541 PyObject
*resultobj
;
15542 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15543 wxRect
*arg2
= (wxRect
*) NULL
;
15545 PyObject
* obj0
= 0 ;
15546 PyObject
* obj1
= 0 ;
15547 char *kwnames
[] = {
15548 (char *) "self",(char *) "rect", NULL
15551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15555 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15560 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15562 wxPyEndAllowThreads(__tstate
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15574 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15575 PyObject
*resultobj
;
15576 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15578 PyObject
* obj0
= 0 ;
15579 char *kwnames
[] = {
15580 (char *) "self", NULL
15583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15588 result
= (bool)(arg1
)->EndDrawingOnTop();
15590 wxPyEndAllowThreads(__tstate
);
15591 if (PyErr_Occurred()) SWIG_fail
;
15594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15602 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
15604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15605 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15607 return Py_BuildValue((char *)"");
15609 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15610 PyObject
*resultobj
;
15611 wxWindow
*arg1
= (wxWindow
*) 0 ;
15612 wxClientDC
*result
;
15613 PyObject
* obj0
= 0 ;
15614 char *kwnames
[] = {
15615 (char *) "win", NULL
15618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15622 if (!wxPyCheckForApp()) SWIG_fail
;
15623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15624 result
= (wxClientDC
*)new wxClientDC(arg1
);
15626 wxPyEndAllowThreads(__tstate
);
15627 if (PyErr_Occurred()) SWIG_fail
;
15629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15636 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
15638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15639 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15641 return Py_BuildValue((char *)"");
15643 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15644 PyObject
*resultobj
;
15645 wxWindow
*arg1
= (wxWindow
*) 0 ;
15647 PyObject
* obj0
= 0 ;
15648 char *kwnames
[] = {
15649 (char *) "win", NULL
15652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15656 if (!wxPyCheckForApp()) SWIG_fail
;
15657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15658 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15660 wxPyEndAllowThreads(__tstate
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15670 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
15672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15673 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15675 return Py_BuildValue((char *)"");
15677 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15678 PyObject
*resultobj
;
15679 wxWindow
*arg1
= (wxWindow
*) 0 ;
15680 wxWindowDC
*result
;
15681 PyObject
* obj0
= 0 ;
15682 char *kwnames
[] = {
15683 (char *) "win", NULL
15686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15690 if (!wxPyCheckForApp()) SWIG_fail
;
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15694 wxPyEndAllowThreads(__tstate
);
15695 if (PyErr_Occurred()) SWIG_fail
;
15697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15704 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
15706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15707 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15709 return Py_BuildValue((char *)"");
15711 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15712 PyObject
*resultobj
;
15715 wxMirrorDC
*result
;
15716 PyObject
* obj0
= 0 ;
15717 PyObject
* obj1
= 0 ;
15718 char *kwnames
[] = {
15719 (char *) "dc",(char *) "mirror", NULL
15722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15724 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15726 if (arg1
== NULL
) {
15727 PyErr_SetString(PyExc_TypeError
,"null reference");
15730 arg2
= (bool)SWIG_As_bool(obj1
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15733 if (!wxPyCheckForApp()) SWIG_fail
;
15734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15735 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15737 wxPyEndAllowThreads(__tstate
);
15738 if (PyErr_Occurred()) SWIG_fail
;
15740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15747 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
15749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15750 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15752 return Py_BuildValue((char *)"");
15754 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15755 PyObject
*resultobj
;
15756 wxPrintData
*arg1
= 0 ;
15757 wxPostScriptDC
*result
;
15758 PyObject
* obj0
= 0 ;
15759 char *kwnames
[] = {
15760 (char *) "printData", NULL
15763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15765 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15767 if (arg1
== NULL
) {
15768 PyErr_SetString(PyExc_TypeError
,"null reference");
15772 if (!wxPyCheckForApp()) SWIG_fail
;
15773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15774 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15776 wxPyEndAllowThreads(__tstate
);
15777 if (PyErr_Occurred()) SWIG_fail
;
15779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15786 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15787 PyObject
*resultobj
;
15788 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15789 wxPrintData
*result
;
15790 PyObject
* obj0
= 0 ;
15791 char *kwnames
[] = {
15792 (char *) "self", NULL
15795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15801 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15802 result
= (wxPrintData
*) &_result_ref
;
15805 wxPyEndAllowThreads(__tstate
);
15806 if (PyErr_Occurred()) SWIG_fail
;
15808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15815 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15816 PyObject
*resultobj
;
15817 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15818 wxPrintData
*arg2
= 0 ;
15819 PyObject
* obj0
= 0 ;
15820 PyObject
* obj1
= 0 ;
15821 char *kwnames
[] = {
15822 (char *) "self",(char *) "data", NULL
15825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15829 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15831 if (arg2
== NULL
) {
15832 PyErr_SetString(PyExc_TypeError
,"null reference");
15836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15837 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15839 wxPyEndAllowThreads(__tstate
);
15840 if (PyErr_Occurred()) SWIG_fail
;
15842 Py_INCREF(Py_None
); resultobj
= Py_None
;
15849 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15850 PyObject
*resultobj
;
15852 PyObject
* obj0
= 0 ;
15853 char *kwnames
[] = {
15854 (char *) "ppi", NULL
15857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15858 arg1
= (int)SWIG_As_int(obj0
);
15859 if (PyErr_Occurred()) SWIG_fail
;
15861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15862 wxPostScriptDC::SetResolution(arg1
);
15864 wxPyEndAllowThreads(__tstate
);
15865 if (PyErr_Occurred()) SWIG_fail
;
15867 Py_INCREF(Py_None
); resultobj
= Py_None
;
15874 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15875 PyObject
*resultobj
;
15877 char *kwnames
[] = {
15881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15884 result
= (int)wxPostScriptDC::GetResolution();
15886 wxPyEndAllowThreads(__tstate
);
15887 if (PyErr_Occurred()) SWIG_fail
;
15889 resultobj
= SWIG_From_int((int)result
);
15896 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
15898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15899 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15901 return Py_BuildValue((char *)"");
15903 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15904 PyObject
*resultobj
;
15905 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15906 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15907 wxMetaFile
*result
;
15908 bool temp1
= False
;
15909 PyObject
* obj0
= 0 ;
15910 char *kwnames
[] = {
15911 (char *) "filename", NULL
15914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15917 arg1
= wxString_in_helper(obj0
);
15918 if (arg1
== NULL
) SWIG_fail
;
15923 if (!wxPyCheckForApp()) SWIG_fail
;
15924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15925 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15927 wxPyEndAllowThreads(__tstate
);
15928 if (PyErr_Occurred()) SWIG_fail
;
15930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
15945 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
15947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15948 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
15950 return Py_BuildValue((char *)"");
15952 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15953 PyObject
*resultobj
;
15954 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15955 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15956 int arg2
= (int) 0 ;
15957 int arg3
= (int) 0 ;
15958 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15959 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15960 wxMetaFileDC
*result
;
15961 bool temp1
= False
;
15962 bool temp4
= False
;
15963 PyObject
* obj0
= 0 ;
15964 PyObject
* obj1
= 0 ;
15965 PyObject
* obj2
= 0 ;
15966 PyObject
* obj3
= 0 ;
15967 char *kwnames
[] = {
15968 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15974 arg1
= wxString_in_helper(obj0
);
15975 if (arg1
== NULL
) SWIG_fail
;
15980 arg2
= (int)SWIG_As_int(obj1
);
15981 if (PyErr_Occurred()) SWIG_fail
;
15984 arg3
= (int)SWIG_As_int(obj2
);
15985 if (PyErr_Occurred()) SWIG_fail
;
15989 arg4
= wxString_in_helper(obj3
);
15990 if (arg4
== NULL
) SWIG_fail
;
15995 if (!wxPyCheckForApp()) SWIG_fail
;
15996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15997 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
15999 wxPyEndAllowThreads(__tstate
);
16000 if (PyErr_Occurred()) SWIG_fail
;
16002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
16025 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
16027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16028 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
16030 return Py_BuildValue((char *)"");
16032 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16033 PyObject
*resultobj
;
16034 wxPrintData
*arg1
= 0 ;
16035 wxPrinterDC
*result
;
16036 PyObject
* obj0
= 0 ;
16037 char *kwnames
[] = {
16038 (char *) "printData", NULL
16041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16043 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16045 if (arg1
== NULL
) {
16046 PyErr_SetString(PyExc_TypeError
,"null reference");
16050 if (!wxPyCheckForApp()) SWIG_fail
;
16051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16052 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16064 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
16066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16067 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16069 return Py_BuildValue((char *)"");
16071 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16072 PyObject
*resultobj
;
16075 int arg3
= (int) True
;
16076 int arg4
= (int) 1 ;
16077 wxImageList
*result
;
16078 PyObject
* obj0
= 0 ;
16079 PyObject
* obj1
= 0 ;
16080 PyObject
* obj2
= 0 ;
16081 PyObject
* obj3
= 0 ;
16082 char *kwnames
[] = {
16083 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16087 arg1
= (int)SWIG_As_int(obj0
);
16088 if (PyErr_Occurred()) SWIG_fail
;
16089 arg2
= (int)SWIG_As_int(obj1
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16092 arg3
= (int)SWIG_As_int(obj2
);
16093 if (PyErr_Occurred()) SWIG_fail
;
16096 arg4
= (int)SWIG_As_int(obj3
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16100 if (!wxPyCheckForApp()) SWIG_fail
;
16101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16102 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16104 wxPyEndAllowThreads(__tstate
);
16105 if (PyErr_Occurred()) SWIG_fail
;
16108 resultobj
= wxPyMake_wxObject(result
, 1);
16116 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16117 PyObject
*resultobj
;
16118 wxImageList
*arg1
= (wxImageList
*) 0 ;
16119 PyObject
* obj0
= 0 ;
16120 char *kwnames
[] = {
16121 (char *) "self", NULL
16124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16131 wxPyEndAllowThreads(__tstate
);
16132 if (PyErr_Occurred()) SWIG_fail
;
16134 Py_INCREF(Py_None
); resultobj
= Py_None
;
16141 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16142 PyObject
*resultobj
;
16143 wxImageList
*arg1
= (wxImageList
*) 0 ;
16144 wxBitmap
*arg2
= 0 ;
16145 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16146 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16148 PyObject
* obj0
= 0 ;
16149 PyObject
* obj1
= 0 ;
16150 PyObject
* obj2
= 0 ;
16151 char *kwnames
[] = {
16152 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16159 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16161 if (arg2
== NULL
) {
16162 PyErr_SetString(PyExc_TypeError
,"null reference");
16166 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16167 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16169 if (arg3
== NULL
) {
16170 PyErr_SetString(PyExc_TypeError
,"null reference");
16175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16176 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16178 wxPyEndAllowThreads(__tstate
);
16179 if (PyErr_Occurred()) SWIG_fail
;
16181 resultobj
= SWIG_From_int((int)result
);
16188 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16189 PyObject
*resultobj
;
16190 wxImageList
*arg1
= (wxImageList
*) 0 ;
16191 wxBitmap
*arg2
= 0 ;
16192 wxColour
*arg3
= 0 ;
16195 PyObject
* obj0
= 0 ;
16196 PyObject
* obj1
= 0 ;
16197 PyObject
* obj2
= 0 ;
16198 char *kwnames
[] = {
16199 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16205 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16206 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16208 if (arg2
== NULL
) {
16209 PyErr_SetString(PyExc_TypeError
,"null reference");
16214 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16218 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16220 wxPyEndAllowThreads(__tstate
);
16221 if (PyErr_Occurred()) SWIG_fail
;
16223 resultobj
= SWIG_From_int((int)result
);
16230 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16231 PyObject
*resultobj
;
16232 wxImageList
*arg1
= (wxImageList
*) 0 ;
16235 PyObject
* obj0
= 0 ;
16236 PyObject
* obj1
= 0 ;
16237 char *kwnames
[] = {
16238 (char *) "self",(char *) "icon", NULL
16241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16244 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16245 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16247 if (arg2
== NULL
) {
16248 PyErr_SetString(PyExc_TypeError
,"null reference");
16252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16253 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16255 wxPyEndAllowThreads(__tstate
);
16256 if (PyErr_Occurred()) SWIG_fail
;
16258 resultobj
= SWIG_From_int((int)result
);
16265 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16266 PyObject
*resultobj
;
16267 wxImageList
*arg1
= (wxImageList
*) 0 ;
16269 wxBitmap
*arg3
= 0 ;
16271 PyObject
* obj0
= 0 ;
16272 PyObject
* obj1
= 0 ;
16273 PyObject
* obj2
= 0 ;
16274 char *kwnames
[] = {
16275 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16281 arg2
= (int)SWIG_As_int(obj1
);
16282 if (PyErr_Occurred()) SWIG_fail
;
16283 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16284 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16286 if (arg3
== NULL
) {
16287 PyErr_SetString(PyExc_TypeError
,"null reference");
16291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16292 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16294 wxPyEndAllowThreads(__tstate
);
16295 if (PyErr_Occurred()) SWIG_fail
;
16298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16306 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16307 PyObject
*resultobj
;
16308 wxImageList
*arg1
= (wxImageList
*) 0 ;
16313 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16314 bool arg7
= (bool) (bool)False
;
16316 PyObject
* obj0
= 0 ;
16317 PyObject
* obj1
= 0 ;
16318 PyObject
* obj2
= 0 ;
16319 PyObject
* obj3
= 0 ;
16320 PyObject
* obj4
= 0 ;
16321 PyObject
* obj5
= 0 ;
16322 PyObject
* obj6
= 0 ;
16323 char *kwnames
[] = {
16324 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16330 arg2
= (int)SWIG_As_int(obj1
);
16331 if (PyErr_Occurred()) SWIG_fail
;
16332 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16333 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16335 if (arg3
== NULL
) {
16336 PyErr_SetString(PyExc_TypeError
,"null reference");
16339 arg4
= (int)SWIG_As_int(obj3
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16341 arg5
= (int)SWIG_As_int(obj4
);
16342 if (PyErr_Occurred()) SWIG_fail
;
16344 arg6
= (int)SWIG_As_int(obj5
);
16345 if (PyErr_Occurred()) SWIG_fail
;
16348 arg7
= (bool)SWIG_As_bool(obj6
);
16349 if (PyErr_Occurred()) SWIG_fail
;
16352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16353 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16367 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16368 PyObject
*resultobj
;
16369 wxImageList
*arg1
= (wxImageList
*) 0 ;
16371 PyObject
* obj0
= 0 ;
16372 char *kwnames
[] = {
16373 (char *) "self", NULL
16376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16381 result
= (int)(arg1
)->GetImageCount();
16383 wxPyEndAllowThreads(__tstate
);
16384 if (PyErr_Occurred()) SWIG_fail
;
16386 resultobj
= SWIG_From_int((int)result
);
16393 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16394 PyObject
*resultobj
;
16395 wxImageList
*arg1
= (wxImageList
*) 0 ;
16398 PyObject
* obj0
= 0 ;
16399 PyObject
* obj1
= 0 ;
16400 char *kwnames
[] = {
16401 (char *) "self",(char *) "index", NULL
16404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16407 arg2
= (int)SWIG_As_int(obj1
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16411 result
= (bool)(arg1
)->Remove(arg2
);
16413 wxPyEndAllowThreads(__tstate
);
16414 if (PyErr_Occurred()) SWIG_fail
;
16417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16425 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16426 PyObject
*resultobj
;
16427 wxImageList
*arg1
= (wxImageList
*) 0 ;
16429 PyObject
* obj0
= 0 ;
16430 char *kwnames
[] = {
16431 (char *) "self", NULL
16434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16439 result
= (bool)(arg1
)->RemoveAll();
16441 wxPyEndAllowThreads(__tstate
);
16442 if (PyErr_Occurred()) SWIG_fail
;
16445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16453 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16454 PyObject
*resultobj
;
16455 wxImageList
*arg1
= (wxImageList
*) 0 ;
16463 PyObject
* obj0
= 0 ;
16464 PyObject
* obj1
= 0 ;
16465 char *kwnames
[] = {
16466 (char *) "self",(char *) "index", NULL
16469 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16470 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
16471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16474 arg2
= (int)SWIG_As_int(obj1
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16478 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16480 wxPyEndAllowThreads(__tstate
);
16481 if (PyErr_Occurred()) SWIG_fail
;
16483 Py_INCREF(Py_None
); resultobj
= Py_None
;
16484 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16485 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16486 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
16487 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
16494 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
16496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16497 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16499 return Py_BuildValue((char *)"");
16501 static int _wrap_NORMAL_FONT_set(PyObject
*) {
16502 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16507 static PyObject
*_wrap_NORMAL_FONT_get() {
16510 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16515 static int _wrap_SMALL_FONT_set(PyObject
*) {
16516 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16521 static PyObject
*_wrap_SMALL_FONT_get() {
16524 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16529 static int _wrap_ITALIC_FONT_set(PyObject
*) {
16530 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16535 static PyObject
*_wrap_ITALIC_FONT_get() {
16538 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16543 static int _wrap_SWISS_FONT_set(PyObject
*) {
16544 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16549 static PyObject
*_wrap_SWISS_FONT_get() {
16552 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16557 static int _wrap_RED_PEN_set(PyObject
*) {
16558 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16563 static PyObject
*_wrap_RED_PEN_get() {
16566 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16571 static int _wrap_CYAN_PEN_set(PyObject
*) {
16572 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16577 static PyObject
*_wrap_CYAN_PEN_get() {
16580 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16585 static int _wrap_GREEN_PEN_set(PyObject
*) {
16586 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16591 static PyObject
*_wrap_GREEN_PEN_get() {
16594 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16599 static int _wrap_BLACK_PEN_set(PyObject
*) {
16600 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16605 static PyObject
*_wrap_BLACK_PEN_get() {
16608 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16613 static int _wrap_WHITE_PEN_set(PyObject
*) {
16614 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16619 static PyObject
*_wrap_WHITE_PEN_get() {
16622 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16627 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
16628 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16633 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16636 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16641 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
16642 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16647 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16650 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16655 static int _wrap_GREY_PEN_set(PyObject
*) {
16656 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16661 static PyObject
*_wrap_GREY_PEN_get() {
16664 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16669 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
16670 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16675 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16678 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16683 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
16684 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16689 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16692 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16697 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
16698 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16703 static PyObject
*_wrap_BLUE_BRUSH_get() {
16706 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16711 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
16712 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16717 static PyObject
*_wrap_GREEN_BRUSH_get() {
16720 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16725 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
16726 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16731 static PyObject
*_wrap_WHITE_BRUSH_get() {
16734 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16739 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
16740 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16745 static PyObject
*_wrap_BLACK_BRUSH_get() {
16748 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16753 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
16754 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16759 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16762 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16767 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
16768 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16773 static PyObject
*_wrap_CYAN_BRUSH_get() {
16776 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16781 static int _wrap_RED_BRUSH_set(PyObject
*) {
16782 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16787 static PyObject
*_wrap_RED_BRUSH_get() {
16790 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16795 static int _wrap_GREY_BRUSH_set(PyObject
*) {
16796 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16801 static PyObject
*_wrap_GREY_BRUSH_get() {
16804 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16809 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
16810 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16815 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16818 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16823 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
16824 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16829 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
16832 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16837 static int _wrap_BLACK_set(PyObject
*) {
16838 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
16843 static PyObject
*_wrap_BLACK_get() {
16846 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
16851 static int _wrap_WHITE_set(PyObject
*) {
16852 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16857 static PyObject
*_wrap_WHITE_get() {
16860 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
16865 static int _wrap_RED_set(PyObject
*) {
16866 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16871 static PyObject
*_wrap_RED_get() {
16874 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
16879 static int _wrap_BLUE_set(PyObject
*) {
16880 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16885 static PyObject
*_wrap_BLUE_get() {
16888 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
16893 static int _wrap_GREEN_set(PyObject
*) {
16894 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
16899 static PyObject
*_wrap_GREEN_get() {
16902 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
16907 static int _wrap_CYAN_set(PyObject
*) {
16908 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16913 static PyObject
*_wrap_CYAN_get() {
16916 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
16921 static int _wrap_LIGHT_GREY_set(PyObject
*) {
16922 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
16927 static PyObject
*_wrap_LIGHT_GREY_get() {
16930 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
16935 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
16936 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
16941 static PyObject
*_wrap_STANDARD_CURSOR_get() {
16944 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16949 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
16950 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
16955 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
16958 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16963 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
16964 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
16969 static PyObject
*_wrap_CROSS_CURSOR_get() {
16972 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16977 static int _wrap_NullBitmap_set(PyObject
*) {
16978 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
16983 static PyObject
*_wrap_NullBitmap_get() {
16986 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
16991 static int _wrap_NullIcon_set(PyObject
*) {
16992 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
16997 static PyObject
*_wrap_NullIcon_get() {
17000 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
17005 static int _wrap_NullCursor_set(PyObject
*) {
17006 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
17011 static PyObject
*_wrap_NullCursor_get() {
17014 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
17019 static int _wrap_NullPen_set(PyObject
*) {
17020 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
17025 static PyObject
*_wrap_NullPen_get() {
17028 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
17033 static int _wrap_NullBrush_set(PyObject
*) {
17034 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17039 static PyObject
*_wrap_NullBrush_get() {
17042 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
17047 static int _wrap_NullPalette_set(PyObject
*) {
17048 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17053 static PyObject
*_wrap_NullPalette_get() {
17056 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17061 static int _wrap_NullFont_set(PyObject
*) {
17062 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17067 static PyObject
*_wrap_NullFont_get() {
17070 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17075 static int _wrap_NullColour_set(PyObject
*) {
17076 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17081 static PyObject
*_wrap_NullColour_get() {
17084 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17089 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17090 PyObject
*resultobj
;
17091 wxPenList
*arg1
= (wxPenList
*) 0 ;
17092 wxPen
*arg2
= (wxPen
*) 0 ;
17093 PyObject
* obj0
= 0 ;
17094 PyObject
* obj1
= 0 ;
17095 char *kwnames
[] = {
17096 (char *) "self",(char *) "pen", NULL
17099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17106 (arg1
)->AddPen(arg2
);
17108 wxPyEndAllowThreads(__tstate
);
17109 if (PyErr_Occurred()) SWIG_fail
;
17111 Py_INCREF(Py_None
); resultobj
= Py_None
;
17118 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17119 PyObject
*resultobj
;
17120 wxPenList
*arg1
= (wxPenList
*) 0 ;
17121 wxColour
*arg2
= 0 ;
17126 PyObject
* obj0
= 0 ;
17127 PyObject
* obj1
= 0 ;
17128 PyObject
* obj2
= 0 ;
17129 PyObject
* obj3
= 0 ;
17130 char *kwnames
[] = {
17131 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17139 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17141 arg3
= (int)SWIG_As_int(obj2
);
17142 if (PyErr_Occurred()) SWIG_fail
;
17143 arg4
= (int)SWIG_As_int(obj3
);
17144 if (PyErr_Occurred()) SWIG_fail
;
17146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17147 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17149 wxPyEndAllowThreads(__tstate
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17159 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17160 PyObject
*resultobj
;
17161 wxPenList
*arg1
= (wxPenList
*) 0 ;
17162 wxPen
*arg2
= (wxPen
*) 0 ;
17163 PyObject
* obj0
= 0 ;
17164 PyObject
* obj1
= 0 ;
17165 char *kwnames
[] = {
17166 (char *) "self",(char *) "pen", NULL
17169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17176 (arg1
)->RemovePen(arg2
);
17178 wxPyEndAllowThreads(__tstate
);
17179 if (PyErr_Occurred()) SWIG_fail
;
17181 Py_INCREF(Py_None
); resultobj
= Py_None
;
17188 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17189 PyObject
*resultobj
;
17190 wxPenList
*arg1
= (wxPenList
*) 0 ;
17192 PyObject
* obj0
= 0 ;
17193 char *kwnames
[] = {
17194 (char *) "self", NULL
17197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17202 result
= (int)(arg1
)->GetCount();
17204 wxPyEndAllowThreads(__tstate
);
17205 if (PyErr_Occurred()) SWIG_fail
;
17207 resultobj
= SWIG_From_int((int)result
);
17214 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
17216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17217 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17219 return Py_BuildValue((char *)"");
17221 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17222 PyObject
*resultobj
;
17223 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17224 wxBrush
*arg2
= (wxBrush
*) 0 ;
17225 PyObject
* obj0
= 0 ;
17226 PyObject
* obj1
= 0 ;
17227 char *kwnames
[] = {
17228 (char *) "self",(char *) "brush", NULL
17231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17238 (arg1
)->AddBrush(arg2
);
17240 wxPyEndAllowThreads(__tstate
);
17241 if (PyErr_Occurred()) SWIG_fail
;
17243 Py_INCREF(Py_None
); resultobj
= Py_None
;
17250 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17251 PyObject
*resultobj
;
17252 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17253 wxColour
*arg2
= 0 ;
17257 PyObject
* obj0
= 0 ;
17258 PyObject
* obj1
= 0 ;
17259 PyObject
* obj2
= 0 ;
17260 char *kwnames
[] = {
17261 (char *) "self",(char *) "colour",(char *) "style", NULL
17264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17269 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17271 arg3
= (int)SWIG_As_int(obj2
);
17272 if (PyErr_Occurred()) SWIG_fail
;
17274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17275 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17277 wxPyEndAllowThreads(__tstate
);
17278 if (PyErr_Occurred()) SWIG_fail
;
17280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17287 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17288 PyObject
*resultobj
;
17289 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17290 wxBrush
*arg2
= (wxBrush
*) 0 ;
17291 PyObject
* obj0
= 0 ;
17292 PyObject
* obj1
= 0 ;
17293 char *kwnames
[] = {
17294 (char *) "self",(char *) "brush", NULL
17297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17304 (arg1
)->RemoveBrush(arg2
);
17306 wxPyEndAllowThreads(__tstate
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17309 Py_INCREF(Py_None
); resultobj
= Py_None
;
17316 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17317 PyObject
*resultobj
;
17318 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17320 PyObject
* obj0
= 0 ;
17321 char *kwnames
[] = {
17322 (char *) "self", NULL
17325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17330 result
= (int)(arg1
)->GetCount();
17332 wxPyEndAllowThreads(__tstate
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17335 resultobj
= SWIG_From_int((int)result
);
17342 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
17344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17345 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17347 return Py_BuildValue((char *)"");
17349 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17350 PyObject
*resultobj
;
17351 wxColourDatabase
*result
;
17352 char *kwnames
[] = {
17356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17358 if (!wxPyCheckForApp()) SWIG_fail
;
17359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17360 result
= (wxColourDatabase
*)new wxColourDatabase();
17362 wxPyEndAllowThreads(__tstate
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17372 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17373 PyObject
*resultobj
;
17374 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17375 PyObject
* obj0
= 0 ;
17376 char *kwnames
[] = {
17377 (char *) "self", NULL
17380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 wxPyEndAllowThreads(__tstate
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17390 Py_INCREF(Py_None
); resultobj
= Py_None
;
17397 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17398 PyObject
*resultobj
;
17399 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17400 wxString
*arg2
= 0 ;
17402 bool temp2
= False
;
17403 PyObject
* obj0
= 0 ;
17404 PyObject
* obj1
= 0 ;
17405 char *kwnames
[] = {
17406 (char *) "self",(char *) "name", NULL
17409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17413 arg2
= wxString_in_helper(obj1
);
17414 if (arg2
== NULL
) SWIG_fail
;
17418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17419 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17421 wxPyEndAllowThreads(__tstate
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17425 wxColour
* resultptr
;
17426 resultptr
= new wxColour((wxColour
&) result
);
17427 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17443 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17444 PyObject
*resultobj
;
17445 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17446 wxColour
*arg2
= 0 ;
17449 PyObject
* obj0
= 0 ;
17450 PyObject
* obj1
= 0 ;
17451 char *kwnames
[] = {
17452 (char *) "self",(char *) "colour", NULL
17455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17460 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17464 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17466 wxPyEndAllowThreads(__tstate
);
17467 if (PyErr_Occurred()) SWIG_fail
;
17471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17482 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17483 PyObject
*resultobj
;
17484 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17485 wxString
*arg2
= 0 ;
17486 wxColour
*arg3
= 0 ;
17487 bool temp2
= False
;
17489 PyObject
* obj0
= 0 ;
17490 PyObject
* obj1
= 0 ;
17491 PyObject
* obj2
= 0 ;
17492 char *kwnames
[] = {
17493 (char *) "self",(char *) "name",(char *) "colour", NULL
17496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17500 arg2
= wxString_in_helper(obj1
);
17501 if (arg2
== NULL
) SWIG_fail
;
17506 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17510 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17512 wxPyEndAllowThreads(__tstate
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17515 Py_INCREF(Py_None
); resultobj
= Py_None
;
17530 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17531 PyObject
*resultobj
;
17532 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17533 wxString
*arg2
= 0 ;
17537 bool temp2
= False
;
17538 PyObject
* obj0
= 0 ;
17539 PyObject
* obj1
= 0 ;
17540 PyObject
* obj2
= 0 ;
17541 PyObject
* obj3
= 0 ;
17542 PyObject
* obj4
= 0 ;
17543 char *kwnames
[] = {
17544 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17551 arg2
= wxString_in_helper(obj1
);
17552 if (arg2
== NULL
) SWIG_fail
;
17555 arg3
= (int)SWIG_As_int(obj2
);
17556 if (PyErr_Occurred()) SWIG_fail
;
17557 arg4
= (int)SWIG_As_int(obj3
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17559 arg5
= (int)SWIG_As_int(obj4
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17563 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17565 wxPyEndAllowThreads(__tstate
);
17566 if (PyErr_Occurred()) SWIG_fail
;
17568 Py_INCREF(Py_None
); resultobj
= Py_None
;
17583 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
17585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17586 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17588 return Py_BuildValue((char *)"");
17590 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17591 PyObject
*resultobj
;
17592 wxFontList
*arg1
= (wxFontList
*) 0 ;
17593 wxFont
*arg2
= (wxFont
*) 0 ;
17594 PyObject
* obj0
= 0 ;
17595 PyObject
* obj1
= 0 ;
17596 char *kwnames
[] = {
17597 (char *) "self",(char *) "font", NULL
17600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17607 (arg1
)->AddFont(arg2
);
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17612 Py_INCREF(Py_None
); resultobj
= Py_None
;
17619 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17620 PyObject
*resultobj
;
17621 wxFontList
*arg1
= (wxFontList
*) 0 ;
17626 bool arg6
= (bool) False
;
17627 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17628 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17629 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17631 bool temp7
= False
;
17632 PyObject
* obj0
= 0 ;
17633 PyObject
* obj1
= 0 ;
17634 PyObject
* obj2
= 0 ;
17635 PyObject
* obj3
= 0 ;
17636 PyObject
* obj4
= 0 ;
17637 PyObject
* obj5
= 0 ;
17638 PyObject
* obj6
= 0 ;
17639 PyObject
* obj7
= 0 ;
17640 char *kwnames
[] = {
17641 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17647 arg2
= (int)SWIG_As_int(obj1
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17649 arg3
= (int)SWIG_As_int(obj2
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17651 arg4
= (int)SWIG_As_int(obj3
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17653 arg5
= (int)SWIG_As_int(obj4
);
17654 if (PyErr_Occurred()) SWIG_fail
;
17656 arg6
= (bool)SWIG_As_bool(obj5
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17661 arg7
= wxString_in_helper(obj6
);
17662 if (arg7
== NULL
) SWIG_fail
;
17667 arg8
= (int)SWIG_As_int(obj7
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17672 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17674 wxPyEndAllowThreads(__tstate
);
17675 if (PyErr_Occurred()) SWIG_fail
;
17677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17692 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17693 PyObject
*resultobj
;
17694 wxFontList
*arg1
= (wxFontList
*) 0 ;
17695 wxFont
*arg2
= (wxFont
*) 0 ;
17696 PyObject
* obj0
= 0 ;
17697 PyObject
* obj1
= 0 ;
17698 char *kwnames
[] = {
17699 (char *) "self",(char *) "font", NULL
17702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17709 (arg1
)->RemoveFont(arg2
);
17711 wxPyEndAllowThreads(__tstate
);
17712 if (PyErr_Occurred()) SWIG_fail
;
17714 Py_INCREF(Py_None
); resultobj
= Py_None
;
17721 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17722 PyObject
*resultobj
;
17723 wxFontList
*arg1
= (wxFontList
*) 0 ;
17725 PyObject
* obj0
= 0 ;
17726 char *kwnames
[] = {
17727 (char *) "self", NULL
17730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17735 result
= (int)(arg1
)->GetCount();
17737 wxPyEndAllowThreads(__tstate
);
17738 if (PyErr_Occurred()) SWIG_fail
;
17740 resultobj
= SWIG_From_int((int)result
);
17747 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
17749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17750 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17752 return Py_BuildValue((char *)"");
17754 static int _wrap_TheFontList_set(PyObject
*) {
17755 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17760 static PyObject
*_wrap_TheFontList_get() {
17763 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
17768 static int _wrap_ThePenList_set(PyObject
*) {
17769 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17774 static PyObject
*_wrap_ThePenList_get() {
17777 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
17782 static int _wrap_TheBrushList_set(PyObject
*) {
17783 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17788 static PyObject
*_wrap_TheBrushList_get() {
17791 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
17796 static int _wrap_TheColourDatabase_set(PyObject
*) {
17797 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17802 static PyObject
*_wrap_TheColourDatabase_get() {
17805 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
17810 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17811 PyObject
*resultobj
;
17813 char *kwnames
[] = {
17817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17820 result
= (wxEffects
*)new wxEffects();
17822 wxPyEndAllowThreads(__tstate
);
17823 if (PyErr_Occurred()) SWIG_fail
;
17825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
17832 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17833 PyObject
*resultobj
;
17834 wxEffects
*arg1
= (wxEffects
*) 0 ;
17836 PyObject
* obj0
= 0 ;
17837 char *kwnames
[] = {
17838 (char *) "self", NULL
17841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
17842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17846 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
17848 wxPyEndAllowThreads(__tstate
);
17849 if (PyErr_Occurred()) SWIG_fail
;
17852 wxColour
* resultptr
;
17853 resultptr
= new wxColour((wxColour
&) result
);
17854 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17862 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17863 PyObject
*resultobj
;
17864 wxEffects
*arg1
= (wxEffects
*) 0 ;
17866 PyObject
* obj0
= 0 ;
17867 char *kwnames
[] = {
17868 (char *) "self", NULL
17871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17876 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17882 wxColour
* resultptr
;
17883 resultptr
= new wxColour((wxColour
&) result
);
17884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17892 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17893 PyObject
*resultobj
;
17894 wxEffects
*arg1
= (wxEffects
*) 0 ;
17896 PyObject
* obj0
= 0 ;
17897 char *kwnames
[] = {
17898 (char *) "self", NULL
17901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
17902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17906 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
17908 wxPyEndAllowThreads(__tstate
);
17909 if (PyErr_Occurred()) SWIG_fail
;
17912 wxColour
* resultptr
;
17913 resultptr
= new wxColour((wxColour
&) result
);
17914 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17922 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17923 PyObject
*resultobj
;
17924 wxEffects
*arg1
= (wxEffects
*) 0 ;
17926 PyObject
* obj0
= 0 ;
17927 char *kwnames
[] = {
17928 (char *) "self", NULL
17931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
17932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17936 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
17938 wxPyEndAllowThreads(__tstate
);
17939 if (PyErr_Occurred()) SWIG_fail
;
17942 wxColour
* resultptr
;
17943 resultptr
= new wxColour((wxColour
&) result
);
17944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17952 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17953 PyObject
*resultobj
;
17954 wxEffects
*arg1
= (wxEffects
*) 0 ;
17956 PyObject
* obj0
= 0 ;
17957 char *kwnames
[] = {
17958 (char *) "self", NULL
17961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
17962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17966 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
17968 wxPyEndAllowThreads(__tstate
);
17969 if (PyErr_Occurred()) SWIG_fail
;
17972 wxColour
* resultptr
;
17973 resultptr
= new wxColour((wxColour
&) result
);
17974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17982 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17983 PyObject
*resultobj
;
17984 wxEffects
*arg1
= (wxEffects
*) 0 ;
17985 wxColour
*arg2
= 0 ;
17987 PyObject
* obj0
= 0 ;
17988 PyObject
* obj1
= 0 ;
17989 char *kwnames
[] = {
17990 (char *) "self",(char *) "c", NULL
17993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17998 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18002 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
18004 wxPyEndAllowThreads(__tstate
);
18005 if (PyErr_Occurred()) SWIG_fail
;
18007 Py_INCREF(Py_None
); resultobj
= Py_None
;
18014 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18015 PyObject
*resultobj
;
18016 wxEffects
*arg1
= (wxEffects
*) 0 ;
18017 wxColour
*arg2
= 0 ;
18019 PyObject
* obj0
= 0 ;
18020 PyObject
* obj1
= 0 ;
18021 char *kwnames
[] = {
18022 (char *) "self",(char *) "c", NULL
18025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18030 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18034 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18036 wxPyEndAllowThreads(__tstate
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18039 Py_INCREF(Py_None
); resultobj
= Py_None
;
18046 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18047 PyObject
*resultobj
;
18048 wxEffects
*arg1
= (wxEffects
*) 0 ;
18049 wxColour
*arg2
= 0 ;
18051 PyObject
* obj0
= 0 ;
18052 PyObject
* obj1
= 0 ;
18053 char *kwnames
[] = {
18054 (char *) "self",(char *) "c", NULL
18057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18062 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18066 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 Py_INCREF(Py_None
); resultobj
= Py_None
;
18078 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18079 PyObject
*resultobj
;
18080 wxEffects
*arg1
= (wxEffects
*) 0 ;
18081 wxColour
*arg2
= 0 ;
18083 PyObject
* obj0
= 0 ;
18084 PyObject
* obj1
= 0 ;
18085 char *kwnames
[] = {
18086 (char *) "self",(char *) "c", NULL
18089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18094 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18103 Py_INCREF(Py_None
); resultobj
= Py_None
;
18110 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18111 PyObject
*resultobj
;
18112 wxEffects
*arg1
= (wxEffects
*) 0 ;
18113 wxColour
*arg2
= 0 ;
18115 PyObject
* obj0
= 0 ;
18116 PyObject
* obj1
= 0 ;
18117 char *kwnames
[] = {
18118 (char *) "self",(char *) "c", NULL
18121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18126 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18130 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18135 Py_INCREF(Py_None
); resultobj
= Py_None
;
18142 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18143 PyObject
*resultobj
;
18144 wxEffects
*arg1
= (wxEffects
*) 0 ;
18145 wxColour
*arg2
= 0 ;
18146 wxColour
*arg3
= 0 ;
18147 wxColour
*arg4
= 0 ;
18148 wxColour
*arg5
= 0 ;
18149 wxColour
*arg6
= 0 ;
18155 PyObject
* obj0
= 0 ;
18156 PyObject
* obj1
= 0 ;
18157 PyObject
* obj2
= 0 ;
18158 PyObject
* obj3
= 0 ;
18159 PyObject
* obj4
= 0 ;
18160 PyObject
* obj5
= 0 ;
18161 char *kwnames
[] = {
18162 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18170 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18174 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18178 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18182 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18186 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18190 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18192 wxPyEndAllowThreads(__tstate
);
18193 if (PyErr_Occurred()) SWIG_fail
;
18195 Py_INCREF(Py_None
); resultobj
= Py_None
;
18202 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18203 PyObject
*resultobj
;
18204 wxEffects
*arg1
= (wxEffects
*) 0 ;
18207 int arg4
= (int) 1 ;
18209 PyObject
* obj0
= 0 ;
18210 PyObject
* obj1
= 0 ;
18211 PyObject
* obj2
= 0 ;
18212 PyObject
* obj3
= 0 ;
18213 char *kwnames
[] = {
18214 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18221 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18223 if (arg2
== NULL
) {
18224 PyErr_SetString(PyExc_TypeError
,"null reference");
18229 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18232 arg4
= (int)SWIG_As_int(obj3
);
18233 if (PyErr_Occurred()) SWIG_fail
;
18236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18237 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18239 wxPyEndAllowThreads(__tstate
);
18240 if (PyErr_Occurred()) SWIG_fail
;
18242 Py_INCREF(Py_None
); resultobj
= Py_None
;
18249 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18250 PyObject
*resultobj
;
18251 wxEffects
*arg1
= (wxEffects
*) 0 ;
18254 wxBitmap
*arg4
= 0 ;
18257 PyObject
* obj0
= 0 ;
18258 PyObject
* obj1
= 0 ;
18259 PyObject
* obj2
= 0 ;
18260 PyObject
* obj3
= 0 ;
18261 char *kwnames
[] = {
18262 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18270 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18272 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18273 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18275 if (arg3
== NULL
) {
18276 PyErr_SetString(PyExc_TypeError
,"null reference");
18279 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18280 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18282 if (arg4
== NULL
) {
18283 PyErr_SetString(PyExc_TypeError
,"null reference");
18287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18288 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18290 wxPyEndAllowThreads(__tstate
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18302 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
18304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18305 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18307 return Py_BuildValue((char *)"");
18309 static PyMethodDef SwigMethods
[] = {
18310 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18311 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18312 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18313 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18314 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18315 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
18316 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18317 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18318 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18319 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18320 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18321 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18322 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18323 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18324 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18325 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18326 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18327 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18328 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18329 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18330 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18331 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18332 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
18333 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18334 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18335 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18336 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18337 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18338 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
18339 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18340 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18341 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18342 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18343 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18344 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18345 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18346 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18347 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18348 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18349 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18350 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18351 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18352 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18353 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18354 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18355 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18356 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18357 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18358 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
18359 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18360 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18361 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18362 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18363 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18364 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18365 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18366 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18367 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18368 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
18369 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18370 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18371 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18372 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18373 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18374 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18375 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18376 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18377 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18378 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18379 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18380 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18381 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18382 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18383 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18384 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18385 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18386 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18387 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18388 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18389 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18390 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18391 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18392 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18393 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18394 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18395 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
18396 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18397 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
18398 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18399 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18400 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18401 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18402 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18403 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18404 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18405 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18406 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18407 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18408 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18409 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18410 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18411 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18412 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18413 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
18414 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18415 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18416 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18417 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18418 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18419 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18420 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18421 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
18422 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18423 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18424 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18425 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18426 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18427 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18428 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18429 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
18430 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18431 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18432 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18433 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18434 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18435 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
18436 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18437 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18438 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18439 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18440 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18441 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18442 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18443 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18444 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18445 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18446 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18447 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18448 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18449 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18450 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18451 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18452 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18453 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18454 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18455 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18456 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18457 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18458 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18459 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18460 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18461 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18462 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18463 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18464 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
18465 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18466 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18467 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18468 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18469 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18470 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18471 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18472 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18473 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18474 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18475 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18476 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18477 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18478 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
18479 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18480 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18481 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18482 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18483 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18484 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18485 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18486 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18487 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18488 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18489 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18490 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18491 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18492 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18493 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18494 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18495 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18496 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18497 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18498 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18499 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18500 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18501 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18502 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
18503 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18504 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18505 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18506 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18507 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18508 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18509 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18510 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18511 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
18512 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18513 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18514 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18515 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18516 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18517 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18518 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18519 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18520 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18521 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18522 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18523 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18524 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18525 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18526 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18527 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18528 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18529 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18530 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18531 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
18532 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18533 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18534 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18535 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18536 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18537 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18538 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18539 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18540 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18541 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18542 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18543 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18544 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18545 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18546 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18547 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18548 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18549 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18550 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18551 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18552 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18553 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18554 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18555 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18556 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18557 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18558 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18559 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18560 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18561 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18562 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18563 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18564 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18565 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18566 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18567 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18568 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
18569 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18570 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18571 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18572 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18573 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18574 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18575 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18576 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
18577 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18578 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18579 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18580 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18581 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18582 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18583 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
18584 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18585 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18586 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18587 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18588 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18589 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18590 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18591 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18592 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18593 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18594 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18595 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18596 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18597 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18598 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18599 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18600 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18601 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18602 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18603 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18604 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18605 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
18606 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18607 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
18608 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18609 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18610 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18611 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18612 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18613 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18614 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18615 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
18616 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18617 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18618 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18619 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18620 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18621 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18622 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18623 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18624 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18625 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18626 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18627 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18628 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18629 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18630 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18631 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18632 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18633 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18634 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18635 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18636 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18637 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18638 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18639 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18640 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18641 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18642 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18643 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18644 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18645 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18646 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18647 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18648 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18649 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18650 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18651 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18652 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18653 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18654 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18655 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18656 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18657 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18658 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18659 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18660 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18661 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18662 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18663 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18664 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18665 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18666 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18667 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18668 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18669 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18670 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18671 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18672 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18673 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18674 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18675 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18676 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18677 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18678 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18679 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18680 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18681 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18682 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18683 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18684 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18685 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18686 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18687 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18688 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18689 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18690 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18691 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18692 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18693 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18694 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18695 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18696 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18697 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18698 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18699 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18700 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18701 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18702 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18703 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18704 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18705 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18706 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18707 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18708 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18709 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18710 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18711 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18712 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18713 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18714 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18715 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18716 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18717 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18718 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18719 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18720 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18721 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18722 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18723 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18724 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18725 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18726 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18727 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18728 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18729 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18730 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18731 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18732 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18733 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18734 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18735 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18736 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18737 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18738 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18739 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18740 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18741 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18742 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18743 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18744 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
18745 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18746 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18747 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18748 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
18749 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
18750 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18751 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18752 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
18753 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18754 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
18755 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18756 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18757 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18758 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18759 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
18760 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18761 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
18762 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18763 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
18764 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18765 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
18766 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18767 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
18768 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18769 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18770 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18771 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18772 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18773 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
18774 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18775 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
18776 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18777 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
18778 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18779 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
18780 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18781 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18782 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18783 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18784 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18785 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18786 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18787 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18788 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18789 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18790 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18791 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
18792 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18793 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18794 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18795 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18796 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
18797 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18798 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18799 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18800 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18801 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
18802 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18803 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18804 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18805 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18806 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18807 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18808 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
18809 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18810 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18811 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18812 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18813 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
18814 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18815 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18816 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18817 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18818 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18819 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18820 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18821 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18822 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18823 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18824 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18825 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18826 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18827 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18828 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
18829 { NULL
, NULL
, 0, NULL
}
18833 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18835 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18836 return (void *)((wxWindow
*) ((wxControl
*) x
));
18838 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18839 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18841 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18842 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18844 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
18845 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
18847 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
18848 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18850 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18851 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18853 static void *_p_wxPenTo_p_wxObject(void *x
) {
18854 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
18856 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
18857 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
18859 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18860 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18862 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18863 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18865 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
18866 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
18868 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18869 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18871 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18872 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18874 static void *_p_wxIconTo_p_wxObject(void *x
) {
18875 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
18877 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18878 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18880 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18881 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18883 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18884 return (void *)((wxObject
*) ((wxSizer
*) x
));
18886 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18887 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18889 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18890 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18892 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18893 return (void *)((wxObject
*) ((wxPenList
*) x
));
18895 static void *_p_wxEventTo_p_wxObject(void *x
) {
18896 return (void *)((wxObject
*) ((wxEvent
*) x
));
18898 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18899 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18901 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18902 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18904 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18905 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18907 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18908 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18910 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18911 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18913 static void *_p_wxDCTo_p_wxObject(void *x
) {
18914 return (void *)((wxObject
*) ((wxDC
*) x
));
18916 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18917 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18919 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18920 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18922 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18923 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18925 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18926 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18928 static void *_p_wxControlTo_p_wxObject(void *x
) {
18929 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18931 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18932 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18934 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
18935 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
18937 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18938 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18940 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
18941 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
18943 static void *_p_wxRegionTo_p_wxObject(void *x
) {
18944 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
18946 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18947 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18949 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
18950 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
18952 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
18953 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
18955 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
18956 return (void *)((wxObject
*) ((wxEffects
*) x
));
18958 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18959 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18961 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18962 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18964 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
18965 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
18967 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18968 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18970 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18971 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18973 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18974 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18976 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18977 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18979 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18980 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18982 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18983 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18985 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18986 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18988 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18989 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18991 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18992 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18994 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18995 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18997 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18998 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19000 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19001 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19003 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19004 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19006 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19007 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19009 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19010 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19012 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19013 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19015 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19016 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19018 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19019 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19021 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19022 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19024 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19025 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19027 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19028 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19030 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19031 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19033 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19034 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19036 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19037 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19039 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19040 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19042 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19043 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19045 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19046 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19048 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19049 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19051 static void *_p_wxImageTo_p_wxObject(void *x
) {
19052 return (void *)((wxObject
*) ((wxImage
*) x
));
19054 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19055 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19057 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19058 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19060 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19061 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19063 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19064 return (void *)((wxObject
*) ((wxImageList
*) x
));
19066 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19067 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19069 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19070 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19072 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19073 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19075 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19076 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19078 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19079 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19081 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19082 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19084 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19085 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19087 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19088 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19090 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19091 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19093 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19094 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19096 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19097 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19099 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19100 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19102 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19103 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19105 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19106 return (void *)((wxObject
*) ((wxMask
*) x
));
19108 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19109 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19111 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19112 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19114 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19115 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19117 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19118 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19120 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19121 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19123 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19124 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19126 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19127 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19129 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19130 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19132 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19133 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19135 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19136 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19138 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19139 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19141 static void *_p_wxFontTo_p_wxObject(void *x
) {
19142 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19144 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19145 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19147 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19148 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19150 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19151 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19153 static void *_p_wxColourTo_p_wxObject(void *x
) {
19154 return (void *)((wxObject
*) ((wxColour
*) x
));
19156 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19157 return (void *)((wxObject
*) ((wxFontList
*) x
));
19159 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19160 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19162 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19163 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19165 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19166 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19168 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19169 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19171 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19172 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19174 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19175 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19177 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19178 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19180 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19181 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19183 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19184 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19186 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19187 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19189 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19190 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19192 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19193 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19195 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19196 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19198 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19199 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19201 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19202 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19204 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19205 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19207 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19208 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19210 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19211 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19213 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19214 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19216 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19217 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19219 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19220 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19222 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19223 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19225 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}};
19226 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}};
19227 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}};
19228 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}};
19229 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}};
19230 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}};
19231 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}};
19232 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}};
19233 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}};
19234 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}};
19235 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}};
19236 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}};
19237 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}};
19238 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}};
19239 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}};
19240 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}};
19241 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}};
19242 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}};
19243 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}};
19244 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}};
19245 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}};
19246 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}};
19247 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}};
19248 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}};
19249 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}};
19250 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}};
19251 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}};
19252 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}};
19253 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}};
19254 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}};
19255 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}};
19256 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}};
19257 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}};
19258 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}};
19259 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}};
19260 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}};
19261 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}};
19262 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}};
19263 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}};
19264 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}};
19265 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}};
19266 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}};
19267 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}};
19268 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}};
19269 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}};
19270 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}};
19271 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}};
19272 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}};
19273 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}};
19274 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}};
19275 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}};
19276 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}};
19277 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}};
19278 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}};
19279 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}};
19281 static swig_type_info
*swig_types_initial
[] = {
19282 _swigt__p_wxPostScriptDC
,
19284 _swigt__p_wxColour
,
19286 _swigt__p_wxMirrorDC
,
19288 _swigt__p_wxPyFontEnumerator
,
19290 _swigt__p_wxIconLocation
,
19292 _swigt__p_wxMetaFileDC
,
19296 _swigt__p_wxWindow
,
19298 _swigt__p_wxMemoryDC
,
19299 _swigt__p_wxFontMapper
,
19300 _swigt__p_wxEffects
,
19301 _swigt__p_wxNativeEncodingInfo
,
19302 _swigt__p_wxPalette
,
19303 _swigt__p_wxBitmap
,
19304 _swigt__p_wxObject
,
19305 _swigt__p_wxRegionIterator
,
19307 _swigt__p_wxString
,
19308 _swigt__p_wxPrinterDC
,
19309 _swigt__p_wxIconBundle
,
19312 _swigt__p_wxScreenDC
,
19313 _swigt__p_wxCursor
,
19314 _swigt__p_wxClientDC
,
19315 _swigt__p_wxBufferedDC
,
19316 _swigt__p_wxImageList
,
19317 _swigt__p_unsigned_char
,
19318 _swigt__p_wxGDIObject
,
19320 _swigt__p_wxLocale
,
19321 _swigt__p_wxRegion
,
19322 _swigt__p_wxLanguageInfo
,
19323 _swigt__p_wxConfigBase
,
19324 _swigt__p_wxWindowDC
,
19325 _swigt__p_wxPrintData
,
19326 _swigt__p_wxBrushList
,
19327 _swigt__p_wxFontList
,
19329 _swigt__p_wxBufferedPaintDC
,
19330 _swigt__p_wxPaintDC
,
19331 _swigt__p_wxPenList
,
19333 _swigt__p_wxMetaFile
,
19334 _swigt__p_wxNativeFontInfo
,
19335 _swigt__p_wxEncodingConverter
,
19336 _swigt__p_wxColourDatabase
,
19341 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19343 static swig_const_info swig_const_table
[] = {
19344 {0, 0, 0, 0.0, 0, 0}};
19353 SWIGEXPORT(void) SWIG_init(void) {
19354 static PyObject
*SWIG_globals
= 0;
19355 static int typeinit
= 0;
19358 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19359 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19360 d
= PyModule_GetDict(m
);
19363 for (i
= 0; swig_types_initial
[i
]; i
++) {
19364 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19368 SWIG_InstallConstants(d
,swig_const_table
);
19370 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)wxOutRegion
));
19371 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)wxPartRegion
));
19372 PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)wxInRegion
));
19373 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)wxFONTFAMILY_DEFAULT
));
19374 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)wxFONTFAMILY_DECORATIVE
));
19375 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)wxFONTFAMILY_ROMAN
));
19376 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)wxFONTFAMILY_SCRIPT
));
19377 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)wxFONTFAMILY_SWISS
));
19378 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)wxFONTFAMILY_MODERN
));
19379 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)wxFONTFAMILY_TELETYPE
));
19380 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)wxFONTFAMILY_MAX
));
19381 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)wxFONTFAMILY_UNKNOWN
));
19382 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)wxFONTSTYLE_NORMAL
));
19383 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)wxFONTSTYLE_ITALIC
));
19384 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)wxFONTSTYLE_SLANT
));
19385 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)wxFONTSTYLE_MAX
));
19386 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)wxFONTWEIGHT_NORMAL
));
19387 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)wxFONTWEIGHT_LIGHT
));
19388 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)wxFONTWEIGHT_BOLD
));
19389 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)wxFONTWEIGHT_MAX
));
19390 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)wxFONTFLAG_DEFAULT
));
19391 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)wxFONTFLAG_ITALIC
));
19392 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)wxFONTFLAG_SLANT
));
19393 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)wxFONTFLAG_LIGHT
));
19394 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)wxFONTFLAG_BOLD
));
19395 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_ANTIALIASED
));
19396 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_NOT_ANTIALIASED
));
19397 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)wxFONTFLAG_UNDERLINED
));
19398 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)wxFONTFLAG_STRIKETHROUGH
));
19399 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)wxFONTFLAG_MASK
));
19400 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)wxFONTENCODING_SYSTEM
));
19401 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)wxFONTENCODING_DEFAULT
));
19402 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)wxFONTENCODING_ISO8859_1
));
19403 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)wxFONTENCODING_ISO8859_2
));
19404 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)wxFONTENCODING_ISO8859_3
));
19405 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)wxFONTENCODING_ISO8859_4
));
19406 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)wxFONTENCODING_ISO8859_5
));
19407 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)wxFONTENCODING_ISO8859_6
));
19408 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)wxFONTENCODING_ISO8859_7
));
19409 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)wxFONTENCODING_ISO8859_8
));
19410 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)wxFONTENCODING_ISO8859_9
));
19411 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)wxFONTENCODING_ISO8859_10
));
19412 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)wxFONTENCODING_ISO8859_11
));
19413 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)wxFONTENCODING_ISO8859_12
));
19414 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)wxFONTENCODING_ISO8859_13
));
19415 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)wxFONTENCODING_ISO8859_14
));
19416 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)wxFONTENCODING_ISO8859_15
));
19417 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)wxFONTENCODING_ISO8859_MAX
));
19418 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)wxFONTENCODING_KOI8
));
19419 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)wxFONTENCODING_KOI8_U
));
19420 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)wxFONTENCODING_ALTERNATIVE
));
19421 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)wxFONTENCODING_BULGARIAN
));
19422 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)wxFONTENCODING_CP437
));
19423 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)wxFONTENCODING_CP850
));
19424 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)wxFONTENCODING_CP852
));
19425 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)wxFONTENCODING_CP855
));
19426 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)wxFONTENCODING_CP866
));
19427 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)wxFONTENCODING_CP874
));
19428 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)wxFONTENCODING_CP932
));
19429 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)wxFONTENCODING_CP936
));
19430 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)wxFONTENCODING_CP949
));
19431 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)wxFONTENCODING_CP950
));
19432 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)wxFONTENCODING_CP1250
));
19433 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)wxFONTENCODING_CP1251
));
19434 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)wxFONTENCODING_CP1252
));
19435 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)wxFONTENCODING_CP1253
));
19436 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)wxFONTENCODING_CP1254
));
19437 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)wxFONTENCODING_CP1255
));
19438 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)wxFONTENCODING_CP1256
));
19439 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)wxFONTENCODING_CP1257
));
19440 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)wxFONTENCODING_CP12_MAX
));
19441 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)wxFONTENCODING_UTF7
));
19442 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)wxFONTENCODING_UTF8
));
19443 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)wxFONTENCODING_EUC_JP
));
19444 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)wxFONTENCODING_UTF16BE
));
19445 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)wxFONTENCODING_UTF16LE
));
19446 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)wxFONTENCODING_UTF32BE
));
19447 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)wxFONTENCODING_UTF32LE
));
19448 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)wxFONTENCODING_MACROMAN
));
19449 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)wxFONTENCODING_MACJAPANESE
));
19450 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)wxFONTENCODING_MACCHINESETRAD
));
19451 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)wxFONTENCODING_MACKOREAN
));
19452 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)wxFONTENCODING_MACARABIC
));
19453 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)wxFONTENCODING_MACHEBREW
));
19454 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)wxFONTENCODING_MACGREEK
));
19455 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)wxFONTENCODING_MACCYRILLIC
));
19456 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)wxFONTENCODING_MACDEVANAGARI
));
19457 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)wxFONTENCODING_MACGURMUKHI
));
19458 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)wxFONTENCODING_MACGUJARATI
));
19459 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)wxFONTENCODING_MACORIYA
));
19460 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)wxFONTENCODING_MACBENGALI
));
19461 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)wxFONTENCODING_MACTAMIL
));
19462 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)wxFONTENCODING_MACTELUGU
));
19463 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)wxFONTENCODING_MACKANNADA
));
19464 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)wxFONTENCODING_MACMALAJALAM
));
19465 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)wxFONTENCODING_MACSINHALESE
));
19466 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)wxFONTENCODING_MACBURMESE
));
19467 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)wxFONTENCODING_MACKHMER
));
19468 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)wxFONTENCODING_MACTHAI
));
19469 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)wxFONTENCODING_MACLAOTIAN
));
19470 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)wxFONTENCODING_MACGEORGIAN
));
19471 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)wxFONTENCODING_MACARMENIAN
));
19472 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)wxFONTENCODING_MACCHINESESIMP
));
19473 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)wxFONTENCODING_MACTIBETAN
));
19474 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)wxFONTENCODING_MACMONGOLIAN
));
19475 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)wxFONTENCODING_MACETHIOPIC
));
19476 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)wxFONTENCODING_MACCENTRALEUR
));
19477 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)wxFONTENCODING_MACVIATNAMESE
));
19478 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)wxFONTENCODING_MACARABICEXT
));
19479 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)wxFONTENCODING_MACSYMBOL
));
19480 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)wxFONTENCODING_MACDINGBATS
));
19481 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)wxFONTENCODING_MACTURKISH
));
19482 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)wxFONTENCODING_MACCROATIAN
));
19483 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)wxFONTENCODING_MACICELANDIC
));
19484 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)wxFONTENCODING_MACROMANIAN
));
19485 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)wxFONTENCODING_MACCELTIC
));
19486 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)wxFONTENCODING_MACGAELIC
));
19487 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)wxFONTENCODING_MACKEYBOARD
));
19488 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)wxFONTENCODING_MACMIN
));
19489 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)wxFONTENCODING_MACMAX
));
19490 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)wxFONTENCODING_MAX
));
19491 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)wxFONTENCODING_UTF16
));
19492 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)wxFONTENCODING_UTF32
));
19493 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)wxFONTENCODING_UNICODE
));
19494 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)wxFONTENCODING_GB2312
));
19495 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)wxFONTENCODING_BIG5
));
19496 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)wxFONTENCODING_SHIFT_JIS
));
19498 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19500 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)wxLANGUAGE_DEFAULT
));
19501 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)wxLANGUAGE_UNKNOWN
));
19502 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)wxLANGUAGE_ABKHAZIAN
));
19503 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)wxLANGUAGE_AFAR
));
19504 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)wxLANGUAGE_AFRIKAANS
));
19505 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)wxLANGUAGE_ALBANIAN
));
19506 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)wxLANGUAGE_AMHARIC
));
19507 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)wxLANGUAGE_ARABIC
));
19508 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_ALGERIA
));
19509 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19510 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)wxLANGUAGE_ARABIC_EGYPT
));
19511 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)wxLANGUAGE_ARABIC_IRAQ
));
19512 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_JORDAN
));
19513 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)wxLANGUAGE_ARABIC_KUWAIT
));
19514 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)wxLANGUAGE_ARABIC_LEBANON
));
19515 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)wxLANGUAGE_ARABIC_LIBYA
));
19516 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)wxLANGUAGE_ARABIC_MOROCCO
));
19517 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_OMAN
));
19518 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)wxLANGUAGE_ARABIC_QATAR
));
19519 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19520 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_SUDAN
));
19521 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SYRIA
));
19522 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_TUNISIA
));
19523 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)wxLANGUAGE_ARABIC_UAE
));
19524 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)wxLANGUAGE_ARABIC_YEMEN
));
19525 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)wxLANGUAGE_ARMENIAN
));
19526 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)wxLANGUAGE_ASSAMESE
));
19527 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)wxLANGUAGE_AYMARA
));
19528 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)wxLANGUAGE_AZERI
));
19529 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_AZERI_CYRILLIC
));
19530 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)wxLANGUAGE_AZERI_LATIN
));
19531 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)wxLANGUAGE_BASHKIR
));
19532 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)wxLANGUAGE_BASQUE
));
19533 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)wxLANGUAGE_BELARUSIAN
));
19534 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)wxLANGUAGE_BENGALI
));
19535 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)wxLANGUAGE_BHUTANI
));
19536 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)wxLANGUAGE_BIHARI
));
19537 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)wxLANGUAGE_BISLAMA
));
19538 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)wxLANGUAGE_BRETON
));
19539 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)wxLANGUAGE_BULGARIAN
));
19540 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)wxLANGUAGE_BURMESE
));
19541 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)wxLANGUAGE_CAMBODIAN
));
19542 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)wxLANGUAGE_CATALAN
));
19543 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)wxLANGUAGE_CHINESE
));
19544 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19545 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19546 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)wxLANGUAGE_CHINESE_HONGKONG
));
19547 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)wxLANGUAGE_CHINESE_MACAU
));
19548 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19549 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)wxLANGUAGE_CHINESE_TAIWAN
));
19550 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)wxLANGUAGE_CORSICAN
));
19551 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)wxLANGUAGE_CROATIAN
));
19552 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)wxLANGUAGE_CZECH
));
19553 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)wxLANGUAGE_DANISH
));
19554 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)wxLANGUAGE_DUTCH
));
19555 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_DUTCH_BELGIAN
));
19556 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)wxLANGUAGE_ENGLISH
));
19557 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_UK
));
19558 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)wxLANGUAGE_ENGLISH_US
));
19559 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19560 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BELIZE
));
19561 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19562 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CANADA
));
19563 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19564 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_DENMARK
));
19565 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_EIRE
));
19566 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19567 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19568 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19569 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19570 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19571 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19572 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)wxLANGUAGE_ESPERANTO
));
19573 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)wxLANGUAGE_ESTONIAN
));
19574 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)wxLANGUAGE_FAEROESE
));
19575 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)wxLANGUAGE_FARSI
));
19576 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)wxLANGUAGE_FIJI
));
19577 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)wxLANGUAGE_FINNISH
));
19578 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)wxLANGUAGE_FRENCH
));
19579 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_BELGIAN
));
19580 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_CANADIAN
));
19581 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19582 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)wxLANGUAGE_FRENCH_MONACO
));
19583 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)wxLANGUAGE_FRENCH_SWISS
));
19584 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)wxLANGUAGE_FRISIAN
));
19585 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)wxLANGUAGE_GALICIAN
));
19586 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)wxLANGUAGE_GEORGIAN
));
19587 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)wxLANGUAGE_GERMAN
));
19588 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19589 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)wxLANGUAGE_GERMAN_BELGIUM
));
19590 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19591 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19592 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)wxLANGUAGE_GERMAN_SWISS
));
19593 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)wxLANGUAGE_GREEK
));
19594 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)wxLANGUAGE_GREENLANDIC
));
19595 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)wxLANGUAGE_GUARANI
));
19596 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)wxLANGUAGE_GUJARATI
));
19597 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)wxLANGUAGE_HAUSA
));
19598 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)wxLANGUAGE_HEBREW
));
19599 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)wxLANGUAGE_HINDI
));
19600 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)wxLANGUAGE_HUNGARIAN
));
19601 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)wxLANGUAGE_ICELANDIC
));
19602 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)wxLANGUAGE_INDONESIAN
));
19603 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)wxLANGUAGE_INTERLINGUA
));
19604 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)wxLANGUAGE_INTERLINGUE
));
19605 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)wxLANGUAGE_INUKTITUT
));
19606 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)wxLANGUAGE_INUPIAK
));
19607 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)wxLANGUAGE_IRISH
));
19608 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)wxLANGUAGE_ITALIAN
));
19609 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)wxLANGUAGE_ITALIAN_SWISS
));
19610 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)wxLANGUAGE_JAPANESE
));
19611 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)wxLANGUAGE_JAVANESE
));
19612 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)wxLANGUAGE_KANNADA
));
19613 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)wxLANGUAGE_KASHMIRI
));
19614 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)wxLANGUAGE_KASHMIRI_INDIA
));
19615 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)wxLANGUAGE_KAZAKH
));
19616 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)wxLANGUAGE_KERNEWEK
));
19617 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)wxLANGUAGE_KINYARWANDA
));
19618 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)wxLANGUAGE_KIRGHIZ
));
19619 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)wxLANGUAGE_KIRUNDI
));
19620 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)wxLANGUAGE_KONKANI
));
19621 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)wxLANGUAGE_KOREAN
));
19622 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)wxLANGUAGE_KURDISH
));
19623 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)wxLANGUAGE_LAOTHIAN
));
19624 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)wxLANGUAGE_LATIN
));
19625 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)wxLANGUAGE_LATVIAN
));
19626 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)wxLANGUAGE_LINGALA
));
19627 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)wxLANGUAGE_LITHUANIAN
));
19628 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)wxLANGUAGE_MACEDONIAN
));
19629 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)wxLANGUAGE_MALAGASY
));
19630 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)wxLANGUAGE_MALAY
));
19631 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)wxLANGUAGE_MALAYALAM
));
19632 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19633 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)wxLANGUAGE_MALAY_MALAYSIA
));
19634 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)wxLANGUAGE_MALTESE
));
19635 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)wxLANGUAGE_MANIPURI
));
19636 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)wxLANGUAGE_MAORI
));
19637 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)wxLANGUAGE_MARATHI
));
19638 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)wxLANGUAGE_MOLDAVIAN
));
19639 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)wxLANGUAGE_MONGOLIAN
));
19640 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)wxLANGUAGE_NAURU
));
19641 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)wxLANGUAGE_NEPALI
));
19642 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)wxLANGUAGE_NEPALI_INDIA
));
19643 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19644 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19645 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)wxLANGUAGE_OCCITAN
));
19646 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)wxLANGUAGE_ORIYA
));
19647 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)wxLANGUAGE_OROMO
));
19648 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)wxLANGUAGE_PASHTO
));
19649 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)wxLANGUAGE_POLISH
));
19650 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE
));
19651 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19652 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)wxLANGUAGE_PUNJABI
));
19653 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)wxLANGUAGE_QUECHUA
));
19654 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)wxLANGUAGE_RHAETO_ROMANCE
));
19655 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)wxLANGUAGE_ROMANIAN
));
19656 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)wxLANGUAGE_RUSSIAN
));
19657 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19658 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)wxLANGUAGE_SAMOAN
));
19659 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)wxLANGUAGE_SANGHO
));
19660 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)wxLANGUAGE_SANSKRIT
));
19661 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)wxLANGUAGE_SCOTS_GAELIC
));
19662 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)wxLANGUAGE_SERBIAN
));
19663 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19664 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)wxLANGUAGE_SERBIAN_LATIN
));
19665 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)wxLANGUAGE_SERBO_CROATIAN
));
19666 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)wxLANGUAGE_SESOTHO
));
19667 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)wxLANGUAGE_SETSWANA
));
19668 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)wxLANGUAGE_SHONA
));
19669 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)wxLANGUAGE_SINDHI
));
19670 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)wxLANGUAGE_SINHALESE
));
19671 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)wxLANGUAGE_SISWATI
));
19672 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)wxLANGUAGE_SLOVAK
));
19673 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)wxLANGUAGE_SLOVENIAN
));
19674 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)wxLANGUAGE_SOMALI
));
19675 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)wxLANGUAGE_SPANISH
));
19676 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19677 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19678 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)wxLANGUAGE_SPANISH_CHILE
));
19679 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19680 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19681 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19682 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_ECUADOR
));
19683 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19684 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19685 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)wxLANGUAGE_SPANISH_HONDURAS
));
19686 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MEXICAN
));
19687 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MODERN
));
19688 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19689 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)wxLANGUAGE_SPANISH_PANAMA
));
19690 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19691 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)wxLANGUAGE_SPANISH_PERU
));
19692 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19693 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_URUGUAY
));
19694 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)wxLANGUAGE_SPANISH_US
));
19695 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19696 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)wxLANGUAGE_SUNDANESE
));
19697 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)wxLANGUAGE_SWAHILI
));
19698 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)wxLANGUAGE_SWEDISH
));
19699 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)wxLANGUAGE_SWEDISH_FINLAND
));
19700 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)wxLANGUAGE_TAGALOG
));
19701 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)wxLANGUAGE_TAJIK
));
19702 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)wxLANGUAGE_TAMIL
));
19703 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)wxLANGUAGE_TATAR
));
19704 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)wxLANGUAGE_TELUGU
));
19705 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)wxLANGUAGE_THAI
));
19706 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)wxLANGUAGE_TIBETAN
));
19707 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)wxLANGUAGE_TIGRINYA
));
19708 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)wxLANGUAGE_TONGA
));
19709 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)wxLANGUAGE_TSONGA
));
19710 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)wxLANGUAGE_TURKISH
));
19711 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)wxLANGUAGE_TURKMEN
));
19712 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)wxLANGUAGE_TWI
));
19713 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)wxLANGUAGE_UIGHUR
));
19714 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)wxLANGUAGE_UKRAINIAN
));
19715 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)wxLANGUAGE_URDU
));
19716 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)wxLANGUAGE_URDU_INDIA
));
19717 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)wxLANGUAGE_URDU_PAKISTAN
));
19718 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)wxLANGUAGE_UZBEK
));
19719 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19720 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)wxLANGUAGE_UZBEK_LATIN
));
19721 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)wxLANGUAGE_VIETNAMESE
));
19722 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)wxLANGUAGE_VOLAPUK
));
19723 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)wxLANGUAGE_WELSH
));
19724 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)wxLANGUAGE_WOLOF
));
19725 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)wxLANGUAGE_XHOSA
));
19726 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)wxLANGUAGE_YIDDISH
));
19727 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)wxLANGUAGE_YORUBA
));
19728 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)wxLANGUAGE_ZHUANG
));
19729 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)wxLANGUAGE_ZULU
));
19730 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)wxLANGUAGE_USER_DEFINED
));
19731 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)wxLOCALE_CAT_NUMBER
));
19732 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)wxLOCALE_CAT_DATE
));
19733 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)wxLOCALE_CAT_MONEY
));
19734 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)wxLOCALE_CAT_MAX
));
19735 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)wxLOCALE_THOUSANDS_SEP
));
19736 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)wxLOCALE_DECIMAL_POINT
));
19737 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)wxLOCALE_LOAD_DEFAULT
));
19738 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)wxLOCALE_CONV_ENCODING
));
19739 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)wxCONVERT_STRICT
));
19740 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)wxCONVERT_SUBSTITUTE
));
19741 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)wxPLATFORM_CURRENT
));
19742 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)wxPLATFORM_UNIX
));
19743 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)wxPLATFORM_WINDOWS
));
19744 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)wxPLATFORM_OS2
));
19745 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)wxPLATFORM_MAC
));
19746 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)wxIMAGELIST_DRAW_NORMAL
));
19747 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19748 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)wxIMAGELIST_DRAW_SELECTED
));
19749 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)wxIMAGELIST_DRAW_FOCUSED
));
19750 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)wxIMAGE_LIST_NORMAL
));
19751 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)wxIMAGE_LIST_SMALL
));
19752 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)wxIMAGE_LIST_STATE
));
19753 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19754 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19755 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19756 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19757 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19758 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19759 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19760 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19761 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19762 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19763 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19764 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19765 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19766 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19767 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19768 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19769 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19770 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19771 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19772 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19773 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19774 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19775 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19776 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19777 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19778 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19779 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19780 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19781 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19782 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19783 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19784 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19785 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19786 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19787 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19788 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19789 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19790 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19791 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19792 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19793 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19794 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19795 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19796 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19797 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19798 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19799 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19801 // Work around a chicken/egg problem in drawlist.cpp
19802 wxPyDrawList_SetAPIPtr();