1 /* ---------------------------------------------------------------------------- 
   2  * This file was automatically generated by SWIG (http://www.swig.org). 
   5  * This file is not intended to be easily readable and contains a number of  
   6  * coding conventions designed to improve portability and efficiency. Do not make 
   7  * changes to this file unless you know what you are doing--modify the SWIG  
   8  * interface file instead.  
   9  * ----------------------------------------------------------------------------- */ 
  12 #define SWIG_NOINCLUDE 
  15 template<class T
> class SwigValueWrapper 
{ 
  18     SwigValueWrapper() : tt(0) { } 
  19     SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { } 
  20     SwigValueWrapper(const T
& t
) : tt(new T(t
)) { } 
  21     ~SwigValueWrapper() { delete tt
; }  
  22     SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt 
= new T(t
); return *this; } 
  23     operator T
&() const { return *tt
; } 
  24     T 
*operator&() { return tt
; } 
  26     SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
); 
  33 /*************************************************************** -*- c -*- 
  34  * python/precommon.swg 
  36  * Rename all exported symbols from common.swg, to avoid symbol 
  37  * clashes if multiple interpreters are included 
  39  ************************************************************************/ 
  41 #define SWIG_TypeRegister    SWIG_Python_TypeRegister 
  42 #define SWIG_TypeCheck       SWIG_Python_TypeCheck 
  43 #define SWIG_TypeCast        SWIG_Python_TypeCast 
  44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast 
  45 #define SWIG_TypeName        SWIG_Python_TypeName 
  46 #define SWIG_TypePrettyName  SWIG_Python_TypePrettyName 
  47 #define SWIG_TypeQuery       SWIG_Python_TypeQuery 
  48 #define SWIG_TypeClientData  SWIG_Python_TypeClientData 
  49 #define SWIG_PackData        SWIG_Python_PackData  
  50 #define SWIG_UnpackData      SWIG_Python_UnpackData  
  53 /*********************************************************************** 
  54  * common.swg for wxPython 
  56  * Include only the function prototypes and such from SWIG's common.swg, 
  57  * but not the runtime functions themselves.  This helps keep the 
  58  * wrapper files clean of unnecessary stuff that is in the libpy.c file 
  61  ************************************************************************/ 
  65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
  66 #  if defined(_MSC_VER) || defined(__GNUC__) 
  67 #    if defined(STATIC_LINKED) 
  68 #      define SWIGEXPORT(a) a 
  69 #      define SWIGIMPORT(a) extern a 
  71 #      define SWIGEXPORT(a) __declspec(dllexport) a 
  72 #      define SWIGIMPORT(a) extern a 
  75 #    if defined(__BORLANDC__) 
  76 #      define SWIGEXPORT(a) a _export 
  77 #      define SWIGIMPORT(a) a _export 
  79 #      define SWIGEXPORT(a) a 
  80 #      define SWIGIMPORT(a) a 
  84 #  define SWIGEXPORT(a) a 
  85 #  define SWIGIMPORT(a) a 
  89 #  define SWIGRUNTIME(a) SWIGEXPORT(a) 
  91 #  define SWIGRUNTIME(a) static a 
  98 typedef void *(*swig_converter_func
)(void *); 
  99 typedef struct swig_type_info 
*(*swig_dycast_func
)(void **); 
 101 typedef struct swig_type_info 
{ 
 103   swig_converter_func     converter
; 
 106   swig_dycast_func        dcast
; 
 107   struct swig_type_info  
*next
; 
 108   struct swig_type_info  
*prev
; 
 112 SWIGIMPORT(swig_type_info 
*) SWIG_TypeRegister(swig_type_info 
*); 
 113 SWIGIMPORT(swig_type_info 
*) SWIG_TypeCheck(char *c
, swig_type_info 
*); 
 114 SWIGIMPORT(void *)           SWIG_TypeCast(swig_type_info 
*, void *); 
 115 SWIGIMPORT(swig_type_info 
*) SWIG_TypeDynamicCast(swig_type_info 
*, void **); 
 116 SWIGIMPORT(const char *)     SWIG_TypeName(const swig_type_info 
*); 
 117 SWIGIMPORT(const char *)     SWIG_TypePrettyName(const swig_type_info 
*); 
 118 SWIGIMPORT(swig_type_info 
*) SWIG_TypeQuery(const char *); 
 119 SWIGIMPORT(void)             SWIG_TypeClientData(swig_type_info 
*, void *); 
 120 SWIGIMPORT(char *)           SWIG_PackData(char *, void *, int); 
 121 SWIGIMPORT(char *)           SWIG_UnpackData(char *, void *, int); 
 129 /*********************************************************************** 
 130  * pyrun.swg for wxPython 
 132  * Include only the function prototypes and such from SWIG's pyrun.swg, 
 133  * but not the runtime functions themselves.  This helps keep the 
 134  * wrapper files clean of unnecessary stuff that is in the libpy.c file 
 137  ************************************************************************/ 
 143 #define SWIG_PY_INT     1 
 144 #define SWIG_PY_FLOAT   2 
 145 #define SWIG_PY_STRING  3 
 146 #define SWIG_PY_POINTER 4 
 147 #define SWIG_PY_BINARY  5 
 149 /* Flags for pointer conversion */ 
 151 #define SWIG_POINTER_EXCEPTION     0x1 
 152 #define SWIG_POINTER_DISOWN        0x2 
 154 /* Exception handling in wrappers */ 
 155 #define SWIG_fail   goto fail 
 157 /* Constant information structure */ 
 158 typedef struct swig_const_info 
{ 
 164     swig_type_info 
**ptype
; 
 167 /* Common SWIG API */ 
 168 #define SWIG_ConvertPtr(obj, pp, type, flags) \ 
 169   SWIG_Python_ConvertPtr(obj, pp, type, flags) 
 170 #define SWIG_NewPointerObj(p, type, flags) \ 
 171   SWIG_Python_NewPointerObj(p, type, flags) 
 172 #define SWIG_MustGetPtr(p, type, argnum, flags) \ 
 173   SWIG_Python_MustGetPtr(p, type, argnum, flags) 
 175 /* Python-specific SWIG API */ 
 176 #define SWIG_newvarlink() \ 
 177   SWIG_Python_newvarlink() 
 178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \ 
 179   SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
 180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ 
 181   SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) 
 182 #define SWIG_NewPackedObj(ptr, sz, type) \ 
 183   SWIG_Python_NewPackedObj(ptr, sz, type) 
 184 #define SWIG_InstallConstants(d, constants) \ 
 185   SWIG_Python_InstallConstants(d, constants) 
 187 typedef double (*py_objasdbl_conv
)(PyObject 
*obj
); 
 189 SWIGIMPORT(int)               SWIG_Python_ConvertPtr(PyObject 
*, void **, swig_type_info 
*, int); 
 190 SWIGIMPORT(PyObject 
*)        SWIG_Python_NewPointerObj(void *, swig_type_info 
*,int own
); 
 191 SWIGIMPORT(void *)            SWIG_Python_MustGetPtr(PyObject 
*, swig_type_info 
*, int, int); 
 192 SWIGIMPORT(PyObject 
*)        SWIG_Python_newvarlink(void); 
 193 SWIGIMPORT(void)              SWIG_Python_addvarlink(PyObject 
*, char *, PyObject 
*(*)(void), int (*)(PyObject 
*)); 
 194 SWIGIMPORT(int)               SWIG_Python_ConvertPacked(PyObject 
*, void *, int sz
, swig_type_info 
*, int); 
 195 SWIGIMPORT(PyObject 
*)        SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info 
*); 
 196 SWIGIMPORT(void)              SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]); 
 199 /* Contract support */ 
 201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else 
 209 /* -------- TYPES TABLE (BEGIN) -------- */ 
 211 #define  SWIGTYPE_p_wxPostScriptDC swig_types[0]  
 212 #define  SWIGTYPE_p_wxBrush swig_types[1]  
 213 #define  SWIGTYPE_p_wxColour swig_types[2]  
 214 #define  SWIGTYPE_p_wxDC swig_types[3]  
 215 #define  SWIGTYPE_p_wxMirrorDC swig_types[4]  
 216 #define  SWIGTYPE_p_byte swig_types[5]  
 217 #define  SWIGTYPE_p_wxPyFontEnumerator swig_types[6]  
 218 #define  SWIGTYPE_p_char swig_types[7]  
 219 #define  SWIGTYPE_p_wxIconLocation swig_types[8]  
 220 #define  SWIGTYPE_p_wxImage swig_types[9]  
 221 #define  SWIGTYPE_p_wxMetaFileDC swig_types[10]  
 222 #define  SWIGTYPE_p_wxMask swig_types[11]  
 223 #define  SWIGTYPE_p_wxSize swig_types[12]  
 224 #define  SWIGTYPE_p_wxFont swig_types[13]  
 225 #define  SWIGTYPE_p_wxWindow swig_types[14]  
 226 #define  SWIGTYPE_p_double swig_types[15]  
 227 #define  SWIGTYPE_p_wxMemoryDC swig_types[16]  
 228 #define  SWIGTYPE_p_wxFontMapper swig_types[17]  
 229 #define  SWIGTYPE_p_wxEffects swig_types[18]  
 230 #define  SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]  
 231 #define  SWIGTYPE_p_wxPalette swig_types[20]  
 232 #define  SWIGTYPE_p_wxBitmap swig_types[21]  
 233 #define  SWIGTYPE_p_wxObject swig_types[22]  
 234 #define  SWIGTYPE_p_wxRegionIterator swig_types[23]  
 235 #define  SWIGTYPE_p_wxRect swig_types[24]  
 236 #define  SWIGTYPE_p_wxString swig_types[25]  
 237 #define  SWIGTYPE_p_wxPrinterDC swig_types[26]  
 238 #define  SWIGTYPE_p_wxIconBundle swig_types[27]  
 239 #define  SWIGTYPE_p_wxPoint swig_types[28]  
 240 #define  SWIGTYPE_p_wxDash swig_types[29]  
 241 #define  SWIGTYPE_p_wxScreenDC swig_types[30]  
 242 #define  SWIGTYPE_p_wxCursor swig_types[31]  
 243 #define  SWIGTYPE_p_wxClientDC swig_types[32]  
 244 #define  SWIGTYPE_p_wxBufferedDC swig_types[33]  
 245 #define  SWIGTYPE_p_wxImageList swig_types[34]  
 246 #define  SWIGTYPE_p_unsigned_char swig_types[35]  
 247 #define  SWIGTYPE_p_wxGDIObject swig_types[36]  
 248 #define  SWIGTYPE_p_wxIcon swig_types[37]  
 249 #define  SWIGTYPE_p_wxLocale swig_types[38]  
 250 #define  SWIGTYPE_p_wxRegion swig_types[39]  
 251 #define  SWIGTYPE_p_wxLanguageInfo swig_types[40]  
 252 #define  SWIGTYPE_p_wxConfigBase swig_types[41]  
 253 #define  SWIGTYPE_p_wxWindowDC swig_types[42]  
 254 #define  SWIGTYPE_p_wxPrintData swig_types[43]  
 255 #define  SWIGTYPE_p_wxBrushList swig_types[44]  
 256 #define  SWIGTYPE_p_wxFontList swig_types[45]  
 257 #define  SWIGTYPE_p_wxPen swig_types[46]  
 258 #define  SWIGTYPE_p_wxBufferedPaintDC swig_types[47]  
 259 #define  SWIGTYPE_p_wxPaintDC swig_types[48]  
 260 #define  SWIGTYPE_p_wxPenList swig_types[49]  
 261 #define  SWIGTYPE_p_int swig_types[50]  
 262 #define  SWIGTYPE_p_wxMetaFile swig_types[51]  
 263 #define  SWIGTYPE_p_wxNativeFontInfo swig_types[52]  
 264 #define  SWIGTYPE_p_wxEncodingConverter swig_types[53]  
 265 #define  SWIGTYPE_p_wxColourDatabase swig_types[54]  
 266 static swig_type_info 
*swig_types
[56]; 
 268 /* -------- TYPES TABLE (END) -------- */ 
 271 /*----------------------------------------------- 
 273   ------------------------------------------------*/ 
 274 #define SWIG_init    init_gdi_ 
 276 #define SWIG_name    "_gdi_" 
 278 /* Auxiliar swig  macros that appear in the header */ 
 280 #define SWIG_OLDOBJ  1 
 281 #define SWIG_NEWOBJ  SWIG_OLDOBJ + 1 
 282 #define SWIG_PYSTR   SWIG_NEWOBJ + 1 
 285 #define SWIGSTATICINLINE(a) static inline a 
 286 #define SWIGSTATIC(a) static a 
 287 #define swig_new_array(size,Type) (new Type[(size)]) 
 288 #define swig_delete(cptr) delete cptr 
 289 #define swig_delete_array(cptr) delete[] cptr 
 290 #define swig_const_cast(a,Type) const_cast<Type >(a) 
 291 #define swig_static_cast(a,Type) static_cast<Type >(a) 
 292 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a) 
 293 #define swig_new_copy(ptr,Type) (new Type(*ptr)) 
 294 #define swig_numeric_cast(a,Type) static_cast<Type >(a) 
 298 #define SWIGSTATICINLINE(a) static a 
 299 #define SWIGSTATIC(a) static a 
 300 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type))) 
 301 #define swig_delete(cptr) free((char*)cptr) 
 302 #define swig_delete_array(cptr) free((char*)cptr) 
 303 #define swig_const_cast(a,Type) (Type)(a) 
 304 #define swig_static_cast(a,Type) (Type)(a) 
 305 #define swig_reinterpret_cast(a,Type) (Type)(a) 
 306 #define swig_numeric_cast(a,Type) (Type)(a) 
 307 #define swig_new_copy(ptr,Type)  ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type))) 
 309 #endif /* __cplusplus */ 
 312 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 313 #define SWIG_From_signed_SS_char PyInt_FromLong 
 315 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 316 #define SWIG_From_unsigned_SS_char PyInt_FromLong 
 318 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 319 #define SWIG_From_short PyInt_FromLong 
 321 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 322 #define SWIG_From_unsigned_SS_short PyInt_FromLong 
 324 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 325 #define SWIG_From_int PyInt_FromLong 
 327 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 328 #define SWIG_From_long PyInt_FromLong 
 330 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 331 #define SWIG_From_float PyFloat_FromDouble 
 333 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 334 #define SWIG_From_double PyFloat_FromDouble 
 338 #include "wx/wxPython/wxPython.h" 
 339 #include "wx/wxPython/pyclasses.h" 
 342  static const wxString 
wxPyEmptyString(wxEmptyString
);  
 347 SWIGSTATICINLINE(int) 
 348   SWIG_CheckLongInRange(long value
, long min_value
, long max_value
, 
 351   if (value 
< min_value
) { 
 353       PyErr_Format(PyExc_OverflowError
,  
 354                    "value %ld is less than '%s' minimum %ld",  
 355                    value
, errmsg
, min_value
); 
 358   } else if (value 
> max_value
) { 
 360       PyErr_Format(PyExc_OverflowError
, 
 361                    "value %ld is greater than '%s' maximum %ld",  
 362                    value
, errmsg
, max_value
); 
 370 // See my_fragments.i 
 371 SWIGSTATICINLINE(int) 
 372 SWIG_AsVal_long(PyObject
* obj
, long* val
) 
 374     if (PyNumber_Check(obj
)) { 
 375         if (val
) *val 
= PyInt_AsLong(obj
); 
 379         PyObject
* errmsg 
= PyString_FromFormat("Expected number, got %s", 
 380                                                obj
->ob_type
->tp_name
); 
 381         PyErr_SetObject(PyExc_TypeError
, errmsg
); 
 388 #if INT_MAX != LONG_MAX 
 389 SWIGSTATICINLINE(int) 
 390   SWIG_AsVal_int(PyObject 
*obj
, int *val
) 
 392   const char* errmsg 
= val 
? "int" : 0; 
 394   if (SWIG_AsVal_long(obj
, &v
)) { 
 395     if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) { 
 396       if (val
) *val 
= swig_numeric_cast(v
, int); 
 405     PyErr_SetString(PyExc_TypeError
, "an int is expected"); 
 410 SWIGSTATICINLINE(int) 
 411   SWIG_AsVal_int(PyObject 
*obj
, int *val
) 
 413   return SWIG_AsVal_long(obj
,(long*)val
); 
 418 SWIGSTATICINLINE(int) 
 419   SWIG_AsVal_bool(PyObject 
*obj
, bool *val
) 
 421   /*  if (val) *val = PyObject_IsTrue(obj); return 1; */ 
 422   if (obj 
== Py_True
) { 
 423     if (val
) *val 
= true; 
 426   if (obj 
== Py_False
) { 
 427     if (val
) *val 
= false; 
 431   if (SWIG_AsVal_int(obj
, &res
)) {     
 432     if (val
) *val 
= (bool)res
; 
 436     PyErr_SetString(PyExc_TypeError
, "a bool is expected"); 
 442 SWIGSTATICINLINE(bool) 
 443 SWIG_As_bool(PyObject
* obj
) 
 446   if (!SWIG_AsVal_bool(obj
, &v
)) { 
 448       this is needed to make valgrind/purify happier.  the other 
 449       solution is throw an exception, but since this code should work 
 452     memset((void*)&v
, 0, sizeof(bool)); 
 458 SWIGSTATICINLINE(int) 
 459 SWIG_Check_bool(PyObject
* obj
) 
 461   return SWIG_AsVal_bool(obj
, (bool*)0); 
 465 // See my_fragments.i 
 466 SWIGSTATICINLINE(int) 
 467 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
) 
 470     if (SWIG_AsVal_long(obj
, &v
) && v 
< 0) { 
 471         PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type"); 
 475         *val 
= (unsigned long)v
; 
 480 SWIGSTATICINLINE(int) 
 481   SWIG_CheckUnsignedLongInRange(unsigned long value
, 
 482                                 unsigned long max_value
, 
 485   if (value 
> max_value
) { 
 487       PyErr_Format(PyExc_OverflowError
, 
 488                    "value %ld is greater than '%s' minimum %ld", 
 489                    value
, errmsg
, max_value
); 
 497 SWIGSTATICINLINE(int) 
 498   SWIG_AsVal_unsigned_SS_char(PyObject 
*obj
, unsigned char *val
) 
 500   const char* errmsg 
= val 
? "unsigned char" : 0; 
 502   if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) { 
 503     if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) { 
 504       if (val
) *val 
= swig_numeric_cast(v
, unsigned char); 
 513     PyErr_SetString(PyExc_TypeError
, "an unsigned char is expected"); 
 519 SWIGSTATICINLINE(unsigned char) 
 520 SWIG_As_unsigned_SS_char(PyObject
* obj
) 
 523   if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) { 
 525       this is needed to make valgrind/purify happier.  the other 
 526       solution is throw an exception, but since this code should work 
 529     memset((void*)&v
, 0, sizeof(unsigned char)); 
 535 SWIGSTATICINLINE(int) 
 536 SWIG_Check_unsigned_SS_char(PyObject
* obj
) 
 538   return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0); 
 542 SWIGSTATICINLINE(unsigned long) 
 543 SWIG_As_unsigned_SS_long(PyObject
* obj
) 
 546   if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) { 
 548       this is needed to make valgrind/purify happier.  the other 
 549       solution is throw an exception, but since this code should work 
 552     memset((void*)&v
, 0, sizeof(unsigned long)); 
 558 SWIGSTATICINLINE(int) 
 559 SWIG_Check_unsigned_SS_long(PyObject
* obj
) 
 561   return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0); 
 564 PyObject 
*wxColour_Get(wxColour 
*self
){ 
 565             PyObject
* rv 
= PyTuple_New(3); 
 571                 green 
= self
->Green(); 
 574             PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
)); 
 575             PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
)); 
 576             PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
)); 
 579 unsigned long wxColour_GetRGB(wxColour 
*self
){ 
 580             return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16); 
 583 SWIGSTATICINLINE(PyObject
* ) 
 584   SWIG_From_unsigned_SS_long(unsigned long value
) 
 586   return (value 
> LONG_MAX
) ? 
 587     PyLong_FromUnsignedLong(value
)  
 588     : PyInt_FromLong(swig_numeric_cast(value
,long));  
 592 SWIGSTATICINLINE(int) 
 593 SWIG_As_int(PyObject
* obj
) 
 596   if (!SWIG_AsVal_int(obj
, &v
)) { 
 598       this is needed to make valgrind/purify happier.  the other 
 599       solution is throw an exception, but since this code should work 
 602     memset((void*)&v
, 0, sizeof(int)); 
 608 SWIGSTATICINLINE(int) 
 609 SWIG_Check_int(PyObject
* obj
) 
 611   return SWIG_AsVal_int(obj
, (int*)0); 
 615   static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) { 
 621     } else if (target 
== Py_None
) {   
 625         if (!PyTuple_Check(target
)) { 
 627             target 
= PyTuple_New(1); 
 628             PyTuple_SetItem(target
, 0, o2
); 
 631         PyTuple_SetItem(o3
, 0, o
);       
 634         target 
= PySequence_Concat(o2
, o3
);  
 642 PyObject 
*wxPen_GetDashes(wxPen 
*self
){ 
 644             int count 
= self
->GetDashes(&dashes
); 
 645             bool blocked 
= wxPyBeginBlockThreads(); 
 646             PyObject
* retval 
= PyList_New(0); 
 647             for (int x
=0; x
<count
; x
++) { 
 648                 PyObject
* pyint 
= PyInt_FromLong(dashes
[x
]); 
 649                 PyList_Append(retval
, pyint
); 
 652             wxPyEndBlockThreads(blocked
); 
 655 void wxPen__SetDashes(wxPen 
*self
,PyObject 
*_self
,PyObject 
*pyDashes
){ 
 656             bool blocked 
= wxPyBeginBlockThreads(); 
 657             int size 
= PyList_Size(pyDashes
); 
 658             wxDash
* dashes 
= (wxDash
*)byte_LIST_helper(pyDashes
); 
 660             // black magic warning!  The array of wxDashes needs to exist as 
 661             // long as the pen does because wxPen does not copy the array.  So 
 662             // stick a copy in a Python string object and attach it to _self, 
 663             // and then call SetDashes with a pointer to that array.  Then 
 664             // when the Python pen object is destroyed the array will be 
 666             PyObject
* strDashes 
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
)); 
 667             PyObject_SetAttrString(_self
, "_dashes", strDashes
); 
 669             self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
)); 
 671             Py_DECREF(strDashes
); 
 672             wxPyEndBlockThreads(blocked
); 
 674 bool wxPen___eq__(wxPen 
*self
,wxPen 
const *other
){ return other 
? (*self 
== *other
) : False
; } 
 675 bool wxPen___ne__(wxPen 
*self
,wxPen 
const *other
){ return other 
? (*self 
!= *other
) : True
;  } 
 677 #include <wx/image.h> 
 679     static char** ConvertListOfStrings(PyObject
* listOfStrings
) { 
 680         char**    cArray 
= NULL
; 
 683         if (!PyList_Check(listOfStrings
)) { 
 684             PyErr_SetString(PyExc_TypeError
, "Expected a list of strings."); 
 687         count 
= PyList_Size(listOfStrings
); 
 688         cArray 
= new char*[count
]; 
 690         for(int x
=0; x
<count
; x
++) { 
 691             // TODO: Need some validation and error checking here 
 692             cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
)); 
 698 wxBitmap 
*new_wxBitmap(PyObject 
*listOfStrings
){ 
 699             char**    cArray 
= NULL
; 
 702             cArray 
= ConvertListOfStrings(listOfStrings
); 
 705             bmp 
= new wxBitmap(cArray
); 
 709 wxBitmap 
*new_wxBitmap(PyObject 
*bits
,int width
,int height
,int depth
){ 
 712             PyString_AsStringAndSize(bits
, &buf
, &length
); 
 713             return new wxBitmap(buf
, width
, height
, depth
); 
 716 SWIGSTATICINLINE(long) 
 717 SWIG_As_long(PyObject
* obj
) 
 720   if (!SWIG_AsVal_long(obj
, &v
)) { 
 722       this is needed to make valgrind/purify happier.  the other 
 723       solution is throw an exception, but since this code should work 
 726     memset((void*)&v
, 0, sizeof(long)); 
 732 SWIGSTATICINLINE(int) 
 733 SWIG_Check_long(PyObject
* obj
) 
 735   return SWIG_AsVal_long(obj
, (long*)0); 
 738 void wxBitmap_SetHandle(wxBitmap 
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); } 
 739 wxSize 
wxBitmap_GetSize(wxBitmap 
*self
){ 
 740             wxSize 
size(self
->GetWidth(), self
->GetHeight()); 
 743 void wxBitmap_SetMaskColour(wxBitmap 
*self
,wxColour 
const &colour
){ 
 744             wxMask 
*mask 
= new wxMask(*self
, colour
); 
 747 void wxBitmap_SetSize(wxBitmap 
*self
,wxSize 
const &size
){ 
 748             self
->SetWidth(size
.x
); 
 749             self
->SetHeight(size
.y
); 
 751 bool wxBitmap___eq__(wxBitmap 
*self
,wxBitmap 
const *other
){ return other 
? (*self 
== *other
) : False
; } 
 752 bool wxBitmap___ne__(wxBitmap 
*self
,wxBitmap 
const *other
){ return other 
? (*self 
!= *other
) : True
;  } 
 753 wxMask 
*new_wxMask(wxBitmap 
const &bitmap
,wxColour 
const &colour
){ 
 755                 return new wxMask(bitmap
, *wxBLACK
); 
 757                 return new wxMask(bitmap
, colour
); 
 760 #include <wx/iconbndl.h> 
 762 wxIcon 
*new_wxIcon(wxBitmap 
const &bmp
){ 
 763             wxIcon
* icon 
= new wxIcon(); 
 764             icon
->CopyFromBitmap(bmp
); 
 767 wxIcon 
*new_wxIcon(PyObject 
*listOfStrings
){ 
 768             char**  cArray 
= NULL
; 
 771             cArray 
= ConvertListOfStrings(listOfStrings
); 
 774             icon 
= new wxIcon(cArray
); 
 778 void wxIcon_SetHandle(wxIcon 
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); } 
 779 wxIconLocation 
*new_wxIconLocation(wxString 
const *filename
,int num
){ 
 781             return new wxIconLocation(*filename
, num
); 
 786 void wxIconLocation_SetIndex(wxIconLocation 
*self
,int num
){ 
 793 int wxIconLocation_GetIndex(wxIconLocation 
*self
){ 
 795             return self
->GetIndex(); 
 800 wxCursor 
*new_wxCursor(wxString 
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){ 
 802             wxCHECK_MSG(False
, NULL
, 
 803                         wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead.")); 
 805             return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
); 
 808 void wxCursor_SetHandle(wxCursor 
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); } 
 811 void wxRegionIterator_Next(wxRegionIterator 
*self
){ 
 814 bool wxRegionIterator___nonzero__(wxRegionIterator 
*self
){ 
 815             return self
->operator bool(); 
 818 #include <wx/fontutil.h> 
 819 #include <wx/fontmap.h> 
 820 #include <wx/fontenum.h> 
 822 wxString 
wxNativeFontInfo___str__(wxNativeFontInfo 
*self
){ 
 823             return self
->ToString(); 
 826     wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) 
 827         { wxPyRaiseNotImplemented(); return NULL
; } 
 829     bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
) 
 830         { wxPyRaiseNotImplemented(); return False
; } 
 832 PyObject 
*wxFontMapper_GetAltForEncoding(wxFontMapper 
*self
,wxFontEncoding encoding
,wxString 
const &facename
,bool interactive
){ 
 833             wxFontEncoding alt_enc
; 
 834             if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
)) 
 835                 return PyInt_FromLong(alt_enc
); 
 841 wxFont 
*new_wxFont(wxString 
const &info
){ 
 842             wxNativeFontInfo nfi
; 
 843             nfi
.FromString(info
); 
 844             return new wxFont(nfi
); 
 846 wxFont 
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString 
const &face
,wxFontEncoding encoding
){ 
 847             return wxFont::New(pointSize
, family
, flags
, face
, encoding
); 
 849 bool wxFont___eq__(wxFont 
*self
,wxFont 
const *other
){ return other 
? (*self 
== *other
) : False
; } 
 850 bool wxFont___ne__(wxFont 
*self
,wxFont 
const *other
){ return other 
? (*self 
!= *other
) : True
;  } 
 852 class wxPyFontEnumerator 
: public wxFontEnumerator 
{ 
 854     wxPyFontEnumerator() {} 
 855     ~wxPyFontEnumerator() {} 
 857     DEC_PYCALLBACK_BOOL_STRING(OnFacename
); 
 858     DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
); 
 863 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
); 
 864 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
); 
 867 PyObject 
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator 
*self
){ 
 868             wxArrayString
* arr 
= self
->GetEncodings(); 
 870                 return wxArrayString2PyList_helper(*arr
); 
 872                 return PyList_New(0); 
 874 PyObject 
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator 
*self
){ 
 875             wxArrayString
* arr 
= self
->GetFacenames(); 
 877                 return wxArrayString2PyList_helper(*arr
); 
 879                 return PyList_New(0); 
 883 wxLocale 
*new_wxLocale(int language
,int flags
){ 
 885                 return new wxLocale(); 
 887                 return new wxLocale(language
, flags
); 
 890 #include "wx/wxPython/pydrawxxx.h" 
 892 wxColour 
wxDC_GetPixel(wxDC 
*self
,int x
,int y
){ 
 894             self
->GetPixel(x
, y
, &col
); 
 897 wxColour 
wxDC_GetPixelPoint(wxDC 
*self
,wxPoint 
const &pt
){ 
 899             self
->GetPixel(pt
, &col
); 
 903 // See my_fragments.i 
 904 SWIGSTATICINLINE(int) 
 905 SWIG_AsVal_double(PyObject 
*obj
, double* val
) 
 907     if (PyNumber_Check(obj
)) { 
 908         if (val
) *val 
= PyFloat_AsDouble(obj
); 
 912         PyObject
* errmsg 
= PyString_FromFormat("Expected number, got %s", 
 913                                                obj
->ob_type
->tp_name
); 
 914         PyErr_SetObject(PyExc_TypeError
, errmsg
); 
 921 SWIGSTATICINLINE(double) 
 922 SWIG_As_double(PyObject
* obj
) 
 925   if (!SWIG_AsVal_double(obj
, &v
)) { 
 927       this is needed to make valgrind/purify happier.  the other 
 928       solution is throw an exception, but since this code should work 
 931     memset((void*)&v
, 0, sizeof(double)); 
 937 SWIGSTATICINLINE(int) 
 938 SWIG_Check_double(PyObject
* obj
) 
 940   return SWIG_AsVal_double(obj
, (double*)0); 
 943 wxRect 
wxDC_DrawImageLabel(wxDC 
*self
,wxString 
const &text
,wxBitmap 
const &image
,wxRect 
const &rect
,int alignment
,int indexAccel
){ 
 945             self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
); 
 949 wxRect 
wxDC_GetClippingRect(wxDC 
*self
){ 
 951             self
->GetClippingBox(rect
); 
 954 wxArrayInt 
wxDC_GetPartialTextExtents(wxDC 
*self
,wxString 
const &text
){ 
 956             self
->GetPartialTextExtents(text
, widths
); 
 960 void wxDC_SetLogicalOriginPoint(wxDC 
*self
,wxPoint 
const &point
){ 
 961             self
->SetLogicalOrigin(point
.x
, point
.y
); 
 963 void wxDC_SetDeviceOriginPoint(wxDC 
*self
,wxPoint 
const &point
){ 
 964             self
->SetDeviceOrigin(point
.x
, point
.y
); 
 966 void wxDC_CalcBoundingBoxPoint(wxDC 
*self
,wxPoint 
const &point
){ 
 967             self
->CalcBoundingBox(point
.x
, point
.y
); 
 969 PyObject 
*wxDC__DrawPointList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
 970             return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
); 
 972 PyObject 
*wxDC__DrawLineList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
 973             return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
); 
 975 PyObject 
*wxDC__DrawRectangleList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
 976             return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
); 
 978 PyObject 
*wxDC__DrawEllipseList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
 979             return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
); 
 981 PyObject 
*wxDC__DrawPolygonList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
 982             return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
); 
 984 PyObject 
*wxDC__DrawTextList(wxDC 
*self
,PyObject 
*textList
,PyObject 
*pyPoints
,PyObject 
*foregroundList
,PyObject 
*backgroundList
){ 
 985             return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
); 
 988 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) { 
 996 #include <wx/dcbuffer.h> 
1002 #include <wx/metafile.h> 
1006 void wxColourDatabase_Append(wxColourDatabase 
*self
,wxString 
const &name
,int red
,int green
,int blue
){ 
1007             self
->AddColour(name
, wxColour(red
, green
, blue
)); 
1010 #include <wx/effects.h> 
1015 static PyObject 
*_wrap_new_GDIObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1016     PyObject 
*resultobj
; 
1017     wxGDIObject 
*result
; 
1022     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
; 
1024         if (!wxPyCheckForApp()) SWIG_fail
; 
1025         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1026         result 
= (wxGDIObject 
*)new wxGDIObject(); 
1028         wxPyEndAllowThreads(__tstate
); 
1029         if (PyErr_Occurred()) SWIG_fail
; 
1031     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1); 
1038 static PyObject 
*_wrap_delete_GDIObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1039     PyObject 
*resultobj
; 
1040     wxGDIObject 
*arg1 
= (wxGDIObject 
*) 0 ; 
1041     PyObject 
* obj0 
= 0 ; 
1043         (char *) "self", NULL 
 
1046     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
; 
1047     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
, 
1048     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1050         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1053         wxPyEndAllowThreads(__tstate
); 
1054         if (PyErr_Occurred()) SWIG_fail
; 
1056     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1063 static PyObject 
*_wrap_GDIObject_GetVisible(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1064     PyObject 
*resultobj
; 
1065     wxGDIObject 
*arg1 
= (wxGDIObject 
*) 0 ; 
1067     PyObject 
* obj0 
= 0 ; 
1069         (char *) "self", NULL 
 
1072     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
; 
1073     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
, 
1074     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1076         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1077         result 
= (bool)(arg1
)->GetVisible(); 
1079         wxPyEndAllowThreads(__tstate
); 
1080         if (PyErr_Occurred()) SWIG_fail
; 
1083         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1091 static PyObject 
*_wrap_GDIObject_SetVisible(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1092     PyObject 
*resultobj
; 
1093     wxGDIObject 
*arg1 
= (wxGDIObject 
*) 0 ; 
1095     PyObject 
* obj0 
= 0 ; 
1096     PyObject 
* obj1 
= 0 ; 
1098         (char *) "self",(char *) "visible", NULL 
 
1101     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
; 
1102     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
, 
1103     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1104     arg2 
= (bool)SWIG_As_bool(obj1
);  
1105     if (PyErr_Occurred()) SWIG_fail
; 
1107         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1108         (arg1
)->SetVisible(arg2
); 
1110         wxPyEndAllowThreads(__tstate
); 
1111         if (PyErr_Occurred()) SWIG_fail
; 
1113     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1120 static PyObject 
*_wrap_GDIObject_IsNull(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1121     PyObject 
*resultobj
; 
1122     wxGDIObject 
*arg1 
= (wxGDIObject 
*) 0 ; 
1124     PyObject 
* obj0 
= 0 ; 
1126         (char *) "self", NULL 
 
1129     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
; 
1130     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
, 
1131     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1133         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1134         result 
= (bool)(arg1
)->IsNull(); 
1136         wxPyEndAllowThreads(__tstate
); 
1137         if (PyErr_Occurred()) SWIG_fail
; 
1140         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1148 static PyObject 
* GDIObject_swigregister(PyObject 
*, PyObject 
*args
) { 
1150     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1151     SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
); 
1153     return Py_BuildValue((char *)""); 
1155 static PyObject 
*_wrap_new_Colour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1156     PyObject 
*resultobj
; 
1157     byte arg1 
= (byte
) 0 ; 
1158     byte arg2 
= (byte
) 0 ; 
1159     byte arg3 
= (byte
) 0 ; 
1161     PyObject 
* obj0 
= 0 ; 
1162     PyObject 
* obj1 
= 0 ; 
1163     PyObject 
* obj2 
= 0 ; 
1165         (char *) "red",(char *) "green",(char *) "blue", NULL 
 
1168     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
1170         arg1 
= (byte
)SWIG_As_unsigned_SS_char(obj0
);  
1171         if (PyErr_Occurred()) SWIG_fail
; 
1174         arg2 
= (byte
)SWIG_As_unsigned_SS_char(obj1
);  
1175         if (PyErr_Occurred()) SWIG_fail
; 
1178         arg3 
= (byte
)SWIG_As_unsigned_SS_char(obj2
);  
1179         if (PyErr_Occurred()) SWIG_fail
; 
1182         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1183         result 
= (wxColour 
*)new wxColour(arg1
,arg2
,arg3
); 
1185         wxPyEndAllowThreads(__tstate
); 
1186         if (PyErr_Occurred()) SWIG_fail
; 
1188     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1); 
1195 static PyObject 
*_wrap_new_NamedColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1196     PyObject 
*resultobj
; 
1197     wxString 
*arg1 
= 0 ; 
1199     bool temp1 
= False 
; 
1200     PyObject 
* obj0 
= 0 ; 
1202         (char *) "colorName", NULL 
 
1205     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
; 
1207         arg1 
= wxString_in_helper(obj0
); 
1208         if (arg1 
== NULL
) SWIG_fail
; 
1212         if (!wxPyCheckForApp()) SWIG_fail
; 
1213         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1214         result 
= (wxColour 
*)new wxColour((wxString 
const &)*arg1
); 
1216         wxPyEndAllowThreads(__tstate
); 
1217         if (PyErr_Occurred()) SWIG_fail
; 
1219     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1); 
1234 static PyObject 
*_wrap_new_ColourRGB(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1235     PyObject 
*resultobj
; 
1236     unsigned long arg1 
; 
1238     PyObject 
* obj0 
= 0 ; 
1240         (char *) "colRGB", NULL 
 
1243     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
; 
1244     arg1 
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);  
1245     if (PyErr_Occurred()) SWIG_fail
; 
1247         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1248         result 
= (wxColour 
*)new wxColour(arg1
); 
1250         wxPyEndAllowThreads(__tstate
); 
1251         if (PyErr_Occurred()) SWIG_fail
; 
1253     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1); 
1260 static PyObject 
*_wrap_delete_Colour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1261     PyObject 
*resultobj
; 
1262     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1263     PyObject 
* obj0 
= 0 ; 
1265         (char *) "self", NULL 
 
1268     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
; 
1269     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1270     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1272         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1275         wxPyEndAllowThreads(__tstate
); 
1276         if (PyErr_Occurred()) SWIG_fail
; 
1278     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1285 static PyObject 
*_wrap_Colour_Red(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1286     PyObject 
*resultobj
; 
1287     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1289     PyObject 
* obj0 
= 0 ; 
1291         (char *) "self", NULL 
 
1294     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
; 
1295     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1296     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1298         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1299         result 
= (byte
)(arg1
)->Red(); 
1301         wxPyEndAllowThreads(__tstate
); 
1302         if (PyErr_Occurred()) SWIG_fail
; 
1304     resultobj 
= SWIG_From_unsigned_SS_char((unsigned char)result
); 
1311 static PyObject 
*_wrap_Colour_Green(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1312     PyObject 
*resultobj
; 
1313     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1315     PyObject 
* obj0 
= 0 ; 
1317         (char *) "self", NULL 
 
1320     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
; 
1321     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1322     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1324         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1325         result 
= (byte
)(arg1
)->Green(); 
1327         wxPyEndAllowThreads(__tstate
); 
1328         if (PyErr_Occurred()) SWIG_fail
; 
1330     resultobj 
= SWIG_From_unsigned_SS_char((unsigned char)result
); 
1337 static PyObject 
*_wrap_Colour_Blue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1338     PyObject 
*resultobj
; 
1339     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1341     PyObject 
* obj0 
= 0 ; 
1343         (char *) "self", NULL 
 
1346     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
; 
1347     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1348     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1350         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1351         result 
= (byte
)(arg1
)->Blue(); 
1353         wxPyEndAllowThreads(__tstate
); 
1354         if (PyErr_Occurred()) SWIG_fail
; 
1356     resultobj 
= SWIG_From_unsigned_SS_char((unsigned char)result
); 
1363 static PyObject 
*_wrap_Colour_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1364     PyObject 
*resultobj
; 
1365     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1367     PyObject 
* obj0 
= 0 ; 
1369         (char *) "self", NULL 
 
1372     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
; 
1373     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1374     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1376         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1377         result 
= (bool)(arg1
)->Ok(); 
1379         wxPyEndAllowThreads(__tstate
); 
1380         if (PyErr_Occurred()) SWIG_fail
; 
1383         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1391 static PyObject 
*_wrap_Colour_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1392     PyObject 
*resultobj
; 
1393     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1397     PyObject 
* obj0 
= 0 ; 
1398     PyObject 
* obj1 
= 0 ; 
1399     PyObject 
* obj2 
= 0 ; 
1400     PyObject 
* obj3 
= 0 ; 
1402         (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
1405     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
1406     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1407     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1408     arg2 
= (byte
)SWIG_As_unsigned_SS_char(obj1
);  
1409     if (PyErr_Occurred()) SWIG_fail
; 
1410     arg3 
= (byte
)SWIG_As_unsigned_SS_char(obj2
);  
1411     if (PyErr_Occurred()) SWIG_fail
; 
1412     arg4 
= (byte
)SWIG_As_unsigned_SS_char(obj3
);  
1413     if (PyErr_Occurred()) SWIG_fail
; 
1415         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1416         (arg1
)->Set(arg2
,arg3
,arg4
); 
1418         wxPyEndAllowThreads(__tstate
); 
1419         if (PyErr_Occurred()) SWIG_fail
; 
1421     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1428 static PyObject 
*_wrap_Colour_SetRGB(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1429     PyObject 
*resultobj
; 
1430     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1431     unsigned long arg2 
; 
1432     PyObject 
* obj0 
= 0 ; 
1433     PyObject 
* obj1 
= 0 ; 
1435         (char *) "self",(char *) "colRGB", NULL 
 
1438     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
; 
1439     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1440     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1441     arg2 
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);  
1442     if (PyErr_Occurred()) SWIG_fail
; 
1444         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1447         wxPyEndAllowThreads(__tstate
); 
1448         if (PyErr_Occurred()) SWIG_fail
; 
1450     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1457 static PyObject 
*_wrap_Colour_SetFromName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1458     PyObject 
*resultobj
; 
1459     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1460     wxString 
*arg2 
= 0 ; 
1461     bool temp2 
= False 
; 
1462     PyObject 
* obj0 
= 0 ; 
1463     PyObject 
* obj1 
= 0 ; 
1465         (char *) "self",(char *) "colourName", NULL 
 
1468     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
; 
1469     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1470     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1472         arg2 
= wxString_in_helper(obj1
); 
1473         if (arg2 
== NULL
) SWIG_fail
; 
1477         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1478         (arg1
)->InitFromName((wxString 
const &)*arg2
); 
1480         wxPyEndAllowThreads(__tstate
); 
1481         if (PyErr_Occurred()) SWIG_fail
; 
1483     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1498 static PyObject 
*_wrap_Colour_GetPixel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1499     PyObject 
*resultobj
; 
1500     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1502     PyObject 
* obj0 
= 0 ; 
1504         (char *) "self", NULL 
 
1507     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
; 
1508     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1509     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1511         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1512         result 
= (long)((wxColour 
const *)arg1
)->GetPixel(); 
1514         wxPyEndAllowThreads(__tstate
); 
1515         if (PyErr_Occurred()) SWIG_fail
; 
1517     resultobj 
= SWIG_From_long((long)result
); 
1524 static PyObject 
*_wrap_Colour___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1525     PyObject 
*resultobj
; 
1526     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1527     wxColour 
*arg2 
= 0 ; 
1530     PyObject 
* obj0 
= 0 ; 
1531     PyObject 
* obj1 
= 0 ; 
1533         (char *) "self",(char *) "colour", NULL 
 
1536     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
1537     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1538     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1541         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
1544         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1545         result 
= (bool)((wxColour 
const *)arg1
)->operator ==((wxColour 
const &)*arg2
); 
1547         wxPyEndAllowThreads(__tstate
); 
1548         if (PyErr_Occurred()) SWIG_fail
; 
1551         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1559 static PyObject 
*_wrap_Colour___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1560     PyObject 
*resultobj
; 
1561     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1562     wxColour 
*arg2 
= 0 ; 
1565     PyObject 
* obj0 
= 0 ; 
1566     PyObject 
* obj1 
= 0 ; 
1568         (char *) "self",(char *) "colour", NULL 
 
1571     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
1572     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1573     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1576         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
1579         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1580         result 
= (bool)((wxColour 
const *)arg1
)->operator !=((wxColour 
const &)*arg2
); 
1582         wxPyEndAllowThreads(__tstate
); 
1583         if (PyErr_Occurred()) SWIG_fail
; 
1586         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1594 static PyObject 
*_wrap_Colour_Get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1595     PyObject 
*resultobj
; 
1596     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1598     PyObject 
* obj0 
= 0 ; 
1600         (char *) "self", NULL 
 
1603     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
; 
1604     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1605     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1607         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1608         result 
= (PyObject 
*)wxColour_Get(arg1
); 
1610         wxPyEndAllowThreads(__tstate
); 
1611         if (PyErr_Occurred()) SWIG_fail
; 
1620 static PyObject 
*_wrap_Colour_GetRGB(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1621     PyObject 
*resultobj
; 
1622     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1623     unsigned long result
; 
1624     PyObject 
* obj0 
= 0 ; 
1626         (char *) "self", NULL 
 
1629     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
; 
1630     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1631     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1633         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1634         result 
= (unsigned long)wxColour_GetRGB(arg1
); 
1636         wxPyEndAllowThreads(__tstate
); 
1637         if (PyErr_Occurred()) SWIG_fail
; 
1639     resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)result
); 
1646 static PyObject 
* Colour_swigregister(PyObject 
*, PyObject 
*args
) { 
1648     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1649     SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
); 
1651     return Py_BuildValue((char *)""); 
1653 static PyObject 
*_wrap_new_Palette(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1654     PyObject 
*resultobj
; 
1656     unsigned char *arg2 
= (unsigned char *) 0 ; 
1657     unsigned char *arg3 
= (unsigned char *) 0 ; 
1658     unsigned char *arg4 
= (unsigned char *) 0 ; 
1660     PyObject 
* obj0 
= 0 ; 
1661     PyObject 
* obj1 
= 0 ; 
1662     PyObject 
* obj2 
= 0 ; 
1663     PyObject 
* obj3 
= 0 ; 
1665         (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
1668     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
1669     arg1 
= (int)SWIG_As_int(obj0
);  
1670     if (PyErr_Occurred()) SWIG_fail
; 
1671     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
, 
1672     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1673     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
, 
1674     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1675     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
, 
1676     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1678         if (!wxPyCheckForApp()) SWIG_fail
; 
1679         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1680         result 
= (wxPalette 
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
); 
1682         wxPyEndAllowThreads(__tstate
); 
1683         if (PyErr_Occurred()) SWIG_fail
; 
1685     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1); 
1692 static PyObject 
*_wrap_delete_Palette(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1693     PyObject 
*resultobj
; 
1694     wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
1695     PyObject 
* obj0 
= 0 ; 
1697         (char *) "self", NULL 
 
1700     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
; 
1701     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
, 
1702     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1704         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1707         wxPyEndAllowThreads(__tstate
); 
1708         if (PyErr_Occurred()) SWIG_fail
; 
1710     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1717 static PyObject 
*_wrap_Palette_GetPixel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1718     PyObject 
*resultobj
; 
1719     wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
1724     PyObject 
* obj0 
= 0 ; 
1725     PyObject 
* obj1 
= 0 ; 
1726     PyObject 
* obj2 
= 0 ; 
1727     PyObject 
* obj3 
= 0 ; 
1729         (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
1732     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
1733     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
, 
1734     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1735     arg2 
= (byte
)SWIG_As_unsigned_SS_char(obj1
);  
1736     if (PyErr_Occurred()) SWIG_fail
; 
1737     arg3 
= (byte
)SWIG_As_unsigned_SS_char(obj2
);  
1738     if (PyErr_Occurred()) SWIG_fail
; 
1739     arg4 
= (byte
)SWIG_As_unsigned_SS_char(obj3
);  
1740     if (PyErr_Occurred()) SWIG_fail
; 
1742         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1743         result 
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
); 
1745         wxPyEndAllowThreads(__tstate
); 
1746         if (PyErr_Occurred()) SWIG_fail
; 
1748     resultobj 
= SWIG_From_int((int)result
); 
1755 static PyObject 
*_wrap_Palette_GetRGB(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1756     PyObject 
*resultobj
; 
1757     wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
1759     byte 
*arg3 
= (byte 
*) 0 ; 
1760     byte 
*arg4 
= (byte 
*) 0 ; 
1761     byte 
*arg5 
= (byte 
*) 0 ; 
1769     PyObject 
* obj0 
= 0 ; 
1770     PyObject 
* obj1 
= 0 ; 
1772         (char *) "self",(char *) "pixel", NULL 
 
1775     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
1776     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
1777     arg5 
= &temp5
; res5 
= SWIG_NEWOBJ
; 
1778     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
; 
1779     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
, 
1780     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1781     arg2 
= (int)SWIG_As_int(obj1
);  
1782     if (PyErr_Occurred()) SWIG_fail
; 
1784         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1785         result 
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
); 
1787         wxPyEndAllowThreads(__tstate
); 
1788         if (PyErr_Occurred()) SWIG_fail
; 
1791         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1793     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
1794     SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0))); 
1795     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
1796     SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0))); 
1797     resultobj 
= t_output_helper(resultobj
, ((res5 
== SWIG_NEWOBJ
) ? 
1798     SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_byte
, 0))); 
1805 static PyObject 
*_wrap_Palette_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1806     PyObject 
*resultobj
; 
1807     wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
1809     PyObject 
* obj0 
= 0 ; 
1811         (char *) "self", NULL 
 
1814     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
; 
1815     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
, 
1816     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1818         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1819         result 
= (bool)(arg1
)->Ok(); 
1821         wxPyEndAllowThreads(__tstate
); 
1822         if (PyErr_Occurred()) SWIG_fail
; 
1825         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1833 static PyObject 
* Palette_swigregister(PyObject 
*, PyObject 
*args
) { 
1835     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1836     SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
); 
1838     return Py_BuildValue((char *)""); 
1840 static PyObject 
*_wrap_new_Pen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1841     PyObject 
*resultobj
; 
1842     wxColour 
*arg1 
= 0 ; 
1843     int arg2 
= (int) 1 ; 
1844     int arg3 
= (int) wxSOLID 
; 
1847     PyObject 
* obj0 
= 0 ; 
1848     PyObject 
* obj1 
= 0 ; 
1849     PyObject 
* obj2 
= 0 ; 
1851         (char *) "colour",(char *) "width",(char *) "style", NULL 
 
1854     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
1857         if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
; 
1860         arg2 
= (int)SWIG_As_int(obj1
);  
1861         if (PyErr_Occurred()) SWIG_fail
; 
1864         arg3 
= (int)SWIG_As_int(obj2
);  
1865         if (PyErr_Occurred()) SWIG_fail
; 
1868         if (!wxPyCheckForApp()) SWIG_fail
; 
1869         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1870         result 
= (wxPen 
*)new wxPen(*arg1
,arg2
,arg3
); 
1872         wxPyEndAllowThreads(__tstate
); 
1873         if (PyErr_Occurred()) SWIG_fail
; 
1875     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1); 
1882 static PyObject 
*_wrap_delete_Pen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1883     PyObject 
*resultobj
; 
1884     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
1885     PyObject 
* obj0 
= 0 ; 
1887         (char *) "self", NULL 
 
1890     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
; 
1891     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
1892     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1894         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1897         wxPyEndAllowThreads(__tstate
); 
1898         if (PyErr_Occurred()) SWIG_fail
; 
1900     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1907 static PyObject 
*_wrap_Pen_GetCap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1908     PyObject 
*resultobj
; 
1909     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
1911     PyObject 
* obj0 
= 0 ; 
1913         (char *) "self", NULL 
 
1916     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
; 
1917     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
1918     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1920         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1921         result 
= (int)(arg1
)->GetCap(); 
1923         wxPyEndAllowThreads(__tstate
); 
1924         if (PyErr_Occurred()) SWIG_fail
; 
1926     resultobj 
= SWIG_From_int((int)result
); 
1933 static PyObject 
*_wrap_Pen_GetColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1934     PyObject 
*resultobj
; 
1935     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
1937     PyObject 
* obj0 
= 0 ; 
1939         (char *) "self", NULL 
 
1942     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
; 
1943     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
1944     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1946         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1947         result 
= (arg1
)->GetColour(); 
1949         wxPyEndAllowThreads(__tstate
); 
1950         if (PyErr_Occurred()) SWIG_fail
; 
1953         wxColour 
* resultptr
; 
1954         resultptr 
= new wxColour((wxColour 
&) result
); 
1955         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
1963 static PyObject 
*_wrap_Pen_GetJoin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1964     PyObject 
*resultobj
; 
1965     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
1967     PyObject 
* obj0 
= 0 ; 
1969         (char *) "self", NULL 
 
1972     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
; 
1973     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
1974     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1976         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1977         result 
= (int)(arg1
)->GetJoin(); 
1979         wxPyEndAllowThreads(__tstate
); 
1980         if (PyErr_Occurred()) SWIG_fail
; 
1982     resultobj 
= SWIG_From_int((int)result
); 
1989 static PyObject 
*_wrap_Pen_GetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1990     PyObject 
*resultobj
; 
1991     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
1993     PyObject 
* obj0 
= 0 ; 
1995         (char *) "self", NULL 
 
1998     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
; 
1999     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2000     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2002         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2003         result 
= (int)(arg1
)->GetStyle(); 
2005         wxPyEndAllowThreads(__tstate
); 
2006         if (PyErr_Occurred()) SWIG_fail
; 
2008     resultobj 
= SWIG_From_int((int)result
); 
2015 static PyObject 
*_wrap_Pen_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2016     PyObject 
*resultobj
; 
2017     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2019     PyObject 
* obj0 
= 0 ; 
2021         (char *) "self", NULL 
 
2024     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
; 
2025     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2026     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2028         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2029         result 
= (int)(arg1
)->GetWidth(); 
2031         wxPyEndAllowThreads(__tstate
); 
2032         if (PyErr_Occurred()) SWIG_fail
; 
2034     resultobj 
= SWIG_From_int((int)result
); 
2041 static PyObject 
*_wrap_Pen_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2042     PyObject 
*resultobj
; 
2043     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2045     PyObject 
* obj0 
= 0 ; 
2047         (char *) "self", NULL 
 
2050     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
; 
2051     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2052     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2054         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2055         result 
= (bool)(arg1
)->Ok(); 
2057         wxPyEndAllowThreads(__tstate
); 
2058         if (PyErr_Occurred()) SWIG_fail
; 
2061         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2069 static PyObject 
*_wrap_Pen_SetCap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2070     PyObject 
*resultobj
; 
2071     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2073     PyObject 
* obj0 
= 0 ; 
2074     PyObject 
* obj1 
= 0 ; 
2076         (char *) "self",(char *) "cap_style", NULL 
 
2079     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
; 
2080     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2081     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2082     arg2 
= (int)SWIG_As_int(obj1
);  
2083     if (PyErr_Occurred()) SWIG_fail
; 
2085         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2086         (arg1
)->SetCap(arg2
); 
2088         wxPyEndAllowThreads(__tstate
); 
2089         if (PyErr_Occurred()) SWIG_fail
; 
2091     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2098 static PyObject 
*_wrap_Pen_SetColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2099     PyObject 
*resultobj
; 
2100     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2101     wxColour 
*arg2 
= 0 ; 
2103     PyObject 
* obj0 
= 0 ; 
2104     PyObject 
* obj1 
= 0 ; 
2106         (char *) "self",(char *) "colour", NULL 
 
2109     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
2110     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2111     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2114         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
2117         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2118         (arg1
)->SetColour(*arg2
); 
2120         wxPyEndAllowThreads(__tstate
); 
2121         if (PyErr_Occurred()) SWIG_fail
; 
2123     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2130 static PyObject 
*_wrap_Pen_SetJoin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2131     PyObject 
*resultobj
; 
2132     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2134     PyObject 
* obj0 
= 0 ; 
2135     PyObject 
* obj1 
= 0 ; 
2137         (char *) "self",(char *) "join_style", NULL 
 
2140     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
; 
2141     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2142     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2143     arg2 
= (int)SWIG_As_int(obj1
);  
2144     if (PyErr_Occurred()) SWIG_fail
; 
2146         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2147         (arg1
)->SetJoin(arg2
); 
2149         wxPyEndAllowThreads(__tstate
); 
2150         if (PyErr_Occurred()) SWIG_fail
; 
2152     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2159 static PyObject 
*_wrap_Pen_SetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2160     PyObject 
*resultobj
; 
2161     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2163     PyObject 
* obj0 
= 0 ; 
2164     PyObject 
* obj1 
= 0 ; 
2166         (char *) "self",(char *) "style", NULL 
 
2169     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
2170     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2171     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2172     arg2 
= (int)SWIG_As_int(obj1
);  
2173     if (PyErr_Occurred()) SWIG_fail
; 
2175         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2176         (arg1
)->SetStyle(arg2
); 
2178         wxPyEndAllowThreads(__tstate
); 
2179         if (PyErr_Occurred()) SWIG_fail
; 
2181     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2188 static PyObject 
*_wrap_Pen_SetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2189     PyObject 
*resultobj
; 
2190     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2192     PyObject 
* obj0 
= 0 ; 
2193     PyObject 
* obj1 
= 0 ; 
2195         (char *) "self",(char *) "width", NULL 
 
2198     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
2199     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2200     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2201     arg2 
= (int)SWIG_As_int(obj1
);  
2202     if (PyErr_Occurred()) SWIG_fail
; 
2204         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2205         (arg1
)->SetWidth(arg2
); 
2207         wxPyEndAllowThreads(__tstate
); 
2208         if (PyErr_Occurred()) SWIG_fail
; 
2210     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2217 static PyObject 
*_wrap_Pen_SetDashes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2218     PyObject 
*resultobj
; 
2219     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2221     wxDash 
*arg3 
= (wxDash 
*) 0 ; 
2222     PyObject 
* obj0 
= 0 ; 
2223     PyObject 
* obj1 
= 0 ; 
2225         (char *) "self",(char *) "dashes", NULL 
 
2228     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
; 
2229     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2230     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2232         arg2 
= PyList_Size(obj1
); 
2233         arg3 
= (wxDash
*)byte_LIST_helper(obj1
); 
2234         if (arg3 
== NULL
) SWIG_fail
; 
2237         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2238         (arg1
)->SetDashes(arg2
,arg3
); 
2240         wxPyEndAllowThreads(__tstate
); 
2241         if (PyErr_Occurred()) SWIG_fail
; 
2243     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2245         if (arg3
) delete [] arg3
; 
2250         if (arg3
) delete [] arg3
; 
2256 static PyObject 
*_wrap_Pen_GetDashes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2257     PyObject 
*resultobj
; 
2258     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2260     PyObject 
* obj0 
= 0 ; 
2262         (char *) "self", NULL 
 
2265     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
; 
2266     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2267     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2269         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2270         result 
= (PyObject 
*)wxPen_GetDashes(arg1
); 
2272         wxPyEndAllowThreads(__tstate
); 
2273         if (PyErr_Occurred()) SWIG_fail
; 
2282 static PyObject 
*_wrap_Pen__SetDashes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2283     PyObject 
*resultobj
; 
2284     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2285     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
2286     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
2287     PyObject 
* obj0 
= 0 ; 
2288     PyObject 
* obj1 
= 0 ; 
2289     PyObject 
* obj2 
= 0 ; 
2291         (char *) "self",(char *) "_self",(char *) "pyDashes", NULL 
 
2294     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2295     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2296     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2300         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2301         wxPen__SetDashes(arg1
,arg2
,arg3
); 
2303         wxPyEndAllowThreads(__tstate
); 
2304         if (PyErr_Occurred()) SWIG_fail
; 
2306     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2313 static PyObject 
*_wrap_Pen_GetDashCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2314     PyObject 
*resultobj
; 
2315     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2317     PyObject 
* obj0 
= 0 ; 
2319         (char *) "self", NULL 
 
2322     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
; 
2323     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2324     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2326         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2327         result 
= (int)((wxPen 
const *)arg1
)->GetDashCount(); 
2329         wxPyEndAllowThreads(__tstate
); 
2330         if (PyErr_Occurred()) SWIG_fail
; 
2332     resultobj 
= SWIG_From_int((int)result
); 
2339 static PyObject 
*_wrap_Pen_GetStipple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2340     PyObject 
*resultobj
; 
2341     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2343     PyObject 
* obj0 
= 0 ; 
2345         (char *) "self", NULL 
 
2348     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStipple",kwnames
,&obj0
)) goto fail
; 
2349     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2350     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2352         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2353         result 
= (wxBitmap 
*)(arg1
)->GetStipple(); 
2355         wxPyEndAllowThreads(__tstate
); 
2356         if (PyErr_Occurred()) SWIG_fail
; 
2358     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0); 
2365 static PyObject 
*_wrap_Pen_SetStipple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2366     PyObject 
*resultobj
; 
2367     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2368     wxBitmap 
*arg2 
= 0 ; 
2369     PyObject 
* obj0 
= 0 ; 
2370     PyObject 
* obj1 
= 0 ; 
2372         (char *) "self",(char *) "stipple", NULL 
 
2375     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
; 
2376     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2377     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2378     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
2379     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
2382         PyErr_SetString(PyExc_TypeError
,"null reference"); 
2386         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2387         (arg1
)->SetStipple(*arg2
); 
2389         wxPyEndAllowThreads(__tstate
); 
2390         if (PyErr_Occurred()) SWIG_fail
; 
2392     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2399 static PyObject 
*_wrap_Pen___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2400     PyObject 
*resultobj
; 
2401     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2402     wxPen 
*arg2 
= (wxPen 
*) 0 ; 
2404     PyObject 
* obj0 
= 0 ; 
2405     PyObject 
* obj1 
= 0 ; 
2407         (char *) "self",(char *) "other", NULL 
 
2410     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
2411     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2412     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2413     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
, 
2414     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2416         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2417         result 
= (bool)wxPen___eq__(arg1
,(wxPen 
const *)arg2
); 
2419         wxPyEndAllowThreads(__tstate
); 
2420         if (PyErr_Occurred()) SWIG_fail
; 
2423         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2431 static PyObject 
*_wrap_Pen___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2432     PyObject 
*resultobj
; 
2433     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2434     wxPen 
*arg2 
= (wxPen 
*) 0 ; 
2436     PyObject 
* obj0 
= 0 ; 
2437     PyObject 
* obj1 
= 0 ; 
2439         (char *) "self",(char *) "other", NULL 
 
2442     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
2443     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2444     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2445     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
, 
2446     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2448         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2449         result 
= (bool)wxPen___ne__(arg1
,(wxPen 
const *)arg2
); 
2451         wxPyEndAllowThreads(__tstate
); 
2452         if (PyErr_Occurred()) SWIG_fail
; 
2455         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2463 static PyObject 
* Pen_swigregister(PyObject 
*, PyObject 
*args
) { 
2465     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2466     SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
); 
2468     return Py_BuildValue((char *)""); 
2470 static PyObject 
*_wrap_new_Brush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2471     PyObject 
*resultobj
; 
2472     wxColour 
*arg1 
= 0 ; 
2473     int arg2 
= (int) wxSOLID 
; 
2476     PyObject 
* obj0 
= 0 ; 
2477     PyObject 
* obj1 
= 0 ; 
2479         (char *) "colour",(char *) "style", NULL 
 
2482     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
; 
2485         if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
; 
2488         arg2 
= (int)SWIG_As_int(obj1
);  
2489         if (PyErr_Occurred()) SWIG_fail
; 
2492         if (!wxPyCheckForApp()) SWIG_fail
; 
2493         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2494         result 
= (wxBrush 
*)new wxBrush((wxColour 
const &)*arg1
,arg2
); 
2496         wxPyEndAllowThreads(__tstate
); 
2497         if (PyErr_Occurred()) SWIG_fail
; 
2499     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1); 
2506 static PyObject 
*_wrap_delete_Brush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2507     PyObject 
*resultobj
; 
2508     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
2509     PyObject 
* obj0 
= 0 ; 
2511         (char *) "self", NULL 
 
2514     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
; 
2515     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
, 
2516     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2518         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2521         wxPyEndAllowThreads(__tstate
); 
2522         if (PyErr_Occurred()) SWIG_fail
; 
2524     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2531 static PyObject 
*_wrap_Brush_SetColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2532     PyObject 
*resultobj
; 
2533     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
2534     wxColour 
*arg2 
= 0 ; 
2536     PyObject 
* obj0 
= 0 ; 
2537     PyObject 
* obj1 
= 0 ; 
2539         (char *) "self",(char *) "col", NULL 
 
2542     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
2543     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
, 
2544     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2547         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
2550         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2551         (arg1
)->SetColour((wxColour 
const &)*arg2
); 
2553         wxPyEndAllowThreads(__tstate
); 
2554         if (PyErr_Occurred()) SWIG_fail
; 
2556     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2563 static PyObject 
*_wrap_Brush_SetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2564     PyObject 
*resultobj
; 
2565     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
2567     PyObject 
* obj0 
= 0 ; 
2568     PyObject 
* obj1 
= 0 ; 
2570         (char *) "self",(char *) "style", NULL 
 
2573     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
2574     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
, 
2575     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2576     arg2 
= (int)SWIG_As_int(obj1
);  
2577     if (PyErr_Occurred()) SWIG_fail
; 
2579         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2580         (arg1
)->SetStyle(arg2
); 
2582         wxPyEndAllowThreads(__tstate
); 
2583         if (PyErr_Occurred()) SWIG_fail
; 
2585     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2592 static PyObject 
*_wrap_Brush_SetStipple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2593     PyObject 
*resultobj
; 
2594     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
2595     wxBitmap 
*arg2 
= 0 ; 
2596     PyObject 
* obj0 
= 0 ; 
2597     PyObject 
* obj1 
= 0 ; 
2599         (char *) "self",(char *) "stipple", NULL 
 
2602     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
; 
2603     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
, 
2604     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2605     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
2606     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
2609         PyErr_SetString(PyExc_TypeError
,"null reference"); 
2613         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2614         (arg1
)->SetStipple((wxBitmap 
const &)*arg2
); 
2616         wxPyEndAllowThreads(__tstate
); 
2617         if (PyErr_Occurred()) SWIG_fail
; 
2619     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2626 static PyObject 
*_wrap_Brush_GetColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2627     PyObject 
*resultobj
; 
2628     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
2630     PyObject 
* obj0 
= 0 ; 
2632         (char *) "self", NULL 
 
2635     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
; 
2636     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
, 
2637     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2639         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2640         result 
= ((wxBrush 
const *)arg1
)->GetColour(); 
2642         wxPyEndAllowThreads(__tstate
); 
2643         if (PyErr_Occurred()) SWIG_fail
; 
2646         wxColour 
* resultptr
; 
2647         resultptr 
= new wxColour((wxColour 
&) result
); 
2648         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
2656 static PyObject 
*_wrap_Brush_GetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2657     PyObject 
*resultobj
; 
2658     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
2660     PyObject 
* obj0 
= 0 ; 
2662         (char *) "self", NULL 
 
2665     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
; 
2666     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
, 
2667     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2669         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2670         result 
= (int)((wxBrush 
const *)arg1
)->GetStyle(); 
2672         wxPyEndAllowThreads(__tstate
); 
2673         if (PyErr_Occurred()) SWIG_fail
; 
2675     resultobj 
= SWIG_From_int((int)result
); 
2682 static PyObject 
*_wrap_Brush_GetStipple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2683     PyObject 
*resultobj
; 
2684     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
2686     PyObject 
* obj0 
= 0 ; 
2688         (char *) "self", NULL 
 
2691     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
; 
2692     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
, 
2693     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2695         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2696         result 
= (wxBitmap 
*)((wxBrush 
const *)arg1
)->GetStipple(); 
2698         wxPyEndAllowThreads(__tstate
); 
2699         if (PyErr_Occurred()) SWIG_fail
; 
2701     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0); 
2708 static PyObject 
*_wrap_Brush_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2709     PyObject 
*resultobj
; 
2710     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
2712     PyObject 
* obj0 
= 0 ; 
2714         (char *) "self", NULL 
 
2717     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
; 
2718     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
, 
2719     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2721         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2722         result 
= (bool)(arg1
)->Ok(); 
2724         wxPyEndAllowThreads(__tstate
); 
2725         if (PyErr_Occurred()) SWIG_fail
; 
2728         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2736 static PyObject 
* Brush_swigregister(PyObject 
*, PyObject 
*args
) { 
2738     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2739     SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
); 
2741     return Py_BuildValue((char *)""); 
2743 static PyObject 
*_wrap_new_Bitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2744     PyObject 
*resultobj
; 
2745     wxString 
*arg1 
= 0 ; 
2746     int arg2 
= (int) wxBITMAP_TYPE_ANY 
; 
2748     bool temp1 
= False 
; 
2749     PyObject 
* obj0 
= 0 ; 
2750     PyObject 
* obj1 
= 0 ; 
2752         (char *) "name",(char *) "type", NULL 
 
2755     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
2757         arg1 
= wxString_in_helper(obj0
); 
2758         if (arg1 
== NULL
) SWIG_fail
; 
2762         arg2 
= (int)SWIG_As_int(obj1
);  
2763         if (PyErr_Occurred()) SWIG_fail
; 
2766         if (!wxPyCheckForApp()) SWIG_fail
; 
2767         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2768         result 
= (wxBitmap 
*)new wxBitmap((wxString 
const &)*arg1
,(wxBitmapType 
)arg2
); 
2770         wxPyEndAllowThreads(__tstate
); 
2771         if (PyErr_Occurred()) SWIG_fail
; 
2773     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
2788 static PyObject 
*_wrap_delete_Bitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2789     PyObject 
*resultobj
; 
2790     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
2791     PyObject 
* obj0 
= 0 ; 
2793         (char *) "self", NULL 
 
2796     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
; 
2797     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
2798     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2800         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2803         wxPyEndAllowThreads(__tstate
); 
2804         if (PyErr_Occurred()) SWIG_fail
; 
2806     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2813 static PyObject 
*_wrap_new_EmptyBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2814     PyObject 
*resultobj
; 
2817     int arg3 
= (int) -1 ; 
2819     PyObject 
* obj0 
= 0 ; 
2820     PyObject 
* obj1 
= 0 ; 
2821     PyObject 
* obj2 
= 0 ; 
2823         (char *) "width",(char *) "height",(char *) "depth", NULL 
 
2826     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2827     arg1 
= (int)SWIG_As_int(obj0
);  
2828     if (PyErr_Occurred()) SWIG_fail
; 
2829     arg2 
= (int)SWIG_As_int(obj1
);  
2830     if (PyErr_Occurred()) SWIG_fail
; 
2832         arg3 
= (int)SWIG_As_int(obj2
);  
2833         if (PyErr_Occurred()) SWIG_fail
; 
2836         if (!wxPyCheckForApp()) SWIG_fail
; 
2837         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2838         result 
= (wxBitmap 
*)new wxBitmap(arg1
,arg2
,arg3
); 
2840         wxPyEndAllowThreads(__tstate
); 
2841         if (PyErr_Occurred()) SWIG_fail
; 
2843     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
2850 static PyObject 
*_wrap_new_BitmapFromIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2851     PyObject 
*resultobj
; 
2854     PyObject 
* obj0 
= 0 ; 
2856         (char *) "icon", NULL 
 
2859     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
; 
2860     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
2861     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
2864         PyErr_SetString(PyExc_TypeError
,"null reference"); 
2868         if (!wxPyCheckForApp()) SWIG_fail
; 
2869         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2870         result 
= (wxBitmap 
*)new wxBitmap((wxIcon 
const &)*arg1
); 
2872         wxPyEndAllowThreads(__tstate
); 
2873         if (PyErr_Occurred()) SWIG_fail
; 
2875     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
2882 static PyObject 
*_wrap_new_BitmapFromImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2883     PyObject 
*resultobj
; 
2885     int arg2 
= (int) -1 ; 
2887     PyObject 
* obj0 
= 0 ; 
2888     PyObject 
* obj1 
= 0 ; 
2890         (char *) "image",(char *) "depth", NULL 
 
2893     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
; 
2894     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
, 
2895     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
2898         PyErr_SetString(PyExc_TypeError
,"null reference"); 
2902         arg2 
= (int)SWIG_As_int(obj1
);  
2903         if (PyErr_Occurred()) SWIG_fail
; 
2906         if (!wxPyCheckForApp()) SWIG_fail
; 
2907         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2908         result 
= (wxBitmap 
*)new wxBitmap((wxImage 
const &)*arg1
,arg2
); 
2910         wxPyEndAllowThreads(__tstate
); 
2911         if (PyErr_Occurred()) SWIG_fail
; 
2913     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
2920 static PyObject 
*_wrap_new_BitmapFromXPMData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2921     PyObject 
*resultobj
; 
2922     PyObject 
*arg1 
= (PyObject 
*) 0 ; 
2924     PyObject 
* obj0 
= 0 ; 
2926         (char *) "listOfStrings", NULL 
 
2929     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
; 
2932         if (!wxPyCheckForApp()) SWIG_fail
; 
2933         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2934         result 
= (wxBitmap 
*)new_wxBitmap(arg1
); 
2936         wxPyEndAllowThreads(__tstate
); 
2937         if (PyErr_Occurred()) SWIG_fail
; 
2939     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
2946 static PyObject 
*_wrap_new_BitmapFromBits(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2947     PyObject 
*resultobj
; 
2948     PyObject 
*arg1 
= (PyObject 
*) 0 ; 
2951     int arg4 
= (int) 1 ; 
2953     PyObject 
* obj0 
= 0 ; 
2954     PyObject 
* obj1 
= 0 ; 
2955     PyObject 
* obj2 
= 0 ; 
2956     PyObject 
* obj3 
= 0 ; 
2958         (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL 
 
2961     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
2963     arg2 
= (int)SWIG_As_int(obj1
);  
2964     if (PyErr_Occurred()) SWIG_fail
; 
2965     arg3 
= (int)SWIG_As_int(obj2
);  
2966     if (PyErr_Occurred()) SWIG_fail
; 
2968         arg4 
= (int)SWIG_As_int(obj3
);  
2969         if (PyErr_Occurred()) SWIG_fail
; 
2972         if (!wxPyCheckForApp()) SWIG_fail
; 
2973         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2974         result 
= (wxBitmap 
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
); 
2976         wxPyEndAllowThreads(__tstate
); 
2977         if (PyErr_Occurred()) SWIG_fail
; 
2979     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
2986 static PyObject 
*_wrap_Bitmap_SetPalette(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2987     PyObject 
*resultobj
; 
2988     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
2989     wxPalette 
*arg2 
= 0 ; 
2990     PyObject 
* obj0 
= 0 ; 
2991     PyObject 
* obj1 
= 0 ; 
2993         (char *) "self",(char *) "palette", NULL 
 
2996     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
; 
2997     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
2998     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2999     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
, 
3000     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3003         PyErr_SetString(PyExc_TypeError
,"null reference"); 
3007         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3008         (arg1
)->SetPalette(*arg2
); 
3010         wxPyEndAllowThreads(__tstate
); 
3011         if (PyErr_Occurred()) SWIG_fail
; 
3013     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3020 static PyObject 
*_wrap_Bitmap_GetHandle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3021     PyObject 
*resultobj
; 
3022     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3024     PyObject 
* obj0 
= 0 ; 
3026         (char *) "self", NULL 
 
3029     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHandle",kwnames
,&obj0
)) goto fail
; 
3030     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3031     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3033         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3034         result 
= (long)(arg1
)->GetHandle(); 
3036         wxPyEndAllowThreads(__tstate
); 
3037         if (PyErr_Occurred()) SWIG_fail
; 
3039     resultobj 
= SWIG_From_long((long)result
); 
3046 static PyObject 
*_wrap_Bitmap_SetHandle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3047     PyObject 
*resultobj
; 
3048     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3050     PyObject 
* obj0 
= 0 ; 
3051     PyObject 
* obj1 
= 0 ; 
3053         (char *) "self",(char *) "handle", NULL 
 
3056     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
; 
3057     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3058     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3059     arg2 
= (long)SWIG_As_long(obj1
);  
3060     if (PyErr_Occurred()) SWIG_fail
; 
3062         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3063         wxBitmap_SetHandle(arg1
,arg2
); 
3065         wxPyEndAllowThreads(__tstate
); 
3066         if (PyErr_Occurred()) SWIG_fail
; 
3068     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3075 static PyObject 
*_wrap_Bitmap_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3076     PyObject 
*resultobj
; 
3077     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3079     PyObject 
* obj0 
= 0 ; 
3081         (char *) "self", NULL 
 
3084     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
; 
3085     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3086     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3088         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3089         result 
= (bool)(arg1
)->Ok(); 
3091         wxPyEndAllowThreads(__tstate
); 
3092         if (PyErr_Occurred()) SWIG_fail
; 
3095         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3103 static PyObject 
*_wrap_Bitmap_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3104     PyObject 
*resultobj
; 
3105     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3107     PyObject 
* obj0 
= 0 ; 
3109         (char *) "self", NULL 
 
3112     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
; 
3113     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3114     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3116         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3117         result 
= (int)(arg1
)->GetWidth(); 
3119         wxPyEndAllowThreads(__tstate
); 
3120         if (PyErr_Occurred()) SWIG_fail
; 
3122     resultobj 
= SWIG_From_int((int)result
); 
3129 static PyObject 
*_wrap_Bitmap_GetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3130     PyObject 
*resultobj
; 
3131     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3133     PyObject 
* obj0 
= 0 ; 
3135         (char *) "self", NULL 
 
3138     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
; 
3139     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3140     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3142         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3143         result 
= (int)(arg1
)->GetHeight(); 
3145         wxPyEndAllowThreads(__tstate
); 
3146         if (PyErr_Occurred()) SWIG_fail
; 
3148     resultobj 
= SWIG_From_int((int)result
); 
3155 static PyObject 
*_wrap_Bitmap_GetDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3156     PyObject 
*resultobj
; 
3157     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3159     PyObject 
* obj0 
= 0 ; 
3161         (char *) "self", NULL 
 
3164     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
; 
3165     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3166     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3168         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3169         result 
= (int)(arg1
)->GetDepth(); 
3171         wxPyEndAllowThreads(__tstate
); 
3172         if (PyErr_Occurred()) SWIG_fail
; 
3174     resultobj 
= SWIG_From_int((int)result
); 
3181 static PyObject 
*_wrap_Bitmap_GetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3182     PyObject 
*resultobj
; 
3183     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3185     PyObject 
* obj0 
= 0 ; 
3187         (char *) "self", NULL 
 
3190     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
; 
3191     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3192     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3194         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3195         result 
= wxBitmap_GetSize(arg1
); 
3197         wxPyEndAllowThreads(__tstate
); 
3198         if (PyErr_Occurred()) SWIG_fail
; 
3202         resultptr 
= new wxSize((wxSize 
&) result
); 
3203         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
3211 static PyObject 
*_wrap_Bitmap_ConvertToImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3212     PyObject 
*resultobj
; 
3213     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3214     SwigValueWrapper
< wxImage 
> result
; 
3215     PyObject 
* obj0 
= 0 ; 
3217         (char *) "self", NULL 
 
3220     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
; 
3221     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3222     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3224         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3225         result 
= ((wxBitmap 
const *)arg1
)->ConvertToImage(); 
3227         wxPyEndAllowThreads(__tstate
); 
3228         if (PyErr_Occurred()) SWIG_fail
; 
3231         wxImage 
* resultptr
; 
3232         resultptr 
= new wxImage((wxImage 
&) result
); 
3233         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1); 
3241 static PyObject 
*_wrap_Bitmap_GetMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3242     PyObject 
*resultobj
; 
3243     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3245     PyObject 
* obj0 
= 0 ; 
3247         (char *) "self", NULL 
 
3250     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
; 
3251     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3252     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3254         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3255         result 
= (wxMask 
*)((wxBitmap 
const *)arg1
)->GetMask(); 
3257         wxPyEndAllowThreads(__tstate
); 
3258         if (PyErr_Occurred()) SWIG_fail
; 
3260     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0); 
3267 static PyObject 
*_wrap_Bitmap_SetMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3268     PyObject 
*resultobj
; 
3269     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3270     wxMask 
*arg2 
= (wxMask 
*) 0 ; 
3271     PyObject 
* obj0 
= 0 ; 
3272     PyObject 
* obj1 
= 0 ; 
3274         (char *) "self",(char *) "mask", NULL 
 
3277     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
; 
3278     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3279     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3280     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
, 
3281     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3283         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3284         (arg1
)->SetMask(arg2
); 
3286         wxPyEndAllowThreads(__tstate
); 
3287         if (PyErr_Occurred()) SWIG_fail
; 
3289     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3296 static PyObject 
*_wrap_Bitmap_SetMaskColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3297     PyObject 
*resultobj
; 
3298     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3299     wxColour 
*arg2 
= 0 ; 
3301     PyObject 
* obj0 
= 0 ; 
3302     PyObject 
* obj1 
= 0 ; 
3304         (char *) "self",(char *) "colour", NULL 
 
3307     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
3308     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3309     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3312         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3315         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3316         wxBitmap_SetMaskColour(arg1
,(wxColour 
const &)*arg2
); 
3318         wxPyEndAllowThreads(__tstate
); 
3319         if (PyErr_Occurred()) SWIG_fail
; 
3321     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3328 static PyObject 
*_wrap_Bitmap_GetSubBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3329     PyObject 
*resultobj
; 
3330     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3332     SwigValueWrapper
< wxBitmap 
> result
; 
3334     PyObject 
* obj0 
= 0 ; 
3335     PyObject 
* obj1 
= 0 ; 
3337         (char *) "self",(char *) "rect", NULL 
 
3340     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
3341     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3342     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3345         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
3348         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3349         result 
= ((wxBitmap 
const *)arg1
)->GetSubBitmap((wxRect 
const &)*arg2
); 
3351         wxPyEndAllowThreads(__tstate
); 
3352         if (PyErr_Occurred()) SWIG_fail
; 
3355         wxBitmap 
* resultptr
; 
3356         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
3357         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
3365 static PyObject 
*_wrap_Bitmap_SaveFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3366     PyObject 
*resultobj
; 
3367     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3368     wxString 
*arg2 
= 0 ; 
3370     wxPalette 
*arg4 
= (wxPalette 
*) NULL 
; 
3372     bool temp2 
= False 
; 
3373     PyObject 
* obj0 
= 0 ; 
3374     PyObject 
* obj1 
= 0 ; 
3375     PyObject 
* obj2 
= 0 ; 
3376     PyObject 
* obj3 
= 0 ; 
3378         (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL 
 
3381     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
3382     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3383     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3385         arg2 
= wxString_in_helper(obj1
); 
3386         if (arg2 
== NULL
) SWIG_fail
; 
3389     arg3 
= (int)SWIG_As_int(obj2
);  
3390     if (PyErr_Occurred()) SWIG_fail
; 
3392         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
, 
3393         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3396         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3397         result 
= (bool)(arg1
)->SaveFile((wxString 
const &)*arg2
,(wxBitmapType 
)arg3
,arg4
); 
3399         wxPyEndAllowThreads(__tstate
); 
3400         if (PyErr_Occurred()) SWIG_fail
; 
3403         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3419 static PyObject 
*_wrap_Bitmap_LoadFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3420     PyObject 
*resultobj
; 
3421     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3422     wxString 
*arg2 
= 0 ; 
3425     bool temp2 
= False 
; 
3426     PyObject 
* obj0 
= 0 ; 
3427     PyObject 
* obj1 
= 0 ; 
3428     PyObject 
* obj2 
= 0 ; 
3430         (char *) "self",(char *) "name",(char *) "type", NULL 
 
3433     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3434     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3435     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3437         arg2 
= wxString_in_helper(obj1
); 
3438         if (arg2 
== NULL
) SWIG_fail
; 
3441     arg3 
= (int)SWIG_As_int(obj2
);  
3442     if (PyErr_Occurred()) SWIG_fail
; 
3444         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3445         result 
= (bool)(arg1
)->LoadFile((wxString 
const &)*arg2
,(wxBitmapType 
)arg3
); 
3447         wxPyEndAllowThreads(__tstate
); 
3448         if (PyErr_Occurred()) SWIG_fail
; 
3451         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3467 static PyObject 
*_wrap_Bitmap_CopyFromIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3468     PyObject 
*resultobj
; 
3469     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3472     PyObject 
* obj0 
= 0 ; 
3473     PyObject 
* obj1 
= 0 ; 
3475         (char *) "self",(char *) "icon", NULL 
 
3478     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
3479     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3480     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3481     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
, 
3482     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3485         PyErr_SetString(PyExc_TypeError
,"null reference"); 
3489         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3490         result 
= (bool)(arg1
)->CopyFromIcon((wxIcon 
const &)*arg2
); 
3492         wxPyEndAllowThreads(__tstate
); 
3493         if (PyErr_Occurred()) SWIG_fail
; 
3496         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3504 static PyObject 
*_wrap_Bitmap_SetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3505     PyObject 
*resultobj
; 
3506     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3508     PyObject 
* obj0 
= 0 ; 
3509     PyObject 
* obj1 
= 0 ; 
3511         (char *) "self",(char *) "height", NULL 
 
3514     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
; 
3515     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3516     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3517     arg2 
= (int)SWIG_As_int(obj1
);  
3518     if (PyErr_Occurred()) SWIG_fail
; 
3520         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3521         (arg1
)->SetHeight(arg2
); 
3523         wxPyEndAllowThreads(__tstate
); 
3524         if (PyErr_Occurred()) SWIG_fail
; 
3526     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3533 static PyObject 
*_wrap_Bitmap_SetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3534     PyObject 
*resultobj
; 
3535     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3537     PyObject 
* obj0 
= 0 ; 
3538     PyObject 
* obj1 
= 0 ; 
3540         (char *) "self",(char *) "width", NULL 
 
3543     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
3544     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3545     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3546     arg2 
= (int)SWIG_As_int(obj1
);  
3547     if (PyErr_Occurred()) SWIG_fail
; 
3549         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3550         (arg1
)->SetWidth(arg2
); 
3552         wxPyEndAllowThreads(__tstate
); 
3553         if (PyErr_Occurred()) SWIG_fail
; 
3555     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3562 static PyObject 
*_wrap_Bitmap_SetDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3563     PyObject 
*resultobj
; 
3564     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3566     PyObject 
* obj0 
= 0 ; 
3567     PyObject 
* obj1 
= 0 ; 
3569         (char *) "self",(char *) "depth", NULL 
 
3572     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
; 
3573     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3574     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3575     arg2 
= (int)SWIG_As_int(obj1
);  
3576     if (PyErr_Occurred()) SWIG_fail
; 
3578         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3579         (arg1
)->SetDepth(arg2
); 
3581         wxPyEndAllowThreads(__tstate
); 
3582         if (PyErr_Occurred()) SWIG_fail
; 
3584     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3591 static PyObject 
*_wrap_Bitmap_SetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3592     PyObject 
*resultobj
; 
3593     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3596     PyObject 
* obj0 
= 0 ; 
3597     PyObject 
* obj1 
= 0 ; 
3599         (char *) "self",(char *) "size", NULL 
 
3602     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
3603     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3604     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3607         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
3610         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3611         wxBitmap_SetSize(arg1
,(wxSize 
const &)*arg2
); 
3613         wxPyEndAllowThreads(__tstate
); 
3614         if (PyErr_Occurred()) SWIG_fail
; 
3616     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3623 static PyObject 
*_wrap_Bitmap_CopyFromCursor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3624     PyObject 
*resultobj
; 
3625     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3626     wxCursor 
*arg2 
= 0 ; 
3628     PyObject 
* obj0 
= 0 ; 
3629     PyObject 
* obj1 
= 0 ; 
3631         (char *) "self",(char *) "cursor", NULL 
 
3634     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) goto fail
; 
3635     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3636     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3637     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
, 
3638     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3641         PyErr_SetString(PyExc_TypeError
,"null reference"); 
3645         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3646         result 
= (bool)(arg1
)->CopyFromCursor((wxCursor 
const &)*arg2
); 
3648         wxPyEndAllowThreads(__tstate
); 
3649         if (PyErr_Occurred()) SWIG_fail
; 
3652         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3660 static PyObject 
*_wrap_Bitmap_GetQuality(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3661     PyObject 
*resultobj
; 
3662     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3664     PyObject 
* obj0 
= 0 ; 
3666         (char *) "self", NULL 
 
3669     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetQuality",kwnames
,&obj0
)) goto fail
; 
3670     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3671     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3673         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3674         result 
= (int)(arg1
)->GetQuality(); 
3676         wxPyEndAllowThreads(__tstate
); 
3677         if (PyErr_Occurred()) SWIG_fail
; 
3679     resultobj 
= SWIG_From_int((int)result
); 
3686 static PyObject 
*_wrap_Bitmap_SetQuality(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3687     PyObject 
*resultobj
; 
3688     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3690     PyObject 
* obj0 
= 0 ; 
3691     PyObject 
* obj1 
= 0 ; 
3693         (char *) "self",(char *) "q", NULL 
 
3696     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
; 
3697     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3698     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3699     arg2 
= (int)SWIG_As_int(obj1
);  
3700     if (PyErr_Occurred()) SWIG_fail
; 
3702         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3703         (arg1
)->SetQuality(arg2
); 
3705         wxPyEndAllowThreads(__tstate
); 
3706         if (PyErr_Occurred()) SWIG_fail
; 
3708     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3715 static PyObject 
*_wrap_Bitmap___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3716     PyObject 
*resultobj
; 
3717     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3718     wxBitmap 
*arg2 
= (wxBitmap 
*) 0 ; 
3720     PyObject 
* obj0 
= 0 ; 
3721     PyObject 
* obj1 
= 0 ; 
3723         (char *) "self",(char *) "other", NULL 
 
3726     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
3727     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3728     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3729     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
3730     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3732         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3733         result 
= (bool)wxBitmap___eq__(arg1
,(wxBitmap 
const *)arg2
); 
3735         wxPyEndAllowThreads(__tstate
); 
3736         if (PyErr_Occurred()) SWIG_fail
; 
3739         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3747 static PyObject 
*_wrap_Bitmap___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3748     PyObject 
*resultobj
; 
3749     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3750     wxBitmap 
*arg2 
= (wxBitmap 
*) 0 ; 
3752     PyObject 
* obj0 
= 0 ; 
3753     PyObject 
* obj1 
= 0 ; 
3755         (char *) "self",(char *) "other", NULL 
 
3758     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
3759     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3760     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3761     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
3762     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3764         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3765         result 
= (bool)wxBitmap___ne__(arg1
,(wxBitmap 
const *)arg2
); 
3767         wxPyEndAllowThreads(__tstate
); 
3768         if (PyErr_Occurred()) SWIG_fail
; 
3771         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3779 static PyObject 
* Bitmap_swigregister(PyObject 
*, PyObject 
*args
) { 
3781     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3782     SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
); 
3784     return Py_BuildValue((char *)""); 
3786 static PyObject 
*_wrap_new_Mask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3787     PyObject 
*resultobj
; 
3788     wxBitmap 
*arg1 
= 0 ; 
3789     wxColour 
const &arg2_defvalue 
= wxNullColour 
; 
3790     wxColour 
*arg2 
= (wxColour 
*) &arg2_defvalue 
; 
3793     PyObject 
* obj0 
= 0 ; 
3794     PyObject 
* obj1 
= 0 ; 
3796         (char *) "bitmap",(char *) "colour", NULL 
 
3799     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
; 
3800     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3801     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3804         PyErr_SetString(PyExc_TypeError
,"null reference"); 
3810             if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3814         if (!wxPyCheckForApp()) SWIG_fail
; 
3815         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3816         result 
= (wxMask 
*)new_wxMask((wxBitmap 
const &)*arg1
,(wxColour 
const &)*arg2
); 
3818         wxPyEndAllowThreads(__tstate
); 
3819         if (PyErr_Occurred()) SWIG_fail
; 
3821     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1); 
3828 static PyObject 
* Mask_swigregister(PyObject 
*, PyObject 
*args
) { 
3830     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3831     SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
); 
3833     return Py_BuildValue((char *)""); 
3835 static PyObject 
*_wrap_new_Icon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3836     PyObject 
*resultobj
; 
3837     wxString 
*arg1 
= 0 ; 
3839     int arg3 
= (int) -1 ; 
3840     int arg4 
= (int) -1 ; 
3842     bool temp1 
= False 
; 
3843     PyObject 
* obj0 
= 0 ; 
3844     PyObject 
* obj1 
= 0 ; 
3845     PyObject 
* obj2 
= 0 ; 
3846     PyObject 
* obj3 
= 0 ; 
3848         (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL 
 
3851     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
3853         arg1 
= wxString_in_helper(obj0
); 
3854         if (arg1 
== NULL
) SWIG_fail
; 
3857     arg2 
= (int)SWIG_As_int(obj1
);  
3858     if (PyErr_Occurred()) SWIG_fail
; 
3860         arg3 
= (int)SWIG_As_int(obj2
);  
3861         if (PyErr_Occurred()) SWIG_fail
; 
3864         arg4 
= (int)SWIG_As_int(obj3
);  
3865         if (PyErr_Occurred()) SWIG_fail
; 
3868         if (!wxPyCheckForApp()) SWIG_fail
; 
3869         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3870         result 
= (wxIcon 
*)new wxIcon((wxString 
const &)*arg1
,(wxBitmapType 
)arg2
,arg3
,arg4
); 
3872         wxPyEndAllowThreads(__tstate
); 
3873         if (PyErr_Occurred()) SWIG_fail
; 
3875     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
3890 static PyObject 
*_wrap_delete_Icon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3891     PyObject 
*resultobj
; 
3892     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
3893     PyObject 
* obj0 
= 0 ; 
3895         (char *) "self", NULL 
 
3898     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
; 
3899     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
3900     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3902         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3905         wxPyEndAllowThreads(__tstate
); 
3906         if (PyErr_Occurred()) SWIG_fail
; 
3908     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3915 static PyObject 
*_wrap_new_EmptyIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3916     PyObject 
*resultobj
; 
3922     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
; 
3924         if (!wxPyCheckForApp()) SWIG_fail
; 
3925         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3926         result 
= (wxIcon 
*)new wxIcon(); 
3928         wxPyEndAllowThreads(__tstate
); 
3929         if (PyErr_Occurred()) SWIG_fail
; 
3931     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
3938 static PyObject 
*_wrap_new_IconFromLocation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3939     PyObject 
*resultobj
; 
3940     wxIconLocation 
*arg1 
= 0 ; 
3942     PyObject 
* obj0 
= 0 ; 
3944         (char *) "loc", NULL 
 
3947     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
; 
3948     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
, 
3949     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3952         PyErr_SetString(PyExc_TypeError
,"null reference"); 
3956         if (!wxPyCheckForApp()) SWIG_fail
; 
3957         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3958         result 
= (wxIcon 
*)new wxIcon((wxIconLocation 
const &)*arg1
); 
3960         wxPyEndAllowThreads(__tstate
); 
3961         if (PyErr_Occurred()) SWIG_fail
; 
3963     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
3970 static PyObject 
*_wrap_new_IconFromBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3971     PyObject 
*resultobj
; 
3972     wxBitmap 
*arg1 
= 0 ; 
3974     PyObject 
* obj0 
= 0 ; 
3976         (char *) "bmp", NULL 
 
3979     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
; 
3980     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3981     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3984         PyErr_SetString(PyExc_TypeError
,"null reference"); 
3988         if (!wxPyCheckForApp()) SWIG_fail
; 
3989         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3990         result 
= (wxIcon 
*)new_wxIcon((wxBitmap 
const &)*arg1
); 
3992         wxPyEndAllowThreads(__tstate
); 
3993         if (PyErr_Occurred()) SWIG_fail
; 
3995     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
4002 static PyObject 
*_wrap_new_IconFromXPMData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4003     PyObject 
*resultobj
; 
4004     PyObject 
*arg1 
= (PyObject 
*) 0 ; 
4006     PyObject 
* obj0 
= 0 ; 
4008         (char *) "listOfStrings", NULL 
 
4011     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
; 
4014         if (!wxPyCheckForApp()) SWIG_fail
; 
4015         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4016         result 
= (wxIcon 
*)new_wxIcon(arg1
); 
4018         wxPyEndAllowThreads(__tstate
); 
4019         if (PyErr_Occurred()) SWIG_fail
; 
4021     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
4028 static PyObject 
*_wrap_Icon_LoadFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4029     PyObject 
*resultobj
; 
4030     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
4031     wxString 
*arg2 
= 0 ; 
4034     bool temp2 
= False 
; 
4035     PyObject 
* obj0 
= 0 ; 
4036     PyObject 
* obj1 
= 0 ; 
4037     PyObject 
* obj2 
= 0 ; 
4039         (char *) "self",(char *) "name",(char *) "type", NULL 
 
4042     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4043     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
4044     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4046         arg2 
= wxString_in_helper(obj1
); 
4047         if (arg2 
== NULL
) SWIG_fail
; 
4050     arg3 
= (int)SWIG_As_int(obj2
);  
4051     if (PyErr_Occurred()) SWIG_fail
; 
4053         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4054         result 
= (bool)(arg1
)->LoadFile((wxString 
const &)*arg2
,(wxBitmapType 
)arg3
); 
4056         wxPyEndAllowThreads(__tstate
); 
4057         if (PyErr_Occurred()) SWIG_fail
; 
4060         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4076 static PyObject 
*_wrap_Icon_GetHandle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4077     PyObject 
*resultobj
; 
4078     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
4080     PyObject 
* obj0 
= 0 ; 
4082         (char *) "self", NULL 
 
4085     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHandle",kwnames
,&obj0
)) goto fail
; 
4086     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
4087     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4089         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4090         result 
= (long)(arg1
)->GetHandle(); 
4092         wxPyEndAllowThreads(__tstate
); 
4093         if (PyErr_Occurred()) SWIG_fail
; 
4095     resultobj 
= SWIG_From_long((long)result
); 
4102 static PyObject 
*_wrap_Icon_SetHandle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4103     PyObject 
*resultobj
; 
4104     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
4106     PyObject 
* obj0 
= 0 ; 
4107     PyObject 
* obj1 
= 0 ; 
4109         (char *) "self",(char *) "handle", NULL 
 
4112     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
; 
4113     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
4114     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4115     arg2 
= (long)SWIG_As_long(obj1
);  
4116     if (PyErr_Occurred()) SWIG_fail
; 
4118         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4119         wxIcon_SetHandle(arg1
,arg2
); 
4121         wxPyEndAllowThreads(__tstate
); 
4122         if (PyErr_Occurred()) SWIG_fail
; 
4124     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4131 static PyObject 
*_wrap_Icon_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4132     PyObject 
*resultobj
; 
4133     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
4135     PyObject 
* obj0 
= 0 ; 
4137         (char *) "self", NULL 
 
4140     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
; 
4141     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
4142     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4144         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4145         result 
= (bool)(arg1
)->Ok(); 
4147         wxPyEndAllowThreads(__tstate
); 
4148         if (PyErr_Occurred()) SWIG_fail
; 
4151         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4159 static PyObject 
*_wrap_Icon_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4160     PyObject 
*resultobj
; 
4161     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
4163     PyObject 
* obj0 
= 0 ; 
4165         (char *) "self", NULL 
 
4168     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
; 
4169     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
4170     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4172         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4173         result 
= (int)(arg1
)->GetWidth(); 
4175         wxPyEndAllowThreads(__tstate
); 
4176         if (PyErr_Occurred()) SWIG_fail
; 
4178     resultobj 
= SWIG_From_int((int)result
); 
4185 static PyObject 
*_wrap_Icon_GetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4186     PyObject 
*resultobj
; 
4187     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
4189     PyObject 
* obj0 
= 0 ; 
4191         (char *) "self", NULL 
 
4194     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
; 
4195     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
4196     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4198         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4199         result 
= (int)(arg1
)->GetHeight(); 
4201         wxPyEndAllowThreads(__tstate
); 
4202         if (PyErr_Occurred()) SWIG_fail
; 
4204     resultobj 
= SWIG_From_int((int)result
); 
4211 static PyObject 
*_wrap_Icon_GetDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4212     PyObject 
*resultobj
; 
4213     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
4215     PyObject 
* obj0 
= 0 ; 
4217         (char *) "self", NULL 
 
4220     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
; 
4221     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
4222     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4224         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4225         result 
= (int)(arg1
)->GetDepth(); 
4227         wxPyEndAllowThreads(__tstate
); 
4228         if (PyErr_Occurred()) SWIG_fail
; 
4230     resultobj 
= SWIG_From_int((int)result
); 
4237 static PyObject 
*_wrap_Icon_SetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4238     PyObject 
*resultobj
; 
4239     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
4241     PyObject 
* obj0 
= 0 ; 
4242     PyObject 
* obj1 
= 0 ; 
4244         (char *) "self",(char *) "w", NULL 
 
4247     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
4248     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
4249     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4250     arg2 
= (int)SWIG_As_int(obj1
);  
4251     if (PyErr_Occurred()) SWIG_fail
; 
4253         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4254         (arg1
)->SetWidth(arg2
); 
4256         wxPyEndAllowThreads(__tstate
); 
4257         if (PyErr_Occurred()) SWIG_fail
; 
4259     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4266 static PyObject 
*_wrap_Icon_SetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4267     PyObject 
*resultobj
; 
4268     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
4270     PyObject 
* obj0 
= 0 ; 
4271     PyObject 
* obj1 
= 0 ; 
4273         (char *) "self",(char *) "h", NULL 
 
4276     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
; 
4277     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
4278     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4279     arg2 
= (int)SWIG_As_int(obj1
);  
4280     if (PyErr_Occurred()) SWIG_fail
; 
4282         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4283         (arg1
)->SetHeight(arg2
); 
4285         wxPyEndAllowThreads(__tstate
); 
4286         if (PyErr_Occurred()) SWIG_fail
; 
4288     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4295 static PyObject 
*_wrap_Icon_SetDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4296     PyObject 
*resultobj
; 
4297     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
4299     PyObject 
* obj0 
= 0 ; 
4300     PyObject 
* obj1 
= 0 ; 
4302         (char *) "self",(char *) "d", NULL 
 
4305     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
; 
4306     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
4307     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4308     arg2 
= (int)SWIG_As_int(obj1
);  
4309     if (PyErr_Occurred()) SWIG_fail
; 
4311         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4312         (arg1
)->SetDepth(arg2
); 
4314         wxPyEndAllowThreads(__tstate
); 
4315         if (PyErr_Occurred()) SWIG_fail
; 
4317     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4324 static PyObject 
*_wrap_Icon_SetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4325     PyObject 
*resultobj
; 
4326     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
4329     PyObject 
* obj0 
= 0 ; 
4330     PyObject 
* obj1 
= 0 ; 
4332         (char *) "self",(char *) "size", NULL 
 
4335     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
4336     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
4337     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4340         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
4343         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4344         (arg1
)->SetSize((wxSize 
const &)*arg2
); 
4346         wxPyEndAllowThreads(__tstate
); 
4347         if (PyErr_Occurred()) SWIG_fail
; 
4349     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4356 static PyObject 
*_wrap_Icon_CopyFromBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4357     PyObject 
*resultobj
; 
4358     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
4359     wxBitmap 
*arg2 
= 0 ; 
4360     PyObject 
* obj0 
= 0 ; 
4361     PyObject 
* obj1 
= 0 ; 
4363         (char *) "self",(char *) "bmp", NULL 
 
4366     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
4367     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
4368     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4369     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
4370     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
4373         PyErr_SetString(PyExc_TypeError
,"null reference"); 
4377         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4378         (arg1
)->CopyFromBitmap((wxBitmap 
const &)*arg2
); 
4380         wxPyEndAllowThreads(__tstate
); 
4381         if (PyErr_Occurred()) SWIG_fail
; 
4383     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4390 static PyObject 
* Icon_swigregister(PyObject 
*, PyObject 
*args
) { 
4392     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4393     SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
); 
4395     return Py_BuildValue((char *)""); 
4397 static PyObject 
*_wrap_new_IconLocation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4398     PyObject 
*resultobj
; 
4399     wxString 
*arg1 
= (wxString 
*) &wxPyEmptyString 
; 
4400     int arg2 
= (int) 0 ; 
4401     wxIconLocation 
*result
; 
4402     bool temp1 
= False 
; 
4403     PyObject 
* obj0 
= 0 ; 
4404     PyObject 
* obj1 
= 0 ; 
4406         (char *) "filename",(char *) "num", NULL 
 
4409     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
; 
4412             arg1 
= wxString_in_helper(obj0
); 
4413             if (arg1 
== NULL
) SWIG_fail
; 
4418         arg2 
= (int)SWIG_As_int(obj1
);  
4419         if (PyErr_Occurred()) SWIG_fail
; 
4422         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4423         result 
= (wxIconLocation 
*)new_wxIconLocation((wxString 
const *)arg1
,arg2
); 
4425         wxPyEndAllowThreads(__tstate
); 
4426         if (PyErr_Occurred()) SWIG_fail
; 
4428     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1); 
4443 static PyObject 
*_wrap_delete_IconLocation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4444     PyObject 
*resultobj
; 
4445     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
4446     PyObject 
* obj0 
= 0 ; 
4448         (char *) "self", NULL 
 
4451     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
; 
4452     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
, 
4453     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4455         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4458         wxPyEndAllowThreads(__tstate
); 
4459         if (PyErr_Occurred()) SWIG_fail
; 
4461     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4468 static PyObject 
*_wrap_IconLocation_IsOk(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4469     PyObject 
*resultobj
; 
4470     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
4472     PyObject 
* obj0 
= 0 ; 
4474         (char *) "self", NULL 
 
4477     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
; 
4478     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
, 
4479     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4481         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4482         result 
= (bool)((wxIconLocation 
const *)arg1
)->IsOk(); 
4484         wxPyEndAllowThreads(__tstate
); 
4485         if (PyErr_Occurred()) SWIG_fail
; 
4488         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4496 static PyObject 
*_wrap_IconLocation_SetFileName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4497     PyObject 
*resultobj
; 
4498     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
4499     wxString 
*arg2 
= 0 ; 
4500     bool temp2 
= False 
; 
4501     PyObject 
* obj0 
= 0 ; 
4502     PyObject 
* obj1 
= 0 ; 
4504         (char *) "self",(char *) "filename", NULL 
 
4507     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
; 
4508     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
, 
4509     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4511         arg2 
= wxString_in_helper(obj1
); 
4512         if (arg2 
== NULL
) SWIG_fail
; 
4516         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4517         (arg1
)->SetFileName((wxString 
const &)*arg2
); 
4519         wxPyEndAllowThreads(__tstate
); 
4520         if (PyErr_Occurred()) SWIG_fail
; 
4522     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4537 static PyObject 
*_wrap_IconLocation_GetFileName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4538     PyObject 
*resultobj
; 
4539     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
4541     PyObject 
* obj0 
= 0 ; 
4543         (char *) "self", NULL 
 
4546     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
; 
4547     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
, 
4548     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4550         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4552             wxString 
const &_result_ref 
= ((wxIconLocation 
const *)arg1
)->GetFileName(); 
4553             result 
= (wxString 
*) &_result_ref
; 
4556         wxPyEndAllowThreads(__tstate
); 
4557         if (PyErr_Occurred()) SWIG_fail
; 
4561         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
4563         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
4572 static PyObject 
*_wrap_IconLocation_SetIndex(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4573     PyObject 
*resultobj
; 
4574     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
4576     PyObject 
* obj0 
= 0 ; 
4577     PyObject 
* obj1 
= 0 ; 
4579         (char *) "self",(char *) "num", NULL 
 
4582     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
; 
4583     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
, 
4584     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4585     arg2 
= (int)SWIG_As_int(obj1
);  
4586     if (PyErr_Occurred()) SWIG_fail
; 
4588         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4589         wxIconLocation_SetIndex(arg1
,arg2
); 
4591         wxPyEndAllowThreads(__tstate
); 
4592         if (PyErr_Occurred()) SWIG_fail
; 
4594     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4601 static PyObject 
*_wrap_IconLocation_GetIndex(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4602     PyObject 
*resultobj
; 
4603     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
4605     PyObject 
* obj0 
= 0 ; 
4607         (char *) "self", NULL 
 
4610     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
; 
4611     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
, 
4612     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4614         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4615         result 
= (int)wxIconLocation_GetIndex(arg1
); 
4617         wxPyEndAllowThreads(__tstate
); 
4618         if (PyErr_Occurred()) SWIG_fail
; 
4620     resultobj 
= SWIG_From_int((int)result
); 
4627 static PyObject 
* IconLocation_swigregister(PyObject 
*, PyObject 
*args
) { 
4629     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4630     SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
); 
4632     return Py_BuildValue((char *)""); 
4634 static PyObject 
*_wrap_new_IconBundle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4635     PyObject 
*resultobj
; 
4636     wxIconBundle 
*result
; 
4641     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
; 
4643         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4644         result 
= (wxIconBundle 
*)new wxIconBundle(); 
4646         wxPyEndAllowThreads(__tstate
); 
4647         if (PyErr_Occurred()) SWIG_fail
; 
4649     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1); 
4656 static PyObject 
*_wrap_new_IconBundleFromFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4657     PyObject 
*resultobj
; 
4658     wxString 
*arg1 
= 0 ; 
4660     wxIconBundle 
*result
; 
4661     bool temp1 
= False 
; 
4662     PyObject 
* obj0 
= 0 ; 
4663     PyObject 
* obj1 
= 0 ; 
4665         (char *) "file",(char *) "type", NULL 
 
4668     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
; 
4670         arg1 
= wxString_in_helper(obj0
); 
4671         if (arg1 
== NULL
) SWIG_fail
; 
4674     arg2 
= (long)SWIG_As_long(obj1
);  
4675     if (PyErr_Occurred()) SWIG_fail
; 
4677         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4678         result 
= (wxIconBundle 
*)new wxIconBundle((wxString 
const &)*arg1
,arg2
); 
4680         wxPyEndAllowThreads(__tstate
); 
4681         if (PyErr_Occurred()) SWIG_fail
; 
4683     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1); 
4698 static PyObject 
*_wrap_new_IconBundleFromIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4699     PyObject 
*resultobj
; 
4701     wxIconBundle 
*result
; 
4702     PyObject 
* obj0 
= 0 ; 
4704         (char *) "icon", NULL 
 
4707     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
; 
4708     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
4709     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
4712         PyErr_SetString(PyExc_TypeError
,"null reference"); 
4716         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4717         result 
= (wxIconBundle 
*)new wxIconBundle((wxIcon 
const &)*arg1
); 
4719         wxPyEndAllowThreads(__tstate
); 
4720         if (PyErr_Occurred()) SWIG_fail
; 
4722     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1); 
4729 static PyObject 
*_wrap_delete_IconBundle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4730     PyObject 
*resultobj
; 
4731     wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
4732     PyObject 
* obj0 
= 0 ; 
4734         (char *) "self", NULL 
 
4737     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
; 
4738     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
, 
4739     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4741         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4744         wxPyEndAllowThreads(__tstate
); 
4745         if (PyErr_Occurred()) SWIG_fail
; 
4747     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4754 static PyObject 
*_wrap_IconBundle_AddIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4755     PyObject 
*resultobj
; 
4756     wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
4758     PyObject 
* obj0 
= 0 ; 
4759     PyObject 
* obj1 
= 0 ; 
4761         (char *) "self",(char *) "icon", NULL 
 
4764     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
4765     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
, 
4766     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4767     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
, 
4768     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
4771         PyErr_SetString(PyExc_TypeError
,"null reference"); 
4775         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4776         (arg1
)->AddIcon((wxIcon 
const &)*arg2
); 
4778         wxPyEndAllowThreads(__tstate
); 
4779         if (PyErr_Occurred()) SWIG_fail
; 
4781     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4788 static PyObject 
*_wrap_IconBundle_AddIconFromFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4789     PyObject 
*resultobj
; 
4790     wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
4791     wxString 
*arg2 
= 0 ; 
4793     bool temp2 
= False 
; 
4794     PyObject 
* obj0 
= 0 ; 
4795     PyObject 
* obj1 
= 0 ; 
4796     PyObject 
* obj2 
= 0 ; 
4798         (char *) "self",(char *) "file",(char *) "type", NULL 
 
4801     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4802     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
, 
4803     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4805         arg2 
= wxString_in_helper(obj1
); 
4806         if (arg2 
== NULL
) SWIG_fail
; 
4809     arg3 
= (long)SWIG_As_long(obj2
);  
4810     if (PyErr_Occurred()) SWIG_fail
; 
4812         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4813         (arg1
)->AddIcon((wxString 
const &)*arg2
,arg3
); 
4815         wxPyEndAllowThreads(__tstate
); 
4816         if (PyErr_Occurred()) SWIG_fail
; 
4818     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4833 static PyObject 
*_wrap_IconBundle_GetIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4834     PyObject 
*resultobj
; 
4835     wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
4839     PyObject 
* obj0 
= 0 ; 
4840     PyObject 
* obj1 
= 0 ; 
4842         (char *) "self",(char *) "size", NULL 
 
4845     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
4846     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
, 
4847     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4850         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
4853         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4855             wxIcon 
const &_result_ref 
= ((wxIconBundle 
const *)arg1
)->GetIcon((wxSize 
const &)*arg2
); 
4856             result 
= (wxIcon 
*) &_result_ref
; 
4859         wxPyEndAllowThreads(__tstate
); 
4860         if (PyErr_Occurred()) SWIG_fail
; 
4863         wxIcon
* resultptr 
= new wxIcon(*result
); 
4864         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1); 
4872 static PyObject 
* IconBundle_swigregister(PyObject 
*, PyObject 
*args
) { 
4874     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4875     SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
); 
4877     return Py_BuildValue((char *)""); 
4879 static PyObject 
*_wrap_new_Cursor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4880     PyObject 
*resultobj
; 
4881     wxString 
*arg1 
= (wxString 
*) 0 ; 
4883     int arg3 
= (int) 0 ; 
4884     int arg4 
= (int) 0 ; 
4886     bool temp1 
= False 
; 
4887     PyObject 
* obj0 
= 0 ; 
4888     PyObject 
* obj1 
= 0 ; 
4889     PyObject 
* obj2 
= 0 ; 
4890     PyObject 
* obj3 
= 0 ; 
4892         (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL 
 
4895     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
4897         arg1 
= wxString_in_helper(obj0
); 
4898         if (arg1 
== NULL
) SWIG_fail
; 
4901     arg2 
= (long)SWIG_As_long(obj1
);  
4902     if (PyErr_Occurred()) SWIG_fail
; 
4904         arg3 
= (int)SWIG_As_int(obj2
);  
4905         if (PyErr_Occurred()) SWIG_fail
; 
4908         arg4 
= (int)SWIG_As_int(obj3
);  
4909         if (PyErr_Occurred()) SWIG_fail
; 
4912         if (!wxPyCheckForApp()) SWIG_fail
; 
4913         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4914         result 
= (wxCursor 
*)new_wxCursor((wxString 
const *)arg1
,arg2
,arg3
,arg4
); 
4916         wxPyEndAllowThreads(__tstate
); 
4917         if (PyErr_Occurred()) SWIG_fail
; 
4919     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1); 
4934 static PyObject 
*_wrap_delete_Cursor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4935     PyObject 
*resultobj
; 
4936     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
4937     PyObject 
* obj0 
= 0 ; 
4939         (char *) "self", NULL 
 
4942     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
; 
4943     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
4944     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4946         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4949         wxPyEndAllowThreads(__tstate
); 
4950         if (PyErr_Occurred()) SWIG_fail
; 
4952     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4959 static PyObject 
*_wrap_new_StockCursor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4960     PyObject 
*resultobj
; 
4963     PyObject 
* obj0 
= 0 ; 
4968     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
; 
4969     arg1 
= (int)SWIG_As_int(obj0
);  
4970     if (PyErr_Occurred()) SWIG_fail
; 
4972         if (!wxPyCheckForApp()) SWIG_fail
; 
4973         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4974         result 
= (wxCursor 
*)new wxCursor(arg1
); 
4976         wxPyEndAllowThreads(__tstate
); 
4977         if (PyErr_Occurred()) SWIG_fail
; 
4979     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1); 
4986 static PyObject 
*_wrap_new_CursorFromImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4987     PyObject 
*resultobj
; 
4990     PyObject 
* obj0 
= 0 ; 
4992         (char *) "image", NULL 
 
4995     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
; 
4996     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
, 
4997     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5000         PyErr_SetString(PyExc_TypeError
,"null reference"); 
5004         if (!wxPyCheckForApp()) SWIG_fail
; 
5005         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5006         result 
= (wxCursor 
*)new wxCursor((wxImage 
const &)*arg1
); 
5008         wxPyEndAllowThreads(__tstate
); 
5009         if (PyErr_Occurred()) SWIG_fail
; 
5011     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1); 
5018 static PyObject 
*_wrap_Cursor_GetHandle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5019     PyObject 
*resultobj
; 
5020     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
5022     PyObject 
* obj0 
= 0 ; 
5024         (char *) "self", NULL 
 
5027     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHandle",kwnames
,&obj0
)) goto fail
; 
5028     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
5029     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5031         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5032         result 
= (long)(arg1
)->GetHandle(); 
5034         wxPyEndAllowThreads(__tstate
); 
5035         if (PyErr_Occurred()) SWIG_fail
; 
5037     resultobj 
= SWIG_From_long((long)result
); 
5044 static PyObject 
*_wrap_Cursor_SetHandle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5045     PyObject 
*resultobj
; 
5046     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
5048     PyObject 
* obj0 
= 0 ; 
5049     PyObject 
* obj1 
= 0 ; 
5051         (char *) "self",(char *) "handle", NULL 
 
5054     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
; 
5055     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
5056     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5057     arg2 
= (long)SWIG_As_long(obj1
);  
5058     if (PyErr_Occurred()) SWIG_fail
; 
5060         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5061         wxCursor_SetHandle(arg1
,arg2
); 
5063         wxPyEndAllowThreads(__tstate
); 
5064         if (PyErr_Occurred()) SWIG_fail
; 
5066     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5073 static PyObject 
*_wrap_Cursor_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5074     PyObject 
*resultobj
; 
5075     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
5077     PyObject 
* obj0 
= 0 ; 
5079         (char *) "self", NULL 
 
5082     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
; 
5083     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
5084     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5086         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5087         result 
= (bool)(arg1
)->Ok(); 
5089         wxPyEndAllowThreads(__tstate
); 
5090         if (PyErr_Occurred()) SWIG_fail
; 
5093         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5101 static PyObject 
*_wrap_Cursor_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5102     PyObject 
*resultobj
; 
5103     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
5105     PyObject 
* obj0 
= 0 ; 
5107         (char *) "self", NULL 
 
5110     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetWidth",kwnames
,&obj0
)) goto fail
; 
5111     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
5112     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5114         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5115         result 
= (int)(arg1
)->GetWidth(); 
5117         wxPyEndAllowThreads(__tstate
); 
5118         if (PyErr_Occurred()) SWIG_fail
; 
5120     resultobj 
= SWIG_From_int((int)result
); 
5127 static PyObject 
*_wrap_Cursor_GetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5128     PyObject 
*resultobj
; 
5129     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
5131     PyObject 
* obj0 
= 0 ; 
5133         (char *) "self", NULL 
 
5136     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHeight",kwnames
,&obj0
)) goto fail
; 
5137     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
5138     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5140         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5141         result 
= (int)(arg1
)->GetHeight(); 
5143         wxPyEndAllowThreads(__tstate
); 
5144         if (PyErr_Occurred()) SWIG_fail
; 
5146     resultobj 
= SWIG_From_int((int)result
); 
5153 static PyObject 
*_wrap_Cursor_GetDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5154     PyObject 
*resultobj
; 
5155     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
5157     PyObject 
* obj0 
= 0 ; 
5159         (char *) "self", NULL 
 
5162     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetDepth",kwnames
,&obj0
)) goto fail
; 
5163     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
5164     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5166         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5167         result 
= (int)(arg1
)->GetDepth(); 
5169         wxPyEndAllowThreads(__tstate
); 
5170         if (PyErr_Occurred()) SWIG_fail
; 
5172     resultobj 
= SWIG_From_int((int)result
); 
5179 static PyObject 
*_wrap_Cursor_SetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5180     PyObject 
*resultobj
; 
5181     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
5183     PyObject 
* obj0 
= 0 ; 
5184     PyObject 
* obj1 
= 0 ; 
5186         (char *) "self",(char *) "w", NULL 
 
5189     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
5190     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
5191     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5192     arg2 
= (int)SWIG_As_int(obj1
);  
5193     if (PyErr_Occurred()) SWIG_fail
; 
5195         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5196         (arg1
)->SetWidth(arg2
); 
5198         wxPyEndAllowThreads(__tstate
); 
5199         if (PyErr_Occurred()) SWIG_fail
; 
5201     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5208 static PyObject 
*_wrap_Cursor_SetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5209     PyObject 
*resultobj
; 
5210     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
5212     PyObject 
* obj0 
= 0 ; 
5213     PyObject 
* obj1 
= 0 ; 
5215         (char *) "self",(char *) "h", NULL 
 
5218     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
; 
5219     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
5220     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5221     arg2 
= (int)SWIG_As_int(obj1
);  
5222     if (PyErr_Occurred()) SWIG_fail
; 
5224         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5225         (arg1
)->SetHeight(arg2
); 
5227         wxPyEndAllowThreads(__tstate
); 
5228         if (PyErr_Occurred()) SWIG_fail
; 
5230     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5237 static PyObject 
*_wrap_Cursor_SetDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5238     PyObject 
*resultobj
; 
5239     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
5241     PyObject 
* obj0 
= 0 ; 
5242     PyObject 
* obj1 
= 0 ; 
5244         (char *) "self",(char *) "d", NULL 
 
5247     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
; 
5248     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
5249     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5250     arg2 
= (int)SWIG_As_int(obj1
);  
5251     if (PyErr_Occurred()) SWIG_fail
; 
5253         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5254         (arg1
)->SetDepth(arg2
); 
5256         wxPyEndAllowThreads(__tstate
); 
5257         if (PyErr_Occurred()) SWIG_fail
; 
5259     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5266 static PyObject 
*_wrap_Cursor_SetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5267     PyObject 
*resultobj
; 
5268     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
5271     PyObject 
* obj0 
= 0 ; 
5272     PyObject 
* obj1 
= 0 ; 
5274         (char *) "self",(char *) "size", NULL 
 
5277     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
5278     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
5279     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5282         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
5285         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5286         (arg1
)->SetSize((wxSize 
const &)*arg2
); 
5288         wxPyEndAllowThreads(__tstate
); 
5289         if (PyErr_Occurred()) SWIG_fail
; 
5291     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5298 static PyObject 
* Cursor_swigregister(PyObject 
*, PyObject 
*args
) { 
5300     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5301     SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
); 
5303     return Py_BuildValue((char *)""); 
5305 static PyObject 
*_wrap_new_Region(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5306     PyObject 
*resultobj
; 
5307     int arg1 
= (int) 0 ; 
5308     int arg2 
= (int) 0 ; 
5309     int arg3 
= (int) 0 ; 
5310     int arg4 
= (int) 0 ; 
5312     PyObject 
* obj0 
= 0 ; 
5313     PyObject 
* obj1 
= 0 ; 
5314     PyObject 
* obj2 
= 0 ; 
5315     PyObject 
* obj3 
= 0 ; 
5317         (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
5320     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
5322         arg1 
= (int)SWIG_As_int(obj0
);  
5323         if (PyErr_Occurred()) SWIG_fail
; 
5326         arg2 
= (int)SWIG_As_int(obj1
);  
5327         if (PyErr_Occurred()) SWIG_fail
; 
5330         arg3 
= (int)SWIG_As_int(obj2
);  
5331         if (PyErr_Occurred()) SWIG_fail
; 
5334         arg4 
= (int)SWIG_As_int(obj3
);  
5335         if (PyErr_Occurred()) SWIG_fail
; 
5338         if (!wxPyCheckForApp()) SWIG_fail
; 
5339         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5340         result 
= (wxRegion 
*)new wxRegion(arg1
,arg2
,arg3
,arg4
); 
5342         wxPyEndAllowThreads(__tstate
); 
5343         if (PyErr_Occurred()) SWIG_fail
; 
5345     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1); 
5352 static PyObject 
*_wrap_new_RegionFromBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5353     PyObject 
*resultobj
; 
5354     wxBitmap 
*arg1 
= 0 ; 
5356     PyObject 
* obj0 
= 0 ; 
5358         (char *) "bmp", NULL 
 
5361     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
; 
5362     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
5363     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5366         PyErr_SetString(PyExc_TypeError
,"null reference"); 
5370         if (!wxPyCheckForApp()) SWIG_fail
; 
5371         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5372         result 
= (wxRegion 
*)new wxRegion((wxBitmap 
const &)*arg1
); 
5374         wxPyEndAllowThreads(__tstate
); 
5375         if (PyErr_Occurred()) SWIG_fail
; 
5377     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1); 
5384 static PyObject 
*_wrap_new_RegionFromBitmapColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5385     PyObject 
*resultobj
; 
5386     wxBitmap 
*arg1 
= 0 ; 
5387     wxColour 
*arg2 
= 0 ; 
5388     int arg3 
= (int) 0 ; 
5391     PyObject 
* obj0 
= 0 ; 
5392     PyObject 
* obj1 
= 0 ; 
5393     PyObject 
* obj2 
= 0 ; 
5395         (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL 
 
5398     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5399     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
5400     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5403         PyErr_SetString(PyExc_TypeError
,"null reference"); 
5408         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
5411         arg3 
= (int)SWIG_As_int(obj2
);  
5412         if (PyErr_Occurred()) SWIG_fail
; 
5415         if (!wxPyCheckForApp()) SWIG_fail
; 
5416         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5417         result 
= (wxRegion 
*)new wxRegion((wxBitmap 
const &)*arg1
,(wxColour 
const &)*arg2
,arg3
); 
5419         wxPyEndAllowThreads(__tstate
); 
5420         if (PyErr_Occurred()) SWIG_fail
; 
5422     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1); 
5429 static PyObject 
*_wrap_new_RegionFromPoints(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5430     PyObject 
*resultobj
; 
5432     wxPoint 
*arg2 
= (wxPoint 
*) 0 ; 
5433     int arg3 
= (int) wxWINDING_RULE 
; 
5435     PyObject 
* obj0 
= 0 ; 
5436     PyObject 
* obj1 
= 0 ; 
5438         (char *) "points",(char *) "fillStyle", NULL 
 
5441     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
; 
5443         arg2 
= wxPoint_LIST_helper(obj0
, &arg1
); 
5444         if (arg2 
== NULL
) SWIG_fail
; 
5447         arg3 
= (int)SWIG_As_int(obj1
);  
5448         if (PyErr_Occurred()) SWIG_fail
; 
5451         if (!wxPyCheckForApp()) SWIG_fail
; 
5452         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5453         result 
= (wxRegion 
*)new wxRegion(arg1
,arg2
,arg3
); 
5455         wxPyEndAllowThreads(__tstate
); 
5456         if (PyErr_Occurred()) SWIG_fail
; 
5458     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1); 
5460         if (arg2
) delete [] arg2
; 
5465         if (arg2
) delete [] arg2
; 
5471 static PyObject 
*_wrap_delete_Region(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5472     PyObject 
*resultobj
; 
5473     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5474     PyObject 
* obj0 
= 0 ; 
5476         (char *) "self", NULL 
 
5479     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
; 
5480     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5481     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5483         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5486         wxPyEndAllowThreads(__tstate
); 
5487         if (PyErr_Occurred()) SWIG_fail
; 
5489     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5496 static PyObject 
*_wrap_Region_Clear(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5497     PyObject 
*resultobj
; 
5498     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5499     PyObject 
* obj0 
= 0 ; 
5501         (char *) "self", NULL 
 
5504     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
; 
5505     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5506     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5508         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5511         wxPyEndAllowThreads(__tstate
); 
5512         if (PyErr_Occurred()) SWIG_fail
; 
5514     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5521 static PyObject 
*_wrap_Region_Offset(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5522     PyObject 
*resultobj
; 
5523     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5527     PyObject 
* obj0 
= 0 ; 
5528     PyObject 
* obj1 
= 0 ; 
5529     PyObject 
* obj2 
= 0 ; 
5531         (char *) "self",(char *) "x",(char *) "y", NULL 
 
5534     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5535     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5536     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5537     arg2 
= (int)SWIG_As_int(obj1
);  
5538     if (PyErr_Occurred()) SWIG_fail
; 
5539     arg3 
= (int)SWIG_As_int(obj2
);  
5540     if (PyErr_Occurred()) SWIG_fail
; 
5542         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5543         result 
= (bool)(arg1
)->Offset(arg2
,arg3
); 
5545         wxPyEndAllowThreads(__tstate
); 
5546         if (PyErr_Occurred()) SWIG_fail
; 
5549         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5557 static PyObject 
*_wrap_Region_Contains(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5558     PyObject 
*resultobj
; 
5559     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5563     PyObject 
* obj0 
= 0 ; 
5564     PyObject 
* obj1 
= 0 ; 
5565     PyObject 
* obj2 
= 0 ; 
5567         (char *) "self",(char *) "x",(char *) "y", NULL 
 
5570     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5571     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5572     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5573     arg2 
= (int)SWIG_As_int(obj1
);  
5574     if (PyErr_Occurred()) SWIG_fail
; 
5575     arg3 
= (int)SWIG_As_int(obj2
);  
5576     if (PyErr_Occurred()) SWIG_fail
; 
5578         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5579         result 
= (int)(arg1
)->Contains(arg2
,arg3
); 
5581         wxPyEndAllowThreads(__tstate
); 
5582         if (PyErr_Occurred()) SWIG_fail
; 
5584     resultobj 
= SWIG_From_int((int)result
); 
5591 static PyObject 
*_wrap_Region_ContainsPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5592     PyObject 
*resultobj
; 
5593     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5597     PyObject 
* obj0 
= 0 ; 
5598     PyObject 
* obj1 
= 0 ; 
5600         (char *) "self",(char *) "pt", NULL 
 
5603     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
5604     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5605     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5608         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
5611         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5612         result 
= (int)(arg1
)->Contains((wxPoint 
const &)*arg2
); 
5614         wxPyEndAllowThreads(__tstate
); 
5615         if (PyErr_Occurred()) SWIG_fail
; 
5617     resultobj 
= SWIG_From_int((int)result
); 
5624 static PyObject 
*_wrap_Region_ContainsRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5625     PyObject 
*resultobj
; 
5626     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5630     PyObject 
* obj0 
= 0 ; 
5631     PyObject 
* obj1 
= 0 ; 
5633         (char *) "self",(char *) "rect", NULL 
 
5636     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
5637     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5638     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5641         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
5644         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5645         result 
= (int)(arg1
)->Contains((wxRect 
const &)*arg2
); 
5647         wxPyEndAllowThreads(__tstate
); 
5648         if (PyErr_Occurred()) SWIG_fail
; 
5650     resultobj 
= SWIG_From_int((int)result
); 
5657 static PyObject 
*_wrap_Region_ContainsRectDim(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5658     PyObject 
*resultobj
; 
5659     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5665     PyObject 
* obj0 
= 0 ; 
5666     PyObject 
* obj1 
= 0 ; 
5667     PyObject 
* obj2 
= 0 ; 
5668     PyObject 
* obj3 
= 0 ; 
5669     PyObject 
* obj4 
= 0 ; 
5671         (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL 
 
5674     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
5675     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5676     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5677     arg2 
= (int)SWIG_As_int(obj1
);  
5678     if (PyErr_Occurred()) SWIG_fail
; 
5679     arg3 
= (int)SWIG_As_int(obj2
);  
5680     if (PyErr_Occurred()) SWIG_fail
; 
5681     arg4 
= (int)SWIG_As_int(obj3
);  
5682     if (PyErr_Occurred()) SWIG_fail
; 
5683     arg5 
= (int)SWIG_As_int(obj4
);  
5684     if (PyErr_Occurred()) SWIG_fail
; 
5686         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5687         result 
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
); 
5689         wxPyEndAllowThreads(__tstate
); 
5690         if (PyErr_Occurred()) SWIG_fail
; 
5692     resultobj 
= SWIG_From_int((int)result
); 
5699 static PyObject 
*_wrap_Region_GetBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5700     PyObject 
*resultobj
; 
5701     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5703     PyObject 
* obj0 
= 0 ; 
5705         (char *) "self", NULL 
 
5708     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
; 
5709     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5710     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5712         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5713         result 
= (arg1
)->GetBox(); 
5715         wxPyEndAllowThreads(__tstate
); 
5716         if (PyErr_Occurred()) SWIG_fail
; 
5720         resultptr 
= new wxRect((wxRect 
&) result
); 
5721         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
5729 static PyObject 
*_wrap_Region_Intersect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5730     PyObject 
*resultobj
; 
5731     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5737     PyObject 
* obj0 
= 0 ; 
5738     PyObject 
* obj1 
= 0 ; 
5739     PyObject 
* obj2 
= 0 ; 
5740     PyObject 
* obj3 
= 0 ; 
5741     PyObject 
* obj4 
= 0 ; 
5743         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
5746     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
5747     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5748     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5749     arg2 
= (int)SWIG_As_int(obj1
);  
5750     if (PyErr_Occurred()) SWIG_fail
; 
5751     arg3 
= (int)SWIG_As_int(obj2
);  
5752     if (PyErr_Occurred()) SWIG_fail
; 
5753     arg4 
= (int)SWIG_As_int(obj3
);  
5754     if (PyErr_Occurred()) SWIG_fail
; 
5755     arg5 
= (int)SWIG_As_int(obj4
);  
5756     if (PyErr_Occurred()) SWIG_fail
; 
5758         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5759         result 
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
); 
5761         wxPyEndAllowThreads(__tstate
); 
5762         if (PyErr_Occurred()) SWIG_fail
; 
5765         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5773 static PyObject 
*_wrap_Region_IntersectRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5774     PyObject 
*resultobj
; 
5775     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5779     PyObject 
* obj0 
= 0 ; 
5780     PyObject 
* obj1 
= 0 ; 
5782         (char *) "self",(char *) "rect", NULL 
 
5785     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
5786     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5787     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5790         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
5793         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5794         result 
= (bool)(arg1
)->Intersect((wxRect 
const &)*arg2
); 
5796         wxPyEndAllowThreads(__tstate
); 
5797         if (PyErr_Occurred()) SWIG_fail
; 
5800         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5808 static PyObject 
*_wrap_Region_IntersectRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5809     PyObject 
*resultobj
; 
5810     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5811     wxRegion 
*arg2 
= 0 ; 
5813     PyObject 
* obj0 
= 0 ; 
5814     PyObject 
* obj1 
= 0 ; 
5816         (char *) "self",(char *) "region", NULL 
 
5819     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
; 
5820     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5821     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5822     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
, 
5823     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5826         PyErr_SetString(PyExc_TypeError
,"null reference"); 
5830         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5831         result 
= (bool)(arg1
)->Intersect((wxRegion 
const &)*arg2
); 
5833         wxPyEndAllowThreads(__tstate
); 
5834         if (PyErr_Occurred()) SWIG_fail
; 
5837         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5845 static PyObject 
*_wrap_Region_IsEmpty(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5846     PyObject 
*resultobj
; 
5847     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5849     PyObject 
* obj0 
= 0 ; 
5851         (char *) "self", NULL 
 
5854     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
; 
5855     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5856     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5858         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5859         result 
= (bool)(arg1
)->IsEmpty(); 
5861         wxPyEndAllowThreads(__tstate
); 
5862         if (PyErr_Occurred()) SWIG_fail
; 
5865         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5873 static PyObject 
*_wrap_Region_Union(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5874     PyObject 
*resultobj
; 
5875     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5881     PyObject 
* obj0 
= 0 ; 
5882     PyObject 
* obj1 
= 0 ; 
5883     PyObject 
* obj2 
= 0 ; 
5884     PyObject 
* obj3 
= 0 ; 
5885     PyObject 
* obj4 
= 0 ; 
5887         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
5890     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
5891     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5892     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5893     arg2 
= (int)SWIG_As_int(obj1
);  
5894     if (PyErr_Occurred()) SWIG_fail
; 
5895     arg3 
= (int)SWIG_As_int(obj2
);  
5896     if (PyErr_Occurred()) SWIG_fail
; 
5897     arg4 
= (int)SWIG_As_int(obj3
);  
5898     if (PyErr_Occurred()) SWIG_fail
; 
5899     arg5 
= (int)SWIG_As_int(obj4
);  
5900     if (PyErr_Occurred()) SWIG_fail
; 
5902         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5903         result 
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
); 
5905         wxPyEndAllowThreads(__tstate
); 
5906         if (PyErr_Occurred()) SWIG_fail
; 
5909         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5917 static PyObject 
*_wrap_Region_UnionRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5918     PyObject 
*resultobj
; 
5919     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5923     PyObject 
* obj0 
= 0 ; 
5924     PyObject 
* obj1 
= 0 ; 
5926         (char *) "self",(char *) "rect", NULL 
 
5929     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
5930     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5931     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5934         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
5937         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5938         result 
= (bool)(arg1
)->Union((wxRect 
const &)*arg2
); 
5940         wxPyEndAllowThreads(__tstate
); 
5941         if (PyErr_Occurred()) SWIG_fail
; 
5944         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5952 static PyObject 
*_wrap_Region_UnionRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5953     PyObject 
*resultobj
; 
5954     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5955     wxRegion 
*arg2 
= 0 ; 
5957     PyObject 
* obj0 
= 0 ; 
5958     PyObject 
* obj1 
= 0 ; 
5960         (char *) "self",(char *) "region", NULL 
 
5963     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
; 
5964     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5965     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5966     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
, 
5967     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5970         PyErr_SetString(PyExc_TypeError
,"null reference"); 
5974         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5975         result 
= (bool)(arg1
)->Union((wxRegion 
const &)*arg2
); 
5977         wxPyEndAllowThreads(__tstate
); 
5978         if (PyErr_Occurred()) SWIG_fail
; 
5981         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5989 static PyObject 
*_wrap_Region_Subtract(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5990     PyObject 
*resultobj
; 
5991     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5997     PyObject 
* obj0 
= 0 ; 
5998     PyObject 
* obj1 
= 0 ; 
5999     PyObject 
* obj2 
= 0 ; 
6000     PyObject 
* obj3 
= 0 ; 
6001     PyObject 
* obj4 
= 0 ; 
6003         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
6006     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
6007     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
6008     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6009     arg2 
= (int)SWIG_As_int(obj1
);  
6010     if (PyErr_Occurred()) SWIG_fail
; 
6011     arg3 
= (int)SWIG_As_int(obj2
);  
6012     if (PyErr_Occurred()) SWIG_fail
; 
6013     arg4 
= (int)SWIG_As_int(obj3
);  
6014     if (PyErr_Occurred()) SWIG_fail
; 
6015     arg5 
= (int)SWIG_As_int(obj4
);  
6016     if (PyErr_Occurred()) SWIG_fail
; 
6018         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6019         result 
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
); 
6021         wxPyEndAllowThreads(__tstate
); 
6022         if (PyErr_Occurred()) SWIG_fail
; 
6025         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6033 static PyObject 
*_wrap_Region_SubtractRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6034     PyObject 
*resultobj
; 
6035     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6039     PyObject 
* obj0 
= 0 ; 
6040     PyObject 
* obj1 
= 0 ; 
6042         (char *) "self",(char *) "rect", NULL 
 
6045     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
6046     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
6047     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6050         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
6053         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6054         result 
= (bool)(arg1
)->Subtract((wxRect 
const &)*arg2
); 
6056         wxPyEndAllowThreads(__tstate
); 
6057         if (PyErr_Occurred()) SWIG_fail
; 
6060         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6068 static PyObject 
*_wrap_Region_SubtractRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6069     PyObject 
*resultobj
; 
6070     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6071     wxRegion 
*arg2 
= 0 ; 
6073     PyObject 
* obj0 
= 0 ; 
6074     PyObject 
* obj1 
= 0 ; 
6076         (char *) "self",(char *) "region", NULL 
 
6079     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
; 
6080     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
6081     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6082     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
, 
6083     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6086         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6090         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6091         result 
= (bool)(arg1
)->Subtract((wxRegion 
const &)*arg2
); 
6093         wxPyEndAllowThreads(__tstate
); 
6094         if (PyErr_Occurred()) SWIG_fail
; 
6097         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6105 static PyObject 
*_wrap_Region_Xor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6106     PyObject 
*resultobj
; 
6107     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6113     PyObject 
* obj0 
= 0 ; 
6114     PyObject 
* obj1 
= 0 ; 
6115     PyObject 
* obj2 
= 0 ; 
6116     PyObject 
* obj3 
= 0 ; 
6117     PyObject 
* obj4 
= 0 ; 
6119         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
6122     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
6123     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
6124     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6125     arg2 
= (int)SWIG_As_int(obj1
);  
6126     if (PyErr_Occurred()) SWIG_fail
; 
6127     arg3 
= (int)SWIG_As_int(obj2
);  
6128     if (PyErr_Occurred()) SWIG_fail
; 
6129     arg4 
= (int)SWIG_As_int(obj3
);  
6130     if (PyErr_Occurred()) SWIG_fail
; 
6131     arg5 
= (int)SWIG_As_int(obj4
);  
6132     if (PyErr_Occurred()) SWIG_fail
; 
6134         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6135         result 
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
); 
6137         wxPyEndAllowThreads(__tstate
); 
6138         if (PyErr_Occurred()) SWIG_fail
; 
6141         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6149 static PyObject 
*_wrap_Region_XorRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6150     PyObject 
*resultobj
; 
6151     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6155     PyObject 
* obj0 
= 0 ; 
6156     PyObject 
* obj1 
= 0 ; 
6158         (char *) "self",(char *) "rect", NULL 
 
6161     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
6162     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
6163     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6166         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
6169         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6170         result 
= (bool)(arg1
)->Xor((wxRect 
const &)*arg2
); 
6172         wxPyEndAllowThreads(__tstate
); 
6173         if (PyErr_Occurred()) SWIG_fail
; 
6176         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6184 static PyObject 
*_wrap_Region_XorRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6185     PyObject 
*resultobj
; 
6186     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6187     wxRegion 
*arg2 
= 0 ; 
6189     PyObject 
* obj0 
= 0 ; 
6190     PyObject 
* obj1 
= 0 ; 
6192         (char *) "self",(char *) "region", NULL 
 
6195     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
; 
6196     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
6197     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6198     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
, 
6199     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6202         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6206         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6207         result 
= (bool)(arg1
)->Xor((wxRegion 
const &)*arg2
); 
6209         wxPyEndAllowThreads(__tstate
); 
6210         if (PyErr_Occurred()) SWIG_fail
; 
6213         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6221 static PyObject 
*_wrap_Region_ConvertToBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6222     PyObject 
*resultobj
; 
6223     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6224     SwigValueWrapper
< wxBitmap 
> result
; 
6225     PyObject 
* obj0 
= 0 ; 
6227         (char *) "self", NULL 
 
6230     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
; 
6231     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
6232     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6234         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6235         result 
= (arg1
)->ConvertToBitmap(); 
6237         wxPyEndAllowThreads(__tstate
); 
6238         if (PyErr_Occurred()) SWIG_fail
; 
6241         wxBitmap 
* resultptr
; 
6242         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
6243         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
6251 static PyObject 
*_wrap_Region_UnionBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6252     PyObject 
*resultobj
; 
6253     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6254     wxBitmap 
*arg2 
= 0 ; 
6256     PyObject 
* obj0 
= 0 ; 
6257     PyObject 
* obj1 
= 0 ; 
6259         (char *) "self",(char *) "bmp", NULL 
 
6262     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
6263     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
6264     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6265     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
6266     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6269         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6273         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6274         result 
= (bool)(arg1
)->Union((wxBitmap 
const &)*arg2
); 
6276         wxPyEndAllowThreads(__tstate
); 
6277         if (PyErr_Occurred()) SWIG_fail
; 
6280         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6288 static PyObject 
*_wrap_Region_UnionBitmapColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6289     PyObject 
*resultobj
; 
6290     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6291     wxBitmap 
*arg2 
= 0 ; 
6292     wxColour 
*arg3 
= 0 ; 
6293     int arg4 
= (int) 0 ; 
6296     PyObject 
* obj0 
= 0 ; 
6297     PyObject 
* obj1 
= 0 ; 
6298     PyObject 
* obj2 
= 0 ; 
6299     PyObject 
* obj3 
= 0 ; 
6301         (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL 
 
6304     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
6305     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
6306     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6307     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
6308     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6311         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6316         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
6319         arg4 
= (int)SWIG_As_int(obj3
);  
6320         if (PyErr_Occurred()) SWIG_fail
; 
6323         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6324         result 
= (bool)(arg1
)->Union((wxBitmap 
const &)*arg2
,(wxColour 
const &)*arg3
,arg4
); 
6326         wxPyEndAllowThreads(__tstate
); 
6327         if (PyErr_Occurred()) SWIG_fail
; 
6330         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6338 static PyObject 
* Region_swigregister(PyObject 
*, PyObject 
*args
) { 
6340     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6341     SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
); 
6343     return Py_BuildValue((char *)""); 
6345 static PyObject 
*_wrap_new_RegionIterator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6346     PyObject 
*resultobj
; 
6347     wxRegion 
*arg1 
= 0 ; 
6348     wxRegionIterator 
*result
; 
6349     PyObject 
* obj0 
= 0 ; 
6351         (char *) "region", NULL 
 
6354     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
; 
6355     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
6356     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6359         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6363         if (!wxPyCheckForApp()) SWIG_fail
; 
6364         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6365         result 
= (wxRegionIterator 
*)new wxRegionIterator((wxRegion 
const &)*arg1
); 
6367         wxPyEndAllowThreads(__tstate
); 
6368         if (PyErr_Occurred()) SWIG_fail
; 
6370     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1); 
6377 static PyObject 
*_wrap_delete_RegionIterator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6378     PyObject 
*resultobj
; 
6379     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
6380     PyObject 
* obj0 
= 0 ; 
6382         (char *) "self", NULL 
 
6385     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
; 
6386     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
6387     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6389         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6392         wxPyEndAllowThreads(__tstate
); 
6393         if (PyErr_Occurred()) SWIG_fail
; 
6395     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6402 static PyObject 
*_wrap_RegionIterator_GetX(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6403     PyObject 
*resultobj
; 
6404     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
6406     PyObject 
* obj0 
= 0 ; 
6408         (char *) "self", NULL 
 
6411     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
; 
6412     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
6413     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6415         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6416         result 
= (int)(arg1
)->GetX(); 
6418         wxPyEndAllowThreads(__tstate
); 
6419         if (PyErr_Occurred()) SWIG_fail
; 
6421     resultobj 
= SWIG_From_int((int)result
); 
6428 static PyObject 
*_wrap_RegionIterator_GetY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6429     PyObject 
*resultobj
; 
6430     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
6432     PyObject 
* obj0 
= 0 ; 
6434         (char *) "self", NULL 
 
6437     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
; 
6438     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
6439     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6441         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6442         result 
= (int)(arg1
)->GetY(); 
6444         wxPyEndAllowThreads(__tstate
); 
6445         if (PyErr_Occurred()) SWIG_fail
; 
6447     resultobj 
= SWIG_From_int((int)result
); 
6454 static PyObject 
*_wrap_RegionIterator_GetW(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6455     PyObject 
*resultobj
; 
6456     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
6458     PyObject 
* obj0 
= 0 ; 
6460         (char *) "self", NULL 
 
6463     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
; 
6464     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
6465     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6467         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6468         result 
= (int)(arg1
)->GetW(); 
6470         wxPyEndAllowThreads(__tstate
); 
6471         if (PyErr_Occurred()) SWIG_fail
; 
6473     resultobj 
= SWIG_From_int((int)result
); 
6480 static PyObject 
*_wrap_RegionIterator_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6481     PyObject 
*resultobj
; 
6482     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
6484     PyObject 
* obj0 
= 0 ; 
6486         (char *) "self", NULL 
 
6489     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
; 
6490     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
6491     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6493         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6494         result 
= (int)(arg1
)->GetWidth(); 
6496         wxPyEndAllowThreads(__tstate
); 
6497         if (PyErr_Occurred()) SWIG_fail
; 
6499     resultobj 
= SWIG_From_int((int)result
); 
6506 static PyObject 
*_wrap_RegionIterator_GetH(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6507     PyObject 
*resultobj
; 
6508     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
6510     PyObject 
* obj0 
= 0 ; 
6512         (char *) "self", NULL 
 
6515     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
; 
6516     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
6517     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6519         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6520         result 
= (int)(arg1
)->GetH(); 
6522         wxPyEndAllowThreads(__tstate
); 
6523         if (PyErr_Occurred()) SWIG_fail
; 
6525     resultobj 
= SWIG_From_int((int)result
); 
6532 static PyObject 
*_wrap_RegionIterator_GetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6533     PyObject 
*resultobj
; 
6534     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
6536     PyObject 
* obj0 
= 0 ; 
6538         (char *) "self", NULL 
 
6541     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
; 
6542     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
6543     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6545         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6546         result 
= (int)(arg1
)->GetHeight(); 
6548         wxPyEndAllowThreads(__tstate
); 
6549         if (PyErr_Occurred()) SWIG_fail
; 
6551     resultobj 
= SWIG_From_int((int)result
); 
6558 static PyObject 
*_wrap_RegionIterator_GetRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6559     PyObject 
*resultobj
; 
6560     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
6562     PyObject 
* obj0 
= 0 ; 
6564         (char *) "self", NULL 
 
6567     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
; 
6568     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
6569     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6571         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6572         result 
= (arg1
)->GetRect(); 
6574         wxPyEndAllowThreads(__tstate
); 
6575         if (PyErr_Occurred()) SWIG_fail
; 
6579         resultptr 
= new wxRect((wxRect 
&) result
); 
6580         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
6588 static PyObject 
*_wrap_RegionIterator_HaveRects(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6589     PyObject 
*resultobj
; 
6590     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
6592     PyObject 
* obj0 
= 0 ; 
6594         (char *) "self", NULL 
 
6597     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
; 
6598     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
6599     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6601         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6602         result 
= (bool)(arg1
)->HaveRects(); 
6604         wxPyEndAllowThreads(__tstate
); 
6605         if (PyErr_Occurred()) SWIG_fail
; 
6608         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6616 static PyObject 
*_wrap_RegionIterator_Reset(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6617     PyObject 
*resultobj
; 
6618     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
6619     PyObject 
* obj0 
= 0 ; 
6621         (char *) "self", NULL 
 
6624     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
; 
6625     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
6626     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6628         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6631         wxPyEndAllowThreads(__tstate
); 
6632         if (PyErr_Occurred()) SWIG_fail
; 
6634     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6641 static PyObject 
*_wrap_RegionIterator_Next(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6642     PyObject 
*resultobj
; 
6643     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
6644     PyObject 
* obj0 
= 0 ; 
6646         (char *) "self", NULL 
 
6649     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
; 
6650     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
6651     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6653         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6654         wxRegionIterator_Next(arg1
); 
6656         wxPyEndAllowThreads(__tstate
); 
6657         if (PyErr_Occurred()) SWIG_fail
; 
6659     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6666 static PyObject 
*_wrap_RegionIterator___nonzero__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6667     PyObject 
*resultobj
; 
6668     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
6670     PyObject 
* obj0 
= 0 ; 
6672         (char *) "self", NULL 
 
6675     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
; 
6676     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
6677     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6679         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6680         result 
= (bool)wxRegionIterator___nonzero__(arg1
); 
6682         wxPyEndAllowThreads(__tstate
); 
6683         if (PyErr_Occurred()) SWIG_fail
; 
6686         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6694 static PyObject 
* RegionIterator_swigregister(PyObject 
*, PyObject 
*args
) { 
6696     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6697     SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
); 
6699     return Py_BuildValue((char *)""); 
6701 static PyObject 
*_wrap_new_NativeFontInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6702     PyObject 
*resultobj
; 
6703     wxNativeFontInfo 
*result
; 
6708     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
; 
6710         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6711         result 
= (wxNativeFontInfo 
*)new wxNativeFontInfo(); 
6713         wxPyEndAllowThreads(__tstate
); 
6714         if (PyErr_Occurred()) SWIG_fail
; 
6716     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1); 
6723 static PyObject 
*_wrap_delete_NativeFontInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6724     PyObject 
*resultobj
; 
6725     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6726     PyObject 
* obj0 
= 0 ; 
6728         (char *) "self", NULL 
 
6731     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
; 
6732     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6733     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6735         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6738         wxPyEndAllowThreads(__tstate
); 
6739         if (PyErr_Occurred()) SWIG_fail
; 
6741     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6748 static PyObject 
*_wrap_NativeFontInfo_Init(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6749     PyObject 
*resultobj
; 
6750     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6751     PyObject 
* obj0 
= 0 ; 
6753         (char *) "self", NULL 
 
6756     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
; 
6757     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6758     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6760         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6763         wxPyEndAllowThreads(__tstate
); 
6764         if (PyErr_Occurred()) SWIG_fail
; 
6766     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6773 static PyObject 
*_wrap_NativeFontInfo_InitFromFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6774     PyObject 
*resultobj
; 
6775     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6777     PyObject 
* obj0 
= 0 ; 
6778     PyObject 
* obj1 
= 0 ; 
6780         (char *) "self",(char *) "font", NULL 
 
6783     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
6784     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6785     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6786     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
6787     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6790         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6794         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6795         (arg1
)->InitFromFont((wxFont 
const &)*arg2
); 
6797         wxPyEndAllowThreads(__tstate
); 
6798         if (PyErr_Occurred()) SWIG_fail
; 
6800     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6807 static PyObject 
*_wrap_NativeFontInfo_GetPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6808     PyObject 
*resultobj
; 
6809     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6811     PyObject 
* obj0 
= 0 ; 
6813         (char *) "self", NULL 
 
6816     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
; 
6817     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6818     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6820         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6821         result 
= (int)((wxNativeFontInfo 
const *)arg1
)->GetPointSize(); 
6823         wxPyEndAllowThreads(__tstate
); 
6824         if (PyErr_Occurred()) SWIG_fail
; 
6826     resultobj 
= SWIG_From_int((int)result
); 
6833 static PyObject 
*_wrap_NativeFontInfo_GetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6834     PyObject 
*resultobj
; 
6835     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6837     PyObject 
* obj0 
= 0 ; 
6839         (char *) "self", NULL 
 
6842     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
; 
6843     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6844     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6846         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6847         result 
= (int)((wxNativeFontInfo 
const *)arg1
)->GetStyle(); 
6849         wxPyEndAllowThreads(__tstate
); 
6850         if (PyErr_Occurred()) SWIG_fail
; 
6852     resultobj 
= SWIG_From_int((int)result
); 
6859 static PyObject 
*_wrap_NativeFontInfo_GetWeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6860     PyObject 
*resultobj
; 
6861     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6863     PyObject 
* obj0 
= 0 ; 
6865         (char *) "self", NULL 
 
6868     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
; 
6869     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6870     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6872         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6873         result 
= (int)((wxNativeFontInfo 
const *)arg1
)->GetWeight(); 
6875         wxPyEndAllowThreads(__tstate
); 
6876         if (PyErr_Occurred()) SWIG_fail
; 
6878     resultobj 
= SWIG_From_int((int)result
); 
6885 static PyObject 
*_wrap_NativeFontInfo_GetUnderlined(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6886     PyObject 
*resultobj
; 
6887     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6889     PyObject 
* obj0 
= 0 ; 
6891         (char *) "self", NULL 
 
6894     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
; 
6895     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6896     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6898         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6899         result 
= (bool)((wxNativeFontInfo 
const *)arg1
)->GetUnderlined(); 
6901         wxPyEndAllowThreads(__tstate
); 
6902         if (PyErr_Occurred()) SWIG_fail
; 
6905         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6913 static PyObject 
*_wrap_NativeFontInfo_GetFaceName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6914     PyObject 
*resultobj
; 
6915     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6917     PyObject 
* obj0 
= 0 ; 
6919         (char *) "self", NULL 
 
6922     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
; 
6923     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6924     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6926         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6927         result 
= ((wxNativeFontInfo 
const *)arg1
)->GetFaceName(); 
6929         wxPyEndAllowThreads(__tstate
); 
6930         if (PyErr_Occurred()) SWIG_fail
; 
6934         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6936         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6945 static PyObject 
*_wrap_NativeFontInfo_GetFamily(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6946     PyObject 
*resultobj
; 
6947     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6949     PyObject 
* obj0 
= 0 ; 
6951         (char *) "self", NULL 
 
6954     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
; 
6955     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6956     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6958         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6959         result 
= (int)((wxNativeFontInfo 
const *)arg1
)->GetFamily(); 
6961         wxPyEndAllowThreads(__tstate
); 
6962         if (PyErr_Occurred()) SWIG_fail
; 
6964     resultobj 
= SWIG_From_int((int)result
); 
6971 static PyObject 
*_wrap_NativeFontInfo_GetEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6972     PyObject 
*resultobj
; 
6973     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6975     PyObject 
* obj0 
= 0 ; 
6977         (char *) "self", NULL 
 
6980     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
; 
6981     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6982     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6984         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6985         result 
= (int)((wxNativeFontInfo 
const *)arg1
)->GetEncoding(); 
6987         wxPyEndAllowThreads(__tstate
); 
6988         if (PyErr_Occurred()) SWIG_fail
; 
6990     resultobj 
= SWIG_From_int((int)result
); 
6997 static PyObject 
*_wrap_NativeFontInfo_SetPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6998     PyObject 
*resultobj
; 
6999     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7001     PyObject 
* obj0 
= 0 ; 
7002     PyObject 
* obj1 
= 0 ; 
7004         (char *) "self",(char *) "pointsize", NULL 
 
7007     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
7008     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7009     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7010     arg2 
= (int)SWIG_As_int(obj1
);  
7011     if (PyErr_Occurred()) SWIG_fail
; 
7013         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7014         (arg1
)->SetPointSize(arg2
); 
7016         wxPyEndAllowThreads(__tstate
); 
7017         if (PyErr_Occurred()) SWIG_fail
; 
7019     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7026 static PyObject 
*_wrap_NativeFontInfo_SetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7027     PyObject 
*resultobj
; 
7028     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7030     PyObject 
* obj0 
= 0 ; 
7031     PyObject 
* obj1 
= 0 ; 
7033         (char *) "self",(char *) "style", NULL 
 
7036     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
7037     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7038     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7039     arg2 
= (int)SWIG_As_int(obj1
);  
7040     if (PyErr_Occurred()) SWIG_fail
; 
7042         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7043         (arg1
)->SetStyle((wxFontStyle 
)arg2
); 
7045         wxPyEndAllowThreads(__tstate
); 
7046         if (PyErr_Occurred()) SWIG_fail
; 
7048     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7055 static PyObject 
*_wrap_NativeFontInfo_SetWeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7056     PyObject 
*resultobj
; 
7057     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7059     PyObject 
* obj0 
= 0 ; 
7060     PyObject 
* obj1 
= 0 ; 
7062         (char *) "self",(char *) "weight", NULL 
 
7065     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
; 
7066     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7067     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7068     arg2 
= (int)SWIG_As_int(obj1
);  
7069     if (PyErr_Occurred()) SWIG_fail
; 
7071         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7072         (arg1
)->SetWeight((wxFontWeight 
)arg2
); 
7074         wxPyEndAllowThreads(__tstate
); 
7075         if (PyErr_Occurred()) SWIG_fail
; 
7077     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7084 static PyObject 
*_wrap_NativeFontInfo_SetUnderlined(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7085     PyObject 
*resultobj
; 
7086     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7088     PyObject 
* obj0 
= 0 ; 
7089     PyObject 
* obj1 
= 0 ; 
7091         (char *) "self",(char *) "underlined", NULL 
 
7094     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
; 
7095     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7096     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7097     arg2 
= (bool)SWIG_As_bool(obj1
);  
7098     if (PyErr_Occurred()) SWIG_fail
; 
7100         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7101         (arg1
)->SetUnderlined(arg2
); 
7103         wxPyEndAllowThreads(__tstate
); 
7104         if (PyErr_Occurred()) SWIG_fail
; 
7106     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7113 static PyObject 
*_wrap_NativeFontInfo_SetFaceName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7114     PyObject 
*resultobj
; 
7115     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7117     PyObject 
* obj0 
= 0 ; 
7118     PyObject 
* obj1 
= 0 ; 
7120         (char *) "self",(char *) "facename", NULL 
 
7123     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
; 
7124     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7125     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7127         wxString
* sptr 
= wxString_in_helper(obj1
); 
7128         if (sptr 
== NULL
) SWIG_fail
; 
7133         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7134         (arg1
)->SetFaceName(arg2
); 
7136         wxPyEndAllowThreads(__tstate
); 
7137         if (PyErr_Occurred()) SWIG_fail
; 
7139     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7146 static PyObject 
*_wrap_NativeFontInfo_SetFamily(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7147     PyObject 
*resultobj
; 
7148     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7150     PyObject 
* obj0 
= 0 ; 
7151     PyObject 
* obj1 
= 0 ; 
7153         (char *) "self",(char *) "family", NULL 
 
7156     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
; 
7157     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7158     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7159     arg2 
= (int)SWIG_As_int(obj1
);  
7160     if (PyErr_Occurred()) SWIG_fail
; 
7162         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7163         (arg1
)->SetFamily((wxFontFamily 
)arg2
); 
7165         wxPyEndAllowThreads(__tstate
); 
7166         if (PyErr_Occurred()) SWIG_fail
; 
7168     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7175 static PyObject 
*_wrap_NativeFontInfo_SetEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7176     PyObject 
*resultobj
; 
7177     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7179     PyObject 
* obj0 
= 0 ; 
7180     PyObject 
* obj1 
= 0 ; 
7182         (char *) "self",(char *) "encoding", NULL 
 
7185     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
; 
7186     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7187     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7188     arg2 
= (int)SWIG_As_int(obj1
);  
7189     if (PyErr_Occurred()) SWIG_fail
; 
7191         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7192         (arg1
)->SetEncoding((wxFontEncoding 
)arg2
); 
7194         wxPyEndAllowThreads(__tstate
); 
7195         if (PyErr_Occurred()) SWIG_fail
; 
7197     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7204 static PyObject 
*_wrap_NativeFontInfo_FromString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7205     PyObject 
*resultobj
; 
7206     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7207     wxString 
*arg2 
= 0 ; 
7209     bool temp2 
= False 
; 
7210     PyObject 
* obj0 
= 0 ; 
7211     PyObject 
* obj1 
= 0 ; 
7213         (char *) "self",(char *) "s", NULL 
 
7216     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
; 
7217     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7218     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7220         arg2 
= wxString_in_helper(obj1
); 
7221         if (arg2 
== NULL
) SWIG_fail
; 
7225         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7226         result 
= (bool)(arg1
)->FromString((wxString 
const &)*arg2
); 
7228         wxPyEndAllowThreads(__tstate
); 
7229         if (PyErr_Occurred()) SWIG_fail
; 
7232         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7248 static PyObject 
*_wrap_NativeFontInfo_ToString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7249     PyObject 
*resultobj
; 
7250     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7252     PyObject 
* obj0 
= 0 ; 
7254         (char *) "self", NULL 
 
7257     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
; 
7258     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7259     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7261         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7262         result 
= ((wxNativeFontInfo 
const *)arg1
)->ToString(); 
7264         wxPyEndAllowThreads(__tstate
); 
7265         if (PyErr_Occurred()) SWIG_fail
; 
7269         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7271         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
7280 static PyObject 
*_wrap_NativeFontInfo___str__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7281     PyObject 
*resultobj
; 
7282     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7284     PyObject 
* obj0 
= 0 ; 
7286         (char *) "self", NULL 
 
7289     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
; 
7290     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7291     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7293         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7294         result 
= wxNativeFontInfo___str__(arg1
); 
7296         wxPyEndAllowThreads(__tstate
); 
7297         if (PyErr_Occurred()) SWIG_fail
; 
7301         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7303         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
7312 static PyObject 
*_wrap_NativeFontInfo_FromUserString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7313     PyObject 
*resultobj
; 
7314     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7315     wxString 
*arg2 
= 0 ; 
7317     bool temp2 
= False 
; 
7318     PyObject 
* obj0 
= 0 ; 
7319     PyObject 
* obj1 
= 0 ; 
7321         (char *) "self",(char *) "s", NULL 
 
7324     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
; 
7325     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7326     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7328         arg2 
= wxString_in_helper(obj1
); 
7329         if (arg2 
== NULL
) SWIG_fail
; 
7333         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7334         result 
= (bool)(arg1
)->FromUserString((wxString 
const &)*arg2
); 
7336         wxPyEndAllowThreads(__tstate
); 
7337         if (PyErr_Occurred()) SWIG_fail
; 
7340         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7356 static PyObject 
*_wrap_NativeFontInfo_ToUserString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7357     PyObject 
*resultobj
; 
7358     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7360     PyObject 
* obj0 
= 0 ; 
7362         (char *) "self", NULL 
 
7365     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
; 
7366     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7367     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7369         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7370         result 
= ((wxNativeFontInfo 
const *)arg1
)->ToUserString(); 
7372         wxPyEndAllowThreads(__tstate
); 
7373         if (PyErr_Occurred()) SWIG_fail
; 
7377         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7379         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
7388 static PyObject 
* NativeFontInfo_swigregister(PyObject 
*, PyObject 
*args
) { 
7390     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7391     SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
); 
7393     return Py_BuildValue((char *)""); 
7395 static PyObject 
*_wrap_NativeEncodingInfo_facename_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7396     PyObject 
*resultobj
; 
7397     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
7398     wxString 
*arg2 
= (wxString 
*) 0 ; 
7399     bool temp2 
= False 
; 
7400     PyObject 
* obj0 
= 0 ; 
7401     PyObject 
* obj1 
= 0 ; 
7403         (char *) "self",(char *) "facename", NULL 
 
7406     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
7407     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
, 
7408     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7410         arg2 
= wxString_in_helper(obj1
); 
7411         if (arg2 
== NULL
) SWIG_fail
; 
7414     if (arg1
) (arg1
)->facename 
= *arg2
; 
7416     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7431 static PyObject 
*_wrap_NativeEncodingInfo_facename_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7432     PyObject 
*resultobj
; 
7433     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
7435     PyObject 
* obj0 
= 0 ; 
7437         (char *) "self", NULL 
 
7440     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
; 
7441     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
, 
7442     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7443     result 
= (wxString 
*)& ((arg1
)->facename
); 
7447         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
7449         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
7458 static PyObject 
*_wrap_NativeEncodingInfo_encoding_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7459     PyObject 
*resultobj
; 
7460     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
7462     PyObject 
* obj0 
= 0 ; 
7463     PyObject 
* obj1 
= 0 ; 
7465         (char *) "self",(char *) "encoding", NULL 
 
7468     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
7469     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
, 
7470     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7471     arg2 
= (int)SWIG_As_int(obj1
);  
7472     if (PyErr_Occurred()) SWIG_fail
; 
7473     if (arg1
) (arg1
)->encoding 
= (wxFontEncoding 
)arg2
; 
7475     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7482 static PyObject 
*_wrap_NativeEncodingInfo_encoding_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7483     PyObject 
*resultobj
; 
7484     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
7486     PyObject 
* obj0 
= 0 ; 
7488         (char *) "self", NULL 
 
7491     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
; 
7492     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
, 
7493     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7494     result 
= (int) ((arg1
)->encoding
); 
7496     resultobj 
= SWIG_From_int((int)result
); 
7503 static PyObject 
*_wrap_new_NativeEncodingInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7504     PyObject 
*resultobj
; 
7505     wxNativeEncodingInfo 
*result
; 
7510     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
; 
7512         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7513         result 
= (wxNativeEncodingInfo 
*)new wxNativeEncodingInfo(); 
7515         wxPyEndAllowThreads(__tstate
); 
7516         if (PyErr_Occurred()) SWIG_fail
; 
7518     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1); 
7525 static PyObject 
*_wrap_delete_NativeEncodingInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7526     PyObject 
*resultobj
; 
7527     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
7528     PyObject 
* obj0 
= 0 ; 
7530         (char *) "self", NULL 
 
7533     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
; 
7534     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
, 
7535     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7537         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7540         wxPyEndAllowThreads(__tstate
); 
7541         if (PyErr_Occurred()) SWIG_fail
; 
7543     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7550 static PyObject 
*_wrap_NativeEncodingInfo_FromString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7551     PyObject 
*resultobj
; 
7552     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
7553     wxString 
*arg2 
= 0 ; 
7555     bool temp2 
= False 
; 
7556     PyObject 
* obj0 
= 0 ; 
7557     PyObject 
* obj1 
= 0 ; 
7559         (char *) "self",(char *) "s", NULL 
 
7562     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
; 
7563     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
, 
7564     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7566         arg2 
= wxString_in_helper(obj1
); 
7567         if (arg2 
== NULL
) SWIG_fail
; 
7571         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7572         result 
= (bool)(arg1
)->FromString((wxString 
const &)*arg2
); 
7574         wxPyEndAllowThreads(__tstate
); 
7575         if (PyErr_Occurred()) SWIG_fail
; 
7578         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7594 static PyObject 
*_wrap_NativeEncodingInfo_ToString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7595     PyObject 
*resultobj
; 
7596     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
7598     PyObject 
* obj0 
= 0 ; 
7600         (char *) "self", NULL 
 
7603     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
; 
7604     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
, 
7605     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7607         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7608         result 
= ((wxNativeEncodingInfo 
const *)arg1
)->ToString(); 
7610         wxPyEndAllowThreads(__tstate
); 
7611         if (PyErr_Occurred()) SWIG_fail
; 
7615         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7617         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
7626 static PyObject 
* NativeEncodingInfo_swigregister(PyObject 
*, PyObject 
*args
) { 
7628     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7629     SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
); 
7631     return Py_BuildValue((char *)""); 
7633 static PyObject 
*_wrap_GetNativeFontEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7634     PyObject 
*resultobj
; 
7636     wxNativeEncodingInfo 
*result
; 
7637     PyObject 
* obj0 
= 0 ; 
7639         (char *) "encoding", NULL 
 
7642     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
; 
7643     arg1 
= (int)SWIG_As_int(obj0
);  
7644     if (PyErr_Occurred()) SWIG_fail
; 
7646         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7647         result 
= (wxNativeEncodingInfo 
*)wxGetNativeFontEncoding((wxFontEncoding 
)arg1
); 
7649         wxPyEndAllowThreads(__tstate
); 
7650         if (PyErr_Occurred()) SWIG_fail
; 
7652     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0); 
7659 static PyObject 
*_wrap_TestFontEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7660     PyObject 
*resultobj
; 
7661     wxNativeEncodingInfo 
*arg1 
= 0 ; 
7663     PyObject 
* obj0 
= 0 ; 
7665         (char *) "info", NULL 
 
7668     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
; 
7669     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
, 
7670     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
7673         PyErr_SetString(PyExc_TypeError
,"null reference"); 
7677         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7678         result 
= (bool)wxTestFontEncoding((wxNativeEncodingInfo 
const &)*arg1
); 
7680         wxPyEndAllowThreads(__tstate
); 
7681         if (PyErr_Occurred()) SWIG_fail
; 
7684         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7692 static PyObject 
*_wrap_new_FontMapper(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7693     PyObject 
*resultobj
; 
7694     wxFontMapper 
*result
; 
7699     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
; 
7701         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7702         result 
= (wxFontMapper 
*)new wxFontMapper(); 
7704         wxPyEndAllowThreads(__tstate
); 
7705         if (PyErr_Occurred()) SWIG_fail
; 
7707     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1); 
7714 static PyObject 
*_wrap_delete_FontMapper(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7715     PyObject 
*resultobj
; 
7716     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
7717     PyObject 
* obj0 
= 0 ; 
7719         (char *) "self", NULL 
 
7722     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
; 
7723     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
, 
7724     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7726         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7729         wxPyEndAllowThreads(__tstate
); 
7730         if (PyErr_Occurred()) SWIG_fail
; 
7732     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7739 static PyObject 
*_wrap_FontMapper_Get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7740     PyObject 
*resultobj
; 
7741     wxFontMapper 
*result
; 
7746     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
; 
7748         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7749         result 
= (wxFontMapper 
*)wxFontMapper::Get(); 
7751         wxPyEndAllowThreads(__tstate
); 
7752         if (PyErr_Occurred()) SWIG_fail
; 
7754     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0); 
7761 static PyObject 
*_wrap_FontMapper_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7762     PyObject 
*resultobj
; 
7763     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
7764     wxFontMapper 
*result
; 
7765     PyObject 
* obj0 
= 0 ; 
7767         (char *) "mapper", NULL 
 
7770     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
; 
7771     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
, 
7772     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7774         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7775         result 
= (wxFontMapper 
*)wxFontMapper::Set(arg1
); 
7777         wxPyEndAllowThreads(__tstate
); 
7778         if (PyErr_Occurred()) SWIG_fail
; 
7780     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0); 
7787 static PyObject 
*_wrap_FontMapper_CharsetToEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7788     PyObject 
*resultobj
; 
7789     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
7790     wxString 
*arg2 
= 0 ; 
7791     bool arg3 
= (bool) True 
; 
7793     bool temp2 
= False 
; 
7794     PyObject 
* obj0 
= 0 ; 
7795     PyObject 
* obj1 
= 0 ; 
7796     PyObject 
* obj2 
= 0 ; 
7798         (char *) "self",(char *) "charset",(char *) "interactive", NULL 
 
7801     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7802     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
, 
7803     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7805         arg2 
= wxString_in_helper(obj1
); 
7806         if (arg2 
== NULL
) SWIG_fail
; 
7810         arg3 
= (bool)SWIG_As_bool(obj2
);  
7811         if (PyErr_Occurred()) SWIG_fail
; 
7814         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7815         result 
= (int)(arg1
)->CharsetToEncoding((wxString 
const &)*arg2
,arg3
); 
7817         wxPyEndAllowThreads(__tstate
); 
7818         if (PyErr_Occurred()) SWIG_fail
; 
7820     resultobj 
= SWIG_From_int((int)result
); 
7835 static PyObject 
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7836     PyObject 
*resultobj
; 
7842     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
; 
7844         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7845         result 
= (size_t)wxFontMapper::GetSupportedEncodingsCount(); 
7847         wxPyEndAllowThreads(__tstate
); 
7848         if (PyErr_Occurred()) SWIG_fail
; 
7850     resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)result
); 
7857 static PyObject 
*_wrap_FontMapper_GetEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7858     PyObject 
*resultobj
; 
7861     PyObject 
* obj0 
= 0 ; 
7866     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
; 
7867     arg1 
= (size_t)SWIG_As_unsigned_SS_long(obj0
);  
7868     if (PyErr_Occurred()) SWIG_fail
; 
7870         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7871         result 
= (int)wxFontMapper::GetEncoding(arg1
); 
7873         wxPyEndAllowThreads(__tstate
); 
7874         if (PyErr_Occurred()) SWIG_fail
; 
7876     resultobj 
= SWIG_From_int((int)result
); 
7883 static PyObject 
*_wrap_FontMapper_GetEncodingName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7884     PyObject 
*resultobj
; 
7887     PyObject 
* obj0 
= 0 ; 
7889         (char *) "encoding", NULL 
 
7892     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
; 
7893     arg1 
= (int)SWIG_As_int(obj0
);  
7894     if (PyErr_Occurred()) SWIG_fail
; 
7896         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7897         result 
= wxFontMapper::GetEncodingName((wxFontEncoding 
)arg1
); 
7899         wxPyEndAllowThreads(__tstate
); 
7900         if (PyErr_Occurred()) SWIG_fail
; 
7904         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7906         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
7915 static PyObject 
*_wrap_FontMapper_GetEncodingDescription(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7916     PyObject 
*resultobj
; 
7919     PyObject 
* obj0 
= 0 ; 
7921         (char *) "encoding", NULL 
 
7924     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
; 
7925     arg1 
= (int)SWIG_As_int(obj0
);  
7926     if (PyErr_Occurred()) SWIG_fail
; 
7928         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7929         result 
= wxFontMapper::GetEncodingDescription((wxFontEncoding 
)arg1
); 
7931         wxPyEndAllowThreads(__tstate
); 
7932         if (PyErr_Occurred()) SWIG_fail
; 
7936         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7938         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
7947 static PyObject 
*_wrap_FontMapper_GetEncodingFromName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7948     PyObject 
*resultobj
; 
7949     wxString 
*arg1 
= 0 ; 
7951     bool temp1 
= False 
; 
7952     PyObject 
* obj0 
= 0 ; 
7954         (char *) "name", NULL 
 
7957     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
; 
7959         arg1 
= wxString_in_helper(obj0
); 
7960         if (arg1 
== NULL
) SWIG_fail
; 
7964         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7965         result 
= (int)wxFontMapper::GetEncodingFromName((wxString 
const &)*arg1
); 
7967         wxPyEndAllowThreads(__tstate
); 
7968         if (PyErr_Occurred()) SWIG_fail
; 
7970     resultobj 
= SWIG_From_int((int)result
); 
7985 static PyObject 
*_wrap_FontMapper_SetConfig(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7986     PyObject 
*resultobj
; 
7987     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
7988     wxConfigBase 
*arg2 
= (wxConfigBase 
*) 0 ; 
7989     PyObject 
* obj0 
= 0 ; 
7990     PyObject 
* obj1 
= 0 ; 
7992         (char *) "self",(char *) "config", NULL 
 
7995     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
; 
7996     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
, 
7997     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7998     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
, 
7999     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8001         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8002         (arg1
)->SetConfig(arg2
); 
8004         wxPyEndAllowThreads(__tstate
); 
8005         if (PyErr_Occurred()) SWIG_fail
; 
8007     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8014 static PyObject 
*_wrap_FontMapper_SetConfigPath(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8015     PyObject 
*resultobj
; 
8016     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
8017     wxString 
*arg2 
= 0 ; 
8018     bool temp2 
= False 
; 
8019     PyObject 
* obj0 
= 0 ; 
8020     PyObject 
* obj1 
= 0 ; 
8022         (char *) "self",(char *) "prefix", NULL 
 
8025     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
; 
8026     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
, 
8027     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8029         arg2 
= wxString_in_helper(obj1
); 
8030         if (arg2 
== NULL
) SWIG_fail
; 
8034         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8035         (arg1
)->SetConfigPath((wxString 
const &)*arg2
); 
8037         wxPyEndAllowThreads(__tstate
); 
8038         if (PyErr_Occurred()) SWIG_fail
; 
8040     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8055 static PyObject 
*_wrap_FontMapper_GetDefaultConfigPath(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8056     PyObject 
*resultobj
; 
8062     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
; 
8064         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8065         result 
= wxFontMapper::GetDefaultConfigPath(); 
8067         wxPyEndAllowThreads(__tstate
); 
8068         if (PyErr_Occurred()) SWIG_fail
; 
8072         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8074         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8083 static PyObject 
*_wrap_FontMapper_GetAltForEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8084     PyObject 
*resultobj
; 
8085     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
8087     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
8088     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
8089     bool arg4 
= (bool) True 
; 
8091     bool temp3 
= False 
; 
8092     PyObject 
* obj0 
= 0 ; 
8093     PyObject 
* obj1 
= 0 ; 
8094     PyObject 
* obj2 
= 0 ; 
8095     PyObject 
* obj3 
= 0 ; 
8097         (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL 
 
8100     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
8101     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
, 
8102     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8103     arg2 
= (int)SWIG_As_int(obj1
);  
8104     if (PyErr_Occurred()) SWIG_fail
; 
8107             arg3 
= wxString_in_helper(obj2
); 
8108             if (arg3 
== NULL
) SWIG_fail
; 
8113         arg4 
= (bool)SWIG_As_bool(obj3
);  
8114         if (PyErr_Occurred()) SWIG_fail
; 
8117         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8118         result 
= (PyObject 
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding 
)arg2
,(wxString 
const &)*arg3
,arg4
); 
8120         wxPyEndAllowThreads(__tstate
); 
8121         if (PyErr_Occurred()) SWIG_fail
; 
8138 static PyObject 
*_wrap_FontMapper_IsEncodingAvailable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8139     PyObject 
*resultobj
; 
8140     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
8142     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
8143     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
8145     bool temp3 
= False 
; 
8146     PyObject 
* obj0 
= 0 ; 
8147     PyObject 
* obj1 
= 0 ; 
8148     PyObject 
* obj2 
= 0 ; 
8150         (char *) "self",(char *) "encoding",(char *) "facename", NULL 
 
8153     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8154     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
, 
8155     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8156     arg2 
= (int)SWIG_As_int(obj1
);  
8157     if (PyErr_Occurred()) SWIG_fail
; 
8160             arg3 
= wxString_in_helper(obj2
); 
8161             if (arg3 
== NULL
) SWIG_fail
; 
8166         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8167         result 
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding 
)arg2
,(wxString 
const &)*arg3
); 
8169         wxPyEndAllowThreads(__tstate
); 
8170         if (PyErr_Occurred()) SWIG_fail
; 
8173         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8189 static PyObject 
*_wrap_FontMapper_SetDialogParent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8190     PyObject 
*resultobj
; 
8191     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
8192     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
8193     PyObject 
* obj0 
= 0 ; 
8194     PyObject 
* obj1 
= 0 ; 
8196         (char *) "self",(char *) "parent", NULL 
 
8199     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
; 
8200     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
, 
8201     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8202     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
8203     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8205         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8206         (arg1
)->SetDialogParent(arg2
); 
8208         wxPyEndAllowThreads(__tstate
); 
8209         if (PyErr_Occurred()) SWIG_fail
; 
8211     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8218 static PyObject 
*_wrap_FontMapper_SetDialogTitle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8219     PyObject 
*resultobj
; 
8220     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
8221     wxString 
*arg2 
= 0 ; 
8222     bool temp2 
= False 
; 
8223     PyObject 
* obj0 
= 0 ; 
8224     PyObject 
* obj1 
= 0 ; 
8226         (char *) "self",(char *) "title", NULL 
 
8229     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
; 
8230     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
, 
8231     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8233         arg2 
= wxString_in_helper(obj1
); 
8234         if (arg2 
== NULL
) SWIG_fail
; 
8238         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8239         (arg1
)->SetDialogTitle((wxString 
const &)*arg2
); 
8241         wxPyEndAllowThreads(__tstate
); 
8242         if (PyErr_Occurred()) SWIG_fail
; 
8244     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8259 static PyObject 
* FontMapper_swigregister(PyObject 
*, PyObject 
*args
) { 
8261     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8262     SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
); 
8264     return Py_BuildValue((char *)""); 
8266 static PyObject 
*_wrap_new_Font(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8267     PyObject 
*resultobj
; 
8272     bool arg5 
= (bool) False 
; 
8273     wxString 
const &arg6_defvalue 
= wxPyEmptyString 
; 
8274     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
8275     int arg7 
= (int) wxFONTENCODING_DEFAULT 
; 
8277     bool temp6 
= False 
; 
8278     PyObject 
* obj0 
= 0 ; 
8279     PyObject 
* obj1 
= 0 ; 
8280     PyObject 
* obj2 
= 0 ; 
8281     PyObject 
* obj3 
= 0 ; 
8282     PyObject 
* obj4 
= 0 ; 
8283     PyObject 
* obj5 
= 0 ; 
8284     PyObject 
* obj6 
= 0 ; 
8286         (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL 
 
8289     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
8290     arg1 
= (int)SWIG_As_int(obj0
);  
8291     if (PyErr_Occurred()) SWIG_fail
; 
8292     arg2 
= (int)SWIG_As_int(obj1
);  
8293     if (PyErr_Occurred()) SWIG_fail
; 
8294     arg3 
= (int)SWIG_As_int(obj2
);  
8295     if (PyErr_Occurred()) SWIG_fail
; 
8296     arg4 
= (int)SWIG_As_int(obj3
);  
8297     if (PyErr_Occurred()) SWIG_fail
; 
8299         arg5 
= (bool)SWIG_As_bool(obj4
);  
8300         if (PyErr_Occurred()) SWIG_fail
; 
8304             arg6 
= wxString_in_helper(obj5
); 
8305             if (arg6 
== NULL
) SWIG_fail
; 
8310         arg7 
= (int)SWIG_As_int(obj6
);  
8311         if (PyErr_Occurred()) SWIG_fail
; 
8314         if (!wxPyCheckForApp()) SWIG_fail
; 
8315         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8316         result 
= (wxFont 
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString 
const &)*arg6
,(wxFontEncoding 
)arg7
); 
8318         wxPyEndAllowThreads(__tstate
); 
8319         if (PyErr_Occurred()) SWIG_fail
; 
8321     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1); 
8336 static PyObject 
*_wrap_delete_Font(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8337     PyObject 
*resultobj
; 
8338     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8339     PyObject 
* obj0 
= 0 ; 
8341         (char *) "self", NULL 
 
8344     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
; 
8345     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8346     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8348         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8351         wxPyEndAllowThreads(__tstate
); 
8352         if (PyErr_Occurred()) SWIG_fail
; 
8354     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8361 static PyObject 
*_wrap_new_FontFromNativeInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8362     PyObject 
*resultobj
; 
8363     wxNativeFontInfo 
*arg1 
= 0 ; 
8365     PyObject 
* obj0 
= 0 ; 
8367         (char *) "info", NULL 
 
8370     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
; 
8371     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
8372     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
8375         PyErr_SetString(PyExc_TypeError
,"null reference"); 
8379         if (!wxPyCheckForApp()) SWIG_fail
; 
8380         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8381         result 
= (wxFont 
*)new wxFont((wxNativeFontInfo 
const &)*arg1
); 
8383         wxPyEndAllowThreads(__tstate
); 
8384         if (PyErr_Occurred()) SWIG_fail
; 
8386     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1); 
8393 static PyObject 
*_wrap_new_FontFromNativeInfoString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8394     PyObject 
*resultobj
; 
8395     wxString 
*arg1 
= 0 ; 
8397     bool temp1 
= False 
; 
8398     PyObject 
* obj0 
= 0 ; 
8400         (char *) "info", NULL 
 
8403     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
; 
8405         arg1 
= wxString_in_helper(obj0
); 
8406         if (arg1 
== NULL
) SWIG_fail
; 
8410         if (!wxPyCheckForApp()) SWIG_fail
; 
8411         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8412         result 
= (wxFont 
*)new_wxFont((wxString 
const &)*arg1
); 
8414         wxPyEndAllowThreads(__tstate
); 
8415         if (PyErr_Occurred()) SWIG_fail
; 
8417     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1); 
8432 static PyObject 
*_wrap_new_Font2(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8433     PyObject 
*resultobj
; 
8436     int arg3 
= (int) wxFONTFLAG_DEFAULT 
; 
8437     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
8438     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
8439     int arg5 
= (int) wxFONTENCODING_DEFAULT 
; 
8441     bool temp4 
= False 
; 
8442     PyObject 
* obj0 
= 0 ; 
8443     PyObject 
* obj1 
= 0 ; 
8444     PyObject 
* obj2 
= 0 ; 
8445     PyObject 
* obj3 
= 0 ; 
8446     PyObject 
* obj4 
= 0 ; 
8448         (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL 
 
8451     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
8452     arg1 
= (int)SWIG_As_int(obj0
);  
8453     if (PyErr_Occurred()) SWIG_fail
; 
8454     arg2 
= (int)SWIG_As_int(obj1
);  
8455     if (PyErr_Occurred()) SWIG_fail
; 
8457         arg3 
= (int)SWIG_As_int(obj2
);  
8458         if (PyErr_Occurred()) SWIG_fail
; 
8462             arg4 
= wxString_in_helper(obj3
); 
8463             if (arg4 
== NULL
) SWIG_fail
; 
8468         arg5 
= (int)SWIG_As_int(obj4
);  
8469         if (PyErr_Occurred()) SWIG_fail
; 
8472         if (!wxPyCheckForApp()) SWIG_fail
; 
8473         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8474         result 
= (wxFont 
*)new_wxFont(arg1
,(wxFontFamily 
)arg2
,arg3
,(wxString 
const &)*arg4
,(wxFontEncoding 
)arg5
); 
8476         wxPyEndAllowThreads(__tstate
); 
8477         if (PyErr_Occurred()) SWIG_fail
; 
8479     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1); 
8494 static PyObject 
*_wrap_Font_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8495     PyObject 
*resultobj
; 
8496     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8498     PyObject 
* obj0 
= 0 ; 
8500         (char *) "self", NULL 
 
8503     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
; 
8504     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8505     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8507         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8508         result 
= (bool)((wxFont 
const *)arg1
)->Ok(); 
8510         wxPyEndAllowThreads(__tstate
); 
8511         if (PyErr_Occurred()) SWIG_fail
; 
8514         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8522 static PyObject 
*_wrap_Font___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8523     PyObject 
*resultobj
; 
8524     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8525     wxFont 
*arg2 
= (wxFont 
*) 0 ; 
8527     PyObject 
* obj0 
= 0 ; 
8528     PyObject 
* obj1 
= 0 ; 
8530         (char *) "self",(char *) "other", NULL 
 
8533     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
8534     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8535     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8536     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
8537     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8539         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8540         result 
= (bool)wxFont___eq__(arg1
,(wxFont 
const *)arg2
); 
8542         wxPyEndAllowThreads(__tstate
); 
8543         if (PyErr_Occurred()) SWIG_fail
; 
8546         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8554 static PyObject 
*_wrap_Font___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8555     PyObject 
*resultobj
; 
8556     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8557     wxFont 
*arg2 
= (wxFont 
*) 0 ; 
8559     PyObject 
* obj0 
= 0 ; 
8560     PyObject 
* obj1 
= 0 ; 
8562         (char *) "self",(char *) "other", NULL 
 
8565     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
8566     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8567     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8568     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
8569     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8571         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8572         result 
= (bool)wxFont___ne__(arg1
,(wxFont 
const *)arg2
); 
8574         wxPyEndAllowThreads(__tstate
); 
8575         if (PyErr_Occurred()) SWIG_fail
; 
8578         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8586 static PyObject 
*_wrap_Font_GetPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8587     PyObject 
*resultobj
; 
8588     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8590     PyObject 
* obj0 
= 0 ; 
8592         (char *) "self", NULL 
 
8595     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
; 
8596     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8597     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8599         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8600         result 
= (int)((wxFont 
const *)arg1
)->GetPointSize(); 
8602         wxPyEndAllowThreads(__tstate
); 
8603         if (PyErr_Occurred()) SWIG_fail
; 
8605     resultobj 
= SWIG_From_int((int)result
); 
8612 static PyObject 
*_wrap_Font_GetFamily(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8613     PyObject 
*resultobj
; 
8614     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8616     PyObject 
* obj0 
= 0 ; 
8618         (char *) "self", NULL 
 
8621     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
; 
8622     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8623     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8625         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8626         result 
= (int)((wxFont 
const *)arg1
)->GetFamily(); 
8628         wxPyEndAllowThreads(__tstate
); 
8629         if (PyErr_Occurred()) SWIG_fail
; 
8631     resultobj 
= SWIG_From_int((int)result
); 
8638 static PyObject 
*_wrap_Font_GetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8639     PyObject 
*resultobj
; 
8640     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8642     PyObject 
* obj0 
= 0 ; 
8644         (char *) "self", NULL 
 
8647     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
; 
8648     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8649     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8651         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8652         result 
= (int)((wxFont 
const *)arg1
)->GetStyle(); 
8654         wxPyEndAllowThreads(__tstate
); 
8655         if (PyErr_Occurred()) SWIG_fail
; 
8657     resultobj 
= SWIG_From_int((int)result
); 
8664 static PyObject 
*_wrap_Font_GetWeight(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_GetWeight",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 
= (int)((wxFont 
const *)arg1
)->GetWeight(); 
8680         wxPyEndAllowThreads(__tstate
); 
8681         if (PyErr_Occurred()) SWIG_fail
; 
8683     resultobj 
= SWIG_From_int((int)result
); 
8690 static PyObject 
*_wrap_Font_GetUnderlined(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8691     PyObject 
*resultobj
; 
8692     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8694     PyObject 
* obj0 
= 0 ; 
8696         (char *) "self", NULL 
 
8699     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
; 
8700     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8701     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8703         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8704         result 
= (bool)((wxFont 
const *)arg1
)->GetUnderlined(); 
8706         wxPyEndAllowThreads(__tstate
); 
8707         if (PyErr_Occurred()) SWIG_fail
; 
8710         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8718 static PyObject 
*_wrap_Font_GetFaceName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8719     PyObject 
*resultobj
; 
8720     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8722     PyObject 
* obj0 
= 0 ; 
8724         (char *) "self", NULL 
 
8727     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
; 
8728     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8729     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8731         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8732         result 
= ((wxFont 
const *)arg1
)->GetFaceName(); 
8734         wxPyEndAllowThreads(__tstate
); 
8735         if (PyErr_Occurred()) SWIG_fail
; 
8739         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8741         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8750 static PyObject 
*_wrap_Font_GetEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8751     PyObject 
*resultobj
; 
8752     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8754     PyObject 
* obj0 
= 0 ; 
8756         (char *) "self", NULL 
 
8759     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
; 
8760     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8761     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8763         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8764         result 
= (int)((wxFont 
const *)arg1
)->GetEncoding(); 
8766         wxPyEndAllowThreads(__tstate
); 
8767         if (PyErr_Occurred()) SWIG_fail
; 
8769     resultobj 
= SWIG_From_int((int)result
); 
8776 static PyObject 
*_wrap_Font_GetNativeFontInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8777     PyObject 
*resultobj
; 
8778     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8779     wxNativeFontInfo 
*result
; 
8780     PyObject 
* obj0 
= 0 ; 
8782         (char *) "self", NULL 
 
8785     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
; 
8786     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8787     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8789         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8790         result 
= (wxNativeFontInfo 
*)((wxFont 
const *)arg1
)->GetNativeFontInfo(); 
8792         wxPyEndAllowThreads(__tstate
); 
8793         if (PyErr_Occurred()) SWIG_fail
; 
8795     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0); 
8802 static PyObject 
*_wrap_Font_IsFixedWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8803     PyObject 
*resultobj
; 
8804     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8806     PyObject 
* obj0 
= 0 ; 
8808         (char *) "self", NULL 
 
8811     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
; 
8812     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8813     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8815         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8816         result 
= (bool)((wxFont 
const *)arg1
)->IsFixedWidth(); 
8818         wxPyEndAllowThreads(__tstate
); 
8819         if (PyErr_Occurred()) SWIG_fail
; 
8822         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8830 static PyObject 
*_wrap_Font_GetNativeFontInfoDesc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8831     PyObject 
*resultobj
; 
8832     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8834     PyObject 
* obj0 
= 0 ; 
8836         (char *) "self", NULL 
 
8839     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
; 
8840     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8841     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8843         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8844         result 
= ((wxFont 
const *)arg1
)->GetNativeFontInfoDesc(); 
8846         wxPyEndAllowThreads(__tstate
); 
8847         if (PyErr_Occurred()) SWIG_fail
; 
8851         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8853         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8862 static PyObject 
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8863     PyObject 
*resultobj
; 
8864     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8866     PyObject 
* obj0 
= 0 ; 
8868         (char *) "self", NULL 
 
8871     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
; 
8872     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8873     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8875         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8876         result 
= ((wxFont 
const *)arg1
)->GetNativeFontInfoUserDesc(); 
8878         wxPyEndAllowThreads(__tstate
); 
8879         if (PyErr_Occurred()) SWIG_fail
; 
8883         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8885         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8894 static PyObject 
*_wrap_Font_SetPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8895     PyObject 
*resultobj
; 
8896     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8898     PyObject 
* obj0 
= 0 ; 
8899     PyObject 
* obj1 
= 0 ; 
8901         (char *) "self",(char *) "pointSize", NULL 
 
8904     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
8905     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8906     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8907     arg2 
= (int)SWIG_As_int(obj1
);  
8908     if (PyErr_Occurred()) SWIG_fail
; 
8910         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8911         (arg1
)->SetPointSize(arg2
); 
8913         wxPyEndAllowThreads(__tstate
); 
8914         if (PyErr_Occurred()) SWIG_fail
; 
8916     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8923 static PyObject 
*_wrap_Font_SetFamily(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8924     PyObject 
*resultobj
; 
8925     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8927     PyObject 
* obj0 
= 0 ; 
8928     PyObject 
* obj1 
= 0 ; 
8930         (char *) "self",(char *) "family", NULL 
 
8933     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
; 
8934     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8935     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8936     arg2 
= (int)SWIG_As_int(obj1
);  
8937     if (PyErr_Occurred()) SWIG_fail
; 
8939         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8940         (arg1
)->SetFamily(arg2
); 
8942         wxPyEndAllowThreads(__tstate
); 
8943         if (PyErr_Occurred()) SWIG_fail
; 
8945     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8952 static PyObject 
*_wrap_Font_SetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8953     PyObject 
*resultobj
; 
8954     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8956     PyObject 
* obj0 
= 0 ; 
8957     PyObject 
* obj1 
= 0 ; 
8959         (char *) "self",(char *) "style", NULL 
 
8962     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
8963     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8964     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8965     arg2 
= (int)SWIG_As_int(obj1
);  
8966     if (PyErr_Occurred()) SWIG_fail
; 
8968         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8969         (arg1
)->SetStyle(arg2
); 
8971         wxPyEndAllowThreads(__tstate
); 
8972         if (PyErr_Occurred()) SWIG_fail
; 
8974     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8981 static PyObject 
*_wrap_Font_SetWeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8982     PyObject 
*resultobj
; 
8983     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8985     PyObject 
* obj0 
= 0 ; 
8986     PyObject 
* obj1 
= 0 ; 
8988         (char *) "self",(char *) "weight", NULL 
 
8991     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
; 
8992     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8993     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8994     arg2 
= (int)SWIG_As_int(obj1
);  
8995     if (PyErr_Occurred()) SWIG_fail
; 
8997         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8998         (arg1
)->SetWeight(arg2
); 
9000         wxPyEndAllowThreads(__tstate
); 
9001         if (PyErr_Occurred()) SWIG_fail
; 
9003     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9010 static PyObject 
*_wrap_Font_SetFaceName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9011     PyObject 
*resultobj
; 
9012     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9013     wxString 
*arg2 
= 0 ; 
9014     bool temp2 
= False 
; 
9015     PyObject 
* obj0 
= 0 ; 
9016     PyObject 
* obj1 
= 0 ; 
9018         (char *) "self",(char *) "faceName", NULL 
 
9021     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
; 
9022     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9023     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9025         arg2 
= wxString_in_helper(obj1
); 
9026         if (arg2 
== NULL
) SWIG_fail
; 
9030         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9031         (arg1
)->SetFaceName((wxString 
const &)*arg2
); 
9033         wxPyEndAllowThreads(__tstate
); 
9034         if (PyErr_Occurred()) SWIG_fail
; 
9036     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9051 static PyObject 
*_wrap_Font_SetUnderlined(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9052     PyObject 
*resultobj
; 
9053     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9055     PyObject 
* obj0 
= 0 ; 
9056     PyObject 
* obj1 
= 0 ; 
9058         (char *) "self",(char *) "underlined", NULL 
 
9061     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
; 
9062     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9063     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9064     arg2 
= (bool)SWIG_As_bool(obj1
);  
9065     if (PyErr_Occurred()) SWIG_fail
; 
9067         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9068         (arg1
)->SetUnderlined(arg2
); 
9070         wxPyEndAllowThreads(__tstate
); 
9071         if (PyErr_Occurred()) SWIG_fail
; 
9073     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9080 static PyObject 
*_wrap_Font_SetEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9081     PyObject 
*resultobj
; 
9082     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9084     PyObject 
* obj0 
= 0 ; 
9085     PyObject 
* obj1 
= 0 ; 
9087         (char *) "self",(char *) "encoding", NULL 
 
9090     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
; 
9091     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9092     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9093     arg2 
= (int)SWIG_As_int(obj1
);  
9094     if (PyErr_Occurred()) SWIG_fail
; 
9096         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9097         (arg1
)->SetEncoding((wxFontEncoding 
)arg2
); 
9099         wxPyEndAllowThreads(__tstate
); 
9100         if (PyErr_Occurred()) SWIG_fail
; 
9102     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9109 static PyObject 
*_wrap_Font_SetNativeFontInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9110     PyObject 
*resultobj
; 
9111     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9112     wxNativeFontInfo 
*arg2 
= 0 ; 
9113     PyObject 
* obj0 
= 0 ; 
9114     PyObject 
* obj1 
= 0 ; 
9116         (char *) "self",(char *) "info", NULL 
 
9119     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
; 
9120     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9121     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9122     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
, 
9123     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
9126         PyErr_SetString(PyExc_TypeError
,"null reference"); 
9130         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9131         (arg1
)->SetNativeFontInfo((wxNativeFontInfo 
const &)*arg2
); 
9133         wxPyEndAllowThreads(__tstate
); 
9134         if (PyErr_Occurred()) SWIG_fail
; 
9136     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9143 static PyObject 
*_wrap_Font_SetNativeFontInfoFromString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9144     PyObject 
*resultobj
; 
9145     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9146     wxString 
*arg2 
= 0 ; 
9147     bool temp2 
= False 
; 
9148     PyObject 
* obj0 
= 0 ; 
9149     PyObject 
* obj1 
= 0 ; 
9151         (char *) "self",(char *) "info", NULL 
 
9154     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
; 
9155     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9156     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9158         arg2 
= wxString_in_helper(obj1
); 
9159         if (arg2 
== NULL
) SWIG_fail
; 
9163         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9164         (arg1
)->SetNativeFontInfo((wxString 
const &)*arg2
); 
9166         wxPyEndAllowThreads(__tstate
); 
9167         if (PyErr_Occurred()) SWIG_fail
; 
9169     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9184 static PyObject 
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9185     PyObject 
*resultobj
; 
9186     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9187     wxString 
*arg2 
= 0 ; 
9188     bool temp2 
= False 
; 
9189     PyObject 
* obj0 
= 0 ; 
9190     PyObject 
* obj1 
= 0 ; 
9192         (char *) "self",(char *) "info", NULL 
 
9195     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
; 
9196     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9197     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9199         arg2 
= wxString_in_helper(obj1
); 
9200         if (arg2 
== NULL
) SWIG_fail
; 
9204         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9205         (arg1
)->SetNativeFontInfoUserDesc((wxString 
const &)*arg2
); 
9207         wxPyEndAllowThreads(__tstate
); 
9208         if (PyErr_Occurred()) SWIG_fail
; 
9210     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9225 static PyObject 
*_wrap_Font_GetFamilyString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9226     PyObject 
*resultobj
; 
9227     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9229     PyObject 
* obj0 
= 0 ; 
9231         (char *) "self", NULL 
 
9234     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
; 
9235     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9236     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9238         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9239         result 
= ((wxFont 
const *)arg1
)->GetFamilyString(); 
9241         wxPyEndAllowThreads(__tstate
); 
9242         if (PyErr_Occurred()) SWIG_fail
; 
9246         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9248         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9257 static PyObject 
*_wrap_Font_GetStyleString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9258     PyObject 
*resultobj
; 
9259     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9261     PyObject 
* obj0 
= 0 ; 
9263         (char *) "self", NULL 
 
9266     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
; 
9267     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9268     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9270         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9271         result 
= ((wxFont 
const *)arg1
)->GetStyleString(); 
9273         wxPyEndAllowThreads(__tstate
); 
9274         if (PyErr_Occurred()) SWIG_fail
; 
9278         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9280         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9289 static PyObject 
*_wrap_Font_GetWeightString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9290     PyObject 
*resultobj
; 
9291     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9293     PyObject 
* obj0 
= 0 ; 
9295         (char *) "self", NULL 
 
9298     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
; 
9299     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9300     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9302         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9303         result 
= ((wxFont 
const *)arg1
)->GetWeightString(); 
9305         wxPyEndAllowThreads(__tstate
); 
9306         if (PyErr_Occurred()) SWIG_fail
; 
9310         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9312         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9321 static PyObject 
*_wrap_Font_SetNoAntiAliasing(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9322     PyObject 
*resultobj
; 
9323     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9324     bool arg2 
= (bool) True 
; 
9325     PyObject 
* obj0 
= 0 ; 
9326     PyObject 
* obj1 
= 0 ; 
9328         (char *) "self",(char *) "no", NULL 
 
9331     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
; 
9332     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9333     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9335         arg2 
= (bool)SWIG_As_bool(obj1
);  
9336         if (PyErr_Occurred()) SWIG_fail
; 
9339         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9340         (arg1
)->SetNoAntiAliasing(arg2
); 
9342         wxPyEndAllowThreads(__tstate
); 
9343         if (PyErr_Occurred()) SWIG_fail
; 
9345     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9352 static PyObject 
*_wrap_Font_GetNoAntiAliasing(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9353     PyObject 
*resultobj
; 
9354     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9356     PyObject 
* obj0 
= 0 ; 
9358         (char *) "self", NULL 
 
9361     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
; 
9362     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9363     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9365         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9366         result 
= (bool)((wxFont 
const *)arg1
)->GetNoAntiAliasing(); 
9368         wxPyEndAllowThreads(__tstate
); 
9369         if (PyErr_Occurred()) SWIG_fail
; 
9372         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9380 static PyObject 
*_wrap_Font_GetDefaultEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9381     PyObject 
*resultobj
; 
9387     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
; 
9389         if (!wxPyCheckForApp()) SWIG_fail
; 
9390         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9391         result 
= (int)wxFont::GetDefaultEncoding(); 
9393         wxPyEndAllowThreads(__tstate
); 
9394         if (PyErr_Occurred()) SWIG_fail
; 
9396     resultobj 
= SWIG_From_int((int)result
); 
9403 static PyObject 
*_wrap_Font_SetDefaultEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9404     PyObject 
*resultobj
; 
9406     PyObject 
* obj0 
= 0 ; 
9408         (char *) "encoding", NULL 
 
9411     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
; 
9412     arg1 
= (int)SWIG_As_int(obj0
);  
9413     if (PyErr_Occurred()) SWIG_fail
; 
9415         if (!wxPyCheckForApp()) SWIG_fail
; 
9416         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9417         wxFont::SetDefaultEncoding((wxFontEncoding 
)arg1
); 
9419         wxPyEndAllowThreads(__tstate
); 
9420         if (PyErr_Occurred()) SWIG_fail
; 
9422     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9429 static PyObject 
* Font_swigregister(PyObject 
*, PyObject 
*args
) { 
9431     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
9432     SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
); 
9434     return Py_BuildValue((char *)""); 
9436 static PyObject 
*_wrap_new_FontEnumerator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9437     PyObject 
*resultobj
; 
9438     wxPyFontEnumerator 
*result
; 
9443     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
; 
9445         if (!wxPyCheckForApp()) SWIG_fail
; 
9446         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9447         result 
= (wxPyFontEnumerator 
*)new wxPyFontEnumerator(); 
9449         wxPyEndAllowThreads(__tstate
); 
9450         if (PyErr_Occurred()) SWIG_fail
; 
9452     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1); 
9459 static PyObject 
*_wrap_delete_FontEnumerator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9460     PyObject 
*resultobj
; 
9461     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
9462     PyObject 
* obj0 
= 0 ; 
9464         (char *) "self", NULL 
 
9467     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
; 
9468     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
, 
9469     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9471         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9474         wxPyEndAllowThreads(__tstate
); 
9475         if (PyErr_Occurred()) SWIG_fail
; 
9477     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9484 static PyObject 
*_wrap_FontEnumerator__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9485     PyObject 
*resultobj
; 
9486     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
9487     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
9488     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
9490     PyObject 
* obj0 
= 0 ; 
9491     PyObject 
* obj1 
= 0 ; 
9492     PyObject 
* obj2 
= 0 ; 
9493     PyObject 
* obj3 
= 0 ; 
9495         (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL 
 
9498     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
9499     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
, 
9500     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9503     arg4 
= (bool)SWIG_As_bool(obj3
);  
9504     if (PyErr_Occurred()) SWIG_fail
; 
9506         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9507         (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
); 
9509         wxPyEndAllowThreads(__tstate
); 
9510         if (PyErr_Occurred()) SWIG_fail
; 
9512     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9519 static PyObject 
*_wrap_FontEnumerator_EnumerateFacenames(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9520     PyObject 
*resultobj
; 
9521     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
9522     int arg2 
= (int) wxFONTENCODING_SYSTEM 
; 
9523     bool arg3 
= (bool) False 
; 
9525     PyObject 
* obj0 
= 0 ; 
9526     PyObject 
* obj1 
= 0 ; 
9527     PyObject 
* obj2 
= 0 ; 
9529         (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL 
 
9532     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9533     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
, 
9534     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9536         arg2 
= (int)SWIG_As_int(obj1
);  
9537         if (PyErr_Occurred()) SWIG_fail
; 
9540         arg3 
= (bool)SWIG_As_bool(obj2
);  
9541         if (PyErr_Occurred()) SWIG_fail
; 
9544         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9545         result 
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding 
)arg2
,arg3
); 
9547         wxPyEndAllowThreads(__tstate
); 
9548         if (PyErr_Occurred()) SWIG_fail
; 
9551         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9559 static PyObject 
*_wrap_FontEnumerator_EnumerateEncodings(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9560     PyObject 
*resultobj
; 
9561     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
9562     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
9563     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
9565     bool temp2 
= False 
; 
9566     PyObject 
* obj0 
= 0 ; 
9567     PyObject 
* obj1 
= 0 ; 
9569         (char *) "self",(char *) "facename", NULL 
 
9572     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
; 
9573     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
, 
9574     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9577             arg2 
= wxString_in_helper(obj1
); 
9578             if (arg2 
== NULL
) SWIG_fail
; 
9583         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9584         result 
= (bool)(arg1
)->EnumerateEncodings((wxString 
const &)*arg2
); 
9586         wxPyEndAllowThreads(__tstate
); 
9587         if (PyErr_Occurred()) SWIG_fail
; 
9590         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9606 static PyObject 
*_wrap_FontEnumerator_GetEncodings(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9607     PyObject 
*resultobj
; 
9608     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
9610     PyObject 
* obj0 
= 0 ; 
9612         (char *) "self", NULL 
 
9615     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
; 
9616     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
, 
9617     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9619         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9620         result 
= (PyObject 
*)wxPyFontEnumerator_GetEncodings(arg1
); 
9622         wxPyEndAllowThreads(__tstate
); 
9623         if (PyErr_Occurred()) SWIG_fail
; 
9632 static PyObject 
*_wrap_FontEnumerator_GetFacenames(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9633     PyObject 
*resultobj
; 
9634     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
9636     PyObject 
* obj0 
= 0 ; 
9638         (char *) "self", NULL 
 
9641     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
; 
9642     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
, 
9643     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9645         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9646         result 
= (PyObject 
*)wxPyFontEnumerator_GetFacenames(arg1
); 
9648         wxPyEndAllowThreads(__tstate
); 
9649         if (PyErr_Occurred()) SWIG_fail
; 
9658 static PyObject 
* FontEnumerator_swigregister(PyObject 
*, PyObject 
*args
) { 
9660     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
9661     SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
); 
9663     return Py_BuildValue((char *)""); 
9665 static PyObject 
*_wrap_LanguageInfo_Language_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9666     PyObject 
*resultobj
; 
9667     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
9669     PyObject 
* obj0 
= 0 ; 
9670     PyObject 
* obj1 
= 0 ; 
9672         (char *) "self",(char *) "Language", NULL 
 
9675     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
9676     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
, 
9677     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9678     arg2 
= (int)SWIG_As_int(obj1
);  
9679     if (PyErr_Occurred()) SWIG_fail
; 
9680     if (arg1
) (arg1
)->Language 
= arg2
; 
9682     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9689 static PyObject 
*_wrap_LanguageInfo_Language_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9690     PyObject 
*resultobj
; 
9691     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
9693     PyObject 
* obj0 
= 0 ; 
9695         (char *) "self", NULL 
 
9698     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
; 
9699     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
, 
9700     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9701     result 
= (int) ((arg1
)->Language
); 
9703     resultobj 
= SWIG_From_int((int)result
); 
9710 static PyObject 
*_wrap_LanguageInfo_CanonicalName_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9711     PyObject 
*resultobj
; 
9712     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
9713     wxString 
*arg2 
= (wxString 
*) 0 ; 
9714     bool temp2 
= False 
; 
9715     PyObject 
* obj0 
= 0 ; 
9716     PyObject 
* obj1 
= 0 ; 
9718         (char *) "self",(char *) "CanonicalName", NULL 
 
9721     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
9722     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
, 
9723     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9725         arg2 
= wxString_in_helper(obj1
); 
9726         if (arg2 
== NULL
) SWIG_fail
; 
9729     if (arg1
) (arg1
)->CanonicalName 
= *arg2
; 
9731     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9746 static PyObject 
*_wrap_LanguageInfo_CanonicalName_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9747     PyObject 
*resultobj
; 
9748     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
9750     PyObject 
* obj0 
= 0 ; 
9752         (char *) "self", NULL 
 
9755     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
; 
9756     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
, 
9757     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9758     result 
= (wxString 
*)& ((arg1
)->CanonicalName
); 
9762         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
9764         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
9773 static PyObject 
*_wrap_LanguageInfo_Description_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9774     PyObject 
*resultobj
; 
9775     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
9776     wxString 
*arg2 
= (wxString 
*) 0 ; 
9777     bool temp2 
= False 
; 
9778     PyObject 
* obj0 
= 0 ; 
9779     PyObject 
* obj1 
= 0 ; 
9781         (char *) "self",(char *) "Description", NULL 
 
9784     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
9785     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
, 
9786     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9788         arg2 
= wxString_in_helper(obj1
); 
9789         if (arg2 
== NULL
) SWIG_fail
; 
9792     if (arg1
) (arg1
)->Description 
= *arg2
; 
9794     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9809 static PyObject 
*_wrap_LanguageInfo_Description_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9810     PyObject 
*resultobj
; 
9811     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
9813     PyObject 
* obj0 
= 0 ; 
9815         (char *) "self", NULL 
 
9818     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
; 
9819     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
, 
9820     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9821     result 
= (wxString 
*)& ((arg1
)->Description
); 
9825         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
9827         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
9836 static PyObject 
* LanguageInfo_swigregister(PyObject 
*, PyObject 
*args
) { 
9838     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
9839     SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
); 
9841     return Py_BuildValue((char *)""); 
9843 static PyObject 
*_wrap_new_Locale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9844     PyObject 
*resultobj
; 
9845     int arg1 
= (int) -1 ; 
9846     int arg2 
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING 
; 
9848     PyObject 
* obj0 
= 0 ; 
9849     PyObject 
* obj1 
= 0 ; 
9851         (char *) "language",(char *) "flags", NULL 
 
9854     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
; 
9856         arg1 
= (int)SWIG_As_int(obj0
);  
9857         if (PyErr_Occurred()) SWIG_fail
; 
9860         arg2 
= (int)SWIG_As_int(obj1
);  
9861         if (PyErr_Occurred()) SWIG_fail
; 
9864         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9865         result 
= (wxLocale 
*)new_wxLocale(arg1
,arg2
); 
9867         wxPyEndAllowThreads(__tstate
); 
9868         if (PyErr_Occurred()) SWIG_fail
; 
9870     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1); 
9877 static PyObject 
*_wrap_delete_Locale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9878     PyObject 
*resultobj
; 
9879     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
9880     PyObject 
* obj0 
= 0 ; 
9882         (char *) "self", NULL 
 
9885     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
; 
9886     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
9887     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9889         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9892         wxPyEndAllowThreads(__tstate
); 
9893         if (PyErr_Occurred()) SWIG_fail
; 
9895     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9902 static PyObject 
*_wrap_Locale_Init1(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9903     PyObject 
*resultobj
; 
9904     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
9905     wxString 
*arg2 
= 0 ; 
9906     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
9907     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
9908     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
9909     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
9910     bool arg5 
= (bool) True 
; 
9911     bool arg6 
= (bool) False 
; 
9913     bool temp2 
= False 
; 
9914     bool temp3 
= False 
; 
9915     bool temp4 
= False 
; 
9916     PyObject 
* obj0 
= 0 ; 
9917     PyObject 
* obj1 
= 0 ; 
9918     PyObject 
* obj2 
= 0 ; 
9919     PyObject 
* obj3 
= 0 ; 
9920     PyObject 
* obj4 
= 0 ; 
9921     PyObject 
* obj5 
= 0 ; 
9923         (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL 
 
9926     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
9927     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
9928     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9930         arg2 
= wxString_in_helper(obj1
); 
9931         if (arg2 
== NULL
) SWIG_fail
; 
9936             arg3 
= wxString_in_helper(obj2
); 
9937             if (arg3 
== NULL
) SWIG_fail
; 
9943             arg4 
= wxString_in_helper(obj3
); 
9944             if (arg4 
== NULL
) SWIG_fail
; 
9949         arg5 
= (bool)SWIG_As_bool(obj4
);  
9950         if (PyErr_Occurred()) SWIG_fail
; 
9953         arg6 
= (bool)SWIG_As_bool(obj5
);  
9954         if (PyErr_Occurred()) SWIG_fail
; 
9957         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9958         result 
= (bool)(arg1
)->Init((wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
,arg6
); 
9960         wxPyEndAllowThreads(__tstate
); 
9961         if (PyErr_Occurred()) SWIG_fail
; 
9964         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9996 static PyObject 
*_wrap_Locale_Init2(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9997     PyObject 
*resultobj
; 
9998     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
9999     int arg2 
= (int) wxLANGUAGE_DEFAULT 
; 
10000     int arg3 
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING 
; 
10002     PyObject 
* obj0 
= 0 ; 
10003     PyObject 
* obj1 
= 0 ; 
10004     PyObject 
* obj2 
= 0 ; 
10005     char *kwnames
[] = { 
10006         (char *) "self",(char *) "language",(char *) "flags", NULL 
 
10009     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10010     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
10011     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10013         arg2 
= (int)SWIG_As_int(obj1
);  
10014         if (PyErr_Occurred()) SWIG_fail
; 
10017         arg3 
= (int)SWIG_As_int(obj2
);  
10018         if (PyErr_Occurred()) SWIG_fail
; 
10021         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10022         result 
= (bool)(arg1
)->Init(arg2
,arg3
); 
10024         wxPyEndAllowThreads(__tstate
); 
10025         if (PyErr_Occurred()) SWIG_fail
; 
10028         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10036 static PyObject 
*_wrap_Locale_GetSystemLanguage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10037     PyObject 
*resultobj
; 
10039     char *kwnames
[] = { 
10043     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
; 
10045         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10046         result 
= (int)wxLocale::GetSystemLanguage(); 
10048         wxPyEndAllowThreads(__tstate
); 
10049         if (PyErr_Occurred()) SWIG_fail
; 
10051     resultobj 
= SWIG_From_int((int)result
); 
10058 static PyObject 
*_wrap_Locale_GetSystemEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10059     PyObject 
*resultobj
; 
10061     char *kwnames
[] = { 
10065     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
; 
10067         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10068         result 
= (int)wxLocale::GetSystemEncoding(); 
10070         wxPyEndAllowThreads(__tstate
); 
10071         if (PyErr_Occurred()) SWIG_fail
; 
10073     resultobj 
= SWIG_From_int((int)result
); 
10080 static PyObject 
*_wrap_Locale_GetSystemEncodingName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10081     PyObject 
*resultobj
; 
10083     char *kwnames
[] = { 
10087     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
; 
10089         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10090         result 
= wxLocale::GetSystemEncodingName(); 
10092         wxPyEndAllowThreads(__tstate
); 
10093         if (PyErr_Occurred()) SWIG_fail
; 
10097         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10099         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10108 static PyObject 
*_wrap_Locale_IsOk(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10109     PyObject 
*resultobj
; 
10110     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
10112     PyObject 
* obj0 
= 0 ; 
10113     char *kwnames
[] = { 
10114         (char *) "self", NULL 
 
10117     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
; 
10118     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
10119     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10121         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10122         result 
= (bool)((wxLocale 
const *)arg1
)->IsOk(); 
10124         wxPyEndAllowThreads(__tstate
); 
10125         if (PyErr_Occurred()) SWIG_fail
; 
10128         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10136 static PyObject 
*_wrap_Locale_GetLocale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10137     PyObject 
*resultobj
; 
10138     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
10140     PyObject 
* obj0 
= 0 ; 
10141     char *kwnames
[] = { 
10142         (char *) "self", NULL 
 
10145     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
; 
10146     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
10147     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10149         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10150         result 
= ((wxLocale 
const *)arg1
)->GetLocale(); 
10152         wxPyEndAllowThreads(__tstate
); 
10153         if (PyErr_Occurred()) SWIG_fail
; 
10157         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10159         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10168 static PyObject 
*_wrap_Locale_GetLanguage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10169     PyObject 
*resultobj
; 
10170     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
10172     PyObject 
* obj0 
= 0 ; 
10173     char *kwnames
[] = { 
10174         (char *) "self", NULL 
 
10177     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
; 
10178     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
10179     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10181         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10182         result 
= (int)((wxLocale 
const *)arg1
)->GetLanguage(); 
10184         wxPyEndAllowThreads(__tstate
); 
10185         if (PyErr_Occurred()) SWIG_fail
; 
10187     resultobj 
= SWIG_From_int((int)result
); 
10194 static PyObject 
*_wrap_Locale_GetSysName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10195     PyObject 
*resultobj
; 
10196     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
10198     PyObject 
* obj0 
= 0 ; 
10199     char *kwnames
[] = { 
10200         (char *) "self", NULL 
 
10203     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
; 
10204     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
10205     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10207         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10208         result 
= ((wxLocale 
const *)arg1
)->GetSysName(); 
10210         wxPyEndAllowThreads(__tstate
); 
10211         if (PyErr_Occurred()) SWIG_fail
; 
10215         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10217         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10226 static PyObject 
*_wrap_Locale_GetCanonicalName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10227     PyObject 
*resultobj
; 
10228     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
10230     PyObject 
* obj0 
= 0 ; 
10231     char *kwnames
[] = { 
10232         (char *) "self", NULL 
 
10235     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
; 
10236     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
10237     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10239         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10240         result 
= ((wxLocale 
const *)arg1
)->GetCanonicalName(); 
10242         wxPyEndAllowThreads(__tstate
); 
10243         if (PyErr_Occurred()) SWIG_fail
; 
10247         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10249         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10258 static PyObject 
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10259     PyObject 
*resultobj
; 
10260     wxString 
*arg1 
= 0 ; 
10261     bool temp1 
= False 
; 
10262     PyObject 
* obj0 
= 0 ; 
10263     char *kwnames
[] = { 
10264         (char *) "prefix", NULL 
 
10267     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
; 
10269         arg1 
= wxString_in_helper(obj0
); 
10270         if (arg1 
== NULL
) SWIG_fail
; 
10274         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10275         wxLocale::AddCatalogLookupPathPrefix((wxString 
const &)*arg1
); 
10277         wxPyEndAllowThreads(__tstate
); 
10278         if (PyErr_Occurred()) SWIG_fail
; 
10280     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10295 static PyObject 
*_wrap_Locale_AddCatalog(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10296     PyObject 
*resultobj
; 
10297     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
10298     wxString 
*arg2 
= 0 ; 
10300     bool temp2 
= False 
; 
10301     PyObject 
* obj0 
= 0 ; 
10302     PyObject 
* obj1 
= 0 ; 
10303     char *kwnames
[] = { 
10304         (char *) "self",(char *) "szDomain", NULL 
 
10307     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
; 
10308     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
10309     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10311         arg2 
= wxString_in_helper(obj1
); 
10312         if (arg2 
== NULL
) SWIG_fail
; 
10316         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10317         result 
= (bool)(arg1
)->AddCatalog((wxString 
const &)*arg2
); 
10319         wxPyEndAllowThreads(__tstate
); 
10320         if (PyErr_Occurred()) SWIG_fail
; 
10323         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10339 static PyObject 
*_wrap_Locale_IsLoaded(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10340     PyObject 
*resultobj
; 
10341     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
10342     wxString 
*arg2 
= 0 ; 
10344     bool temp2 
= False 
; 
10345     PyObject 
* obj0 
= 0 ; 
10346     PyObject 
* obj1 
= 0 ; 
10347     char *kwnames
[] = { 
10348         (char *) "self",(char *) "szDomain", NULL 
 
10351     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
; 
10352     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
10353     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10355         arg2 
= wxString_in_helper(obj1
); 
10356         if (arg2 
== NULL
) SWIG_fail
; 
10360         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10361         result 
= (bool)((wxLocale 
const *)arg1
)->IsLoaded((wxString 
const &)*arg2
); 
10363         wxPyEndAllowThreads(__tstate
); 
10364         if (PyErr_Occurred()) SWIG_fail
; 
10367         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10383 static PyObject 
*_wrap_Locale_GetLanguageInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10384     PyObject 
*resultobj
; 
10386     wxLanguageInfo 
*result
; 
10387     PyObject 
* obj0 
= 0 ; 
10388     char *kwnames
[] = { 
10389         (char *) "lang", NULL 
 
10392     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
; 
10393     arg1 
= (int)SWIG_As_int(obj0
);  
10394     if (PyErr_Occurred()) SWIG_fail
; 
10396         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10397         result 
= (wxLanguageInfo 
*)wxLocale::GetLanguageInfo(arg1
); 
10399         wxPyEndAllowThreads(__tstate
); 
10400         if (PyErr_Occurred()) SWIG_fail
; 
10402     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0); 
10409 static PyObject 
*_wrap_Locale_GetLanguageName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10410     PyObject 
*resultobj
; 
10413     PyObject 
* obj0 
= 0 ; 
10414     char *kwnames
[] = { 
10415         (char *) "lang", NULL 
 
10418     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
; 
10419     arg1 
= (int)SWIG_As_int(obj0
);  
10420     if (PyErr_Occurred()) SWIG_fail
; 
10422         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10423         result 
= wxLocale::GetLanguageName(arg1
); 
10425         wxPyEndAllowThreads(__tstate
); 
10426         if (PyErr_Occurred()) SWIG_fail
; 
10430         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10432         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10441 static PyObject 
*_wrap_Locale_FindLanguageInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10442     PyObject 
*resultobj
; 
10443     wxString 
*arg1 
= 0 ; 
10444     wxLanguageInfo 
*result
; 
10445     bool temp1 
= False 
; 
10446     PyObject 
* obj0 
= 0 ; 
10447     char *kwnames
[] = { 
10448         (char *) "locale", NULL 
 
10451     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
; 
10453         arg1 
= wxString_in_helper(obj0
); 
10454         if (arg1 
== NULL
) SWIG_fail
; 
10458         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10459         result 
= (wxLanguageInfo 
*)wxLocale::FindLanguageInfo((wxString 
const &)*arg1
); 
10461         wxPyEndAllowThreads(__tstate
); 
10462         if (PyErr_Occurred()) SWIG_fail
; 
10464     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0); 
10479 static PyObject 
*_wrap_Locale_AddLanguage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10480     PyObject 
*resultobj
; 
10481     wxLanguageInfo 
*arg1 
= 0 ; 
10482     PyObject 
* obj0 
= 0 ; 
10483     char *kwnames
[] = { 
10484         (char *) "info", NULL 
 
10487     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
; 
10488     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
, 
10489     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
10491     if (arg1 
== NULL
) { 
10492         PyErr_SetString(PyExc_TypeError
,"null reference"); 
10496         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10497         wxLocale::AddLanguage((wxLanguageInfo 
const &)*arg1
); 
10499         wxPyEndAllowThreads(__tstate
); 
10500         if (PyErr_Occurred()) SWIG_fail
; 
10502     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10509 static PyObject 
*_wrap_Locale_GetString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10510     PyObject 
*resultobj
; 
10511     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
10512     wxString 
*arg2 
= 0 ; 
10513     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
10514     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
10516     bool temp2 
= False 
; 
10517     bool temp3 
= False 
; 
10518     PyObject 
* obj0 
= 0 ; 
10519     PyObject 
* obj1 
= 0 ; 
10520     PyObject 
* obj2 
= 0 ; 
10521     char *kwnames
[] = { 
10522         (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL 
 
10525     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10526     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
10527     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10529         arg2 
= wxString_in_helper(obj1
); 
10530         if (arg2 
== NULL
) SWIG_fail
; 
10535             arg3 
= wxString_in_helper(obj2
); 
10536             if (arg3 
== NULL
) SWIG_fail
; 
10541         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10542         result 
= ((wxLocale 
const *)arg1
)->GetString((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
10544         wxPyEndAllowThreads(__tstate
); 
10545         if (PyErr_Occurred()) SWIG_fail
; 
10549         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10551         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10576 static PyObject 
*_wrap_Locale_GetName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10577     PyObject 
*resultobj
; 
10578     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
10580     PyObject 
* obj0 
= 0 ; 
10581     char *kwnames
[] = { 
10582         (char *) "self", NULL 
 
10585     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
; 
10586     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
10587     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10589         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10591             wxString 
const &_result_ref 
= ((wxLocale 
const *)arg1
)->GetName(); 
10592             result 
= (wxString 
*) &_result_ref
; 
10595         wxPyEndAllowThreads(__tstate
); 
10596         if (PyErr_Occurred()) SWIG_fail
; 
10600         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
10602         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
10611 static PyObject 
* Locale_swigregister(PyObject 
*, PyObject 
*args
) { 
10613     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
10614     SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
); 
10616     return Py_BuildValue((char *)""); 
10618 static PyObject 
*_wrap_GetLocale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10619     PyObject 
*resultobj
; 
10621     char *kwnames
[] = { 
10625     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
; 
10627         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10628         result 
= (wxLocale 
*)wxGetLocale(); 
10630         wxPyEndAllowThreads(__tstate
); 
10631         if (PyErr_Occurred()) SWIG_fail
; 
10633     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0); 
10640 static PyObject 
*_wrap_GetTranslation__SWIG_0(PyObject 
*, PyObject 
*args
) { 
10641     PyObject 
*resultobj
; 
10642     wxString 
*arg1 
= 0 ; 
10644     bool temp1 
= False 
; 
10645     PyObject 
* obj0 
= 0 ; 
10647     if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
; 
10649         arg1 
= wxString_in_helper(obj0
); 
10650         if (arg1 
== NULL
) SWIG_fail
; 
10654         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10655         result 
= wxGetTranslation((wxString 
const &)*arg1
); 
10657         wxPyEndAllowThreads(__tstate
); 
10658         if (PyErr_Occurred()) SWIG_fail
; 
10662         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10664         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10681 static PyObject 
*_wrap_GetTranslation__SWIG_1(PyObject 
*, PyObject 
*args
) { 
10682     PyObject 
*resultobj
; 
10683     wxString 
*arg1 
= 0 ; 
10684     wxString 
*arg2 
= 0 ; 
10687     bool temp1 
= False 
; 
10688     bool temp2 
= False 
; 
10689     PyObject 
* obj0 
= 0 ; 
10690     PyObject 
* obj1 
= 0 ; 
10691     PyObject 
* obj2 
= 0 ; 
10693     if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
; 
10695         arg1 
= wxString_in_helper(obj0
); 
10696         if (arg1 
== NULL
) SWIG_fail
; 
10700         arg2 
= wxString_in_helper(obj1
); 
10701         if (arg2 
== NULL
) SWIG_fail
; 
10704     arg3 
= (size_t)SWIG_As_unsigned_SS_long(obj2
);  
10705     if (PyErr_Occurred()) SWIG_fail
; 
10707         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10708         result 
= wxGetTranslation((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
); 
10710         wxPyEndAllowThreads(__tstate
); 
10711         if (PyErr_Occurred()) SWIG_fail
; 
10715         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10717         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10742 static PyObject 
*_wrap_GetTranslation(PyObject 
*self
, PyObject 
*args
) { 
10747     argc 
= PyObject_Length(args
); 
10748     for (ii 
= 0; (ii 
< argc
) && (ii 
< 3); ii
++) { 
10749         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
10754             _v 
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]); 
10757             return _wrap_GetTranslation__SWIG_0(self
,args
); 
10763             _v 
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]); 
10767                 _v 
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]); 
10770                 _v 
= SWIG_Check_unsigned_SS_long(argv
[2]); 
10772                     return _wrap_GetTranslation__SWIG_1(self
,args
); 
10778     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'"); 
10783 static PyObject 
*_wrap_new_EncodingConverter(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10784     PyObject 
*resultobj
; 
10785     wxEncodingConverter 
*result
; 
10786     char *kwnames
[] = { 
10790     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
; 
10792         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10793         result 
= (wxEncodingConverter 
*)new wxEncodingConverter(); 
10795         wxPyEndAllowThreads(__tstate
); 
10796         if (PyErr_Occurred()) SWIG_fail
; 
10798     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1); 
10805 static PyObject 
*_wrap_delete_EncodingConverter(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10806     PyObject 
*resultobj
; 
10807     wxEncodingConverter 
*arg1 
= (wxEncodingConverter 
*) 0 ; 
10808     PyObject 
* obj0 
= 0 ; 
10809     char *kwnames
[] = { 
10810         (char *) "self", NULL 
 
10813     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
; 
10814     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
, 
10815     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10817         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10820         wxPyEndAllowThreads(__tstate
); 
10821         if (PyErr_Occurred()) SWIG_fail
; 
10823     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10830 static PyObject 
*_wrap_EncodingConverter_Init(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10831     PyObject 
*resultobj
; 
10832     wxEncodingConverter 
*arg1 
= (wxEncodingConverter 
*) 0 ; 
10835     int arg4 
= (int) wxCONVERT_STRICT 
; 
10837     PyObject 
* obj0 
= 0 ; 
10838     PyObject 
* obj1 
= 0 ; 
10839     PyObject 
* obj2 
= 0 ; 
10840     PyObject 
* obj3 
= 0 ; 
10841     char *kwnames
[] = { 
10842         (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL 
 
10845     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
10846     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
, 
10847     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10848     arg2 
= (int)SWIG_As_int(obj1
);  
10849     if (PyErr_Occurred()) SWIG_fail
; 
10850     arg3 
= (int)SWIG_As_int(obj2
);  
10851     if (PyErr_Occurred()) SWIG_fail
; 
10853         arg4 
= (int)SWIG_As_int(obj3
);  
10854         if (PyErr_Occurred()) SWIG_fail
; 
10857         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10858         result 
= (bool)(arg1
)->Init((wxFontEncoding 
)arg2
,(wxFontEncoding 
)arg3
,arg4
); 
10860         wxPyEndAllowThreads(__tstate
); 
10861         if (PyErr_Occurred()) SWIG_fail
; 
10864         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10872 static PyObject 
*_wrap_EncodingConverter_Convert(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10873     PyObject 
*resultobj
; 
10874     wxEncodingConverter 
*arg1 
= (wxEncodingConverter 
*) 0 ; 
10875     wxString 
*arg2 
= 0 ; 
10877     bool temp2 
= False 
; 
10878     PyObject 
* obj0 
= 0 ; 
10879     PyObject 
* obj1 
= 0 ; 
10880     char *kwnames
[] = { 
10881         (char *) "self",(char *) "input", NULL 
 
10884     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
; 
10885     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
, 
10886     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10888         arg2 
= wxString_in_helper(obj1
); 
10889         if (arg2 
== NULL
) SWIG_fail
; 
10893         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10894         result 
= (arg1
)->Convert((wxString 
const &)*arg2
); 
10896         wxPyEndAllowThreads(__tstate
); 
10897         if (PyErr_Occurred()) SWIG_fail
; 
10901         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10903         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10920 static PyObject 
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10921     PyObject 
*resultobj
; 
10923     int arg2 
= (int) wxPLATFORM_CURRENT 
; 
10924     wxFontEncodingArray result
; 
10925     PyObject 
* obj0 
= 0 ; 
10926     PyObject 
* obj1 
= 0 ; 
10927     char *kwnames
[] = { 
10928         (char *) "enc",(char *) "platform", NULL 
 
10931     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
; 
10932     arg1 
= (int)SWIG_As_int(obj0
);  
10933     if (PyErr_Occurred()) SWIG_fail
; 
10935         arg2 
= (int)SWIG_As_int(obj1
);  
10936         if (PyErr_Occurred()) SWIG_fail
; 
10939         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10940         result 
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding 
)arg1
,arg2
); 
10942         wxPyEndAllowThreads(__tstate
); 
10943         if (PyErr_Occurred()) SWIG_fail
; 
10946         resultobj 
= PyList_New(0); 
10947         for (size_t i
=0; i 
< (&result
)->GetCount(); i
++) { 
10948             PyObject
* number 
= PyInt_FromLong((&result
)->Item(i
)); 
10949             PyList_Append(resultobj
, number
); 
10959 static PyObject 
*_wrap_EncodingConverter_GetAllEquivalents(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10960     PyObject 
*resultobj
; 
10962     wxFontEncodingArray result
; 
10963     PyObject 
* obj0 
= 0 ; 
10964     char *kwnames
[] = { 
10965         (char *) "enc", NULL 
 
10968     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
; 
10969     arg1 
= (int)SWIG_As_int(obj0
);  
10970     if (PyErr_Occurred()) SWIG_fail
; 
10972         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10973         result 
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding 
)arg1
); 
10975         wxPyEndAllowThreads(__tstate
); 
10976         if (PyErr_Occurred()) SWIG_fail
; 
10979         resultobj 
= PyList_New(0); 
10980         for (size_t i
=0; i 
< (&result
)->GetCount(); i
++) { 
10981             PyObject
* number 
= PyInt_FromLong((&result
)->Item(i
)); 
10982             PyList_Append(resultobj
, number
); 
10992 static PyObject 
*_wrap_EncodingConverter_CanConvert(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10993     PyObject 
*resultobj
; 
10997     PyObject 
* obj0 
= 0 ; 
10998     PyObject 
* obj1 
= 0 ; 
10999     char *kwnames
[] = { 
11000         (char *) "encIn",(char *) "encOut", NULL 
 
11003     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
; 
11004     arg1 
= (int)SWIG_As_int(obj0
);  
11005     if (PyErr_Occurred()) SWIG_fail
; 
11006     arg2 
= (int)SWIG_As_int(obj1
);  
11007     if (PyErr_Occurred()) SWIG_fail
; 
11009         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11010         result 
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding 
)arg1
,(wxFontEncoding 
)arg2
); 
11012         wxPyEndAllowThreads(__tstate
); 
11013         if (PyErr_Occurred()) SWIG_fail
; 
11016         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11024 static PyObject 
* EncodingConverter_swigregister(PyObject 
*, PyObject 
*args
) { 
11026     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
11027     SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
); 
11029     return Py_BuildValue((char *)""); 
11031 static PyObject 
*_wrap_delete_DC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11032     PyObject 
*resultobj
; 
11033     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11034     PyObject 
* obj0 
= 0 ; 
11035     char *kwnames
[] = { 
11036         (char *) "self", NULL 
 
11039     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
; 
11040     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11041     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11043         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11046         wxPyEndAllowThreads(__tstate
); 
11047         if (PyErr_Occurred()) SWIG_fail
; 
11049     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11056 static PyObject 
*_wrap_DC_BeginDrawing(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11057     PyObject 
*resultobj
; 
11058     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11059     PyObject 
* obj0 
= 0 ; 
11060     char *kwnames
[] = { 
11061         (char *) "self", NULL 
 
11064     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
; 
11065     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11066     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11068         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11069         (arg1
)->BeginDrawing(); 
11071         wxPyEndAllowThreads(__tstate
); 
11072         if (PyErr_Occurred()) SWIG_fail
; 
11074     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11081 static PyObject 
*_wrap_DC_EndDrawing(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11082     PyObject 
*resultobj
; 
11083     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11084     PyObject 
* obj0 
= 0 ; 
11085     char *kwnames
[] = { 
11086         (char *) "self", NULL 
 
11089     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
; 
11090     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11091     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11093         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11094         (arg1
)->EndDrawing(); 
11096         wxPyEndAllowThreads(__tstate
); 
11097         if (PyErr_Occurred()) SWIG_fail
; 
11099     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11106 static PyObject 
*_wrap_DC_FloodFill(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11107     PyObject 
*resultobj
; 
11108     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11111     wxColour 
*arg4 
= 0 ; 
11112     int arg5 
= (int) wxFLOOD_SURFACE 
; 
11115     PyObject 
* obj0 
= 0 ; 
11116     PyObject 
* obj1 
= 0 ; 
11117     PyObject 
* obj2 
= 0 ; 
11118     PyObject 
* obj3 
= 0 ; 
11119     PyObject 
* obj4 
= 0 ; 
11120     char *kwnames
[] = { 
11121         (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL 
 
11124     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
11125     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11126     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11127     arg2 
= (int)SWIG_As_int(obj1
);  
11128     if (PyErr_Occurred()) SWIG_fail
; 
11129     arg3 
= (int)SWIG_As_int(obj2
);  
11130     if (PyErr_Occurred()) SWIG_fail
; 
11133         if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
11136         arg5 
= (int)SWIG_As_int(obj4
);  
11137         if (PyErr_Occurred()) SWIG_fail
; 
11140         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11141         result 
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour 
const &)*arg4
,arg5
); 
11143         wxPyEndAllowThreads(__tstate
); 
11144         if (PyErr_Occurred()) SWIG_fail
; 
11147         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11155 static PyObject 
*_wrap_DC_FloodFillPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11156     PyObject 
*resultobj
; 
11157     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11158     wxPoint 
*arg2 
= 0 ; 
11159     wxColour 
*arg3 
= 0 ; 
11160     int arg4 
= (int) wxFLOOD_SURFACE 
; 
11164     PyObject 
* obj0 
= 0 ; 
11165     PyObject 
* obj1 
= 0 ; 
11166     PyObject 
* obj2 
= 0 ; 
11167     PyObject 
* obj3 
= 0 ; 
11168     char *kwnames
[] = { 
11169         (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL 
 
11172     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11173     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11174     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11177         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
11181         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
11184         arg4 
= (int)SWIG_As_int(obj3
);  
11185         if (PyErr_Occurred()) SWIG_fail
; 
11188         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11189         result 
= (bool)(arg1
)->FloodFill((wxPoint 
const &)*arg2
,(wxColour 
const &)*arg3
,arg4
); 
11191         wxPyEndAllowThreads(__tstate
); 
11192         if (PyErr_Occurred()) SWIG_fail
; 
11195         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11203 static PyObject 
*_wrap_DC_GetPixel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11204     PyObject 
*resultobj
; 
11205     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11209     PyObject 
* obj0 
= 0 ; 
11210     PyObject 
* obj1 
= 0 ; 
11211     PyObject 
* obj2 
= 0 ; 
11212     char *kwnames
[] = { 
11213         (char *) "self",(char *) "x",(char *) "y", NULL 
 
11216     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11217     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11218     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11219     arg2 
= (int)SWIG_As_int(obj1
);  
11220     if (PyErr_Occurred()) SWIG_fail
; 
11221     arg3 
= (int)SWIG_As_int(obj2
);  
11222     if (PyErr_Occurred()) SWIG_fail
; 
11224         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11225         result 
= wxDC_GetPixel(arg1
,arg2
,arg3
); 
11227         wxPyEndAllowThreads(__tstate
); 
11228         if (PyErr_Occurred()) SWIG_fail
; 
11231         wxColour 
* resultptr
; 
11232         resultptr 
= new wxColour((wxColour 
&) result
); 
11233         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
11241 static PyObject 
*_wrap_DC_GetPixelPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11242     PyObject 
*resultobj
; 
11243     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11244     wxPoint 
*arg2 
= 0 ; 
11247     PyObject 
* obj0 
= 0 ; 
11248     PyObject 
* obj1 
= 0 ; 
11249     char *kwnames
[] = { 
11250         (char *) "self",(char *) "pt", NULL 
 
11253     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
11254     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11255     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11258         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
11261         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11262         result 
= wxDC_GetPixelPoint(arg1
,(wxPoint 
const &)*arg2
); 
11264         wxPyEndAllowThreads(__tstate
); 
11265         if (PyErr_Occurred()) SWIG_fail
; 
11268         wxColour 
* resultptr
; 
11269         resultptr 
= new wxColour((wxColour 
&) result
); 
11270         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
11278 static PyObject 
*_wrap_DC_DrawLine(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11279     PyObject 
*resultobj
; 
11280     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11285     PyObject 
* obj0 
= 0 ; 
11286     PyObject 
* obj1 
= 0 ; 
11287     PyObject 
* obj2 
= 0 ; 
11288     PyObject 
* obj3 
= 0 ; 
11289     PyObject 
* obj4 
= 0 ; 
11290     char *kwnames
[] = { 
11291         (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL 
 
11294     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
11295     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11296     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11297     arg2 
= (int)SWIG_As_int(obj1
);  
11298     if (PyErr_Occurred()) SWIG_fail
; 
11299     arg3 
= (int)SWIG_As_int(obj2
);  
11300     if (PyErr_Occurred()) SWIG_fail
; 
11301     arg4 
= (int)SWIG_As_int(obj3
);  
11302     if (PyErr_Occurred()) SWIG_fail
; 
11303     arg5 
= (int)SWIG_As_int(obj4
);  
11304     if (PyErr_Occurred()) SWIG_fail
; 
11306         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11307         (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
); 
11309         wxPyEndAllowThreads(__tstate
); 
11310         if (PyErr_Occurred()) SWIG_fail
; 
11312     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11319 static PyObject 
*_wrap_DC_DrawLinePoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11320     PyObject 
*resultobj
; 
11321     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11322     wxPoint 
*arg2 
= 0 ; 
11323     wxPoint 
*arg3 
= 0 ; 
11326     PyObject 
* obj0 
= 0 ; 
11327     PyObject 
* obj1 
= 0 ; 
11328     PyObject 
* obj2 
= 0 ; 
11329     char *kwnames
[] = { 
11330         (char *) "self",(char *) "pt1",(char *) "pt2", NULL 
 
11333     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11334     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11335     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11338         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
11342         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
11345         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11346         (arg1
)->DrawLine((wxPoint 
const &)*arg2
,(wxPoint 
const &)*arg3
); 
11348         wxPyEndAllowThreads(__tstate
); 
11349         if (PyErr_Occurred()) SWIG_fail
; 
11351     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11358 static PyObject 
*_wrap_DC_CrossHair(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11359     PyObject 
*resultobj
; 
11360     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11363     PyObject 
* obj0 
= 0 ; 
11364     PyObject 
* obj1 
= 0 ; 
11365     PyObject 
* obj2 
= 0 ; 
11366     char *kwnames
[] = { 
11367         (char *) "self",(char *) "x",(char *) "y", NULL 
 
11370     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11371     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11372     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11373     arg2 
= (int)SWIG_As_int(obj1
);  
11374     if (PyErr_Occurred()) SWIG_fail
; 
11375     arg3 
= (int)SWIG_As_int(obj2
);  
11376     if (PyErr_Occurred()) SWIG_fail
; 
11378         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11379         (arg1
)->CrossHair(arg2
,arg3
); 
11381         wxPyEndAllowThreads(__tstate
); 
11382         if (PyErr_Occurred()) SWIG_fail
; 
11384     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11391 static PyObject 
*_wrap_DC_CrossHairPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11392     PyObject 
*resultobj
; 
11393     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11394     wxPoint 
*arg2 
= 0 ; 
11396     PyObject 
* obj0 
= 0 ; 
11397     PyObject 
* obj1 
= 0 ; 
11398     char *kwnames
[] = { 
11399         (char *) "self",(char *) "pt", NULL 
 
11402     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
11403     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11404     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11407         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
11410         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11411         (arg1
)->CrossHair((wxPoint 
const &)*arg2
); 
11413         wxPyEndAllowThreads(__tstate
); 
11414         if (PyErr_Occurred()) SWIG_fail
; 
11416     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11423 static PyObject 
*_wrap_DC_DrawArc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11424     PyObject 
*resultobj
; 
11425     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11432     PyObject 
* obj0 
= 0 ; 
11433     PyObject 
* obj1 
= 0 ; 
11434     PyObject 
* obj2 
= 0 ; 
11435     PyObject 
* obj3 
= 0 ; 
11436     PyObject 
* obj4 
= 0 ; 
11437     PyObject 
* obj5 
= 0 ; 
11438     PyObject 
* obj6 
= 0 ; 
11439     char *kwnames
[] = { 
11440         (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL 
 
11443     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
11444     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11445     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11446     arg2 
= (int)SWIG_As_int(obj1
);  
11447     if (PyErr_Occurred()) SWIG_fail
; 
11448     arg3 
= (int)SWIG_As_int(obj2
);  
11449     if (PyErr_Occurred()) SWIG_fail
; 
11450     arg4 
= (int)SWIG_As_int(obj3
);  
11451     if (PyErr_Occurred()) SWIG_fail
; 
11452     arg5 
= (int)SWIG_As_int(obj4
);  
11453     if (PyErr_Occurred()) SWIG_fail
; 
11454     arg6 
= (int)SWIG_As_int(obj5
);  
11455     if (PyErr_Occurred()) SWIG_fail
; 
11456     arg7 
= (int)SWIG_As_int(obj6
);  
11457     if (PyErr_Occurred()) SWIG_fail
; 
11459         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11460         (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
11462         wxPyEndAllowThreads(__tstate
); 
11463         if (PyErr_Occurred()) SWIG_fail
; 
11465     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11472 static PyObject 
*_wrap_DC_DrawArcPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11473     PyObject 
*resultobj
; 
11474     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11475     wxPoint 
*arg2 
= 0 ; 
11476     wxPoint 
*arg3 
= 0 ; 
11477     wxPoint 
*arg4 
= 0 ; 
11481     PyObject 
* obj0 
= 0 ; 
11482     PyObject 
* obj1 
= 0 ; 
11483     PyObject 
* obj2 
= 0 ; 
11484     PyObject 
* obj3 
= 0 ; 
11485     char *kwnames
[] = { 
11486         (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL 
 
11489     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11490     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11491     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11494         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
11498         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
11502         if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
11505         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11506         (arg1
)->DrawArc((wxPoint 
const &)*arg2
,(wxPoint 
const &)*arg3
,(wxPoint 
const &)*arg4
); 
11508         wxPyEndAllowThreads(__tstate
); 
11509         if (PyErr_Occurred()) SWIG_fail
; 
11511     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11518 static PyObject 
*_wrap_DC_DrawCheckMark(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11519     PyObject 
*resultobj
; 
11520     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11525     PyObject 
* obj0 
= 0 ; 
11526     PyObject 
* obj1 
= 0 ; 
11527     PyObject 
* obj2 
= 0 ; 
11528     PyObject 
* obj3 
= 0 ; 
11529     PyObject 
* obj4 
= 0 ; 
11530     char *kwnames
[] = { 
11531         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
11534     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
11535     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11536     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11537     arg2 
= (int)SWIG_As_int(obj1
);  
11538     if (PyErr_Occurred()) SWIG_fail
; 
11539     arg3 
= (int)SWIG_As_int(obj2
);  
11540     if (PyErr_Occurred()) SWIG_fail
; 
11541     arg4 
= (int)SWIG_As_int(obj3
);  
11542     if (PyErr_Occurred()) SWIG_fail
; 
11543     arg5 
= (int)SWIG_As_int(obj4
);  
11544     if (PyErr_Occurred()) SWIG_fail
; 
11546         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11547         (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
); 
11549         wxPyEndAllowThreads(__tstate
); 
11550         if (PyErr_Occurred()) SWIG_fail
; 
11552     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11559 static PyObject 
*_wrap_DC_DrawCheckMarkRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11560     PyObject 
*resultobj
; 
11561     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11564     PyObject 
* obj0 
= 0 ; 
11565     PyObject 
* obj1 
= 0 ; 
11566     char *kwnames
[] = { 
11567         (char *) "self",(char *) "rect", NULL 
 
11570     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
11571     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11572     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11575         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
11578         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11579         (arg1
)->DrawCheckMark((wxRect 
const &)*arg2
); 
11581         wxPyEndAllowThreads(__tstate
); 
11582         if (PyErr_Occurred()) SWIG_fail
; 
11584     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11591 static PyObject 
*_wrap_DC_DrawEllipticArc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11592     PyObject 
*resultobj
; 
11593     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11600     PyObject 
* obj0 
= 0 ; 
11601     PyObject 
* obj1 
= 0 ; 
11602     PyObject 
* obj2 
= 0 ; 
11603     PyObject 
* obj3 
= 0 ; 
11604     PyObject 
* obj4 
= 0 ; 
11605     PyObject 
* obj5 
= 0 ; 
11606     PyObject 
* obj6 
= 0 ; 
11607     char *kwnames
[] = { 
11608         (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL 
 
11611     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
11612     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11613     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11614     arg2 
= (int)SWIG_As_int(obj1
);  
11615     if (PyErr_Occurred()) SWIG_fail
; 
11616     arg3 
= (int)SWIG_As_int(obj2
);  
11617     if (PyErr_Occurred()) SWIG_fail
; 
11618     arg4 
= (int)SWIG_As_int(obj3
);  
11619     if (PyErr_Occurred()) SWIG_fail
; 
11620     arg5 
= (int)SWIG_As_int(obj4
);  
11621     if (PyErr_Occurred()) SWIG_fail
; 
11622     arg6 
= (double)SWIG_As_double(obj5
);  
11623     if (PyErr_Occurred()) SWIG_fail
; 
11624     arg7 
= (double)SWIG_As_double(obj6
);  
11625     if (PyErr_Occurred()) SWIG_fail
; 
11627         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11628         (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
11630         wxPyEndAllowThreads(__tstate
); 
11631         if (PyErr_Occurred()) SWIG_fail
; 
11633     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11640 static PyObject 
*_wrap_DC_DrawEllipticArcPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11641     PyObject 
*resultobj
; 
11642     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11643     wxPoint 
*arg2 
= 0 ; 
11649     PyObject 
* obj0 
= 0 ; 
11650     PyObject 
* obj1 
= 0 ; 
11651     PyObject 
* obj2 
= 0 ; 
11652     PyObject 
* obj3 
= 0 ; 
11653     PyObject 
* obj4 
= 0 ; 
11654     char *kwnames
[] = { 
11655         (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL 
 
11658     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
11659     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11660     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11663         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
11667         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
11669     arg4 
= (double)SWIG_As_double(obj3
);  
11670     if (PyErr_Occurred()) SWIG_fail
; 
11671     arg5 
= (double)SWIG_As_double(obj4
);  
11672     if (PyErr_Occurred()) SWIG_fail
; 
11674         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11675         (arg1
)->DrawEllipticArc((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
,arg4
,arg5
); 
11677         wxPyEndAllowThreads(__tstate
); 
11678         if (PyErr_Occurred()) SWIG_fail
; 
11680     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11687 static PyObject 
*_wrap_DC_DrawPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11688     PyObject 
*resultobj
; 
11689     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11692     PyObject 
* obj0 
= 0 ; 
11693     PyObject 
* obj1 
= 0 ; 
11694     PyObject 
* obj2 
= 0 ; 
11695     char *kwnames
[] = { 
11696         (char *) "self",(char *) "x",(char *) "y", NULL 
 
11699     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11700     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11701     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11702     arg2 
= (int)SWIG_As_int(obj1
);  
11703     if (PyErr_Occurred()) SWIG_fail
; 
11704     arg3 
= (int)SWIG_As_int(obj2
);  
11705     if (PyErr_Occurred()) SWIG_fail
; 
11707         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11708         (arg1
)->DrawPoint(arg2
,arg3
); 
11710         wxPyEndAllowThreads(__tstate
); 
11711         if (PyErr_Occurred()) SWIG_fail
; 
11713     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11720 static PyObject 
*_wrap_DC_DrawPointPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11721     PyObject 
*resultobj
; 
11722     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11723     wxPoint 
*arg2 
= 0 ; 
11725     PyObject 
* obj0 
= 0 ; 
11726     PyObject 
* obj1 
= 0 ; 
11727     char *kwnames
[] = { 
11728         (char *) "self",(char *) "pt", NULL 
 
11731     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
11732     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11733     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11736         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
11739         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11740         (arg1
)->DrawPoint((wxPoint 
const &)*arg2
); 
11742         wxPyEndAllowThreads(__tstate
); 
11743         if (PyErr_Occurred()) SWIG_fail
; 
11745     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11752 static PyObject 
*_wrap_DC_DrawRectangle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11753     PyObject 
*resultobj
; 
11754     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11759     PyObject 
* obj0 
= 0 ; 
11760     PyObject 
* obj1 
= 0 ; 
11761     PyObject 
* obj2 
= 0 ; 
11762     PyObject 
* obj3 
= 0 ; 
11763     PyObject 
* obj4 
= 0 ; 
11764     char *kwnames
[] = { 
11765         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
11768     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
11769     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11770     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11771     arg2 
= (int)SWIG_As_int(obj1
);  
11772     if (PyErr_Occurred()) SWIG_fail
; 
11773     arg3 
= (int)SWIG_As_int(obj2
);  
11774     if (PyErr_Occurred()) SWIG_fail
; 
11775     arg4 
= (int)SWIG_As_int(obj3
);  
11776     if (PyErr_Occurred()) SWIG_fail
; 
11777     arg5 
= (int)SWIG_As_int(obj4
);  
11778     if (PyErr_Occurred()) SWIG_fail
; 
11780         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11781         (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
); 
11783         wxPyEndAllowThreads(__tstate
); 
11784         if (PyErr_Occurred()) SWIG_fail
; 
11786     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11793 static PyObject 
*_wrap_DC_DrawRectangleRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11794     PyObject 
*resultobj
; 
11795     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11798     PyObject 
* obj0 
= 0 ; 
11799     PyObject 
* obj1 
= 0 ; 
11800     char *kwnames
[] = { 
11801         (char *) "self",(char *) "rect", NULL 
 
11804     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
11805     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11806     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11809         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
11812         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11813         (arg1
)->DrawRectangle((wxRect 
const &)*arg2
); 
11815         wxPyEndAllowThreads(__tstate
); 
11816         if (PyErr_Occurred()) SWIG_fail
; 
11818     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11825 static PyObject 
*_wrap_DC_DrawRectanglePointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11826     PyObject 
*resultobj
; 
11827     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11828     wxPoint 
*arg2 
= 0 ; 
11832     PyObject 
* obj0 
= 0 ; 
11833     PyObject 
* obj1 
= 0 ; 
11834     PyObject 
* obj2 
= 0 ; 
11835     char *kwnames
[] = { 
11836         (char *) "self",(char *) "pt",(char *) "sz", NULL 
 
11839     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11840     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11841     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11844         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
11848         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
11851         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11852         (arg1
)->DrawRectangle((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
11854         wxPyEndAllowThreads(__tstate
); 
11855         if (PyErr_Occurred()) SWIG_fail
; 
11857     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11864 static PyObject 
*_wrap_DC_DrawRoundedRectangle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11865     PyObject 
*resultobj
; 
11866     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11872     PyObject 
* obj0 
= 0 ; 
11873     PyObject 
* obj1 
= 0 ; 
11874     PyObject 
* obj2 
= 0 ; 
11875     PyObject 
* obj3 
= 0 ; 
11876     PyObject 
* obj4 
= 0 ; 
11877     PyObject 
* obj5 
= 0 ; 
11878     char *kwnames
[] = { 
11879         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL 
 
11882     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
11883     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11884     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11885     arg2 
= (int)SWIG_As_int(obj1
);  
11886     if (PyErr_Occurred()) SWIG_fail
; 
11887     arg3 
= (int)SWIG_As_int(obj2
);  
11888     if (PyErr_Occurred()) SWIG_fail
; 
11889     arg4 
= (int)SWIG_As_int(obj3
);  
11890     if (PyErr_Occurred()) SWIG_fail
; 
11891     arg5 
= (int)SWIG_As_int(obj4
);  
11892     if (PyErr_Occurred()) SWIG_fail
; 
11893     arg6 
= (double)SWIG_As_double(obj5
);  
11894     if (PyErr_Occurred()) SWIG_fail
; 
11896         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11897         (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
); 
11899         wxPyEndAllowThreads(__tstate
); 
11900         if (PyErr_Occurred()) SWIG_fail
; 
11902     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11909 static PyObject 
*_wrap_DC_DrawRoundedRectangleRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11910     PyObject 
*resultobj
; 
11911     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11915     PyObject 
* obj0 
= 0 ; 
11916     PyObject 
* obj1 
= 0 ; 
11917     PyObject 
* obj2 
= 0 ; 
11918     char *kwnames
[] = { 
11919         (char *) "self",(char *) "r",(char *) "radius", NULL 
 
11922     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11923     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11924     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11927         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
11929     arg3 
= (double)SWIG_As_double(obj2
);  
11930     if (PyErr_Occurred()) SWIG_fail
; 
11932         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11933         (arg1
)->DrawRoundedRectangle((wxRect 
const &)*arg2
,arg3
); 
11935         wxPyEndAllowThreads(__tstate
); 
11936         if (PyErr_Occurred()) SWIG_fail
; 
11938     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11945 static PyObject 
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11946     PyObject 
*resultobj
; 
11947     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11948     wxPoint 
*arg2 
= 0 ; 
11953     PyObject 
* obj0 
= 0 ; 
11954     PyObject 
* obj1 
= 0 ; 
11955     PyObject 
* obj2 
= 0 ; 
11956     PyObject 
* obj3 
= 0 ; 
11957     char *kwnames
[] = { 
11958         (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL 
 
11961     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11962     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11963     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11966         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
11970         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
11972     arg4 
= (double)SWIG_As_double(obj3
);  
11973     if (PyErr_Occurred()) SWIG_fail
; 
11975         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11976         (arg1
)->DrawRoundedRectangle((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
,arg4
); 
11978         wxPyEndAllowThreads(__tstate
); 
11979         if (PyErr_Occurred()) SWIG_fail
; 
11981     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11988 static PyObject 
*_wrap_DC_DrawCircle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11989     PyObject 
*resultobj
; 
11990     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11994     PyObject 
* obj0 
= 0 ; 
11995     PyObject 
* obj1 
= 0 ; 
11996     PyObject 
* obj2 
= 0 ; 
11997     PyObject 
* obj3 
= 0 ; 
11998     char *kwnames
[] = { 
11999         (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL 
 
12002     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12003     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12004     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12005     arg2 
= (int)SWIG_As_int(obj1
);  
12006     if (PyErr_Occurred()) SWIG_fail
; 
12007     arg3 
= (int)SWIG_As_int(obj2
);  
12008     if (PyErr_Occurred()) SWIG_fail
; 
12009     arg4 
= (int)SWIG_As_int(obj3
);  
12010     if (PyErr_Occurred()) SWIG_fail
; 
12012         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12013         (arg1
)->DrawCircle(arg2
,arg3
,arg4
); 
12015         wxPyEndAllowThreads(__tstate
); 
12016         if (PyErr_Occurred()) SWIG_fail
; 
12018     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12025 static PyObject 
*_wrap_DC_DrawCirclePoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12026     PyObject 
*resultobj
; 
12027     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12028     wxPoint 
*arg2 
= 0 ; 
12031     PyObject 
* obj0 
= 0 ; 
12032     PyObject 
* obj1 
= 0 ; 
12033     PyObject 
* obj2 
= 0 ; 
12034     char *kwnames
[] = { 
12035         (char *) "self",(char *) "pt",(char *) "radius", NULL 
 
12038     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12039     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12040     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12043         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
12045     arg3 
= (int)SWIG_As_int(obj2
);  
12046     if (PyErr_Occurred()) SWIG_fail
; 
12048         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12049         (arg1
)->DrawCircle((wxPoint 
const &)*arg2
,arg3
); 
12051         wxPyEndAllowThreads(__tstate
); 
12052         if (PyErr_Occurred()) SWIG_fail
; 
12054     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12061 static PyObject 
*_wrap_DC_DrawEllipse(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12062     PyObject 
*resultobj
; 
12063     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12068     PyObject 
* obj0 
= 0 ; 
12069     PyObject 
* obj1 
= 0 ; 
12070     PyObject 
* obj2 
= 0 ; 
12071     PyObject 
* obj3 
= 0 ; 
12072     PyObject 
* obj4 
= 0 ; 
12073     char *kwnames
[] = { 
12074         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
12077     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
12078     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12079     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12080     arg2 
= (int)SWIG_As_int(obj1
);  
12081     if (PyErr_Occurred()) SWIG_fail
; 
12082     arg3 
= (int)SWIG_As_int(obj2
);  
12083     if (PyErr_Occurred()) SWIG_fail
; 
12084     arg4 
= (int)SWIG_As_int(obj3
);  
12085     if (PyErr_Occurred()) SWIG_fail
; 
12086     arg5 
= (int)SWIG_As_int(obj4
);  
12087     if (PyErr_Occurred()) SWIG_fail
; 
12089         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12090         (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
); 
12092         wxPyEndAllowThreads(__tstate
); 
12093         if (PyErr_Occurred()) SWIG_fail
; 
12095     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12102 static PyObject 
*_wrap_DC_DrawEllipseRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12103     PyObject 
*resultobj
; 
12104     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12107     PyObject 
* obj0 
= 0 ; 
12108     PyObject 
* obj1 
= 0 ; 
12109     char *kwnames
[] = { 
12110         (char *) "self",(char *) "rect", NULL 
 
12113     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
12114     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12115     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12118         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
12121         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12122         (arg1
)->DrawEllipse((wxRect 
const &)*arg2
); 
12124         wxPyEndAllowThreads(__tstate
); 
12125         if (PyErr_Occurred()) SWIG_fail
; 
12127     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12134 static PyObject 
*_wrap_DC_DrawEllipsePointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12135     PyObject 
*resultobj
; 
12136     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12137     wxPoint 
*arg2 
= 0 ; 
12141     PyObject 
* obj0 
= 0 ; 
12142     PyObject 
* obj1 
= 0 ; 
12143     PyObject 
* obj2 
= 0 ; 
12144     char *kwnames
[] = { 
12145         (char *) "self",(char *) "pt",(char *) "sz", NULL 
 
12148     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12149     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12150     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12153         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
12157         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
12160         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12161         (arg1
)->DrawEllipse((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
12163         wxPyEndAllowThreads(__tstate
); 
12164         if (PyErr_Occurred()) SWIG_fail
; 
12166     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12173 static PyObject 
*_wrap_DC_DrawIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12174     PyObject 
*resultobj
; 
12175     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12179     PyObject 
* obj0 
= 0 ; 
12180     PyObject 
* obj1 
= 0 ; 
12181     PyObject 
* obj2 
= 0 ; 
12182     PyObject 
* obj3 
= 0 ; 
12183     char *kwnames
[] = { 
12184         (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL 
 
12187     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12188     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12189     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12190     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
, 
12191     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12193     if (arg2 
== NULL
) { 
12194         PyErr_SetString(PyExc_TypeError
,"null reference"); 
12197     arg3 
= (int)SWIG_As_int(obj2
);  
12198     if (PyErr_Occurred()) SWIG_fail
; 
12199     arg4 
= (int)SWIG_As_int(obj3
);  
12200     if (PyErr_Occurred()) SWIG_fail
; 
12202         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12203         (arg1
)->DrawIcon((wxIcon 
const &)*arg2
,arg3
,arg4
); 
12205         wxPyEndAllowThreads(__tstate
); 
12206         if (PyErr_Occurred()) SWIG_fail
; 
12208     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12215 static PyObject 
*_wrap_DC_DrawIconPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12216     PyObject 
*resultobj
; 
12217     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12219     wxPoint 
*arg3 
= 0 ; 
12221     PyObject 
* obj0 
= 0 ; 
12222     PyObject 
* obj1 
= 0 ; 
12223     PyObject 
* obj2 
= 0 ; 
12224     char *kwnames
[] = { 
12225         (char *) "self",(char *) "icon",(char *) "pt", NULL 
 
12228     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12229     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12230     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12231     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
, 
12232     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12234     if (arg2 
== NULL
) { 
12235         PyErr_SetString(PyExc_TypeError
,"null reference"); 
12240         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
12243         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12244         (arg1
)->DrawIcon((wxIcon 
const &)*arg2
,(wxPoint 
const &)*arg3
); 
12246         wxPyEndAllowThreads(__tstate
); 
12247         if (PyErr_Occurred()) SWIG_fail
; 
12249     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12256 static PyObject 
*_wrap_DC_DrawBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12257     PyObject 
*resultobj
; 
12258     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12259     wxBitmap 
*arg2 
= 0 ; 
12262     bool arg5 
= (bool) False 
; 
12263     PyObject 
* obj0 
= 0 ; 
12264     PyObject 
* obj1 
= 0 ; 
12265     PyObject 
* obj2 
= 0 ; 
12266     PyObject 
* obj3 
= 0 ; 
12267     PyObject 
* obj4 
= 0 ; 
12268     char *kwnames
[] = { 
12269         (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL 
 
12272     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
12273     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12274     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12275     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
12276     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12278     if (arg2 
== NULL
) { 
12279         PyErr_SetString(PyExc_TypeError
,"null reference"); 
12282     arg3 
= (int)SWIG_As_int(obj2
);  
12283     if (PyErr_Occurred()) SWIG_fail
; 
12284     arg4 
= (int)SWIG_As_int(obj3
);  
12285     if (PyErr_Occurred()) SWIG_fail
; 
12287         arg5 
= (bool)SWIG_As_bool(obj4
);  
12288         if (PyErr_Occurred()) SWIG_fail
; 
12291         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12292         (arg1
)->DrawBitmap((wxBitmap 
const &)*arg2
,arg3
,arg4
,arg5
); 
12294         wxPyEndAllowThreads(__tstate
); 
12295         if (PyErr_Occurred()) SWIG_fail
; 
12297     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12304 static PyObject 
*_wrap_DC_DrawBitmapPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12305     PyObject 
*resultobj
; 
12306     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12307     wxBitmap 
*arg2 
= 0 ; 
12308     wxPoint 
*arg3 
= 0 ; 
12309     bool arg4 
= (bool) False 
; 
12311     PyObject 
* obj0 
= 0 ; 
12312     PyObject 
* obj1 
= 0 ; 
12313     PyObject 
* obj2 
= 0 ; 
12314     PyObject 
* obj3 
= 0 ; 
12315     char *kwnames
[] = { 
12316         (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL 
 
12319     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12320     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12321     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12322     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
12323     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12325     if (arg2 
== NULL
) { 
12326         PyErr_SetString(PyExc_TypeError
,"null reference"); 
12331         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
12334         arg4 
= (bool)SWIG_As_bool(obj3
);  
12335         if (PyErr_Occurred()) SWIG_fail
; 
12338         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12339         (arg1
)->DrawBitmap((wxBitmap 
const &)*arg2
,(wxPoint 
const &)*arg3
,arg4
); 
12341         wxPyEndAllowThreads(__tstate
); 
12342         if (PyErr_Occurred()) SWIG_fail
; 
12344     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12351 static PyObject 
*_wrap_DC_DrawText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12352     PyObject 
*resultobj
; 
12353     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12354     wxString 
*arg2 
= 0 ; 
12357     bool temp2 
= False 
; 
12358     PyObject 
* obj0 
= 0 ; 
12359     PyObject 
* obj1 
= 0 ; 
12360     PyObject 
* obj2 
= 0 ; 
12361     PyObject 
* obj3 
= 0 ; 
12362     char *kwnames
[] = { 
12363         (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL 
 
12366     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12367     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12368     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12370         arg2 
= wxString_in_helper(obj1
); 
12371         if (arg2 
== NULL
) SWIG_fail
; 
12374     arg3 
= (int)SWIG_As_int(obj2
);  
12375     if (PyErr_Occurred()) SWIG_fail
; 
12376     arg4 
= (int)SWIG_As_int(obj3
);  
12377     if (PyErr_Occurred()) SWIG_fail
; 
12379         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12380         (arg1
)->DrawText((wxString 
const &)*arg2
,arg3
,arg4
); 
12382         wxPyEndAllowThreads(__tstate
); 
12383         if (PyErr_Occurred()) SWIG_fail
; 
12385     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12400 static PyObject 
*_wrap_DC_DrawTextPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12401     PyObject 
*resultobj
; 
12402     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12403     wxString 
*arg2 
= 0 ; 
12404     wxPoint 
*arg3 
= 0 ; 
12405     bool temp2 
= False 
; 
12407     PyObject 
* obj0 
= 0 ; 
12408     PyObject 
* obj1 
= 0 ; 
12409     PyObject 
* obj2 
= 0 ; 
12410     char *kwnames
[] = { 
12411         (char *) "self",(char *) "text",(char *) "pt", NULL 
 
12414     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12415     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12416     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12418         arg2 
= wxString_in_helper(obj1
); 
12419         if (arg2 
== NULL
) SWIG_fail
; 
12424         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
12427         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12428         (arg1
)->DrawText((wxString 
const &)*arg2
,(wxPoint 
const &)*arg3
); 
12430         wxPyEndAllowThreads(__tstate
); 
12431         if (PyErr_Occurred()) SWIG_fail
; 
12433     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12448 static PyObject 
*_wrap_DC_DrawRotatedText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12449     PyObject 
*resultobj
; 
12450     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12451     wxString 
*arg2 
= 0 ; 
12455     bool temp2 
= False 
; 
12456     PyObject 
* obj0 
= 0 ; 
12457     PyObject 
* obj1 
= 0 ; 
12458     PyObject 
* obj2 
= 0 ; 
12459     PyObject 
* obj3 
= 0 ; 
12460     PyObject 
* obj4 
= 0 ; 
12461     char *kwnames
[] = { 
12462         (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL 
 
12465     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
12466     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12467     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12469         arg2 
= wxString_in_helper(obj1
); 
12470         if (arg2 
== NULL
) SWIG_fail
; 
12473     arg3 
= (int)SWIG_As_int(obj2
);  
12474     if (PyErr_Occurred()) SWIG_fail
; 
12475     arg4 
= (int)SWIG_As_int(obj3
);  
12476     if (PyErr_Occurred()) SWIG_fail
; 
12477     arg5 
= (double)SWIG_As_double(obj4
);  
12478     if (PyErr_Occurred()) SWIG_fail
; 
12480         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12481         (arg1
)->DrawRotatedText((wxString 
const &)*arg2
,arg3
,arg4
,arg5
); 
12483         wxPyEndAllowThreads(__tstate
); 
12484         if (PyErr_Occurred()) SWIG_fail
; 
12486     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12501 static PyObject 
*_wrap_DC_DrawRotatedTextPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12502     PyObject 
*resultobj
; 
12503     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12504     wxString 
*arg2 
= 0 ; 
12505     wxPoint 
*arg3 
= 0 ; 
12507     bool temp2 
= False 
; 
12509     PyObject 
* obj0 
= 0 ; 
12510     PyObject 
* obj1 
= 0 ; 
12511     PyObject 
* obj2 
= 0 ; 
12512     PyObject 
* obj3 
= 0 ; 
12513     char *kwnames
[] = { 
12514         (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL 
 
12517     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12518     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12519     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12521         arg2 
= wxString_in_helper(obj1
); 
12522         if (arg2 
== NULL
) SWIG_fail
; 
12527         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
12529     arg4 
= (double)SWIG_As_double(obj3
);  
12530     if (PyErr_Occurred()) SWIG_fail
; 
12532         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12533         (arg1
)->DrawRotatedText((wxString 
const &)*arg2
,(wxPoint 
const &)*arg3
,arg4
); 
12535         wxPyEndAllowThreads(__tstate
); 
12536         if (PyErr_Occurred()) SWIG_fail
; 
12538     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12553 static PyObject 
*_wrap_DC_Blit(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12554     PyObject 
*resultobj
; 
12555     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12560     wxDC 
*arg6 
= (wxDC 
*) 0 ; 
12563     int arg9 
= (int) wxCOPY 
; 
12564     bool arg10 
= (bool) False 
; 
12565     int arg11 
= (int) -1 ; 
12566     int arg12 
= (int) -1 ; 
12568     PyObject 
* obj0 
= 0 ; 
12569     PyObject 
* obj1 
= 0 ; 
12570     PyObject 
* obj2 
= 0 ; 
12571     PyObject 
* obj3 
= 0 ; 
12572     PyObject 
* obj4 
= 0 ; 
12573     PyObject 
* obj5 
= 0 ; 
12574     PyObject 
* obj6 
= 0 ; 
12575     PyObject 
* obj7 
= 0 ; 
12576     PyObject 
* obj8 
= 0 ; 
12577     PyObject 
* obj9 
= 0 ; 
12578     PyObject 
* obj10 
= 0 ; 
12579     PyObject 
* obj11 
= 0 ; 
12580     char *kwnames
[] = { 
12581         (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 
 
12584     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
; 
12585     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12586     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12587     arg2 
= (int)SWIG_As_int(obj1
);  
12588     if (PyErr_Occurred()) SWIG_fail
; 
12589     arg3 
= (int)SWIG_As_int(obj2
);  
12590     if (PyErr_Occurred()) SWIG_fail
; 
12591     arg4 
= (int)SWIG_As_int(obj3
);  
12592     if (PyErr_Occurred()) SWIG_fail
; 
12593     arg5 
= (int)SWIG_As_int(obj4
);  
12594     if (PyErr_Occurred()) SWIG_fail
; 
12595     if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
, 
12596     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12597     arg7 
= (int)SWIG_As_int(obj6
);  
12598     if (PyErr_Occurred()) SWIG_fail
; 
12599     arg8 
= (int)SWIG_As_int(obj7
);  
12600     if (PyErr_Occurred()) SWIG_fail
; 
12602         arg9 
= (int)SWIG_As_int(obj8
);  
12603         if (PyErr_Occurred()) SWIG_fail
; 
12606         arg10 
= (bool)SWIG_As_bool(obj9
);  
12607         if (PyErr_Occurred()) SWIG_fail
; 
12610         arg11 
= (int)SWIG_As_int(obj10
);  
12611         if (PyErr_Occurred()) SWIG_fail
; 
12614         arg12 
= (int)SWIG_As_int(obj11
);  
12615         if (PyErr_Occurred()) SWIG_fail
; 
12618         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12619         result 
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
); 
12621         wxPyEndAllowThreads(__tstate
); 
12622         if (PyErr_Occurred()) SWIG_fail
; 
12625         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12633 static PyObject 
*_wrap_DC_BlitPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12634     PyObject 
*resultobj
; 
12635     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12636     wxPoint 
*arg2 
= 0 ; 
12638     wxDC 
*arg4 
= (wxDC 
*) 0 ; 
12639     wxPoint 
*arg5 
= 0 ; 
12640     int arg6 
= (int) wxCOPY 
; 
12641     bool arg7 
= (bool) False 
; 
12642     wxPoint 
const &arg8_defvalue 
= wxDefaultPosition 
; 
12643     wxPoint 
*arg8 
= (wxPoint 
*) &arg8_defvalue 
; 
12649     PyObject 
* obj0 
= 0 ; 
12650     PyObject 
* obj1 
= 0 ; 
12651     PyObject 
* obj2 
= 0 ; 
12652     PyObject 
* obj3 
= 0 ; 
12653     PyObject 
* obj4 
= 0 ; 
12654     PyObject 
* obj5 
= 0 ; 
12655     PyObject 
* obj6 
= 0 ; 
12656     PyObject 
* obj7 
= 0 ; 
12657     char *kwnames
[] = { 
12658         (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL 
 
12661     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
12662     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12663     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12666         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
12670         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
12672     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
, 
12673     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12676         if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
12679         arg6 
= (int)SWIG_As_int(obj5
);  
12680         if (PyErr_Occurred()) SWIG_fail
; 
12683         arg7 
= (bool)SWIG_As_bool(obj6
);  
12684         if (PyErr_Occurred()) SWIG_fail
; 
12689             if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
; 
12693         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12694         result 
= (bool)(arg1
)->Blit((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
,arg4
,(wxPoint 
const &)*arg5
,arg6
,arg7
,(wxPoint 
const &)*arg8
); 
12696         wxPyEndAllowThreads(__tstate
); 
12697         if (PyErr_Occurred()) SWIG_fail
; 
12700         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12708 static PyObject 
*_wrap_DC_SetClippingRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12709     PyObject 
*resultobj
; 
12710     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12715     PyObject 
* obj0 
= 0 ; 
12716     PyObject 
* obj1 
= 0 ; 
12717     PyObject 
* obj2 
= 0 ; 
12718     PyObject 
* obj3 
= 0 ; 
12719     PyObject 
* obj4 
= 0 ; 
12720     char *kwnames
[] = { 
12721         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
12724     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
12725     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12726     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12727     arg2 
= (int)SWIG_As_int(obj1
);  
12728     if (PyErr_Occurred()) SWIG_fail
; 
12729     arg3 
= (int)SWIG_As_int(obj2
);  
12730     if (PyErr_Occurred()) SWIG_fail
; 
12731     arg4 
= (int)SWIG_As_int(obj3
);  
12732     if (PyErr_Occurred()) SWIG_fail
; 
12733     arg5 
= (int)SWIG_As_int(obj4
);  
12734     if (PyErr_Occurred()) SWIG_fail
; 
12736         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12737         (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
); 
12739         wxPyEndAllowThreads(__tstate
); 
12740         if (PyErr_Occurred()) SWIG_fail
; 
12742     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12749 static PyObject 
*_wrap_DC_SetClippingRegionPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12750     PyObject 
*resultobj
; 
12751     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12752     wxPoint 
*arg2 
= 0 ; 
12756     PyObject 
* obj0 
= 0 ; 
12757     PyObject 
* obj1 
= 0 ; 
12758     PyObject 
* obj2 
= 0 ; 
12759     char *kwnames
[] = { 
12760         (char *) "self",(char *) "pt",(char *) "sz", NULL 
 
12763     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12764     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12765     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12768         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
12772         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
12775         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12776         (arg1
)->SetClippingRegion((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
12778         wxPyEndAllowThreads(__tstate
); 
12779         if (PyErr_Occurred()) SWIG_fail
; 
12781     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12788 static PyObject 
*_wrap_DC_SetClippingRegionAsRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12789     PyObject 
*resultobj
; 
12790     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12791     wxRegion 
*arg2 
= 0 ; 
12792     PyObject 
* obj0 
= 0 ; 
12793     PyObject 
* obj1 
= 0 ; 
12794     char *kwnames
[] = { 
12795         (char *) "self",(char *) "region", NULL 
 
12798     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
; 
12799     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12800     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12801     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
, 
12802     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12804     if (arg2 
== NULL
) { 
12805         PyErr_SetString(PyExc_TypeError
,"null reference"); 
12809         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12810         (arg1
)->SetClippingRegion((wxRegion 
const &)*arg2
); 
12812         wxPyEndAllowThreads(__tstate
); 
12813         if (PyErr_Occurred()) SWIG_fail
; 
12815     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12822 static PyObject 
*_wrap_DC_SetClippingRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12823     PyObject 
*resultobj
; 
12824     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12827     PyObject 
* obj0 
= 0 ; 
12828     PyObject 
* obj1 
= 0 ; 
12829     char *kwnames
[] = { 
12830         (char *) "self",(char *) "rect", NULL 
 
12833     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
12834     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12835     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12838         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
12841         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12842         (arg1
)->SetClippingRegion((wxRect 
const &)*arg2
); 
12844         wxPyEndAllowThreads(__tstate
); 
12845         if (PyErr_Occurred()) SWIG_fail
; 
12847     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12854 static PyObject 
*_wrap_DC_DrawLines(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12855     PyObject 
*resultobj
; 
12856     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12858     wxPoint 
*arg3 
= (wxPoint 
*) 0 ; 
12859     int arg4 
= (int) 0 ; 
12860     int arg5 
= (int) 0 ; 
12861     PyObject 
* obj0 
= 0 ; 
12862     PyObject 
* obj1 
= 0 ; 
12863     PyObject 
* obj2 
= 0 ; 
12864     PyObject 
* obj3 
= 0 ; 
12865     char *kwnames
[] = { 
12866         (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL 
 
12869     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12870     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12871     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12873         arg3 
= wxPoint_LIST_helper(obj1
, &arg2
); 
12874         if (arg3 
== NULL
) SWIG_fail
; 
12877         arg4 
= (int)SWIG_As_int(obj2
);  
12878         if (PyErr_Occurred()) SWIG_fail
; 
12881         arg5 
= (int)SWIG_As_int(obj3
);  
12882         if (PyErr_Occurred()) SWIG_fail
; 
12885         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12886         (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
); 
12888         wxPyEndAllowThreads(__tstate
); 
12889         if (PyErr_Occurred()) SWIG_fail
; 
12891     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12893         if (arg3
) delete [] arg3
; 
12898         if (arg3
) delete [] arg3
; 
12904 static PyObject 
*_wrap_DC_DrawPolygon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12905     PyObject 
*resultobj
; 
12906     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12908     wxPoint 
*arg3 
= (wxPoint 
*) 0 ; 
12909     int arg4 
= (int) 0 ; 
12910     int arg5 
= (int) 0 ; 
12911     int arg6 
= (int) wxODDEVEN_RULE 
; 
12912     PyObject 
* obj0 
= 0 ; 
12913     PyObject 
* obj1 
= 0 ; 
12914     PyObject 
* obj2 
= 0 ; 
12915     PyObject 
* obj3 
= 0 ; 
12916     PyObject 
* obj4 
= 0 ; 
12917     char *kwnames
[] = { 
12918         (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL 
 
12921     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
12922     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12923     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12925         arg3 
= wxPoint_LIST_helper(obj1
, &arg2
); 
12926         if (arg3 
== NULL
) SWIG_fail
; 
12929         arg4 
= (int)SWIG_As_int(obj2
);  
12930         if (PyErr_Occurred()) SWIG_fail
; 
12933         arg5 
= (int)SWIG_As_int(obj3
);  
12934         if (PyErr_Occurred()) SWIG_fail
; 
12937         arg6 
= (int)SWIG_As_int(obj4
);  
12938         if (PyErr_Occurred()) SWIG_fail
; 
12941         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12942         (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
); 
12944         wxPyEndAllowThreads(__tstate
); 
12945         if (PyErr_Occurred()) SWIG_fail
; 
12947     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12949         if (arg3
) delete [] arg3
; 
12954         if (arg3
) delete [] arg3
; 
12960 static PyObject 
*_wrap_DC_DrawLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12961     PyObject 
*resultobj
; 
12962     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12963     wxString 
*arg2 
= 0 ; 
12965     int arg4 
= (int) wxALIGN_LEFT
|wxALIGN_TOP 
; 
12966     int arg5 
= (int) -1 ; 
12967     bool temp2 
= False 
; 
12969     PyObject 
* obj0 
= 0 ; 
12970     PyObject 
* obj1 
= 0 ; 
12971     PyObject 
* obj2 
= 0 ; 
12972     PyObject 
* obj3 
= 0 ; 
12973     PyObject 
* obj4 
= 0 ; 
12974     char *kwnames
[] = { 
12975         (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL 
 
12978     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
12979     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12980     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12982         arg2 
= wxString_in_helper(obj1
); 
12983         if (arg2 
== NULL
) SWIG_fail
; 
12988         if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
; 
12991         arg4 
= (int)SWIG_As_int(obj3
);  
12992         if (PyErr_Occurred()) SWIG_fail
; 
12995         arg5 
= (int)SWIG_As_int(obj4
);  
12996         if (PyErr_Occurred()) SWIG_fail
; 
12999         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13000         (arg1
)->DrawLabel((wxString 
const &)*arg2
,(wxRect 
const &)*arg3
,arg4
,arg5
); 
13002         wxPyEndAllowThreads(__tstate
); 
13003         if (PyErr_Occurred()) SWIG_fail
; 
13005     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13020 static PyObject 
*_wrap_DC_DrawImageLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13021     PyObject 
*resultobj
; 
13022     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13023     wxString 
*arg2 
= 0 ; 
13024     wxBitmap 
*arg3 
= 0 ; 
13026     int arg5 
= (int) wxALIGN_LEFT
|wxALIGN_TOP 
; 
13027     int arg6 
= (int) -1 ; 
13029     bool temp2 
= False 
; 
13031     PyObject 
* obj0 
= 0 ; 
13032     PyObject 
* obj1 
= 0 ; 
13033     PyObject 
* obj2 
= 0 ; 
13034     PyObject 
* obj3 
= 0 ; 
13035     PyObject 
* obj4 
= 0 ; 
13036     PyObject 
* obj5 
= 0 ; 
13037     char *kwnames
[] = { 
13038         (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL 
 
13041     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
13042     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13043     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13045         arg2 
= wxString_in_helper(obj1
); 
13046         if (arg2 
== NULL
) SWIG_fail
; 
13049     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
, 
13050     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
13052     if (arg3 
== NULL
) { 
13053         PyErr_SetString(PyExc_TypeError
,"null reference"); 
13058         if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
13061         arg5 
= (int)SWIG_As_int(obj4
);  
13062         if (PyErr_Occurred()) SWIG_fail
; 
13065         arg6 
= (int)SWIG_As_int(obj5
);  
13066         if (PyErr_Occurred()) SWIG_fail
; 
13069         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13070         result 
= wxDC_DrawImageLabel(arg1
,(wxString 
const &)*arg2
,(wxBitmap 
const &)*arg3
,(wxRect 
const &)*arg4
,arg5
,arg6
); 
13072         wxPyEndAllowThreads(__tstate
); 
13073         if (PyErr_Occurred()) SWIG_fail
; 
13076         wxRect 
* resultptr
; 
13077         resultptr 
= new wxRect((wxRect 
&) result
); 
13078         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
13094 static PyObject 
*_wrap_DC_DrawSpline(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13095     PyObject 
*resultobj
; 
13096     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13098     wxPoint 
*arg3 
= (wxPoint 
*) 0 ; 
13099     PyObject 
* obj0 
= 0 ; 
13100     PyObject 
* obj1 
= 0 ; 
13101     char *kwnames
[] = { 
13102         (char *) "self",(char *) "points", NULL 
 
13105     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
; 
13106     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13107     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13109         arg3 
= wxPoint_LIST_helper(obj1
, &arg2
); 
13110         if (arg3 
== NULL
) SWIG_fail
; 
13113         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13114         (arg1
)->DrawSpline(arg2
,arg3
); 
13116         wxPyEndAllowThreads(__tstate
); 
13117         if (PyErr_Occurred()) SWIG_fail
; 
13119     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13121         if (arg3
) delete [] arg3
; 
13126         if (arg3
) delete [] arg3
; 
13132 static PyObject 
*_wrap_DC_Clear(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13133     PyObject 
*resultobj
; 
13134     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13135     PyObject 
* obj0 
= 0 ; 
13136     char *kwnames
[] = { 
13137         (char *) "self", NULL 
 
13140     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
; 
13141     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13142     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13144         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13147         wxPyEndAllowThreads(__tstate
); 
13148         if (PyErr_Occurred()) SWIG_fail
; 
13150     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13157 static PyObject 
*_wrap_DC_StartDoc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13158     PyObject 
*resultobj
; 
13159     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13160     wxString 
*arg2 
= 0 ; 
13162     bool temp2 
= False 
; 
13163     PyObject 
* obj0 
= 0 ; 
13164     PyObject 
* obj1 
= 0 ; 
13165     char *kwnames
[] = { 
13166         (char *) "self",(char *) "message", NULL 
 
13169     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
; 
13170     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13171     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13173         arg2 
= wxString_in_helper(obj1
); 
13174         if (arg2 
== NULL
) SWIG_fail
; 
13178         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13179         result 
= (bool)(arg1
)->StartDoc((wxString 
const &)*arg2
); 
13181         wxPyEndAllowThreads(__tstate
); 
13182         if (PyErr_Occurred()) SWIG_fail
; 
13185         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13201 static PyObject 
*_wrap_DC_EndDoc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13202     PyObject 
*resultobj
; 
13203     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13204     PyObject 
* obj0 
= 0 ; 
13205     char *kwnames
[] = { 
13206         (char *) "self", NULL 
 
13209     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
; 
13210     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13211     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13213         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13216         wxPyEndAllowThreads(__tstate
); 
13217         if (PyErr_Occurred()) SWIG_fail
; 
13219     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13226 static PyObject 
*_wrap_DC_StartPage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13227     PyObject 
*resultobj
; 
13228     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13229     PyObject 
* obj0 
= 0 ; 
13230     char *kwnames
[] = { 
13231         (char *) "self", NULL 
 
13234     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
; 
13235     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13236     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13238         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13239         (arg1
)->StartPage(); 
13241         wxPyEndAllowThreads(__tstate
); 
13242         if (PyErr_Occurred()) SWIG_fail
; 
13244     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13251 static PyObject 
*_wrap_DC_EndPage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13252     PyObject 
*resultobj
; 
13253     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13254     PyObject 
* obj0 
= 0 ; 
13255     char *kwnames
[] = { 
13256         (char *) "self", NULL 
 
13259     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
; 
13260     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13261     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13263         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13266         wxPyEndAllowThreads(__tstate
); 
13267         if (PyErr_Occurred()) SWIG_fail
; 
13269     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13276 static PyObject 
*_wrap_DC_SetFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13277     PyObject 
*resultobj
; 
13278     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13280     PyObject 
* obj0 
= 0 ; 
13281     PyObject 
* obj1 
= 0 ; 
13282     char *kwnames
[] = { 
13283         (char *) "self",(char *) "font", NULL 
 
13286     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
13287     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13288     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13289     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
13290     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
13292     if (arg2 
== NULL
) { 
13293         PyErr_SetString(PyExc_TypeError
,"null reference"); 
13297         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13298         (arg1
)->SetFont((wxFont 
const &)*arg2
); 
13300         wxPyEndAllowThreads(__tstate
); 
13301         if (PyErr_Occurred()) SWIG_fail
; 
13303     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13310 static PyObject 
*_wrap_DC_SetPen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13311     PyObject 
*resultobj
; 
13312     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13314     PyObject 
* obj0 
= 0 ; 
13315     PyObject 
* obj1 
= 0 ; 
13316     char *kwnames
[] = { 
13317         (char *) "self",(char *) "pen", NULL 
 
13320     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
; 
13321     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13322     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13323     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
, 
13324     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
13326     if (arg2 
== NULL
) { 
13327         PyErr_SetString(PyExc_TypeError
,"null reference"); 
13331         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13332         (arg1
)->SetPen((wxPen 
const &)*arg2
); 
13334         wxPyEndAllowThreads(__tstate
); 
13335         if (PyErr_Occurred()) SWIG_fail
; 
13337     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13344 static PyObject 
*_wrap_DC_SetBrush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13345     PyObject 
*resultobj
; 
13346     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13347     wxBrush 
*arg2 
= 0 ; 
13348     PyObject 
* obj0 
= 0 ; 
13349     PyObject 
* obj1 
= 0 ; 
13350     char *kwnames
[] = { 
13351         (char *) "self",(char *) "brush", NULL 
 
13354     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
; 
13355     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13356     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13357     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
, 
13358     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
13360     if (arg2 
== NULL
) { 
13361         PyErr_SetString(PyExc_TypeError
,"null reference"); 
13365         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13366         (arg1
)->SetBrush((wxBrush 
const &)*arg2
); 
13368         wxPyEndAllowThreads(__tstate
); 
13369         if (PyErr_Occurred()) SWIG_fail
; 
13371     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13378 static PyObject 
*_wrap_DC_SetBackground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13379     PyObject 
*resultobj
; 
13380     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13381     wxBrush 
*arg2 
= 0 ; 
13382     PyObject 
* obj0 
= 0 ; 
13383     PyObject 
* obj1 
= 0 ; 
13384     char *kwnames
[] = { 
13385         (char *) "self",(char *) "brush", NULL 
 
13388     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
; 
13389     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13390     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13391     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
, 
13392     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
13394     if (arg2 
== NULL
) { 
13395         PyErr_SetString(PyExc_TypeError
,"null reference"); 
13399         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13400         (arg1
)->SetBackground((wxBrush 
const &)*arg2
); 
13402         wxPyEndAllowThreads(__tstate
); 
13403         if (PyErr_Occurred()) SWIG_fail
; 
13405     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13412 static PyObject 
*_wrap_DC_SetBackgroundMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13413     PyObject 
*resultobj
; 
13414     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13416     PyObject 
* obj0 
= 0 ; 
13417     PyObject 
* obj1 
= 0 ; 
13418     char *kwnames
[] = { 
13419         (char *) "self",(char *) "mode", NULL 
 
13422     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
; 
13423     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13424     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13425     arg2 
= (int)SWIG_As_int(obj1
);  
13426     if (PyErr_Occurred()) SWIG_fail
; 
13428         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13429         (arg1
)->SetBackgroundMode(arg2
); 
13431         wxPyEndAllowThreads(__tstate
); 
13432         if (PyErr_Occurred()) SWIG_fail
; 
13434     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13441 static PyObject 
*_wrap_DC_SetPalette(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13442     PyObject 
*resultobj
; 
13443     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13444     wxPalette 
*arg2 
= 0 ; 
13445     PyObject 
* obj0 
= 0 ; 
13446     PyObject 
* obj1 
= 0 ; 
13447     char *kwnames
[] = { 
13448         (char *) "self",(char *) "palette", NULL 
 
13451     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
; 
13452     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13453     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13454     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
, 
13455     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
13457     if (arg2 
== NULL
) { 
13458         PyErr_SetString(PyExc_TypeError
,"null reference"); 
13462         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13463         (arg1
)->SetPalette((wxPalette 
const &)*arg2
); 
13465         wxPyEndAllowThreads(__tstate
); 
13466         if (PyErr_Occurred()) SWIG_fail
; 
13468     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13475 static PyObject 
*_wrap_DC_DestroyClippingRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13476     PyObject 
*resultobj
; 
13477     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13478     PyObject 
* obj0 
= 0 ; 
13479     char *kwnames
[] = { 
13480         (char *) "self", NULL 
 
13483     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
; 
13484     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13485     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13487         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13488         (arg1
)->DestroyClippingRegion(); 
13490         wxPyEndAllowThreads(__tstate
); 
13491         if (PyErr_Occurred()) SWIG_fail
; 
13493     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13500 static PyObject 
*_wrap_DC_GetClippingBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13501     PyObject 
*resultobj
; 
13502     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13503     int *arg2 
= (int *) 0 ; 
13504     int *arg3 
= (int *) 0 ; 
13505     int *arg4 
= (int *) 0 ; 
13506     int *arg5 
= (int *) 0 ; 
13515     PyObject 
* obj0 
= 0 ; 
13516     char *kwnames
[] = { 
13517         (char *) "self", NULL 
 
13520     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
13521     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
13522     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
13523     arg5 
= &temp5
; res5 
= SWIG_NEWOBJ
; 
13524     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
; 
13525     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13526     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13528         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13529         ((wxDC 
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
); 
13531         wxPyEndAllowThreads(__tstate
); 
13532         if (PyErr_Occurred()) SWIG_fail
; 
13534     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13535     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
13536     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
13537     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
13538     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
13539     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
13540     SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0))); 
13541     resultobj 
= t_output_helper(resultobj
, ((res5 
== SWIG_NEWOBJ
) ? 
13542     SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0))); 
13549 static PyObject 
*_wrap_DC_GetClippingRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13550     PyObject 
*resultobj
; 
13551     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13553     PyObject 
* obj0 
= 0 ; 
13554     char *kwnames
[] = { 
13555         (char *) "self", NULL 
 
13558     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
; 
13559     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13560     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13562         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13563         result 
= wxDC_GetClippingRect(arg1
); 
13565         wxPyEndAllowThreads(__tstate
); 
13566         if (PyErr_Occurred()) SWIG_fail
; 
13569         wxRect 
* resultptr
; 
13570         resultptr 
= new wxRect((wxRect 
&) result
); 
13571         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
13579 static PyObject 
*_wrap_DC_GetCharHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13580     PyObject 
*resultobj
; 
13581     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13583     PyObject 
* obj0 
= 0 ; 
13584     char *kwnames
[] = { 
13585         (char *) "self", NULL 
 
13588     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
; 
13589     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13590     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13592         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13593         result 
= (int)((wxDC 
const *)arg1
)->GetCharHeight(); 
13595         wxPyEndAllowThreads(__tstate
); 
13596         if (PyErr_Occurred()) SWIG_fail
; 
13598     resultobj 
= SWIG_From_int((int)result
); 
13605 static PyObject 
*_wrap_DC_GetCharWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13606     PyObject 
*resultobj
; 
13607     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13609     PyObject 
* obj0 
= 0 ; 
13610     char *kwnames
[] = { 
13611         (char *) "self", NULL 
 
13614     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
; 
13615     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13616     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13618         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13619         result 
= (int)((wxDC 
const *)arg1
)->GetCharWidth(); 
13621         wxPyEndAllowThreads(__tstate
); 
13622         if (PyErr_Occurred()) SWIG_fail
; 
13624     resultobj 
= SWIG_From_int((int)result
); 
13631 static PyObject 
*_wrap_DC_GetTextExtent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13632     PyObject 
*resultobj
; 
13633     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13634     wxString 
*arg2 
= 0 ; 
13635     int *arg3 
= (int *) 0 ; 
13636     int *arg4 
= (int *) 0 ; 
13637     bool temp2 
= False 
; 
13642     PyObject 
* obj0 
= 0 ; 
13643     PyObject 
* obj1 
= 0 ; 
13644     char *kwnames
[] = { 
13645         (char *) "self",(char *) "string", NULL 
 
13648     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
13649     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
13650     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
; 
13651     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13652     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13654         arg2 
= wxString_in_helper(obj1
); 
13655         if (arg2 
== NULL
) SWIG_fail
; 
13659         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13660         (arg1
)->GetTextExtent((wxString 
const &)*arg2
,arg3
,arg4
); 
13662         wxPyEndAllowThreads(__tstate
); 
13663         if (PyErr_Occurred()) SWIG_fail
; 
13665     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13666     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
13667     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
13668     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
13669     SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0))); 
13684 static PyObject 
*_wrap_DC_GetFullTextExtent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13685     PyObject 
*resultobj
; 
13686     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13687     wxString 
*arg2 
= 0 ; 
13688     int *arg3 
= (int *) 0 ; 
13689     int *arg4 
= (int *) 0 ; 
13690     int *arg5 
= (int *) 0 ; 
13691     int *arg6 
= (int *) 0 ; 
13692     wxFont 
*arg7 
= (wxFont 
*) NULL 
; 
13693     bool temp2 
= False 
; 
13702     PyObject 
* obj0 
= 0 ; 
13703     PyObject 
* obj1 
= 0 ; 
13704     PyObject 
* obj2 
= 0 ; 
13705     char *kwnames
[] = { 
13706         (char *) "self",(char *) "string",(char *) "font", NULL 
 
13709     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
13710     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
13711     arg5 
= &temp5
; res5 
= SWIG_NEWOBJ
; 
13712     arg6 
= &temp6
; res6 
= SWIG_NEWOBJ
; 
13713     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13714     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13715     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13717         arg2 
= wxString_in_helper(obj1
); 
13718         if (arg2 
== NULL
) SWIG_fail
; 
13722         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
, 
13723         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13726         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13727         (arg1
)->GetTextExtent((wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
13729         wxPyEndAllowThreads(__tstate
); 
13730         if (PyErr_Occurred()) SWIG_fail
; 
13732     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13733     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
13734     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
13735     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
13736     SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0))); 
13737     resultobj 
= t_output_helper(resultobj
, ((res5 
== SWIG_NEWOBJ
) ? 
13738     SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0))); 
13739     resultobj 
= t_output_helper(resultobj
, ((res6 
== SWIG_NEWOBJ
) ? 
13740     SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0))); 
13755 static PyObject 
*_wrap_DC_GetMultiLineTextExtent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13756     PyObject 
*resultobj
; 
13757     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13758     wxString 
*arg2 
= 0 ; 
13759     int *arg3 
= (int *) 0 ; 
13760     int *arg4 
= (int *) 0 ; 
13761     int *arg5 
= (int *) 0 ; 
13762     wxFont 
*arg6 
= (wxFont 
*) NULL 
; 
13763     bool temp2 
= False 
; 
13770     PyObject 
* obj0 
= 0 ; 
13771     PyObject 
* obj1 
= 0 ; 
13772     PyObject 
* obj2 
= 0 ; 
13773     char *kwnames
[] = { 
13774         (char *) "self",(char *) "text",(char *) "font", NULL 
 
13777     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
13778     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
13779     arg5 
= &temp5
; res5 
= SWIG_NEWOBJ
; 
13780     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13781     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13782     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13784         arg2 
= wxString_in_helper(obj1
); 
13785         if (arg2 
== NULL
) SWIG_fail
; 
13789         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
, 
13790         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13793         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13794         (arg1
)->GetMultiLineTextExtent((wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
); 
13796         wxPyEndAllowThreads(__tstate
); 
13797         if (PyErr_Occurred()) SWIG_fail
; 
13799     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13800     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
13801     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
13802     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
13803     SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0))); 
13804     resultobj 
= t_output_helper(resultobj
, ((res5 
== SWIG_NEWOBJ
) ? 
13805     SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0))); 
13820 static PyObject 
*_wrap_DC_GetPartialTextExtents(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13821     PyObject 
*resultobj
; 
13822     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13823     wxString 
*arg2 
= 0 ; 
13825     bool temp2 
= False 
; 
13826     PyObject 
* obj0 
= 0 ; 
13827     PyObject 
* obj1 
= 0 ; 
13828     char *kwnames
[] = { 
13829         (char *) "self",(char *) "text", NULL 
 
13832     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
; 
13833     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13834     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13836         arg2 
= wxString_in_helper(obj1
); 
13837         if (arg2 
== NULL
) SWIG_fail
; 
13841         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13842         result 
= wxDC_GetPartialTextExtents(arg1
,(wxString 
const &)*arg2
); 
13844         wxPyEndAllowThreads(__tstate
); 
13845         if (PyErr_Occurred()) SWIG_fail
; 
13848         resultobj 
= PyList_New(0); 
13850         for (idx 
= 0; idx 
< (&result
)->GetCount(); idx 
+= 1) { 
13851             PyObject
* val 
= PyInt_FromLong( (&result
)->Item(idx
) ); 
13852             PyList_Append(resultobj
, val
); 
13870 static PyObject 
*_wrap_DC_GetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13871     PyObject 
*resultobj
; 
13872     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13874     PyObject 
* obj0 
= 0 ; 
13875     char *kwnames
[] = { 
13876         (char *) "self", NULL 
 
13879     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
; 
13880     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13881     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13883         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13884         result 
= (arg1
)->GetSize(); 
13886         wxPyEndAllowThreads(__tstate
); 
13887         if (PyErr_Occurred()) SWIG_fail
; 
13890         wxSize 
* resultptr
; 
13891         resultptr 
= new wxSize((wxSize 
&) result
); 
13892         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
13900 static PyObject 
*_wrap_DC_GetSizeTuple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13901     PyObject 
*resultobj
; 
13902     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13903     int *arg2 
= (int *) 0 ; 
13904     int *arg3 
= (int *) 0 ; 
13909     PyObject 
* obj0 
= 0 ; 
13910     char *kwnames
[] = { 
13911         (char *) "self", NULL 
 
13914     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
13915     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
13916     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
; 
13917     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13918     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13920         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13921         (arg1
)->GetSize(arg2
,arg3
); 
13923         wxPyEndAllowThreads(__tstate
); 
13924         if (PyErr_Occurred()) SWIG_fail
; 
13926     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13927     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
13928     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
13929     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
13930     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
13937 static PyObject 
*_wrap_DC_GetSizeMM(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13938     PyObject 
*resultobj
; 
13939     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13941     PyObject 
* obj0 
= 0 ; 
13942     char *kwnames
[] = { 
13943         (char *) "self", NULL 
 
13946     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
; 
13947     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13948     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13950         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13951         result 
= ((wxDC 
const *)arg1
)->GetSizeMM(); 
13953         wxPyEndAllowThreads(__tstate
); 
13954         if (PyErr_Occurred()) SWIG_fail
; 
13957         wxSize 
* resultptr
; 
13958         resultptr 
= new wxSize((wxSize 
&) result
); 
13959         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
13967 static PyObject 
*_wrap_DC_GetSizeMMTuple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13968     PyObject 
*resultobj
; 
13969     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13970     int *arg2 
= (int *) 0 ; 
13971     int *arg3 
= (int *) 0 ; 
13976     PyObject 
* obj0 
= 0 ; 
13977     char *kwnames
[] = { 
13978         (char *) "self", NULL 
 
13981     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
13982     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
13983     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
; 
13984     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13985     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13987         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13988         ((wxDC 
const *)arg1
)->GetSizeMM(arg2
,arg3
); 
13990         wxPyEndAllowThreads(__tstate
); 
13991         if (PyErr_Occurred()) SWIG_fail
; 
13993     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13994     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
13995     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
13996     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
13997     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
14004 static PyObject 
*_wrap_DC_DeviceToLogicalX(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14005     PyObject 
*resultobj
; 
14006     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14009     PyObject 
* obj0 
= 0 ; 
14010     PyObject 
* obj1 
= 0 ; 
14011     char *kwnames
[] = { 
14012         (char *) "self",(char *) "x", NULL 
 
14015     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
; 
14016     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14017     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14018     arg2 
= (int)SWIG_As_int(obj1
);  
14019     if (PyErr_Occurred()) SWIG_fail
; 
14021         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14022         result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalX(arg2
); 
14024         wxPyEndAllowThreads(__tstate
); 
14025         if (PyErr_Occurred()) SWIG_fail
; 
14027     resultobj 
= SWIG_From_int((int)result
); 
14034 static PyObject 
*_wrap_DC_DeviceToLogicalY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14035     PyObject 
*resultobj
; 
14036     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14039     PyObject 
* obj0 
= 0 ; 
14040     PyObject 
* obj1 
= 0 ; 
14041     char *kwnames
[] = { 
14042         (char *) "self",(char *) "y", NULL 
 
14045     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
; 
14046     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14047     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14048     arg2 
= (int)SWIG_As_int(obj1
);  
14049     if (PyErr_Occurred()) SWIG_fail
; 
14051         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14052         result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalY(arg2
); 
14054         wxPyEndAllowThreads(__tstate
); 
14055         if (PyErr_Occurred()) SWIG_fail
; 
14057     resultobj 
= SWIG_From_int((int)result
); 
14064 static PyObject 
*_wrap_DC_DeviceToLogicalXRel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14065     PyObject 
*resultobj
; 
14066     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14069     PyObject 
* obj0 
= 0 ; 
14070     PyObject 
* obj1 
= 0 ; 
14071     char *kwnames
[] = { 
14072         (char *) "self",(char *) "x", NULL 
 
14075     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
; 
14076     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14077     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14078     arg2 
= (int)SWIG_As_int(obj1
);  
14079     if (PyErr_Occurred()) SWIG_fail
; 
14081         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14082         result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalXRel(arg2
); 
14084         wxPyEndAllowThreads(__tstate
); 
14085         if (PyErr_Occurred()) SWIG_fail
; 
14087     resultobj 
= SWIG_From_int((int)result
); 
14094 static PyObject 
*_wrap_DC_DeviceToLogicalYRel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14095     PyObject 
*resultobj
; 
14096     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14099     PyObject 
* obj0 
= 0 ; 
14100     PyObject 
* obj1 
= 0 ; 
14101     char *kwnames
[] = { 
14102         (char *) "self",(char *) "y", NULL 
 
14105     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
; 
14106     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14107     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14108     arg2 
= (int)SWIG_As_int(obj1
);  
14109     if (PyErr_Occurred()) SWIG_fail
; 
14111         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14112         result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalYRel(arg2
); 
14114         wxPyEndAllowThreads(__tstate
); 
14115         if (PyErr_Occurred()) SWIG_fail
; 
14117     resultobj 
= SWIG_From_int((int)result
); 
14124 static PyObject 
*_wrap_DC_LogicalToDeviceX(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14125     PyObject 
*resultobj
; 
14126     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14129     PyObject 
* obj0 
= 0 ; 
14130     PyObject 
* obj1 
= 0 ; 
14131     char *kwnames
[] = { 
14132         (char *) "self",(char *) "x", NULL 
 
14135     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",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         result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceX(arg2
); 
14144         wxPyEndAllowThreads(__tstate
); 
14145         if (PyErr_Occurred()) SWIG_fail
; 
14147     resultobj 
= SWIG_From_int((int)result
); 
14154 static PyObject 
*_wrap_DC_LogicalToDeviceY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14155     PyObject 
*resultobj
; 
14156     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14159     PyObject 
* obj0 
= 0 ; 
14160     PyObject 
* obj1 
= 0 ; 
14161     char *kwnames
[] = { 
14162         (char *) "self",(char *) "y", NULL 
 
14165     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
; 
14166     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14167     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14168     arg2 
= (int)SWIG_As_int(obj1
);  
14169     if (PyErr_Occurred()) SWIG_fail
; 
14171         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14172         result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceY(arg2
); 
14174         wxPyEndAllowThreads(__tstate
); 
14175         if (PyErr_Occurred()) SWIG_fail
; 
14177     resultobj 
= SWIG_From_int((int)result
); 
14184 static PyObject 
*_wrap_DC_LogicalToDeviceXRel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14185     PyObject 
*resultobj
; 
14186     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14189     PyObject 
* obj0 
= 0 ; 
14190     PyObject 
* obj1 
= 0 ; 
14191     char *kwnames
[] = { 
14192         (char *) "self",(char *) "x", NULL 
 
14195     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
; 
14196     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14197     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14198     arg2 
= (int)SWIG_As_int(obj1
);  
14199     if (PyErr_Occurred()) SWIG_fail
; 
14201         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14202         result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceXRel(arg2
); 
14204         wxPyEndAllowThreads(__tstate
); 
14205         if (PyErr_Occurred()) SWIG_fail
; 
14207     resultobj 
= SWIG_From_int((int)result
); 
14214 static PyObject 
*_wrap_DC_LogicalToDeviceYRel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14215     PyObject 
*resultobj
; 
14216     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14219     PyObject 
* obj0 
= 0 ; 
14220     PyObject 
* obj1 
= 0 ; 
14221     char *kwnames
[] = { 
14222         (char *) "self",(char *) "y", NULL 
 
14225     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
; 
14226     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14227     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14228     arg2 
= (int)SWIG_As_int(obj1
);  
14229     if (PyErr_Occurred()) SWIG_fail
; 
14231         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14232         result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceYRel(arg2
); 
14234         wxPyEndAllowThreads(__tstate
); 
14235         if (PyErr_Occurred()) SWIG_fail
; 
14237     resultobj 
= SWIG_From_int((int)result
); 
14244 static PyObject 
*_wrap_DC_CanDrawBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14245     PyObject 
*resultobj
; 
14246     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14248     PyObject 
* obj0 
= 0 ; 
14249     char *kwnames
[] = { 
14250         (char *) "self", NULL 
 
14253     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
; 
14254     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14255     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14257         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14258         result 
= (bool)((wxDC 
const *)arg1
)->CanDrawBitmap(); 
14260         wxPyEndAllowThreads(__tstate
); 
14261         if (PyErr_Occurred()) SWIG_fail
; 
14264         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14272 static PyObject 
*_wrap_DC_CanGetTextExtent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14273     PyObject 
*resultobj
; 
14274     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14276     PyObject 
* obj0 
= 0 ; 
14277     char *kwnames
[] = { 
14278         (char *) "self", NULL 
 
14281     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
; 
14282     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14283     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14285         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14286         result 
= (bool)((wxDC 
const *)arg1
)->CanGetTextExtent(); 
14288         wxPyEndAllowThreads(__tstate
); 
14289         if (PyErr_Occurred()) SWIG_fail
; 
14292         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14300 static PyObject 
*_wrap_DC_GetDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14301     PyObject 
*resultobj
; 
14302     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14304     PyObject 
* obj0 
= 0 ; 
14305     char *kwnames
[] = { 
14306         (char *) "self", NULL 
 
14309     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
; 
14310     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14311     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14313         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14314         result 
= (int)((wxDC 
const *)arg1
)->GetDepth(); 
14316         wxPyEndAllowThreads(__tstate
); 
14317         if (PyErr_Occurred()) SWIG_fail
; 
14319     resultobj 
= SWIG_From_int((int)result
); 
14326 static PyObject 
*_wrap_DC_GetPPI(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14327     PyObject 
*resultobj
; 
14328     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14330     PyObject 
* obj0 
= 0 ; 
14331     char *kwnames
[] = { 
14332         (char *) "self", NULL 
 
14335     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
; 
14336     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14337     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14339         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14340         result 
= ((wxDC 
const *)arg1
)->GetPPI(); 
14342         wxPyEndAllowThreads(__tstate
); 
14343         if (PyErr_Occurred()) SWIG_fail
; 
14346         wxSize 
* resultptr
; 
14347         resultptr 
= new wxSize((wxSize 
&) result
); 
14348         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
14356 static PyObject 
*_wrap_DC_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14357     PyObject 
*resultobj
; 
14358     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14360     PyObject 
* obj0 
= 0 ; 
14361     char *kwnames
[] = { 
14362         (char *) "self", NULL 
 
14365     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
; 
14366     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14367     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14369         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14370         result 
= (bool)((wxDC 
const *)arg1
)->Ok(); 
14372         wxPyEndAllowThreads(__tstate
); 
14373         if (PyErr_Occurred()) SWIG_fail
; 
14376         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14384 static PyObject 
*_wrap_DC_GetBackgroundMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14385     PyObject 
*resultobj
; 
14386     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14388     PyObject 
* obj0 
= 0 ; 
14389     char *kwnames
[] = { 
14390         (char *) "self", NULL 
 
14393     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
; 
14394     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14395     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14397         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14398         result 
= (int)((wxDC 
const *)arg1
)->GetBackgroundMode(); 
14400         wxPyEndAllowThreads(__tstate
); 
14401         if (PyErr_Occurred()) SWIG_fail
; 
14403     resultobj 
= SWIG_From_int((int)result
); 
14410 static PyObject 
*_wrap_DC_GetBackground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14411     PyObject 
*resultobj
; 
14412     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14414     PyObject 
* obj0 
= 0 ; 
14415     char *kwnames
[] = { 
14416         (char *) "self", NULL 
 
14419     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
; 
14420     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14421     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14423         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14425             wxBrush 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetBackground(); 
14426             result 
= (wxBrush 
*) &_result_ref
; 
14429         wxPyEndAllowThreads(__tstate
); 
14430         if (PyErr_Occurred()) SWIG_fail
; 
14433         wxBrush
* resultptr 
= new wxBrush(*result
); 
14434         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1); 
14442 static PyObject 
*_wrap_DC_GetBrush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14443     PyObject 
*resultobj
; 
14444     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14446     PyObject 
* obj0 
= 0 ; 
14447     char *kwnames
[] = { 
14448         (char *) "self", NULL 
 
14451     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
; 
14452     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14453     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14455         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14457             wxBrush 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetBrush(); 
14458             result 
= (wxBrush 
*) &_result_ref
; 
14461         wxPyEndAllowThreads(__tstate
); 
14462         if (PyErr_Occurred()) SWIG_fail
; 
14465         wxBrush
* resultptr 
= new wxBrush(*result
); 
14466         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1); 
14474 static PyObject 
*_wrap_DC_GetFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14475     PyObject 
*resultobj
; 
14476     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14478     PyObject 
* obj0 
= 0 ; 
14479     char *kwnames
[] = { 
14480         (char *) "self", NULL 
 
14483     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
; 
14484     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14485     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14487         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14489             wxFont 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetFont(); 
14490             result 
= (wxFont 
*) &_result_ref
; 
14493         wxPyEndAllowThreads(__tstate
); 
14494         if (PyErr_Occurred()) SWIG_fail
; 
14497         wxFont
* resultptr 
= new wxFont(*result
); 
14498         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
14506 static PyObject 
*_wrap_DC_GetPen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14507     PyObject 
*resultobj
; 
14508     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14510     PyObject 
* obj0 
= 0 ; 
14511     char *kwnames
[] = { 
14512         (char *) "self", NULL 
 
14515     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
; 
14516     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14517     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14519         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14521             wxPen 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetPen(); 
14522             result 
= (wxPen 
*) &_result_ref
; 
14525         wxPyEndAllowThreads(__tstate
); 
14526         if (PyErr_Occurred()) SWIG_fail
; 
14529         wxPen
* resultptr 
= new wxPen(*result
); 
14530         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1); 
14538 static PyObject 
*_wrap_DC_GetTextBackground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14539     PyObject 
*resultobj
; 
14540     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14542     PyObject 
* obj0 
= 0 ; 
14543     char *kwnames
[] = { 
14544         (char *) "self", NULL 
 
14547     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
; 
14548     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14549     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14551         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14553             wxColour 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetTextBackground(); 
14554             result 
= (wxColour 
*) &_result_ref
; 
14557         wxPyEndAllowThreads(__tstate
); 
14558         if (PyErr_Occurred()) SWIG_fail
; 
14560     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0); 
14567 static PyObject 
*_wrap_DC_GetTextForeground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14568     PyObject 
*resultobj
; 
14569     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14571     PyObject 
* obj0 
= 0 ; 
14572     char *kwnames
[] = { 
14573         (char *) "self", NULL 
 
14576     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
; 
14577     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14578     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14580         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14582             wxColour 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetTextForeground(); 
14583             result 
= (wxColour 
*) &_result_ref
; 
14586         wxPyEndAllowThreads(__tstate
); 
14587         if (PyErr_Occurred()) SWIG_fail
; 
14589     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0); 
14596 static PyObject 
*_wrap_DC_SetTextForeground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14597     PyObject 
*resultobj
; 
14598     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14599     wxColour 
*arg2 
= 0 ; 
14601     PyObject 
* obj0 
= 0 ; 
14602     PyObject 
* obj1 
= 0 ; 
14603     char *kwnames
[] = { 
14604         (char *) "self",(char *) "colour", NULL 
 
14607     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
; 
14608     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14609     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14612         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
14615         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14616         (arg1
)->SetTextForeground((wxColour 
const &)*arg2
); 
14618         wxPyEndAllowThreads(__tstate
); 
14619         if (PyErr_Occurred()) SWIG_fail
; 
14621     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14628 static PyObject 
*_wrap_DC_SetTextBackground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14629     PyObject 
*resultobj
; 
14630     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14631     wxColour 
*arg2 
= 0 ; 
14633     PyObject 
* obj0 
= 0 ; 
14634     PyObject 
* obj1 
= 0 ; 
14635     char *kwnames
[] = { 
14636         (char *) "self",(char *) "colour", NULL 
 
14639     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
; 
14640     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14641     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14644         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
14647         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14648         (arg1
)->SetTextBackground((wxColour 
const &)*arg2
); 
14650         wxPyEndAllowThreads(__tstate
); 
14651         if (PyErr_Occurred()) SWIG_fail
; 
14653     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14660 static PyObject 
*_wrap_DC_GetMapMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14661     PyObject 
*resultobj
; 
14662     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14664     PyObject 
* obj0 
= 0 ; 
14665     char *kwnames
[] = { 
14666         (char *) "self", NULL 
 
14669     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
; 
14670     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14671     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14673         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14674         result 
= (int)((wxDC 
const *)arg1
)->GetMapMode(); 
14676         wxPyEndAllowThreads(__tstate
); 
14677         if (PyErr_Occurred()) SWIG_fail
; 
14679     resultobj 
= SWIG_From_int((int)result
); 
14686 static PyObject 
*_wrap_DC_SetMapMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14687     PyObject 
*resultobj
; 
14688     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14690     PyObject 
* obj0 
= 0 ; 
14691     PyObject 
* obj1 
= 0 ; 
14692     char *kwnames
[] = { 
14693         (char *) "self",(char *) "mode", NULL 
 
14696     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
; 
14697     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14698     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14699     arg2 
= (int)SWIG_As_int(obj1
);  
14700     if (PyErr_Occurred()) SWIG_fail
; 
14702         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14703         (arg1
)->SetMapMode(arg2
); 
14705         wxPyEndAllowThreads(__tstate
); 
14706         if (PyErr_Occurred()) SWIG_fail
; 
14708     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14715 static PyObject 
*_wrap_DC_GetUserScale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14716     PyObject 
*resultobj
; 
14717     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14718     double *arg2 
= (double *) 0 ; 
14719     double *arg3 
= (double *) 0 ; 
14724     PyObject 
* obj0 
= 0 ; 
14725     char *kwnames
[] = { 
14726         (char *) "self", NULL 
 
14729     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
14730     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
14731     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
; 
14732     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14733     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14735         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14736         ((wxDC 
const *)arg1
)->GetUserScale(arg2
,arg3
); 
14738         wxPyEndAllowThreads(__tstate
); 
14739         if (PyErr_Occurred()) SWIG_fail
; 
14741     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14742     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
14743     SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0))); 
14744     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
14745     SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0))); 
14752 static PyObject 
*_wrap_DC_SetUserScale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14753     PyObject 
*resultobj
; 
14754     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14757     PyObject 
* obj0 
= 0 ; 
14758     PyObject 
* obj1 
= 0 ; 
14759     PyObject 
* obj2 
= 0 ; 
14760     char *kwnames
[] = { 
14761         (char *) "self",(char *) "x",(char *) "y", NULL 
 
14764     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14765     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14766     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14767     arg2 
= (double)SWIG_As_double(obj1
);  
14768     if (PyErr_Occurred()) SWIG_fail
; 
14769     arg3 
= (double)SWIG_As_double(obj2
);  
14770     if (PyErr_Occurred()) SWIG_fail
; 
14772         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14773         (arg1
)->SetUserScale(arg2
,arg3
); 
14775         wxPyEndAllowThreads(__tstate
); 
14776         if (PyErr_Occurred()) SWIG_fail
; 
14778     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14785 static PyObject 
*_wrap_DC_GetLogicalScale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14786     PyObject 
*resultobj
; 
14787     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14788     double *arg2 
= (double *) 0 ; 
14789     double *arg3 
= (double *) 0 ; 
14794     PyObject 
* obj0 
= 0 ; 
14795     char *kwnames
[] = { 
14796         (char *) "self", NULL 
 
14799     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
14800     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
14801     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
; 
14802     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14803     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14805         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14806         (arg1
)->GetLogicalScale(arg2
,arg3
); 
14808         wxPyEndAllowThreads(__tstate
); 
14809         if (PyErr_Occurred()) SWIG_fail
; 
14811     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14812     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
14813     SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0))); 
14814     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
14815     SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0))); 
14822 static PyObject 
*_wrap_DC_SetLogicalScale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14823     PyObject 
*resultobj
; 
14824     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14827     PyObject 
* obj0 
= 0 ; 
14828     PyObject 
* obj1 
= 0 ; 
14829     PyObject 
* obj2 
= 0 ; 
14830     char *kwnames
[] = { 
14831         (char *) "self",(char *) "x",(char *) "y", NULL 
 
14834     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14835     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14836     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14837     arg2 
= (double)SWIG_As_double(obj1
);  
14838     if (PyErr_Occurred()) SWIG_fail
; 
14839     arg3 
= (double)SWIG_As_double(obj2
);  
14840     if (PyErr_Occurred()) SWIG_fail
; 
14842         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14843         (arg1
)->SetLogicalScale(arg2
,arg3
); 
14845         wxPyEndAllowThreads(__tstate
); 
14846         if (PyErr_Occurred()) SWIG_fail
; 
14848     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14855 static PyObject 
*_wrap_DC_GetLogicalOrigin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14856     PyObject 
*resultobj
; 
14857     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14859     PyObject 
* obj0 
= 0 ; 
14860     char *kwnames
[] = { 
14861         (char *) "self", NULL 
 
14864     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
; 
14865     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14866     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14868         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14869         result 
= ((wxDC 
const *)arg1
)->GetLogicalOrigin(); 
14871         wxPyEndAllowThreads(__tstate
); 
14872         if (PyErr_Occurred()) SWIG_fail
; 
14875         wxPoint 
* resultptr
; 
14876         resultptr 
= new wxPoint((wxPoint 
&) result
); 
14877         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
14885 static PyObject 
*_wrap_DC_GetLogicalOriginTuple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14886     PyObject 
*resultobj
; 
14887     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14888     int *arg2 
= (int *) 0 ; 
14889     int *arg3 
= (int *) 0 ; 
14894     PyObject 
* obj0 
= 0 ; 
14895     char *kwnames
[] = { 
14896         (char *) "self", NULL 
 
14899     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
14900     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
14901     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
; 
14902     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14903     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14905         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14906         ((wxDC 
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
); 
14908         wxPyEndAllowThreads(__tstate
); 
14909         if (PyErr_Occurred()) SWIG_fail
; 
14911     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14912     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
14913     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
14914     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
14915     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
14922 static PyObject 
*_wrap_DC_SetLogicalOrigin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14923     PyObject 
*resultobj
; 
14924     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14927     PyObject 
* obj0 
= 0 ; 
14928     PyObject 
* obj1 
= 0 ; 
14929     PyObject 
* obj2 
= 0 ; 
14930     char *kwnames
[] = { 
14931         (char *) "self",(char *) "x",(char *) "y", NULL 
 
14934     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14935     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14936     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14937     arg2 
= (int)SWIG_As_int(obj1
);  
14938     if (PyErr_Occurred()) SWIG_fail
; 
14939     arg3 
= (int)SWIG_As_int(obj2
);  
14940     if (PyErr_Occurred()) SWIG_fail
; 
14942         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14943         (arg1
)->SetLogicalOrigin(arg2
,arg3
); 
14945         wxPyEndAllowThreads(__tstate
); 
14946         if (PyErr_Occurred()) SWIG_fail
; 
14948     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14955 static PyObject 
*_wrap_DC_SetLogicalOriginPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14956     PyObject 
*resultobj
; 
14957     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14958     wxPoint 
*arg2 
= 0 ; 
14960     PyObject 
* obj0 
= 0 ; 
14961     PyObject 
* obj1 
= 0 ; 
14962     char *kwnames
[] = { 
14963         (char *) "self",(char *) "point", NULL 
 
14966     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
14967     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14968     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14971         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
14974         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14975         wxDC_SetLogicalOriginPoint(arg1
,(wxPoint 
const &)*arg2
); 
14977         wxPyEndAllowThreads(__tstate
); 
14978         if (PyErr_Occurred()) SWIG_fail
; 
14980     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14987 static PyObject 
*_wrap_DC_GetDeviceOrigin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14988     PyObject 
*resultobj
; 
14989     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14991     PyObject 
* obj0 
= 0 ; 
14992     char *kwnames
[] = { 
14993         (char *) "self", NULL 
 
14996     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
; 
14997     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14998     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15000         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15001         result 
= ((wxDC 
const *)arg1
)->GetDeviceOrigin(); 
15003         wxPyEndAllowThreads(__tstate
); 
15004         if (PyErr_Occurred()) SWIG_fail
; 
15007         wxPoint 
* resultptr
; 
15008         resultptr 
= new wxPoint((wxPoint 
&) result
); 
15009         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
15017 static PyObject 
*_wrap_DC_GetDeviceOriginTuple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15018     PyObject 
*resultobj
; 
15019     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15020     int *arg2 
= (int *) 0 ; 
15021     int *arg3 
= (int *) 0 ; 
15026     PyObject 
* obj0 
= 0 ; 
15027     char *kwnames
[] = { 
15028         (char *) "self", NULL 
 
15031     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
15032     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
15033     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
; 
15034     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15035     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15037         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15038         ((wxDC 
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
); 
15040         wxPyEndAllowThreads(__tstate
); 
15041         if (PyErr_Occurred()) SWIG_fail
; 
15043     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15044     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
15045     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
15046     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
15047     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
15054 static PyObject 
*_wrap_DC_SetDeviceOrigin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15055     PyObject 
*resultobj
; 
15056     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15059     PyObject 
* obj0 
= 0 ; 
15060     PyObject 
* obj1 
= 0 ; 
15061     PyObject 
* obj2 
= 0 ; 
15062     char *kwnames
[] = { 
15063         (char *) "self",(char *) "x",(char *) "y", NULL 
 
15066     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15067     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15068     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15069     arg2 
= (int)SWIG_As_int(obj1
);  
15070     if (PyErr_Occurred()) SWIG_fail
; 
15071     arg3 
= (int)SWIG_As_int(obj2
);  
15072     if (PyErr_Occurred()) SWIG_fail
; 
15074         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15075         (arg1
)->SetDeviceOrigin(arg2
,arg3
); 
15077         wxPyEndAllowThreads(__tstate
); 
15078         if (PyErr_Occurred()) SWIG_fail
; 
15080     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15087 static PyObject 
*_wrap_DC_SetDeviceOriginPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15088     PyObject 
*resultobj
; 
15089     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15090     wxPoint 
*arg2 
= 0 ; 
15092     PyObject 
* obj0 
= 0 ; 
15093     PyObject 
* obj1 
= 0 ; 
15094     char *kwnames
[] = { 
15095         (char *) "self",(char *) "point", NULL 
 
15098     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
15099     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15100     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15103         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
15106         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15107         wxDC_SetDeviceOriginPoint(arg1
,(wxPoint 
const &)*arg2
); 
15109         wxPyEndAllowThreads(__tstate
); 
15110         if (PyErr_Occurred()) SWIG_fail
; 
15112     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15119 static PyObject 
*_wrap_DC_SetAxisOrientation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15120     PyObject 
*resultobj
; 
15121     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15124     PyObject 
* obj0 
= 0 ; 
15125     PyObject 
* obj1 
= 0 ; 
15126     PyObject 
* obj2 
= 0 ; 
15127     char *kwnames
[] = { 
15128         (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL 
 
15131     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15132     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15133     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15134     arg2 
= (bool)SWIG_As_bool(obj1
);  
15135     if (PyErr_Occurred()) SWIG_fail
; 
15136     arg3 
= (bool)SWIG_As_bool(obj2
);  
15137     if (PyErr_Occurred()) SWIG_fail
; 
15139         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15140         (arg1
)->SetAxisOrientation(arg2
,arg3
); 
15142         wxPyEndAllowThreads(__tstate
); 
15143         if (PyErr_Occurred()) SWIG_fail
; 
15145     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15152 static PyObject 
*_wrap_DC_GetLogicalFunction(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15153     PyObject 
*resultobj
; 
15154     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15156     PyObject 
* obj0 
= 0 ; 
15157     char *kwnames
[] = { 
15158         (char *) "self", NULL 
 
15161     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
; 
15162     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15163     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15165         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15166         result 
= (int)((wxDC 
const *)arg1
)->GetLogicalFunction(); 
15168         wxPyEndAllowThreads(__tstate
); 
15169         if (PyErr_Occurred()) SWIG_fail
; 
15171     resultobj 
= SWIG_From_int((int)result
); 
15178 static PyObject 
*_wrap_DC_SetLogicalFunction(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15179     PyObject 
*resultobj
; 
15180     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15182     PyObject 
* obj0 
= 0 ; 
15183     PyObject 
* obj1 
= 0 ; 
15184     char *kwnames
[] = { 
15185         (char *) "self",(char *) "function", NULL 
 
15188     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
; 
15189     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15190     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15191     arg2 
= (int)SWIG_As_int(obj1
);  
15192     if (PyErr_Occurred()) SWIG_fail
; 
15194         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15195         (arg1
)->SetLogicalFunction(arg2
); 
15197         wxPyEndAllowThreads(__tstate
); 
15198         if (PyErr_Occurred()) SWIG_fail
; 
15200     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15207 static PyObject 
*_wrap_DC_SetOptimization(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15208     PyObject 
*resultobj
; 
15209     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15211     PyObject 
* obj0 
= 0 ; 
15212     PyObject 
* obj1 
= 0 ; 
15213     char *kwnames
[] = { 
15214         (char *) "self",(char *) "optimize", NULL 
 
15217     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
; 
15218     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15219     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15220     arg2 
= (bool)SWIG_As_bool(obj1
);  
15221     if (PyErr_Occurred()) SWIG_fail
; 
15223         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15224         (arg1
)->SetOptimization(arg2
); 
15226         wxPyEndAllowThreads(__tstate
); 
15227         if (PyErr_Occurred()) SWIG_fail
; 
15229     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15236 static PyObject 
*_wrap_DC_GetOptimization(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15237     PyObject 
*resultobj
; 
15238     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15240     PyObject 
* obj0 
= 0 ; 
15241     char *kwnames
[] = { 
15242         (char *) "self", NULL 
 
15245     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
; 
15246     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15247     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15249         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15250         result 
= (bool)(arg1
)->GetOptimization(); 
15252         wxPyEndAllowThreads(__tstate
); 
15253         if (PyErr_Occurred()) SWIG_fail
; 
15256         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15264 static PyObject 
*_wrap_DC_CalcBoundingBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15265     PyObject 
*resultobj
; 
15266     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15269     PyObject 
* obj0 
= 0 ; 
15270     PyObject 
* obj1 
= 0 ; 
15271     PyObject 
* obj2 
= 0 ; 
15272     char *kwnames
[] = { 
15273         (char *) "self",(char *) "x",(char *) "y", NULL 
 
15276     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15277     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15278     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15279     arg2 
= (int)SWIG_As_int(obj1
);  
15280     if (PyErr_Occurred()) SWIG_fail
; 
15281     arg3 
= (int)SWIG_As_int(obj2
);  
15282     if (PyErr_Occurred()) SWIG_fail
; 
15284         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15285         (arg1
)->CalcBoundingBox(arg2
,arg3
); 
15287         wxPyEndAllowThreads(__tstate
); 
15288         if (PyErr_Occurred()) SWIG_fail
; 
15290     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15297 static PyObject 
*_wrap_DC_CalcBoundingBoxPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15298     PyObject 
*resultobj
; 
15299     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15300     wxPoint 
*arg2 
= 0 ; 
15302     PyObject 
* obj0 
= 0 ; 
15303     PyObject 
* obj1 
= 0 ; 
15304     char *kwnames
[] = { 
15305         (char *) "self",(char *) "point", NULL 
 
15308     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
15309     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15310     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15313         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
15316         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15317         wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint 
const &)*arg2
); 
15319         wxPyEndAllowThreads(__tstate
); 
15320         if (PyErr_Occurred()) SWIG_fail
; 
15322     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15329 static PyObject 
*_wrap_DC_ResetBoundingBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15330     PyObject 
*resultobj
; 
15331     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15332     PyObject 
* obj0 
= 0 ; 
15333     char *kwnames
[] = { 
15334         (char *) "self", NULL 
 
15337     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
; 
15338     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15339     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15341         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15342         (arg1
)->ResetBoundingBox(); 
15344         wxPyEndAllowThreads(__tstate
); 
15345         if (PyErr_Occurred()) SWIG_fail
; 
15347     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15354 static PyObject 
*_wrap_DC_MinX(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15355     PyObject 
*resultobj
; 
15356     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15358     PyObject 
* obj0 
= 0 ; 
15359     char *kwnames
[] = { 
15360         (char *) "self", NULL 
 
15363     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
; 
15364     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15365     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15367         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15368         result 
= (int)((wxDC 
const *)arg1
)->MinX(); 
15370         wxPyEndAllowThreads(__tstate
); 
15371         if (PyErr_Occurred()) SWIG_fail
; 
15373     resultobj 
= SWIG_From_int((int)result
); 
15380 static PyObject 
*_wrap_DC_MaxX(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15381     PyObject 
*resultobj
; 
15382     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15384     PyObject 
* obj0 
= 0 ; 
15385     char *kwnames
[] = { 
15386         (char *) "self", NULL 
 
15389     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
; 
15390     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15391     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15393         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15394         result 
= (int)((wxDC 
const *)arg1
)->MaxX(); 
15396         wxPyEndAllowThreads(__tstate
); 
15397         if (PyErr_Occurred()) SWIG_fail
; 
15399     resultobj 
= SWIG_From_int((int)result
); 
15406 static PyObject 
*_wrap_DC_MinY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15407     PyObject 
*resultobj
; 
15408     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15410     PyObject 
* obj0 
= 0 ; 
15411     char *kwnames
[] = { 
15412         (char *) "self", NULL 
 
15415     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
; 
15416     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15417     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15419         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15420         result 
= (int)((wxDC 
const *)arg1
)->MinY(); 
15422         wxPyEndAllowThreads(__tstate
); 
15423         if (PyErr_Occurred()) SWIG_fail
; 
15425     resultobj 
= SWIG_From_int((int)result
); 
15432 static PyObject 
*_wrap_DC_MaxY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15433     PyObject 
*resultobj
; 
15434     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15436     PyObject 
* obj0 
= 0 ; 
15437     char *kwnames
[] = { 
15438         (char *) "self", NULL 
 
15441     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
; 
15442     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15443     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15445         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15446         result 
= (int)((wxDC 
const *)arg1
)->MaxY(); 
15448         wxPyEndAllowThreads(__tstate
); 
15449         if (PyErr_Occurred()) SWIG_fail
; 
15451     resultobj 
= SWIG_From_int((int)result
); 
15458 static PyObject 
*_wrap_DC_GetBoundingBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15459     PyObject 
*resultobj
; 
15460     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15461     int *arg2 
= (int *) 0 ; 
15462     int *arg3 
= (int *) 0 ; 
15463     int *arg4 
= (int *) 0 ; 
15464     int *arg5 
= (int *) 0 ; 
15473     PyObject 
* obj0 
= 0 ; 
15474     char *kwnames
[] = { 
15475         (char *) "self", NULL 
 
15478     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
15479     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
15480     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
15481     arg5 
= &temp5
; res5 
= SWIG_NEWOBJ
; 
15482     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
; 
15483     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15484     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15486         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15487         wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
); 
15489         wxPyEndAllowThreads(__tstate
); 
15490         if (PyErr_Occurred()) SWIG_fail
; 
15492     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15493     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
15494     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
15495     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
15496     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
15497     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
15498     SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0))); 
15499     resultobj 
= t_output_helper(resultobj
, ((res5 
== SWIG_NEWOBJ
) ? 
15500     SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0))); 
15507 static PyObject 
*_wrap_DC_GetHDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15508     PyObject 
*resultobj
; 
15509     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15511     PyObject 
* obj0 
= 0 ; 
15512     char *kwnames
[] = { 
15513         (char *) "self", NULL 
 
15516     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetHDC",kwnames
,&obj0
)) goto fail
; 
15517     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15518     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15520         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15521         result 
= (long)(arg1
)->GetHDC(); 
15523         wxPyEndAllowThreads(__tstate
); 
15524         if (PyErr_Occurred()) SWIG_fail
; 
15526     resultobj 
= SWIG_From_long((long)result
); 
15533 static PyObject 
*_wrap_DC__DrawPointList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15534     PyObject 
*resultobj
; 
15535     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15536     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
15537     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
15538     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
15540     PyObject 
* obj0 
= 0 ; 
15541     PyObject 
* obj1 
= 0 ; 
15542     PyObject 
* obj2 
= 0 ; 
15543     PyObject 
* obj3 
= 0 ; 
15544     char *kwnames
[] = { 
15545         (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
15548     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
15549     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15550     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15555         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15556         result 
= (PyObject 
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
); 
15558         wxPyEndAllowThreads(__tstate
); 
15559         if (PyErr_Occurred()) SWIG_fail
; 
15561     resultobj 
= result
; 
15568 static PyObject 
*_wrap_DC__DrawLineList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15569     PyObject 
*resultobj
; 
15570     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15571     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
15572     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
15573     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
15575     PyObject 
* obj0 
= 0 ; 
15576     PyObject 
* obj1 
= 0 ; 
15577     PyObject 
* obj2 
= 0 ; 
15578     PyObject 
* obj3 
= 0 ; 
15579     char *kwnames
[] = { 
15580         (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
15583     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
15584     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15585     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15590         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15591         result 
= (PyObject 
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
); 
15593         wxPyEndAllowThreads(__tstate
); 
15594         if (PyErr_Occurred()) SWIG_fail
; 
15596     resultobj 
= result
; 
15603 static PyObject 
*_wrap_DC__DrawRectangleList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15604     PyObject 
*resultobj
; 
15605     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15606     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
15607     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
15608     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
15610     PyObject 
* obj0 
= 0 ; 
15611     PyObject 
* obj1 
= 0 ; 
15612     PyObject 
* obj2 
= 0 ; 
15613     PyObject 
* obj3 
= 0 ; 
15614     char *kwnames
[] = { 
15615         (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
15618     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
15619     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15620     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15625         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15626         result 
= (PyObject 
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
); 
15628         wxPyEndAllowThreads(__tstate
); 
15629         if (PyErr_Occurred()) SWIG_fail
; 
15631     resultobj 
= result
; 
15638 static PyObject 
*_wrap_DC__DrawEllipseList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15639     PyObject 
*resultobj
; 
15640     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15641     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
15642     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
15643     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
15645     PyObject 
* obj0 
= 0 ; 
15646     PyObject 
* obj1 
= 0 ; 
15647     PyObject 
* obj2 
= 0 ; 
15648     PyObject 
* obj3 
= 0 ; 
15649     char *kwnames
[] = { 
15650         (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
15653     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
15654     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15655     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15660         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15661         result 
= (PyObject 
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
); 
15663         wxPyEndAllowThreads(__tstate
); 
15664         if (PyErr_Occurred()) SWIG_fail
; 
15666     resultobj 
= result
; 
15673 static PyObject 
*_wrap_DC__DrawPolygonList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15674     PyObject 
*resultobj
; 
15675     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15676     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
15677     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
15678     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
15680     PyObject 
* obj0 
= 0 ; 
15681     PyObject 
* obj1 
= 0 ; 
15682     PyObject 
* obj2 
= 0 ; 
15683     PyObject 
* obj3 
= 0 ; 
15684     char *kwnames
[] = { 
15685         (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
15688     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
15689     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15690     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15695         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15696         result 
= (PyObject 
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
); 
15698         wxPyEndAllowThreads(__tstate
); 
15699         if (PyErr_Occurred()) SWIG_fail
; 
15701     resultobj 
= result
; 
15708 static PyObject 
*_wrap_DC__DrawTextList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15709     PyObject 
*resultobj
; 
15710     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15711     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
15712     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
15713     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
15714     PyObject 
*arg5 
= (PyObject 
*) 0 ; 
15716     PyObject 
* obj0 
= 0 ; 
15717     PyObject 
* obj1 
= 0 ; 
15718     PyObject 
* obj2 
= 0 ; 
15719     PyObject 
* obj3 
= 0 ; 
15720     PyObject 
* obj4 
= 0 ; 
15721     char *kwnames
[] = { 
15722         (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL 
 
15725     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
15726     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15727     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15733         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15734         result 
= (PyObject 
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
); 
15736         wxPyEndAllowThreads(__tstate
); 
15737         if (PyErr_Occurred()) SWIG_fail
; 
15739     resultobj 
= result
; 
15746 static PyObject 
* DC_swigregister(PyObject 
*, PyObject 
*args
) { 
15748     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15749     SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
); 
15751     return Py_BuildValue((char *)""); 
15753 static PyObject 
*_wrap_new_MemoryDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15754     PyObject 
*resultobj
; 
15755     wxMemoryDC 
*result
; 
15756     char *kwnames
[] = { 
15760     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
; 
15762         if (!wxPyCheckForApp()) SWIG_fail
; 
15763         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15764         result 
= (wxMemoryDC 
*)new wxMemoryDC(); 
15766         wxPyEndAllowThreads(__tstate
); 
15767         if (PyErr_Occurred()) SWIG_fail
; 
15769     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1); 
15776 static PyObject 
*_wrap_new_MemoryDCFromDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15777     PyObject 
*resultobj
; 
15778     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15779     wxMemoryDC 
*result
; 
15780     PyObject 
* obj0 
= 0 ; 
15781     char *kwnames
[] = { 
15782         (char *) "oldDC", NULL 
 
15785     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
; 
15786     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15787     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15789         if (!wxPyCheckForApp()) SWIG_fail
; 
15790         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15791         result 
= (wxMemoryDC 
*)new wxMemoryDC(arg1
); 
15793         wxPyEndAllowThreads(__tstate
); 
15794         if (PyErr_Occurred()) SWIG_fail
; 
15796     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1); 
15803 static PyObject 
*_wrap_MemoryDC_SelectObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15804     PyObject 
*resultobj
; 
15805     wxMemoryDC 
*arg1 
= (wxMemoryDC 
*) 0 ; 
15806     wxBitmap 
*arg2 
= 0 ; 
15807     PyObject 
* obj0 
= 0 ; 
15808     PyObject 
* obj1 
= 0 ; 
15809     char *kwnames
[] = { 
15810         (char *) "self",(char *) "bitmap", NULL 
 
15813     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
; 
15814     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
, 
15815     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15816     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
15817     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
15819     if (arg2 
== NULL
) { 
15820         PyErr_SetString(PyExc_TypeError
,"null reference"); 
15824         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15825         (arg1
)->SelectObject((wxBitmap 
const &)*arg2
); 
15827         wxPyEndAllowThreads(__tstate
); 
15828         if (PyErr_Occurred()) SWIG_fail
; 
15830     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15837 static PyObject 
* MemoryDC_swigregister(PyObject 
*, PyObject 
*args
) { 
15839     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15840     SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
); 
15842     return Py_BuildValue((char *)""); 
15844 static PyObject 
*_wrap_new_BufferedDC__SWIG_0(PyObject 
*, PyObject 
*args
) { 
15845     PyObject 
*resultobj
; 
15846     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15847     wxBitmap 
*arg2 
= 0 ; 
15848     wxBufferedDC 
*result
; 
15849     PyObject 
* obj0 
= 0 ; 
15850     PyObject 
* obj1 
= 0 ; 
15852     if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
; 
15853     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15854     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15855     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
15856     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
15858     if (arg2 
== NULL
) { 
15859         PyErr_SetString(PyExc_TypeError
,"null reference"); 
15863         if (!wxPyCheckForApp()) SWIG_fail
; 
15864         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15865         result 
= (wxBufferedDC 
*)new wxBufferedDC(arg1
,(wxBitmap 
const &)*arg2
); 
15867         wxPyEndAllowThreads(__tstate
); 
15868         if (PyErr_Occurred()) SWIG_fail
; 
15870     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1); 
15877 static PyObject 
*_wrap_new_BufferedDC__SWIG_1(PyObject 
*, PyObject 
*args
) { 
15878     PyObject 
*resultobj
; 
15879     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15881     wxBufferedDC 
*result
; 
15883     PyObject 
* obj0 
= 0 ; 
15884     PyObject 
* obj1 
= 0 ; 
15886     if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
; 
15887     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15888     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15891         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
15894         if (!wxPyCheckForApp()) SWIG_fail
; 
15895         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15896         result 
= (wxBufferedDC 
*)new wxBufferedDC(arg1
,(wxSize 
const &)*arg2
); 
15898         wxPyEndAllowThreads(__tstate
); 
15899         if (PyErr_Occurred()) SWIG_fail
; 
15901     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1); 
15908 static PyObject 
*_wrap_new_BufferedDC(PyObject 
*self
, PyObject 
*args
) { 
15913     argc 
= PyObject_Length(args
); 
15914     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
15915         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
15921             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) { 
15931                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) { 
15939                 return _wrap_new_BufferedDC__SWIG_0(self
,args
); 
15947             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) { 
15956                 _v 
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2); 
15959                 return _wrap_new_BufferedDC__SWIG_1(self
,args
); 
15964     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'"); 
15969 static PyObject 
*_wrap_delete_BufferedDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15970     PyObject 
*resultobj
; 
15971     wxBufferedDC 
*arg1 
= (wxBufferedDC 
*) 0 ; 
15972     PyObject 
* obj0 
= 0 ; 
15973     char *kwnames
[] = { 
15974         (char *) "self", NULL 
 
15977     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
; 
15978     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
, 
15979     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15981         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15984         wxPyEndAllowThreads(__tstate
); 
15985         if (PyErr_Occurred()) SWIG_fail
; 
15987     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15994 static PyObject 
*_wrap_BufferedDC_UnMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15995     PyObject 
*resultobj
; 
15996     wxBufferedDC 
*arg1 
= (wxBufferedDC 
*) 0 ; 
15997     PyObject 
* obj0 
= 0 ; 
15998     char *kwnames
[] = { 
15999         (char *) "self", NULL 
 
16002     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
; 
16003     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
, 
16004     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16006         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16009         wxPyEndAllowThreads(__tstate
); 
16010         if (PyErr_Occurred()) SWIG_fail
; 
16012     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16019 static PyObject 
* BufferedDC_swigregister(PyObject 
*, PyObject 
*args
) { 
16021     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16022     SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
); 
16024     return Py_BuildValue((char *)""); 
16026 static PyObject 
*_wrap_new_BufferedPaintDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16027     PyObject 
*resultobj
; 
16028     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
16029     wxBitmap 
const &arg2_defvalue 
= wxNullBitmap 
; 
16030     wxBitmap 
*arg2 
= (wxBitmap 
*) &arg2_defvalue 
; 
16031     wxBufferedPaintDC 
*result
; 
16032     PyObject 
* obj0 
= 0 ; 
16033     PyObject 
* obj1 
= 0 ; 
16034     char *kwnames
[] = { 
16035         (char *) "window",(char *) "buffer", NULL 
 
16038     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
; 
16039     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
16040     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16042         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
16043         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
16045         if (arg2 
== NULL
) { 
16046             PyErr_SetString(PyExc_TypeError
,"null reference"); 
16051         if (!wxPyCheckForApp()) SWIG_fail
; 
16052         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16053         result 
= (wxBufferedPaintDC 
*)new wxBufferedPaintDC(arg1
,(wxBitmap 
const &)*arg2
); 
16055         wxPyEndAllowThreads(__tstate
); 
16056         if (PyErr_Occurred()) SWIG_fail
; 
16058     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1); 
16065 static PyObject 
* BufferedPaintDC_swigregister(PyObject 
*, PyObject 
*args
) { 
16067     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16068     SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
); 
16070     return Py_BuildValue((char *)""); 
16072 static PyObject 
*_wrap_new_ScreenDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16073     PyObject 
*resultobj
; 
16074     wxScreenDC 
*result
; 
16075     char *kwnames
[] = { 
16079     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
; 
16081         if (!wxPyCheckForApp()) SWIG_fail
; 
16082         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16083         result 
= (wxScreenDC 
*)new wxScreenDC(); 
16085         wxPyEndAllowThreads(__tstate
); 
16086         if (PyErr_Occurred()) SWIG_fail
; 
16088     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1); 
16095 static PyObject 
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16096     PyObject 
*resultobj
; 
16097     wxScreenDC 
*arg1 
= (wxScreenDC 
*) 0 ; 
16098     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
16100     PyObject 
* obj0 
= 0 ; 
16101     PyObject 
* obj1 
= 0 ; 
16102     char *kwnames
[] = { 
16103         (char *) "self",(char *) "window", NULL 
 
16106     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
; 
16107     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
, 
16108     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16109     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
16110     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16112         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16113         result 
= (bool)(arg1
)->StartDrawingOnTop(arg2
); 
16115         wxPyEndAllowThreads(__tstate
); 
16116         if (PyErr_Occurred()) SWIG_fail
; 
16119         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16127 static PyObject 
*_wrap_ScreenDC_StartDrawingOnTop(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16128     PyObject 
*resultobj
; 
16129     wxScreenDC 
*arg1 
= (wxScreenDC 
*) 0 ; 
16130     wxRect 
*arg2 
= (wxRect 
*) NULL 
; 
16132     PyObject 
* obj0 
= 0 ; 
16133     PyObject 
* obj1 
= 0 ; 
16134     char *kwnames
[] = { 
16135         (char *) "self",(char *) "rect", NULL 
 
16138     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
; 
16139     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
, 
16140     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16142         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
, 
16143         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16146         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16147         result 
= (bool)(arg1
)->StartDrawingOnTop(arg2
); 
16149         wxPyEndAllowThreads(__tstate
); 
16150         if (PyErr_Occurred()) SWIG_fail
; 
16153         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16161 static PyObject 
*_wrap_ScreenDC_EndDrawingOnTop(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16162     PyObject 
*resultobj
; 
16163     wxScreenDC 
*arg1 
= (wxScreenDC 
*) 0 ; 
16165     PyObject 
* obj0 
= 0 ; 
16166     char *kwnames
[] = { 
16167         (char *) "self", NULL 
 
16170     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
; 
16171     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
, 
16172     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16174         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16175         result 
= (bool)(arg1
)->EndDrawingOnTop(); 
16177         wxPyEndAllowThreads(__tstate
); 
16178         if (PyErr_Occurred()) SWIG_fail
; 
16181         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16189 static PyObject 
* ScreenDC_swigregister(PyObject 
*, PyObject 
*args
) { 
16191     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16192     SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
); 
16194     return Py_BuildValue((char *)""); 
16196 static PyObject 
*_wrap_new_ClientDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16197     PyObject 
*resultobj
; 
16198     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
16199     wxClientDC 
*result
; 
16200     PyObject 
* obj0 
= 0 ; 
16201     char *kwnames
[] = { 
16202         (char *) "win", NULL 
 
16205     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
; 
16206     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
16207     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16209         if (!wxPyCheckForApp()) SWIG_fail
; 
16210         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16211         result 
= (wxClientDC 
*)new wxClientDC(arg1
); 
16213         wxPyEndAllowThreads(__tstate
); 
16214         if (PyErr_Occurred()) SWIG_fail
; 
16216     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1); 
16223 static PyObject 
* ClientDC_swigregister(PyObject 
*, PyObject 
*args
) { 
16225     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16226     SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
); 
16228     return Py_BuildValue((char *)""); 
16230 static PyObject 
*_wrap_new_PaintDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16231     PyObject 
*resultobj
; 
16232     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
16234     PyObject 
* obj0 
= 0 ; 
16235     char *kwnames
[] = { 
16236         (char *) "win", NULL 
 
16239     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
; 
16240     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
16241     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16243         if (!wxPyCheckForApp()) SWIG_fail
; 
16244         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16245         result 
= (wxPaintDC 
*)new wxPaintDC(arg1
); 
16247         wxPyEndAllowThreads(__tstate
); 
16248         if (PyErr_Occurred()) SWIG_fail
; 
16250     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1); 
16257 static PyObject 
* PaintDC_swigregister(PyObject 
*, PyObject 
*args
) { 
16259     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16260     SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
); 
16262     return Py_BuildValue((char *)""); 
16264 static PyObject 
*_wrap_new_WindowDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16265     PyObject 
*resultobj
; 
16266     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
16267     wxWindowDC 
*result
; 
16268     PyObject 
* obj0 
= 0 ; 
16269     char *kwnames
[] = { 
16270         (char *) "win", NULL 
 
16273     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
; 
16274     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
16275     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16277         if (!wxPyCheckForApp()) SWIG_fail
; 
16278         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16279         result 
= (wxWindowDC 
*)new wxWindowDC(arg1
); 
16281         wxPyEndAllowThreads(__tstate
); 
16282         if (PyErr_Occurred()) SWIG_fail
; 
16284     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1); 
16291 static PyObject 
* WindowDC_swigregister(PyObject 
*, PyObject 
*args
) { 
16293     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16294     SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
); 
16296     return Py_BuildValue((char *)""); 
16298 static PyObject 
*_wrap_new_MirrorDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16299     PyObject 
*resultobj
; 
16302     wxMirrorDC 
*result
; 
16303     PyObject 
* obj0 
= 0 ; 
16304     PyObject 
* obj1 
= 0 ; 
16305     char *kwnames
[] = { 
16306         (char *) "dc",(char *) "mirror", NULL 
 
16309     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
; 
16310     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
16311     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
16313     if (arg1 
== NULL
) { 
16314         PyErr_SetString(PyExc_TypeError
,"null reference"); 
16317     arg2 
= (bool)SWIG_As_bool(obj1
);  
16318     if (PyErr_Occurred()) SWIG_fail
; 
16320         if (!wxPyCheckForApp()) SWIG_fail
; 
16321         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16322         result 
= (wxMirrorDC 
*)new wxMirrorDC(*arg1
,arg2
); 
16324         wxPyEndAllowThreads(__tstate
); 
16325         if (PyErr_Occurred()) SWIG_fail
; 
16327     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1); 
16334 static PyObject 
* MirrorDC_swigregister(PyObject 
*, PyObject 
*args
) { 
16336     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16337     SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
); 
16339     return Py_BuildValue((char *)""); 
16341 static PyObject 
*_wrap_new_PostScriptDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16342     PyObject 
*resultobj
; 
16343     wxPrintData 
*arg1 
= 0 ; 
16344     wxPostScriptDC 
*result
; 
16345     PyObject 
* obj0 
= 0 ; 
16346     char *kwnames
[] = { 
16347         (char *) "printData", NULL 
 
16350     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
; 
16351     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
, 
16352     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
16354     if (arg1 
== NULL
) { 
16355         PyErr_SetString(PyExc_TypeError
,"null reference"); 
16359         if (!wxPyCheckForApp()) SWIG_fail
; 
16360         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16361         result 
= (wxPostScriptDC 
*)new wxPostScriptDC((wxPrintData 
const &)*arg1
); 
16363         wxPyEndAllowThreads(__tstate
); 
16364         if (PyErr_Occurred()) SWIG_fail
; 
16366     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1); 
16373 static PyObject 
*_wrap_PostScriptDC_GetPrintData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16374     PyObject 
*resultobj
; 
16375     wxPostScriptDC 
*arg1 
= (wxPostScriptDC 
*) 0 ; 
16376     wxPrintData 
*result
; 
16377     PyObject 
* obj0 
= 0 ; 
16378     char *kwnames
[] = { 
16379         (char *) "self", NULL 
 
16382     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
; 
16383     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
, 
16384     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16386         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16388             wxPrintData 
&_result_ref 
= (arg1
)->GetPrintData(); 
16389             result 
= (wxPrintData 
*) &_result_ref
; 
16392         wxPyEndAllowThreads(__tstate
); 
16393         if (PyErr_Occurred()) SWIG_fail
; 
16395     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0); 
16402 static PyObject 
*_wrap_PostScriptDC_SetPrintData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16403     PyObject 
*resultobj
; 
16404     wxPostScriptDC 
*arg1 
= (wxPostScriptDC 
*) 0 ; 
16405     wxPrintData 
*arg2 
= 0 ; 
16406     PyObject 
* obj0 
= 0 ; 
16407     PyObject 
* obj1 
= 0 ; 
16408     char *kwnames
[] = { 
16409         (char *) "self",(char *) "data", NULL 
 
16412     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
; 
16413     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
, 
16414     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16415     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
, 
16416     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
16418     if (arg2 
== NULL
) { 
16419         PyErr_SetString(PyExc_TypeError
,"null reference"); 
16423         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16424         (arg1
)->SetPrintData((wxPrintData 
const &)*arg2
); 
16426         wxPyEndAllowThreads(__tstate
); 
16427         if (PyErr_Occurred()) SWIG_fail
; 
16429     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16436 static PyObject 
*_wrap_PostScriptDC_SetResolution(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16437     PyObject 
*resultobj
; 
16439     PyObject 
* obj0 
= 0 ; 
16440     char *kwnames
[] = { 
16441         (char *) "ppi", NULL 
 
16444     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
; 
16445     arg1 
= (int)SWIG_As_int(obj0
);  
16446     if (PyErr_Occurred()) SWIG_fail
; 
16448         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16449         wxPostScriptDC::SetResolution(arg1
); 
16451         wxPyEndAllowThreads(__tstate
); 
16452         if (PyErr_Occurred()) SWIG_fail
; 
16454     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16461 static PyObject 
*_wrap_PostScriptDC_GetResolution(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16462     PyObject 
*resultobj
; 
16464     char *kwnames
[] = { 
16468     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
; 
16470         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16471         result 
= (int)wxPostScriptDC::GetResolution(); 
16473         wxPyEndAllowThreads(__tstate
); 
16474         if (PyErr_Occurred()) SWIG_fail
; 
16476     resultobj 
= SWIG_From_int((int)result
); 
16483 static PyObject 
* PostScriptDC_swigregister(PyObject 
*, PyObject 
*args
) { 
16485     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16486     SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
); 
16488     return Py_BuildValue((char *)""); 
16490 static PyObject 
*_wrap_new_MetaFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16491     PyObject 
*resultobj
; 
16492     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
16493     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
16494     wxMetaFile 
*result
; 
16495     bool temp1 
= False 
; 
16496     PyObject 
* obj0 
= 0 ; 
16497     char *kwnames
[] = { 
16498         (char *) "filename", NULL 
 
16501     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
; 
16504             arg1 
= wxString_in_helper(obj0
); 
16505             if (arg1 
== NULL
) SWIG_fail
; 
16510         if (!wxPyCheckForApp()) SWIG_fail
; 
16511         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16512         result 
= (wxMetaFile 
*)new wxMetaFile((wxString 
const &)*arg1
); 
16514         wxPyEndAllowThreads(__tstate
); 
16515         if (PyErr_Occurred()) SWIG_fail
; 
16517     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1); 
16532 static PyObject 
*_wrap_delete_MetaFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16533     PyObject 
*resultobj
; 
16534     wxMetaFile 
*arg1 
= (wxMetaFile 
*) 0 ; 
16535     PyObject 
* obj0 
= 0 ; 
16536     char *kwnames
[] = { 
16537         (char *) "self", NULL 
 
16540     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
; 
16541     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
, 
16542     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16544         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16547         wxPyEndAllowThreads(__tstate
); 
16548         if (PyErr_Occurred()) SWIG_fail
; 
16550     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16557 static PyObject 
*_wrap_MetaFile_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16558     PyObject 
*resultobj
; 
16559     wxMetaFile 
*arg1 
= (wxMetaFile 
*) 0 ; 
16561     PyObject 
* obj0 
= 0 ; 
16562     char *kwnames
[] = { 
16563         (char *) "self", NULL 
 
16566     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
; 
16567     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
, 
16568     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16570         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16571         result 
= (bool)(arg1
)->Ok(); 
16573         wxPyEndAllowThreads(__tstate
); 
16574         if (PyErr_Occurred()) SWIG_fail
; 
16577         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16585 static PyObject 
*_wrap_MetaFile_SetClipboard(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16586     PyObject 
*resultobj
; 
16587     wxMetaFile 
*arg1 
= (wxMetaFile 
*) 0 ; 
16588     int arg2 
= (int) 0 ; 
16589     int arg3 
= (int) 0 ; 
16591     PyObject 
* obj0 
= 0 ; 
16592     PyObject 
* obj1 
= 0 ; 
16593     PyObject 
* obj2 
= 0 ; 
16594     char *kwnames
[] = { 
16595         (char *) "self",(char *) "width",(char *) "height", NULL 
 
16598     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16599     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
, 
16600     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16602         arg2 
= (int)SWIG_As_int(obj1
);  
16603         if (PyErr_Occurred()) SWIG_fail
; 
16606         arg3 
= (int)SWIG_As_int(obj2
);  
16607         if (PyErr_Occurred()) SWIG_fail
; 
16610         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16611         result 
= (bool)(arg1
)->SetClipboard(arg2
,arg3
); 
16613         wxPyEndAllowThreads(__tstate
); 
16614         if (PyErr_Occurred()) SWIG_fail
; 
16617         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16625 static PyObject 
*_wrap_MetaFile_GetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16626     PyObject 
*resultobj
; 
16627     wxMetaFile 
*arg1 
= (wxMetaFile 
*) 0 ; 
16629     PyObject 
* obj0 
= 0 ; 
16630     char *kwnames
[] = { 
16631         (char *) "self", NULL 
 
16634     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
; 
16635     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
, 
16636     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16638         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16639         result 
= (arg1
)->GetSize(); 
16641         wxPyEndAllowThreads(__tstate
); 
16642         if (PyErr_Occurred()) SWIG_fail
; 
16645         wxSize 
* resultptr
; 
16646         resultptr 
= new wxSize((wxSize 
&) result
); 
16647         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
16655 static PyObject 
*_wrap_MetaFile_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16656     PyObject 
*resultobj
; 
16657     wxMetaFile 
*arg1 
= (wxMetaFile 
*) 0 ; 
16659     PyObject 
* obj0 
= 0 ; 
16660     char *kwnames
[] = { 
16661         (char *) "self", NULL 
 
16664     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
; 
16665     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
, 
16666     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16668         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16669         result 
= (int)(arg1
)->GetWidth(); 
16671         wxPyEndAllowThreads(__tstate
); 
16672         if (PyErr_Occurred()) SWIG_fail
; 
16674     resultobj 
= SWIG_From_int((int)result
); 
16681 static PyObject 
*_wrap_MetaFile_GetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16682     PyObject 
*resultobj
; 
16683     wxMetaFile 
*arg1 
= (wxMetaFile 
*) 0 ; 
16685     PyObject 
* obj0 
= 0 ; 
16686     char *kwnames
[] = { 
16687         (char *) "self", NULL 
 
16690     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
; 
16691     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
, 
16692     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16694         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16695         result 
= (int)(arg1
)->GetHeight(); 
16697         wxPyEndAllowThreads(__tstate
); 
16698         if (PyErr_Occurred()) SWIG_fail
; 
16700     resultobj 
= SWIG_From_int((int)result
); 
16707 static PyObject 
*_wrap_MetaFile_GetFileName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16708     PyObject 
*resultobj
; 
16709     wxMetaFile 
*arg1 
= (wxMetaFile 
*) 0 ; 
16711     PyObject 
* obj0 
= 0 ; 
16712     char *kwnames
[] = { 
16713         (char *) "self", NULL 
 
16716     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetFileName",kwnames
,&obj0
)) goto fail
; 
16717     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
, 
16718     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16720         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16722             wxString 
const &_result_ref 
= ((wxMetaFile 
const *)arg1
)->GetFileName(); 
16723             result 
= (wxString 
*) &_result_ref
; 
16726         wxPyEndAllowThreads(__tstate
); 
16727         if (PyErr_Occurred()) SWIG_fail
; 
16731         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
16733         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
16742 static PyObject 
* MetaFile_swigregister(PyObject 
*, PyObject 
*args
) { 
16744     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16745     SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
); 
16747     return Py_BuildValue((char *)""); 
16749 static PyObject 
*_wrap_new_MetaFileDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16750     PyObject 
*resultobj
; 
16751     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
16752     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
16753     int arg2 
= (int) 0 ; 
16754     int arg3 
= (int) 0 ; 
16755     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
16756     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
16757     wxMetaFileDC 
*result
; 
16758     bool temp1 
= False 
; 
16759     bool temp4 
= False 
; 
16760     PyObject 
* obj0 
= 0 ; 
16761     PyObject 
* obj1 
= 0 ; 
16762     PyObject 
* obj2 
= 0 ; 
16763     PyObject 
* obj3 
= 0 ; 
16764     char *kwnames
[] = { 
16765         (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL 
 
16768     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
16771             arg1 
= wxString_in_helper(obj0
); 
16772             if (arg1 
== NULL
) SWIG_fail
; 
16777         arg2 
= (int)SWIG_As_int(obj1
);  
16778         if (PyErr_Occurred()) SWIG_fail
; 
16781         arg3 
= (int)SWIG_As_int(obj2
);  
16782         if (PyErr_Occurred()) SWIG_fail
; 
16786             arg4 
= wxString_in_helper(obj3
); 
16787             if (arg4 
== NULL
) SWIG_fail
; 
16792         if (!wxPyCheckForApp()) SWIG_fail
; 
16793         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16794         result 
= (wxMetaFileDC 
*)new wxMetaFileDC((wxString 
const &)*arg1
,arg2
,arg3
,(wxString 
const &)*arg4
); 
16796         wxPyEndAllowThreads(__tstate
); 
16797         if (PyErr_Occurred()) SWIG_fail
; 
16799     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1); 
16822 static PyObject 
*_wrap_MetaFileDC_Close(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16823     PyObject 
*resultobj
; 
16824     wxMetaFileDC 
*arg1 
= (wxMetaFileDC 
*) 0 ; 
16825     wxMetaFile 
*result
; 
16826     PyObject 
* obj0 
= 0 ; 
16827     char *kwnames
[] = { 
16828         (char *) "self", NULL 
 
16831     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
; 
16832     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
, 
16833     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16835         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16836         result 
= (wxMetaFile 
*)(arg1
)->Close(); 
16838         wxPyEndAllowThreads(__tstate
); 
16839         if (PyErr_Occurred()) SWIG_fail
; 
16841     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0); 
16848 static PyObject 
* MetaFileDC_swigregister(PyObject 
*, PyObject 
*args
) { 
16850     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16851     SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
); 
16853     return Py_BuildValue((char *)""); 
16855 static PyObject 
*_wrap_new_PrinterDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16856     PyObject 
*resultobj
; 
16857     wxPrintData 
*arg1 
= 0 ; 
16858     wxPrinterDC 
*result
; 
16859     PyObject 
* obj0 
= 0 ; 
16860     char *kwnames
[] = { 
16861         (char *) "printData", NULL 
 
16864     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
; 
16865     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
, 
16866     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
16868     if (arg1 
== NULL
) { 
16869         PyErr_SetString(PyExc_TypeError
,"null reference"); 
16873         if (!wxPyCheckForApp()) SWIG_fail
; 
16874         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16875         result 
= (wxPrinterDC 
*)new wxPrinterDC((wxPrintData 
const &)*arg1
); 
16877         wxPyEndAllowThreads(__tstate
); 
16878         if (PyErr_Occurred()) SWIG_fail
; 
16880     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1); 
16887 static PyObject 
* PrinterDC_swigregister(PyObject 
*, PyObject 
*args
) { 
16889     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16890     SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
); 
16892     return Py_BuildValue((char *)""); 
16894 static PyObject 
*_wrap_new_ImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16895     PyObject 
*resultobj
; 
16898     int arg3 
= (int) True 
; 
16899     int arg4 
= (int) 1 ; 
16900     wxImageList 
*result
; 
16901     PyObject 
* obj0 
= 0 ; 
16902     PyObject 
* obj1 
= 0 ; 
16903     PyObject 
* obj2 
= 0 ; 
16904     PyObject 
* obj3 
= 0 ; 
16905     char *kwnames
[] = { 
16906         (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL 
 
16909     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
16910     arg1 
= (int)SWIG_As_int(obj0
);  
16911     if (PyErr_Occurred()) SWIG_fail
; 
16912     arg2 
= (int)SWIG_As_int(obj1
);  
16913     if (PyErr_Occurred()) SWIG_fail
; 
16915         arg3 
= (int)SWIG_As_int(obj2
);  
16916         if (PyErr_Occurred()) SWIG_fail
; 
16919         arg4 
= (int)SWIG_As_int(obj3
);  
16920         if (PyErr_Occurred()) SWIG_fail
; 
16923         if (!wxPyCheckForApp()) SWIG_fail
; 
16924         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16925         result 
= (wxImageList 
*)new wxImageList(arg1
,arg2
,arg3
,arg4
); 
16927         wxPyEndAllowThreads(__tstate
); 
16928         if (PyErr_Occurred()) SWIG_fail
; 
16931         resultobj 
= wxPyMake_wxObject(result
, 1);  
16939 static PyObject 
*_wrap_delete_ImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16940     PyObject 
*resultobj
; 
16941     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
16942     PyObject 
* obj0 
= 0 ; 
16943     char *kwnames
[] = { 
16944         (char *) "self", NULL 
 
16947     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
; 
16948     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
16949     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16951         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16954         wxPyEndAllowThreads(__tstate
); 
16955         if (PyErr_Occurred()) SWIG_fail
; 
16957     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16964 static PyObject 
*_wrap_ImageList_Add(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16965     PyObject 
*resultobj
; 
16966     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
16967     wxBitmap 
*arg2 
= 0 ; 
16968     wxBitmap 
const &arg3_defvalue 
= wxNullBitmap 
; 
16969     wxBitmap 
*arg3 
= (wxBitmap 
*) &arg3_defvalue 
; 
16971     PyObject 
* obj0 
= 0 ; 
16972     PyObject 
* obj1 
= 0 ; 
16973     PyObject 
* obj2 
= 0 ; 
16974     char *kwnames
[] = { 
16975         (char *) "self",(char *) "bitmap",(char *) "mask", NULL 
 
16978     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16979     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
16980     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16981     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
16982     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
16984     if (arg2 
== NULL
) { 
16985         PyErr_SetString(PyExc_TypeError
,"null reference"); 
16989         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
, 
16990         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
16992         if (arg3 
== NULL
) { 
16993             PyErr_SetString(PyExc_TypeError
,"null reference"); 
16998         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16999         result 
= (int)(arg1
)->Add((wxBitmap 
const &)*arg2
,(wxBitmap 
const &)*arg3
); 
17001         wxPyEndAllowThreads(__tstate
); 
17002         if (PyErr_Occurred()) SWIG_fail
; 
17004     resultobj 
= SWIG_From_int((int)result
); 
17011 static PyObject 
*_wrap_ImageList_AddWithColourMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17012     PyObject 
*resultobj
; 
17013     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
17014     wxBitmap 
*arg2 
= 0 ; 
17015     wxColour 
*arg3 
= 0 ; 
17018     PyObject 
* obj0 
= 0 ; 
17019     PyObject 
* obj1 
= 0 ; 
17020     PyObject 
* obj2 
= 0 ; 
17021     char *kwnames
[] = { 
17022         (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL 
 
17025     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
17026     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
17027     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17028     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
17029     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
17031     if (arg2 
== NULL
) { 
17032         PyErr_SetString(PyExc_TypeError
,"null reference"); 
17037         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
17040         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17041         result 
= (int)(arg1
)->Add((wxBitmap 
const &)*arg2
,(wxColour 
const &)*arg3
); 
17043         wxPyEndAllowThreads(__tstate
); 
17044         if (PyErr_Occurred()) SWIG_fail
; 
17046     resultobj 
= SWIG_From_int((int)result
); 
17053 static PyObject 
*_wrap_ImageList_AddIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17054     PyObject 
*resultobj
; 
17055     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
17058     PyObject 
* obj0 
= 0 ; 
17059     PyObject 
* obj1 
= 0 ; 
17060     char *kwnames
[] = { 
17061         (char *) "self",(char *) "icon", NULL 
 
17064     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
17065     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
17066     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17067     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
, 
17068     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
17070     if (arg2 
== NULL
) { 
17071         PyErr_SetString(PyExc_TypeError
,"null reference"); 
17075         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17076         result 
= (int)(arg1
)->Add((wxIcon 
const &)*arg2
); 
17078         wxPyEndAllowThreads(__tstate
); 
17079         if (PyErr_Occurred()) SWIG_fail
; 
17081     resultobj 
= SWIG_From_int((int)result
); 
17088 static PyObject 
*_wrap_ImageList_Replace(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17089     PyObject 
*resultobj
; 
17090     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
17092     wxBitmap 
*arg3 
= 0 ; 
17093     wxBitmap 
const &arg4_defvalue 
= wxNullBitmap 
; 
17094     wxBitmap 
*arg4 
= (wxBitmap 
*) &arg4_defvalue 
; 
17096     PyObject 
* obj0 
= 0 ; 
17097     PyObject 
* obj1 
= 0 ; 
17098     PyObject 
* obj2 
= 0 ; 
17099     PyObject 
* obj3 
= 0 ; 
17100     char *kwnames
[] = { 
17101         (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL 
 
17104     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
17105     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
17106     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17107     arg2 
= (int)SWIG_As_int(obj1
);  
17108     if (PyErr_Occurred()) SWIG_fail
; 
17109     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
, 
17110     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
17112     if (arg3 
== NULL
) { 
17113         PyErr_SetString(PyExc_TypeError
,"null reference"); 
17117         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
, 
17118         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
17120         if (arg4 
== NULL
) { 
17121             PyErr_SetString(PyExc_TypeError
,"null reference"); 
17126         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17127         result 
= (bool)(arg1
)->Replace(arg2
,(wxBitmap 
const &)*arg3
,(wxBitmap 
const &)*arg4
); 
17129         wxPyEndAllowThreads(__tstate
); 
17130         if (PyErr_Occurred()) SWIG_fail
; 
17133         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17141 static PyObject 
*_wrap_ImageList_Draw(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17142     PyObject 
*resultobj
; 
17143     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
17148     int arg6 
= (int) wxIMAGELIST_DRAW_NORMAL 
; 
17149     bool arg7 
= (bool) (bool)False 
; 
17151     PyObject 
* obj0 
= 0 ; 
17152     PyObject 
* obj1 
= 0 ; 
17153     PyObject 
* obj2 
= 0 ; 
17154     PyObject 
* obj3 
= 0 ; 
17155     PyObject 
* obj4 
= 0 ; 
17156     PyObject 
* obj5 
= 0 ; 
17157     PyObject 
* obj6 
= 0 ; 
17158     char *kwnames
[] = { 
17159         (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL 
 
17162     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
17163     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
17164     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17165     arg2 
= (int)SWIG_As_int(obj1
);  
17166     if (PyErr_Occurred()) SWIG_fail
; 
17167     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
, 
17168     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
17170     if (arg3 
== NULL
) { 
17171         PyErr_SetString(PyExc_TypeError
,"null reference"); 
17174     arg4 
= (int)SWIG_As_int(obj3
);  
17175     if (PyErr_Occurred()) SWIG_fail
; 
17176     arg5 
= (int)SWIG_As_int(obj4
);  
17177     if (PyErr_Occurred()) SWIG_fail
; 
17179         arg6 
= (int)SWIG_As_int(obj5
);  
17180         if (PyErr_Occurred()) SWIG_fail
; 
17183         arg7 
= (bool)SWIG_As_bool(obj6
);  
17184         if (PyErr_Occurred()) SWIG_fail
; 
17187         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17188         result 
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
); 
17190         wxPyEndAllowThreads(__tstate
); 
17191         if (PyErr_Occurred()) SWIG_fail
; 
17194         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17202 static PyObject 
*_wrap_ImageList_GetImageCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17203     PyObject 
*resultobj
; 
17204     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
17206     PyObject 
* obj0 
= 0 ; 
17207     char *kwnames
[] = { 
17208         (char *) "self", NULL 
 
17211     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
; 
17212     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
17213     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17215         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17216         result 
= (int)(arg1
)->GetImageCount(); 
17218         wxPyEndAllowThreads(__tstate
); 
17219         if (PyErr_Occurred()) SWIG_fail
; 
17221     resultobj 
= SWIG_From_int((int)result
); 
17228 static PyObject 
*_wrap_ImageList_Remove(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17229     PyObject 
*resultobj
; 
17230     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
17233     PyObject 
* obj0 
= 0 ; 
17234     PyObject 
* obj1 
= 0 ; 
17235     char *kwnames
[] = { 
17236         (char *) "self",(char *) "index", NULL 
 
17239     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
; 
17240     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
17241     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17242     arg2 
= (int)SWIG_As_int(obj1
);  
17243     if (PyErr_Occurred()) SWIG_fail
; 
17245         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17246         result 
= (bool)(arg1
)->Remove(arg2
); 
17248         wxPyEndAllowThreads(__tstate
); 
17249         if (PyErr_Occurred()) SWIG_fail
; 
17252         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17260 static PyObject 
*_wrap_ImageList_RemoveAll(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17261     PyObject 
*resultobj
; 
17262     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
17264     PyObject 
* obj0 
= 0 ; 
17265     char *kwnames
[] = { 
17266         (char *) "self", NULL 
 
17269     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
; 
17270     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
17271     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17273         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17274         result 
= (bool)(arg1
)->RemoveAll(); 
17276         wxPyEndAllowThreads(__tstate
); 
17277         if (PyErr_Occurred()) SWIG_fail
; 
17280         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17288 static PyObject 
*_wrap_ImageList_GetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17289     PyObject 
*resultobj
; 
17290     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
17298     PyObject 
* obj0 
= 0 ; 
17299     PyObject 
* obj1 
= 0 ; 
17300     char *kwnames
[] = { 
17301         (char *) "self",(char *) "index", NULL 
 
17304     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
17305     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
17306     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
17307     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
17308     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17309     arg2 
= (int)SWIG_As_int(obj1
);  
17310     if (PyErr_Occurred()) SWIG_fail
; 
17312         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17313         (arg1
)->GetSize(arg2
,*arg3
,*arg4
); 
17315         wxPyEndAllowThreads(__tstate
); 
17316         if (PyErr_Occurred()) SWIG_fail
; 
17318     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17319     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
17320     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
17321     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
17322     SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0))); 
17329 static PyObject 
* ImageList_swigregister(PyObject 
*, PyObject 
*args
) { 
17331     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17332     SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
); 
17334     return Py_BuildValue((char *)""); 
17336 static int _wrap_NORMAL_FONT_set(PyObject 
*) { 
17337     PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only."); 
17342 static PyObject 
*_wrap_NORMAL_FONT_get() { 
17345     pyobj 
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0); 
17350 static int _wrap_SMALL_FONT_set(PyObject 
*) { 
17351     PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only."); 
17356 static PyObject 
*_wrap_SMALL_FONT_get() { 
17359     pyobj 
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0); 
17364 static int _wrap_ITALIC_FONT_set(PyObject 
*) { 
17365     PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only."); 
17370 static PyObject 
*_wrap_ITALIC_FONT_get() { 
17373     pyobj 
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0); 
17378 static int _wrap_SWISS_FONT_set(PyObject 
*) { 
17379     PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only."); 
17384 static PyObject 
*_wrap_SWISS_FONT_get() { 
17387     pyobj 
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0); 
17392 static int _wrap_RED_PEN_set(PyObject 
*) { 
17393     PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only."); 
17398 static PyObject 
*_wrap_RED_PEN_get() { 
17401     pyobj 
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0); 
17406 static int _wrap_CYAN_PEN_set(PyObject 
*) { 
17407     PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only."); 
17412 static PyObject 
*_wrap_CYAN_PEN_get() { 
17415     pyobj 
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0); 
17420 static int _wrap_GREEN_PEN_set(PyObject 
*) { 
17421     PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only."); 
17426 static PyObject 
*_wrap_GREEN_PEN_get() { 
17429     pyobj 
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0); 
17434 static int _wrap_BLACK_PEN_set(PyObject 
*) { 
17435     PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only."); 
17440 static PyObject 
*_wrap_BLACK_PEN_get() { 
17443     pyobj 
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0); 
17448 static int _wrap_WHITE_PEN_set(PyObject 
*) { 
17449     PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only."); 
17454 static PyObject 
*_wrap_WHITE_PEN_get() { 
17457     pyobj 
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0); 
17462 static int _wrap_TRANSPARENT_PEN_set(PyObject 
*) { 
17463     PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only."); 
17468 static PyObject 
*_wrap_TRANSPARENT_PEN_get() { 
17471     pyobj 
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0); 
17476 static int _wrap_BLACK_DASHED_PEN_set(PyObject 
*) { 
17477     PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only."); 
17482 static PyObject 
*_wrap_BLACK_DASHED_PEN_get() { 
17485     pyobj 
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0); 
17490 static int _wrap_GREY_PEN_set(PyObject 
*) { 
17491     PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only."); 
17496 static PyObject 
*_wrap_GREY_PEN_get() { 
17499     pyobj 
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0); 
17504 static int _wrap_MEDIUM_GREY_PEN_set(PyObject 
*) { 
17505     PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only."); 
17510 static PyObject 
*_wrap_MEDIUM_GREY_PEN_get() { 
17513     pyobj 
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0); 
17518 static int _wrap_LIGHT_GREY_PEN_set(PyObject 
*) { 
17519     PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only."); 
17524 static PyObject 
*_wrap_LIGHT_GREY_PEN_get() { 
17527     pyobj 
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0); 
17532 static int _wrap_BLUE_BRUSH_set(PyObject 
*) { 
17533     PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only."); 
17538 static PyObject 
*_wrap_BLUE_BRUSH_get() { 
17541     pyobj 
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
17546 static int _wrap_GREEN_BRUSH_set(PyObject 
*) { 
17547     PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only."); 
17552 static PyObject 
*_wrap_GREEN_BRUSH_get() { 
17555     pyobj 
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
17560 static int _wrap_WHITE_BRUSH_set(PyObject 
*) { 
17561     PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only."); 
17566 static PyObject 
*_wrap_WHITE_BRUSH_get() { 
17569     pyobj 
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
17574 static int _wrap_BLACK_BRUSH_set(PyObject 
*) { 
17575     PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only."); 
17580 static PyObject 
*_wrap_BLACK_BRUSH_get() { 
17583     pyobj 
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
17588 static int _wrap_TRANSPARENT_BRUSH_set(PyObject 
*) { 
17589     PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only."); 
17594 static PyObject 
*_wrap_TRANSPARENT_BRUSH_get() { 
17597     pyobj 
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
17602 static int _wrap_CYAN_BRUSH_set(PyObject 
*) { 
17603     PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only."); 
17608 static PyObject 
*_wrap_CYAN_BRUSH_get() { 
17611     pyobj 
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
17616 static int _wrap_RED_BRUSH_set(PyObject 
*) { 
17617     PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only."); 
17622 static PyObject 
*_wrap_RED_BRUSH_get() { 
17625     pyobj 
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
17630 static int _wrap_GREY_BRUSH_set(PyObject 
*) { 
17631     PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only."); 
17636 static PyObject 
*_wrap_GREY_BRUSH_get() { 
17639     pyobj 
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
17644 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject 
*) { 
17645     PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only."); 
17650 static PyObject 
*_wrap_MEDIUM_GREY_BRUSH_get() { 
17653     pyobj 
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
17658 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject 
*) { 
17659     PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only."); 
17664 static PyObject 
*_wrap_LIGHT_GREY_BRUSH_get() { 
17667     pyobj 
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
17672 static int _wrap_BLACK_set(PyObject 
*) { 
17673     PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only."); 
17678 static PyObject 
*_wrap_BLACK_get() { 
17681     pyobj 
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0); 
17686 static int _wrap_WHITE_set(PyObject 
*) { 
17687     PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only."); 
17692 static PyObject 
*_wrap_WHITE_get() { 
17695     pyobj 
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0); 
17700 static int _wrap_RED_set(PyObject 
*) { 
17701     PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only."); 
17706 static PyObject 
*_wrap_RED_get() { 
17709     pyobj 
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0); 
17714 static int _wrap_BLUE_set(PyObject 
*) { 
17715     PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only."); 
17720 static PyObject 
*_wrap_BLUE_get() { 
17723     pyobj 
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0); 
17728 static int _wrap_GREEN_set(PyObject 
*) { 
17729     PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only."); 
17734 static PyObject 
*_wrap_GREEN_get() { 
17737     pyobj 
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0); 
17742 static int _wrap_CYAN_set(PyObject 
*) { 
17743     PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only."); 
17748 static PyObject 
*_wrap_CYAN_get() { 
17751     pyobj 
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0); 
17756 static int _wrap_LIGHT_GREY_set(PyObject 
*) { 
17757     PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only."); 
17762 static PyObject 
*_wrap_LIGHT_GREY_get() { 
17765     pyobj 
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0); 
17770 static int _wrap_STANDARD_CURSOR_set(PyObject 
*) { 
17771     PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only."); 
17776 static PyObject 
*_wrap_STANDARD_CURSOR_get() { 
17779     pyobj 
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0); 
17784 static int _wrap_HOURGLASS_CURSOR_set(PyObject 
*) { 
17785     PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only."); 
17790 static PyObject 
*_wrap_HOURGLASS_CURSOR_get() { 
17793     pyobj 
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0); 
17798 static int _wrap_CROSS_CURSOR_set(PyObject 
*) { 
17799     PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only."); 
17804 static PyObject 
*_wrap_CROSS_CURSOR_get() { 
17807     pyobj 
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0); 
17812 static int _wrap_NullBitmap_set(PyObject 
*) { 
17813     PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only."); 
17818 static PyObject 
*_wrap_NullBitmap_get() { 
17821     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0); 
17826 static int _wrap_NullIcon_set(PyObject 
*) { 
17827     PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only."); 
17832 static PyObject 
*_wrap_NullIcon_get() { 
17835     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0); 
17840 static int _wrap_NullCursor_set(PyObject 
*) { 
17841     PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only."); 
17846 static PyObject 
*_wrap_NullCursor_get() { 
17849     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0); 
17854 static int _wrap_NullPen_set(PyObject 
*) { 
17855     PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only."); 
17860 static PyObject 
*_wrap_NullPen_get() { 
17863     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0); 
17868 static int _wrap_NullBrush_set(PyObject 
*) { 
17869     PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only."); 
17874 static PyObject 
*_wrap_NullBrush_get() { 
17877     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0); 
17882 static int _wrap_NullPalette_set(PyObject 
*) { 
17883     PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only."); 
17888 static PyObject 
*_wrap_NullPalette_get() { 
17891     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0); 
17896 static int _wrap_NullFont_set(PyObject 
*) { 
17897     PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only."); 
17902 static PyObject 
*_wrap_NullFont_get() { 
17905     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0); 
17910 static int _wrap_NullColour_set(PyObject 
*) { 
17911     PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only."); 
17916 static PyObject 
*_wrap_NullColour_get() { 
17919     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0); 
17924 static PyObject 
*_wrap_PenList_AddPen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17925     PyObject 
*resultobj
; 
17926     wxPenList 
*arg1 
= (wxPenList 
*) 0 ; 
17927     wxPen 
*arg2 
= (wxPen 
*) 0 ; 
17928     PyObject 
* obj0 
= 0 ; 
17929     PyObject 
* obj1 
= 0 ; 
17930     char *kwnames
[] = { 
17931         (char *) "self",(char *) "pen", NULL 
 
17934     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
; 
17935     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
, 
17936     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17937     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
, 
17938     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17940         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17941         (arg1
)->AddPen(arg2
); 
17943         wxPyEndAllowThreads(__tstate
); 
17944         if (PyErr_Occurred()) SWIG_fail
; 
17946     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17953 static PyObject 
*_wrap_PenList_FindOrCreatePen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17954     PyObject 
*resultobj
; 
17955     wxPenList 
*arg1 
= (wxPenList 
*) 0 ; 
17956     wxColour 
*arg2 
= 0 ; 
17961     PyObject 
* obj0 
= 0 ; 
17962     PyObject 
* obj1 
= 0 ; 
17963     PyObject 
* obj2 
= 0 ; 
17964     PyObject 
* obj3 
= 0 ; 
17965     char *kwnames
[] = { 
17966         (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL 
 
17969     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
17970     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
, 
17971     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17974         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
17976     arg3 
= (int)SWIG_As_int(obj2
);  
17977     if (PyErr_Occurred()) SWIG_fail
; 
17978     arg4 
= (int)SWIG_As_int(obj3
);  
17979     if (PyErr_Occurred()) SWIG_fail
; 
17981         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17982         result 
= (wxPen 
*)(arg1
)->FindOrCreatePen((wxColour 
const &)*arg2
,arg3
,arg4
); 
17984         wxPyEndAllowThreads(__tstate
); 
17985         if (PyErr_Occurred()) SWIG_fail
; 
17987     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0); 
17994 static PyObject 
*_wrap_PenList_RemovePen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17995     PyObject 
*resultobj
; 
17996     wxPenList 
*arg1 
= (wxPenList 
*) 0 ; 
17997     wxPen 
*arg2 
= (wxPen 
*) 0 ; 
17998     PyObject 
* obj0 
= 0 ; 
17999     PyObject 
* obj1 
= 0 ; 
18000     char *kwnames
[] = { 
18001         (char *) "self",(char *) "pen", NULL 
 
18004     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
; 
18005     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
, 
18006     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18007     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
, 
18008     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18010         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18011         (arg1
)->RemovePen(arg2
); 
18013         wxPyEndAllowThreads(__tstate
); 
18014         if (PyErr_Occurred()) SWIG_fail
; 
18016     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18023 static PyObject 
*_wrap_PenList_GetCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18024     PyObject 
*resultobj
; 
18025     wxPenList 
*arg1 
= (wxPenList 
*) 0 ; 
18027     PyObject 
* obj0 
= 0 ; 
18028     char *kwnames
[] = { 
18029         (char *) "self", NULL 
 
18032     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
; 
18033     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
, 
18034     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18036         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18037         result 
= (int)(arg1
)->GetCount(); 
18039         wxPyEndAllowThreads(__tstate
); 
18040         if (PyErr_Occurred()) SWIG_fail
; 
18042     resultobj 
= SWIG_From_int((int)result
); 
18049 static PyObject 
* PenList_swigregister(PyObject 
*, PyObject 
*args
) { 
18051     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18052     SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
); 
18054     return Py_BuildValue((char *)""); 
18056 static PyObject 
*_wrap_BrushList_AddBrush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18057     PyObject 
*resultobj
; 
18058     wxBrushList 
*arg1 
= (wxBrushList 
*) 0 ; 
18059     wxBrush 
*arg2 
= (wxBrush 
*) 0 ; 
18060     PyObject 
* obj0 
= 0 ; 
18061     PyObject 
* obj1 
= 0 ; 
18062     char *kwnames
[] = { 
18063         (char *) "self",(char *) "brush", NULL 
 
18066     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
; 
18067     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
, 
18068     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18069     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
, 
18070     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18072         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18073         (arg1
)->AddBrush(arg2
); 
18075         wxPyEndAllowThreads(__tstate
); 
18076         if (PyErr_Occurred()) SWIG_fail
; 
18078     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18085 static PyObject 
*_wrap_BrushList_FindOrCreateBrush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18086     PyObject 
*resultobj
; 
18087     wxBrushList 
*arg1 
= (wxBrushList 
*) 0 ; 
18088     wxColour 
*arg2 
= 0 ; 
18092     PyObject 
* obj0 
= 0 ; 
18093     PyObject 
* obj1 
= 0 ; 
18094     PyObject 
* obj2 
= 0 ; 
18095     char *kwnames
[] = { 
18096         (char *) "self",(char *) "colour",(char *) "style", NULL 
 
18099     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18100     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
, 
18101     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18104         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
18106     arg3 
= (int)SWIG_As_int(obj2
);  
18107     if (PyErr_Occurred()) SWIG_fail
; 
18109         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18110         result 
= (wxBrush 
*)(arg1
)->FindOrCreateBrush((wxColour 
const &)*arg2
,arg3
); 
18112         wxPyEndAllowThreads(__tstate
); 
18113         if (PyErr_Occurred()) SWIG_fail
; 
18115     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0); 
18122 static PyObject 
*_wrap_BrushList_RemoveBrush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18123     PyObject 
*resultobj
; 
18124     wxBrushList 
*arg1 
= (wxBrushList 
*) 0 ; 
18125     wxBrush 
*arg2 
= (wxBrush 
*) 0 ; 
18126     PyObject 
* obj0 
= 0 ; 
18127     PyObject 
* obj1 
= 0 ; 
18128     char *kwnames
[] = { 
18129         (char *) "self",(char *) "brush", NULL 
 
18132     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
; 
18133     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
, 
18134     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18135     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
, 
18136     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18138         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18139         (arg1
)->RemoveBrush(arg2
); 
18141         wxPyEndAllowThreads(__tstate
); 
18142         if (PyErr_Occurred()) SWIG_fail
; 
18144     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18151 static PyObject 
*_wrap_BrushList_GetCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18152     PyObject 
*resultobj
; 
18153     wxBrushList 
*arg1 
= (wxBrushList 
*) 0 ; 
18155     PyObject 
* obj0 
= 0 ; 
18156     char *kwnames
[] = { 
18157         (char *) "self", NULL 
 
18160     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
; 
18161     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
, 
18162     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18164         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18165         result 
= (int)(arg1
)->GetCount(); 
18167         wxPyEndAllowThreads(__tstate
); 
18168         if (PyErr_Occurred()) SWIG_fail
; 
18170     resultobj 
= SWIG_From_int((int)result
); 
18177 static PyObject 
* BrushList_swigregister(PyObject 
*, PyObject 
*args
) { 
18179     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18180     SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
); 
18182     return Py_BuildValue((char *)""); 
18184 static PyObject 
*_wrap_new_ColourDatabase(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18185     PyObject 
*resultobj
; 
18186     wxColourDatabase 
*result
; 
18187     char *kwnames
[] = { 
18191     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
; 
18193         if (!wxPyCheckForApp()) SWIG_fail
; 
18194         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18195         result 
= (wxColourDatabase 
*)new wxColourDatabase(); 
18197         wxPyEndAllowThreads(__tstate
); 
18198         if (PyErr_Occurred()) SWIG_fail
; 
18200     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1); 
18207 static PyObject 
*_wrap_delete_ColourDatabase(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18208     PyObject 
*resultobj
; 
18209     wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
18210     PyObject 
* obj0 
= 0 ; 
18211     char *kwnames
[] = { 
18212         (char *) "self", NULL 
 
18215     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
; 
18216     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
, 
18217     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18219         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18222         wxPyEndAllowThreads(__tstate
); 
18223         if (PyErr_Occurred()) SWIG_fail
; 
18225     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18232 static PyObject 
*_wrap_ColourDatabase_Find(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18233     PyObject 
*resultobj
; 
18234     wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
18235     wxString 
*arg2 
= 0 ; 
18237     bool temp2 
= False 
; 
18238     PyObject 
* obj0 
= 0 ; 
18239     PyObject 
* obj1 
= 0 ; 
18240     char *kwnames
[] = { 
18241         (char *) "self",(char *) "name", NULL 
 
18244     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
; 
18245     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
, 
18246     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18248         arg2 
= wxString_in_helper(obj1
); 
18249         if (arg2 
== NULL
) SWIG_fail
; 
18253         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18254         result 
= ((wxColourDatabase 
const *)arg1
)->Find((wxString 
const &)*arg2
); 
18256         wxPyEndAllowThreads(__tstate
); 
18257         if (PyErr_Occurred()) SWIG_fail
; 
18260         wxColour 
* resultptr
; 
18261         resultptr 
= new wxColour((wxColour 
&) result
); 
18262         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
18278 static PyObject 
*_wrap_ColourDatabase_FindName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18279     PyObject 
*resultobj
; 
18280     wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
18281     wxColour 
*arg2 
= 0 ; 
18284     PyObject 
* obj0 
= 0 ; 
18285     PyObject 
* obj1 
= 0 ; 
18286     char *kwnames
[] = { 
18287         (char *) "self",(char *) "colour", NULL 
 
18290     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
; 
18291     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
, 
18292     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18295         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
18298         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18299         result 
= ((wxColourDatabase 
const *)arg1
)->FindName((wxColour 
const &)*arg2
); 
18301         wxPyEndAllowThreads(__tstate
); 
18302         if (PyErr_Occurred()) SWIG_fail
; 
18306         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
18308         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
18317 static PyObject 
*_wrap_ColourDatabase_AddColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18318     PyObject 
*resultobj
; 
18319     wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
18320     wxString 
*arg2 
= 0 ; 
18321     wxColour 
*arg3 
= 0 ; 
18322     bool temp2 
= False 
; 
18324     PyObject 
* obj0 
= 0 ; 
18325     PyObject 
* obj1 
= 0 ; 
18326     PyObject 
* obj2 
= 0 ; 
18327     char *kwnames
[] = { 
18328         (char *) "self",(char *) "name",(char *) "colour", NULL 
 
18331     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18332     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
, 
18333     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18335         arg2 
= wxString_in_helper(obj1
); 
18336         if (arg2 
== NULL
) SWIG_fail
; 
18341         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
18344         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18345         (arg1
)->AddColour((wxString 
const &)*arg2
,(wxColour 
const &)*arg3
); 
18347         wxPyEndAllowThreads(__tstate
); 
18348         if (PyErr_Occurred()) SWIG_fail
; 
18350     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18365 static PyObject 
*_wrap_ColourDatabase_Append(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18366     PyObject 
*resultobj
; 
18367     wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
18368     wxString 
*arg2 
= 0 ; 
18372     bool temp2 
= False 
; 
18373     PyObject 
* obj0 
= 0 ; 
18374     PyObject 
* obj1 
= 0 ; 
18375     PyObject 
* obj2 
= 0 ; 
18376     PyObject 
* obj3 
= 0 ; 
18377     PyObject 
* obj4 
= 0 ; 
18378     char *kwnames
[] = { 
18379         (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
18382     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
18383     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
, 
18384     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18386         arg2 
= wxString_in_helper(obj1
); 
18387         if (arg2 
== NULL
) SWIG_fail
; 
18390     arg3 
= (int)SWIG_As_int(obj2
);  
18391     if (PyErr_Occurred()) SWIG_fail
; 
18392     arg4 
= (int)SWIG_As_int(obj3
);  
18393     if (PyErr_Occurred()) SWIG_fail
; 
18394     arg5 
= (int)SWIG_As_int(obj4
);  
18395     if (PyErr_Occurred()) SWIG_fail
; 
18397         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18398         wxColourDatabase_Append(arg1
,(wxString 
const &)*arg2
,arg3
,arg4
,arg5
); 
18400         wxPyEndAllowThreads(__tstate
); 
18401         if (PyErr_Occurred()) SWIG_fail
; 
18403     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18418 static PyObject 
* ColourDatabase_swigregister(PyObject 
*, PyObject 
*args
) { 
18420     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18421     SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
); 
18423     return Py_BuildValue((char *)""); 
18425 static PyObject 
*_wrap_FontList_AddFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18426     PyObject 
*resultobj
; 
18427     wxFontList 
*arg1 
= (wxFontList 
*) 0 ; 
18428     wxFont 
*arg2 
= (wxFont 
*) 0 ; 
18429     PyObject 
* obj0 
= 0 ; 
18430     PyObject 
* obj1 
= 0 ; 
18431     char *kwnames
[] = { 
18432         (char *) "self",(char *) "font", NULL 
 
18435     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
18436     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
, 
18437     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18438     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
18439     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18441         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18442         (arg1
)->AddFont(arg2
); 
18444         wxPyEndAllowThreads(__tstate
); 
18445         if (PyErr_Occurred()) SWIG_fail
; 
18447     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18454 static PyObject 
*_wrap_FontList_FindOrCreateFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18455     PyObject 
*resultobj
; 
18456     wxFontList 
*arg1 
= (wxFontList 
*) 0 ; 
18461     bool arg6 
= (bool) False 
; 
18462     wxString 
const &arg7_defvalue 
= wxPyEmptyString 
; 
18463     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
18464     int arg8 
= (int) wxFONTENCODING_DEFAULT 
; 
18466     bool temp7 
= False 
; 
18467     PyObject 
* obj0 
= 0 ; 
18468     PyObject 
* obj1 
= 0 ; 
18469     PyObject 
* obj2 
= 0 ; 
18470     PyObject 
* obj3 
= 0 ; 
18471     PyObject 
* obj4 
= 0 ; 
18472     PyObject 
* obj5 
= 0 ; 
18473     PyObject 
* obj6 
= 0 ; 
18474     PyObject 
* obj7 
= 0 ; 
18475     char *kwnames
[] = { 
18476         (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL 
 
18479     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
18480     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
, 
18481     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18482     arg2 
= (int)SWIG_As_int(obj1
);  
18483     if (PyErr_Occurred()) SWIG_fail
; 
18484     arg3 
= (int)SWIG_As_int(obj2
);  
18485     if (PyErr_Occurred()) SWIG_fail
; 
18486     arg4 
= (int)SWIG_As_int(obj3
);  
18487     if (PyErr_Occurred()) SWIG_fail
; 
18488     arg5 
= (int)SWIG_As_int(obj4
);  
18489     if (PyErr_Occurred()) SWIG_fail
; 
18491         arg6 
= (bool)SWIG_As_bool(obj5
);  
18492         if (PyErr_Occurred()) SWIG_fail
; 
18496             arg7 
= wxString_in_helper(obj6
); 
18497             if (arg7 
== NULL
) SWIG_fail
; 
18502         arg8 
= (int)SWIG_As_int(obj7
);  
18503         if (PyErr_Occurred()) SWIG_fail
; 
18506         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18507         result 
= (wxFont 
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString 
const &)*arg7
,(wxFontEncoding 
)arg8
); 
18509         wxPyEndAllowThreads(__tstate
); 
18510         if (PyErr_Occurred()) SWIG_fail
; 
18512     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0); 
18527 static PyObject 
*_wrap_FontList_RemoveFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18528     PyObject 
*resultobj
; 
18529     wxFontList 
*arg1 
= (wxFontList 
*) 0 ; 
18530     wxFont 
*arg2 
= (wxFont 
*) 0 ; 
18531     PyObject 
* obj0 
= 0 ; 
18532     PyObject 
* obj1 
= 0 ; 
18533     char *kwnames
[] = { 
18534         (char *) "self",(char *) "font", NULL 
 
18537     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
18538     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
, 
18539     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18540     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
18541     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18543         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18544         (arg1
)->RemoveFont(arg2
); 
18546         wxPyEndAllowThreads(__tstate
); 
18547         if (PyErr_Occurred()) SWIG_fail
; 
18549     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18556 static PyObject 
*_wrap_FontList_GetCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18557     PyObject 
*resultobj
; 
18558     wxFontList 
*arg1 
= (wxFontList 
*) 0 ; 
18560     PyObject 
* obj0 
= 0 ; 
18561     char *kwnames
[] = { 
18562         (char *) "self", NULL 
 
18565     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
; 
18566     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
, 
18567     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18569         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18570         result 
= (int)(arg1
)->GetCount(); 
18572         wxPyEndAllowThreads(__tstate
); 
18573         if (PyErr_Occurred()) SWIG_fail
; 
18575     resultobj 
= SWIG_From_int((int)result
); 
18582 static PyObject 
* FontList_swigregister(PyObject 
*, PyObject 
*args
) { 
18584     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18585     SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
); 
18587     return Py_BuildValue((char *)""); 
18589 static int _wrap_TheFontList_set(PyObject 
*) { 
18590     PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only."); 
18595 static PyObject 
*_wrap_TheFontList_get() { 
18598     pyobj 
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0); 
18603 static int _wrap_ThePenList_set(PyObject 
*) { 
18604     PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only."); 
18609 static PyObject 
*_wrap_ThePenList_get() { 
18612     pyobj 
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0); 
18617 static int _wrap_TheBrushList_set(PyObject 
*) { 
18618     PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only."); 
18623 static PyObject 
*_wrap_TheBrushList_get() { 
18626     pyobj 
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0); 
18631 static int _wrap_TheColourDatabase_set(PyObject 
*) { 
18632     PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only."); 
18637 static PyObject 
*_wrap_TheColourDatabase_get() { 
18640     pyobj 
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0); 
18645 static PyObject 
*_wrap_new_Effects(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18646     PyObject 
*resultobj
; 
18648     char *kwnames
[] = { 
18652     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
; 
18654         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18655         result 
= (wxEffects 
*)new wxEffects(); 
18657         wxPyEndAllowThreads(__tstate
); 
18658         if (PyErr_Occurred()) SWIG_fail
; 
18660     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1); 
18667 static PyObject 
*_wrap_Effects_GetHighlightColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18668     PyObject 
*resultobj
; 
18669     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
18671     PyObject 
* obj0 
= 0 ; 
18672     char *kwnames
[] = { 
18673         (char *) "self", NULL 
 
18676     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
; 
18677     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
18678     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18680         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18681         result 
= ((wxEffects 
const *)arg1
)->GetHighlightColour(); 
18683         wxPyEndAllowThreads(__tstate
); 
18684         if (PyErr_Occurred()) SWIG_fail
; 
18687         wxColour 
* resultptr
; 
18688         resultptr 
= new wxColour((wxColour 
&) result
); 
18689         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
18697 static PyObject 
*_wrap_Effects_GetLightShadow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18698     PyObject 
*resultobj
; 
18699     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
18701     PyObject 
* obj0 
= 0 ; 
18702     char *kwnames
[] = { 
18703         (char *) "self", NULL 
 
18706     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
; 
18707     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
18708     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18710         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18711         result 
= ((wxEffects 
const *)arg1
)->GetLightShadow(); 
18713         wxPyEndAllowThreads(__tstate
); 
18714         if (PyErr_Occurred()) SWIG_fail
; 
18717         wxColour 
* resultptr
; 
18718         resultptr 
= new wxColour((wxColour 
&) result
); 
18719         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
18727 static PyObject 
*_wrap_Effects_GetFaceColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18728     PyObject 
*resultobj
; 
18729     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
18731     PyObject 
* obj0 
= 0 ; 
18732     char *kwnames
[] = { 
18733         (char *) "self", NULL 
 
18736     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
; 
18737     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
18738     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18740         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18741         result 
= ((wxEffects 
const *)arg1
)->GetFaceColour(); 
18743         wxPyEndAllowThreads(__tstate
); 
18744         if (PyErr_Occurred()) SWIG_fail
; 
18747         wxColour 
* resultptr
; 
18748         resultptr 
= new wxColour((wxColour 
&) result
); 
18749         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
18757 static PyObject 
*_wrap_Effects_GetMediumShadow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18758     PyObject 
*resultobj
; 
18759     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
18761     PyObject 
* obj0 
= 0 ; 
18762     char *kwnames
[] = { 
18763         (char *) "self", NULL 
 
18766     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
; 
18767     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
18768     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18770         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18771         result 
= ((wxEffects 
const *)arg1
)->GetMediumShadow(); 
18773         wxPyEndAllowThreads(__tstate
); 
18774         if (PyErr_Occurred()) SWIG_fail
; 
18777         wxColour 
* resultptr
; 
18778         resultptr 
= new wxColour((wxColour 
&) result
); 
18779         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
18787 static PyObject 
*_wrap_Effects_GetDarkShadow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18788     PyObject 
*resultobj
; 
18789     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
18791     PyObject 
* obj0 
= 0 ; 
18792     char *kwnames
[] = { 
18793         (char *) "self", NULL 
 
18796     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
; 
18797     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
18798     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18800         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18801         result 
= ((wxEffects 
const *)arg1
)->GetDarkShadow(); 
18803         wxPyEndAllowThreads(__tstate
); 
18804         if (PyErr_Occurred()) SWIG_fail
; 
18807         wxColour 
* resultptr
; 
18808         resultptr 
= new wxColour((wxColour 
&) result
); 
18809         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
18817 static PyObject 
*_wrap_Effects_SetHighlightColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18818     PyObject 
*resultobj
; 
18819     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
18820     wxColour 
*arg2 
= 0 ; 
18822     PyObject 
* obj0 
= 0 ; 
18823     PyObject 
* obj1 
= 0 ; 
18824     char *kwnames
[] = { 
18825         (char *) "self",(char *) "c", NULL 
 
18828     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
18829     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
18830     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18833         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
18836         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18837         (arg1
)->SetHighlightColour((wxColour 
const &)*arg2
); 
18839         wxPyEndAllowThreads(__tstate
); 
18840         if (PyErr_Occurred()) SWIG_fail
; 
18842     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18849 static PyObject 
*_wrap_Effects_SetLightShadow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18850     PyObject 
*resultobj
; 
18851     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
18852     wxColour 
*arg2 
= 0 ; 
18854     PyObject 
* obj0 
= 0 ; 
18855     PyObject 
* obj1 
= 0 ; 
18856     char *kwnames
[] = { 
18857         (char *) "self",(char *) "c", NULL 
 
18860     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
; 
18861     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
18862     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18865         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
18868         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18869         (arg1
)->SetLightShadow((wxColour 
const &)*arg2
); 
18871         wxPyEndAllowThreads(__tstate
); 
18872         if (PyErr_Occurred()) SWIG_fail
; 
18874     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18881 static PyObject 
*_wrap_Effects_SetFaceColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18882     PyObject 
*resultobj
; 
18883     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
18884     wxColour 
*arg2 
= 0 ; 
18886     PyObject 
* obj0 
= 0 ; 
18887     PyObject 
* obj1 
= 0 ; 
18888     char *kwnames
[] = { 
18889         (char *) "self",(char *) "c", NULL 
 
18892     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
18893     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
18894     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18897         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
18900         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18901         (arg1
)->SetFaceColour((wxColour 
const &)*arg2
); 
18903         wxPyEndAllowThreads(__tstate
); 
18904         if (PyErr_Occurred()) SWIG_fail
; 
18906     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18913 static PyObject 
*_wrap_Effects_SetMediumShadow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18914     PyObject 
*resultobj
; 
18915     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
18916     wxColour 
*arg2 
= 0 ; 
18918     PyObject 
* obj0 
= 0 ; 
18919     PyObject 
* obj1 
= 0 ; 
18920     char *kwnames
[] = { 
18921         (char *) "self",(char *) "c", NULL 
 
18924     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
; 
18925     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
18926     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18929         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
18932         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18933         (arg1
)->SetMediumShadow((wxColour 
const &)*arg2
); 
18935         wxPyEndAllowThreads(__tstate
); 
18936         if (PyErr_Occurred()) SWIG_fail
; 
18938     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18945 static PyObject 
*_wrap_Effects_SetDarkShadow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18946     PyObject 
*resultobj
; 
18947     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
18948     wxColour 
*arg2 
= 0 ; 
18950     PyObject 
* obj0 
= 0 ; 
18951     PyObject 
* obj1 
= 0 ; 
18952     char *kwnames
[] = { 
18953         (char *) "self",(char *) "c", NULL 
 
18956     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
; 
18957     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
18958     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18961         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
18964         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18965         (arg1
)->SetDarkShadow((wxColour 
const &)*arg2
); 
18967         wxPyEndAllowThreads(__tstate
); 
18968         if (PyErr_Occurred()) SWIG_fail
; 
18970     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18977 static PyObject 
*_wrap_Effects_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18978     PyObject 
*resultobj
; 
18979     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
18980     wxColour 
*arg2 
= 0 ; 
18981     wxColour 
*arg3 
= 0 ; 
18982     wxColour 
*arg4 
= 0 ; 
18983     wxColour 
*arg5 
= 0 ; 
18984     wxColour 
*arg6 
= 0 ; 
18990     PyObject 
* obj0 
= 0 ; 
18991     PyObject 
* obj1 
= 0 ; 
18992     PyObject 
* obj2 
= 0 ; 
18993     PyObject 
* obj3 
= 0 ; 
18994     PyObject 
* obj4 
= 0 ; 
18995     PyObject 
* obj5 
= 0 ; 
18996     char *kwnames
[] = { 
18997         (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL 
 
19000     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
19001     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
19002     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19005         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
19009         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
19013         if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
19017         if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
; 
19021         if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
; 
19024         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19025         (arg1
)->Set((wxColour 
const &)*arg2
,(wxColour 
const &)*arg3
,(wxColour 
const &)*arg4
,(wxColour 
const &)*arg5
,(wxColour 
const &)*arg6
); 
19027         wxPyEndAllowThreads(__tstate
); 
19028         if (PyErr_Occurred()) SWIG_fail
; 
19030     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19037 static PyObject 
*_wrap_Effects_DrawSunkenEdge(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19038     PyObject 
*resultobj
; 
19039     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
19042     int arg4 
= (int) 1 ; 
19044     PyObject 
* obj0 
= 0 ; 
19045     PyObject 
* obj1 
= 0 ; 
19046     PyObject 
* obj2 
= 0 ; 
19047     PyObject 
* obj3 
= 0 ; 
19048     char *kwnames
[] = { 
19049         (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL 
 
19052     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
19053     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
19054     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19055     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
, 
19056     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19058     if (arg2 
== NULL
) { 
19059         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19064         if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
; 
19067         arg4 
= (int)SWIG_As_int(obj3
);  
19068         if (PyErr_Occurred()) SWIG_fail
; 
19071         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19072         (arg1
)->DrawSunkenEdge(*arg2
,(wxRect 
const &)*arg3
,arg4
); 
19074         wxPyEndAllowThreads(__tstate
); 
19075         if (PyErr_Occurred()) SWIG_fail
; 
19077     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19084 static PyObject 
*_wrap_Effects_TileBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19085     PyObject 
*resultobj
; 
19086     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
19089     wxBitmap 
*arg4 
= 0 ; 
19092     PyObject 
* obj0 
= 0 ; 
19093     PyObject 
* obj1 
= 0 ; 
19094     PyObject 
* obj2 
= 0 ; 
19095     PyObject 
* obj3 
= 0 ; 
19096     char *kwnames
[] = { 
19097         (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL 
 
19100     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
19101     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
19102     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19105         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
19107     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
, 
19108     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19110     if (arg3 
== NULL
) { 
19111         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19114     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
, 
19115     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19117     if (arg4 
== NULL
) { 
19118         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19122         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19123         result 
= (bool)(arg1
)->TileBitmap((wxRect 
const &)*arg2
,*arg3
,*arg4
); 
19125         wxPyEndAllowThreads(__tstate
); 
19126         if (PyErr_Occurred()) SWIG_fail
; 
19129         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19137 static PyObject 
* Effects_swigregister(PyObject 
*, PyObject 
*args
) { 
19139     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
19140     SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
); 
19142     return Py_BuildValue((char *)""); 
19144 static PyMethodDef SwigMethods
[] = { 
19145          { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19146          { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19147          { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19148          { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19149          { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19150          { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL 
}, 
19151          { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19152          { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19153          { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19154          { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19155          { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19156          { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19157          { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19158          { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19159          { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19160          { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19161          { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19162          { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19163          { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19164          { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19165          { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19166          { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19167          { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL 
}, 
19168          { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19169          { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19170          { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19171          { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19172          { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19173          { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL 
}, 
19174          { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19175          { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19176          { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19177          { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19178          { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19179          { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19180          { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19181          { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19182          { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19183          { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19184          { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19185          { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19186          { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19187          { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19188          { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19189          { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19190          { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19191          { (char *)"Pen_GetStipple", (PyCFunction
) _wrap_Pen_GetStipple
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19192          { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19193          { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19194          { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19195          { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL 
}, 
19196          { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19197          { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19198          { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19199          { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19200          { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19201          { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19202          { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19203          { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19204          { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19205          { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL 
}, 
19206          { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19207          { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19208          { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19209          { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19210          { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19211          { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19212          { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19213          { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19214          { (char *)"Bitmap_GetHandle", (PyCFunction
) _wrap_Bitmap_GetHandle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19215          { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19216          { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19217          { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19218          { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19219          { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19220          { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19221          { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19222          { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19223          { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19224          { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19225          { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19226          { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19227          { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19228          { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19229          { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19230          { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19231          { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19232          { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19233          { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19234          { (char *)"Bitmap_GetQuality", (PyCFunction
) _wrap_Bitmap_GetQuality
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19235          { (char *)"Bitmap_SetQuality", (PyCFunction
) _wrap_Bitmap_SetQuality
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19236          { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19237          { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19238          { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL 
}, 
19239          { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19240          { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL 
}, 
19241          { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19242          { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19243          { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19244          { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19245          { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19246          { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19247          { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19248          { (char *)"Icon_GetHandle", (PyCFunction
) _wrap_Icon_GetHandle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19249          { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19250          { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19251          { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19252          { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19253          { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19254          { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19255          { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19256          { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19257          { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19258          { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19259          { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL 
}, 
19260          { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19261          { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19262          { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19263          { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19264          { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19265          { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19266          { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19267          { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL 
}, 
19268          { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19269          { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19270          { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19271          { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19272          { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19273          { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19274          { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19275          { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL 
}, 
19276          { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19277          { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19278          { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19279          { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19280          { (char *)"Cursor_GetHandle", (PyCFunction
) _wrap_Cursor_GetHandle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19281          { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19282          { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19283          { (char *)"Cursor_GetWidth", (PyCFunction
) _wrap_Cursor_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19284          { (char *)"Cursor_GetHeight", (PyCFunction
) _wrap_Cursor_GetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19285          { (char *)"Cursor_GetDepth", (PyCFunction
) _wrap_Cursor_GetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19286          { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19287          { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19288          { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19289          { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19290          { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL 
}, 
19291          { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19292          { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19293          { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19294          { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19295          { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19296          { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19297          { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19298          { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19299          { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19300          { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19301          { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19302          { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19303          { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19304          { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19305          { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19306          { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19307          { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19308          { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19309          { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19310          { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19311          { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19312          { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19313          { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19314          { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19315          { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19316          { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19317          { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19318          { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19319          { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL 
}, 
19320          { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19321          { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19322          { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19323          { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19324          { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19325          { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19326          { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19327          { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19328          { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19329          { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19330          { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19331          { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19332          { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19333          { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL 
}, 
19334          { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19335          { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19336          { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19337          { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19338          { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19339          { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19340          { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19341          { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19342          { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19343          { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19344          { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19345          { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19346          { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19347          { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19348          { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19349          { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19350          { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19351          { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19352          { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19353          { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19354          { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19355          { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19356          { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19357          { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL 
}, 
19358          { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19359          { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19360          { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19361          { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19362          { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19363          { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19364          { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19365          { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19366          { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL 
}, 
19367          { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19368          { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19369          { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19370          { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19371          { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19372          { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19373          { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19374          { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19375          { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19376          { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19377          { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19378          { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19379          { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19380          { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19381          { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19382          { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19383          { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19384          { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19385          { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19386          { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL 
}, 
19387          { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19388          { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19389          { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19390          { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19391          { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19392          { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19393          { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19394          { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19395          { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19396          { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19397          { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19398          { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19399          { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19400          { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19401          { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19402          { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19403          { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19404          { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19405          { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19406          { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19407          { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19408          { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19409          { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19410          { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19411          { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19412          { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19413          { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19414          { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19415          { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19416          { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19417          { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19418          { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19419          { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19420          { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19421          { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19422          { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19423          { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL 
}, 
19424          { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19425          { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19426          { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19427          { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19428          { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19429          { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19430          { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19431          { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL 
}, 
19432          { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19433          { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19434          { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19435          { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19436          { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19437          { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19438          { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL 
}, 
19439          { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19440          { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19441          { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19442          { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19443          { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19444          { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19445          { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19446          { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19447          { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19448          { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19449          { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19450          { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19451          { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19452          { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19453          { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19454          { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19455          { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19456          { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19457          { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19458          { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19459          { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19460          { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL 
}, 
19461          { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19462          { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL 
}, 
19463          { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19464          { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19465          { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19466          { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19467          { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19468          { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19469          { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19470          { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL 
}, 
19471          { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19472          { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19473          { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19474          { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19475          { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19476          { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19477          { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19478          { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19479          { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19480          { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19481          { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19482          { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19483          { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19484          { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19485          { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19486          { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19487          { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19488          { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19489          { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19490          { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19491          { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19492          { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19493          { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19494          { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19495          { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19496          { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19497          { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19498          { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19499          { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19500          { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19501          { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19502          { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19503          { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19504          { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19505          { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19506          { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19507          { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19508          { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19509          { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19510          { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19511          { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19512          { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19513          { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19514          { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19515          { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19516          { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19517          { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19518          { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19519          { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19520          { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19521          { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19522          { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19523          { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19524          { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19525          { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19526          { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19527          { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19528          { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19529          { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19530          { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19531          { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19532          { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19533          { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19534          { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19535          { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19536          { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19537          { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19538          { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19539          { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19540          { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19541          { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19542          { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19543          { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19544          { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19545          { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19546          { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19547          { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19548          { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19549          { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19550          { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19551          { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19552          { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19553          { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19554          { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19555          { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19556          { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19557          { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19558          { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19559          { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19560          { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19561          { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19562          { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19563          { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19564          { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19565          { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19566          { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19567          { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19568          { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19569          { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19570          { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19571          { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19572          { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19573          { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19574          { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19575          { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19576          { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19577          { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19578          { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19579          { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19580          { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19581          { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19582          { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19583          { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19584          { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19585          { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19586          { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19587          { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19588          { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19589          { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19590          { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19591          { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19592          { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19593          { (char *)"DC_GetHDC", (PyCFunction
) _wrap_DC_GetHDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19594          { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19595          { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19596          { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19597          { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19598          { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19599          { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19600          { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL 
}, 
19601          { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19602          { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19603          { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19604          { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL 
}, 
19605          { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL 
}, 
19606          { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19607          { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19608          { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL 
}, 
19609          { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19610          { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL 
}, 
19611          { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19612          { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19613          { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19614          { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19615          { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL 
}, 
19616          { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19617          { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL 
}, 
19618          { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19619          { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL 
}, 
19620          { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19621          { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL 
}, 
19622          { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19623          { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL 
}, 
19624          { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19625          { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19626          { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19627          { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19628          { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19629          { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL 
}, 
19630          { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19631          { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19632          { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19633          { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19634          { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19635          { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19636          { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19637          { (char *)"MetaFile_GetFileName", (PyCFunction
) _wrap_MetaFile_GetFileName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19638          { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL 
}, 
19639          { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19640          { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19641          { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL 
}, 
19642          { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19643          { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL 
}, 
19644          { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19645          { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19646          { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19647          { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19648          { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19649          { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19650          { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19651          { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19652          { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19653          { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19654          { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19655          { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL 
}, 
19656          { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19657          { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19658          { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19659          { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19660          { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL 
}, 
19661          { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19662          { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19663          { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19664          { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19665          { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL 
}, 
19666          { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19667          { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19668          { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19669          { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19670          { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19671          { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19672          { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL 
}, 
19673          { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19674          { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19675          { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19676          { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19677          { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL 
}, 
19678          { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19679          { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19680          { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19681          { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19682          { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19683          { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19684          { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19685          { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19686          { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19687          { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19688          { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19689          { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19690          { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19691          { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19692          { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL 
}, 
19693          { NULL
, NULL
, 0, NULL 
} 
19697 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
19699 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
19700     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
19702 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
19703     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
19705 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
19706     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
19708 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) { 
19709     return (void *)((wxMemoryDC 
*)  ((wxBufferedDC 
*) x
)); 
19711 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) { 
19712     return (void *)((wxMemoryDC 
*) (wxBufferedDC 
*) ((wxBufferedPaintDC 
*) x
)); 
19714 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
19715     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
19717 static void *_p_wxPenTo_p_wxObject(void *x
) { 
19718     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxPen 
*) x
)); 
19720 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) { 
19721     return (void *)((wxObject 
*)  ((wxRegionIterator 
*) x
)); 
19723 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
19724     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
19726 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
19727     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
19729 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) { 
19730     return (void *)((wxObject 
*)  ((wxColourDatabase 
*) x
)); 
19732 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
19733     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
19735 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
19736     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
19738 static void *_p_wxIconTo_p_wxObject(void *x
) { 
19739     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxIcon 
*) x
)); 
19741 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
19742     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
19744 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
19745     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
19747 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
19748     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
19750 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
19751     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
19753 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
19754     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
19756 static void *_p_wxPenListTo_p_wxObject(void *x
) { 
19757     return (void *)((wxObject 
*)  ((wxPenList 
*) x
)); 
19759 static void *_p_wxEventTo_p_wxObject(void *x
) { 
19760     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
19762 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
19763     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
19765 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
19766     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
19768 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
19769     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
19771 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
19772     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
19774 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
19775     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
19777 static void *_p_wxDCTo_p_wxObject(void *x
) { 
19778     return (void *)((wxObject 
*)  ((wxDC 
*) x
)); 
19780 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
19781     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
19783 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
19784     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
19786 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
19787     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
19789 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
19790     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
19792 static void *_p_wxControlTo_p_wxObject(void *x
) { 
19793     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
19795 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
19796     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
19798 static void *_p_wxClientDCTo_p_wxObject(void *x
) { 
19799     return (void *)((wxObject 
*) (wxDC 
*) ((wxClientDC 
*) x
)); 
19801 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
19802     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
19804 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) { 
19805     return (void *)((wxObject 
*) (wxDC 
*) ((wxMemoryDC 
*) x
)); 
19807 static void *_p_wxRegionTo_p_wxObject(void *x
) { 
19808     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxRegion 
*) x
)); 
19810 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
19811     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
19813 static void *_p_wxWindowDCTo_p_wxObject(void *x
) { 
19814     return (void *)((wxObject 
*) (wxDC 
*) ((wxWindowDC 
*) x
)); 
19816 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) { 
19817     return (void *)((wxObject 
*)  ((wxGDIObject 
*) x
)); 
19819 static void *_p_wxEffectsTo_p_wxObject(void *x
) { 
19820     return (void *)((wxObject 
*)  ((wxEffects 
*) x
)); 
19822 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
19823     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
19825 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
19826     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
19828 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) { 
19829     return (void *)((wxObject 
*) (wxDC 
*) ((wxPostScriptDC 
*) x
)); 
19831 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
19832     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
19834 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
19835     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
19837 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
19838     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
19840 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
19841     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
19843 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
19844     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
19846 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
19847     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
19849 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
19850     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
19852 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
19853     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
19855 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
19856     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
19858 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
19859     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
19861 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
19862     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
19864 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
19865     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
19867 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
19868     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
19870 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
19871     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
19873 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
19874     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
19876 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
19877     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
19879 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
19880     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
19882 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
19883     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
19885 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
19886     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
19888 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
19889     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
19891 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
19892     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
19894 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
19895     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
19897 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
19898     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
19900 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) { 
19901     return (void *)((wxObject 
*) (wxDC 
*)(wxMemoryDC 
*)(wxBufferedDC 
*) ((wxBufferedPaintDC 
*) x
)); 
19903 static void *_p_wxPaintDCTo_p_wxObject(void *x
) { 
19904     return (void *)((wxObject 
*) (wxDC 
*) ((wxPaintDC 
*) x
)); 
19906 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) { 
19907     return (void *)((wxObject 
*) (wxDC 
*) ((wxPrinterDC 
*) x
)); 
19909 static void *_p_wxScreenDCTo_p_wxObject(void *x
) { 
19910     return (void *)((wxObject 
*) (wxDC 
*) ((wxScreenDC 
*) x
)); 
19912 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
19913     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
19915 static void *_p_wxImageTo_p_wxObject(void *x
) { 
19916     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
19918 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
19919     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
19921 static void *_p_wxPaletteTo_p_wxObject(void *x
) { 
19922     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxPalette 
*) x
)); 
19924 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) { 
19925     return (void *)((wxObject 
*) (wxDC 
*)(wxMemoryDC 
*) ((wxBufferedDC 
*) x
)); 
19927 static void *_p_wxImageListTo_p_wxObject(void *x
) { 
19928     return (void *)((wxObject 
*)  ((wxImageList 
*) x
)); 
19930 static void *_p_wxCursorTo_p_wxObject(void *x
) { 
19931     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxCursor 
*) x
)); 
19933 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) { 
19934     return (void *)((wxObject 
*)  ((wxEncodingConverter 
*) x
)); 
19936 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) { 
19937     return (void *)((wxObject 
*) (wxDC 
*) ((wxMirrorDC 
*) x
)); 
19939 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
19940     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
19942 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
19943     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
19945 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
19946     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
19948 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
19949     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
19951 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
19952     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
19954 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
19955     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
19957 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) { 
19958     return (void *)((wxObject 
*) (wxDC 
*) ((wxMetaFileDC 
*) x
)); 
19960 static void *_p_wxBrushListTo_p_wxObject(void *x
) { 
19961     return (void *)((wxObject 
*)  ((wxBrushList 
*) x
)); 
19963 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
19964     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
19966 static void *_p_wxBitmapTo_p_wxObject(void *x
) { 
19967     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxBitmap 
*) x
)); 
19969 static void *_p_wxMaskTo_p_wxObject(void *x
) { 
19970     return (void *)((wxObject 
*)  ((wxMask 
*) x
)); 
19972 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
19973     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
19975 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
19976     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
19978 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
19979     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
19981 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
19982     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
19984 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
19985     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
19987 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
19988     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
19990 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
19991     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
19993 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
19994     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
19996 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
19997     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
19999 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
20000     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
20002 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
20003     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
20005 static void *_p_wxFontTo_p_wxObject(void *x
) { 
20006     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxFont 
*) x
)); 
20008 static void *_p_wxBrushTo_p_wxObject(void *x
) { 
20009     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxBrush 
*) x
)); 
20011 static void *_p_wxMetaFileTo_p_wxObject(void *x
) { 
20012     return (void *)((wxObject 
*)  ((wxMetaFile 
*) x
)); 
20014 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
20015     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
20017 static void *_p_wxColourTo_p_wxObject(void *x
) { 
20018     return (void *)((wxObject 
*)  ((wxColour 
*) x
)); 
20020 static void *_p_wxFontListTo_p_wxObject(void *x
) { 
20021     return (void *)((wxObject 
*)  ((wxFontList 
*) x
)); 
20023 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
20024     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
20026 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
20027     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
20029 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) { 
20030     return (void *)((wxBufferedDC 
*)  ((wxBufferedPaintDC 
*) x
)); 
20032 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) { 
20033     return (void *)((wxDC 
*) (wxMemoryDC 
*) ((wxBufferedDC 
*) x
)); 
20035 static void *_p_wxScreenDCTo_p_wxDC(void *x
) { 
20036     return (void *)((wxDC 
*)  ((wxScreenDC 
*) x
)); 
20038 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) { 
20039     return (void *)((wxDC 
*)  ((wxMirrorDC 
*) x
)); 
20041 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) { 
20042     return (void *)((wxDC 
*)  ((wxMemoryDC 
*) x
)); 
20044 static void *_p_wxWindowDCTo_p_wxDC(void *x
) { 
20045     return (void *)((wxDC 
*)  ((wxWindowDC 
*) x
)); 
20047 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) { 
20048     return (void *)((wxDC 
*)  ((wxMetaFileDC 
*) x
)); 
20050 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) { 
20051     return (void *)((wxDC 
*) (wxMemoryDC 
*)(wxBufferedDC 
*) ((wxBufferedPaintDC 
*) x
)); 
20053 static void *_p_wxClientDCTo_p_wxDC(void *x
) { 
20054     return (void *)((wxDC 
*)  ((wxClientDC 
*) x
)); 
20056 static void *_p_wxPaintDCTo_p_wxDC(void *x
) { 
20057     return (void *)((wxDC 
*)  ((wxPaintDC 
*) x
)); 
20059 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) { 
20060     return (void *)((wxDC 
*)  ((wxPostScriptDC 
*) x
)); 
20062 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) { 
20063     return (void *)((wxDC 
*)  ((wxPrinterDC 
*) x
)); 
20065 static void *_p_wxIconTo_p_wxGDIObject(void *x
) { 
20066     return (void *)((wxGDIObject 
*)  ((wxIcon 
*) x
)); 
20068 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) { 
20069     return (void *)((wxGDIObject 
*)  ((wxPalette 
*) x
)); 
20071 static void *_p_wxPenTo_p_wxGDIObject(void *x
) { 
20072     return (void *)((wxGDIObject 
*)  ((wxPen 
*) x
)); 
20074 static void *_p_wxFontTo_p_wxGDIObject(void *x
) { 
20075     return (void *)((wxGDIObject 
*)  ((wxFont 
*) x
)); 
20077 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) { 
20078     return (void *)((wxGDIObject 
*)  ((wxCursor 
*) x
)); 
20080 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) { 
20081     return (void *)((wxGDIObject 
*)  ((wxBitmap 
*) x
)); 
20083 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) { 
20084     return (void *)((wxGDIObject 
*)  ((wxRegion 
*) x
)); 
20086 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) { 
20087     return (void *)((wxGDIObject 
*)  ((wxBrush 
*) x
)); 
20089 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}}; 
20090 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}}; 
20091 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}}; 
20092 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}}; 
20093 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}}; 
20094 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}}; 
20095 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}}; 
20096 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}}; 
20097 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}}; 
20098 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}}; 
20099 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}}; 
20100 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}}; 
20101 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}}; 
20102 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}}; 
20103 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}}; 
20104 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}}; 
20105 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}}; 
20106 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}}; 
20107 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}}; 
20108 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}}; 
20109 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}}; 
20110 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}}; 
20111 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}}; 
20112 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}}; 
20113 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}}; 
20114 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}}; 
20115 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}}; 
20116 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}}; 
20117 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}}; 
20118 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}}; 
20119 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}}; 
20120 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}}; 
20121 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}}; 
20122 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}}; 
20123 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}}; 
20124 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}}; 
20125 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}}; 
20126 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}}; 
20127 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}}; 
20128 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}}; 
20129 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}}; 
20130 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}}; 
20131 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}}; 
20132 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}}; 
20133 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}}; 
20134 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}}; 
20135 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}}; 
20136 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}}; 
20137 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}}; 
20138 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}}; 
20139 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}}; 
20140 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}}; 
20141 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}}; 
20142 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}}; 
20143 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}}; 
20145 static swig_type_info 
*swig_types_initial
[] = { 
20146 _swigt__p_wxPostScriptDC
,  
20148 _swigt__p_wxColour
,  
20150 _swigt__p_wxMirrorDC
,  
20152 _swigt__p_wxPyFontEnumerator
,  
20154 _swigt__p_wxIconLocation
,  
20156 _swigt__p_wxMetaFileDC
,  
20160 _swigt__p_wxWindow
,  
20162 _swigt__p_wxMemoryDC
,  
20163 _swigt__p_wxFontMapper
,  
20164 _swigt__p_wxEffects
,  
20165 _swigt__p_wxNativeEncodingInfo
,  
20166 _swigt__p_wxPalette
,  
20167 _swigt__p_wxBitmap
,  
20168 _swigt__p_wxObject
,  
20169 _swigt__p_wxRegionIterator
,  
20171 _swigt__p_wxString
,  
20172 _swigt__p_wxPrinterDC
,  
20173 _swigt__p_wxIconBundle
,  
20176 _swigt__p_wxScreenDC
,  
20177 _swigt__p_wxCursor
,  
20178 _swigt__p_wxClientDC
,  
20179 _swigt__p_wxBufferedDC
,  
20180 _swigt__p_wxImageList
,  
20181 _swigt__p_unsigned_char
,  
20182 _swigt__p_wxGDIObject
,  
20184 _swigt__p_wxLocale
,  
20185 _swigt__p_wxRegion
,  
20186 _swigt__p_wxLanguageInfo
,  
20187 _swigt__p_wxConfigBase
,  
20188 _swigt__p_wxWindowDC
,  
20189 _swigt__p_wxPrintData
,  
20190 _swigt__p_wxBrushList
,  
20191 _swigt__p_wxFontList
,  
20193 _swigt__p_wxBufferedPaintDC
,  
20194 _swigt__p_wxPaintDC
,  
20195 _swigt__p_wxPenList
,  
20197 _swigt__p_wxMetaFile
,  
20198 _swigt__p_wxNativeFontInfo
,  
20199 _swigt__p_wxEncodingConverter
,  
20200 _swigt__p_wxColourDatabase
,  
20205 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
20207 static swig_const_info swig_const_table
[] = { 
20208 {0, 0, 0, 0.0, 0, 0}}; 
20217 SWIGEXPORT(void) SWIG_init(void) { 
20218     static PyObject 
*SWIG_globals 
= 0;  
20219     static int       typeinit 
= 0; 
20222     if (!SWIG_globals
) SWIG_globals 
= SWIG_newvarlink(); 
20223     m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
20224     d 
= PyModule_GetDict(m
); 
20227         for (i 
= 0; swig_types_initial
[i
]; i
++) { 
20228             swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]); 
20232     SWIG_InstallConstants(d
,swig_const_table
); 
20234     PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)wxOutRegion
)); 
20235     PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)wxPartRegion
)); 
20236     PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)wxInRegion
)); 
20237     PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)wxFONTFAMILY_DEFAULT
)); 
20238     PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)wxFONTFAMILY_DECORATIVE
)); 
20239     PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)wxFONTFAMILY_ROMAN
)); 
20240     PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)wxFONTFAMILY_SCRIPT
)); 
20241     PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)wxFONTFAMILY_SWISS
)); 
20242     PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)wxFONTFAMILY_MODERN
)); 
20243     PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)wxFONTFAMILY_TELETYPE
)); 
20244     PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)wxFONTFAMILY_MAX
)); 
20245     PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)wxFONTFAMILY_UNKNOWN
)); 
20246     PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)wxFONTSTYLE_NORMAL
)); 
20247     PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)wxFONTSTYLE_ITALIC
)); 
20248     PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)wxFONTSTYLE_SLANT
)); 
20249     PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)wxFONTSTYLE_MAX
)); 
20250     PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)wxFONTWEIGHT_NORMAL
)); 
20251     PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)wxFONTWEIGHT_LIGHT
)); 
20252     PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)wxFONTWEIGHT_BOLD
)); 
20253     PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)wxFONTWEIGHT_MAX
)); 
20254     PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)wxFONTFLAG_DEFAULT
)); 
20255     PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)wxFONTFLAG_ITALIC
)); 
20256     PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)wxFONTFLAG_SLANT
)); 
20257     PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)wxFONTFLAG_LIGHT
)); 
20258     PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)wxFONTFLAG_BOLD
)); 
20259     PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_ANTIALIASED
)); 
20260     PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_NOT_ANTIALIASED
)); 
20261     PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)wxFONTFLAG_UNDERLINED
)); 
20262     PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)wxFONTFLAG_STRIKETHROUGH
)); 
20263     PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)wxFONTFLAG_MASK
)); 
20264     PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)wxFONTENCODING_SYSTEM
)); 
20265     PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)wxFONTENCODING_DEFAULT
)); 
20266     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)wxFONTENCODING_ISO8859_1
)); 
20267     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)wxFONTENCODING_ISO8859_2
)); 
20268     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)wxFONTENCODING_ISO8859_3
)); 
20269     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)wxFONTENCODING_ISO8859_4
)); 
20270     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)wxFONTENCODING_ISO8859_5
)); 
20271     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)wxFONTENCODING_ISO8859_6
)); 
20272     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)wxFONTENCODING_ISO8859_7
)); 
20273     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)wxFONTENCODING_ISO8859_8
)); 
20274     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)wxFONTENCODING_ISO8859_9
)); 
20275     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)wxFONTENCODING_ISO8859_10
)); 
20276     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)wxFONTENCODING_ISO8859_11
)); 
20277     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)wxFONTENCODING_ISO8859_12
)); 
20278     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)wxFONTENCODING_ISO8859_13
)); 
20279     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)wxFONTENCODING_ISO8859_14
)); 
20280     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)wxFONTENCODING_ISO8859_15
)); 
20281     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)wxFONTENCODING_ISO8859_MAX
)); 
20282     PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)wxFONTENCODING_KOI8
)); 
20283     PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)wxFONTENCODING_KOI8_U
)); 
20284     PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)wxFONTENCODING_ALTERNATIVE
)); 
20285     PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)wxFONTENCODING_BULGARIAN
)); 
20286     PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)wxFONTENCODING_CP437
)); 
20287     PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)wxFONTENCODING_CP850
)); 
20288     PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)wxFONTENCODING_CP852
)); 
20289     PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)wxFONTENCODING_CP855
)); 
20290     PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)wxFONTENCODING_CP866
)); 
20291     PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)wxFONTENCODING_CP874
)); 
20292     PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)wxFONTENCODING_CP932
)); 
20293     PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)wxFONTENCODING_CP936
)); 
20294     PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)wxFONTENCODING_CP949
)); 
20295     PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)wxFONTENCODING_CP950
)); 
20296     PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)wxFONTENCODING_CP1250
)); 
20297     PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)wxFONTENCODING_CP1251
)); 
20298     PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)wxFONTENCODING_CP1252
)); 
20299     PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)wxFONTENCODING_CP1253
)); 
20300     PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)wxFONTENCODING_CP1254
)); 
20301     PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)wxFONTENCODING_CP1255
)); 
20302     PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)wxFONTENCODING_CP1256
)); 
20303     PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)wxFONTENCODING_CP1257
)); 
20304     PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)wxFONTENCODING_CP12_MAX
)); 
20305     PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)wxFONTENCODING_UTF7
)); 
20306     PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)wxFONTENCODING_UTF8
)); 
20307     PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)wxFONTENCODING_EUC_JP
)); 
20308     PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)wxFONTENCODING_UTF16BE
)); 
20309     PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)wxFONTENCODING_UTF16LE
)); 
20310     PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)wxFONTENCODING_UTF32BE
)); 
20311     PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)wxFONTENCODING_UTF32LE
)); 
20312     PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)wxFONTENCODING_MACROMAN
)); 
20313     PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)wxFONTENCODING_MACJAPANESE
)); 
20314     PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)wxFONTENCODING_MACCHINESETRAD
)); 
20315     PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)wxFONTENCODING_MACKOREAN
)); 
20316     PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)wxFONTENCODING_MACARABIC
)); 
20317     PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)wxFONTENCODING_MACHEBREW
)); 
20318     PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)wxFONTENCODING_MACGREEK
)); 
20319     PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)wxFONTENCODING_MACCYRILLIC
)); 
20320     PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)wxFONTENCODING_MACDEVANAGARI
)); 
20321     PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)wxFONTENCODING_MACGURMUKHI
)); 
20322     PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)wxFONTENCODING_MACGUJARATI
)); 
20323     PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)wxFONTENCODING_MACORIYA
)); 
20324     PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)wxFONTENCODING_MACBENGALI
)); 
20325     PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)wxFONTENCODING_MACTAMIL
)); 
20326     PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)wxFONTENCODING_MACTELUGU
)); 
20327     PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)wxFONTENCODING_MACKANNADA
)); 
20328     PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)wxFONTENCODING_MACMALAJALAM
)); 
20329     PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)wxFONTENCODING_MACSINHALESE
)); 
20330     PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)wxFONTENCODING_MACBURMESE
)); 
20331     PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)wxFONTENCODING_MACKHMER
)); 
20332     PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)wxFONTENCODING_MACTHAI
)); 
20333     PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)wxFONTENCODING_MACLAOTIAN
)); 
20334     PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)wxFONTENCODING_MACGEORGIAN
)); 
20335     PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)wxFONTENCODING_MACARMENIAN
)); 
20336     PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)wxFONTENCODING_MACCHINESESIMP
)); 
20337     PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)wxFONTENCODING_MACTIBETAN
)); 
20338     PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)wxFONTENCODING_MACMONGOLIAN
)); 
20339     PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)wxFONTENCODING_MACETHIOPIC
)); 
20340     PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)wxFONTENCODING_MACCENTRALEUR
)); 
20341     PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)wxFONTENCODING_MACVIATNAMESE
)); 
20342     PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)wxFONTENCODING_MACARABICEXT
)); 
20343     PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)wxFONTENCODING_MACSYMBOL
)); 
20344     PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)wxFONTENCODING_MACDINGBATS
)); 
20345     PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)wxFONTENCODING_MACTURKISH
)); 
20346     PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)wxFONTENCODING_MACCROATIAN
)); 
20347     PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)wxFONTENCODING_MACICELANDIC
)); 
20348     PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)wxFONTENCODING_MACROMANIAN
)); 
20349     PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)wxFONTENCODING_MACCELTIC
)); 
20350     PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)wxFONTENCODING_MACGAELIC
)); 
20351     PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)wxFONTENCODING_MACKEYBOARD
)); 
20352     PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)wxFONTENCODING_MACMIN
)); 
20353     PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)wxFONTENCODING_MACMAX
)); 
20354     PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)wxFONTENCODING_MAX
)); 
20355     PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)wxFONTENCODING_UTF16
)); 
20356     PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)wxFONTENCODING_UTF32
)); 
20357     PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)wxFONTENCODING_UNICODE
)); 
20358     PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)wxFONTENCODING_GB2312
)); 
20359     PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)wxFONTENCODING_BIG5
)); 
20360     PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)wxFONTENCODING_SHIFT_JIS
)); 
20362     wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator"); 
20364     PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)wxLANGUAGE_DEFAULT
)); 
20365     PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)wxLANGUAGE_UNKNOWN
)); 
20366     PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)wxLANGUAGE_ABKHAZIAN
)); 
20367     PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)wxLANGUAGE_AFAR
)); 
20368     PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)wxLANGUAGE_AFRIKAANS
)); 
20369     PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)wxLANGUAGE_ALBANIAN
)); 
20370     PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)wxLANGUAGE_AMHARIC
)); 
20371     PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)wxLANGUAGE_ARABIC
)); 
20372     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_ALGERIA
)); 
20373     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)wxLANGUAGE_ARABIC_BAHRAIN
)); 
20374     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)wxLANGUAGE_ARABIC_EGYPT
)); 
20375     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)wxLANGUAGE_ARABIC_IRAQ
)); 
20376     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_JORDAN
)); 
20377     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)wxLANGUAGE_ARABIC_KUWAIT
)); 
20378     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)wxLANGUAGE_ARABIC_LEBANON
)); 
20379     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)wxLANGUAGE_ARABIC_LIBYA
)); 
20380     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)wxLANGUAGE_ARABIC_MOROCCO
)); 
20381     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_OMAN
)); 
20382     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)wxLANGUAGE_ARABIC_QATAR
)); 
20383     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
)); 
20384     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_SUDAN
)); 
20385     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SYRIA
)); 
20386     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_TUNISIA
)); 
20387     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)wxLANGUAGE_ARABIC_UAE
)); 
20388     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)wxLANGUAGE_ARABIC_YEMEN
)); 
20389     PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)wxLANGUAGE_ARMENIAN
)); 
20390     PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)wxLANGUAGE_ASSAMESE
)); 
20391     PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)wxLANGUAGE_AYMARA
)); 
20392     PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)wxLANGUAGE_AZERI
)); 
20393     PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_AZERI_CYRILLIC
)); 
20394     PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)wxLANGUAGE_AZERI_LATIN
)); 
20395     PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)wxLANGUAGE_BASHKIR
)); 
20396     PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)wxLANGUAGE_BASQUE
)); 
20397     PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)wxLANGUAGE_BELARUSIAN
)); 
20398     PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)wxLANGUAGE_BENGALI
)); 
20399     PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)wxLANGUAGE_BHUTANI
)); 
20400     PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)wxLANGUAGE_BIHARI
)); 
20401     PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)wxLANGUAGE_BISLAMA
)); 
20402     PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)wxLANGUAGE_BRETON
)); 
20403     PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)wxLANGUAGE_BULGARIAN
)); 
20404     PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)wxLANGUAGE_BURMESE
)); 
20405     PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)wxLANGUAGE_CAMBODIAN
)); 
20406     PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)wxLANGUAGE_CATALAN
)); 
20407     PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)wxLANGUAGE_CHINESE
)); 
20408     PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)wxLANGUAGE_CHINESE_SIMPLIFIED
)); 
20409     PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)wxLANGUAGE_CHINESE_TRADITIONAL
)); 
20410     PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)wxLANGUAGE_CHINESE_HONGKONG
)); 
20411     PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)wxLANGUAGE_CHINESE_MACAU
)); 
20412     PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)wxLANGUAGE_CHINESE_SINGAPORE
)); 
20413     PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)wxLANGUAGE_CHINESE_TAIWAN
)); 
20414     PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)wxLANGUAGE_CORSICAN
)); 
20415     PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)wxLANGUAGE_CROATIAN
)); 
20416     PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)wxLANGUAGE_CZECH
)); 
20417     PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)wxLANGUAGE_DANISH
)); 
20418     PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)wxLANGUAGE_DUTCH
)); 
20419     PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_DUTCH_BELGIAN
)); 
20420     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)wxLANGUAGE_ENGLISH
)); 
20421     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_UK
)); 
20422     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)wxLANGUAGE_ENGLISH_US
)); 
20423     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_AUSTRALIA
)); 
20424     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BELIZE
)); 
20425     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BOTSWANA
)); 
20426     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CANADA
)); 
20427     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CARIBBEAN
)); 
20428     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_DENMARK
)); 
20429     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_EIRE
)); 
20430     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_JAMAICA
)); 
20431     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
)); 
20432     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)wxLANGUAGE_ENGLISH_PHILIPPINES
)); 
20433     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)); 
20434     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)wxLANGUAGE_ENGLISH_TRINIDAD
)); 
20435     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_ZIMBABWE
)); 
20436     PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)wxLANGUAGE_ESPERANTO
)); 
20437     PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)wxLANGUAGE_ESTONIAN
)); 
20438     PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)wxLANGUAGE_FAEROESE
)); 
20439     PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)wxLANGUAGE_FARSI
)); 
20440     PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)wxLANGUAGE_FIJI
)); 
20441     PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)wxLANGUAGE_FINNISH
)); 
20442     PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)wxLANGUAGE_FRENCH
)); 
20443     PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_BELGIAN
)); 
20444     PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_CANADIAN
)); 
20445     PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_FRENCH_LUXEMBOURG
)); 
20446     PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)wxLANGUAGE_FRENCH_MONACO
)); 
20447     PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)wxLANGUAGE_FRENCH_SWISS
)); 
20448     PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)wxLANGUAGE_FRISIAN
)); 
20449     PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)wxLANGUAGE_GALICIAN
)); 
20450     PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)wxLANGUAGE_GEORGIAN
)); 
20451     PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)wxLANGUAGE_GERMAN
)); 
20452     PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)wxLANGUAGE_GERMAN_AUSTRIAN
)); 
20453     PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)wxLANGUAGE_GERMAN_BELGIUM
)); 
20454     PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
)); 
20455     PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_GERMAN_LUXEMBOURG
)); 
20456     PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)wxLANGUAGE_GERMAN_SWISS
)); 
20457     PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)wxLANGUAGE_GREEK
)); 
20458     PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)wxLANGUAGE_GREENLANDIC
)); 
20459     PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)wxLANGUAGE_GUARANI
)); 
20460     PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)wxLANGUAGE_GUJARATI
)); 
20461     PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)wxLANGUAGE_HAUSA
)); 
20462     PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)wxLANGUAGE_HEBREW
)); 
20463     PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)wxLANGUAGE_HINDI
)); 
20464     PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)wxLANGUAGE_HUNGARIAN
)); 
20465     PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)wxLANGUAGE_ICELANDIC
)); 
20466     PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)wxLANGUAGE_INDONESIAN
)); 
20467     PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)wxLANGUAGE_INTERLINGUA
)); 
20468     PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)wxLANGUAGE_INTERLINGUE
)); 
20469     PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)wxLANGUAGE_INUKTITUT
)); 
20470     PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)wxLANGUAGE_INUPIAK
)); 
20471     PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)wxLANGUAGE_IRISH
)); 
20472     PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)wxLANGUAGE_ITALIAN
)); 
20473     PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)wxLANGUAGE_ITALIAN_SWISS
)); 
20474     PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)wxLANGUAGE_JAPANESE
)); 
20475     PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)wxLANGUAGE_JAVANESE
)); 
20476     PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)wxLANGUAGE_KANNADA
)); 
20477     PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)wxLANGUAGE_KASHMIRI
)); 
20478     PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)wxLANGUAGE_KASHMIRI_INDIA
)); 
20479     PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)wxLANGUAGE_KAZAKH
)); 
20480     PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)wxLANGUAGE_KERNEWEK
)); 
20481     PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)wxLANGUAGE_KINYARWANDA
)); 
20482     PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)wxLANGUAGE_KIRGHIZ
)); 
20483     PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)wxLANGUAGE_KIRUNDI
)); 
20484     PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)wxLANGUAGE_KONKANI
)); 
20485     PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)wxLANGUAGE_KOREAN
)); 
20486     PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)wxLANGUAGE_KURDISH
)); 
20487     PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)wxLANGUAGE_LAOTHIAN
)); 
20488     PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)wxLANGUAGE_LATIN
)); 
20489     PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)wxLANGUAGE_LATVIAN
)); 
20490     PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)wxLANGUAGE_LINGALA
)); 
20491     PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)wxLANGUAGE_LITHUANIAN
)); 
20492     PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)wxLANGUAGE_MACEDONIAN
)); 
20493     PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)wxLANGUAGE_MALAGASY
)); 
20494     PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)wxLANGUAGE_MALAY
)); 
20495     PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)wxLANGUAGE_MALAYALAM
)); 
20496     PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)); 
20497     PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)wxLANGUAGE_MALAY_MALAYSIA
)); 
20498     PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)wxLANGUAGE_MALTESE
)); 
20499     PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)wxLANGUAGE_MANIPURI
)); 
20500     PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)wxLANGUAGE_MAORI
)); 
20501     PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)wxLANGUAGE_MARATHI
)); 
20502     PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)wxLANGUAGE_MOLDAVIAN
)); 
20503     PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)wxLANGUAGE_MONGOLIAN
)); 
20504     PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)wxLANGUAGE_NAURU
)); 
20505     PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)wxLANGUAGE_NEPALI
)); 
20506     PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)wxLANGUAGE_NEPALI_INDIA
)); 
20507     PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_BOKMAL
)); 
20508     PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_NYNORSK
)); 
20509     PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)wxLANGUAGE_OCCITAN
)); 
20510     PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)wxLANGUAGE_ORIYA
)); 
20511     PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)wxLANGUAGE_OROMO
)); 
20512     PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)wxLANGUAGE_PASHTO
)); 
20513     PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)wxLANGUAGE_POLISH
)); 
20514     PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE
)); 
20515     PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
)); 
20516     PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)wxLANGUAGE_PUNJABI
)); 
20517     PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)wxLANGUAGE_QUECHUA
)); 
20518     PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)wxLANGUAGE_RHAETO_ROMANCE
)); 
20519     PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)wxLANGUAGE_ROMANIAN
)); 
20520     PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)wxLANGUAGE_RUSSIAN
)); 
20521     PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)wxLANGUAGE_RUSSIAN_UKRAINE
)); 
20522     PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)wxLANGUAGE_SAMOAN
)); 
20523     PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)wxLANGUAGE_SANGHO
)); 
20524     PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)wxLANGUAGE_SANSKRIT
)); 
20525     PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)wxLANGUAGE_SCOTS_GAELIC
)); 
20526     PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)wxLANGUAGE_SERBIAN
)); 
20527     PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_SERBIAN_CYRILLIC
)); 
20528     PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)wxLANGUAGE_SERBIAN_LATIN
)); 
20529     PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)wxLANGUAGE_SERBO_CROATIAN
)); 
20530     PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)wxLANGUAGE_SESOTHO
)); 
20531     PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)wxLANGUAGE_SETSWANA
)); 
20532     PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)wxLANGUAGE_SHONA
)); 
20533     PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)wxLANGUAGE_SINDHI
)); 
20534     PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)wxLANGUAGE_SINHALESE
)); 
20535     PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)wxLANGUAGE_SISWATI
)); 
20536     PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)wxLANGUAGE_SLOVAK
)); 
20537     PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)wxLANGUAGE_SLOVENIAN
)); 
20538     PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)wxLANGUAGE_SOMALI
)); 
20539     PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)wxLANGUAGE_SPANISH
)); 
20540     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)wxLANGUAGE_SPANISH_ARGENTINA
)); 
20541     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_BOLIVIA
)); 
20542     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)wxLANGUAGE_SPANISH_CHILE
)); 
20543     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COLOMBIA
)); 
20544     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COSTA_RICA
)); 
20545     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)); 
20546     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_ECUADOR
)); 
20547     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_EL_SALVADOR
)); 
20548     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)wxLANGUAGE_SPANISH_GUATEMALA
)); 
20549     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)wxLANGUAGE_SPANISH_HONDURAS
)); 
20550     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MEXICAN
)); 
20551     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MODERN
)); 
20552     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)wxLANGUAGE_SPANISH_NICARAGUA
)); 
20553     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)wxLANGUAGE_SPANISH_PANAMA
)); 
20554     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_PARAGUAY
)); 
20555     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)wxLANGUAGE_SPANISH_PERU
)); 
20556     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)wxLANGUAGE_SPANISH_PUERTO_RICO
)); 
20557     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_URUGUAY
)); 
20558     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)wxLANGUAGE_SPANISH_US
)); 
20559     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)wxLANGUAGE_SPANISH_VENEZUELA
)); 
20560     PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)wxLANGUAGE_SUNDANESE
)); 
20561     PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)wxLANGUAGE_SWAHILI
)); 
20562     PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)wxLANGUAGE_SWEDISH
)); 
20563     PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)wxLANGUAGE_SWEDISH_FINLAND
)); 
20564     PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)wxLANGUAGE_TAGALOG
)); 
20565     PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)wxLANGUAGE_TAJIK
)); 
20566     PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)wxLANGUAGE_TAMIL
)); 
20567     PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)wxLANGUAGE_TATAR
)); 
20568     PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)wxLANGUAGE_TELUGU
)); 
20569     PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)wxLANGUAGE_THAI
)); 
20570     PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)wxLANGUAGE_TIBETAN
)); 
20571     PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)wxLANGUAGE_TIGRINYA
)); 
20572     PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)wxLANGUAGE_TONGA
)); 
20573     PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)wxLANGUAGE_TSONGA
)); 
20574     PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)wxLANGUAGE_TURKISH
)); 
20575     PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)wxLANGUAGE_TURKMEN
)); 
20576     PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)wxLANGUAGE_TWI
)); 
20577     PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)wxLANGUAGE_UIGHUR
)); 
20578     PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)wxLANGUAGE_UKRAINIAN
)); 
20579     PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)wxLANGUAGE_URDU
)); 
20580     PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)wxLANGUAGE_URDU_INDIA
)); 
20581     PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)wxLANGUAGE_URDU_PAKISTAN
)); 
20582     PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)wxLANGUAGE_UZBEK
)); 
20583     PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_UZBEK_CYRILLIC
)); 
20584     PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)wxLANGUAGE_UZBEK_LATIN
)); 
20585     PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)wxLANGUAGE_VIETNAMESE
)); 
20586     PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)wxLANGUAGE_VOLAPUK
)); 
20587     PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)wxLANGUAGE_WELSH
)); 
20588     PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)wxLANGUAGE_WOLOF
)); 
20589     PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)wxLANGUAGE_XHOSA
)); 
20590     PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)wxLANGUAGE_YIDDISH
)); 
20591     PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)wxLANGUAGE_YORUBA
)); 
20592     PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)wxLANGUAGE_ZHUANG
)); 
20593     PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)wxLANGUAGE_ZULU
)); 
20594     PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)wxLANGUAGE_USER_DEFINED
)); 
20595     PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)wxLOCALE_CAT_NUMBER
)); 
20596     PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)wxLOCALE_CAT_DATE
)); 
20597     PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)wxLOCALE_CAT_MONEY
)); 
20598     PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)wxLOCALE_CAT_MAX
)); 
20599     PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)wxLOCALE_THOUSANDS_SEP
)); 
20600     PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)wxLOCALE_DECIMAL_POINT
)); 
20601     PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)wxLOCALE_LOAD_DEFAULT
)); 
20602     PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)wxLOCALE_CONV_ENCODING
)); 
20603     PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)wxCONVERT_STRICT
)); 
20604     PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)wxCONVERT_SUBSTITUTE
)); 
20605     PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)wxPLATFORM_CURRENT
)); 
20606     PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)wxPLATFORM_UNIX
)); 
20607     PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)wxPLATFORM_WINDOWS
)); 
20608     PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)wxPLATFORM_OS2
)); 
20609     PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)wxPLATFORM_MAC
)); 
20610     PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)wxIMAGELIST_DRAW_NORMAL
)); 
20611     PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)wxIMAGELIST_DRAW_TRANSPARENT
)); 
20612     PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)wxIMAGELIST_DRAW_SELECTED
)); 
20613     PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)wxIMAGELIST_DRAW_FOCUSED
)); 
20614     PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)wxIMAGE_LIST_NORMAL
)); 
20615     PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)wxIMAGE_LIST_SMALL
)); 
20616     PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)wxIMAGE_LIST_STATE
)); 
20617     PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
); 
20618     SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
); 
20619     SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
); 
20620     SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
); 
20621     SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
); 
20622     SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
); 
20623     SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
); 
20624     SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
); 
20625     SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
); 
20626     SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
); 
20627     SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
); 
20628     SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
); 
20629     SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
); 
20630     SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
); 
20631     SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
); 
20632     SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
); 
20633     SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
); 
20634     SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
); 
20635     SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
); 
20636     SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
); 
20637     SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
); 
20638     SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
); 
20639     SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
); 
20640     SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
); 
20641     SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
); 
20642     SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
); 
20643     SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
); 
20644     SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
); 
20645     SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
); 
20646     SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
); 
20647     SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
); 
20648     SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
); 
20649     SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
); 
20650     SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
); 
20651     SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
); 
20652     SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
); 
20653     SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
); 
20654     SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
); 
20655     SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
); 
20656     SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
); 
20657     SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
); 
20658     SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
); 
20659     SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
); 
20660     SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
); 
20661     SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
); 
20662     SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
); 
20663     SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
); 
20665     // Work around a chicken/egg problem in drawlist.cpp 
20666     wxPyDrawList_SetAPIPtr();