1 /* ---------------------------------------------------------------------------- 
   2  * This file was automatically generated by SWIG (http://www.swig.org). 
   5  * This file is not intended to be easily readable and contains a number of  
   6  * coding conventions designed to improve portability and efficiency. Do not make 
   7  * changes to this file unless you know what you are doing--modify the SWIG  
   8  * interface file instead.  
   9  * ----------------------------------------------------------------------------- */ 
  12 #define SWIG_NOINCLUDE 
  15 template<class T
> class SwigValueWrapper 
{ 
  18     SwigValueWrapper() : tt(0) { } 
  19     SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { } 
  20     SwigValueWrapper(const T
& t
) : tt(new T(t
)) { } 
  21     ~SwigValueWrapper() { delete tt
; }  
  22     SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt 
= new T(t
); return *this; } 
  23     operator T
&() const { return *tt
; } 
  24     T 
*operator&() { return tt
; } 
  26     SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
); 
  33 /*************************************************************** -*- c -*- 
  34  * python/precommon.swg 
  36  * Rename all exported symbols from common.swg, to avoid symbol 
  37  * clashes if multiple interpreters are included 
  39  ************************************************************************/ 
  41 #define SWIG_TypeRegister    SWIG_Python_TypeRegister 
  42 #define SWIG_TypeCheck       SWIG_Python_TypeCheck 
  43 #define SWIG_TypeCast        SWIG_Python_TypeCast 
  44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast 
  45 #define SWIG_TypeName        SWIG_Python_TypeName 
  46 #define SWIG_TypePrettyName  SWIG_Python_TypePrettyName 
  47 #define SWIG_TypeQuery       SWIG_Python_TypeQuery 
  48 #define SWIG_TypeClientData  SWIG_Python_TypeClientData 
  49 #define SWIG_PackData        SWIG_Python_PackData  
  50 #define SWIG_UnpackData      SWIG_Python_UnpackData  
  53 /*********************************************************************** 
  54  * common.swg for wxPython 
  56  * Include only the function prototypes and such from SWIG's common.swg, 
  57  * but not the runtime functions themselves.  This helps keep the 
  58  * wrapper files clean of unnecessary stuff that is in the libpy.c file 
  61  ************************************************************************/ 
  65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
  66 #  if defined(_MSC_VER) || defined(__GNUC__) 
  67 #    if defined(STATIC_LINKED) 
  68 #      define SWIGEXPORT(a) a 
  69 #      define SWIGIMPORT(a) extern a 
  71 #      define SWIGEXPORT(a) __declspec(dllexport) a 
  72 #      define SWIGIMPORT(a) extern a 
  75 #    if defined(__BORLANDC__) 
  76 #      define SWIGEXPORT(a) a _export 
  77 #      define SWIGIMPORT(a) a _export 
  79 #      define SWIGEXPORT(a) a 
  80 #      define SWIGIMPORT(a) a 
  84 #  define SWIGEXPORT(a) a 
  85 #  define SWIGIMPORT(a) a 
  89 #  define SWIGRUNTIME(a) SWIGEXPORT(a) 
  91 #  define SWIGRUNTIME(a) static a 
  98 typedef void *(*swig_converter_func
)(void *); 
  99 typedef struct swig_type_info 
*(*swig_dycast_func
)(void **); 
 101 typedef struct swig_type_info 
{ 
 103   swig_converter_func     converter
; 
 106   swig_dycast_func        dcast
; 
 107   struct swig_type_info  
*next
; 
 108   struct swig_type_info  
*prev
; 
 112 SWIGIMPORT(swig_type_info 
*) SWIG_TypeRegister(swig_type_info 
*); 
 113 SWIGIMPORT(swig_type_info 
*) SWIG_TypeCheck(char *c
, swig_type_info 
*); 
 114 SWIGIMPORT(void *)           SWIG_TypeCast(swig_type_info 
*, void *); 
 115 SWIGIMPORT(swig_type_info 
*) SWIG_TypeDynamicCast(swig_type_info 
*, void **); 
 116 SWIGIMPORT(const char *)     SWIG_TypeName(const swig_type_info 
*); 
 117 SWIGIMPORT(const char *)     SWIG_TypePrettyName(const swig_type_info 
*); 
 118 SWIGIMPORT(swig_type_info 
*) SWIG_TypeQuery(const char *); 
 119 SWIGIMPORT(void)             SWIG_TypeClientData(swig_type_info 
*, void *); 
 120 SWIGIMPORT(char *)           SWIG_PackData(char *, void *, int); 
 121 SWIGIMPORT(char *)           SWIG_UnpackData(char *, void *, int); 
 129 /*********************************************************************** 
 130  * pyrun.swg for wxPython 
 132  * Include only the function prototypes and such from SWIG's pyrun.swg, 
 133  * but not the runtime functions themselves.  This helps keep the 
 134  * wrapper files clean of unnecessary stuff that is in the libpy.c file 
 137  ************************************************************************/ 
 143 #define SWIG_PY_INT     1 
 144 #define SWIG_PY_FLOAT   2 
 145 #define SWIG_PY_STRING  3 
 146 #define SWIG_PY_POINTER 4 
 147 #define SWIG_PY_BINARY  5 
 149 /* Flags for pointer conversion */ 
 151 #define SWIG_POINTER_EXCEPTION     0x1 
 152 #define SWIG_POINTER_DISOWN        0x2 
 154 /* Exception handling in wrappers */ 
 155 #define SWIG_fail   goto fail 
 157 /* Constant information structure */ 
 158 typedef struct swig_const_info 
{ 
 164     swig_type_info 
**ptype
; 
 167 /* Common SWIG API */ 
 168 #define SWIG_ConvertPtr(obj, pp, type, flags) \ 
 169   SWIG_Python_ConvertPtr(obj, pp, type, flags) 
 170 #define SWIG_NewPointerObj(p, type, flags) \ 
 171   SWIG_Python_NewPointerObj(p, type, flags) 
 172 #define SWIG_MustGetPtr(p, type, argnum, flags) \ 
 173   SWIG_Python_MustGetPtr(p, type, argnum, flags) 
 175 /* Python-specific SWIG API */ 
 176 #define SWIG_newvarlink() \ 
 177   SWIG_Python_newvarlink() 
 178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \ 
 179   SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
 180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ 
 181   SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) 
 182 #define SWIG_NewPackedObj(ptr, sz, type) \ 
 183   SWIG_Python_NewPackedObj(ptr, sz, type) 
 184 #define SWIG_InstallConstants(d, constants) \ 
 185   SWIG_Python_InstallConstants(d, constants) 
 187 typedef double (*py_objasdbl_conv
)(PyObject 
*obj
); 
 189 SWIGIMPORT(int)               SWIG_Python_ConvertPtr(PyObject 
*, void **, swig_type_info 
*, int); 
 190 SWIGIMPORT(PyObject 
*)        SWIG_Python_NewPointerObj(void *, swig_type_info 
*,int own
); 
 191 SWIGIMPORT(void *)            SWIG_Python_MustGetPtr(PyObject 
*, swig_type_info 
*, int, int); 
 192 SWIGIMPORT(PyObject 
*)        SWIG_Python_newvarlink(void); 
 193 SWIGIMPORT(void)              SWIG_Python_addvarlink(PyObject 
*, char *, PyObject 
*(*)(void), int (*)(PyObject 
*)); 
 194 SWIGIMPORT(int)               SWIG_Python_ConvertPacked(PyObject 
*, void *, int sz
, swig_type_info 
*, int); 
 195 SWIGIMPORT(PyObject 
*)        SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info 
*); 
 196 SWIGIMPORT(void)              SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]); 
 199 /* Contract support */ 
 201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else 
 209 /* -------- TYPES TABLE (BEGIN) -------- */ 
 211 #define  SWIGTYPE_p_wxPostScriptDC swig_types[0]  
 212 #define  SWIGTYPE_p_wxBrush swig_types[1]  
 213 #define  SWIGTYPE_p_wxColour swig_types[2]  
 214 #define  SWIGTYPE_p_wxDC swig_types[3]  
 215 #define  SWIGTYPE_p_wxMirrorDC swig_types[4]  
 216 #define  SWIGTYPE_p_byte swig_types[5]  
 217 #define  SWIGTYPE_p_wxPyFontEnumerator swig_types[6]  
 218 #define  SWIGTYPE_p_char swig_types[7]  
 219 #define  SWIGTYPE_p_wxIconLocation swig_types[8]  
 220 #define  SWIGTYPE_p_wxImage swig_types[9]  
 221 #define  SWIGTYPE_p_wxMetaFileDC swig_types[10]  
 222 #define  SWIGTYPE_p_wxMask swig_types[11]  
 223 #define  SWIGTYPE_p_wxSize swig_types[12]  
 224 #define  SWIGTYPE_p_wxFont swig_types[13]  
 225 #define  SWIGTYPE_p_wxWindow swig_types[14]  
 226 #define  SWIGTYPE_p_double swig_types[15]  
 227 #define  SWIGTYPE_p_wxMemoryDC swig_types[16]  
 228 #define  SWIGTYPE_p_wxFontMapper swig_types[17]  
 229 #define  SWIGTYPE_p_wxEffects swig_types[18]  
 230 #define  SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]  
 231 #define  SWIGTYPE_p_wxPalette swig_types[20]  
 232 #define  SWIGTYPE_p_wxBitmap swig_types[21]  
 233 #define  SWIGTYPE_p_wxObject swig_types[22]  
 234 #define  SWIGTYPE_p_wxRegionIterator swig_types[23]  
 235 #define  SWIGTYPE_p_wxRect swig_types[24]  
 236 #define  SWIGTYPE_p_wxString swig_types[25]  
 237 #define  SWIGTYPE_p_wxPrinterDC swig_types[26]  
 238 #define  SWIGTYPE_p_wxIconBundle swig_types[27]  
 239 #define  SWIGTYPE_p_wxPoint swig_types[28]  
 240 #define  SWIGTYPE_p_wxDash swig_types[29]  
 241 #define  SWIGTYPE_p_wxScreenDC swig_types[30]  
 242 #define  SWIGTYPE_p_wxCursor swig_types[31]  
 243 #define  SWIGTYPE_p_wxClientDC swig_types[32]  
 244 #define  SWIGTYPE_p_wxBufferedDC swig_types[33]  
 245 #define  SWIGTYPE_p_wxImageList swig_types[34]  
 246 #define  SWIGTYPE_p_unsigned_char swig_types[35]  
 247 #define  SWIGTYPE_p_wxGDIObject swig_types[36]  
 248 #define  SWIGTYPE_p_wxIcon swig_types[37]  
 249 #define  SWIGTYPE_p_wxLocale swig_types[38]  
 250 #define  SWIGTYPE_p_wxRegion swig_types[39]  
 251 #define  SWIGTYPE_p_wxLanguageInfo swig_types[40]  
 252 #define  SWIGTYPE_p_wxConfigBase swig_types[41]  
 253 #define  SWIGTYPE_p_wxWindowDC swig_types[42]  
 254 #define  SWIGTYPE_p_wxPrintData swig_types[43]  
 255 #define  SWIGTYPE_p_wxBrushList swig_types[44]  
 256 #define  SWIGTYPE_p_wxFontList swig_types[45]  
 257 #define  SWIGTYPE_p_wxPen swig_types[46]  
 258 #define  SWIGTYPE_p_wxBufferedPaintDC swig_types[47]  
 259 #define  SWIGTYPE_p_wxPaintDC swig_types[48]  
 260 #define  SWIGTYPE_p_wxPenList swig_types[49]  
 261 #define  SWIGTYPE_p_int swig_types[50]  
 262 #define  SWIGTYPE_p_wxMetaFile swig_types[51]  
 263 #define  SWIGTYPE_p_wxNativeFontInfo swig_types[52]  
 264 #define  SWIGTYPE_p_wxEncodingConverter swig_types[53]  
 265 #define  SWIGTYPE_p_wxColourDatabase swig_types[54]  
 266 static swig_type_info 
*swig_types
[56]; 
 268 /* -------- TYPES TABLE (END) -------- */ 
 271 /*----------------------------------------------- 
 273   ------------------------------------------------*/ 
 274 #define SWIG_init    init_gdi_ 
 276 #define SWIG_name    "_gdi_" 
 278 /* Auxiliar swig  macros that appear in the header */ 
 280 #define SWIG_OLDOBJ  1 
 281 #define SWIG_NEWOBJ  SWIG_OLDOBJ + 1 
 282 #define SWIG_PYSTR   SWIG_NEWOBJ + 1 
 285 #define SWIGSTATICINLINE(a) static inline a 
 286 #define SWIGSTATIC(a) static a 
 287 #define swig_new_array(size,Type) (new Type[(size)]) 
 288 #define swig_delete(cptr) delete cptr 
 289 #define swig_delete_array(cptr) delete[] cptr 
 290 #define swig_const_cast(a,Type) const_cast<Type >(a) 
 291 #define swig_static_cast(a,Type) static_cast<Type >(a) 
 292 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a) 
 293 #define swig_new_copy(ptr,Type) (new Type(*ptr)) 
 294 #define swig_numeric_cast(a,Type) static_cast<Type >(a) 
 298 #define SWIGSTATICINLINE(a) static a 
 299 #define SWIGSTATIC(a) static a 
 300 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type))) 
 301 #define swig_delete(cptr) free((char*)cptr) 
 302 #define swig_delete_array(cptr) free((char*)cptr) 
 303 #define swig_const_cast(a,Type) (Type)(a) 
 304 #define swig_static_cast(a,Type) (Type)(a) 
 305 #define swig_reinterpret_cast(a,Type) (Type)(a) 
 306 #define swig_numeric_cast(a,Type) (Type)(a) 
 307 #define swig_new_copy(ptr,Type)  ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type))) 
 309 #endif /* __cplusplus */ 
 312 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 313 #define SWIG_From_signed_SS_char PyInt_FromLong 
 315 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 316 #define SWIG_From_unsigned_SS_char PyInt_FromLong 
 318 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 319 #define SWIG_From_short PyInt_FromLong 
 321 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 322 #define SWIG_From_unsigned_SS_short PyInt_FromLong 
 324 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 325 #define SWIG_From_int PyInt_FromLong 
 327 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 328 #define SWIG_From_long PyInt_FromLong 
 330 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 331 #define SWIG_From_float PyFloat_FromDouble 
 333 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 334 #define SWIG_From_double PyFloat_FromDouble 
 338 #include "wx/wxPython/wxPython.h" 
 339 #include "wx/wxPython/pyclasses.h" 
 342  static const wxString 
wxPyEmptyString(wxEmptyString
);  
 347 SWIGSTATICINLINE(int) 
 348   SWIG_CheckLongInRange(long value
, long min_value
, long max_value
, 
 351   if (value 
< min_value
) { 
 353       PyErr_Format(PyExc_OverflowError
,  
 354                    "value %ld is less than '%s' minimum %ld",  
 355                    value
, errmsg
, min_value
); 
 358   } else if (value 
> max_value
) { 
 360       PyErr_Format(PyExc_OverflowError
, 
 361                    "value %ld is greater than '%s' maximum %ld",  
 362                    value
, errmsg
, max_value
); 
 370 // See my_fragments.i 
 371 SWIGSTATICINLINE(int) 
 372 SWIG_AsVal_long(PyObject
* obj
, long* val
) 
 374     if (PyNumber_Check(obj
)) { 
 375         if (val
) *val 
= PyInt_AsLong(obj
); 
 379         PyObject
* errmsg 
= PyString_FromFormat("Expected number, got %s", 
 380                                                obj
->ob_type
->tp_name
); 
 381         PyErr_SetObject(PyExc_TypeError
, errmsg
); 
 388 #if INT_MAX != LONG_MAX 
 389 SWIGSTATICINLINE(int) 
 390   SWIG_AsVal_int(PyObject 
*obj
, int *val
) 
 392   const char* errmsg 
= val 
? "int" : 0; 
 394   if (SWIG_AsVal_long(obj
, &v
)) { 
 395     if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) { 
 396       if (val
) *val 
= swig_numeric_cast(v
, int); 
 405     PyErr_SetString(PyExc_TypeError
, "an int is expected"); 
 410 SWIGSTATICINLINE(int) 
 411   SWIG_AsVal_int(PyObject 
*obj
, int *val
) 
 413   return SWIG_AsVal_long(obj
,(long*)val
); 
 418 SWIGSTATICINLINE(int) 
 419   SWIG_AsVal_bool(PyObject 
*obj
, bool *val
) 
 421   /*  if (val) *val = PyObject_IsTrue(obj); return 1; */ 
 422   if (obj 
== Py_True
) { 
 423     if (val
) *val 
= true; 
 426   if (obj 
== Py_False
) { 
 427     if (val
) *val 
= false; 
 431   if (SWIG_AsVal_int(obj
, &res
)) {     
 432     if (val
) *val 
= (bool)res
; 
 436     PyErr_SetString(PyExc_TypeError
, "a bool is expected"); 
 442 SWIGSTATICINLINE(bool) 
 443 SWIG_As_bool(PyObject
* obj
) 
 446   if (!SWIG_AsVal_bool(obj
, &v
)) { 
 448       this is needed to make valgrind/purify happier.  the other 
 449       solution is throw an exception, but since this code should work 
 452     memset((void*)&v
, 0, sizeof(bool)); 
 458 SWIGSTATICINLINE(int) 
 459 SWIG_Check_bool(PyObject
* obj
) 
 461   return SWIG_AsVal_bool(obj
, (bool*)0); 
 465 // See my_fragments.i 
 466 SWIGSTATICINLINE(int) 
 467 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
) 
 470     if (SWIG_AsVal_long(obj
, &v
) && v 
< 0) { 
 471         PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type"); 
 475         *val 
= (unsigned long)v
; 
 480 SWIGSTATICINLINE(int) 
 481   SWIG_CheckUnsignedLongInRange(unsigned long value
, 
 482                                 unsigned long max_value
, 
 485   if (value 
> max_value
) { 
 487       PyErr_Format(PyExc_OverflowError
, 
 488                    "value %ld is greater than '%s' minimum %ld", 
 489                    value
, errmsg
, max_value
); 
 497 SWIGSTATICINLINE(int) 
 498   SWIG_AsVal_unsigned_SS_char(PyObject 
*obj
, unsigned char *val
) 
 500   const char* errmsg 
= val 
? "unsigned char" : 0; 
 502   if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) { 
 503     if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) { 
 504       if (val
) *val 
= swig_numeric_cast(v
, unsigned char); 
 513     PyErr_SetString(PyExc_TypeError
, "an unsigned char is expected"); 
 519 SWIGSTATICINLINE(unsigned char) 
 520 SWIG_As_unsigned_SS_char(PyObject
* obj
) 
 523   if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) { 
 525       this is needed to make valgrind/purify happier.  the other 
 526       solution is throw an exception, but since this code should work 
 529     memset((void*)&v
, 0, sizeof(unsigned char)); 
 535 SWIGSTATICINLINE(int) 
 536 SWIG_Check_unsigned_SS_char(PyObject
* obj
) 
 538   return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0); 
 542 SWIGSTATICINLINE(unsigned long) 
 543 SWIG_As_unsigned_SS_long(PyObject
* obj
) 
 546   if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) { 
 548       this is needed to make valgrind/purify happier.  the other 
 549       solution is throw an exception, but since this code should work 
 552     memset((void*)&v
, 0, sizeof(unsigned long)); 
 558 SWIGSTATICINLINE(int) 
 559 SWIG_Check_unsigned_SS_long(PyObject
* obj
) 
 561   return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0); 
 564 PyObject 
*wxColour_Get(wxColour 
*self
){ 
 565             PyObject
* rv 
= PyTuple_New(3); 
 571                 green 
= self
->Green(); 
 574             PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
)); 
 575             PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
)); 
 576             PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
)); 
 579 unsigned long wxColour_GetRGB(wxColour 
*self
){ 
 580             return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16); 
 583 SWIGSTATICINLINE(PyObject
* ) 
 584   SWIG_From_unsigned_SS_long(unsigned long value
) 
 586   return (value 
> LONG_MAX
) ? 
 587     PyLong_FromUnsignedLong(value
)  
 588     : PyInt_FromLong(swig_numeric_cast(value
,long));  
 592 SWIGSTATICINLINE(int) 
 593 SWIG_As_int(PyObject
* obj
) 
 596   if (!SWIG_AsVal_int(obj
, &v
)) { 
 598       this is needed to make valgrind/purify happier.  the other 
 599       solution is throw an exception, but since this code should work 
 602     memset((void*)&v
, 0, sizeof(int)); 
 608 SWIGSTATICINLINE(int) 
 609 SWIG_Check_int(PyObject
* obj
) 
 611   return SWIG_AsVal_int(obj
, (int*)0); 
 615   static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) { 
 621     } else if (target 
== Py_None
) {   
 625         if (!PyTuple_Check(target
)) { 
 627             target 
= PyTuple_New(1); 
 628             PyTuple_SetItem(target
, 0, o2
); 
 631         PyTuple_SetItem(o3
, 0, o
);       
 634         target 
= PySequence_Concat(o2
, o3
);  
 642 PyObject 
*wxPen_GetDashes(wxPen 
*self
){ 
 644             int count 
= self
->GetDashes(&dashes
); 
 645             bool blocked 
= wxPyBeginBlockThreads(); 
 646             PyObject
* retval 
= PyList_New(0); 
 647             for (int x
=0; x
<count
; x
++) { 
 648                 PyObject
* pyint 
= PyInt_FromLong(dashes
[x
]); 
 649                 PyList_Append(retval
, pyint
); 
 652             wxPyEndBlockThreads(blocked
); 
 655 void wxPen__SetDashes(wxPen 
*self
,PyObject 
*_self
,PyObject 
*pyDashes
){ 
 656             bool blocked 
= wxPyBeginBlockThreads(); 
 657             int size 
= PyList_Size(pyDashes
); 
 658             wxDash
* dashes 
= (wxDash
*)byte_LIST_helper(pyDashes
); 
 660             // black magic warning!  The array of wxDashes needs to exist as 
 661             // long as the pen does because wxPen does not copy the array.  So 
 662             // stick a copy in a Python string object and attach it to _self, 
 663             // and then call SetDashes with a pointer to that array.  Then 
 664             // when the Python pen object is destroyed the array will be 
 666             PyObject
* strDashes 
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
)); 
 667             PyObject_SetAttrString(_self
, "_dashes", strDashes
); 
 669             self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
)); 
 671             Py_DECREF(strDashes
); 
 672             wxPyEndBlockThreads(blocked
); 
 674 bool wxPen___eq__(wxPen 
*self
,wxPen 
const *other
){ return other 
? (*self 
== *other
) : false; } 
 675 bool wxPen___ne__(wxPen 
*self
,wxPen 
const *other
){ return other 
? (*self 
!= *other
) : true;  } 
 677 #include <wx/image.h> 
 679     static char** ConvertListOfStrings(PyObject
* listOfStrings
) { 
 680         char**    cArray 
= NULL
; 
 683         if (!PyList_Check(listOfStrings
)) { 
 684             PyErr_SetString(PyExc_TypeError
, "Expected a list of strings."); 
 687         count 
= PyList_Size(listOfStrings
); 
 688         cArray 
= new char*[count
]; 
 690         for(int x
=0; x
<count
; x
++) { 
 691             // TODO: Need some validation and error checking here 
 692             cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
)); 
 698 wxBitmap 
*new_wxBitmap(PyObject 
*listOfStrings
){ 
 699             char**    cArray 
= NULL
; 
 702             cArray 
= ConvertListOfStrings(listOfStrings
); 
 705             bmp 
= new wxBitmap(cArray
); 
 709 wxBitmap 
*new_wxBitmap(PyObject 
*bits
,int width
,int height
,int depth
){ 
 712             PyString_AsStringAndSize(bits
, &buf
, &length
); 
 713             return new wxBitmap(buf
, width
, height
, depth
); 
 716 SWIGSTATICINLINE(long) 
 717 SWIG_As_long(PyObject
* obj
) 
 720   if (!SWIG_AsVal_long(obj
, &v
)) { 
 722       this is needed to make valgrind/purify happier.  the other 
 723       solution is throw an exception, but since this code should work 
 726     memset((void*)&v
, 0, sizeof(long)); 
 732 SWIGSTATICINLINE(int) 
 733 SWIG_Check_long(PyObject
* obj
) 
 735   return SWIG_AsVal_long(obj
, (long*)0); 
 738 void wxBitmap_SetHandle(wxBitmap 
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); } 
 739 wxSize 
wxBitmap_GetSize(wxBitmap 
*self
){ 
 740             wxSize 
size(self
->GetWidth(), self
->GetHeight()); 
 743 void wxBitmap_SetMaskColour(wxBitmap 
*self
,wxColour 
const &colour
){ 
 744             wxMask 
*mask 
= new wxMask(*self
, colour
); 
 747 void wxBitmap_SetSize(wxBitmap 
*self
,wxSize 
const &size
){ 
 748             self
->SetWidth(size
.x
); 
 749             self
->SetHeight(size
.y
); 
 751 bool wxBitmap___eq__(wxBitmap 
*self
,wxBitmap 
const *other
){ return other 
? (*self 
== *other
) : false; } 
 752 bool wxBitmap___ne__(wxBitmap 
*self
,wxBitmap 
const *other
){ return other 
? (*self 
!= *other
) : true;  } 
 753 wxMask 
*new_wxMask(wxBitmap 
const &bitmap
,wxColour 
const &colour
){ 
 755                 return new wxMask(bitmap
, *wxBLACK
); 
 757                 return new wxMask(bitmap
, colour
); 
 760 #include <wx/iconbndl.h> 
 762 wxIcon 
*new_wxIcon(wxBitmap 
const &bmp
){ 
 763             wxIcon
* icon 
= new wxIcon(); 
 764             icon
->CopyFromBitmap(bmp
); 
 767 wxIcon 
*new_wxIcon(PyObject 
*listOfStrings
){ 
 768             char**  cArray 
= NULL
; 
 771             cArray 
= ConvertListOfStrings(listOfStrings
); 
 774             icon 
= new wxIcon(cArray
); 
 778 void wxIcon_SetHandle(wxIcon 
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); } 
 779 wxIconLocation 
*new_wxIconLocation(wxString 
const *filename
,int num
){ 
 781             return new wxIconLocation(*filename
, num
); 
 786 void wxIconLocation_SetIndex(wxIconLocation 
*self
,int num
){ 
 793 int wxIconLocation_GetIndex(wxIconLocation 
*self
){ 
 795             return self
->GetIndex(); 
 800 wxCursor 
*new_wxCursor(wxString 
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){ 
 802             wxCHECK_MSG(false, NULL
, 
 803                         wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead.")); 
 805             return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
); 
 808 void wxCursor_SetHandle(wxCursor 
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); } 
 811 void wxRegionIterator_Next(wxRegionIterator 
*self
){ 
 814 bool wxRegionIterator___nonzero__(wxRegionIterator 
*self
){ 
 815             return self
->operator bool(); 
 818 #include <wx/fontutil.h> 
 819 #include <wx/fontmap.h> 
 820 #include <wx/fontenum.h> 
 822 wxString 
wxNativeFontInfo___str__(wxNativeFontInfo 
*self
){ 
 823             return self
->ToString(); 
 826     wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) 
 827         { wxPyRaiseNotImplemented(); return NULL
; } 
 829     bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
) 
 830         { wxPyRaiseNotImplemented(); return false; } 
 832 PyObject 
*wxFontMapper_GetAltForEncoding(wxFontMapper 
*self
,wxFontEncoding encoding
,wxString 
const &facename
,bool interactive
){ 
 833             wxFontEncoding alt_enc
; 
 834             if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
)) 
 835                 return PyInt_FromLong(alt_enc
); 
 841 wxFont 
*new_wxFont(wxString 
const &info
){ 
 842             wxNativeFontInfo nfi
; 
 843             nfi
.FromString(info
); 
 844             return new wxFont(nfi
); 
 846 wxFont 
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString 
const &face
,wxFontEncoding encoding
){ 
 847             return wxFont::New(pointSize
, family
, flags
, face
, encoding
); 
 849 wxFont 
*new_wxFont(wxSize 
const &pixelSize
,int family
,int style
,int weight
,bool underlined
,wxString 
const &face
,wxFontEncoding encoding
){ 
 850             return wxFontBase::New(pixelSize
, family
, 
 851                                    style
, weight
, underlined
, 
 854 bool wxFont___eq__(wxFont 
*self
,wxFont 
const *other
){ return other 
? (*self 
== *other
) : false; } 
 855 bool wxFont___ne__(wxFont 
*self
,wxFont 
const *other
){ return other 
? (*self 
!= *other
) : true;  } 
 857 class wxPyFontEnumerator 
: public wxFontEnumerator 
{ 
 859     wxPyFontEnumerator() {} 
 860     ~wxPyFontEnumerator() {} 
 862     DEC_PYCALLBACK_BOOL_STRING(OnFacename
); 
 863     DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
); 
 868 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
); 
 869 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
); 
 872 PyObject 
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator 
*self
){ 
 873             wxArrayString
* arr 
= self
->GetEncodings(); 
 875                 return wxArrayString2PyList_helper(*arr
); 
 877                 return PyList_New(0); 
 879 PyObject 
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator 
*self
){ 
 880             wxArrayString
* arr 
= self
->GetFacenames(); 
 882                 return wxArrayString2PyList_helper(*arr
); 
 884                 return PyList_New(0); 
 889 wxLocale 
*new_wxLocale(int language
,int flags
){ 
 892                 loc 
= new wxLocale(); 
 894                 loc 
= new wxLocale(language
, flags
); 
 895             // Python before 2.4 needs to have LC_NUMERIC set to "C" in order 
 896             // for the floating point conversions and such to work right. 
 897 #if PY_VERSION_HEX < 0x02040000 
 898             setlocale(LC_NUMERIC
, "C"); 
 902 bool wxLocale_Init1(wxLocale 
*self
,wxString 
const &szName
,wxString 
const &szShort
,wxString 
const &szLocale
,bool bLoadDefault
,bool bConvertEncoding
){ 
 903             bool rc 
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
); 
 904             // Python before 2.4 needs to have LC_NUMERIC set to "C" in order 
 905             // for the floating point conversions and such to work right. 
 906 #if PY_VERSION_HEX < 0x02040000 
 907             setlocale(LC_NUMERIC
, "C"); 
 911 bool wxLocale_Init2(wxLocale 
*self
,int language
,int flags
){ 
 912             bool rc 
= self
->Init(language
, flags
); 
 913             // Python before 2.4 needs to have LC_NUMERIC set to "C" in order 
 914             // for the floating point conversions and such to work right. 
 915 #if PY_VERSION_HEX < 0x02040000 
 916             setlocale(LC_NUMERIC
, "C"); 
 921 #include "wx/wxPython/pydrawxxx.h" 
 923 wxColour 
wxDC_GetPixel(wxDC 
*self
,int x
,int y
){ 
 925             self
->GetPixel(x
, y
, &col
); 
 928 wxColour 
wxDC_GetPixelPoint(wxDC 
*self
,wxPoint 
const &pt
){ 
 930             self
->GetPixel(pt
, &col
); 
 934 // See my_fragments.i 
 935 SWIGSTATICINLINE(int) 
 936 SWIG_AsVal_double(PyObject 
*obj
, double* val
) 
 938     if (PyNumber_Check(obj
)) { 
 939         if (val
) *val 
= PyFloat_AsDouble(obj
); 
 943         PyObject
* errmsg 
= PyString_FromFormat("Expected number, got %s", 
 944                                                obj
->ob_type
->tp_name
); 
 945         PyErr_SetObject(PyExc_TypeError
, errmsg
); 
 952 SWIGSTATICINLINE(double) 
 953 SWIG_As_double(PyObject
* obj
) 
 956   if (!SWIG_AsVal_double(obj
, &v
)) { 
 958       this is needed to make valgrind/purify happier.  the other 
 959       solution is throw an exception, but since this code should work 
 962     memset((void*)&v
, 0, sizeof(double)); 
 968 SWIGSTATICINLINE(int) 
 969 SWIG_Check_double(PyObject
* obj
) 
 971   return SWIG_AsVal_double(obj
, (double*)0); 
 974 wxRect 
wxDC_DrawImageLabel(wxDC 
*self
,wxString 
const &text
,wxBitmap 
const &image
,wxRect 
const &rect
,int alignment
,int indexAccel
){ 
 976             self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
); 
 980 wxRect 
wxDC_GetClippingRect(wxDC 
*self
){ 
 982             self
->GetClippingBox(rect
); 
 985 wxArrayInt 
wxDC_GetPartialTextExtents(wxDC 
*self
,wxString 
const &text
){ 
 987             self
->GetPartialTextExtents(text
, widths
); 
 991 void wxDC_SetLogicalOriginPoint(wxDC 
*self
,wxPoint 
const &point
){ 
 992             self
->SetLogicalOrigin(point
.x
, point
.y
); 
 994 void wxDC_SetDeviceOriginPoint(wxDC 
*self
,wxPoint 
const &point
){ 
 995             self
->SetDeviceOrigin(point
.x
, point
.y
); 
 997 void wxDC_CalcBoundingBoxPoint(wxDC 
*self
,wxPoint 
const &point
){ 
 998             self
->CalcBoundingBox(point
.x
, point
.y
); 
1000 PyObject 
*wxDC__DrawPointList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
1001             return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
); 
1003 PyObject 
*wxDC__DrawLineList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
1004             return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
); 
1006 PyObject 
*wxDC__DrawRectangleList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
1007             return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
); 
1009 PyObject 
*wxDC__DrawEllipseList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
1010             return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
); 
1012 PyObject 
*wxDC__DrawPolygonList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
1013             return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
); 
1015 PyObject 
*wxDC__DrawTextList(wxDC 
*self
,PyObject 
*textList
,PyObject 
*pyPoints
,PyObject 
*foregroundList
,PyObject 
*backgroundList
){ 
1016             return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
); 
1019 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) { 
1027 #include <wx/dcbuffer.h> 
1030 #include <wx/dcps.h> 
1033 #include <wx/metafile.h> 
1037 void wxColourDatabase_Append(wxColourDatabase 
*self
,wxString 
const &name
,int red
,int green
,int blue
){ 
1038             self
->AddColour(name
, wxColour(red
, green
, blue
)); 
1041 #include <wx/effects.h> 
1046 static PyObject 
*_wrap_new_GDIObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1047     PyObject 
*resultobj
; 
1048     wxGDIObject 
*result
; 
1053     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
; 
1055         if (!wxPyCheckForApp()) SWIG_fail
; 
1056         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1057         result 
= (wxGDIObject 
*)new wxGDIObject(); 
1059         wxPyEndAllowThreads(__tstate
); 
1060         if (PyErr_Occurred()) SWIG_fail
; 
1062     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1); 
1069 static PyObject 
*_wrap_delete_GDIObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1070     PyObject 
*resultobj
; 
1071     wxGDIObject 
*arg1 
= (wxGDIObject 
*) 0 ; 
1072     PyObject 
* obj0 
= 0 ; 
1074         (char *) "self", NULL 
 
1077     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
; 
1078     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
, 
1079     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1081         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1084         wxPyEndAllowThreads(__tstate
); 
1085         if (PyErr_Occurred()) SWIG_fail
; 
1087     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1094 static PyObject 
*_wrap_GDIObject_GetVisible(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1095     PyObject 
*resultobj
; 
1096     wxGDIObject 
*arg1 
= (wxGDIObject 
*) 0 ; 
1098     PyObject 
* obj0 
= 0 ; 
1100         (char *) "self", NULL 
 
1103     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
; 
1104     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
, 
1105     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1107         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1108         result 
= (bool)(arg1
)->GetVisible(); 
1110         wxPyEndAllowThreads(__tstate
); 
1111         if (PyErr_Occurred()) SWIG_fail
; 
1114         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1122 static PyObject 
*_wrap_GDIObject_SetVisible(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1123     PyObject 
*resultobj
; 
1124     wxGDIObject 
*arg1 
= (wxGDIObject 
*) 0 ; 
1126     PyObject 
* obj0 
= 0 ; 
1127     PyObject 
* obj1 
= 0 ; 
1129         (char *) "self",(char *) "visible", NULL 
 
1132     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
; 
1133     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
, 
1134     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1135     arg2 
= (bool)SWIG_As_bool(obj1
);  
1136     if (PyErr_Occurred()) SWIG_fail
; 
1138         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1139         (arg1
)->SetVisible(arg2
); 
1141         wxPyEndAllowThreads(__tstate
); 
1142         if (PyErr_Occurred()) SWIG_fail
; 
1144     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1151 static PyObject 
*_wrap_GDIObject_IsNull(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1152     PyObject 
*resultobj
; 
1153     wxGDIObject 
*arg1 
= (wxGDIObject 
*) 0 ; 
1155     PyObject 
* obj0 
= 0 ; 
1157         (char *) "self", NULL 
 
1160     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
; 
1161     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
, 
1162     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1164         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1165         result 
= (bool)(arg1
)->IsNull(); 
1167         wxPyEndAllowThreads(__tstate
); 
1168         if (PyErr_Occurred()) SWIG_fail
; 
1171         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1179 static PyObject 
* GDIObject_swigregister(PyObject 
*, PyObject 
*args
) { 
1181     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1182     SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
); 
1184     return Py_BuildValue((char *)""); 
1186 static PyObject 
*_wrap_new_Colour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1187     PyObject 
*resultobj
; 
1188     byte arg1 
= (byte
) 0 ; 
1189     byte arg2 
= (byte
) 0 ; 
1190     byte arg3 
= (byte
) 0 ; 
1192     PyObject 
* obj0 
= 0 ; 
1193     PyObject 
* obj1 
= 0 ; 
1194     PyObject 
* obj2 
= 0 ; 
1196         (char *) "red",(char *) "green",(char *) "blue", NULL 
 
1199     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
1201         arg1 
= (byte
)SWIG_As_unsigned_SS_char(obj0
);  
1202         if (PyErr_Occurred()) SWIG_fail
; 
1205         arg2 
= (byte
)SWIG_As_unsigned_SS_char(obj1
);  
1206         if (PyErr_Occurred()) SWIG_fail
; 
1209         arg3 
= (byte
)SWIG_As_unsigned_SS_char(obj2
);  
1210         if (PyErr_Occurred()) SWIG_fail
; 
1213         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1214         result 
= (wxColour 
*)new wxColour(arg1
,arg2
,arg3
); 
1216         wxPyEndAllowThreads(__tstate
); 
1217         if (PyErr_Occurred()) SWIG_fail
; 
1219     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1); 
1226 static PyObject 
*_wrap_new_NamedColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1227     PyObject 
*resultobj
; 
1228     wxString 
*arg1 
= 0 ; 
1230     bool temp1 
= false ; 
1231     PyObject 
* obj0 
= 0 ; 
1233         (char *) "colorName", NULL 
 
1236     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
; 
1238         arg1 
= wxString_in_helper(obj0
); 
1239         if (arg1 
== NULL
) SWIG_fail
; 
1243         if (!wxPyCheckForApp()) SWIG_fail
; 
1244         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1245         result 
= (wxColour 
*)new wxColour((wxString 
const &)*arg1
); 
1247         wxPyEndAllowThreads(__tstate
); 
1248         if (PyErr_Occurred()) SWIG_fail
; 
1250     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1); 
1265 static PyObject 
*_wrap_new_ColourRGB(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1266     PyObject 
*resultobj
; 
1267     unsigned long arg1 
; 
1269     PyObject 
* obj0 
= 0 ; 
1271         (char *) "colRGB", NULL 
 
1274     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
; 
1275     arg1 
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);  
1276     if (PyErr_Occurred()) SWIG_fail
; 
1278         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1279         result 
= (wxColour 
*)new wxColour(arg1
); 
1281         wxPyEndAllowThreads(__tstate
); 
1282         if (PyErr_Occurred()) SWIG_fail
; 
1284     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1); 
1291 static PyObject 
*_wrap_delete_Colour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1292     PyObject 
*resultobj
; 
1293     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1294     PyObject 
* obj0 
= 0 ; 
1296         (char *) "self", NULL 
 
1299     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
; 
1300     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1301     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1303         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1306         wxPyEndAllowThreads(__tstate
); 
1307         if (PyErr_Occurred()) SWIG_fail
; 
1309     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1316 static PyObject 
*_wrap_Colour_Red(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1317     PyObject 
*resultobj
; 
1318     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1320     PyObject 
* obj0 
= 0 ; 
1322         (char *) "self", NULL 
 
1325     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
; 
1326     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1327     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1329         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1330         result 
= (byte
)(arg1
)->Red(); 
1332         wxPyEndAllowThreads(__tstate
); 
1333         if (PyErr_Occurred()) SWIG_fail
; 
1335     resultobj 
= SWIG_From_unsigned_SS_char((unsigned char)result
); 
1342 static PyObject 
*_wrap_Colour_Green(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1343     PyObject 
*resultobj
; 
1344     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1346     PyObject 
* obj0 
= 0 ; 
1348         (char *) "self", NULL 
 
1351     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
; 
1352     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1353     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1355         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1356         result 
= (byte
)(arg1
)->Green(); 
1358         wxPyEndAllowThreads(__tstate
); 
1359         if (PyErr_Occurred()) SWIG_fail
; 
1361     resultobj 
= SWIG_From_unsigned_SS_char((unsigned char)result
); 
1368 static PyObject 
*_wrap_Colour_Blue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1369     PyObject 
*resultobj
; 
1370     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1372     PyObject 
* obj0 
= 0 ; 
1374         (char *) "self", NULL 
 
1377     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
; 
1378     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1379     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1381         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1382         result 
= (byte
)(arg1
)->Blue(); 
1384         wxPyEndAllowThreads(__tstate
); 
1385         if (PyErr_Occurred()) SWIG_fail
; 
1387     resultobj 
= SWIG_From_unsigned_SS_char((unsigned char)result
); 
1394 static PyObject 
*_wrap_Colour_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1395     PyObject 
*resultobj
; 
1396     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1398     PyObject 
* obj0 
= 0 ; 
1400         (char *) "self", NULL 
 
1403     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
; 
1404     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1405     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1407         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1408         result 
= (bool)(arg1
)->Ok(); 
1410         wxPyEndAllowThreads(__tstate
); 
1411         if (PyErr_Occurred()) SWIG_fail
; 
1414         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1422 static PyObject 
*_wrap_Colour_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1423     PyObject 
*resultobj
; 
1424     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1428     PyObject 
* obj0 
= 0 ; 
1429     PyObject 
* obj1 
= 0 ; 
1430     PyObject 
* obj2 
= 0 ; 
1431     PyObject 
* obj3 
= 0 ; 
1433         (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
1436     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
1437     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1438     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1439     arg2 
= (byte
)SWIG_As_unsigned_SS_char(obj1
);  
1440     if (PyErr_Occurred()) SWIG_fail
; 
1441     arg3 
= (byte
)SWIG_As_unsigned_SS_char(obj2
);  
1442     if (PyErr_Occurred()) SWIG_fail
; 
1443     arg4 
= (byte
)SWIG_As_unsigned_SS_char(obj3
);  
1444     if (PyErr_Occurred()) SWIG_fail
; 
1446         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1447         (arg1
)->Set(arg2
,arg3
,arg4
); 
1449         wxPyEndAllowThreads(__tstate
); 
1450         if (PyErr_Occurred()) SWIG_fail
; 
1452     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1459 static PyObject 
*_wrap_Colour_SetRGB(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1460     PyObject 
*resultobj
; 
1461     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1462     unsigned long arg2 
; 
1463     PyObject 
* obj0 
= 0 ; 
1464     PyObject 
* obj1 
= 0 ; 
1466         (char *) "self",(char *) "colRGB", NULL 
 
1469     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
; 
1470     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1471     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1472     arg2 
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);  
1473     if (PyErr_Occurred()) SWIG_fail
; 
1475         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1478         wxPyEndAllowThreads(__tstate
); 
1479         if (PyErr_Occurred()) SWIG_fail
; 
1481     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1488 static PyObject 
*_wrap_Colour_SetFromName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1489     PyObject 
*resultobj
; 
1490     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1491     wxString 
*arg2 
= 0 ; 
1492     bool temp2 
= false ; 
1493     PyObject 
* obj0 
= 0 ; 
1494     PyObject 
* obj1 
= 0 ; 
1496         (char *) "self",(char *) "colourName", NULL 
 
1499     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
; 
1500     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1501     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1503         arg2 
= wxString_in_helper(obj1
); 
1504         if (arg2 
== NULL
) SWIG_fail
; 
1508         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1509         (arg1
)->InitFromName((wxString 
const &)*arg2
); 
1511         wxPyEndAllowThreads(__tstate
); 
1512         if (PyErr_Occurred()) SWIG_fail
; 
1514     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1529 static PyObject 
*_wrap_Colour_GetPixel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1530     PyObject 
*resultobj
; 
1531     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1533     PyObject 
* obj0 
= 0 ; 
1535         (char *) "self", NULL 
 
1538     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
; 
1539     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1540     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1542         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1543         result 
= (long)((wxColour 
const *)arg1
)->GetPixel(); 
1545         wxPyEndAllowThreads(__tstate
); 
1546         if (PyErr_Occurred()) SWIG_fail
; 
1548     resultobj 
= SWIG_From_long((long)result
); 
1555 static PyObject 
*_wrap_Colour___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1556     PyObject 
*resultobj
; 
1557     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1558     wxColour 
*arg2 
= 0 ; 
1561     PyObject 
* obj0 
= 0 ; 
1562     PyObject 
* obj1 
= 0 ; 
1564         (char *) "self",(char *) "colour", NULL 
 
1567     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
1568     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1569     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1572         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
1575         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1576         result 
= (bool)((wxColour 
const *)arg1
)->operator ==((wxColour 
const &)*arg2
); 
1578         wxPyEndAllowThreads(__tstate
); 
1579         if (PyErr_Occurred()) SWIG_fail
; 
1582         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1590 static PyObject 
*_wrap_Colour___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1591     PyObject 
*resultobj
; 
1592     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1593     wxColour 
*arg2 
= 0 ; 
1596     PyObject 
* obj0 
= 0 ; 
1597     PyObject 
* obj1 
= 0 ; 
1599         (char *) "self",(char *) "colour", NULL 
 
1602     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
1603     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1604     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1607         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
1610         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1611         result 
= (bool)((wxColour 
const *)arg1
)->operator !=((wxColour 
const &)*arg2
); 
1613         wxPyEndAllowThreads(__tstate
); 
1614         if (PyErr_Occurred()) SWIG_fail
; 
1617         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1625 static PyObject 
*_wrap_Colour_Get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1626     PyObject 
*resultobj
; 
1627     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1629     PyObject 
* obj0 
= 0 ; 
1631         (char *) "self", NULL 
 
1634     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
; 
1635     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1636     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1638         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1639         result 
= (PyObject 
*)wxColour_Get(arg1
); 
1641         wxPyEndAllowThreads(__tstate
); 
1642         if (PyErr_Occurred()) SWIG_fail
; 
1651 static PyObject 
*_wrap_Colour_GetRGB(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1652     PyObject 
*resultobj
; 
1653     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1654     unsigned long result
; 
1655     PyObject 
* obj0 
= 0 ; 
1657         (char *) "self", NULL 
 
1660     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
; 
1661     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1662     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1664         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1665         result 
= (unsigned long)wxColour_GetRGB(arg1
); 
1667         wxPyEndAllowThreads(__tstate
); 
1668         if (PyErr_Occurred()) SWIG_fail
; 
1670     resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)result
); 
1677 static PyObject 
* Colour_swigregister(PyObject 
*, PyObject 
*args
) { 
1679     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1680     SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
); 
1682     return Py_BuildValue((char *)""); 
1684 static PyObject 
*_wrap_new_Palette(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1685     PyObject 
*resultobj
; 
1687     unsigned char *arg2 
= (unsigned char *) 0 ; 
1688     unsigned char *arg3 
= (unsigned char *) 0 ; 
1689     unsigned char *arg4 
= (unsigned char *) 0 ; 
1691     PyObject 
* obj0 
= 0 ; 
1692     PyObject 
* obj1 
= 0 ; 
1693     PyObject 
* obj2 
= 0 ; 
1694     PyObject 
* obj3 
= 0 ; 
1696         (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
1699     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
1700     arg1 
= (int)SWIG_As_int(obj0
);  
1701     if (PyErr_Occurred()) SWIG_fail
; 
1702     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
, 
1703     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1704     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
, 
1705     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1706     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
, 
1707     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1709         if (!wxPyCheckForApp()) SWIG_fail
; 
1710         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1711         result 
= (wxPalette 
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
); 
1713         wxPyEndAllowThreads(__tstate
); 
1714         if (PyErr_Occurred()) SWIG_fail
; 
1716     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1); 
1723 static PyObject 
*_wrap_delete_Palette(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1724     PyObject 
*resultobj
; 
1725     wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
1726     PyObject 
* obj0 
= 0 ; 
1728         (char *) "self", NULL 
 
1731     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
; 
1732     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
, 
1733     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1735         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1738         wxPyEndAllowThreads(__tstate
); 
1739         if (PyErr_Occurred()) SWIG_fail
; 
1741     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1748 static PyObject 
*_wrap_Palette_GetPixel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1749     PyObject 
*resultobj
; 
1750     wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
1755     PyObject 
* obj0 
= 0 ; 
1756     PyObject 
* obj1 
= 0 ; 
1757     PyObject 
* obj2 
= 0 ; 
1758     PyObject 
* obj3 
= 0 ; 
1760         (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
1763     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
1764     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
, 
1765     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1766     arg2 
= (byte
)SWIG_As_unsigned_SS_char(obj1
);  
1767     if (PyErr_Occurred()) SWIG_fail
; 
1768     arg3 
= (byte
)SWIG_As_unsigned_SS_char(obj2
);  
1769     if (PyErr_Occurred()) SWIG_fail
; 
1770     arg4 
= (byte
)SWIG_As_unsigned_SS_char(obj3
);  
1771     if (PyErr_Occurred()) SWIG_fail
; 
1773         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1774         result 
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
); 
1776         wxPyEndAllowThreads(__tstate
); 
1777         if (PyErr_Occurred()) SWIG_fail
; 
1779     resultobj 
= SWIG_From_int((int)result
); 
1786 static PyObject 
*_wrap_Palette_GetRGB(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1787     PyObject 
*resultobj
; 
1788     wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
1790     byte 
*arg3 
= (byte 
*) 0 ; 
1791     byte 
*arg4 
= (byte 
*) 0 ; 
1792     byte 
*arg5 
= (byte 
*) 0 ; 
1800     PyObject 
* obj0 
= 0 ; 
1801     PyObject 
* obj1 
= 0 ; 
1803         (char *) "self",(char *) "pixel", NULL 
 
1806     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
1807     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
1808     arg5 
= &temp5
; res5 
= SWIG_NEWOBJ
; 
1809     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
; 
1810     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
, 
1811     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1812     arg2 
= (int)SWIG_As_int(obj1
);  
1813     if (PyErr_Occurred()) SWIG_fail
; 
1815         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1816         result 
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
); 
1818         wxPyEndAllowThreads(__tstate
); 
1819         if (PyErr_Occurred()) SWIG_fail
; 
1822         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1824     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
1825     SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0))); 
1826     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
1827     SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0))); 
1828     resultobj 
= t_output_helper(resultobj
, ((res5 
== SWIG_NEWOBJ
) ? 
1829     SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_byte
, 0))); 
1836 static PyObject 
*_wrap_Palette_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1837     PyObject 
*resultobj
; 
1838     wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
1840     PyObject 
* obj0 
= 0 ; 
1842         (char *) "self", NULL 
 
1845     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
; 
1846     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
, 
1847     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1849         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1850         result 
= (bool)(arg1
)->Ok(); 
1852         wxPyEndAllowThreads(__tstate
); 
1853         if (PyErr_Occurred()) SWIG_fail
; 
1856         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1864 static PyObject 
* Palette_swigregister(PyObject 
*, PyObject 
*args
) { 
1866     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1867     SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
); 
1869     return Py_BuildValue((char *)""); 
1871 static PyObject 
*_wrap_new_Pen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1872     PyObject 
*resultobj
; 
1873     wxColour 
*arg1 
= 0 ; 
1874     int arg2 
= (int) 1 ; 
1875     int arg3 
= (int) wxSOLID 
; 
1878     PyObject 
* obj0 
= 0 ; 
1879     PyObject 
* obj1 
= 0 ; 
1880     PyObject 
* obj2 
= 0 ; 
1882         (char *) "colour",(char *) "width",(char *) "style", NULL 
 
1885     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
1888         if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
; 
1891         arg2 
= (int)SWIG_As_int(obj1
);  
1892         if (PyErr_Occurred()) SWIG_fail
; 
1895         arg3 
= (int)SWIG_As_int(obj2
);  
1896         if (PyErr_Occurred()) SWIG_fail
; 
1899         if (!wxPyCheckForApp()) SWIG_fail
; 
1900         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1901         result 
= (wxPen 
*)new wxPen(*arg1
,arg2
,arg3
); 
1903         wxPyEndAllowThreads(__tstate
); 
1904         if (PyErr_Occurred()) SWIG_fail
; 
1906     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1); 
1913 static PyObject 
*_wrap_delete_Pen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1914     PyObject 
*resultobj
; 
1915     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
1916     PyObject 
* obj0 
= 0 ; 
1918         (char *) "self", NULL 
 
1921     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
; 
1922     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
1923     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1925         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1928         wxPyEndAllowThreads(__tstate
); 
1929         if (PyErr_Occurred()) SWIG_fail
; 
1931     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1938 static PyObject 
*_wrap_Pen_GetCap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1939     PyObject 
*resultobj
; 
1940     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
1942     PyObject 
* obj0 
= 0 ; 
1944         (char *) "self", NULL 
 
1947     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
; 
1948     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
1949     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1951         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1952         result 
= (int)(arg1
)->GetCap(); 
1954         wxPyEndAllowThreads(__tstate
); 
1955         if (PyErr_Occurred()) SWIG_fail
; 
1957     resultobj 
= SWIG_From_int((int)result
); 
1964 static PyObject 
*_wrap_Pen_GetColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1965     PyObject 
*resultobj
; 
1966     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
1968     PyObject 
* obj0 
= 0 ; 
1970         (char *) "self", NULL 
 
1973     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
; 
1974     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
1975     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1977         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1978         result 
= (arg1
)->GetColour(); 
1980         wxPyEndAllowThreads(__tstate
); 
1981         if (PyErr_Occurred()) SWIG_fail
; 
1984         wxColour 
* resultptr
; 
1985         resultptr 
= new wxColour((wxColour 
&) result
); 
1986         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
1994 static PyObject 
*_wrap_Pen_GetJoin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1995     PyObject 
*resultobj
; 
1996     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
1998     PyObject 
* obj0 
= 0 ; 
2000         (char *) "self", NULL 
 
2003     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
; 
2004     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2005     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2007         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2008         result 
= (int)(arg1
)->GetJoin(); 
2010         wxPyEndAllowThreads(__tstate
); 
2011         if (PyErr_Occurred()) SWIG_fail
; 
2013     resultobj 
= SWIG_From_int((int)result
); 
2020 static PyObject 
*_wrap_Pen_GetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2021     PyObject 
*resultobj
; 
2022     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2024     PyObject 
* obj0 
= 0 ; 
2026         (char *) "self", NULL 
 
2029     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
; 
2030     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2031     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2033         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2034         result 
= (int)(arg1
)->GetStyle(); 
2036         wxPyEndAllowThreads(__tstate
); 
2037         if (PyErr_Occurred()) SWIG_fail
; 
2039     resultobj 
= SWIG_From_int((int)result
); 
2046 static PyObject 
*_wrap_Pen_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2047     PyObject 
*resultobj
; 
2048     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2050     PyObject 
* obj0 
= 0 ; 
2052         (char *) "self", NULL 
 
2055     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
; 
2056     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2057     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2059         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2060         result 
= (int)(arg1
)->GetWidth(); 
2062         wxPyEndAllowThreads(__tstate
); 
2063         if (PyErr_Occurred()) SWIG_fail
; 
2065     resultobj 
= SWIG_From_int((int)result
); 
2072 static PyObject 
*_wrap_Pen_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2073     PyObject 
*resultobj
; 
2074     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2076     PyObject 
* obj0 
= 0 ; 
2078         (char *) "self", NULL 
 
2081     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
; 
2082     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2083     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2085         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2086         result 
= (bool)(arg1
)->Ok(); 
2088         wxPyEndAllowThreads(__tstate
); 
2089         if (PyErr_Occurred()) SWIG_fail
; 
2092         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2100 static PyObject 
*_wrap_Pen_SetCap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2101     PyObject 
*resultobj
; 
2102     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2104     PyObject 
* obj0 
= 0 ; 
2105     PyObject 
* obj1 
= 0 ; 
2107         (char *) "self",(char *) "cap_style", NULL 
 
2110     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
; 
2111     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2112     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2113     arg2 
= (int)SWIG_As_int(obj1
);  
2114     if (PyErr_Occurred()) SWIG_fail
; 
2116         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2117         (arg1
)->SetCap(arg2
); 
2119         wxPyEndAllowThreads(__tstate
); 
2120         if (PyErr_Occurred()) SWIG_fail
; 
2122     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2129 static PyObject 
*_wrap_Pen_SetColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2130     PyObject 
*resultobj
; 
2131     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2132     wxColour 
*arg2 
= 0 ; 
2134     PyObject 
* obj0 
= 0 ; 
2135     PyObject 
* obj1 
= 0 ; 
2137         (char *) "self",(char *) "colour", NULL 
 
2140     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
2141     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2142     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2145         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
2148         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2149         (arg1
)->SetColour(*arg2
); 
2151         wxPyEndAllowThreads(__tstate
); 
2152         if (PyErr_Occurred()) SWIG_fail
; 
2154     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2161 static PyObject 
*_wrap_Pen_SetJoin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2162     PyObject 
*resultobj
; 
2163     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2165     PyObject 
* obj0 
= 0 ; 
2166     PyObject 
* obj1 
= 0 ; 
2168         (char *) "self",(char *) "join_style", NULL 
 
2171     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
; 
2172     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2173     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2174     arg2 
= (int)SWIG_As_int(obj1
);  
2175     if (PyErr_Occurred()) SWIG_fail
; 
2177         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2178         (arg1
)->SetJoin(arg2
); 
2180         wxPyEndAllowThreads(__tstate
); 
2181         if (PyErr_Occurred()) SWIG_fail
; 
2183     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2190 static PyObject 
*_wrap_Pen_SetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2191     PyObject 
*resultobj
; 
2192     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2194     PyObject 
* obj0 
= 0 ; 
2195     PyObject 
* obj1 
= 0 ; 
2197         (char *) "self",(char *) "style", NULL 
 
2200     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
2201     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2202     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2203     arg2 
= (int)SWIG_As_int(obj1
);  
2204     if (PyErr_Occurred()) SWIG_fail
; 
2206         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2207         (arg1
)->SetStyle(arg2
); 
2209         wxPyEndAllowThreads(__tstate
); 
2210         if (PyErr_Occurred()) SWIG_fail
; 
2212     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2219 static PyObject 
*_wrap_Pen_SetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2220     PyObject 
*resultobj
; 
2221     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2223     PyObject 
* obj0 
= 0 ; 
2224     PyObject 
* obj1 
= 0 ; 
2226         (char *) "self",(char *) "width", NULL 
 
2229     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
2230     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2231     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2232     arg2 
= (int)SWIG_As_int(obj1
);  
2233     if (PyErr_Occurred()) SWIG_fail
; 
2235         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2236         (arg1
)->SetWidth(arg2
); 
2238         wxPyEndAllowThreads(__tstate
); 
2239         if (PyErr_Occurred()) SWIG_fail
; 
2241     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2248 static PyObject 
*_wrap_Pen_SetDashes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2249     PyObject 
*resultobj
; 
2250     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2252     wxDash 
*arg3 
= (wxDash 
*) 0 ; 
2253     PyObject 
* obj0 
= 0 ; 
2254     PyObject 
* obj1 
= 0 ; 
2256         (char *) "self",(char *) "dashes", NULL 
 
2259     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
; 
2260     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2261     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2263         arg2 
= PyList_Size(obj1
); 
2264         arg3 
= (wxDash
*)byte_LIST_helper(obj1
); 
2265         if (arg3 
== NULL
) SWIG_fail
; 
2268         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2269         (arg1
)->SetDashes(arg2
,arg3
); 
2271         wxPyEndAllowThreads(__tstate
); 
2272         if (PyErr_Occurred()) SWIG_fail
; 
2274     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2276         if (arg3
) delete [] arg3
; 
2281         if (arg3
) delete [] arg3
; 
2287 static PyObject 
*_wrap_Pen_GetDashes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2288     PyObject 
*resultobj
; 
2289     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2291     PyObject 
* obj0 
= 0 ; 
2293         (char *) "self", NULL 
 
2296     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
; 
2297     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2298     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2300         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2301         result 
= (PyObject 
*)wxPen_GetDashes(arg1
); 
2303         wxPyEndAllowThreads(__tstate
); 
2304         if (PyErr_Occurred()) SWIG_fail
; 
2313 static PyObject 
*_wrap_Pen__SetDashes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2314     PyObject 
*resultobj
; 
2315     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2316     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
2317     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
2318     PyObject 
* obj0 
= 0 ; 
2319     PyObject 
* obj1 
= 0 ; 
2320     PyObject 
* obj2 
= 0 ; 
2322         (char *) "self",(char *) "_self",(char *) "pyDashes", NULL 
 
2325     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2326     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2327     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2331         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2332         wxPen__SetDashes(arg1
,arg2
,arg3
); 
2334         wxPyEndAllowThreads(__tstate
); 
2335         if (PyErr_Occurred()) SWIG_fail
; 
2337     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2344 static PyObject 
*_wrap_Pen_GetDashCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2345     PyObject 
*resultobj
; 
2346     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2348     PyObject 
* obj0 
= 0 ; 
2350         (char *) "self", NULL 
 
2353     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
; 
2354     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2355     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2357         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2358         result 
= (int)((wxPen 
const *)arg1
)->GetDashCount(); 
2360         wxPyEndAllowThreads(__tstate
); 
2361         if (PyErr_Occurred()) SWIG_fail
; 
2363     resultobj 
= SWIG_From_int((int)result
); 
2370 static PyObject 
*_wrap_Pen_GetStipple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2371     PyObject 
*resultobj
; 
2372     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2374     PyObject 
* obj0 
= 0 ; 
2376         (char *) "self", NULL 
 
2379     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStipple",kwnames
,&obj0
)) goto fail
; 
2380     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2381     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2383         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2384         result 
= (wxBitmap 
*)(arg1
)->GetStipple(); 
2386         wxPyEndAllowThreads(__tstate
); 
2387         if (PyErr_Occurred()) SWIG_fail
; 
2389     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0); 
2396 static PyObject 
*_wrap_Pen_SetStipple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2397     PyObject 
*resultobj
; 
2398     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2399     wxBitmap 
*arg2 
= 0 ; 
2400     PyObject 
* obj0 
= 0 ; 
2401     PyObject 
* obj1 
= 0 ; 
2403         (char *) "self",(char *) "stipple", NULL 
 
2406     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
; 
2407     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2408     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2409     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
2410     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
2413         PyErr_SetString(PyExc_TypeError
,"null reference"); 
2417         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2418         (arg1
)->SetStipple(*arg2
); 
2420         wxPyEndAllowThreads(__tstate
); 
2421         if (PyErr_Occurred()) SWIG_fail
; 
2423     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2430 static PyObject 
*_wrap_Pen___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2431     PyObject 
*resultobj
; 
2432     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2433     wxPen 
*arg2 
= (wxPen 
*) 0 ; 
2435     PyObject 
* obj0 
= 0 ; 
2436     PyObject 
* obj1 
= 0 ; 
2438         (char *) "self",(char *) "other", NULL 
 
2441     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
2442     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2443     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2444     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
, 
2445     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2447         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2448         result 
= (bool)wxPen___eq__(arg1
,(wxPen 
const *)arg2
); 
2450         wxPyEndAllowThreads(__tstate
); 
2451         if (PyErr_Occurred()) SWIG_fail
; 
2454         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2462 static PyObject 
*_wrap_Pen___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2463     PyObject 
*resultobj
; 
2464     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2465     wxPen 
*arg2 
= (wxPen 
*) 0 ; 
2467     PyObject 
* obj0 
= 0 ; 
2468     PyObject 
* obj1 
= 0 ; 
2470         (char *) "self",(char *) "other", NULL 
 
2473     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
2474     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2475     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2476     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
, 
2477     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2479         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2480         result 
= (bool)wxPen___ne__(arg1
,(wxPen 
const *)arg2
); 
2482         wxPyEndAllowThreads(__tstate
); 
2483         if (PyErr_Occurred()) SWIG_fail
; 
2486         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2494 static PyObject 
* Pen_swigregister(PyObject 
*, PyObject 
*args
) { 
2496     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2497     SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
); 
2499     return Py_BuildValue((char *)""); 
2501 static PyObject 
*_wrap_new_Brush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2502     PyObject 
*resultobj
; 
2503     wxColour 
*arg1 
= 0 ; 
2504     int arg2 
= (int) wxSOLID 
; 
2507     PyObject 
* obj0 
= 0 ; 
2508     PyObject 
* obj1 
= 0 ; 
2510         (char *) "colour",(char *) "style", NULL 
 
2513     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
; 
2516         if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
; 
2519         arg2 
= (int)SWIG_As_int(obj1
);  
2520         if (PyErr_Occurred()) SWIG_fail
; 
2523         if (!wxPyCheckForApp()) SWIG_fail
; 
2524         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2525         result 
= (wxBrush 
*)new wxBrush((wxColour 
const &)*arg1
,arg2
); 
2527         wxPyEndAllowThreads(__tstate
); 
2528         if (PyErr_Occurred()) SWIG_fail
; 
2530     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1); 
2537 static PyObject 
*_wrap_delete_Brush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2538     PyObject 
*resultobj
; 
2539     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
2540     PyObject 
* obj0 
= 0 ; 
2542         (char *) "self", NULL 
 
2545     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
; 
2546     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
, 
2547     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2549         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2552         wxPyEndAllowThreads(__tstate
); 
2553         if (PyErr_Occurred()) SWIG_fail
; 
2555     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2562 static PyObject 
*_wrap_Brush_SetColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2563     PyObject 
*resultobj
; 
2564     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
2565     wxColour 
*arg2 
= 0 ; 
2567     PyObject 
* obj0 
= 0 ; 
2568     PyObject 
* obj1 
= 0 ; 
2570         (char *) "self",(char *) "col", NULL 
 
2573     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
2574     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
, 
2575     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2578         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
2581         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2582         (arg1
)->SetColour((wxColour 
const &)*arg2
); 
2584         wxPyEndAllowThreads(__tstate
); 
2585         if (PyErr_Occurred()) SWIG_fail
; 
2587     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2594 static PyObject 
*_wrap_Brush_SetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2595     PyObject 
*resultobj
; 
2596     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
2598     PyObject 
* obj0 
= 0 ; 
2599     PyObject 
* obj1 
= 0 ; 
2601         (char *) "self",(char *) "style", NULL 
 
2604     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
2605     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
, 
2606     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2607     arg2 
= (int)SWIG_As_int(obj1
);  
2608     if (PyErr_Occurred()) SWIG_fail
; 
2610         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2611         (arg1
)->SetStyle(arg2
); 
2613         wxPyEndAllowThreads(__tstate
); 
2614         if (PyErr_Occurred()) SWIG_fail
; 
2616     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2623 static PyObject 
*_wrap_Brush_SetStipple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2624     PyObject 
*resultobj
; 
2625     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
2626     wxBitmap 
*arg2 
= 0 ; 
2627     PyObject 
* obj0 
= 0 ; 
2628     PyObject 
* obj1 
= 0 ; 
2630         (char *) "self",(char *) "stipple", NULL 
 
2633     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
; 
2634     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
, 
2635     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2636     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
2637     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
2640         PyErr_SetString(PyExc_TypeError
,"null reference"); 
2644         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2645         (arg1
)->SetStipple((wxBitmap 
const &)*arg2
); 
2647         wxPyEndAllowThreads(__tstate
); 
2648         if (PyErr_Occurred()) SWIG_fail
; 
2650     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2657 static PyObject 
*_wrap_Brush_GetColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2658     PyObject 
*resultobj
; 
2659     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
2661     PyObject 
* obj0 
= 0 ; 
2663         (char *) "self", NULL 
 
2666     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
; 
2667     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
, 
2668     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2670         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2671         result 
= ((wxBrush 
const *)arg1
)->GetColour(); 
2673         wxPyEndAllowThreads(__tstate
); 
2674         if (PyErr_Occurred()) SWIG_fail
; 
2677         wxColour 
* resultptr
; 
2678         resultptr 
= new wxColour((wxColour 
&) result
); 
2679         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
2687 static PyObject 
*_wrap_Brush_GetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2688     PyObject 
*resultobj
; 
2689     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
2691     PyObject 
* obj0 
= 0 ; 
2693         (char *) "self", NULL 
 
2696     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
; 
2697     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
, 
2698     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2700         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2701         result 
= (int)((wxBrush 
const *)arg1
)->GetStyle(); 
2703         wxPyEndAllowThreads(__tstate
); 
2704         if (PyErr_Occurred()) SWIG_fail
; 
2706     resultobj 
= SWIG_From_int((int)result
); 
2713 static PyObject 
*_wrap_Brush_GetStipple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2714     PyObject 
*resultobj
; 
2715     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
2717     PyObject 
* obj0 
= 0 ; 
2719         (char *) "self", NULL 
 
2722     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
; 
2723     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
, 
2724     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2726         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2727         result 
= (wxBitmap 
*)((wxBrush 
const *)arg1
)->GetStipple(); 
2729         wxPyEndAllowThreads(__tstate
); 
2730         if (PyErr_Occurred()) SWIG_fail
; 
2732     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0); 
2739 static PyObject 
*_wrap_Brush_IsHatch(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2740     PyObject 
*resultobj
; 
2741     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
2743     PyObject 
* obj0 
= 0 ; 
2745         (char *) "self", NULL 
 
2748     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_IsHatch",kwnames
,&obj0
)) goto fail
; 
2749     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
, 
2750     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2752         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2753         result 
= (bool)((wxBrush 
const *)arg1
)->IsHatch(); 
2755         wxPyEndAllowThreads(__tstate
); 
2756         if (PyErr_Occurred()) SWIG_fail
; 
2759         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2767 static PyObject 
*_wrap_Brush_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2768     PyObject 
*resultobj
; 
2769     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
2771     PyObject 
* obj0 
= 0 ; 
2773         (char *) "self", NULL 
 
2776     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
; 
2777     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
, 
2778     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2780         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2781         result 
= (bool)(arg1
)->Ok(); 
2783         wxPyEndAllowThreads(__tstate
); 
2784         if (PyErr_Occurred()) SWIG_fail
; 
2787         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2795 static PyObject 
* Brush_swigregister(PyObject 
*, PyObject 
*args
) { 
2797     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2798     SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
); 
2800     return Py_BuildValue((char *)""); 
2802 static PyObject 
*_wrap_new_Bitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2803     PyObject 
*resultobj
; 
2804     wxString 
*arg1 
= 0 ; 
2805     int arg2 
= (int) wxBITMAP_TYPE_ANY 
; 
2807     bool temp1 
= false ; 
2808     PyObject 
* obj0 
= 0 ; 
2809     PyObject 
* obj1 
= 0 ; 
2811         (char *) "name",(char *) "type", NULL 
 
2814     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
2816         arg1 
= wxString_in_helper(obj0
); 
2817         if (arg1 
== NULL
) SWIG_fail
; 
2821         arg2 
= (int)SWIG_As_int(obj1
);  
2822         if (PyErr_Occurred()) SWIG_fail
; 
2825         if (!wxPyCheckForApp()) SWIG_fail
; 
2826         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2827         result 
= (wxBitmap 
*)new wxBitmap((wxString 
const &)*arg1
,(wxBitmapType 
)arg2
); 
2829         wxPyEndAllowThreads(__tstate
); 
2830         if (PyErr_Occurred()) SWIG_fail
; 
2832     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
2847 static PyObject 
*_wrap_delete_Bitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2848     PyObject 
*resultobj
; 
2849     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
2850     PyObject 
* obj0 
= 0 ; 
2852         (char *) "self", NULL 
 
2855     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
; 
2856     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
2857     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2859         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2862         wxPyEndAllowThreads(__tstate
); 
2863         if (PyErr_Occurred()) SWIG_fail
; 
2865     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2872 static PyObject 
*_wrap_new_EmptyBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2873     PyObject 
*resultobj
; 
2876     int arg3 
= (int) -1 ; 
2878     PyObject 
* obj0 
= 0 ; 
2879     PyObject 
* obj1 
= 0 ; 
2880     PyObject 
* obj2 
= 0 ; 
2882         (char *) "width",(char *) "height",(char *) "depth", NULL 
 
2885     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2886     arg1 
= (int)SWIG_As_int(obj0
);  
2887     if (PyErr_Occurred()) SWIG_fail
; 
2888     arg2 
= (int)SWIG_As_int(obj1
);  
2889     if (PyErr_Occurred()) SWIG_fail
; 
2891         arg3 
= (int)SWIG_As_int(obj2
);  
2892         if (PyErr_Occurred()) SWIG_fail
; 
2895         if (!wxPyCheckForApp()) SWIG_fail
; 
2896         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2897         result 
= (wxBitmap 
*)new wxBitmap(arg1
,arg2
,arg3
); 
2899         wxPyEndAllowThreads(__tstate
); 
2900         if (PyErr_Occurred()) SWIG_fail
; 
2902     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
2909 static PyObject 
*_wrap_new_BitmapFromIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2910     PyObject 
*resultobj
; 
2913     PyObject 
* obj0 
= 0 ; 
2915         (char *) "icon", NULL 
 
2918     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
; 
2919     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
2920     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
2923         PyErr_SetString(PyExc_TypeError
,"null reference"); 
2927         if (!wxPyCheckForApp()) SWIG_fail
; 
2928         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2929         result 
= (wxBitmap 
*)new wxBitmap((wxIcon 
const &)*arg1
); 
2931         wxPyEndAllowThreads(__tstate
); 
2932         if (PyErr_Occurred()) SWIG_fail
; 
2934     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
2941 static PyObject 
*_wrap_new_BitmapFromImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2942     PyObject 
*resultobj
; 
2944     int arg2 
= (int) -1 ; 
2946     PyObject 
* obj0 
= 0 ; 
2947     PyObject 
* obj1 
= 0 ; 
2949         (char *) "image",(char *) "depth", NULL 
 
2952     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
; 
2953     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
, 
2954     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
2957         PyErr_SetString(PyExc_TypeError
,"null reference"); 
2961         arg2 
= (int)SWIG_As_int(obj1
);  
2962         if (PyErr_Occurred()) SWIG_fail
; 
2965         if (!wxPyCheckForApp()) SWIG_fail
; 
2966         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2967         result 
= (wxBitmap 
*)new wxBitmap((wxImage 
const &)*arg1
,arg2
); 
2969         wxPyEndAllowThreads(__tstate
); 
2970         if (PyErr_Occurred()) SWIG_fail
; 
2972     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
2979 static PyObject 
*_wrap_new_BitmapFromXPMData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2980     PyObject 
*resultobj
; 
2981     PyObject 
*arg1 
= (PyObject 
*) 0 ; 
2983     PyObject 
* obj0 
= 0 ; 
2985         (char *) "listOfStrings", NULL 
 
2988     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
; 
2991         if (!wxPyCheckForApp()) SWIG_fail
; 
2992         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2993         result 
= (wxBitmap 
*)new_wxBitmap(arg1
); 
2995         wxPyEndAllowThreads(__tstate
); 
2996         if (PyErr_Occurred()) SWIG_fail
; 
2998     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
3005 static PyObject 
*_wrap_new_BitmapFromBits(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3006     PyObject 
*resultobj
; 
3007     PyObject 
*arg1 
= (PyObject 
*) 0 ; 
3010     int arg4 
= (int) 1 ; 
3012     PyObject 
* obj0 
= 0 ; 
3013     PyObject 
* obj1 
= 0 ; 
3014     PyObject 
* obj2 
= 0 ; 
3015     PyObject 
* obj3 
= 0 ; 
3017         (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL 
 
3020     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
3022     arg2 
= (int)SWIG_As_int(obj1
);  
3023     if (PyErr_Occurred()) SWIG_fail
; 
3024     arg3 
= (int)SWIG_As_int(obj2
);  
3025     if (PyErr_Occurred()) SWIG_fail
; 
3027         arg4 
= (int)SWIG_As_int(obj3
);  
3028         if (PyErr_Occurred()) SWIG_fail
; 
3031         if (!wxPyCheckForApp()) SWIG_fail
; 
3032         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3033         result 
= (wxBitmap 
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
); 
3035         wxPyEndAllowThreads(__tstate
); 
3036         if (PyErr_Occurred()) SWIG_fail
; 
3038     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
3045 static PyObject 
*_wrap_Bitmap_GetHandle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3046     PyObject 
*resultobj
; 
3047     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3049     PyObject 
* obj0 
= 0 ; 
3051         (char *) "self", NULL 
 
3054     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHandle",kwnames
,&obj0
)) goto fail
; 
3055     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3056     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3058         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3059         result 
= (long)(arg1
)->GetHandle(); 
3061         wxPyEndAllowThreads(__tstate
); 
3062         if (PyErr_Occurred()) SWIG_fail
; 
3064     resultobj 
= SWIG_From_long((long)result
); 
3071 static PyObject 
*_wrap_Bitmap_SetHandle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3072     PyObject 
*resultobj
; 
3073     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3075     PyObject 
* obj0 
= 0 ; 
3076     PyObject 
* obj1 
= 0 ; 
3078         (char *) "self",(char *) "handle", NULL 
 
3081     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
; 
3082     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3083     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3084     arg2 
= (long)SWIG_As_long(obj1
);  
3085     if (PyErr_Occurred()) SWIG_fail
; 
3087         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3088         wxBitmap_SetHandle(arg1
,arg2
); 
3090         wxPyEndAllowThreads(__tstate
); 
3091         if (PyErr_Occurred()) SWIG_fail
; 
3093     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3100 static PyObject 
*_wrap_Bitmap_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3101     PyObject 
*resultobj
; 
3102     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3104     PyObject 
* obj0 
= 0 ; 
3106         (char *) "self", NULL 
 
3109     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
; 
3110     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3111     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3113         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3114         result 
= (bool)(arg1
)->Ok(); 
3116         wxPyEndAllowThreads(__tstate
); 
3117         if (PyErr_Occurred()) SWIG_fail
; 
3120         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3128 static PyObject 
*_wrap_Bitmap_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3129     PyObject 
*resultobj
; 
3130     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3132     PyObject 
* obj0 
= 0 ; 
3134         (char *) "self", NULL 
 
3137     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
; 
3138     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3139     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3141         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3142         result 
= (int)(arg1
)->GetWidth(); 
3144         wxPyEndAllowThreads(__tstate
); 
3145         if (PyErr_Occurred()) SWIG_fail
; 
3147     resultobj 
= SWIG_From_int((int)result
); 
3154 static PyObject 
*_wrap_Bitmap_GetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3155     PyObject 
*resultobj
; 
3156     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3158     PyObject 
* obj0 
= 0 ; 
3160         (char *) "self", NULL 
 
3163     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
; 
3164     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3165     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3167         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3168         result 
= (int)(arg1
)->GetHeight(); 
3170         wxPyEndAllowThreads(__tstate
); 
3171         if (PyErr_Occurred()) SWIG_fail
; 
3173     resultobj 
= SWIG_From_int((int)result
); 
3180 static PyObject 
*_wrap_Bitmap_GetDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3181     PyObject 
*resultobj
; 
3182     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3184     PyObject 
* obj0 
= 0 ; 
3186         (char *) "self", NULL 
 
3189     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
; 
3190     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3191     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3193         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3194         result 
= (int)(arg1
)->GetDepth(); 
3196         wxPyEndAllowThreads(__tstate
); 
3197         if (PyErr_Occurred()) SWIG_fail
; 
3199     resultobj 
= SWIG_From_int((int)result
); 
3206 static PyObject 
*_wrap_Bitmap_GetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3207     PyObject 
*resultobj
; 
3208     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3210     PyObject 
* obj0 
= 0 ; 
3212         (char *) "self", NULL 
 
3215     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
; 
3216     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3217     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3219         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3220         result 
= wxBitmap_GetSize(arg1
); 
3222         wxPyEndAllowThreads(__tstate
); 
3223         if (PyErr_Occurred()) SWIG_fail
; 
3227         resultptr 
= new wxSize((wxSize 
&) result
); 
3228         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
3236 static PyObject 
*_wrap_Bitmap_ConvertToImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3237     PyObject 
*resultobj
; 
3238     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3239     SwigValueWrapper
< wxImage 
> result
; 
3240     PyObject 
* obj0 
= 0 ; 
3242         (char *) "self", NULL 
 
3245     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
; 
3246     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3247     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3249         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3250         result 
= ((wxBitmap 
const *)arg1
)->ConvertToImage(); 
3252         wxPyEndAllowThreads(__tstate
); 
3253         if (PyErr_Occurred()) SWIG_fail
; 
3256         wxImage 
* resultptr
; 
3257         resultptr 
= new wxImage((wxImage 
&) result
); 
3258         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1); 
3266 static PyObject 
*_wrap_Bitmap_GetMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3267     PyObject 
*resultobj
; 
3268     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3270     PyObject 
* obj0 
= 0 ; 
3272         (char *) "self", NULL 
 
3275     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
; 
3276     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3277     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3279         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3280         result 
= (wxMask 
*)((wxBitmap 
const *)arg1
)->GetMask(); 
3282         wxPyEndAllowThreads(__tstate
); 
3283         if (PyErr_Occurred()) SWIG_fail
; 
3285     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0); 
3292 static PyObject 
*_wrap_Bitmap_SetMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3293     PyObject 
*resultobj
; 
3294     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3295     wxMask 
*arg2 
= (wxMask 
*) 0 ; 
3296     PyObject 
* obj0 
= 0 ; 
3297     PyObject 
* obj1 
= 0 ; 
3299         (char *) "self",(char *) "mask", NULL 
 
3302     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
; 
3303     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3304     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3305     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
, 
3306     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3308         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3309         (arg1
)->SetMask(arg2
); 
3311         wxPyEndAllowThreads(__tstate
); 
3312         if (PyErr_Occurred()) SWIG_fail
; 
3314     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3321 static PyObject 
*_wrap_Bitmap_SetMaskColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3322     PyObject 
*resultobj
; 
3323     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3324     wxColour 
*arg2 
= 0 ; 
3326     PyObject 
* obj0 
= 0 ; 
3327     PyObject 
* obj1 
= 0 ; 
3329         (char *) "self",(char *) "colour", NULL 
 
3332     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
3333     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3334     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3337         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3340         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3341         wxBitmap_SetMaskColour(arg1
,(wxColour 
const &)*arg2
); 
3343         wxPyEndAllowThreads(__tstate
); 
3344         if (PyErr_Occurred()) SWIG_fail
; 
3346     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3353 static PyObject 
*_wrap_Bitmap_GetSubBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3354     PyObject 
*resultobj
; 
3355     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3357     SwigValueWrapper
< wxBitmap 
> result
; 
3359     PyObject 
* obj0 
= 0 ; 
3360     PyObject 
* obj1 
= 0 ; 
3362         (char *) "self",(char *) "rect", NULL 
 
3365     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
3366     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3367     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3370         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
3373         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3374         result 
= ((wxBitmap 
const *)arg1
)->GetSubBitmap((wxRect 
const &)*arg2
); 
3376         wxPyEndAllowThreads(__tstate
); 
3377         if (PyErr_Occurred()) SWIG_fail
; 
3380         wxBitmap 
* resultptr
; 
3381         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
3382         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
3390 static PyObject 
*_wrap_Bitmap_SaveFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3391     PyObject 
*resultobj
; 
3392     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3393     wxString 
*arg2 
= 0 ; 
3395     wxPalette 
*arg4 
= (wxPalette 
*) NULL 
; 
3397     bool temp2 
= false ; 
3398     PyObject 
* obj0 
= 0 ; 
3399     PyObject 
* obj1 
= 0 ; 
3400     PyObject 
* obj2 
= 0 ; 
3401     PyObject 
* obj3 
= 0 ; 
3403         (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL 
 
3406     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
3407     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3408     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3410         arg2 
= wxString_in_helper(obj1
); 
3411         if (arg2 
== NULL
) SWIG_fail
; 
3414     arg3 
= (int)SWIG_As_int(obj2
);  
3415     if (PyErr_Occurred()) SWIG_fail
; 
3417         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
, 
3418         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3421         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3422         result 
= (bool)(arg1
)->SaveFile((wxString 
const &)*arg2
,(wxBitmapType 
)arg3
,arg4
); 
3424         wxPyEndAllowThreads(__tstate
); 
3425         if (PyErr_Occurred()) SWIG_fail
; 
3428         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3444 static PyObject 
*_wrap_Bitmap_LoadFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3445     PyObject 
*resultobj
; 
3446     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3447     wxString 
*arg2 
= 0 ; 
3450     bool temp2 
= false ; 
3451     PyObject 
* obj0 
= 0 ; 
3452     PyObject 
* obj1 
= 0 ; 
3453     PyObject 
* obj2 
= 0 ; 
3455         (char *) "self",(char *) "name",(char *) "type", NULL 
 
3458     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3459     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3460     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3462         arg2 
= wxString_in_helper(obj1
); 
3463         if (arg2 
== NULL
) SWIG_fail
; 
3466     arg3 
= (int)SWIG_As_int(obj2
);  
3467     if (PyErr_Occurred()) SWIG_fail
; 
3469         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3470         result 
= (bool)(arg1
)->LoadFile((wxString 
const &)*arg2
,(wxBitmapType 
)arg3
); 
3472         wxPyEndAllowThreads(__tstate
); 
3473         if (PyErr_Occurred()) SWIG_fail
; 
3476         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3492 static PyObject 
*_wrap_Bitmap_GetPalette(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3493     PyObject 
*resultobj
; 
3494     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3496     PyObject 
* obj0 
= 0 ; 
3498         (char *) "self", NULL 
 
3501     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetPalette",kwnames
,&obj0
)) goto fail
; 
3502     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3503     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3505         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3506         result 
= (wxPalette 
*)((wxBitmap 
const *)arg1
)->GetPalette(); 
3508         wxPyEndAllowThreads(__tstate
); 
3509         if (PyErr_Occurred()) SWIG_fail
; 
3511     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 0); 
3518 static PyObject 
*_wrap_Bitmap_SetPalette(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3519     PyObject 
*resultobj
; 
3520     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3521     wxPalette 
*arg2 
= 0 ; 
3522     PyObject 
* obj0 
= 0 ; 
3523     PyObject 
* obj1 
= 0 ; 
3525         (char *) "self",(char *) "palette", NULL 
 
3528     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
; 
3529     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3530     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3531     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
, 
3532     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3535         PyErr_SetString(PyExc_TypeError
,"null reference"); 
3539         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3540         (arg1
)->SetPalette((wxPalette 
const &)*arg2
); 
3542         wxPyEndAllowThreads(__tstate
); 
3543         if (PyErr_Occurred()) SWIG_fail
; 
3545     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3552 static PyObject 
*_wrap_Bitmap_CopyFromIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3553     PyObject 
*resultobj
; 
3554     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3557     PyObject 
* obj0 
= 0 ; 
3558     PyObject 
* obj1 
= 0 ; 
3560         (char *) "self",(char *) "icon", NULL 
 
3563     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
3564     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3565     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3566     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
, 
3567     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3570         PyErr_SetString(PyExc_TypeError
,"null reference"); 
3574         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3575         result 
= (bool)(arg1
)->CopyFromIcon((wxIcon 
const &)*arg2
); 
3577         wxPyEndAllowThreads(__tstate
); 
3578         if (PyErr_Occurred()) SWIG_fail
; 
3581         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3589 static PyObject 
*_wrap_Bitmap_SetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3590     PyObject 
*resultobj
; 
3591     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3593     PyObject 
* obj0 
= 0 ; 
3594     PyObject 
* obj1 
= 0 ; 
3596         (char *) "self",(char *) "height", NULL 
 
3599     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
; 
3600     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3601     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3602     arg2 
= (int)SWIG_As_int(obj1
);  
3603     if (PyErr_Occurred()) SWIG_fail
; 
3605         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3606         (arg1
)->SetHeight(arg2
); 
3608         wxPyEndAllowThreads(__tstate
); 
3609         if (PyErr_Occurred()) SWIG_fail
; 
3611     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3618 static PyObject 
*_wrap_Bitmap_SetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3619     PyObject 
*resultobj
; 
3620     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3622     PyObject 
* obj0 
= 0 ; 
3623     PyObject 
* obj1 
= 0 ; 
3625         (char *) "self",(char *) "width", NULL 
 
3628     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
3629     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3630     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3631     arg2 
= (int)SWIG_As_int(obj1
);  
3632     if (PyErr_Occurred()) SWIG_fail
; 
3634         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3635         (arg1
)->SetWidth(arg2
); 
3637         wxPyEndAllowThreads(__tstate
); 
3638         if (PyErr_Occurred()) SWIG_fail
; 
3640     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3647 static PyObject 
*_wrap_Bitmap_SetDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3648     PyObject 
*resultobj
; 
3649     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3651     PyObject 
* obj0 
= 0 ; 
3652     PyObject 
* obj1 
= 0 ; 
3654         (char *) "self",(char *) "depth", NULL 
 
3657     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
; 
3658     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3659     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3660     arg2 
= (int)SWIG_As_int(obj1
);  
3661     if (PyErr_Occurred()) SWIG_fail
; 
3663         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3664         (arg1
)->SetDepth(arg2
); 
3666         wxPyEndAllowThreads(__tstate
); 
3667         if (PyErr_Occurred()) SWIG_fail
; 
3669     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3676 static PyObject 
*_wrap_Bitmap_SetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3677     PyObject 
*resultobj
; 
3678     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3681     PyObject 
* obj0 
= 0 ; 
3682     PyObject 
* obj1 
= 0 ; 
3684         (char *) "self",(char *) "size", NULL 
 
3687     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
3688     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3689     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3692         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
3695         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3696         wxBitmap_SetSize(arg1
,(wxSize 
const &)*arg2
); 
3698         wxPyEndAllowThreads(__tstate
); 
3699         if (PyErr_Occurred()) SWIG_fail
; 
3701     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3708 static PyObject 
*_wrap_Bitmap_CopyFromCursor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3709     PyObject 
*resultobj
; 
3710     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3711     wxCursor 
*arg2 
= 0 ; 
3713     PyObject 
* obj0 
= 0 ; 
3714     PyObject 
* obj1 
= 0 ; 
3716         (char *) "self",(char *) "cursor", NULL 
 
3719     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) goto fail
; 
3720     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3721     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3722     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
, 
3723     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3726         PyErr_SetString(PyExc_TypeError
,"null reference"); 
3730         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3731         result 
= (bool)(arg1
)->CopyFromCursor((wxCursor 
const &)*arg2
); 
3733         wxPyEndAllowThreads(__tstate
); 
3734         if (PyErr_Occurred()) SWIG_fail
; 
3737         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3745 static PyObject 
*_wrap_Bitmap_GetQuality(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3746     PyObject 
*resultobj
; 
3747     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3749     PyObject 
* obj0 
= 0 ; 
3751         (char *) "self", NULL 
 
3754     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetQuality",kwnames
,&obj0
)) goto fail
; 
3755     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3756     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3758         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3759         result 
= (int)(arg1
)->GetQuality(); 
3761         wxPyEndAllowThreads(__tstate
); 
3762         if (PyErr_Occurred()) SWIG_fail
; 
3764     resultobj 
= SWIG_From_int((int)result
); 
3771 static PyObject 
*_wrap_Bitmap_SetQuality(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3772     PyObject 
*resultobj
; 
3773     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3775     PyObject 
* obj0 
= 0 ; 
3776     PyObject 
* obj1 
= 0 ; 
3778         (char *) "self",(char *) "q", NULL 
 
3781     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
; 
3782     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3783     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3784     arg2 
= (int)SWIG_As_int(obj1
);  
3785     if (PyErr_Occurred()) SWIG_fail
; 
3787         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3788         (arg1
)->SetQuality(arg2
); 
3790         wxPyEndAllowThreads(__tstate
); 
3791         if (PyErr_Occurred()) SWIG_fail
; 
3793     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3800 static PyObject 
*_wrap_Bitmap___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3801     PyObject 
*resultobj
; 
3802     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3803     wxBitmap 
*arg2 
= (wxBitmap 
*) 0 ; 
3805     PyObject 
* obj0 
= 0 ; 
3806     PyObject 
* obj1 
= 0 ; 
3808         (char *) "self",(char *) "other", NULL 
 
3811     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
3812     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3813     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3814     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
3815     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3817         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3818         result 
= (bool)wxBitmap___eq__(arg1
,(wxBitmap 
const *)arg2
); 
3820         wxPyEndAllowThreads(__tstate
); 
3821         if (PyErr_Occurred()) SWIG_fail
; 
3824         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3832 static PyObject 
*_wrap_Bitmap___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3833     PyObject 
*resultobj
; 
3834     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3835     wxBitmap 
*arg2 
= (wxBitmap 
*) 0 ; 
3837     PyObject 
* obj0 
= 0 ; 
3838     PyObject 
* obj1 
= 0 ; 
3840         (char *) "self",(char *) "other", NULL 
 
3843     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
3844     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3845     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3846     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
3847     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3849         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3850         result 
= (bool)wxBitmap___ne__(arg1
,(wxBitmap 
const *)arg2
); 
3852         wxPyEndAllowThreads(__tstate
); 
3853         if (PyErr_Occurred()) SWIG_fail
; 
3856         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3864 static PyObject 
* Bitmap_swigregister(PyObject 
*, PyObject 
*args
) { 
3866     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3867     SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
); 
3869     return Py_BuildValue((char *)""); 
3871 static PyObject 
*_wrap_new_Mask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3872     PyObject 
*resultobj
; 
3873     wxBitmap 
*arg1 
= 0 ; 
3874     wxColour 
const &arg2_defvalue 
= wxNullColour 
; 
3875     wxColour 
*arg2 
= (wxColour 
*) &arg2_defvalue 
; 
3878     PyObject 
* obj0 
= 0 ; 
3879     PyObject 
* obj1 
= 0 ; 
3881         (char *) "bitmap",(char *) "colour", NULL 
 
3884     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
; 
3885     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3886     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3889         PyErr_SetString(PyExc_TypeError
,"null reference"); 
3895             if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3899         if (!wxPyCheckForApp()) SWIG_fail
; 
3900         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3901         result 
= (wxMask 
*)new_wxMask((wxBitmap 
const &)*arg1
,(wxColour 
const &)*arg2
); 
3903         wxPyEndAllowThreads(__tstate
); 
3904         if (PyErr_Occurred()) SWIG_fail
; 
3906     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1); 
3913 static PyObject 
* Mask_swigregister(PyObject 
*, PyObject 
*args
) { 
3915     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3916     SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
); 
3918     return Py_BuildValue((char *)""); 
3920 static PyObject 
*_wrap_new_Icon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3921     PyObject 
*resultobj
; 
3922     wxString 
*arg1 
= 0 ; 
3924     int arg3 
= (int) -1 ; 
3925     int arg4 
= (int) -1 ; 
3927     bool temp1 
= false ; 
3928     PyObject 
* obj0 
= 0 ; 
3929     PyObject 
* obj1 
= 0 ; 
3930     PyObject 
* obj2 
= 0 ; 
3931     PyObject 
* obj3 
= 0 ; 
3933         (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL 
 
3936     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
3938         arg1 
= wxString_in_helper(obj0
); 
3939         if (arg1 
== NULL
) SWIG_fail
; 
3942     arg2 
= (int)SWIG_As_int(obj1
);  
3943     if (PyErr_Occurred()) SWIG_fail
; 
3945         arg3 
= (int)SWIG_As_int(obj2
);  
3946         if (PyErr_Occurred()) SWIG_fail
; 
3949         arg4 
= (int)SWIG_As_int(obj3
);  
3950         if (PyErr_Occurred()) SWIG_fail
; 
3953         if (!wxPyCheckForApp()) SWIG_fail
; 
3954         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3955         result 
= (wxIcon 
*)new wxIcon((wxString 
const &)*arg1
,(wxBitmapType 
)arg2
,arg3
,arg4
); 
3957         wxPyEndAllowThreads(__tstate
); 
3958         if (PyErr_Occurred()) SWIG_fail
; 
3960     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
3975 static PyObject 
*_wrap_delete_Icon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3976     PyObject 
*resultobj
; 
3977     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
3978     PyObject 
* obj0 
= 0 ; 
3980         (char *) "self", NULL 
 
3983     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
; 
3984     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
3985     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3987         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3990         wxPyEndAllowThreads(__tstate
); 
3991         if (PyErr_Occurred()) SWIG_fail
; 
3993     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4000 static PyObject 
*_wrap_new_EmptyIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4001     PyObject 
*resultobj
; 
4007     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
; 
4009         if (!wxPyCheckForApp()) SWIG_fail
; 
4010         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4011         result 
= (wxIcon 
*)new wxIcon(); 
4013         wxPyEndAllowThreads(__tstate
); 
4014         if (PyErr_Occurred()) SWIG_fail
; 
4016     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
4023 static PyObject 
*_wrap_new_IconFromLocation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4024     PyObject 
*resultobj
; 
4025     wxIconLocation 
*arg1 
= 0 ; 
4027     PyObject 
* obj0 
= 0 ; 
4029         (char *) "loc", NULL 
 
4032     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
; 
4033     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
, 
4034     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
4037         PyErr_SetString(PyExc_TypeError
,"null reference"); 
4041         if (!wxPyCheckForApp()) SWIG_fail
; 
4042         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4043         result 
= (wxIcon 
*)new wxIcon((wxIconLocation 
const &)*arg1
); 
4045         wxPyEndAllowThreads(__tstate
); 
4046         if (PyErr_Occurred()) SWIG_fail
; 
4048     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
4055 static PyObject 
*_wrap_new_IconFromBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4056     PyObject 
*resultobj
; 
4057     wxBitmap 
*arg1 
= 0 ; 
4059     PyObject 
* obj0 
= 0 ; 
4061         (char *) "bmp", NULL 
 
4064     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
; 
4065     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
4066     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
4069         PyErr_SetString(PyExc_TypeError
,"null reference"); 
4073         if (!wxPyCheckForApp()) SWIG_fail
; 
4074         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4075         result 
= (wxIcon 
*)new_wxIcon((wxBitmap 
const &)*arg1
); 
4077         wxPyEndAllowThreads(__tstate
); 
4078         if (PyErr_Occurred()) SWIG_fail
; 
4080     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
4087 static PyObject 
*_wrap_new_IconFromXPMData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4088     PyObject 
*resultobj
; 
4089     PyObject 
*arg1 
= (PyObject 
*) 0 ; 
4091     PyObject 
* obj0 
= 0 ; 
4093         (char *) "listOfStrings", NULL 
 
4096     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
; 
4099         if (!wxPyCheckForApp()) SWIG_fail
; 
4100         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4101         result 
= (wxIcon 
*)new_wxIcon(arg1
); 
4103         wxPyEndAllowThreads(__tstate
); 
4104         if (PyErr_Occurred()) SWIG_fail
; 
4106     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
4113 static PyObject 
*_wrap_Icon_LoadFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4114     PyObject 
*resultobj
; 
4115     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
4116     wxString 
*arg2 
= 0 ; 
4119     bool temp2 
= false ; 
4120     PyObject 
* obj0 
= 0 ; 
4121     PyObject 
* obj1 
= 0 ; 
4122     PyObject 
* obj2 
= 0 ; 
4124         (char *) "self",(char *) "name",(char *) "type", NULL 
 
4127     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4128     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
4129     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4131         arg2 
= wxString_in_helper(obj1
); 
4132         if (arg2 
== NULL
) SWIG_fail
; 
4135     arg3 
= (int)SWIG_As_int(obj2
);  
4136     if (PyErr_Occurred()) SWIG_fail
; 
4138         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4139         result 
= (bool)(arg1
)->LoadFile((wxString 
const &)*arg2
,(wxBitmapType 
)arg3
); 
4141         wxPyEndAllowThreads(__tstate
); 
4142         if (PyErr_Occurred()) SWIG_fail
; 
4145         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4161 static PyObject 
*_wrap_Icon_GetHandle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4162     PyObject 
*resultobj
; 
4163     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
4165     PyObject 
* obj0 
= 0 ; 
4167         (char *) "self", NULL 
 
4170     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHandle",kwnames
,&obj0
)) goto fail
; 
4171     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
4172     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4174         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4175         result 
= (long)(arg1
)->GetHandle(); 
4177         wxPyEndAllowThreads(__tstate
); 
4178         if (PyErr_Occurred()) SWIG_fail
; 
4180     resultobj 
= SWIG_From_long((long)result
); 
4187 static PyObject 
*_wrap_Icon_SetHandle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4188     PyObject 
*resultobj
; 
4189     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
4191     PyObject 
* obj0 
= 0 ; 
4192     PyObject 
* obj1 
= 0 ; 
4194         (char *) "self",(char *) "handle", NULL 
 
4197     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
; 
4198     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
4199     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4200     arg2 
= (long)SWIG_As_long(obj1
);  
4201     if (PyErr_Occurred()) SWIG_fail
; 
4203         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4204         wxIcon_SetHandle(arg1
,arg2
); 
4206         wxPyEndAllowThreads(__tstate
); 
4207         if (PyErr_Occurred()) SWIG_fail
; 
4209     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4216 static PyObject 
*_wrap_Icon_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4217     PyObject 
*resultobj
; 
4218     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
4220     PyObject 
* obj0 
= 0 ; 
4222         (char *) "self", NULL 
 
4225     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
; 
4226     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
4227     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4229         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4230         result 
= (bool)(arg1
)->Ok(); 
4232         wxPyEndAllowThreads(__tstate
); 
4233         if (PyErr_Occurred()) SWIG_fail
; 
4236         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4244 static PyObject 
*_wrap_Icon_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4245     PyObject 
*resultobj
; 
4246     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
4248     PyObject 
* obj0 
= 0 ; 
4250         (char *) "self", NULL 
 
4253     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
; 
4254     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
4255     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4257         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4258         result 
= (int)(arg1
)->GetWidth(); 
4260         wxPyEndAllowThreads(__tstate
); 
4261         if (PyErr_Occurred()) SWIG_fail
; 
4263     resultobj 
= SWIG_From_int((int)result
); 
4270 static PyObject 
*_wrap_Icon_GetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4271     PyObject 
*resultobj
; 
4272     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
4274     PyObject 
* obj0 
= 0 ; 
4276         (char *) "self", NULL 
 
4279     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
; 
4280     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
4281     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4283         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4284         result 
= (int)(arg1
)->GetHeight(); 
4286         wxPyEndAllowThreads(__tstate
); 
4287         if (PyErr_Occurred()) SWIG_fail
; 
4289     resultobj 
= SWIG_From_int((int)result
); 
4296 static PyObject 
*_wrap_Icon_GetDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4297     PyObject 
*resultobj
; 
4298     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
4300     PyObject 
* obj0 
= 0 ; 
4302         (char *) "self", NULL 
 
4305     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
; 
4306     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
4307     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4309         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4310         result 
= (int)(arg1
)->GetDepth(); 
4312         wxPyEndAllowThreads(__tstate
); 
4313         if (PyErr_Occurred()) SWIG_fail
; 
4315     resultobj 
= SWIG_From_int((int)result
); 
4322 static PyObject 
*_wrap_Icon_SetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4323     PyObject 
*resultobj
; 
4324     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
4326     PyObject 
* obj0 
= 0 ; 
4327     PyObject 
* obj1 
= 0 ; 
4329         (char *) "self",(char *) "w", NULL 
 
4332     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
4333     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
4334     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4335     arg2 
= (int)SWIG_As_int(obj1
);  
4336     if (PyErr_Occurred()) SWIG_fail
; 
4338         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4339         (arg1
)->SetWidth(arg2
); 
4341         wxPyEndAllowThreads(__tstate
); 
4342         if (PyErr_Occurred()) SWIG_fail
; 
4344     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4351 static PyObject 
*_wrap_Icon_SetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4352     PyObject 
*resultobj
; 
4353     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
4355     PyObject 
* obj0 
= 0 ; 
4356     PyObject 
* obj1 
= 0 ; 
4358         (char *) "self",(char *) "h", NULL 
 
4361     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
; 
4362     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
4363     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4364     arg2 
= (int)SWIG_As_int(obj1
);  
4365     if (PyErr_Occurred()) SWIG_fail
; 
4367         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4368         (arg1
)->SetHeight(arg2
); 
4370         wxPyEndAllowThreads(__tstate
); 
4371         if (PyErr_Occurred()) SWIG_fail
; 
4373     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4380 static PyObject 
*_wrap_Icon_SetDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4381     PyObject 
*resultobj
; 
4382     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
4384     PyObject 
* obj0 
= 0 ; 
4385     PyObject 
* obj1 
= 0 ; 
4387         (char *) "self",(char *) "d", NULL 
 
4390     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
; 
4391     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
4392     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4393     arg2 
= (int)SWIG_As_int(obj1
);  
4394     if (PyErr_Occurred()) SWIG_fail
; 
4396         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4397         (arg1
)->SetDepth(arg2
); 
4399         wxPyEndAllowThreads(__tstate
); 
4400         if (PyErr_Occurred()) SWIG_fail
; 
4402     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4409 static PyObject 
*_wrap_Icon_SetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4410     PyObject 
*resultobj
; 
4411     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
4414     PyObject 
* obj0 
= 0 ; 
4415     PyObject 
* obj1 
= 0 ; 
4417         (char *) "self",(char *) "size", NULL 
 
4420     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
4421     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
4422     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4425         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
4428         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4429         (arg1
)->SetSize((wxSize 
const &)*arg2
); 
4431         wxPyEndAllowThreads(__tstate
); 
4432         if (PyErr_Occurred()) SWIG_fail
; 
4434     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4441 static PyObject 
*_wrap_Icon_CopyFromBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4442     PyObject 
*resultobj
; 
4443     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
4444     wxBitmap 
*arg2 
= 0 ; 
4445     PyObject 
* obj0 
= 0 ; 
4446     PyObject 
* obj1 
= 0 ; 
4448         (char *) "self",(char *) "bmp", NULL 
 
4451     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
4452     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
4453     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4454     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
4455     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
4458         PyErr_SetString(PyExc_TypeError
,"null reference"); 
4462         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4463         (arg1
)->CopyFromBitmap((wxBitmap 
const &)*arg2
); 
4465         wxPyEndAllowThreads(__tstate
); 
4466         if (PyErr_Occurred()) SWIG_fail
; 
4468     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4475 static PyObject 
* Icon_swigregister(PyObject 
*, PyObject 
*args
) { 
4477     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4478     SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
); 
4480     return Py_BuildValue((char *)""); 
4482 static PyObject 
*_wrap_new_IconLocation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4483     PyObject 
*resultobj
; 
4484     wxString 
*arg1 
= (wxString 
*) &wxPyEmptyString 
; 
4485     int arg2 
= (int) 0 ; 
4486     wxIconLocation 
*result
; 
4487     bool temp1 
= false ; 
4488     PyObject 
* obj0 
= 0 ; 
4489     PyObject 
* obj1 
= 0 ; 
4491         (char *) "filename",(char *) "num", NULL 
 
4494     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
; 
4497             arg1 
= wxString_in_helper(obj0
); 
4498             if (arg1 
== NULL
) SWIG_fail
; 
4503         arg2 
= (int)SWIG_As_int(obj1
);  
4504         if (PyErr_Occurred()) SWIG_fail
; 
4507         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4508         result 
= (wxIconLocation 
*)new_wxIconLocation((wxString 
const *)arg1
,arg2
); 
4510         wxPyEndAllowThreads(__tstate
); 
4511         if (PyErr_Occurred()) SWIG_fail
; 
4513     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1); 
4528 static PyObject 
*_wrap_delete_IconLocation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4529     PyObject 
*resultobj
; 
4530     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
4531     PyObject 
* obj0 
= 0 ; 
4533         (char *) "self", NULL 
 
4536     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
; 
4537     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
, 
4538     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4540         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4543         wxPyEndAllowThreads(__tstate
); 
4544         if (PyErr_Occurred()) SWIG_fail
; 
4546     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4553 static PyObject 
*_wrap_IconLocation_IsOk(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4554     PyObject 
*resultobj
; 
4555     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
4557     PyObject 
* obj0 
= 0 ; 
4559         (char *) "self", NULL 
 
4562     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
; 
4563     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
, 
4564     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4566         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4567         result 
= (bool)((wxIconLocation 
const *)arg1
)->IsOk(); 
4569         wxPyEndAllowThreads(__tstate
); 
4570         if (PyErr_Occurred()) SWIG_fail
; 
4573         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4581 static PyObject 
*_wrap_IconLocation_SetFileName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4582     PyObject 
*resultobj
; 
4583     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
4584     wxString 
*arg2 
= 0 ; 
4585     bool temp2 
= false ; 
4586     PyObject 
* obj0 
= 0 ; 
4587     PyObject 
* obj1 
= 0 ; 
4589         (char *) "self",(char *) "filename", NULL 
 
4592     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
; 
4593     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
, 
4594     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4596         arg2 
= wxString_in_helper(obj1
); 
4597         if (arg2 
== NULL
) SWIG_fail
; 
4601         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4602         (arg1
)->SetFileName((wxString 
const &)*arg2
); 
4604         wxPyEndAllowThreads(__tstate
); 
4605         if (PyErr_Occurred()) SWIG_fail
; 
4607     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4622 static PyObject 
*_wrap_IconLocation_GetFileName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4623     PyObject 
*resultobj
; 
4624     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
4626     PyObject 
* obj0 
= 0 ; 
4628         (char *) "self", NULL 
 
4631     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
; 
4632     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
, 
4633     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4635         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4637             wxString 
const &_result_ref 
= ((wxIconLocation 
const *)arg1
)->GetFileName(); 
4638             result 
= (wxString 
*) &_result_ref
; 
4641         wxPyEndAllowThreads(__tstate
); 
4642         if (PyErr_Occurred()) SWIG_fail
; 
4646         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
4648         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
4657 static PyObject 
*_wrap_IconLocation_SetIndex(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4658     PyObject 
*resultobj
; 
4659     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
4661     PyObject 
* obj0 
= 0 ; 
4662     PyObject 
* obj1 
= 0 ; 
4664         (char *) "self",(char *) "num", NULL 
 
4667     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
; 
4668     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
, 
4669     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4670     arg2 
= (int)SWIG_As_int(obj1
);  
4671     if (PyErr_Occurred()) SWIG_fail
; 
4673         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4674         wxIconLocation_SetIndex(arg1
,arg2
); 
4676         wxPyEndAllowThreads(__tstate
); 
4677         if (PyErr_Occurred()) SWIG_fail
; 
4679     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4686 static PyObject 
*_wrap_IconLocation_GetIndex(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4687     PyObject 
*resultobj
; 
4688     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
4690     PyObject 
* obj0 
= 0 ; 
4692         (char *) "self", NULL 
 
4695     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
; 
4696     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
, 
4697     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4699         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4700         result 
= (int)wxIconLocation_GetIndex(arg1
); 
4702         wxPyEndAllowThreads(__tstate
); 
4703         if (PyErr_Occurred()) SWIG_fail
; 
4705     resultobj 
= SWIG_From_int((int)result
); 
4712 static PyObject 
* IconLocation_swigregister(PyObject 
*, PyObject 
*args
) { 
4714     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4715     SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
); 
4717     return Py_BuildValue((char *)""); 
4719 static PyObject 
*_wrap_new_IconBundle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4720     PyObject 
*resultobj
; 
4721     wxIconBundle 
*result
; 
4726     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
; 
4728         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4729         result 
= (wxIconBundle 
*)new wxIconBundle(); 
4731         wxPyEndAllowThreads(__tstate
); 
4732         if (PyErr_Occurred()) SWIG_fail
; 
4734     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1); 
4741 static PyObject 
*_wrap_new_IconBundleFromFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4742     PyObject 
*resultobj
; 
4743     wxString 
*arg1 
= 0 ; 
4745     wxIconBundle 
*result
; 
4746     bool temp1 
= false ; 
4747     PyObject 
* obj0 
= 0 ; 
4748     PyObject 
* obj1 
= 0 ; 
4750         (char *) "file",(char *) "type", NULL 
 
4753     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
; 
4755         arg1 
= wxString_in_helper(obj0
); 
4756         if (arg1 
== NULL
) SWIG_fail
; 
4759     arg2 
= (long)SWIG_As_long(obj1
);  
4760     if (PyErr_Occurred()) SWIG_fail
; 
4762         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4763         result 
= (wxIconBundle 
*)new wxIconBundle((wxString 
const &)*arg1
,arg2
); 
4765         wxPyEndAllowThreads(__tstate
); 
4766         if (PyErr_Occurred()) SWIG_fail
; 
4768     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1); 
4783 static PyObject 
*_wrap_new_IconBundleFromIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4784     PyObject 
*resultobj
; 
4786     wxIconBundle 
*result
; 
4787     PyObject 
* obj0 
= 0 ; 
4789         (char *) "icon", NULL 
 
4792     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
; 
4793     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
4794     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
4797         PyErr_SetString(PyExc_TypeError
,"null reference"); 
4801         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4802         result 
= (wxIconBundle 
*)new wxIconBundle((wxIcon 
const &)*arg1
); 
4804         wxPyEndAllowThreads(__tstate
); 
4805         if (PyErr_Occurred()) SWIG_fail
; 
4807     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1); 
4814 static PyObject 
*_wrap_delete_IconBundle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4815     PyObject 
*resultobj
; 
4816     wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
4817     PyObject 
* obj0 
= 0 ; 
4819         (char *) "self", NULL 
 
4822     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
; 
4823     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
, 
4824     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4826         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4829         wxPyEndAllowThreads(__tstate
); 
4830         if (PyErr_Occurred()) SWIG_fail
; 
4832     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4839 static PyObject 
*_wrap_IconBundle_AddIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4840     PyObject 
*resultobj
; 
4841     wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
4843     PyObject 
* obj0 
= 0 ; 
4844     PyObject 
* obj1 
= 0 ; 
4846         (char *) "self",(char *) "icon", NULL 
 
4849     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
4850     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
, 
4851     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4852     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
, 
4853     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
4856         PyErr_SetString(PyExc_TypeError
,"null reference"); 
4860         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4861         (arg1
)->AddIcon((wxIcon 
const &)*arg2
); 
4863         wxPyEndAllowThreads(__tstate
); 
4864         if (PyErr_Occurred()) SWIG_fail
; 
4866     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4873 static PyObject 
*_wrap_IconBundle_AddIconFromFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4874     PyObject 
*resultobj
; 
4875     wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
4876     wxString 
*arg2 
= 0 ; 
4878     bool temp2 
= false ; 
4879     PyObject 
* obj0 
= 0 ; 
4880     PyObject 
* obj1 
= 0 ; 
4881     PyObject 
* obj2 
= 0 ; 
4883         (char *) "self",(char *) "file",(char *) "type", NULL 
 
4886     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4887     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
, 
4888     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4890         arg2 
= wxString_in_helper(obj1
); 
4891         if (arg2 
== NULL
) SWIG_fail
; 
4894     arg3 
= (long)SWIG_As_long(obj2
);  
4895     if (PyErr_Occurred()) SWIG_fail
; 
4897         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4898         (arg1
)->AddIcon((wxString 
const &)*arg2
,arg3
); 
4900         wxPyEndAllowThreads(__tstate
); 
4901         if (PyErr_Occurred()) SWIG_fail
; 
4903     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4918 static PyObject 
*_wrap_IconBundle_GetIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4919     PyObject 
*resultobj
; 
4920     wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
4924     PyObject 
* obj0 
= 0 ; 
4925     PyObject 
* obj1 
= 0 ; 
4927         (char *) "self",(char *) "size", NULL 
 
4930     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
4931     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
, 
4932     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4935         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
4938         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4940             wxIcon 
const &_result_ref 
= ((wxIconBundle 
const *)arg1
)->GetIcon((wxSize 
const &)*arg2
); 
4941             result 
= (wxIcon 
*) &_result_ref
; 
4944         wxPyEndAllowThreads(__tstate
); 
4945         if (PyErr_Occurred()) SWIG_fail
; 
4948         wxIcon
* resultptr 
= new wxIcon(*result
); 
4949         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1); 
4957 static PyObject 
* IconBundle_swigregister(PyObject 
*, PyObject 
*args
) { 
4959     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4960     SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
); 
4962     return Py_BuildValue((char *)""); 
4964 static PyObject 
*_wrap_new_Cursor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4965     PyObject 
*resultobj
; 
4966     wxString 
*arg1 
= (wxString 
*) 0 ; 
4968     int arg3 
= (int) 0 ; 
4969     int arg4 
= (int) 0 ; 
4971     bool temp1 
= false ; 
4972     PyObject 
* obj0 
= 0 ; 
4973     PyObject 
* obj1 
= 0 ; 
4974     PyObject 
* obj2 
= 0 ; 
4975     PyObject 
* obj3 
= 0 ; 
4977         (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL 
 
4980     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
4982         arg1 
= wxString_in_helper(obj0
); 
4983         if (arg1 
== NULL
) SWIG_fail
; 
4986     arg2 
= (long)SWIG_As_long(obj1
);  
4987     if (PyErr_Occurred()) SWIG_fail
; 
4989         arg3 
= (int)SWIG_As_int(obj2
);  
4990         if (PyErr_Occurred()) SWIG_fail
; 
4993         arg4 
= (int)SWIG_As_int(obj3
);  
4994         if (PyErr_Occurred()) SWIG_fail
; 
4997         if (!wxPyCheckForApp()) SWIG_fail
; 
4998         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4999         result 
= (wxCursor 
*)new_wxCursor((wxString 
const *)arg1
,arg2
,arg3
,arg4
); 
5001         wxPyEndAllowThreads(__tstate
); 
5002         if (PyErr_Occurred()) SWIG_fail
; 
5004     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1); 
5019 static PyObject 
*_wrap_delete_Cursor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5020     PyObject 
*resultobj
; 
5021     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
5022     PyObject 
* obj0 
= 0 ; 
5024         (char *) "self", NULL 
 
5027     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",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(); 
5034         wxPyEndAllowThreads(__tstate
); 
5035         if (PyErr_Occurred()) SWIG_fail
; 
5037     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5044 static PyObject 
*_wrap_new_StockCursor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5045     PyObject 
*resultobj
; 
5048     PyObject 
* obj0 
= 0 ; 
5053     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
; 
5054     arg1 
= (int)SWIG_As_int(obj0
);  
5055     if (PyErr_Occurred()) SWIG_fail
; 
5057         if (!wxPyCheckForApp()) SWIG_fail
; 
5058         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5059         result 
= (wxCursor 
*)new wxCursor(arg1
); 
5061         wxPyEndAllowThreads(__tstate
); 
5062         if (PyErr_Occurred()) SWIG_fail
; 
5064     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1); 
5071 static PyObject 
*_wrap_new_CursorFromImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5072     PyObject 
*resultobj
; 
5075     PyObject 
* obj0 
= 0 ; 
5077         (char *) "image", NULL 
 
5080     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
; 
5081     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
, 
5082     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5085         PyErr_SetString(PyExc_TypeError
,"null reference"); 
5089         if (!wxPyCheckForApp()) SWIG_fail
; 
5090         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5091         result 
= (wxCursor 
*)new wxCursor((wxImage 
const &)*arg1
); 
5093         wxPyEndAllowThreads(__tstate
); 
5094         if (PyErr_Occurred()) SWIG_fail
; 
5096     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1); 
5103 static PyObject 
*_wrap_Cursor_GetHandle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5104     PyObject 
*resultobj
; 
5105     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
5107     PyObject 
* obj0 
= 0 ; 
5109         (char *) "self", NULL 
 
5112     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHandle",kwnames
,&obj0
)) goto fail
; 
5113     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
5114     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5116         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5117         result 
= (long)(arg1
)->GetHandle(); 
5119         wxPyEndAllowThreads(__tstate
); 
5120         if (PyErr_Occurred()) SWIG_fail
; 
5122     resultobj 
= SWIG_From_long((long)result
); 
5129 static PyObject 
*_wrap_Cursor_SetHandle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5130     PyObject 
*resultobj
; 
5131     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
5133     PyObject 
* obj0 
= 0 ; 
5134     PyObject 
* obj1 
= 0 ; 
5136         (char *) "self",(char *) "handle", NULL 
 
5139     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
; 
5140     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
5141     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5142     arg2 
= (long)SWIG_As_long(obj1
);  
5143     if (PyErr_Occurred()) SWIG_fail
; 
5145         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5146         wxCursor_SetHandle(arg1
,arg2
); 
5148         wxPyEndAllowThreads(__tstate
); 
5149         if (PyErr_Occurred()) SWIG_fail
; 
5151     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5158 static PyObject 
*_wrap_Cursor_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5159     PyObject 
*resultobj
; 
5160     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
5162     PyObject 
* obj0 
= 0 ; 
5164         (char *) "self", NULL 
 
5167     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
; 
5168     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
5169     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5171         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5172         result 
= (bool)(arg1
)->Ok(); 
5174         wxPyEndAllowThreads(__tstate
); 
5175         if (PyErr_Occurred()) SWIG_fail
; 
5178         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5186 static PyObject 
*_wrap_Cursor_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5187     PyObject 
*resultobj
; 
5188     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
5190     PyObject 
* obj0 
= 0 ; 
5192         (char *) "self", NULL 
 
5195     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetWidth",kwnames
,&obj0
)) goto fail
; 
5196     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
5197     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5199         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5200         result 
= (int)(arg1
)->GetWidth(); 
5202         wxPyEndAllowThreads(__tstate
); 
5203         if (PyErr_Occurred()) SWIG_fail
; 
5205     resultobj 
= SWIG_From_int((int)result
); 
5212 static PyObject 
*_wrap_Cursor_GetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5213     PyObject 
*resultobj
; 
5214     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
5216     PyObject 
* obj0 
= 0 ; 
5218         (char *) "self", NULL 
 
5221     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHeight",kwnames
,&obj0
)) goto fail
; 
5222     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
5223     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5225         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5226         result 
= (int)(arg1
)->GetHeight(); 
5228         wxPyEndAllowThreads(__tstate
); 
5229         if (PyErr_Occurred()) SWIG_fail
; 
5231     resultobj 
= SWIG_From_int((int)result
); 
5238 static PyObject 
*_wrap_Cursor_GetDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5239     PyObject 
*resultobj
; 
5240     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
5242     PyObject 
* obj0 
= 0 ; 
5244         (char *) "self", NULL 
 
5247     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetDepth",kwnames
,&obj0
)) goto fail
; 
5248     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
5249     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5251         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5252         result 
= (int)(arg1
)->GetDepth(); 
5254         wxPyEndAllowThreads(__tstate
); 
5255         if (PyErr_Occurred()) SWIG_fail
; 
5257     resultobj 
= SWIG_From_int((int)result
); 
5264 static PyObject 
*_wrap_Cursor_SetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5265     PyObject 
*resultobj
; 
5266     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
5268     PyObject 
* obj0 
= 0 ; 
5269     PyObject 
* obj1 
= 0 ; 
5271         (char *) "self",(char *) "w", NULL 
 
5274     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
5275     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
5276     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5277     arg2 
= (int)SWIG_As_int(obj1
);  
5278     if (PyErr_Occurred()) SWIG_fail
; 
5280         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5281         (arg1
)->SetWidth(arg2
); 
5283         wxPyEndAllowThreads(__tstate
); 
5284         if (PyErr_Occurred()) SWIG_fail
; 
5286     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5293 static PyObject 
*_wrap_Cursor_SetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5294     PyObject 
*resultobj
; 
5295     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
5297     PyObject 
* obj0 
= 0 ; 
5298     PyObject 
* obj1 
= 0 ; 
5300         (char *) "self",(char *) "h", NULL 
 
5303     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
; 
5304     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
5305     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5306     arg2 
= (int)SWIG_As_int(obj1
);  
5307     if (PyErr_Occurred()) SWIG_fail
; 
5309         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5310         (arg1
)->SetHeight(arg2
); 
5312         wxPyEndAllowThreads(__tstate
); 
5313         if (PyErr_Occurred()) SWIG_fail
; 
5315     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5322 static PyObject 
*_wrap_Cursor_SetDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5323     PyObject 
*resultobj
; 
5324     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
5326     PyObject 
* obj0 
= 0 ; 
5327     PyObject 
* obj1 
= 0 ; 
5329         (char *) "self",(char *) "d", NULL 
 
5332     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
; 
5333     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
5334     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5335     arg2 
= (int)SWIG_As_int(obj1
);  
5336     if (PyErr_Occurred()) SWIG_fail
; 
5338         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5339         (arg1
)->SetDepth(arg2
); 
5341         wxPyEndAllowThreads(__tstate
); 
5342         if (PyErr_Occurred()) SWIG_fail
; 
5344     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5351 static PyObject 
*_wrap_Cursor_SetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5352     PyObject 
*resultobj
; 
5353     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
5356     PyObject 
* obj0 
= 0 ; 
5357     PyObject 
* obj1 
= 0 ; 
5359         (char *) "self",(char *) "size", NULL 
 
5362     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
5363     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
5364     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5367         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
5370         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5371         (arg1
)->SetSize((wxSize 
const &)*arg2
); 
5373         wxPyEndAllowThreads(__tstate
); 
5374         if (PyErr_Occurred()) SWIG_fail
; 
5376     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5383 static PyObject 
* Cursor_swigregister(PyObject 
*, PyObject 
*args
) { 
5385     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5386     SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
); 
5388     return Py_BuildValue((char *)""); 
5390 static PyObject 
*_wrap_new_Region(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5391     PyObject 
*resultobj
; 
5392     int arg1 
= (int) 0 ; 
5393     int arg2 
= (int) 0 ; 
5394     int arg3 
= (int) 0 ; 
5395     int arg4 
= (int) 0 ; 
5397     PyObject 
* obj0 
= 0 ; 
5398     PyObject 
* obj1 
= 0 ; 
5399     PyObject 
* obj2 
= 0 ; 
5400     PyObject 
* obj3 
= 0 ; 
5402         (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
5405     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
5407         arg1 
= (int)SWIG_As_int(obj0
);  
5408         if (PyErr_Occurred()) SWIG_fail
; 
5411         arg2 
= (int)SWIG_As_int(obj1
);  
5412         if (PyErr_Occurred()) SWIG_fail
; 
5415         arg3 
= (int)SWIG_As_int(obj2
);  
5416         if (PyErr_Occurred()) SWIG_fail
; 
5419         arg4 
= (int)SWIG_As_int(obj3
);  
5420         if (PyErr_Occurred()) SWIG_fail
; 
5423         if (!wxPyCheckForApp()) SWIG_fail
; 
5424         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5425         result 
= (wxRegion 
*)new wxRegion(arg1
,arg2
,arg3
,arg4
); 
5427         wxPyEndAllowThreads(__tstate
); 
5428         if (PyErr_Occurred()) SWIG_fail
; 
5430     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1); 
5437 static PyObject 
*_wrap_new_RegionFromBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5438     PyObject 
*resultobj
; 
5439     wxBitmap 
*arg1 
= 0 ; 
5441     PyObject 
* obj0 
= 0 ; 
5443         (char *) "bmp", NULL 
 
5446     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
; 
5447     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
5448     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5451         PyErr_SetString(PyExc_TypeError
,"null reference"); 
5455         if (!wxPyCheckForApp()) SWIG_fail
; 
5456         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5457         result 
= (wxRegion 
*)new wxRegion((wxBitmap 
const &)*arg1
); 
5459         wxPyEndAllowThreads(__tstate
); 
5460         if (PyErr_Occurred()) SWIG_fail
; 
5462     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1); 
5469 static PyObject 
*_wrap_new_RegionFromBitmapColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5470     PyObject 
*resultobj
; 
5471     wxBitmap 
*arg1 
= 0 ; 
5472     wxColour 
*arg2 
= 0 ; 
5473     int arg3 
= (int) 0 ; 
5476     PyObject 
* obj0 
= 0 ; 
5477     PyObject 
* obj1 
= 0 ; 
5478     PyObject 
* obj2 
= 0 ; 
5480         (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL 
 
5483     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5484     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
5485     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5488         PyErr_SetString(PyExc_TypeError
,"null reference"); 
5493         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
5496         arg3 
= (int)SWIG_As_int(obj2
);  
5497         if (PyErr_Occurred()) SWIG_fail
; 
5500         if (!wxPyCheckForApp()) SWIG_fail
; 
5501         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5502         result 
= (wxRegion 
*)new wxRegion((wxBitmap 
const &)*arg1
,(wxColour 
const &)*arg2
,arg3
); 
5504         wxPyEndAllowThreads(__tstate
); 
5505         if (PyErr_Occurred()) SWIG_fail
; 
5507     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1); 
5514 static PyObject 
*_wrap_new_RegionFromPoints(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5515     PyObject 
*resultobj
; 
5517     wxPoint 
*arg2 
= (wxPoint 
*) 0 ; 
5518     int arg3 
= (int) wxWINDING_RULE 
; 
5520     PyObject 
* obj0 
= 0 ; 
5521     PyObject 
* obj1 
= 0 ; 
5523         (char *) "points",(char *) "fillStyle", NULL 
 
5526     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
; 
5528         arg2 
= wxPoint_LIST_helper(obj0
, &arg1
); 
5529         if (arg2 
== NULL
) SWIG_fail
; 
5532         arg3 
= (int)SWIG_As_int(obj1
);  
5533         if (PyErr_Occurred()) SWIG_fail
; 
5536         if (!wxPyCheckForApp()) SWIG_fail
; 
5537         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5538         result 
= (wxRegion 
*)new wxRegion(arg1
,arg2
,arg3
); 
5540         wxPyEndAllowThreads(__tstate
); 
5541         if (PyErr_Occurred()) SWIG_fail
; 
5543     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1); 
5545         if (arg2
) delete [] arg2
; 
5550         if (arg2
) delete [] arg2
; 
5556 static PyObject 
*_wrap_delete_Region(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5557     PyObject 
*resultobj
; 
5558     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5559     PyObject 
* obj0 
= 0 ; 
5561         (char *) "self", NULL 
 
5564     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
; 
5565     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5566     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5568         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5571         wxPyEndAllowThreads(__tstate
); 
5572         if (PyErr_Occurred()) SWIG_fail
; 
5574     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5581 static PyObject 
*_wrap_Region_Clear(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5582     PyObject 
*resultobj
; 
5583     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5584     PyObject 
* obj0 
= 0 ; 
5586         (char *) "self", NULL 
 
5589     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
; 
5590     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5591     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5593         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5596         wxPyEndAllowThreads(__tstate
); 
5597         if (PyErr_Occurred()) SWIG_fail
; 
5599     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5606 static PyObject 
*_wrap_Region_Offset(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5607     PyObject 
*resultobj
; 
5608     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5612     PyObject 
* obj0 
= 0 ; 
5613     PyObject 
* obj1 
= 0 ; 
5614     PyObject 
* obj2 
= 0 ; 
5616         (char *) "self",(char *) "x",(char *) "y", NULL 
 
5619     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5620     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5621     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5622     arg2 
= (int)SWIG_As_int(obj1
);  
5623     if (PyErr_Occurred()) SWIG_fail
; 
5624     arg3 
= (int)SWIG_As_int(obj2
);  
5625     if (PyErr_Occurred()) SWIG_fail
; 
5627         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5628         result 
= (bool)(arg1
)->Offset(arg2
,arg3
); 
5630         wxPyEndAllowThreads(__tstate
); 
5631         if (PyErr_Occurred()) SWIG_fail
; 
5634         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5642 static PyObject 
*_wrap_Region_Contains(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5643     PyObject 
*resultobj
; 
5644     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5648     PyObject 
* obj0 
= 0 ; 
5649     PyObject 
* obj1 
= 0 ; 
5650     PyObject 
* obj2 
= 0 ; 
5652         (char *) "self",(char *) "x",(char *) "y", NULL 
 
5655     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5656     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5657     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5658     arg2 
= (int)SWIG_As_int(obj1
);  
5659     if (PyErr_Occurred()) SWIG_fail
; 
5660     arg3 
= (int)SWIG_As_int(obj2
);  
5661     if (PyErr_Occurred()) SWIG_fail
; 
5663         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5664         result 
= (int)(arg1
)->Contains(arg2
,arg3
); 
5666         wxPyEndAllowThreads(__tstate
); 
5667         if (PyErr_Occurred()) SWIG_fail
; 
5669     resultobj 
= SWIG_From_int((int)result
); 
5676 static PyObject 
*_wrap_Region_ContainsPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5677     PyObject 
*resultobj
; 
5678     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5682     PyObject 
* obj0 
= 0 ; 
5683     PyObject 
* obj1 
= 0 ; 
5685         (char *) "self",(char *) "pt", NULL 
 
5688     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
5689     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5690     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5693         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
5696         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5697         result 
= (int)(arg1
)->Contains((wxPoint 
const &)*arg2
); 
5699         wxPyEndAllowThreads(__tstate
); 
5700         if (PyErr_Occurred()) SWIG_fail
; 
5702     resultobj 
= SWIG_From_int((int)result
); 
5709 static PyObject 
*_wrap_Region_ContainsRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5710     PyObject 
*resultobj
; 
5711     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5715     PyObject 
* obj0 
= 0 ; 
5716     PyObject 
* obj1 
= 0 ; 
5718         (char *) "self",(char *) "rect", NULL 
 
5721     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
5722     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5723     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5726         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
5729         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5730         result 
= (int)(arg1
)->Contains((wxRect 
const &)*arg2
); 
5732         wxPyEndAllowThreads(__tstate
); 
5733         if (PyErr_Occurred()) SWIG_fail
; 
5735     resultobj 
= SWIG_From_int((int)result
); 
5742 static PyObject 
*_wrap_Region_ContainsRectDim(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5743     PyObject 
*resultobj
; 
5744     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5750     PyObject 
* obj0 
= 0 ; 
5751     PyObject 
* obj1 
= 0 ; 
5752     PyObject 
* obj2 
= 0 ; 
5753     PyObject 
* obj3 
= 0 ; 
5754     PyObject 
* obj4 
= 0 ; 
5756         (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL 
 
5759     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
5760     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5761     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5762     arg2 
= (int)SWIG_As_int(obj1
);  
5763     if (PyErr_Occurred()) SWIG_fail
; 
5764     arg3 
= (int)SWIG_As_int(obj2
);  
5765     if (PyErr_Occurred()) SWIG_fail
; 
5766     arg4 
= (int)SWIG_As_int(obj3
);  
5767     if (PyErr_Occurred()) SWIG_fail
; 
5768     arg5 
= (int)SWIG_As_int(obj4
);  
5769     if (PyErr_Occurred()) SWIG_fail
; 
5771         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5772         result 
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
); 
5774         wxPyEndAllowThreads(__tstate
); 
5775         if (PyErr_Occurred()) SWIG_fail
; 
5777     resultobj 
= SWIG_From_int((int)result
); 
5784 static PyObject 
*_wrap_Region_GetBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5785     PyObject 
*resultobj
; 
5786     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5788     PyObject 
* obj0 
= 0 ; 
5790         (char *) "self", NULL 
 
5793     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
; 
5794     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5795     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5797         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5798         result 
= (arg1
)->GetBox(); 
5800         wxPyEndAllowThreads(__tstate
); 
5801         if (PyErr_Occurred()) SWIG_fail
; 
5805         resultptr 
= new wxRect((wxRect 
&) result
); 
5806         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
5814 static PyObject 
*_wrap_Region_Intersect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5815     PyObject 
*resultobj
; 
5816     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5822     PyObject 
* obj0 
= 0 ; 
5823     PyObject 
* obj1 
= 0 ; 
5824     PyObject 
* obj2 
= 0 ; 
5825     PyObject 
* obj3 
= 0 ; 
5826     PyObject 
* obj4 
= 0 ; 
5828         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
5831     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
5832     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5833     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5834     arg2 
= (int)SWIG_As_int(obj1
);  
5835     if (PyErr_Occurred()) SWIG_fail
; 
5836     arg3 
= (int)SWIG_As_int(obj2
);  
5837     if (PyErr_Occurred()) SWIG_fail
; 
5838     arg4 
= (int)SWIG_As_int(obj3
);  
5839     if (PyErr_Occurred()) SWIG_fail
; 
5840     arg5 
= (int)SWIG_As_int(obj4
);  
5841     if (PyErr_Occurred()) SWIG_fail
; 
5843         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5844         result 
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
); 
5846         wxPyEndAllowThreads(__tstate
); 
5847         if (PyErr_Occurred()) SWIG_fail
; 
5850         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5858 static PyObject 
*_wrap_Region_IntersectRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5859     PyObject 
*resultobj
; 
5860     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5864     PyObject 
* obj0 
= 0 ; 
5865     PyObject 
* obj1 
= 0 ; 
5867         (char *) "self",(char *) "rect", NULL 
 
5870     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
5871     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5872     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5875         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
5878         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5879         result 
= (bool)(arg1
)->Intersect((wxRect 
const &)*arg2
); 
5881         wxPyEndAllowThreads(__tstate
); 
5882         if (PyErr_Occurred()) SWIG_fail
; 
5885         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5893 static PyObject 
*_wrap_Region_IntersectRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5894     PyObject 
*resultobj
; 
5895     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5896     wxRegion 
*arg2 
= 0 ; 
5898     PyObject 
* obj0 
= 0 ; 
5899     PyObject 
* obj1 
= 0 ; 
5901         (char *) "self",(char *) "region", NULL 
 
5904     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
; 
5905     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5906     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5907     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
, 
5908     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5911         PyErr_SetString(PyExc_TypeError
,"null reference"); 
5915         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5916         result 
= (bool)(arg1
)->Intersect((wxRegion 
const &)*arg2
); 
5918         wxPyEndAllowThreads(__tstate
); 
5919         if (PyErr_Occurred()) SWIG_fail
; 
5922         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5930 static PyObject 
*_wrap_Region_IsEmpty(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5931     PyObject 
*resultobj
; 
5932     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5934     PyObject 
* obj0 
= 0 ; 
5936         (char *) "self", NULL 
 
5939     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
; 
5940     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5941     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5943         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5944         result 
= (bool)(arg1
)->IsEmpty(); 
5946         wxPyEndAllowThreads(__tstate
); 
5947         if (PyErr_Occurred()) SWIG_fail
; 
5950         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5958 static PyObject 
*_wrap_Region_Union(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5959     PyObject 
*resultobj
; 
5960     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5966     PyObject 
* obj0 
= 0 ; 
5967     PyObject 
* obj1 
= 0 ; 
5968     PyObject 
* obj2 
= 0 ; 
5969     PyObject 
* obj3 
= 0 ; 
5970     PyObject 
* obj4 
= 0 ; 
5972         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
5975     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
5976     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5977     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5978     arg2 
= (int)SWIG_As_int(obj1
);  
5979     if (PyErr_Occurred()) SWIG_fail
; 
5980     arg3 
= (int)SWIG_As_int(obj2
);  
5981     if (PyErr_Occurred()) SWIG_fail
; 
5982     arg4 
= (int)SWIG_As_int(obj3
);  
5983     if (PyErr_Occurred()) SWIG_fail
; 
5984     arg5 
= (int)SWIG_As_int(obj4
);  
5985     if (PyErr_Occurred()) SWIG_fail
; 
5987         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5988         result 
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
); 
5990         wxPyEndAllowThreads(__tstate
); 
5991         if (PyErr_Occurred()) SWIG_fail
; 
5994         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6002 static PyObject 
*_wrap_Region_UnionRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6003     PyObject 
*resultobj
; 
6004     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6008     PyObject 
* obj0 
= 0 ; 
6009     PyObject 
* obj1 
= 0 ; 
6011         (char *) "self",(char *) "rect", NULL 
 
6014     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
6015     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
6016     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6019         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
6022         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6023         result 
= (bool)(arg1
)->Union((wxRect 
const &)*arg2
); 
6025         wxPyEndAllowThreads(__tstate
); 
6026         if (PyErr_Occurred()) SWIG_fail
; 
6029         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6037 static PyObject 
*_wrap_Region_UnionRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6038     PyObject 
*resultobj
; 
6039     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6040     wxRegion 
*arg2 
= 0 ; 
6042     PyObject 
* obj0 
= 0 ; 
6043     PyObject 
* obj1 
= 0 ; 
6045         (char *) "self",(char *) "region", NULL 
 
6048     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
; 
6049     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
6050     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6051     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
, 
6052     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6055         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6059         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6060         result 
= (bool)(arg1
)->Union((wxRegion 
const &)*arg2
); 
6062         wxPyEndAllowThreads(__tstate
); 
6063         if (PyErr_Occurred()) SWIG_fail
; 
6066         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6074 static PyObject 
*_wrap_Region_Subtract(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6075     PyObject 
*resultobj
; 
6076     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6082     PyObject 
* obj0 
= 0 ; 
6083     PyObject 
* obj1 
= 0 ; 
6084     PyObject 
* obj2 
= 0 ; 
6085     PyObject 
* obj3 
= 0 ; 
6086     PyObject 
* obj4 
= 0 ; 
6088         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
6091     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
6092     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
6093     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6094     arg2 
= (int)SWIG_As_int(obj1
);  
6095     if (PyErr_Occurred()) SWIG_fail
; 
6096     arg3 
= (int)SWIG_As_int(obj2
);  
6097     if (PyErr_Occurred()) SWIG_fail
; 
6098     arg4 
= (int)SWIG_As_int(obj3
);  
6099     if (PyErr_Occurred()) SWIG_fail
; 
6100     arg5 
= (int)SWIG_As_int(obj4
);  
6101     if (PyErr_Occurred()) SWIG_fail
; 
6103         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6104         result 
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
); 
6106         wxPyEndAllowThreads(__tstate
); 
6107         if (PyErr_Occurred()) SWIG_fail
; 
6110         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6118 static PyObject 
*_wrap_Region_SubtractRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6119     PyObject 
*resultobj
; 
6120     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6124     PyObject 
* obj0 
= 0 ; 
6125     PyObject 
* obj1 
= 0 ; 
6127         (char *) "self",(char *) "rect", NULL 
 
6130     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
6131     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
6132     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6135         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
6138         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6139         result 
= (bool)(arg1
)->Subtract((wxRect 
const &)*arg2
); 
6141         wxPyEndAllowThreads(__tstate
); 
6142         if (PyErr_Occurred()) SWIG_fail
; 
6145         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6153 static PyObject 
*_wrap_Region_SubtractRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6154     PyObject 
*resultobj
; 
6155     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6156     wxRegion 
*arg2 
= 0 ; 
6158     PyObject 
* obj0 
= 0 ; 
6159     PyObject 
* obj1 
= 0 ; 
6161         (char *) "self",(char *) "region", NULL 
 
6164     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
; 
6165     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
6166     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6167     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
, 
6168     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6171         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6175         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6176         result 
= (bool)(arg1
)->Subtract((wxRegion 
const &)*arg2
); 
6178         wxPyEndAllowThreads(__tstate
); 
6179         if (PyErr_Occurred()) SWIG_fail
; 
6182         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6190 static PyObject 
*_wrap_Region_Xor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6191     PyObject 
*resultobj
; 
6192     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6198     PyObject 
* obj0 
= 0 ; 
6199     PyObject 
* obj1 
= 0 ; 
6200     PyObject 
* obj2 
= 0 ; 
6201     PyObject 
* obj3 
= 0 ; 
6202     PyObject 
* obj4 
= 0 ; 
6204         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
6207     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
6208     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
6209     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6210     arg2 
= (int)SWIG_As_int(obj1
);  
6211     if (PyErr_Occurred()) SWIG_fail
; 
6212     arg3 
= (int)SWIG_As_int(obj2
);  
6213     if (PyErr_Occurred()) SWIG_fail
; 
6214     arg4 
= (int)SWIG_As_int(obj3
);  
6215     if (PyErr_Occurred()) SWIG_fail
; 
6216     arg5 
= (int)SWIG_As_int(obj4
);  
6217     if (PyErr_Occurred()) SWIG_fail
; 
6219         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6220         result 
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
); 
6222         wxPyEndAllowThreads(__tstate
); 
6223         if (PyErr_Occurred()) SWIG_fail
; 
6226         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6234 static PyObject 
*_wrap_Region_XorRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6235     PyObject 
*resultobj
; 
6236     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6240     PyObject 
* obj0 
= 0 ; 
6241     PyObject 
* obj1 
= 0 ; 
6243         (char *) "self",(char *) "rect", NULL 
 
6246     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
6247     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
6248     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6251         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
6254         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6255         result 
= (bool)(arg1
)->Xor((wxRect 
const &)*arg2
); 
6257         wxPyEndAllowThreads(__tstate
); 
6258         if (PyErr_Occurred()) SWIG_fail
; 
6261         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6269 static PyObject 
*_wrap_Region_XorRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6270     PyObject 
*resultobj
; 
6271     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6272     wxRegion 
*arg2 
= 0 ; 
6274     PyObject 
* obj0 
= 0 ; 
6275     PyObject 
* obj1 
= 0 ; 
6277         (char *) "self",(char *) "region", NULL 
 
6280     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
; 
6281     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
6282     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6283     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
, 
6284     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6287         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6291         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6292         result 
= (bool)(arg1
)->Xor((wxRegion 
const &)*arg2
); 
6294         wxPyEndAllowThreads(__tstate
); 
6295         if (PyErr_Occurred()) SWIG_fail
; 
6298         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6306 static PyObject 
*_wrap_Region_ConvertToBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6307     PyObject 
*resultobj
; 
6308     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6309     SwigValueWrapper
< wxBitmap 
> result
; 
6310     PyObject 
* obj0 
= 0 ; 
6312         (char *) "self", NULL 
 
6315     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
; 
6316     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
6317     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6319         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6320         result 
= (arg1
)->ConvertToBitmap(); 
6322         wxPyEndAllowThreads(__tstate
); 
6323         if (PyErr_Occurred()) SWIG_fail
; 
6326         wxBitmap 
* resultptr
; 
6327         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
6328         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
6336 static PyObject 
*_wrap_Region_UnionBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6337     PyObject 
*resultobj
; 
6338     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6339     wxBitmap 
*arg2 
= 0 ; 
6341     PyObject 
* obj0 
= 0 ; 
6342     PyObject 
* obj1 
= 0 ; 
6344         (char *) "self",(char *) "bmp", NULL 
 
6347     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
6348     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
6349     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6350     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
6351     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6354         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6358         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6359         result 
= (bool)(arg1
)->Union((wxBitmap 
const &)*arg2
); 
6361         wxPyEndAllowThreads(__tstate
); 
6362         if (PyErr_Occurred()) SWIG_fail
; 
6365         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6373 static PyObject 
*_wrap_Region_UnionBitmapColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6374     PyObject 
*resultobj
; 
6375     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6376     wxBitmap 
*arg2 
= 0 ; 
6377     wxColour 
*arg3 
= 0 ; 
6378     int arg4 
= (int) 0 ; 
6381     PyObject 
* obj0 
= 0 ; 
6382     PyObject 
* obj1 
= 0 ; 
6383     PyObject 
* obj2 
= 0 ; 
6384     PyObject 
* obj3 
= 0 ; 
6386         (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL 
 
6389     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
6390     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
6391     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6392     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
6393     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6396         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6401         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
6404         arg4 
= (int)SWIG_As_int(obj3
);  
6405         if (PyErr_Occurred()) SWIG_fail
; 
6408         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6409         result 
= (bool)(arg1
)->Union((wxBitmap 
const &)*arg2
,(wxColour 
const &)*arg3
,arg4
); 
6411         wxPyEndAllowThreads(__tstate
); 
6412         if (PyErr_Occurred()) SWIG_fail
; 
6415         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6423 static PyObject 
* Region_swigregister(PyObject 
*, PyObject 
*args
) { 
6425     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6426     SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
); 
6428     return Py_BuildValue((char *)""); 
6430 static PyObject 
*_wrap_new_RegionIterator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6431     PyObject 
*resultobj
; 
6432     wxRegion 
*arg1 
= 0 ; 
6433     wxRegionIterator 
*result
; 
6434     PyObject 
* obj0 
= 0 ; 
6436         (char *) "region", NULL 
 
6439     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
; 
6440     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
6441     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6444         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6448         if (!wxPyCheckForApp()) SWIG_fail
; 
6449         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6450         result 
= (wxRegionIterator 
*)new wxRegionIterator((wxRegion 
const &)*arg1
); 
6452         wxPyEndAllowThreads(__tstate
); 
6453         if (PyErr_Occurred()) SWIG_fail
; 
6455     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1); 
6462 static PyObject 
*_wrap_delete_RegionIterator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6463     PyObject 
*resultobj
; 
6464     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
6465     PyObject 
* obj0 
= 0 ; 
6467         (char *) "self", NULL 
 
6470     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
; 
6471     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
6472     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6474         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6477         wxPyEndAllowThreads(__tstate
); 
6478         if (PyErr_Occurred()) SWIG_fail
; 
6480     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6487 static PyObject 
*_wrap_RegionIterator_GetX(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6488     PyObject 
*resultobj
; 
6489     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
6491     PyObject 
* obj0 
= 0 ; 
6493         (char *) "self", NULL 
 
6496     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
; 
6497     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
6498     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6500         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6501         result 
= (int)(arg1
)->GetX(); 
6503         wxPyEndAllowThreads(__tstate
); 
6504         if (PyErr_Occurred()) SWIG_fail
; 
6506     resultobj 
= SWIG_From_int((int)result
); 
6513 static PyObject 
*_wrap_RegionIterator_GetY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6514     PyObject 
*resultobj
; 
6515     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
6517     PyObject 
* obj0 
= 0 ; 
6519         (char *) "self", NULL 
 
6522     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
; 
6523     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
6524     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6526         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6527         result 
= (int)(arg1
)->GetY(); 
6529         wxPyEndAllowThreads(__tstate
); 
6530         if (PyErr_Occurred()) SWIG_fail
; 
6532     resultobj 
= SWIG_From_int((int)result
); 
6539 static PyObject 
*_wrap_RegionIterator_GetW(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6540     PyObject 
*resultobj
; 
6541     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
6543     PyObject 
* obj0 
= 0 ; 
6545         (char *) "self", NULL 
 
6548     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
; 
6549     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
6550     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6552         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6553         result 
= (int)(arg1
)->GetW(); 
6555         wxPyEndAllowThreads(__tstate
); 
6556         if (PyErr_Occurred()) SWIG_fail
; 
6558     resultobj 
= SWIG_From_int((int)result
); 
6565 static PyObject 
*_wrap_RegionIterator_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6566     PyObject 
*resultobj
; 
6567     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
6569     PyObject 
* obj0 
= 0 ; 
6571         (char *) "self", NULL 
 
6574     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
; 
6575     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
6576     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6578         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6579         result 
= (int)(arg1
)->GetWidth(); 
6581         wxPyEndAllowThreads(__tstate
); 
6582         if (PyErr_Occurred()) SWIG_fail
; 
6584     resultobj 
= SWIG_From_int((int)result
); 
6591 static PyObject 
*_wrap_RegionIterator_GetH(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6592     PyObject 
*resultobj
; 
6593     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
6595     PyObject 
* obj0 
= 0 ; 
6597         (char *) "self", NULL 
 
6600     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
; 
6601     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
6602     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6604         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6605         result 
= (int)(arg1
)->GetH(); 
6607         wxPyEndAllowThreads(__tstate
); 
6608         if (PyErr_Occurred()) SWIG_fail
; 
6610     resultobj 
= SWIG_From_int((int)result
); 
6617 static PyObject 
*_wrap_RegionIterator_GetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6618     PyObject 
*resultobj
; 
6619     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
6621     PyObject 
* obj0 
= 0 ; 
6623         (char *) "self", NULL 
 
6626     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
; 
6627     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
6628     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6630         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6631         result 
= (int)(arg1
)->GetHeight(); 
6633         wxPyEndAllowThreads(__tstate
); 
6634         if (PyErr_Occurred()) SWIG_fail
; 
6636     resultobj 
= SWIG_From_int((int)result
); 
6643 static PyObject 
*_wrap_RegionIterator_GetRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6644     PyObject 
*resultobj
; 
6645     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
6647     PyObject 
* obj0 
= 0 ; 
6649         (char *) "self", NULL 
 
6652     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
; 
6653     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
6654     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6656         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6657         result 
= (arg1
)->GetRect(); 
6659         wxPyEndAllowThreads(__tstate
); 
6660         if (PyErr_Occurred()) SWIG_fail
; 
6664         resultptr 
= new wxRect((wxRect 
&) result
); 
6665         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
6673 static PyObject 
*_wrap_RegionIterator_HaveRects(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6674     PyObject 
*resultobj
; 
6675     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
6677     PyObject 
* obj0 
= 0 ; 
6679         (char *) "self", NULL 
 
6682     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
; 
6683     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
6684     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6686         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6687         result 
= (bool)(arg1
)->HaveRects(); 
6689         wxPyEndAllowThreads(__tstate
); 
6690         if (PyErr_Occurred()) SWIG_fail
; 
6693         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6701 static PyObject 
*_wrap_RegionIterator_Reset(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6702     PyObject 
*resultobj
; 
6703     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
6704     PyObject 
* obj0 
= 0 ; 
6706         (char *) "self", NULL 
 
6709     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
; 
6710     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
6711     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6713         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6716         wxPyEndAllowThreads(__tstate
); 
6717         if (PyErr_Occurred()) SWIG_fail
; 
6719     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6726 static PyObject 
*_wrap_RegionIterator_Next(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6727     PyObject 
*resultobj
; 
6728     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
6729     PyObject 
* obj0 
= 0 ; 
6731         (char *) "self", NULL 
 
6734     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
; 
6735     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
6736     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6738         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6739         wxRegionIterator_Next(arg1
); 
6741         wxPyEndAllowThreads(__tstate
); 
6742         if (PyErr_Occurred()) SWIG_fail
; 
6744     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6751 static PyObject 
*_wrap_RegionIterator___nonzero__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6752     PyObject 
*resultobj
; 
6753     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
6755     PyObject 
* obj0 
= 0 ; 
6757         (char *) "self", NULL 
 
6760     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
; 
6761     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
6762     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6764         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6765         result 
= (bool)wxRegionIterator___nonzero__(arg1
); 
6767         wxPyEndAllowThreads(__tstate
); 
6768         if (PyErr_Occurred()) SWIG_fail
; 
6771         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6779 static PyObject 
* RegionIterator_swigregister(PyObject 
*, PyObject 
*args
) { 
6781     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6782     SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
); 
6784     return Py_BuildValue((char *)""); 
6786 static PyObject 
*_wrap_new_NativeFontInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6787     PyObject 
*resultobj
; 
6788     wxNativeFontInfo 
*result
; 
6793     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
; 
6795         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6796         result 
= (wxNativeFontInfo 
*)new wxNativeFontInfo(); 
6798         wxPyEndAllowThreads(__tstate
); 
6799         if (PyErr_Occurred()) SWIG_fail
; 
6801     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1); 
6808 static PyObject 
*_wrap_delete_NativeFontInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6809     PyObject 
*resultobj
; 
6810     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6811     PyObject 
* obj0 
= 0 ; 
6813         (char *) "self", NULL 
 
6816     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",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(); 
6823         wxPyEndAllowThreads(__tstate
); 
6824         if (PyErr_Occurred()) SWIG_fail
; 
6826     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6833 static PyObject 
*_wrap_NativeFontInfo_Init(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6834     PyObject 
*resultobj
; 
6835     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6836     PyObject 
* obj0 
= 0 ; 
6838         (char *) "self", NULL 
 
6841     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
; 
6842     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6843     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6845         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6848         wxPyEndAllowThreads(__tstate
); 
6849         if (PyErr_Occurred()) SWIG_fail
; 
6851     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6858 static PyObject 
*_wrap_NativeFontInfo_InitFromFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6859     PyObject 
*resultobj
; 
6860     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6862     PyObject 
* obj0 
= 0 ; 
6863     PyObject 
* obj1 
= 0 ; 
6865         (char *) "self",(char *) "font", NULL 
 
6868     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
6869     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6870     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6871     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
6872     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6875         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6879         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6880         (arg1
)->InitFromFont((wxFont 
const &)*arg2
); 
6882         wxPyEndAllowThreads(__tstate
); 
6883         if (PyErr_Occurred()) SWIG_fail
; 
6885     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6892 static PyObject 
*_wrap_NativeFontInfo_GetPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6893     PyObject 
*resultobj
; 
6894     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6896     PyObject 
* obj0 
= 0 ; 
6898         (char *) "self", NULL 
 
6901     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
; 
6902     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6903     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6905         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6906         result 
= (int)((wxNativeFontInfo 
const *)arg1
)->GetPointSize(); 
6908         wxPyEndAllowThreads(__tstate
); 
6909         if (PyErr_Occurred()) SWIG_fail
; 
6911     resultobj 
= SWIG_From_int((int)result
); 
6918 static PyObject 
*_wrap_NativeFontInfo_GetPixelSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6919     PyObject 
*resultobj
; 
6920     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6922     PyObject 
* obj0 
= 0 ; 
6924         (char *) "self", NULL 
 
6927     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPixelSize",kwnames
,&obj0
)) goto fail
; 
6928     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6929     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6931         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6932         result 
= ((wxNativeFontInfo 
const *)arg1
)->GetPixelSize(); 
6934         wxPyEndAllowThreads(__tstate
); 
6935         if (PyErr_Occurred()) SWIG_fail
; 
6939         resultptr 
= new wxSize((wxSize 
&) result
); 
6940         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
6948 static PyObject 
*_wrap_NativeFontInfo_GetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6949     PyObject 
*resultobj
; 
6950     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6952     PyObject 
* obj0 
= 0 ; 
6954         (char *) "self", NULL 
 
6957     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
; 
6958     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6959     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6961         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6962         result 
= (int)((wxNativeFontInfo 
const *)arg1
)->GetStyle(); 
6964         wxPyEndAllowThreads(__tstate
); 
6965         if (PyErr_Occurred()) SWIG_fail
; 
6967     resultobj 
= SWIG_From_int((int)result
); 
6974 static PyObject 
*_wrap_NativeFontInfo_GetWeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6975     PyObject 
*resultobj
; 
6976     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6978     PyObject 
* obj0 
= 0 ; 
6980         (char *) "self", NULL 
 
6983     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
; 
6984     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6985     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6987         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6988         result 
= (int)((wxNativeFontInfo 
const *)arg1
)->GetWeight(); 
6990         wxPyEndAllowThreads(__tstate
); 
6991         if (PyErr_Occurred()) SWIG_fail
; 
6993     resultobj 
= SWIG_From_int((int)result
); 
7000 static PyObject 
*_wrap_NativeFontInfo_GetUnderlined(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7001     PyObject 
*resultobj
; 
7002     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7004     PyObject 
* obj0 
= 0 ; 
7006         (char *) "self", NULL 
 
7009     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
; 
7010     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7011     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7013         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7014         result 
= (bool)((wxNativeFontInfo 
const *)arg1
)->GetUnderlined(); 
7016         wxPyEndAllowThreads(__tstate
); 
7017         if (PyErr_Occurred()) SWIG_fail
; 
7020         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7028 static PyObject 
*_wrap_NativeFontInfo_GetFaceName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7029     PyObject 
*resultobj
; 
7030     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7032     PyObject 
* obj0 
= 0 ; 
7034         (char *) "self", NULL 
 
7037     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
; 
7038     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7039     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7041         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7042         result 
= ((wxNativeFontInfo 
const *)arg1
)->GetFaceName(); 
7044         wxPyEndAllowThreads(__tstate
); 
7045         if (PyErr_Occurred()) SWIG_fail
; 
7049         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7051         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
7060 static PyObject 
*_wrap_NativeFontInfo_GetFamily(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7061     PyObject 
*resultobj
; 
7062     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7064     PyObject 
* obj0 
= 0 ; 
7066         (char *) "self", NULL 
 
7069     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
; 
7070     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7071     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7073         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7074         result 
= (int)((wxNativeFontInfo 
const *)arg1
)->GetFamily(); 
7076         wxPyEndAllowThreads(__tstate
); 
7077         if (PyErr_Occurred()) SWIG_fail
; 
7079     resultobj 
= SWIG_From_int((int)result
); 
7086 static PyObject 
*_wrap_NativeFontInfo_GetEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7087     PyObject 
*resultobj
; 
7088     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7090     PyObject 
* obj0 
= 0 ; 
7092         (char *) "self", NULL 
 
7095     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
; 
7096     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7097     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7099         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7100         result 
= (int)((wxNativeFontInfo 
const *)arg1
)->GetEncoding(); 
7102         wxPyEndAllowThreads(__tstate
); 
7103         if (PyErr_Occurred()) SWIG_fail
; 
7105     resultobj 
= SWIG_From_int((int)result
); 
7112 static PyObject 
*_wrap_NativeFontInfo_SetPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7113     PyObject 
*resultobj
; 
7114     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7116     PyObject 
* obj0 
= 0 ; 
7117     PyObject 
* obj1 
= 0 ; 
7119         (char *) "self",(char *) "pointsize", NULL 
 
7122     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
7123     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7124     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7125     arg2 
= (int)SWIG_As_int(obj1
);  
7126     if (PyErr_Occurred()) SWIG_fail
; 
7128         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7129         (arg1
)->SetPointSize(arg2
); 
7131         wxPyEndAllowThreads(__tstate
); 
7132         if (PyErr_Occurred()) SWIG_fail
; 
7134     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7141 static PyObject 
*_wrap_NativeFontInfo_SetPixelSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7142     PyObject 
*resultobj
; 
7143     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7146     PyObject 
* obj0 
= 0 ; 
7147     PyObject 
* obj1 
= 0 ; 
7149         (char *) "self",(char *) "pixelSize", NULL 
 
7152     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
7153     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7154     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7157         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
7160         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7161         (arg1
)->SetPixelSize((wxSize 
const &)*arg2
); 
7163         wxPyEndAllowThreads(__tstate
); 
7164         if (PyErr_Occurred()) SWIG_fail
; 
7166     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7173 static PyObject 
*_wrap_NativeFontInfo_SetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7174     PyObject 
*resultobj
; 
7175     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7177     PyObject 
* obj0 
= 0 ; 
7178     PyObject 
* obj1 
= 0 ; 
7180         (char *) "self",(char *) "style", NULL 
 
7183     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
7184     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7185     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7186     arg2 
= (int)SWIG_As_int(obj1
);  
7187     if (PyErr_Occurred()) SWIG_fail
; 
7189         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7190         (arg1
)->SetStyle((wxFontStyle 
)arg2
); 
7192         wxPyEndAllowThreads(__tstate
); 
7193         if (PyErr_Occurred()) SWIG_fail
; 
7195     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7202 static PyObject 
*_wrap_NativeFontInfo_SetWeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7203     PyObject 
*resultobj
; 
7204     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7206     PyObject 
* obj0 
= 0 ; 
7207     PyObject 
* obj1 
= 0 ; 
7209         (char *) "self",(char *) "weight", NULL 
 
7212     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
; 
7213     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7214     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7215     arg2 
= (int)SWIG_As_int(obj1
);  
7216     if (PyErr_Occurred()) SWIG_fail
; 
7218         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7219         (arg1
)->SetWeight((wxFontWeight 
)arg2
); 
7221         wxPyEndAllowThreads(__tstate
); 
7222         if (PyErr_Occurred()) SWIG_fail
; 
7224     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7231 static PyObject 
*_wrap_NativeFontInfo_SetUnderlined(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7232     PyObject 
*resultobj
; 
7233     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7235     PyObject 
* obj0 
= 0 ; 
7236     PyObject 
* obj1 
= 0 ; 
7238         (char *) "self",(char *) "underlined", NULL 
 
7241     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
; 
7242     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7243     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7244     arg2 
= (bool)SWIG_As_bool(obj1
);  
7245     if (PyErr_Occurred()) SWIG_fail
; 
7247         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7248         (arg1
)->SetUnderlined(arg2
); 
7250         wxPyEndAllowThreads(__tstate
); 
7251         if (PyErr_Occurred()) SWIG_fail
; 
7253     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7260 static PyObject 
*_wrap_NativeFontInfo_SetFaceName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7261     PyObject 
*resultobj
; 
7262     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7264     PyObject 
* obj0 
= 0 ; 
7265     PyObject 
* obj1 
= 0 ; 
7267         (char *) "self",(char *) "facename", NULL 
 
7270     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
; 
7271     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7272     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7274         wxString
* sptr 
= wxString_in_helper(obj1
); 
7275         if (sptr 
== NULL
) SWIG_fail
; 
7280         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7281         (arg1
)->SetFaceName(arg2
); 
7283         wxPyEndAllowThreads(__tstate
); 
7284         if (PyErr_Occurred()) SWIG_fail
; 
7286     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7293 static PyObject 
*_wrap_NativeFontInfo_SetFamily(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7294     PyObject 
*resultobj
; 
7295     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7297     PyObject 
* obj0 
= 0 ; 
7298     PyObject 
* obj1 
= 0 ; 
7300         (char *) "self",(char *) "family", NULL 
 
7303     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
; 
7304     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7305     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7306     arg2 
= (int)SWIG_As_int(obj1
);  
7307     if (PyErr_Occurred()) SWIG_fail
; 
7309         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7310         (arg1
)->SetFamily((wxFontFamily 
)arg2
); 
7312         wxPyEndAllowThreads(__tstate
); 
7313         if (PyErr_Occurred()) SWIG_fail
; 
7315     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7322 static PyObject 
*_wrap_NativeFontInfo_SetEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7323     PyObject 
*resultobj
; 
7324     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7326     PyObject 
* obj0 
= 0 ; 
7327     PyObject 
* obj1 
= 0 ; 
7329         (char *) "self",(char *) "encoding", NULL 
 
7332     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
; 
7333     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7334     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7335     arg2 
= (int)SWIG_As_int(obj1
);  
7336     if (PyErr_Occurred()) SWIG_fail
; 
7338         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7339         (arg1
)->SetEncoding((wxFontEncoding 
)arg2
); 
7341         wxPyEndAllowThreads(__tstate
); 
7342         if (PyErr_Occurred()) SWIG_fail
; 
7344     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7351 static PyObject 
*_wrap_NativeFontInfo_FromString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7352     PyObject 
*resultobj
; 
7353     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7354     wxString 
*arg2 
= 0 ; 
7356     bool temp2 
= false ; 
7357     PyObject 
* obj0 
= 0 ; 
7358     PyObject 
* obj1 
= 0 ; 
7360         (char *) "self",(char *) "s", NULL 
 
7363     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
; 
7364     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7365     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7367         arg2 
= wxString_in_helper(obj1
); 
7368         if (arg2 
== NULL
) SWIG_fail
; 
7372         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7373         result 
= (bool)(arg1
)->FromString((wxString 
const &)*arg2
); 
7375         wxPyEndAllowThreads(__tstate
); 
7376         if (PyErr_Occurred()) SWIG_fail
; 
7379         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7395 static PyObject 
*_wrap_NativeFontInfo_ToString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7396     PyObject 
*resultobj
; 
7397     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7399     PyObject 
* obj0 
= 0 ; 
7401         (char *) "self", NULL 
 
7404     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
; 
7405     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7406     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7408         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7409         result 
= ((wxNativeFontInfo 
const *)arg1
)->ToString(); 
7411         wxPyEndAllowThreads(__tstate
); 
7412         if (PyErr_Occurred()) SWIG_fail
; 
7416         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7418         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
7427 static PyObject 
*_wrap_NativeFontInfo___str__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7428     PyObject 
*resultobj
; 
7429     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7431     PyObject 
* obj0 
= 0 ; 
7433         (char *) "self", NULL 
 
7436     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
; 
7437     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7438     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7440         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7441         result 
= wxNativeFontInfo___str__(arg1
); 
7443         wxPyEndAllowThreads(__tstate
); 
7444         if (PyErr_Occurred()) SWIG_fail
; 
7448         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7450         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
7459 static PyObject 
*_wrap_NativeFontInfo_FromUserString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7460     PyObject 
*resultobj
; 
7461     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7462     wxString 
*arg2 
= 0 ; 
7464     bool temp2 
= false ; 
7465     PyObject 
* obj0 
= 0 ; 
7466     PyObject 
* obj1 
= 0 ; 
7468         (char *) "self",(char *) "s", NULL 
 
7471     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
; 
7472     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7473     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7475         arg2 
= wxString_in_helper(obj1
); 
7476         if (arg2 
== NULL
) SWIG_fail
; 
7480         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7481         result 
= (bool)(arg1
)->FromUserString((wxString 
const &)*arg2
); 
7483         wxPyEndAllowThreads(__tstate
); 
7484         if (PyErr_Occurred()) SWIG_fail
; 
7487         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7503 static PyObject 
*_wrap_NativeFontInfo_ToUserString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7504     PyObject 
*resultobj
; 
7505     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7507     PyObject 
* obj0 
= 0 ; 
7509         (char *) "self", NULL 
 
7512     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
; 
7513     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7514     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7516         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7517         result 
= ((wxNativeFontInfo 
const *)arg1
)->ToUserString(); 
7519         wxPyEndAllowThreads(__tstate
); 
7520         if (PyErr_Occurred()) SWIG_fail
; 
7524         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7526         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
7535 static PyObject 
* NativeFontInfo_swigregister(PyObject 
*, PyObject 
*args
) { 
7537     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7538     SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
); 
7540     return Py_BuildValue((char *)""); 
7542 static PyObject 
*_wrap_NativeEncodingInfo_facename_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7543     PyObject 
*resultobj
; 
7544     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
7545     wxString 
*arg2 
= (wxString 
*) 0 ; 
7546     bool temp2 
= false ; 
7547     PyObject 
* obj0 
= 0 ; 
7548     PyObject 
* obj1 
= 0 ; 
7550         (char *) "self",(char *) "facename", NULL 
 
7553     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
7554     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
, 
7555     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7557         arg2 
= wxString_in_helper(obj1
); 
7558         if (arg2 
== NULL
) SWIG_fail
; 
7561     if (arg1
) (arg1
)->facename 
= *arg2
; 
7563     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7578 static PyObject 
*_wrap_NativeEncodingInfo_facename_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7579     PyObject 
*resultobj
; 
7580     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
7582     PyObject 
* obj0 
= 0 ; 
7584         (char *) "self", NULL 
 
7587     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
; 
7588     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
, 
7589     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7590     result 
= (wxString 
*)& ((arg1
)->facename
); 
7594         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
7596         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
7605 static PyObject 
*_wrap_NativeEncodingInfo_encoding_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7606     PyObject 
*resultobj
; 
7607     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
7609     PyObject 
* obj0 
= 0 ; 
7610     PyObject 
* obj1 
= 0 ; 
7612         (char *) "self",(char *) "encoding", NULL 
 
7615     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
7616     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
, 
7617     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7618     arg2 
= (int)SWIG_As_int(obj1
);  
7619     if (PyErr_Occurred()) SWIG_fail
; 
7620     if (arg1
) (arg1
)->encoding 
= (wxFontEncoding 
)arg2
; 
7622     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7629 static PyObject 
*_wrap_NativeEncodingInfo_encoding_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7630     PyObject 
*resultobj
; 
7631     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
7633     PyObject 
* obj0 
= 0 ; 
7635         (char *) "self", NULL 
 
7638     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
; 
7639     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
, 
7640     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7641     result 
= (int) ((arg1
)->encoding
); 
7643     resultobj 
= SWIG_From_int((int)result
); 
7650 static PyObject 
*_wrap_new_NativeEncodingInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7651     PyObject 
*resultobj
; 
7652     wxNativeEncodingInfo 
*result
; 
7657     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
; 
7659         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7660         result 
= (wxNativeEncodingInfo 
*)new wxNativeEncodingInfo(); 
7662         wxPyEndAllowThreads(__tstate
); 
7663         if (PyErr_Occurred()) SWIG_fail
; 
7665     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1); 
7672 static PyObject 
*_wrap_delete_NativeEncodingInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7673     PyObject 
*resultobj
; 
7674     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
7675     PyObject 
* obj0 
= 0 ; 
7677         (char *) "self", NULL 
 
7680     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
; 
7681     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
, 
7682     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7684         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7687         wxPyEndAllowThreads(__tstate
); 
7688         if (PyErr_Occurred()) SWIG_fail
; 
7690     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7697 static PyObject 
*_wrap_NativeEncodingInfo_FromString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7698     PyObject 
*resultobj
; 
7699     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
7700     wxString 
*arg2 
= 0 ; 
7702     bool temp2 
= false ; 
7703     PyObject 
* obj0 
= 0 ; 
7704     PyObject 
* obj1 
= 0 ; 
7706         (char *) "self",(char *) "s", NULL 
 
7709     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
; 
7710     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
, 
7711     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7713         arg2 
= wxString_in_helper(obj1
); 
7714         if (arg2 
== NULL
) SWIG_fail
; 
7718         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7719         result 
= (bool)(arg1
)->FromString((wxString 
const &)*arg2
); 
7721         wxPyEndAllowThreads(__tstate
); 
7722         if (PyErr_Occurred()) SWIG_fail
; 
7725         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7741 static PyObject 
*_wrap_NativeEncodingInfo_ToString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7742     PyObject 
*resultobj
; 
7743     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
7745     PyObject 
* obj0 
= 0 ; 
7747         (char *) "self", NULL 
 
7750     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
; 
7751     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
, 
7752     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7754         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7755         result 
= ((wxNativeEncodingInfo 
const *)arg1
)->ToString(); 
7757         wxPyEndAllowThreads(__tstate
); 
7758         if (PyErr_Occurred()) SWIG_fail
; 
7762         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7764         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
7773 static PyObject 
* NativeEncodingInfo_swigregister(PyObject 
*, PyObject 
*args
) { 
7775     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7776     SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
); 
7778     return Py_BuildValue((char *)""); 
7780 static PyObject 
*_wrap_GetNativeFontEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7781     PyObject 
*resultobj
; 
7783     wxNativeEncodingInfo 
*result
; 
7784     PyObject 
* obj0 
= 0 ; 
7786         (char *) "encoding", NULL 
 
7789     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
; 
7790     arg1 
= (int)SWIG_As_int(obj0
);  
7791     if (PyErr_Occurred()) SWIG_fail
; 
7793         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7794         result 
= (wxNativeEncodingInfo 
*)wxGetNativeFontEncoding((wxFontEncoding 
)arg1
); 
7796         wxPyEndAllowThreads(__tstate
); 
7797         if (PyErr_Occurred()) SWIG_fail
; 
7799     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0); 
7806 static PyObject 
*_wrap_TestFontEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7807     PyObject 
*resultobj
; 
7808     wxNativeEncodingInfo 
*arg1 
= 0 ; 
7810     PyObject 
* obj0 
= 0 ; 
7812         (char *) "info", NULL 
 
7815     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
; 
7816     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
, 
7817     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
7820         PyErr_SetString(PyExc_TypeError
,"null reference"); 
7824         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7825         result 
= (bool)wxTestFontEncoding((wxNativeEncodingInfo 
const &)*arg1
); 
7827         wxPyEndAllowThreads(__tstate
); 
7828         if (PyErr_Occurred()) SWIG_fail
; 
7831         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7839 static PyObject 
*_wrap_new_FontMapper(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7840     PyObject 
*resultobj
; 
7841     wxFontMapper 
*result
; 
7846     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
; 
7848         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7849         result 
= (wxFontMapper 
*)new wxFontMapper(); 
7851         wxPyEndAllowThreads(__tstate
); 
7852         if (PyErr_Occurred()) SWIG_fail
; 
7854     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1); 
7861 static PyObject 
*_wrap_delete_FontMapper(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7862     PyObject 
*resultobj
; 
7863     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
7864     PyObject 
* obj0 
= 0 ; 
7866         (char *) "self", NULL 
 
7869     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
; 
7870     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
, 
7871     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7873         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7876         wxPyEndAllowThreads(__tstate
); 
7877         if (PyErr_Occurred()) SWIG_fail
; 
7879     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7886 static PyObject 
*_wrap_FontMapper_Get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7887     PyObject 
*resultobj
; 
7888     wxFontMapper 
*result
; 
7893     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
; 
7895         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7896         result 
= (wxFontMapper 
*)wxFontMapper::Get(); 
7898         wxPyEndAllowThreads(__tstate
); 
7899         if (PyErr_Occurred()) SWIG_fail
; 
7901     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0); 
7908 static PyObject 
*_wrap_FontMapper_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7909     PyObject 
*resultobj
; 
7910     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
7911     wxFontMapper 
*result
; 
7912     PyObject 
* obj0 
= 0 ; 
7914         (char *) "mapper", NULL 
 
7917     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
; 
7918     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
, 
7919     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7921         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7922         result 
= (wxFontMapper 
*)wxFontMapper::Set(arg1
); 
7924         wxPyEndAllowThreads(__tstate
); 
7925         if (PyErr_Occurred()) SWIG_fail
; 
7927     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0); 
7934 static PyObject 
*_wrap_FontMapper_CharsetToEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7935     PyObject 
*resultobj
; 
7936     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
7937     wxString 
*arg2 
= 0 ; 
7938     bool arg3 
= (bool) true ; 
7940     bool temp2 
= false ; 
7941     PyObject 
* obj0 
= 0 ; 
7942     PyObject 
* obj1 
= 0 ; 
7943     PyObject 
* obj2 
= 0 ; 
7945         (char *) "self",(char *) "charset",(char *) "interactive", NULL 
 
7948     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7949     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
, 
7950     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7952         arg2 
= wxString_in_helper(obj1
); 
7953         if (arg2 
== NULL
) SWIG_fail
; 
7957         arg3 
= (bool)SWIG_As_bool(obj2
);  
7958         if (PyErr_Occurred()) SWIG_fail
; 
7961         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7962         result 
= (int)(arg1
)->CharsetToEncoding((wxString 
const &)*arg2
,arg3
); 
7964         wxPyEndAllowThreads(__tstate
); 
7965         if (PyErr_Occurred()) SWIG_fail
; 
7967     resultobj 
= SWIG_From_int((int)result
); 
7982 static PyObject 
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7983     PyObject 
*resultobj
; 
7989     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
; 
7991         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7992         result 
= (size_t)wxFontMapper::GetSupportedEncodingsCount(); 
7994         wxPyEndAllowThreads(__tstate
); 
7995         if (PyErr_Occurred()) SWIG_fail
; 
7997     resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)result
); 
8004 static PyObject 
*_wrap_FontMapper_GetEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8005     PyObject 
*resultobj
; 
8008     PyObject 
* obj0 
= 0 ; 
8013     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
; 
8014     arg1 
= (size_t)SWIG_As_unsigned_SS_long(obj0
);  
8015     if (PyErr_Occurred()) SWIG_fail
; 
8017         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8018         result 
= (int)wxFontMapper::GetEncoding(arg1
); 
8020         wxPyEndAllowThreads(__tstate
); 
8021         if (PyErr_Occurred()) SWIG_fail
; 
8023     resultobj 
= SWIG_From_int((int)result
); 
8030 static PyObject 
*_wrap_FontMapper_GetEncodingName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8031     PyObject 
*resultobj
; 
8034     PyObject 
* obj0 
= 0 ; 
8036         (char *) "encoding", NULL 
 
8039     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
; 
8040     arg1 
= (int)SWIG_As_int(obj0
);  
8041     if (PyErr_Occurred()) SWIG_fail
; 
8043         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8044         result 
= wxFontMapper::GetEncodingName((wxFontEncoding 
)arg1
); 
8046         wxPyEndAllowThreads(__tstate
); 
8047         if (PyErr_Occurred()) SWIG_fail
; 
8051         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8053         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8062 static PyObject 
*_wrap_FontMapper_GetEncodingDescription(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8063     PyObject 
*resultobj
; 
8066     PyObject 
* obj0 
= 0 ; 
8068         (char *) "encoding", NULL 
 
8071     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
; 
8072     arg1 
= (int)SWIG_As_int(obj0
);  
8073     if (PyErr_Occurred()) SWIG_fail
; 
8075         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8076         result 
= wxFontMapper::GetEncodingDescription((wxFontEncoding 
)arg1
); 
8078         wxPyEndAllowThreads(__tstate
); 
8079         if (PyErr_Occurred()) SWIG_fail
; 
8083         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8085         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8094 static PyObject 
*_wrap_FontMapper_GetEncodingFromName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8095     PyObject 
*resultobj
; 
8096     wxString 
*arg1 
= 0 ; 
8098     bool temp1 
= false ; 
8099     PyObject 
* obj0 
= 0 ; 
8101         (char *) "name", NULL 
 
8104     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
; 
8106         arg1 
= wxString_in_helper(obj0
); 
8107         if (arg1 
== NULL
) SWIG_fail
; 
8111         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8112         result 
= (int)wxFontMapper::GetEncodingFromName((wxString 
const &)*arg1
); 
8114         wxPyEndAllowThreads(__tstate
); 
8115         if (PyErr_Occurred()) SWIG_fail
; 
8117     resultobj 
= SWIG_From_int((int)result
); 
8132 static PyObject 
*_wrap_FontMapper_SetConfig(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8133     PyObject 
*resultobj
; 
8134     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
8135     wxConfigBase 
*arg2 
= (wxConfigBase 
*) 0 ; 
8136     PyObject 
* obj0 
= 0 ; 
8137     PyObject 
* obj1 
= 0 ; 
8139         (char *) "self",(char *) "config", NULL 
 
8142     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
; 
8143     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
, 
8144     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8145     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
, 
8146     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8148         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8149         (arg1
)->SetConfig(arg2
); 
8151         wxPyEndAllowThreads(__tstate
); 
8152         if (PyErr_Occurred()) SWIG_fail
; 
8154     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8161 static PyObject 
*_wrap_FontMapper_SetConfigPath(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8162     PyObject 
*resultobj
; 
8163     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
8164     wxString 
*arg2 
= 0 ; 
8165     bool temp2 
= false ; 
8166     PyObject 
* obj0 
= 0 ; 
8167     PyObject 
* obj1 
= 0 ; 
8169         (char *) "self",(char *) "prefix", NULL 
 
8172     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
; 
8173     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
, 
8174     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8176         arg2 
= wxString_in_helper(obj1
); 
8177         if (arg2 
== NULL
) SWIG_fail
; 
8181         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8182         (arg1
)->SetConfigPath((wxString 
const &)*arg2
); 
8184         wxPyEndAllowThreads(__tstate
); 
8185         if (PyErr_Occurred()) SWIG_fail
; 
8187     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8202 static PyObject 
*_wrap_FontMapper_GetDefaultConfigPath(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8203     PyObject 
*resultobj
; 
8209     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
; 
8211         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8212         result 
= wxFontMapper::GetDefaultConfigPath(); 
8214         wxPyEndAllowThreads(__tstate
); 
8215         if (PyErr_Occurred()) SWIG_fail
; 
8219         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8221         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8230 static PyObject 
*_wrap_FontMapper_GetAltForEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8231     PyObject 
*resultobj
; 
8232     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
8234     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
8235     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
8236     bool arg4 
= (bool) true ; 
8238     bool temp3 
= false ; 
8239     PyObject 
* obj0 
= 0 ; 
8240     PyObject 
* obj1 
= 0 ; 
8241     PyObject 
* obj2 
= 0 ; 
8242     PyObject 
* obj3 
= 0 ; 
8244         (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL 
 
8247     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
8248     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
, 
8249     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8250     arg2 
= (int)SWIG_As_int(obj1
);  
8251     if (PyErr_Occurred()) SWIG_fail
; 
8254             arg3 
= wxString_in_helper(obj2
); 
8255             if (arg3 
== NULL
) SWIG_fail
; 
8260         arg4 
= (bool)SWIG_As_bool(obj3
);  
8261         if (PyErr_Occurred()) SWIG_fail
; 
8264         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8265         result 
= (PyObject 
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding 
)arg2
,(wxString 
const &)*arg3
,arg4
); 
8267         wxPyEndAllowThreads(__tstate
); 
8268         if (PyErr_Occurred()) SWIG_fail
; 
8285 static PyObject 
*_wrap_FontMapper_IsEncodingAvailable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8286     PyObject 
*resultobj
; 
8287     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
8289     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
8290     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
8292     bool temp3 
= false ; 
8293     PyObject 
* obj0 
= 0 ; 
8294     PyObject 
* obj1 
= 0 ; 
8295     PyObject 
* obj2 
= 0 ; 
8297         (char *) "self",(char *) "encoding",(char *) "facename", NULL 
 
8300     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8301     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
, 
8302     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8303     arg2 
= (int)SWIG_As_int(obj1
);  
8304     if (PyErr_Occurred()) SWIG_fail
; 
8307             arg3 
= wxString_in_helper(obj2
); 
8308             if (arg3 
== NULL
) SWIG_fail
; 
8313         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8314         result 
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding 
)arg2
,(wxString 
const &)*arg3
); 
8316         wxPyEndAllowThreads(__tstate
); 
8317         if (PyErr_Occurred()) SWIG_fail
; 
8320         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8336 static PyObject 
*_wrap_FontMapper_SetDialogParent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8337     PyObject 
*resultobj
; 
8338     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
8339     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
8340     PyObject 
* obj0 
= 0 ; 
8341     PyObject 
* obj1 
= 0 ; 
8343         (char *) "self",(char *) "parent", NULL 
 
8346     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
; 
8347     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
, 
8348     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8349     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
8350     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8352         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8353         (arg1
)->SetDialogParent(arg2
); 
8355         wxPyEndAllowThreads(__tstate
); 
8356         if (PyErr_Occurred()) SWIG_fail
; 
8358     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8365 static PyObject 
*_wrap_FontMapper_SetDialogTitle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8366     PyObject 
*resultobj
; 
8367     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
8368     wxString 
*arg2 
= 0 ; 
8369     bool temp2 
= false ; 
8370     PyObject 
* obj0 
= 0 ; 
8371     PyObject 
* obj1 
= 0 ; 
8373         (char *) "self",(char *) "title", NULL 
 
8376     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
; 
8377     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
, 
8378     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8380         arg2 
= wxString_in_helper(obj1
); 
8381         if (arg2 
== NULL
) SWIG_fail
; 
8385         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8386         (arg1
)->SetDialogTitle((wxString 
const &)*arg2
); 
8388         wxPyEndAllowThreads(__tstate
); 
8389         if (PyErr_Occurred()) SWIG_fail
; 
8391     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8406 static PyObject 
* FontMapper_swigregister(PyObject 
*, PyObject 
*args
) { 
8408     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8409     SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
); 
8411     return Py_BuildValue((char *)""); 
8413 static PyObject 
*_wrap_new_Font(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8414     PyObject 
*resultobj
; 
8419     bool arg5 
= (bool) false ; 
8420     wxString 
const &arg6_defvalue 
= wxPyEmptyString 
; 
8421     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
8422     int arg7 
= (int) wxFONTENCODING_DEFAULT 
; 
8424     bool temp6 
= false ; 
8425     PyObject 
* obj0 
= 0 ; 
8426     PyObject 
* obj1 
= 0 ; 
8427     PyObject 
* obj2 
= 0 ; 
8428     PyObject 
* obj3 
= 0 ; 
8429     PyObject 
* obj4 
= 0 ; 
8430     PyObject 
* obj5 
= 0 ; 
8431     PyObject 
* obj6 
= 0 ; 
8433         (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL 
 
8436     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
8437     arg1 
= (int)SWIG_As_int(obj0
);  
8438     if (PyErr_Occurred()) SWIG_fail
; 
8439     arg2 
= (int)SWIG_As_int(obj1
);  
8440     if (PyErr_Occurred()) SWIG_fail
; 
8441     arg3 
= (int)SWIG_As_int(obj2
);  
8442     if (PyErr_Occurred()) SWIG_fail
; 
8443     arg4 
= (int)SWIG_As_int(obj3
);  
8444     if (PyErr_Occurred()) SWIG_fail
; 
8446         arg5 
= (bool)SWIG_As_bool(obj4
);  
8447         if (PyErr_Occurred()) SWIG_fail
; 
8451             arg6 
= wxString_in_helper(obj5
); 
8452             if (arg6 
== NULL
) SWIG_fail
; 
8457         arg7 
= (int)SWIG_As_int(obj6
);  
8458         if (PyErr_Occurred()) SWIG_fail
; 
8461         if (!wxPyCheckForApp()) SWIG_fail
; 
8462         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8463         result 
= (wxFont 
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString 
const &)*arg6
,(wxFontEncoding 
)arg7
); 
8465         wxPyEndAllowThreads(__tstate
); 
8466         if (PyErr_Occurred()) SWIG_fail
; 
8468     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1); 
8483 static PyObject 
*_wrap_delete_Font(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8484     PyObject 
*resultobj
; 
8485     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8486     PyObject 
* obj0 
= 0 ; 
8488         (char *) "self", NULL 
 
8491     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
; 
8492     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8493     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8495         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8498         wxPyEndAllowThreads(__tstate
); 
8499         if (PyErr_Occurred()) SWIG_fail
; 
8501     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8508 static PyObject 
*_wrap_new_FontFromNativeInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8509     PyObject 
*resultobj
; 
8510     wxNativeFontInfo 
*arg1 
= 0 ; 
8512     PyObject 
* obj0 
= 0 ; 
8514         (char *) "info", NULL 
 
8517     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
; 
8518     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
8519     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
8522         PyErr_SetString(PyExc_TypeError
,"null reference"); 
8526         if (!wxPyCheckForApp()) SWIG_fail
; 
8527         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8528         result 
= (wxFont 
*)new wxFont((wxNativeFontInfo 
const &)*arg1
); 
8530         wxPyEndAllowThreads(__tstate
); 
8531         if (PyErr_Occurred()) SWIG_fail
; 
8533     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1); 
8540 static PyObject 
*_wrap_new_FontFromNativeInfoString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8541     PyObject 
*resultobj
; 
8542     wxString 
*arg1 
= 0 ; 
8544     bool temp1 
= false ; 
8545     PyObject 
* obj0 
= 0 ; 
8547         (char *) "info", NULL 
 
8550     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
; 
8552         arg1 
= wxString_in_helper(obj0
); 
8553         if (arg1 
== NULL
) SWIG_fail
; 
8557         if (!wxPyCheckForApp()) SWIG_fail
; 
8558         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8559         result 
= (wxFont 
*)new_wxFont((wxString 
const &)*arg1
); 
8561         wxPyEndAllowThreads(__tstate
); 
8562         if (PyErr_Occurred()) SWIG_fail
; 
8564     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1); 
8579 static PyObject 
*_wrap_new_Font2(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8580     PyObject 
*resultobj
; 
8583     int arg3 
= (int) wxFONTFLAG_DEFAULT 
; 
8584     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
8585     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
8586     int arg5 
= (int) wxFONTENCODING_DEFAULT 
; 
8588     bool temp4 
= false ; 
8589     PyObject 
* obj0 
= 0 ; 
8590     PyObject 
* obj1 
= 0 ; 
8591     PyObject 
* obj2 
= 0 ; 
8592     PyObject 
* obj3 
= 0 ; 
8593     PyObject 
* obj4 
= 0 ; 
8595         (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL 
 
8598     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
8599     arg1 
= (int)SWIG_As_int(obj0
);  
8600     if (PyErr_Occurred()) SWIG_fail
; 
8601     arg2 
= (int)SWIG_As_int(obj1
);  
8602     if (PyErr_Occurred()) SWIG_fail
; 
8604         arg3 
= (int)SWIG_As_int(obj2
);  
8605         if (PyErr_Occurred()) SWIG_fail
; 
8609             arg4 
= wxString_in_helper(obj3
); 
8610             if (arg4 
== NULL
) SWIG_fail
; 
8615         arg5 
= (int)SWIG_As_int(obj4
);  
8616         if (PyErr_Occurred()) SWIG_fail
; 
8619         if (!wxPyCheckForApp()) SWIG_fail
; 
8620         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8621         result 
= (wxFont 
*)new_wxFont(arg1
,(wxFontFamily 
)arg2
,arg3
,(wxString 
const &)*arg4
,(wxFontEncoding 
)arg5
); 
8623         wxPyEndAllowThreads(__tstate
); 
8624         if (PyErr_Occurred()) SWIG_fail
; 
8626     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1); 
8641 static PyObject 
*_wrap_new_FontFromPixelSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8642     PyObject 
*resultobj
; 
8647     bool arg5 
= (bool) false ; 
8648     wxString 
const &arg6_defvalue 
= wxEmptyString 
; 
8649     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
8650     int arg7 
= (int) wxFONTENCODING_DEFAULT 
; 
8653     bool temp6 
= false ; 
8654     PyObject 
* obj0 
= 0 ; 
8655     PyObject 
* obj1 
= 0 ; 
8656     PyObject 
* obj2 
= 0 ; 
8657     PyObject 
* obj3 
= 0 ; 
8658     PyObject 
* obj4 
= 0 ; 
8659     PyObject 
* obj5 
= 0 ; 
8660     PyObject 
* obj6 
= 0 ; 
8662         (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL 
 
8665     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
8668         if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
; 
8670     arg2 
= (int)SWIG_As_int(obj1
);  
8671     if (PyErr_Occurred()) SWIG_fail
; 
8672     arg3 
= (int)SWIG_As_int(obj2
);  
8673     if (PyErr_Occurred()) SWIG_fail
; 
8674     arg4 
= (int)SWIG_As_int(obj3
);  
8675     if (PyErr_Occurred()) SWIG_fail
; 
8677         arg5 
= (bool)SWIG_As_bool(obj4
);  
8678         if (PyErr_Occurred()) SWIG_fail
; 
8682             arg6 
= wxString_in_helper(obj5
); 
8683             if (arg6 
== NULL
) SWIG_fail
; 
8688         arg7 
= (int)SWIG_As_int(obj6
);  
8689         if (PyErr_Occurred()) SWIG_fail
; 
8692         if (!wxPyCheckForApp()) SWIG_fail
; 
8693         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8694         result 
= (wxFont 
*)new_wxFont((wxSize 
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString 
const &)*arg6
,(wxFontEncoding 
)arg7
); 
8696         wxPyEndAllowThreads(__tstate
); 
8697         if (PyErr_Occurred()) SWIG_fail
; 
8699     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1); 
8714 static PyObject 
*_wrap_Font_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8715     PyObject 
*resultobj
; 
8716     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8718     PyObject 
* obj0 
= 0 ; 
8720         (char *) "self", NULL 
 
8723     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
; 
8724     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8725     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8727         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8728         result 
= (bool)((wxFont 
const *)arg1
)->Ok(); 
8730         wxPyEndAllowThreads(__tstate
); 
8731         if (PyErr_Occurred()) SWIG_fail
; 
8734         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8742 static PyObject 
*_wrap_Font___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8743     PyObject 
*resultobj
; 
8744     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8745     wxFont 
*arg2 
= (wxFont 
*) 0 ; 
8747     PyObject 
* obj0 
= 0 ; 
8748     PyObject 
* obj1 
= 0 ; 
8750         (char *) "self",(char *) "other", NULL 
 
8753     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
8754     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8755     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8756     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
8757     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8759         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8760         result 
= (bool)wxFont___eq__(arg1
,(wxFont 
const *)arg2
); 
8762         wxPyEndAllowThreads(__tstate
); 
8763         if (PyErr_Occurred()) SWIG_fail
; 
8766         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8774 static PyObject 
*_wrap_Font___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8775     PyObject 
*resultobj
; 
8776     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8777     wxFont 
*arg2 
= (wxFont 
*) 0 ; 
8779     PyObject 
* obj0 
= 0 ; 
8780     PyObject 
* obj1 
= 0 ; 
8782         (char *) "self",(char *) "other", NULL 
 
8785     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
8786     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8787     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8788     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
8789     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8791         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8792         result 
= (bool)wxFont___ne__(arg1
,(wxFont 
const *)arg2
); 
8794         wxPyEndAllowThreads(__tstate
); 
8795         if (PyErr_Occurred()) SWIG_fail
; 
8798         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8806 static PyObject 
*_wrap_Font_GetPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8807     PyObject 
*resultobj
; 
8808     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8810     PyObject 
* obj0 
= 0 ; 
8812         (char *) "self", NULL 
 
8815     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
; 
8816     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8817     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8819         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8820         result 
= (int)((wxFont 
const *)arg1
)->GetPointSize(); 
8822         wxPyEndAllowThreads(__tstate
); 
8823         if (PyErr_Occurred()) SWIG_fail
; 
8825     resultobj 
= SWIG_From_int((int)result
); 
8832 static PyObject 
*_wrap_Font_GetPixelSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8833     PyObject 
*resultobj
; 
8834     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8836     PyObject 
* obj0 
= 0 ; 
8838         (char *) "self", NULL 
 
8841     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPixelSize",kwnames
,&obj0
)) goto fail
; 
8842     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8843     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8845         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8846         result 
= ((wxFont 
const *)arg1
)->GetPixelSize(); 
8848         wxPyEndAllowThreads(__tstate
); 
8849         if (PyErr_Occurred()) SWIG_fail
; 
8853         resultptr 
= new wxSize((wxSize 
&) result
); 
8854         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
8862 static PyObject 
*_wrap_Font_IsUsingSizeInPixels(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_IsUsingSizeInPixels",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 
= (bool)((wxFont 
const *)arg1
)->IsUsingSizeInPixels(); 
8878         wxPyEndAllowThreads(__tstate
); 
8879         if (PyErr_Occurred()) SWIG_fail
; 
8882         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8890 static PyObject 
*_wrap_Font_GetFamily(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8891     PyObject 
*resultobj
; 
8892     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8894     PyObject 
* obj0 
= 0 ; 
8896         (char *) "self", NULL 
 
8899     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
; 
8900     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8901     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8903         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8904         result 
= (int)((wxFont 
const *)arg1
)->GetFamily(); 
8906         wxPyEndAllowThreads(__tstate
); 
8907         if (PyErr_Occurred()) SWIG_fail
; 
8909     resultobj 
= SWIG_From_int((int)result
); 
8916 static PyObject 
*_wrap_Font_GetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8917     PyObject 
*resultobj
; 
8918     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8920     PyObject 
* obj0 
= 0 ; 
8922         (char *) "self", NULL 
 
8925     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
; 
8926     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8927     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8929         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8930         result 
= (int)((wxFont 
const *)arg1
)->GetStyle(); 
8932         wxPyEndAllowThreads(__tstate
); 
8933         if (PyErr_Occurred()) SWIG_fail
; 
8935     resultobj 
= SWIG_From_int((int)result
); 
8942 static PyObject 
*_wrap_Font_GetWeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8943     PyObject 
*resultobj
; 
8944     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8946     PyObject 
* obj0 
= 0 ; 
8948         (char *) "self", NULL 
 
8951     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
; 
8952     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8953     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8955         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8956         result 
= (int)((wxFont 
const *)arg1
)->GetWeight(); 
8958         wxPyEndAllowThreads(__tstate
); 
8959         if (PyErr_Occurred()) SWIG_fail
; 
8961     resultobj 
= SWIG_From_int((int)result
); 
8968 static PyObject 
*_wrap_Font_GetUnderlined(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8969     PyObject 
*resultobj
; 
8970     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8972     PyObject 
* obj0 
= 0 ; 
8974         (char *) "self", NULL 
 
8977     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
; 
8978     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8979     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8981         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8982         result 
= (bool)((wxFont 
const *)arg1
)->GetUnderlined(); 
8984         wxPyEndAllowThreads(__tstate
); 
8985         if (PyErr_Occurred()) SWIG_fail
; 
8988         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8996 static PyObject 
*_wrap_Font_GetFaceName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8997     PyObject 
*resultobj
; 
8998     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9000     PyObject 
* obj0 
= 0 ; 
9002         (char *) "self", NULL 
 
9005     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
; 
9006     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9007     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9009         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9010         result 
= ((wxFont 
const *)arg1
)->GetFaceName(); 
9012         wxPyEndAllowThreads(__tstate
); 
9013         if (PyErr_Occurred()) SWIG_fail
; 
9017         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9019         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9028 static PyObject 
*_wrap_Font_GetEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9029     PyObject 
*resultobj
; 
9030     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9032     PyObject 
* obj0 
= 0 ; 
9034         (char *) "self", NULL 
 
9037     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
; 
9038     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9039     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9041         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9042         result 
= (int)((wxFont 
const *)arg1
)->GetEncoding(); 
9044         wxPyEndAllowThreads(__tstate
); 
9045         if (PyErr_Occurred()) SWIG_fail
; 
9047     resultobj 
= SWIG_From_int((int)result
); 
9054 static PyObject 
*_wrap_Font_GetNativeFontInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9055     PyObject 
*resultobj
; 
9056     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9057     wxNativeFontInfo 
*result
; 
9058     PyObject 
* obj0 
= 0 ; 
9060         (char *) "self", NULL 
 
9063     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
; 
9064     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9065     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9067         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9068         result 
= (wxNativeFontInfo 
*)((wxFont 
const *)arg1
)->GetNativeFontInfo(); 
9070         wxPyEndAllowThreads(__tstate
); 
9071         if (PyErr_Occurred()) SWIG_fail
; 
9073     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0); 
9080 static PyObject 
*_wrap_Font_IsFixedWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9081     PyObject 
*resultobj
; 
9082     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9084     PyObject 
* obj0 
= 0 ; 
9086         (char *) "self", NULL 
 
9089     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
; 
9090     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9091     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9093         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9094         result 
= (bool)((wxFont 
const *)arg1
)->IsFixedWidth(); 
9096         wxPyEndAllowThreads(__tstate
); 
9097         if (PyErr_Occurred()) SWIG_fail
; 
9100         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9108 static PyObject 
*_wrap_Font_GetNativeFontInfoDesc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9109     PyObject 
*resultobj
; 
9110     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9112     PyObject 
* obj0 
= 0 ; 
9114         (char *) "self", NULL 
 
9117     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
; 
9118     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9119     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9121         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9122         result 
= ((wxFont 
const *)arg1
)->GetNativeFontInfoDesc(); 
9124         wxPyEndAllowThreads(__tstate
); 
9125         if (PyErr_Occurred()) SWIG_fail
; 
9129         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9131         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9140 static PyObject 
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9141     PyObject 
*resultobj
; 
9142     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9144     PyObject 
* obj0 
= 0 ; 
9146         (char *) "self", NULL 
 
9149     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
; 
9150     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9151     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9153         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9154         result 
= ((wxFont 
const *)arg1
)->GetNativeFontInfoUserDesc(); 
9156         wxPyEndAllowThreads(__tstate
); 
9157         if (PyErr_Occurred()) SWIG_fail
; 
9161         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9163         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9172 static PyObject 
*_wrap_Font_SetPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9173     PyObject 
*resultobj
; 
9174     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9176     PyObject 
* obj0 
= 0 ; 
9177     PyObject 
* obj1 
= 0 ; 
9179         (char *) "self",(char *) "pointSize", NULL 
 
9182     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
9183     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9184     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9185     arg2 
= (int)SWIG_As_int(obj1
);  
9186     if (PyErr_Occurred()) SWIG_fail
; 
9188         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9189         (arg1
)->SetPointSize(arg2
); 
9191         wxPyEndAllowThreads(__tstate
); 
9192         if (PyErr_Occurred()) SWIG_fail
; 
9194     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9201 static PyObject 
*_wrap_Font_SetPixelSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9202     PyObject 
*resultobj
; 
9203     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9206     PyObject 
* obj0 
= 0 ; 
9207     PyObject 
* obj1 
= 0 ; 
9209         (char *) "self",(char *) "pixelSize", NULL 
 
9212     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
9213     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9214     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9217         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
9220         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9221         (arg1
)->SetPixelSize((wxSize 
const &)*arg2
); 
9223         wxPyEndAllowThreads(__tstate
); 
9224         if (PyErr_Occurred()) SWIG_fail
; 
9226     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9233 static PyObject 
*_wrap_Font_SetFamily(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9234     PyObject 
*resultobj
; 
9235     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9237     PyObject 
* obj0 
= 0 ; 
9238     PyObject 
* obj1 
= 0 ; 
9240         (char *) "self",(char *) "family", NULL 
 
9243     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
; 
9244     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9245     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9246     arg2 
= (int)SWIG_As_int(obj1
);  
9247     if (PyErr_Occurred()) SWIG_fail
; 
9249         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9250         (arg1
)->SetFamily(arg2
); 
9252         wxPyEndAllowThreads(__tstate
); 
9253         if (PyErr_Occurred()) SWIG_fail
; 
9255     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9262 static PyObject 
*_wrap_Font_SetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9263     PyObject 
*resultobj
; 
9264     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9266     PyObject 
* obj0 
= 0 ; 
9267     PyObject 
* obj1 
= 0 ; 
9269         (char *) "self",(char *) "style", NULL 
 
9272     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
9273     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9274     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9275     arg2 
= (int)SWIG_As_int(obj1
);  
9276     if (PyErr_Occurred()) SWIG_fail
; 
9278         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9279         (arg1
)->SetStyle(arg2
); 
9281         wxPyEndAllowThreads(__tstate
); 
9282         if (PyErr_Occurred()) SWIG_fail
; 
9284     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9291 static PyObject 
*_wrap_Font_SetWeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9292     PyObject 
*resultobj
; 
9293     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9295     PyObject 
* obj0 
= 0 ; 
9296     PyObject 
* obj1 
= 0 ; 
9298         (char *) "self",(char *) "weight", NULL 
 
9301     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
; 
9302     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9303     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9304     arg2 
= (int)SWIG_As_int(obj1
);  
9305     if (PyErr_Occurred()) SWIG_fail
; 
9307         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9308         (arg1
)->SetWeight(arg2
); 
9310         wxPyEndAllowThreads(__tstate
); 
9311         if (PyErr_Occurred()) SWIG_fail
; 
9313     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9320 static PyObject 
*_wrap_Font_SetFaceName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9321     PyObject 
*resultobj
; 
9322     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9323     wxString 
*arg2 
= 0 ; 
9324     bool temp2 
= false ; 
9325     PyObject 
* obj0 
= 0 ; 
9326     PyObject 
* obj1 
= 0 ; 
9328         (char *) "self",(char *) "faceName", NULL 
 
9331     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",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 
= wxString_in_helper(obj1
); 
9336         if (arg2 
== NULL
) SWIG_fail
; 
9340         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9341         (arg1
)->SetFaceName((wxString 
const &)*arg2
); 
9343         wxPyEndAllowThreads(__tstate
); 
9344         if (PyErr_Occurred()) SWIG_fail
; 
9346     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9361 static PyObject 
*_wrap_Font_SetUnderlined(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9362     PyObject 
*resultobj
; 
9363     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9365     PyObject 
* obj0 
= 0 ; 
9366     PyObject 
* obj1 
= 0 ; 
9368         (char *) "self",(char *) "underlined", NULL 
 
9371     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
; 
9372     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9373     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9374     arg2 
= (bool)SWIG_As_bool(obj1
);  
9375     if (PyErr_Occurred()) SWIG_fail
; 
9377         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9378         (arg1
)->SetUnderlined(arg2
); 
9380         wxPyEndAllowThreads(__tstate
); 
9381         if (PyErr_Occurred()) SWIG_fail
; 
9383     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9390 static PyObject 
*_wrap_Font_SetEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9391     PyObject 
*resultobj
; 
9392     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9394     PyObject 
* obj0 
= 0 ; 
9395     PyObject 
* obj1 
= 0 ; 
9397         (char *) "self",(char *) "encoding", NULL 
 
9400     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
; 
9401     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9402     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9403     arg2 
= (int)SWIG_As_int(obj1
);  
9404     if (PyErr_Occurred()) SWIG_fail
; 
9406         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9407         (arg1
)->SetEncoding((wxFontEncoding 
)arg2
); 
9409         wxPyEndAllowThreads(__tstate
); 
9410         if (PyErr_Occurred()) SWIG_fail
; 
9412     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9419 static PyObject 
*_wrap_Font_SetNativeFontInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9420     PyObject 
*resultobj
; 
9421     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9422     wxNativeFontInfo 
*arg2 
= 0 ; 
9423     PyObject 
* obj0 
= 0 ; 
9424     PyObject 
* obj1 
= 0 ; 
9426         (char *) "self",(char *) "info", NULL 
 
9429     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
; 
9430     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9431     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9432     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
, 
9433     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
9436         PyErr_SetString(PyExc_TypeError
,"null reference"); 
9440         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9441         (arg1
)->SetNativeFontInfo((wxNativeFontInfo 
const &)*arg2
); 
9443         wxPyEndAllowThreads(__tstate
); 
9444         if (PyErr_Occurred()) SWIG_fail
; 
9446     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9453 static PyObject 
*_wrap_Font_SetNativeFontInfoFromString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9454     PyObject 
*resultobj
; 
9455     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9456     wxString 
*arg2 
= 0 ; 
9457     bool temp2 
= false ; 
9458     PyObject 
* obj0 
= 0 ; 
9459     PyObject 
* obj1 
= 0 ; 
9461         (char *) "self",(char *) "info", NULL 
 
9464     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
; 
9465     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9466     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9468         arg2 
= wxString_in_helper(obj1
); 
9469         if (arg2 
== NULL
) SWIG_fail
; 
9473         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9474         (arg1
)->SetNativeFontInfo((wxString 
const &)*arg2
); 
9476         wxPyEndAllowThreads(__tstate
); 
9477         if (PyErr_Occurred()) SWIG_fail
; 
9479     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9494 static PyObject 
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9495     PyObject 
*resultobj
; 
9496     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9497     wxString 
*arg2 
= 0 ; 
9498     bool temp2 
= false ; 
9499     PyObject 
* obj0 
= 0 ; 
9500     PyObject 
* obj1 
= 0 ; 
9502         (char *) "self",(char *) "info", NULL 
 
9505     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
; 
9506     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9507     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9509         arg2 
= wxString_in_helper(obj1
); 
9510         if (arg2 
== NULL
) SWIG_fail
; 
9514         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9515         (arg1
)->SetNativeFontInfoUserDesc((wxString 
const &)*arg2
); 
9517         wxPyEndAllowThreads(__tstate
); 
9518         if (PyErr_Occurred()) SWIG_fail
; 
9520     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9535 static PyObject 
*_wrap_Font_GetFamilyString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9536     PyObject 
*resultobj
; 
9537     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9539     PyObject 
* obj0 
= 0 ; 
9541         (char *) "self", NULL 
 
9544     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
; 
9545     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9546     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9548         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9549         result 
= ((wxFont 
const *)arg1
)->GetFamilyString(); 
9551         wxPyEndAllowThreads(__tstate
); 
9552         if (PyErr_Occurred()) SWIG_fail
; 
9556         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9558         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9567 static PyObject 
*_wrap_Font_GetStyleString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9568     PyObject 
*resultobj
; 
9569     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9571     PyObject 
* obj0 
= 0 ; 
9573         (char *) "self", NULL 
 
9576     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
; 
9577     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9578     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9580         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9581         result 
= ((wxFont 
const *)arg1
)->GetStyleString(); 
9583         wxPyEndAllowThreads(__tstate
); 
9584         if (PyErr_Occurred()) SWIG_fail
; 
9588         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9590         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9599 static PyObject 
*_wrap_Font_GetWeightString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9600     PyObject 
*resultobj
; 
9601     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9603     PyObject 
* obj0 
= 0 ; 
9605         (char *) "self", NULL 
 
9608     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
; 
9609     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9610     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9612         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9613         result 
= ((wxFont 
const *)arg1
)->GetWeightString(); 
9615         wxPyEndAllowThreads(__tstate
); 
9616         if (PyErr_Occurred()) SWIG_fail
; 
9620         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9622         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9631 static PyObject 
*_wrap_Font_SetNoAntiAliasing(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9632     PyObject 
*resultobj
; 
9633     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9634     bool arg2 
= (bool) true ; 
9635     PyObject 
* obj0 
= 0 ; 
9636     PyObject 
* obj1 
= 0 ; 
9638         (char *) "self",(char *) "no", NULL 
 
9641     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
; 
9642     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9643     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9645         arg2 
= (bool)SWIG_As_bool(obj1
);  
9646         if (PyErr_Occurred()) SWIG_fail
; 
9649         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9650         (arg1
)->SetNoAntiAliasing(arg2
); 
9652         wxPyEndAllowThreads(__tstate
); 
9653         if (PyErr_Occurred()) SWIG_fail
; 
9655     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9662 static PyObject 
*_wrap_Font_GetNoAntiAliasing(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9663     PyObject 
*resultobj
; 
9664     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9666     PyObject 
* obj0 
= 0 ; 
9668         (char *) "self", NULL 
 
9671     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
; 
9672     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
9673     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9675         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9676         result 
= (bool)((wxFont 
const *)arg1
)->GetNoAntiAliasing(); 
9678         wxPyEndAllowThreads(__tstate
); 
9679         if (PyErr_Occurred()) SWIG_fail
; 
9682         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9690 static PyObject 
*_wrap_Font_GetDefaultEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9691     PyObject 
*resultobj
; 
9697     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
; 
9699         if (!wxPyCheckForApp()) SWIG_fail
; 
9700         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9701         result 
= (int)wxFont::GetDefaultEncoding(); 
9703         wxPyEndAllowThreads(__tstate
); 
9704         if (PyErr_Occurred()) SWIG_fail
; 
9706     resultobj 
= SWIG_From_int((int)result
); 
9713 static PyObject 
*_wrap_Font_SetDefaultEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9714     PyObject 
*resultobj
; 
9716     PyObject 
* obj0 
= 0 ; 
9718         (char *) "encoding", NULL 
 
9721     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
; 
9722     arg1 
= (int)SWIG_As_int(obj0
);  
9723     if (PyErr_Occurred()) SWIG_fail
; 
9725         if (!wxPyCheckForApp()) SWIG_fail
; 
9726         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9727         wxFont::SetDefaultEncoding((wxFontEncoding 
)arg1
); 
9729         wxPyEndAllowThreads(__tstate
); 
9730         if (PyErr_Occurred()) SWIG_fail
; 
9732     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9739 static PyObject 
* Font_swigregister(PyObject 
*, PyObject 
*args
) { 
9741     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
9742     SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
); 
9744     return Py_BuildValue((char *)""); 
9746 static PyObject 
*_wrap_new_FontEnumerator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9747     PyObject 
*resultobj
; 
9748     wxPyFontEnumerator 
*result
; 
9753     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
; 
9755         if (!wxPyCheckForApp()) SWIG_fail
; 
9756         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9757         result 
= (wxPyFontEnumerator 
*)new wxPyFontEnumerator(); 
9759         wxPyEndAllowThreads(__tstate
); 
9760         if (PyErr_Occurred()) SWIG_fail
; 
9762     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1); 
9769 static PyObject 
*_wrap_delete_FontEnumerator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9770     PyObject 
*resultobj
; 
9771     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
9772     PyObject 
* obj0 
= 0 ; 
9774         (char *) "self", NULL 
 
9777     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
; 
9778     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
, 
9779     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9781         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9784         wxPyEndAllowThreads(__tstate
); 
9785         if (PyErr_Occurred()) SWIG_fail
; 
9787     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9794 static PyObject 
*_wrap_FontEnumerator__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9795     PyObject 
*resultobj
; 
9796     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
9797     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
9798     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
9800     PyObject 
* obj0 
= 0 ; 
9801     PyObject 
* obj1 
= 0 ; 
9802     PyObject 
* obj2 
= 0 ; 
9803     PyObject 
* obj3 
= 0 ; 
9805         (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL 
 
9808     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
9809     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
, 
9810     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9813     arg4 
= (bool)SWIG_As_bool(obj3
);  
9814     if (PyErr_Occurred()) SWIG_fail
; 
9816         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9817         (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
); 
9819         wxPyEndAllowThreads(__tstate
); 
9820         if (PyErr_Occurred()) SWIG_fail
; 
9822     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9829 static PyObject 
*_wrap_FontEnumerator_EnumerateFacenames(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9830     PyObject 
*resultobj
; 
9831     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
9832     int arg2 
= (int) wxFONTENCODING_SYSTEM 
; 
9833     bool arg3 
= (bool) false ; 
9835     PyObject 
* obj0 
= 0 ; 
9836     PyObject 
* obj1 
= 0 ; 
9837     PyObject 
* obj2 
= 0 ; 
9839         (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL 
 
9842     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9843     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
, 
9844     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9846         arg2 
= (int)SWIG_As_int(obj1
);  
9847         if (PyErr_Occurred()) SWIG_fail
; 
9850         arg3 
= (bool)SWIG_As_bool(obj2
);  
9851         if (PyErr_Occurred()) SWIG_fail
; 
9854         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9855         result 
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding 
)arg2
,arg3
); 
9857         wxPyEndAllowThreads(__tstate
); 
9858         if (PyErr_Occurred()) SWIG_fail
; 
9861         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9869 static PyObject 
*_wrap_FontEnumerator_EnumerateEncodings(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9870     PyObject 
*resultobj
; 
9871     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
9872     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
9873     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
9875     bool temp2 
= false ; 
9876     PyObject 
* obj0 
= 0 ; 
9877     PyObject 
* obj1 
= 0 ; 
9879         (char *) "self",(char *) "facename", NULL 
 
9882     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
; 
9883     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
, 
9884     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9887             arg2 
= wxString_in_helper(obj1
); 
9888             if (arg2 
== NULL
) SWIG_fail
; 
9893         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9894         result 
= (bool)(arg1
)->EnumerateEncodings((wxString 
const &)*arg2
); 
9896         wxPyEndAllowThreads(__tstate
); 
9897         if (PyErr_Occurred()) SWIG_fail
; 
9900         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9916 static PyObject 
*_wrap_FontEnumerator_GetEncodings(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9917     PyObject 
*resultobj
; 
9918     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
9920     PyObject 
* obj0 
= 0 ; 
9922         (char *) "self", NULL 
 
9925     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
; 
9926     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
, 
9927     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9929         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9930         result 
= (PyObject 
*)wxPyFontEnumerator_GetEncodings(arg1
); 
9932         wxPyEndAllowThreads(__tstate
); 
9933         if (PyErr_Occurred()) SWIG_fail
; 
9942 static PyObject 
*_wrap_FontEnumerator_GetFacenames(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9943     PyObject 
*resultobj
; 
9944     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
9946     PyObject 
* obj0 
= 0 ; 
9948         (char *) "self", NULL 
 
9951     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
; 
9952     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
, 
9953     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9955         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9956         result 
= (PyObject 
*)wxPyFontEnumerator_GetFacenames(arg1
); 
9958         wxPyEndAllowThreads(__tstate
); 
9959         if (PyErr_Occurred()) SWIG_fail
; 
9968 static PyObject 
* FontEnumerator_swigregister(PyObject 
*, PyObject 
*args
) { 
9970     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
9971     SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
); 
9973     return Py_BuildValue((char *)""); 
9975 static PyObject 
*_wrap_LanguageInfo_Language_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9976     PyObject 
*resultobj
; 
9977     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
9979     PyObject 
* obj0 
= 0 ; 
9980     PyObject 
* obj1 
= 0 ; 
9982         (char *) "self",(char *) "Language", NULL 
 
9985     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
9986     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
, 
9987     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9988     arg2 
= (int)SWIG_As_int(obj1
);  
9989     if (PyErr_Occurred()) SWIG_fail
; 
9990     if (arg1
) (arg1
)->Language 
= arg2
; 
9992     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9999 static PyObject 
*_wrap_LanguageInfo_Language_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10000     PyObject 
*resultobj
; 
10001     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
10003     PyObject 
* obj0 
= 0 ; 
10004     char *kwnames
[] = { 
10005         (char *) "self", NULL 
 
10008     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
; 
10009     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
, 
10010     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10011     result 
= (int) ((arg1
)->Language
); 
10013     resultobj 
= SWIG_From_int((int)result
); 
10020 static PyObject 
*_wrap_LanguageInfo_CanonicalName_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10021     PyObject 
*resultobj
; 
10022     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
10023     wxString 
*arg2 
= (wxString 
*) 0 ; 
10024     bool temp2 
= false ; 
10025     PyObject 
* obj0 
= 0 ; 
10026     PyObject 
* obj1 
= 0 ; 
10027     char *kwnames
[] = { 
10028         (char *) "self",(char *) "CanonicalName", NULL 
 
10031     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
10032     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
, 
10033     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10035         arg2 
= wxString_in_helper(obj1
); 
10036         if (arg2 
== NULL
) SWIG_fail
; 
10039     if (arg1
) (arg1
)->CanonicalName 
= *arg2
; 
10041     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10056 static PyObject 
*_wrap_LanguageInfo_CanonicalName_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10057     PyObject 
*resultobj
; 
10058     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
10060     PyObject 
* obj0 
= 0 ; 
10061     char *kwnames
[] = { 
10062         (char *) "self", NULL 
 
10065     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
; 
10066     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
, 
10067     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10068     result 
= (wxString 
*)& ((arg1
)->CanonicalName
); 
10072         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
10074         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
10083 static PyObject 
*_wrap_LanguageInfo_Description_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10084     PyObject 
*resultobj
; 
10085     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
10086     wxString 
*arg2 
= (wxString 
*) 0 ; 
10087     bool temp2 
= false ; 
10088     PyObject 
* obj0 
= 0 ; 
10089     PyObject 
* obj1 
= 0 ; 
10090     char *kwnames
[] = { 
10091         (char *) "self",(char *) "Description", NULL 
 
10094     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
10095     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
, 
10096     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10098         arg2 
= wxString_in_helper(obj1
); 
10099         if (arg2 
== NULL
) SWIG_fail
; 
10102     if (arg1
) (arg1
)->Description 
= *arg2
; 
10104     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10119 static PyObject 
*_wrap_LanguageInfo_Description_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10120     PyObject 
*resultobj
; 
10121     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
10123     PyObject 
* obj0 
= 0 ; 
10124     char *kwnames
[] = { 
10125         (char *) "self", NULL 
 
10128     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
; 
10129     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
, 
10130     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10131     result 
= (wxString 
*)& ((arg1
)->Description
); 
10135         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
10137         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
10146 static PyObject 
* LanguageInfo_swigregister(PyObject 
*, PyObject 
*args
) { 
10148     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
10149     SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
); 
10151     return Py_BuildValue((char *)""); 
10153 static PyObject 
*_wrap_new_Locale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10154     PyObject 
*resultobj
; 
10155     int arg1 
= (int) -1 ; 
10156     int arg2 
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING 
; 
10158     PyObject 
* obj0 
= 0 ; 
10159     PyObject 
* obj1 
= 0 ; 
10160     char *kwnames
[] = { 
10161         (char *) "language",(char *) "flags", NULL 
 
10164     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
; 
10166         arg1 
= (int)SWIG_As_int(obj0
);  
10167         if (PyErr_Occurred()) SWIG_fail
; 
10170         arg2 
= (int)SWIG_As_int(obj1
);  
10171         if (PyErr_Occurred()) SWIG_fail
; 
10174         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10175         result 
= (wxLocale 
*)new_wxLocale(arg1
,arg2
); 
10177         wxPyEndAllowThreads(__tstate
); 
10178         if (PyErr_Occurred()) SWIG_fail
; 
10180     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1); 
10187 static PyObject 
*_wrap_delete_Locale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10188     PyObject 
*resultobj
; 
10189     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
10190     PyObject 
* obj0 
= 0 ; 
10191     char *kwnames
[] = { 
10192         (char *) "self", NULL 
 
10195     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
; 
10196     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
10197     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10199         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10202         wxPyEndAllowThreads(__tstate
); 
10203         if (PyErr_Occurred()) SWIG_fail
; 
10205     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10212 static PyObject 
*_wrap_Locale_Init1(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10213     PyObject 
*resultobj
; 
10214     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
10215     wxString 
*arg2 
= 0 ; 
10216     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
10217     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
10218     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
10219     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
10220     bool arg5 
= (bool) true ; 
10221     bool arg6 
= (bool) false ; 
10223     bool temp2 
= false ; 
10224     bool temp3 
= false ; 
10225     bool temp4 
= false ; 
10226     PyObject 
* obj0 
= 0 ; 
10227     PyObject 
* obj1 
= 0 ; 
10228     PyObject 
* obj2 
= 0 ; 
10229     PyObject 
* obj3 
= 0 ; 
10230     PyObject 
* obj4 
= 0 ; 
10231     PyObject 
* obj5 
= 0 ; 
10232     char *kwnames
[] = { 
10233         (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL 
 
10236     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
10237     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
10238     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10240         arg2 
= wxString_in_helper(obj1
); 
10241         if (arg2 
== NULL
) SWIG_fail
; 
10246             arg3 
= wxString_in_helper(obj2
); 
10247             if (arg3 
== NULL
) SWIG_fail
; 
10253             arg4 
= wxString_in_helper(obj3
); 
10254             if (arg4 
== NULL
) SWIG_fail
; 
10259         arg5 
= (bool)SWIG_As_bool(obj4
);  
10260         if (PyErr_Occurred()) SWIG_fail
; 
10263         arg6 
= (bool)SWIG_As_bool(obj5
);  
10264         if (PyErr_Occurred()) SWIG_fail
; 
10267         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10268         result 
= (bool)wxLocale_Init1(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
,arg6
); 
10270         wxPyEndAllowThreads(__tstate
); 
10271         if (PyErr_Occurred()) SWIG_fail
; 
10274         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10306 static PyObject 
*_wrap_Locale_Init2(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10307     PyObject 
*resultobj
; 
10308     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
10309     int arg2 
= (int) wxLANGUAGE_DEFAULT 
; 
10310     int arg3 
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING 
; 
10312     PyObject 
* obj0 
= 0 ; 
10313     PyObject 
* obj1 
= 0 ; 
10314     PyObject 
* obj2 
= 0 ; 
10315     char *kwnames
[] = { 
10316         (char *) "self",(char *) "language",(char *) "flags", NULL 
 
10319     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10320     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
10321     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10323         arg2 
= (int)SWIG_As_int(obj1
);  
10324         if (PyErr_Occurred()) SWIG_fail
; 
10327         arg3 
= (int)SWIG_As_int(obj2
);  
10328         if (PyErr_Occurred()) SWIG_fail
; 
10331         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10332         result 
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
); 
10334         wxPyEndAllowThreads(__tstate
); 
10335         if (PyErr_Occurred()) SWIG_fail
; 
10338         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10346 static PyObject 
*_wrap_Locale_GetSystemLanguage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10347     PyObject 
*resultobj
; 
10349     char *kwnames
[] = { 
10353     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
; 
10355         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10356         result 
= (int)wxLocale::GetSystemLanguage(); 
10358         wxPyEndAllowThreads(__tstate
); 
10359         if (PyErr_Occurred()) SWIG_fail
; 
10361     resultobj 
= SWIG_From_int((int)result
); 
10368 static PyObject 
*_wrap_Locale_GetSystemEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10369     PyObject 
*resultobj
; 
10371     char *kwnames
[] = { 
10375     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
; 
10377         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10378         result 
= (int)wxLocale::GetSystemEncoding(); 
10380         wxPyEndAllowThreads(__tstate
); 
10381         if (PyErr_Occurred()) SWIG_fail
; 
10383     resultobj 
= SWIG_From_int((int)result
); 
10390 static PyObject 
*_wrap_Locale_GetSystemEncodingName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10391     PyObject 
*resultobj
; 
10393     char *kwnames
[] = { 
10397     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
; 
10399         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10400         result 
= wxLocale::GetSystemEncodingName(); 
10402         wxPyEndAllowThreads(__tstate
); 
10403         if (PyErr_Occurred()) SWIG_fail
; 
10407         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10409         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10418 static PyObject 
*_wrap_Locale_IsOk(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10419     PyObject 
*resultobj
; 
10420     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
10422     PyObject 
* obj0 
= 0 ; 
10423     char *kwnames
[] = { 
10424         (char *) "self", NULL 
 
10427     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
; 
10428     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
10429     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10431         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10432         result 
= (bool)((wxLocale 
const *)arg1
)->IsOk(); 
10434         wxPyEndAllowThreads(__tstate
); 
10435         if (PyErr_Occurred()) SWIG_fail
; 
10438         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10446 static PyObject 
*_wrap_Locale_GetLocale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10447     PyObject 
*resultobj
; 
10448     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
10450     PyObject 
* obj0 
= 0 ; 
10451     char *kwnames
[] = { 
10452         (char *) "self", NULL 
 
10455     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
; 
10456     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
10457     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10459         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10460         result 
= ((wxLocale 
const *)arg1
)->GetLocale(); 
10462         wxPyEndAllowThreads(__tstate
); 
10463         if (PyErr_Occurred()) SWIG_fail
; 
10467         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10469         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10478 static PyObject 
*_wrap_Locale_GetLanguage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10479     PyObject 
*resultobj
; 
10480     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
10482     PyObject 
* obj0 
= 0 ; 
10483     char *kwnames
[] = { 
10484         (char *) "self", NULL 
 
10487     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
; 
10488     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
10489     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10491         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10492         result 
= (int)((wxLocale 
const *)arg1
)->GetLanguage(); 
10494         wxPyEndAllowThreads(__tstate
); 
10495         if (PyErr_Occurred()) SWIG_fail
; 
10497     resultobj 
= SWIG_From_int((int)result
); 
10504 static PyObject 
*_wrap_Locale_GetSysName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10505     PyObject 
*resultobj
; 
10506     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
10508     PyObject 
* obj0 
= 0 ; 
10509     char *kwnames
[] = { 
10510         (char *) "self", NULL 
 
10513     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
; 
10514     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
10515     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10517         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10518         result 
= ((wxLocale 
const *)arg1
)->GetSysName(); 
10520         wxPyEndAllowThreads(__tstate
); 
10521         if (PyErr_Occurred()) SWIG_fail
; 
10525         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10527         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10536 static PyObject 
*_wrap_Locale_GetCanonicalName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10537     PyObject 
*resultobj
; 
10538     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
10540     PyObject 
* obj0 
= 0 ; 
10541     char *kwnames
[] = { 
10542         (char *) "self", NULL 
 
10545     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
; 
10546     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
10547     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10549         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10550         result 
= ((wxLocale 
const *)arg1
)->GetCanonicalName(); 
10552         wxPyEndAllowThreads(__tstate
); 
10553         if (PyErr_Occurred()) SWIG_fail
; 
10557         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10559         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10568 static PyObject 
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10569     PyObject 
*resultobj
; 
10570     wxString 
*arg1 
= 0 ; 
10571     bool temp1 
= false ; 
10572     PyObject 
* obj0 
= 0 ; 
10573     char *kwnames
[] = { 
10574         (char *) "prefix", NULL 
 
10577     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
; 
10579         arg1 
= wxString_in_helper(obj0
); 
10580         if (arg1 
== NULL
) SWIG_fail
; 
10584         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10585         wxLocale::AddCatalogLookupPathPrefix((wxString 
const &)*arg1
); 
10587         wxPyEndAllowThreads(__tstate
); 
10588         if (PyErr_Occurred()) SWIG_fail
; 
10590     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10605 static PyObject 
*_wrap_Locale_AddCatalog(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10606     PyObject 
*resultobj
; 
10607     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
10608     wxString 
*arg2 
= 0 ; 
10610     bool temp2 
= false ; 
10611     PyObject 
* obj0 
= 0 ; 
10612     PyObject 
* obj1 
= 0 ; 
10613     char *kwnames
[] = { 
10614         (char *) "self",(char *) "szDomain", NULL 
 
10617     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
; 
10618     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
10619     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10621         arg2 
= wxString_in_helper(obj1
); 
10622         if (arg2 
== NULL
) SWIG_fail
; 
10626         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10627         result 
= (bool)(arg1
)->AddCatalog((wxString 
const &)*arg2
); 
10629         wxPyEndAllowThreads(__tstate
); 
10630         if (PyErr_Occurred()) SWIG_fail
; 
10633         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10649 static PyObject 
*_wrap_Locale_IsLoaded(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10650     PyObject 
*resultobj
; 
10651     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
10652     wxString 
*arg2 
= 0 ; 
10654     bool temp2 
= false ; 
10655     PyObject 
* obj0 
= 0 ; 
10656     PyObject 
* obj1 
= 0 ; 
10657     char *kwnames
[] = { 
10658         (char *) "self",(char *) "szDomain", NULL 
 
10661     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
; 
10662     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
10663     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10665         arg2 
= wxString_in_helper(obj1
); 
10666         if (arg2 
== NULL
) SWIG_fail
; 
10670         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10671         result 
= (bool)((wxLocale 
const *)arg1
)->IsLoaded((wxString 
const &)*arg2
); 
10673         wxPyEndAllowThreads(__tstate
); 
10674         if (PyErr_Occurred()) SWIG_fail
; 
10677         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10693 static PyObject 
*_wrap_Locale_GetLanguageInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10694     PyObject 
*resultobj
; 
10696     wxLanguageInfo 
*result
; 
10697     PyObject 
* obj0 
= 0 ; 
10698     char *kwnames
[] = { 
10699         (char *) "lang", NULL 
 
10702     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
; 
10703     arg1 
= (int)SWIG_As_int(obj0
);  
10704     if (PyErr_Occurred()) SWIG_fail
; 
10706         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10707         result 
= (wxLanguageInfo 
*)wxLocale::GetLanguageInfo(arg1
); 
10709         wxPyEndAllowThreads(__tstate
); 
10710         if (PyErr_Occurred()) SWIG_fail
; 
10712     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0); 
10719 static PyObject 
*_wrap_Locale_GetLanguageName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10720     PyObject 
*resultobj
; 
10723     PyObject 
* obj0 
= 0 ; 
10724     char *kwnames
[] = { 
10725         (char *) "lang", NULL 
 
10728     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
; 
10729     arg1 
= (int)SWIG_As_int(obj0
);  
10730     if (PyErr_Occurred()) SWIG_fail
; 
10732         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10733         result 
= wxLocale::GetLanguageName(arg1
); 
10735         wxPyEndAllowThreads(__tstate
); 
10736         if (PyErr_Occurred()) SWIG_fail
; 
10740         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10742         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10751 static PyObject 
*_wrap_Locale_FindLanguageInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10752     PyObject 
*resultobj
; 
10753     wxString 
*arg1 
= 0 ; 
10754     wxLanguageInfo 
*result
; 
10755     bool temp1 
= false ; 
10756     PyObject 
* obj0 
= 0 ; 
10757     char *kwnames
[] = { 
10758         (char *) "locale", NULL 
 
10761     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
; 
10763         arg1 
= wxString_in_helper(obj0
); 
10764         if (arg1 
== NULL
) SWIG_fail
; 
10768         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10769         result 
= (wxLanguageInfo 
*)wxLocale::FindLanguageInfo((wxString 
const &)*arg1
); 
10771         wxPyEndAllowThreads(__tstate
); 
10772         if (PyErr_Occurred()) SWIG_fail
; 
10774     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0); 
10789 static PyObject 
*_wrap_Locale_AddLanguage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10790     PyObject 
*resultobj
; 
10791     wxLanguageInfo 
*arg1 
= 0 ; 
10792     PyObject 
* obj0 
= 0 ; 
10793     char *kwnames
[] = { 
10794         (char *) "info", NULL 
 
10797     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
; 
10798     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
, 
10799     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
10801     if (arg1 
== NULL
) { 
10802         PyErr_SetString(PyExc_TypeError
,"null reference"); 
10806         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10807         wxLocale::AddLanguage((wxLanguageInfo 
const &)*arg1
); 
10809         wxPyEndAllowThreads(__tstate
); 
10810         if (PyErr_Occurred()) SWIG_fail
; 
10812     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10819 static PyObject 
*_wrap_Locale_GetString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10820     PyObject 
*resultobj
; 
10821     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
10822     wxString 
*arg2 
= 0 ; 
10823     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
10824     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
10826     bool temp2 
= false ; 
10827     bool temp3 
= false ; 
10828     PyObject 
* obj0 
= 0 ; 
10829     PyObject 
* obj1 
= 0 ; 
10830     PyObject 
* obj2 
= 0 ; 
10831     char *kwnames
[] = { 
10832         (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL 
 
10835     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10836     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
10837     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10839         arg2 
= wxString_in_helper(obj1
); 
10840         if (arg2 
== NULL
) SWIG_fail
; 
10845             arg3 
= wxString_in_helper(obj2
); 
10846             if (arg3 
== NULL
) SWIG_fail
; 
10851         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10852         result 
= ((wxLocale 
const *)arg1
)->GetString((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
10854         wxPyEndAllowThreads(__tstate
); 
10855         if (PyErr_Occurred()) SWIG_fail
; 
10859         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10861         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10886 static PyObject 
*_wrap_Locale_GetName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10887     PyObject 
*resultobj
; 
10888     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
10890     PyObject 
* obj0 
= 0 ; 
10891     char *kwnames
[] = { 
10892         (char *) "self", NULL 
 
10895     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
; 
10896     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
10897     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10899         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10901             wxString 
const &_result_ref 
= ((wxLocale 
const *)arg1
)->GetName(); 
10902             result 
= (wxString 
*) &_result_ref
; 
10905         wxPyEndAllowThreads(__tstate
); 
10906         if (PyErr_Occurred()) SWIG_fail
; 
10910         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
10912         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
10921 static PyObject 
* Locale_swigregister(PyObject 
*, PyObject 
*args
) { 
10923     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
10924     SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
); 
10926     return Py_BuildValue((char *)""); 
10928 static PyObject 
*_wrap_GetLocale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10929     PyObject 
*resultobj
; 
10931     char *kwnames
[] = { 
10935     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
; 
10937         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10938         result 
= (wxLocale 
*)wxGetLocale(); 
10940         wxPyEndAllowThreads(__tstate
); 
10941         if (PyErr_Occurred()) SWIG_fail
; 
10943     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0); 
10950 static PyObject 
*_wrap_GetTranslation__SWIG_0(PyObject 
*, PyObject 
*args
) { 
10951     PyObject 
*resultobj
; 
10952     wxString 
*arg1 
= 0 ; 
10954     bool temp1 
= false ; 
10955     PyObject 
* obj0 
= 0 ; 
10957     if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
; 
10959         arg1 
= wxString_in_helper(obj0
); 
10960         if (arg1 
== NULL
) SWIG_fail
; 
10964         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10965         result 
= wxGetTranslation((wxString 
const &)*arg1
); 
10967         wxPyEndAllowThreads(__tstate
); 
10968         if (PyErr_Occurred()) SWIG_fail
; 
10972         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10974         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10991 static PyObject 
*_wrap_GetTranslation__SWIG_1(PyObject 
*, PyObject 
*args
) { 
10992     PyObject 
*resultobj
; 
10993     wxString 
*arg1 
= 0 ; 
10994     wxString 
*arg2 
= 0 ; 
10997     bool temp1 
= false ; 
10998     bool temp2 
= false ; 
10999     PyObject 
* obj0 
= 0 ; 
11000     PyObject 
* obj1 
= 0 ; 
11001     PyObject 
* obj2 
= 0 ; 
11003     if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
; 
11005         arg1 
= wxString_in_helper(obj0
); 
11006         if (arg1 
== NULL
) SWIG_fail
; 
11010         arg2 
= wxString_in_helper(obj1
); 
11011         if (arg2 
== NULL
) SWIG_fail
; 
11014     arg3 
= (size_t)SWIG_As_unsigned_SS_long(obj2
);  
11015     if (PyErr_Occurred()) SWIG_fail
; 
11017         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11018         result 
= wxGetTranslation((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
); 
11020         wxPyEndAllowThreads(__tstate
); 
11021         if (PyErr_Occurred()) SWIG_fail
; 
11025         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
11027         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
11052 static PyObject 
*_wrap_GetTranslation(PyObject 
*self
, PyObject 
*args
) { 
11057     argc 
= PyObject_Length(args
); 
11058     for (ii 
= 0; (ii 
< argc
) && (ii 
< 3); ii
++) { 
11059         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
11064             _v 
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]); 
11067             return _wrap_GetTranslation__SWIG_0(self
,args
); 
11073             _v 
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]); 
11077                 _v 
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]); 
11080                 _v 
= SWIG_Check_unsigned_SS_long(argv
[2]); 
11082                     return _wrap_GetTranslation__SWIG_1(self
,args
); 
11088     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'"); 
11093 static PyObject 
*_wrap_new_EncodingConverter(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11094     PyObject 
*resultobj
; 
11095     wxEncodingConverter 
*result
; 
11096     char *kwnames
[] = { 
11100     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
; 
11102         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11103         result 
= (wxEncodingConverter 
*)new wxEncodingConverter(); 
11105         wxPyEndAllowThreads(__tstate
); 
11106         if (PyErr_Occurred()) SWIG_fail
; 
11108     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1); 
11115 static PyObject 
*_wrap_delete_EncodingConverter(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11116     PyObject 
*resultobj
; 
11117     wxEncodingConverter 
*arg1 
= (wxEncodingConverter 
*) 0 ; 
11118     PyObject 
* obj0 
= 0 ; 
11119     char *kwnames
[] = { 
11120         (char *) "self", NULL 
 
11123     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
; 
11124     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
, 
11125     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11127         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11130         wxPyEndAllowThreads(__tstate
); 
11131         if (PyErr_Occurred()) SWIG_fail
; 
11133     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11140 static PyObject 
*_wrap_EncodingConverter_Init(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11141     PyObject 
*resultobj
; 
11142     wxEncodingConverter 
*arg1 
= (wxEncodingConverter 
*) 0 ; 
11145     int arg4 
= (int) wxCONVERT_STRICT 
; 
11147     PyObject 
* obj0 
= 0 ; 
11148     PyObject 
* obj1 
= 0 ; 
11149     PyObject 
* obj2 
= 0 ; 
11150     PyObject 
* obj3 
= 0 ; 
11151     char *kwnames
[] = { 
11152         (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL 
 
11155     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11156     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
, 
11157     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11158     arg2 
= (int)SWIG_As_int(obj1
);  
11159     if (PyErr_Occurred()) SWIG_fail
; 
11160     arg3 
= (int)SWIG_As_int(obj2
);  
11161     if (PyErr_Occurred()) SWIG_fail
; 
11163         arg4 
= (int)SWIG_As_int(obj3
);  
11164         if (PyErr_Occurred()) SWIG_fail
; 
11167         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11168         result 
= (bool)(arg1
)->Init((wxFontEncoding 
)arg2
,(wxFontEncoding 
)arg3
,arg4
); 
11170         wxPyEndAllowThreads(__tstate
); 
11171         if (PyErr_Occurred()) SWIG_fail
; 
11174         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11182 static PyObject 
*_wrap_EncodingConverter_Convert(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11183     PyObject 
*resultobj
; 
11184     wxEncodingConverter 
*arg1 
= (wxEncodingConverter 
*) 0 ; 
11185     wxString 
*arg2 
= 0 ; 
11187     bool temp2 
= false ; 
11188     PyObject 
* obj0 
= 0 ; 
11189     PyObject 
* obj1 
= 0 ; 
11190     char *kwnames
[] = { 
11191         (char *) "self",(char *) "input", NULL 
 
11194     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
; 
11195     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
, 
11196     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11198         arg2 
= wxString_in_helper(obj1
); 
11199         if (arg2 
== NULL
) SWIG_fail
; 
11203         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11204         result 
= (arg1
)->Convert((wxString 
const &)*arg2
); 
11206         wxPyEndAllowThreads(__tstate
); 
11207         if (PyErr_Occurred()) SWIG_fail
; 
11211         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
11213         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
11230 static PyObject 
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11231     PyObject 
*resultobj
; 
11233     int arg2 
= (int) wxPLATFORM_CURRENT 
; 
11234     wxFontEncodingArray result
; 
11235     PyObject 
* obj0 
= 0 ; 
11236     PyObject 
* obj1 
= 0 ; 
11237     char *kwnames
[] = { 
11238         (char *) "enc",(char *) "platform", NULL 
 
11241     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
; 
11242     arg1 
= (int)SWIG_As_int(obj0
);  
11243     if (PyErr_Occurred()) SWIG_fail
; 
11245         arg2 
= (int)SWIG_As_int(obj1
);  
11246         if (PyErr_Occurred()) SWIG_fail
; 
11249         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11250         result 
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding 
)arg1
,arg2
); 
11252         wxPyEndAllowThreads(__tstate
); 
11253         if (PyErr_Occurred()) SWIG_fail
; 
11256         resultobj 
= PyList_New(0); 
11257         for (size_t i
=0; i 
< (&result
)->GetCount(); i
++) { 
11258             PyObject
* number 
= PyInt_FromLong((&result
)->Item(i
)); 
11259             PyList_Append(resultobj
, number
); 
11269 static PyObject 
*_wrap_EncodingConverter_GetAllEquivalents(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11270     PyObject 
*resultobj
; 
11272     wxFontEncodingArray result
; 
11273     PyObject 
* obj0 
= 0 ; 
11274     char *kwnames
[] = { 
11275         (char *) "enc", NULL 
 
11278     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
; 
11279     arg1 
= (int)SWIG_As_int(obj0
);  
11280     if (PyErr_Occurred()) SWIG_fail
; 
11282         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11283         result 
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding 
)arg1
); 
11285         wxPyEndAllowThreads(__tstate
); 
11286         if (PyErr_Occurred()) SWIG_fail
; 
11289         resultobj 
= PyList_New(0); 
11290         for (size_t i
=0; i 
< (&result
)->GetCount(); i
++) { 
11291             PyObject
* number 
= PyInt_FromLong((&result
)->Item(i
)); 
11292             PyList_Append(resultobj
, number
); 
11302 static PyObject 
*_wrap_EncodingConverter_CanConvert(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11303     PyObject 
*resultobj
; 
11307     PyObject 
* obj0 
= 0 ; 
11308     PyObject 
* obj1 
= 0 ; 
11309     char *kwnames
[] = { 
11310         (char *) "encIn",(char *) "encOut", NULL 
 
11313     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
; 
11314     arg1 
= (int)SWIG_As_int(obj0
);  
11315     if (PyErr_Occurred()) SWIG_fail
; 
11316     arg2 
= (int)SWIG_As_int(obj1
);  
11317     if (PyErr_Occurred()) SWIG_fail
; 
11319         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11320         result 
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding 
)arg1
,(wxFontEncoding 
)arg2
); 
11322         wxPyEndAllowThreads(__tstate
); 
11323         if (PyErr_Occurred()) SWIG_fail
; 
11326         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11334 static PyObject 
* EncodingConverter_swigregister(PyObject 
*, PyObject 
*args
) { 
11336     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
11337     SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
); 
11339     return Py_BuildValue((char *)""); 
11341 static PyObject 
*_wrap_delete_DC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11342     PyObject 
*resultobj
; 
11343     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11344     PyObject 
* obj0 
= 0 ; 
11345     char *kwnames
[] = { 
11346         (char *) "self", NULL 
 
11349     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
; 
11350     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11351     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11353         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11356         wxPyEndAllowThreads(__tstate
); 
11357         if (PyErr_Occurred()) SWIG_fail
; 
11359     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11366 static PyObject 
*_wrap_DC_BeginDrawing(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11367     PyObject 
*resultobj
; 
11368     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11369     PyObject 
* obj0 
= 0 ; 
11370     char *kwnames
[] = { 
11371         (char *) "self", NULL 
 
11374     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
; 
11375     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11376     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11378         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11379         (arg1
)->BeginDrawing(); 
11381         wxPyEndAllowThreads(__tstate
); 
11382         if (PyErr_Occurred()) SWIG_fail
; 
11384     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11391 static PyObject 
*_wrap_DC_EndDrawing(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11392     PyObject 
*resultobj
; 
11393     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11394     PyObject 
* obj0 
= 0 ; 
11395     char *kwnames
[] = { 
11396         (char *) "self", NULL 
 
11399     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
; 
11400     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11401     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11403         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11404         (arg1
)->EndDrawing(); 
11406         wxPyEndAllowThreads(__tstate
); 
11407         if (PyErr_Occurred()) SWIG_fail
; 
11409     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11416 static PyObject 
*_wrap_DC_FloodFill(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11417     PyObject 
*resultobj
; 
11418     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11421     wxColour 
*arg4 
= 0 ; 
11422     int arg5 
= (int) wxFLOOD_SURFACE 
; 
11425     PyObject 
* obj0 
= 0 ; 
11426     PyObject 
* obj1 
= 0 ; 
11427     PyObject 
* obj2 
= 0 ; 
11428     PyObject 
* obj3 
= 0 ; 
11429     PyObject 
* obj4 
= 0 ; 
11430     char *kwnames
[] = { 
11431         (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL 
 
11434     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
11435     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11436     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11437     arg2 
= (int)SWIG_As_int(obj1
);  
11438     if (PyErr_Occurred()) SWIG_fail
; 
11439     arg3 
= (int)SWIG_As_int(obj2
);  
11440     if (PyErr_Occurred()) SWIG_fail
; 
11443         if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
11446         arg5 
= (int)SWIG_As_int(obj4
);  
11447         if (PyErr_Occurred()) SWIG_fail
; 
11450         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11451         result 
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour 
const &)*arg4
,arg5
); 
11453         wxPyEndAllowThreads(__tstate
); 
11454         if (PyErr_Occurred()) SWIG_fail
; 
11457         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11465 static PyObject 
*_wrap_DC_FloodFillPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11466     PyObject 
*resultobj
; 
11467     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11468     wxPoint 
*arg2 
= 0 ; 
11469     wxColour 
*arg3 
= 0 ; 
11470     int arg4 
= (int) wxFLOOD_SURFACE 
; 
11474     PyObject 
* obj0 
= 0 ; 
11475     PyObject 
* obj1 
= 0 ; 
11476     PyObject 
* obj2 
= 0 ; 
11477     PyObject 
* obj3 
= 0 ; 
11478     char *kwnames
[] = { 
11479         (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL 
 
11482     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11483     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11484     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11487         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
11491         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
11494         arg4 
= (int)SWIG_As_int(obj3
);  
11495         if (PyErr_Occurred()) SWIG_fail
; 
11498         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11499         result 
= (bool)(arg1
)->FloodFill((wxPoint 
const &)*arg2
,(wxColour 
const &)*arg3
,arg4
); 
11501         wxPyEndAllowThreads(__tstate
); 
11502         if (PyErr_Occurred()) SWIG_fail
; 
11505         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11513 static PyObject 
*_wrap_DC_GetPixel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11514     PyObject 
*resultobj
; 
11515     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11519     PyObject 
* obj0 
= 0 ; 
11520     PyObject 
* obj1 
= 0 ; 
11521     PyObject 
* obj2 
= 0 ; 
11522     char *kwnames
[] = { 
11523         (char *) "self",(char *) "x",(char *) "y", NULL 
 
11526     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11527     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11528     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11529     arg2 
= (int)SWIG_As_int(obj1
);  
11530     if (PyErr_Occurred()) SWIG_fail
; 
11531     arg3 
= (int)SWIG_As_int(obj2
);  
11532     if (PyErr_Occurred()) SWIG_fail
; 
11534         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11535         result 
= wxDC_GetPixel(arg1
,arg2
,arg3
); 
11537         wxPyEndAllowThreads(__tstate
); 
11538         if (PyErr_Occurred()) SWIG_fail
; 
11541         wxColour 
* resultptr
; 
11542         resultptr 
= new wxColour((wxColour 
&) result
); 
11543         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
11551 static PyObject 
*_wrap_DC_GetPixelPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11552     PyObject 
*resultobj
; 
11553     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11554     wxPoint 
*arg2 
= 0 ; 
11557     PyObject 
* obj0 
= 0 ; 
11558     PyObject 
* obj1 
= 0 ; 
11559     char *kwnames
[] = { 
11560         (char *) "self",(char *) "pt", NULL 
 
11563     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
11564     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11565     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11568         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
11571         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11572         result 
= wxDC_GetPixelPoint(arg1
,(wxPoint 
const &)*arg2
); 
11574         wxPyEndAllowThreads(__tstate
); 
11575         if (PyErr_Occurred()) SWIG_fail
; 
11578         wxColour 
* resultptr
; 
11579         resultptr 
= new wxColour((wxColour 
&) result
); 
11580         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
11588 static PyObject 
*_wrap_DC_DrawLine(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11589     PyObject 
*resultobj
; 
11590     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11595     PyObject 
* obj0 
= 0 ; 
11596     PyObject 
* obj1 
= 0 ; 
11597     PyObject 
* obj2 
= 0 ; 
11598     PyObject 
* obj3 
= 0 ; 
11599     PyObject 
* obj4 
= 0 ; 
11600     char *kwnames
[] = { 
11601         (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL 
 
11604     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
11605     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11606     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11607     arg2 
= (int)SWIG_As_int(obj1
);  
11608     if (PyErr_Occurred()) SWIG_fail
; 
11609     arg3 
= (int)SWIG_As_int(obj2
);  
11610     if (PyErr_Occurred()) SWIG_fail
; 
11611     arg4 
= (int)SWIG_As_int(obj3
);  
11612     if (PyErr_Occurred()) SWIG_fail
; 
11613     arg5 
= (int)SWIG_As_int(obj4
);  
11614     if (PyErr_Occurred()) SWIG_fail
; 
11616         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11617         (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
); 
11619         wxPyEndAllowThreads(__tstate
); 
11620         if (PyErr_Occurred()) SWIG_fail
; 
11622     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11629 static PyObject 
*_wrap_DC_DrawLinePoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11630     PyObject 
*resultobj
; 
11631     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11632     wxPoint 
*arg2 
= 0 ; 
11633     wxPoint 
*arg3 
= 0 ; 
11636     PyObject 
* obj0 
= 0 ; 
11637     PyObject 
* obj1 
= 0 ; 
11638     PyObject 
* obj2 
= 0 ; 
11639     char *kwnames
[] = { 
11640         (char *) "self",(char *) "pt1",(char *) "pt2", NULL 
 
11643     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11644     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11645     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11648         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
11652         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
11655         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11656         (arg1
)->DrawLine((wxPoint 
const &)*arg2
,(wxPoint 
const &)*arg3
); 
11658         wxPyEndAllowThreads(__tstate
); 
11659         if (PyErr_Occurred()) SWIG_fail
; 
11661     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11668 static PyObject 
*_wrap_DC_CrossHair(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11669     PyObject 
*resultobj
; 
11670     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11673     PyObject 
* obj0 
= 0 ; 
11674     PyObject 
* obj1 
= 0 ; 
11675     PyObject 
* obj2 
= 0 ; 
11676     char *kwnames
[] = { 
11677         (char *) "self",(char *) "x",(char *) "y", NULL 
 
11680     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11681     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11682     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11683     arg2 
= (int)SWIG_As_int(obj1
);  
11684     if (PyErr_Occurred()) SWIG_fail
; 
11685     arg3 
= (int)SWIG_As_int(obj2
);  
11686     if (PyErr_Occurred()) SWIG_fail
; 
11688         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11689         (arg1
)->CrossHair(arg2
,arg3
); 
11691         wxPyEndAllowThreads(__tstate
); 
11692         if (PyErr_Occurred()) SWIG_fail
; 
11694     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11701 static PyObject 
*_wrap_DC_CrossHairPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11702     PyObject 
*resultobj
; 
11703     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11704     wxPoint 
*arg2 
= 0 ; 
11706     PyObject 
* obj0 
= 0 ; 
11707     PyObject 
* obj1 
= 0 ; 
11708     char *kwnames
[] = { 
11709         (char *) "self",(char *) "pt", NULL 
 
11712     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
11713     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11714     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11717         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
11720         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11721         (arg1
)->CrossHair((wxPoint 
const &)*arg2
); 
11723         wxPyEndAllowThreads(__tstate
); 
11724         if (PyErr_Occurred()) SWIG_fail
; 
11726     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11733 static PyObject 
*_wrap_DC_DrawArc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11734     PyObject 
*resultobj
; 
11735     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11742     PyObject 
* obj0 
= 0 ; 
11743     PyObject 
* obj1 
= 0 ; 
11744     PyObject 
* obj2 
= 0 ; 
11745     PyObject 
* obj3 
= 0 ; 
11746     PyObject 
* obj4 
= 0 ; 
11747     PyObject 
* obj5 
= 0 ; 
11748     PyObject 
* obj6 
= 0 ; 
11749     char *kwnames
[] = { 
11750         (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL 
 
11753     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
11754     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11755     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11756     arg2 
= (int)SWIG_As_int(obj1
);  
11757     if (PyErr_Occurred()) SWIG_fail
; 
11758     arg3 
= (int)SWIG_As_int(obj2
);  
11759     if (PyErr_Occurred()) SWIG_fail
; 
11760     arg4 
= (int)SWIG_As_int(obj3
);  
11761     if (PyErr_Occurred()) SWIG_fail
; 
11762     arg5 
= (int)SWIG_As_int(obj4
);  
11763     if (PyErr_Occurred()) SWIG_fail
; 
11764     arg6 
= (int)SWIG_As_int(obj5
);  
11765     if (PyErr_Occurred()) SWIG_fail
; 
11766     arg7 
= (int)SWIG_As_int(obj6
);  
11767     if (PyErr_Occurred()) SWIG_fail
; 
11769         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11770         (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
11772         wxPyEndAllowThreads(__tstate
); 
11773         if (PyErr_Occurred()) SWIG_fail
; 
11775     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11782 static PyObject 
*_wrap_DC_DrawArcPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11783     PyObject 
*resultobj
; 
11784     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11785     wxPoint 
*arg2 
= 0 ; 
11786     wxPoint 
*arg3 
= 0 ; 
11787     wxPoint 
*arg4 
= 0 ; 
11791     PyObject 
* obj0 
= 0 ; 
11792     PyObject 
* obj1 
= 0 ; 
11793     PyObject 
* obj2 
= 0 ; 
11794     PyObject 
* obj3 
= 0 ; 
11795     char *kwnames
[] = { 
11796         (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL 
 
11799     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11800     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11801     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11804         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
11808         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
11812         if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
11815         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11816         (arg1
)->DrawArc((wxPoint 
const &)*arg2
,(wxPoint 
const &)*arg3
,(wxPoint 
const &)*arg4
); 
11818         wxPyEndAllowThreads(__tstate
); 
11819         if (PyErr_Occurred()) SWIG_fail
; 
11821     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11828 static PyObject 
*_wrap_DC_DrawCheckMark(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11829     PyObject 
*resultobj
; 
11830     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11835     PyObject 
* obj0 
= 0 ; 
11836     PyObject 
* obj1 
= 0 ; 
11837     PyObject 
* obj2 
= 0 ; 
11838     PyObject 
* obj3 
= 0 ; 
11839     PyObject 
* obj4 
= 0 ; 
11840     char *kwnames
[] = { 
11841         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
11844     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
11845     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11846     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11847     arg2 
= (int)SWIG_As_int(obj1
);  
11848     if (PyErr_Occurred()) SWIG_fail
; 
11849     arg3 
= (int)SWIG_As_int(obj2
);  
11850     if (PyErr_Occurred()) SWIG_fail
; 
11851     arg4 
= (int)SWIG_As_int(obj3
);  
11852     if (PyErr_Occurred()) SWIG_fail
; 
11853     arg5 
= (int)SWIG_As_int(obj4
);  
11854     if (PyErr_Occurred()) SWIG_fail
; 
11856         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11857         (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
); 
11859         wxPyEndAllowThreads(__tstate
); 
11860         if (PyErr_Occurred()) SWIG_fail
; 
11862     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11869 static PyObject 
*_wrap_DC_DrawCheckMarkRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11870     PyObject 
*resultobj
; 
11871     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11874     PyObject 
* obj0 
= 0 ; 
11875     PyObject 
* obj1 
= 0 ; 
11876     char *kwnames
[] = { 
11877         (char *) "self",(char *) "rect", NULL 
 
11880     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
11881     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11882     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11885         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
11888         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11889         (arg1
)->DrawCheckMark((wxRect 
const &)*arg2
); 
11891         wxPyEndAllowThreads(__tstate
); 
11892         if (PyErr_Occurred()) SWIG_fail
; 
11894     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11901 static PyObject 
*_wrap_DC_DrawEllipticArc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11902     PyObject 
*resultobj
; 
11903     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11910     PyObject 
* obj0 
= 0 ; 
11911     PyObject 
* obj1 
= 0 ; 
11912     PyObject 
* obj2 
= 0 ; 
11913     PyObject 
* obj3 
= 0 ; 
11914     PyObject 
* obj4 
= 0 ; 
11915     PyObject 
* obj5 
= 0 ; 
11916     PyObject 
* obj6 
= 0 ; 
11917     char *kwnames
[] = { 
11918         (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL 
 
11921     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
11922     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11923     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11924     arg2 
= (int)SWIG_As_int(obj1
);  
11925     if (PyErr_Occurred()) SWIG_fail
; 
11926     arg3 
= (int)SWIG_As_int(obj2
);  
11927     if (PyErr_Occurred()) SWIG_fail
; 
11928     arg4 
= (int)SWIG_As_int(obj3
);  
11929     if (PyErr_Occurred()) SWIG_fail
; 
11930     arg5 
= (int)SWIG_As_int(obj4
);  
11931     if (PyErr_Occurred()) SWIG_fail
; 
11932     arg6 
= (double)SWIG_As_double(obj5
);  
11933     if (PyErr_Occurred()) SWIG_fail
; 
11934     arg7 
= (double)SWIG_As_double(obj6
);  
11935     if (PyErr_Occurred()) SWIG_fail
; 
11937         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11938         (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
11940         wxPyEndAllowThreads(__tstate
); 
11941         if (PyErr_Occurred()) SWIG_fail
; 
11943     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11950 static PyObject 
*_wrap_DC_DrawEllipticArcPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11951     PyObject 
*resultobj
; 
11952     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11953     wxPoint 
*arg2 
= 0 ; 
11959     PyObject 
* obj0 
= 0 ; 
11960     PyObject 
* obj1 
= 0 ; 
11961     PyObject 
* obj2 
= 0 ; 
11962     PyObject 
* obj3 
= 0 ; 
11963     PyObject 
* obj4 
= 0 ; 
11964     char *kwnames
[] = { 
11965         (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL 
 
11968     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
11969     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11970     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11973         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
11977         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
11979     arg4 
= (double)SWIG_As_double(obj3
);  
11980     if (PyErr_Occurred()) SWIG_fail
; 
11981     arg5 
= (double)SWIG_As_double(obj4
);  
11982     if (PyErr_Occurred()) SWIG_fail
; 
11984         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11985         (arg1
)->DrawEllipticArc((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
,arg4
,arg5
); 
11987         wxPyEndAllowThreads(__tstate
); 
11988         if (PyErr_Occurred()) SWIG_fail
; 
11990     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11997 static PyObject 
*_wrap_DC_DrawPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11998     PyObject 
*resultobj
; 
11999     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12002     PyObject 
* obj0 
= 0 ; 
12003     PyObject 
* obj1 
= 0 ; 
12004     PyObject 
* obj2 
= 0 ; 
12005     char *kwnames
[] = { 
12006         (char *) "self",(char *) "x",(char *) "y", NULL 
 
12009     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12010     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12011     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12012     arg2 
= (int)SWIG_As_int(obj1
);  
12013     if (PyErr_Occurred()) SWIG_fail
; 
12014     arg3 
= (int)SWIG_As_int(obj2
);  
12015     if (PyErr_Occurred()) SWIG_fail
; 
12017         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12018         (arg1
)->DrawPoint(arg2
,arg3
); 
12020         wxPyEndAllowThreads(__tstate
); 
12021         if (PyErr_Occurred()) SWIG_fail
; 
12023     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12030 static PyObject 
*_wrap_DC_DrawPointPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12031     PyObject 
*resultobj
; 
12032     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12033     wxPoint 
*arg2 
= 0 ; 
12035     PyObject 
* obj0 
= 0 ; 
12036     PyObject 
* obj1 
= 0 ; 
12037     char *kwnames
[] = { 
12038         (char *) "self",(char *) "pt", NULL 
 
12041     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
12042     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12043     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12046         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
12049         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12050         (arg1
)->DrawPoint((wxPoint 
const &)*arg2
); 
12052         wxPyEndAllowThreads(__tstate
); 
12053         if (PyErr_Occurred()) SWIG_fail
; 
12055     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12062 static PyObject 
*_wrap_DC_DrawRectangle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12063     PyObject 
*resultobj
; 
12064     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12069     PyObject 
* obj0 
= 0 ; 
12070     PyObject 
* obj1 
= 0 ; 
12071     PyObject 
* obj2 
= 0 ; 
12072     PyObject 
* obj3 
= 0 ; 
12073     PyObject 
* obj4 
= 0 ; 
12074     char *kwnames
[] = { 
12075         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
12078     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
12079     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12080     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12081     arg2 
= (int)SWIG_As_int(obj1
);  
12082     if (PyErr_Occurred()) SWIG_fail
; 
12083     arg3 
= (int)SWIG_As_int(obj2
);  
12084     if (PyErr_Occurred()) SWIG_fail
; 
12085     arg4 
= (int)SWIG_As_int(obj3
);  
12086     if (PyErr_Occurred()) SWIG_fail
; 
12087     arg5 
= (int)SWIG_As_int(obj4
);  
12088     if (PyErr_Occurred()) SWIG_fail
; 
12090         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12091         (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
); 
12093         wxPyEndAllowThreads(__tstate
); 
12094         if (PyErr_Occurred()) SWIG_fail
; 
12096     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12103 static PyObject 
*_wrap_DC_DrawRectangleRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12104     PyObject 
*resultobj
; 
12105     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12108     PyObject 
* obj0 
= 0 ; 
12109     PyObject 
* obj1 
= 0 ; 
12110     char *kwnames
[] = { 
12111         (char *) "self",(char *) "rect", NULL 
 
12114     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
12115     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12116     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12119         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
12122         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12123         (arg1
)->DrawRectangle((wxRect 
const &)*arg2
); 
12125         wxPyEndAllowThreads(__tstate
); 
12126         if (PyErr_Occurred()) SWIG_fail
; 
12128     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12135 static PyObject 
*_wrap_DC_DrawRectanglePointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12136     PyObject 
*resultobj
; 
12137     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12138     wxPoint 
*arg2 
= 0 ; 
12142     PyObject 
* obj0 
= 0 ; 
12143     PyObject 
* obj1 
= 0 ; 
12144     PyObject 
* obj2 
= 0 ; 
12145     char *kwnames
[] = { 
12146         (char *) "self",(char *) "pt",(char *) "sz", NULL 
 
12149     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12150     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12151     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12154         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
12158         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
12161         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12162         (arg1
)->DrawRectangle((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
12164         wxPyEndAllowThreads(__tstate
); 
12165         if (PyErr_Occurred()) SWIG_fail
; 
12167     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12174 static PyObject 
*_wrap_DC_DrawRoundedRectangle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12175     PyObject 
*resultobj
; 
12176     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12182     PyObject 
* obj0 
= 0 ; 
12183     PyObject 
* obj1 
= 0 ; 
12184     PyObject 
* obj2 
= 0 ; 
12185     PyObject 
* obj3 
= 0 ; 
12186     PyObject 
* obj4 
= 0 ; 
12187     PyObject 
* obj5 
= 0 ; 
12188     char *kwnames
[] = { 
12189         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL 
 
12192     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
12193     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12194     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12195     arg2 
= (int)SWIG_As_int(obj1
);  
12196     if (PyErr_Occurred()) SWIG_fail
; 
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
; 
12201     arg5 
= (int)SWIG_As_int(obj4
);  
12202     if (PyErr_Occurred()) SWIG_fail
; 
12203     arg6 
= (double)SWIG_As_double(obj5
);  
12204     if (PyErr_Occurred()) SWIG_fail
; 
12206         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12207         (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
); 
12209         wxPyEndAllowThreads(__tstate
); 
12210         if (PyErr_Occurred()) SWIG_fail
; 
12212     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12219 static PyObject 
*_wrap_DC_DrawRoundedRectangleRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12220     PyObject 
*resultobj
; 
12221     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12225     PyObject 
* obj0 
= 0 ; 
12226     PyObject 
* obj1 
= 0 ; 
12227     PyObject 
* obj2 
= 0 ; 
12228     char *kwnames
[] = { 
12229         (char *) "self",(char *) "r",(char *) "radius", NULL 
 
12232     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12233     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12234     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12237         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
12239     arg3 
= (double)SWIG_As_double(obj2
);  
12240     if (PyErr_Occurred()) SWIG_fail
; 
12242         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12243         (arg1
)->DrawRoundedRectangle((wxRect 
const &)*arg2
,arg3
); 
12245         wxPyEndAllowThreads(__tstate
); 
12246         if (PyErr_Occurred()) SWIG_fail
; 
12248     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12255 static PyObject 
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12256     PyObject 
*resultobj
; 
12257     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12258     wxPoint 
*arg2 
= 0 ; 
12263     PyObject 
* obj0 
= 0 ; 
12264     PyObject 
* obj1 
= 0 ; 
12265     PyObject 
* obj2 
= 0 ; 
12266     PyObject 
* obj3 
= 0 ; 
12267     char *kwnames
[] = { 
12268         (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL 
 
12271     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12272     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12273     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12276         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
12280         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
12282     arg4 
= (double)SWIG_As_double(obj3
);  
12283     if (PyErr_Occurred()) SWIG_fail
; 
12285         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12286         (arg1
)->DrawRoundedRectangle((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
,arg4
); 
12288         wxPyEndAllowThreads(__tstate
); 
12289         if (PyErr_Occurred()) SWIG_fail
; 
12291     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12298 static PyObject 
*_wrap_DC_DrawCircle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12299     PyObject 
*resultobj
; 
12300     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12304     PyObject 
* obj0 
= 0 ; 
12305     PyObject 
* obj1 
= 0 ; 
12306     PyObject 
* obj2 
= 0 ; 
12307     PyObject 
* obj3 
= 0 ; 
12308     char *kwnames
[] = { 
12309         (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL 
 
12312     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12313     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12314     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12315     arg2 
= (int)SWIG_As_int(obj1
);  
12316     if (PyErr_Occurred()) SWIG_fail
; 
12317     arg3 
= (int)SWIG_As_int(obj2
);  
12318     if (PyErr_Occurred()) SWIG_fail
; 
12319     arg4 
= (int)SWIG_As_int(obj3
);  
12320     if (PyErr_Occurred()) SWIG_fail
; 
12322         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12323         (arg1
)->DrawCircle(arg2
,arg3
,arg4
); 
12325         wxPyEndAllowThreads(__tstate
); 
12326         if (PyErr_Occurred()) SWIG_fail
; 
12328     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12335 static PyObject 
*_wrap_DC_DrawCirclePoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12336     PyObject 
*resultobj
; 
12337     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12338     wxPoint 
*arg2 
= 0 ; 
12341     PyObject 
* obj0 
= 0 ; 
12342     PyObject 
* obj1 
= 0 ; 
12343     PyObject 
* obj2 
= 0 ; 
12344     char *kwnames
[] = { 
12345         (char *) "self",(char *) "pt",(char *) "radius", NULL 
 
12348     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12349     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12350     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12353         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
12355     arg3 
= (int)SWIG_As_int(obj2
);  
12356     if (PyErr_Occurred()) SWIG_fail
; 
12358         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12359         (arg1
)->DrawCircle((wxPoint 
const &)*arg2
,arg3
); 
12361         wxPyEndAllowThreads(__tstate
); 
12362         if (PyErr_Occurred()) SWIG_fail
; 
12364     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12371 static PyObject 
*_wrap_DC_DrawEllipse(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12372     PyObject 
*resultobj
; 
12373     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12378     PyObject 
* obj0 
= 0 ; 
12379     PyObject 
* obj1 
= 0 ; 
12380     PyObject 
* obj2 
= 0 ; 
12381     PyObject 
* obj3 
= 0 ; 
12382     PyObject 
* obj4 
= 0 ; 
12383     char *kwnames
[] = { 
12384         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
12387     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
12388     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12389     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12390     arg2 
= (int)SWIG_As_int(obj1
);  
12391     if (PyErr_Occurred()) SWIG_fail
; 
12392     arg3 
= (int)SWIG_As_int(obj2
);  
12393     if (PyErr_Occurred()) SWIG_fail
; 
12394     arg4 
= (int)SWIG_As_int(obj3
);  
12395     if (PyErr_Occurred()) SWIG_fail
; 
12396     arg5 
= (int)SWIG_As_int(obj4
);  
12397     if (PyErr_Occurred()) SWIG_fail
; 
12399         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12400         (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
); 
12402         wxPyEndAllowThreads(__tstate
); 
12403         if (PyErr_Occurred()) SWIG_fail
; 
12405     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12412 static PyObject 
*_wrap_DC_DrawEllipseRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12413     PyObject 
*resultobj
; 
12414     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12417     PyObject 
* obj0 
= 0 ; 
12418     PyObject 
* obj1 
= 0 ; 
12419     char *kwnames
[] = { 
12420         (char *) "self",(char *) "rect", NULL 
 
12423     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
12424     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12425     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12428         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
12431         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12432         (arg1
)->DrawEllipse((wxRect 
const &)*arg2
); 
12434         wxPyEndAllowThreads(__tstate
); 
12435         if (PyErr_Occurred()) SWIG_fail
; 
12437     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12444 static PyObject 
*_wrap_DC_DrawEllipsePointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12445     PyObject 
*resultobj
; 
12446     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12447     wxPoint 
*arg2 
= 0 ; 
12451     PyObject 
* obj0 
= 0 ; 
12452     PyObject 
* obj1 
= 0 ; 
12453     PyObject 
* obj2 
= 0 ; 
12454     char *kwnames
[] = { 
12455         (char *) "self",(char *) "pt",(char *) "sz", NULL 
 
12458     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12459     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12460     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12463         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
12467         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
12470         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12471         (arg1
)->DrawEllipse((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
12473         wxPyEndAllowThreads(__tstate
); 
12474         if (PyErr_Occurred()) SWIG_fail
; 
12476     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12483 static PyObject 
*_wrap_DC_DrawIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12484     PyObject 
*resultobj
; 
12485     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12489     PyObject 
* obj0 
= 0 ; 
12490     PyObject 
* obj1 
= 0 ; 
12491     PyObject 
* obj2 
= 0 ; 
12492     PyObject 
* obj3 
= 0 ; 
12493     char *kwnames
[] = { 
12494         (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL 
 
12497     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12498     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12499     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12500     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
, 
12501     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12503     if (arg2 
== NULL
) { 
12504         PyErr_SetString(PyExc_TypeError
,"null reference"); 
12507     arg3 
= (int)SWIG_As_int(obj2
);  
12508     if (PyErr_Occurred()) SWIG_fail
; 
12509     arg4 
= (int)SWIG_As_int(obj3
);  
12510     if (PyErr_Occurred()) SWIG_fail
; 
12512         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12513         (arg1
)->DrawIcon((wxIcon 
const &)*arg2
,arg3
,arg4
); 
12515         wxPyEndAllowThreads(__tstate
); 
12516         if (PyErr_Occurred()) SWIG_fail
; 
12518     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12525 static PyObject 
*_wrap_DC_DrawIconPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12526     PyObject 
*resultobj
; 
12527     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12529     wxPoint 
*arg3 
= 0 ; 
12531     PyObject 
* obj0 
= 0 ; 
12532     PyObject 
* obj1 
= 0 ; 
12533     PyObject 
* obj2 
= 0 ; 
12534     char *kwnames
[] = { 
12535         (char *) "self",(char *) "icon",(char *) "pt", NULL 
 
12538     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12539     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12540     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12541     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
, 
12542     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12544     if (arg2 
== NULL
) { 
12545         PyErr_SetString(PyExc_TypeError
,"null reference"); 
12550         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
12553         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12554         (arg1
)->DrawIcon((wxIcon 
const &)*arg2
,(wxPoint 
const &)*arg3
); 
12556         wxPyEndAllowThreads(__tstate
); 
12557         if (PyErr_Occurred()) SWIG_fail
; 
12559     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12566 static PyObject 
*_wrap_DC_DrawBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12567     PyObject 
*resultobj
; 
12568     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12569     wxBitmap 
*arg2 
= 0 ; 
12572     bool arg5 
= (bool) false ; 
12573     PyObject 
* obj0 
= 0 ; 
12574     PyObject 
* obj1 
= 0 ; 
12575     PyObject 
* obj2 
= 0 ; 
12576     PyObject 
* obj3 
= 0 ; 
12577     PyObject 
* obj4 
= 0 ; 
12578     char *kwnames
[] = { 
12579         (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL 
 
12582     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
12583     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12584     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12585     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
12586     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12588     if (arg2 
== NULL
) { 
12589         PyErr_SetString(PyExc_TypeError
,"null reference"); 
12592     arg3 
= (int)SWIG_As_int(obj2
);  
12593     if (PyErr_Occurred()) SWIG_fail
; 
12594     arg4 
= (int)SWIG_As_int(obj3
);  
12595     if (PyErr_Occurred()) SWIG_fail
; 
12597         arg5 
= (bool)SWIG_As_bool(obj4
);  
12598         if (PyErr_Occurred()) SWIG_fail
; 
12601         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12602         (arg1
)->DrawBitmap((wxBitmap 
const &)*arg2
,arg3
,arg4
,arg5
); 
12604         wxPyEndAllowThreads(__tstate
); 
12605         if (PyErr_Occurred()) SWIG_fail
; 
12607     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12614 static PyObject 
*_wrap_DC_DrawBitmapPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12615     PyObject 
*resultobj
; 
12616     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12617     wxBitmap 
*arg2 
= 0 ; 
12618     wxPoint 
*arg3 
= 0 ; 
12619     bool arg4 
= (bool) false ; 
12621     PyObject 
* obj0 
= 0 ; 
12622     PyObject 
* obj1 
= 0 ; 
12623     PyObject 
* obj2 
= 0 ; 
12624     PyObject 
* obj3 
= 0 ; 
12625     char *kwnames
[] = { 
12626         (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL 
 
12629     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12630     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12631     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12632     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
12633     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12635     if (arg2 
== NULL
) { 
12636         PyErr_SetString(PyExc_TypeError
,"null reference"); 
12641         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
12644         arg4 
= (bool)SWIG_As_bool(obj3
);  
12645         if (PyErr_Occurred()) SWIG_fail
; 
12648         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12649         (arg1
)->DrawBitmap((wxBitmap 
const &)*arg2
,(wxPoint 
const &)*arg3
,arg4
); 
12651         wxPyEndAllowThreads(__tstate
); 
12652         if (PyErr_Occurred()) SWIG_fail
; 
12654     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12661 static PyObject 
*_wrap_DC_DrawText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12662     PyObject 
*resultobj
; 
12663     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12664     wxString 
*arg2 
= 0 ; 
12667     bool temp2 
= false ; 
12668     PyObject 
* obj0 
= 0 ; 
12669     PyObject 
* obj1 
= 0 ; 
12670     PyObject 
* obj2 
= 0 ; 
12671     PyObject 
* obj3 
= 0 ; 
12672     char *kwnames
[] = { 
12673         (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL 
 
12676     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12677     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12678     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12680         arg2 
= wxString_in_helper(obj1
); 
12681         if (arg2 
== NULL
) SWIG_fail
; 
12684     arg3 
= (int)SWIG_As_int(obj2
);  
12685     if (PyErr_Occurred()) SWIG_fail
; 
12686     arg4 
= (int)SWIG_As_int(obj3
);  
12687     if (PyErr_Occurred()) SWIG_fail
; 
12689         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12690         (arg1
)->DrawText((wxString 
const &)*arg2
,arg3
,arg4
); 
12692         wxPyEndAllowThreads(__tstate
); 
12693         if (PyErr_Occurred()) SWIG_fail
; 
12695     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12710 static PyObject 
*_wrap_DC_DrawTextPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12711     PyObject 
*resultobj
; 
12712     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12713     wxString 
*arg2 
= 0 ; 
12714     wxPoint 
*arg3 
= 0 ; 
12715     bool temp2 
= false ; 
12717     PyObject 
* obj0 
= 0 ; 
12718     PyObject 
* obj1 
= 0 ; 
12719     PyObject 
* obj2 
= 0 ; 
12720     char *kwnames
[] = { 
12721         (char *) "self",(char *) "text",(char *) "pt", NULL 
 
12724     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12725     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12726     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12728         arg2 
= wxString_in_helper(obj1
); 
12729         if (arg2 
== NULL
) SWIG_fail
; 
12734         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
12737         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12738         (arg1
)->DrawText((wxString 
const &)*arg2
,(wxPoint 
const &)*arg3
); 
12740         wxPyEndAllowThreads(__tstate
); 
12741         if (PyErr_Occurred()) SWIG_fail
; 
12743     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12758 static PyObject 
*_wrap_DC_DrawRotatedText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12759     PyObject 
*resultobj
; 
12760     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12761     wxString 
*arg2 
= 0 ; 
12765     bool temp2 
= false ; 
12766     PyObject 
* obj0 
= 0 ; 
12767     PyObject 
* obj1 
= 0 ; 
12768     PyObject 
* obj2 
= 0 ; 
12769     PyObject 
* obj3 
= 0 ; 
12770     PyObject 
* obj4 
= 0 ; 
12771     char *kwnames
[] = { 
12772         (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL 
 
12775     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
12776     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12777     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12779         arg2 
= wxString_in_helper(obj1
); 
12780         if (arg2 
== NULL
) SWIG_fail
; 
12783     arg3 
= (int)SWIG_As_int(obj2
);  
12784     if (PyErr_Occurred()) SWIG_fail
; 
12785     arg4 
= (int)SWIG_As_int(obj3
);  
12786     if (PyErr_Occurred()) SWIG_fail
; 
12787     arg5 
= (double)SWIG_As_double(obj4
);  
12788     if (PyErr_Occurred()) SWIG_fail
; 
12790         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12791         (arg1
)->DrawRotatedText((wxString 
const &)*arg2
,arg3
,arg4
,arg5
); 
12793         wxPyEndAllowThreads(__tstate
); 
12794         if (PyErr_Occurred()) SWIG_fail
; 
12796     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12811 static PyObject 
*_wrap_DC_DrawRotatedTextPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12812     PyObject 
*resultobj
; 
12813     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12814     wxString 
*arg2 
= 0 ; 
12815     wxPoint 
*arg3 
= 0 ; 
12817     bool temp2 
= false ; 
12819     PyObject 
* obj0 
= 0 ; 
12820     PyObject 
* obj1 
= 0 ; 
12821     PyObject 
* obj2 
= 0 ; 
12822     PyObject 
* obj3 
= 0 ; 
12823     char *kwnames
[] = { 
12824         (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL 
 
12827     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12828     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12829     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12831         arg2 
= wxString_in_helper(obj1
); 
12832         if (arg2 
== NULL
) SWIG_fail
; 
12837         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
12839     arg4 
= (double)SWIG_As_double(obj3
);  
12840     if (PyErr_Occurred()) SWIG_fail
; 
12842         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12843         (arg1
)->DrawRotatedText((wxString 
const &)*arg2
,(wxPoint 
const &)*arg3
,arg4
); 
12845         wxPyEndAllowThreads(__tstate
); 
12846         if (PyErr_Occurred()) SWIG_fail
; 
12848     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12863 static PyObject 
*_wrap_DC_Blit(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12864     PyObject 
*resultobj
; 
12865     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12870     wxDC 
*arg6 
= (wxDC 
*) 0 ; 
12873     int arg9 
= (int) wxCOPY 
; 
12874     bool arg10 
= (bool) false ; 
12875     int arg11 
= (int) -1 ; 
12876     int arg12 
= (int) -1 ; 
12878     PyObject 
* obj0 
= 0 ; 
12879     PyObject 
* obj1 
= 0 ; 
12880     PyObject 
* obj2 
= 0 ; 
12881     PyObject 
* obj3 
= 0 ; 
12882     PyObject 
* obj4 
= 0 ; 
12883     PyObject 
* obj5 
= 0 ; 
12884     PyObject 
* obj6 
= 0 ; 
12885     PyObject 
* obj7 
= 0 ; 
12886     PyObject 
* obj8 
= 0 ; 
12887     PyObject 
* obj9 
= 0 ; 
12888     PyObject 
* obj10 
= 0 ; 
12889     PyObject 
* obj11 
= 0 ; 
12890     char *kwnames
[] = { 
12891         (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 
 
12894     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
; 
12895     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12896     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12897     arg2 
= (int)SWIG_As_int(obj1
);  
12898     if (PyErr_Occurred()) SWIG_fail
; 
12899     arg3 
= (int)SWIG_As_int(obj2
);  
12900     if (PyErr_Occurred()) SWIG_fail
; 
12901     arg4 
= (int)SWIG_As_int(obj3
);  
12902     if (PyErr_Occurred()) SWIG_fail
; 
12903     arg5 
= (int)SWIG_As_int(obj4
);  
12904     if (PyErr_Occurred()) SWIG_fail
; 
12905     if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
, 
12906     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12907     arg7 
= (int)SWIG_As_int(obj6
);  
12908     if (PyErr_Occurred()) SWIG_fail
; 
12909     arg8 
= (int)SWIG_As_int(obj7
);  
12910     if (PyErr_Occurred()) SWIG_fail
; 
12912         arg9 
= (int)SWIG_As_int(obj8
);  
12913         if (PyErr_Occurred()) SWIG_fail
; 
12916         arg10 
= (bool)SWIG_As_bool(obj9
);  
12917         if (PyErr_Occurred()) SWIG_fail
; 
12920         arg11 
= (int)SWIG_As_int(obj10
);  
12921         if (PyErr_Occurred()) SWIG_fail
; 
12924         arg12 
= (int)SWIG_As_int(obj11
);  
12925         if (PyErr_Occurred()) SWIG_fail
; 
12928         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12929         result 
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
); 
12931         wxPyEndAllowThreads(__tstate
); 
12932         if (PyErr_Occurred()) SWIG_fail
; 
12935         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12943 static PyObject 
*_wrap_DC_BlitPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12944     PyObject 
*resultobj
; 
12945     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12946     wxPoint 
*arg2 
= 0 ; 
12948     wxDC 
*arg4 
= (wxDC 
*) 0 ; 
12949     wxPoint 
*arg5 
= 0 ; 
12950     int arg6 
= (int) wxCOPY 
; 
12951     bool arg7 
= (bool) false ; 
12952     wxPoint 
const &arg8_defvalue 
= wxDefaultPosition 
; 
12953     wxPoint 
*arg8 
= (wxPoint 
*) &arg8_defvalue 
; 
12959     PyObject 
* obj0 
= 0 ; 
12960     PyObject 
* obj1 
= 0 ; 
12961     PyObject 
* obj2 
= 0 ; 
12962     PyObject 
* obj3 
= 0 ; 
12963     PyObject 
* obj4 
= 0 ; 
12964     PyObject 
* obj5 
= 0 ; 
12965     PyObject 
* obj6 
= 0 ; 
12966     PyObject 
* obj7 
= 0 ; 
12967     char *kwnames
[] = { 
12968         (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL 
 
12971     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
12972     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12973     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12976         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
12980         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
12982     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
, 
12983     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12986         if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
12989         arg6 
= (int)SWIG_As_int(obj5
);  
12990         if (PyErr_Occurred()) SWIG_fail
; 
12993         arg7 
= (bool)SWIG_As_bool(obj6
);  
12994         if (PyErr_Occurred()) SWIG_fail
; 
12999             if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
; 
13003         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13004         result 
= (bool)(arg1
)->Blit((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
,arg4
,(wxPoint 
const &)*arg5
,arg6
,arg7
,(wxPoint 
const &)*arg8
); 
13006         wxPyEndAllowThreads(__tstate
); 
13007         if (PyErr_Occurred()) SWIG_fail
; 
13010         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13018 static PyObject 
*_wrap_DC_SetClippingRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13019     PyObject 
*resultobj
; 
13020     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13025     PyObject 
* obj0 
= 0 ; 
13026     PyObject 
* obj1 
= 0 ; 
13027     PyObject 
* obj2 
= 0 ; 
13028     PyObject 
* obj3 
= 0 ; 
13029     PyObject 
* obj4 
= 0 ; 
13030     char *kwnames
[] = { 
13031         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
13034     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
13035     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13036     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13037     arg2 
= (int)SWIG_As_int(obj1
);  
13038     if (PyErr_Occurred()) SWIG_fail
; 
13039     arg3 
= (int)SWIG_As_int(obj2
);  
13040     if (PyErr_Occurred()) SWIG_fail
; 
13041     arg4 
= (int)SWIG_As_int(obj3
);  
13042     if (PyErr_Occurred()) SWIG_fail
; 
13043     arg5 
= (int)SWIG_As_int(obj4
);  
13044     if (PyErr_Occurred()) SWIG_fail
; 
13046         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13047         (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
); 
13049         wxPyEndAllowThreads(__tstate
); 
13050         if (PyErr_Occurred()) SWIG_fail
; 
13052     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13059 static PyObject 
*_wrap_DC_SetClippingRegionPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13060     PyObject 
*resultobj
; 
13061     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13062     wxPoint 
*arg2 
= 0 ; 
13066     PyObject 
* obj0 
= 0 ; 
13067     PyObject 
* obj1 
= 0 ; 
13068     PyObject 
* obj2 
= 0 ; 
13069     char *kwnames
[] = { 
13070         (char *) "self",(char *) "pt",(char *) "sz", NULL 
 
13073     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13074     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13075     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13078         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
13082         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
13085         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13086         (arg1
)->SetClippingRegion((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
13088         wxPyEndAllowThreads(__tstate
); 
13089         if (PyErr_Occurred()) SWIG_fail
; 
13091     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13098 static PyObject 
*_wrap_DC_SetClippingRegionAsRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13099     PyObject 
*resultobj
; 
13100     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13101     wxRegion 
*arg2 
= 0 ; 
13102     PyObject 
* obj0 
= 0 ; 
13103     PyObject 
* obj1 
= 0 ; 
13104     char *kwnames
[] = { 
13105         (char *) "self",(char *) "region", NULL 
 
13108     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
; 
13109     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13110     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13111     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
, 
13112     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
13114     if (arg2 
== NULL
) { 
13115         PyErr_SetString(PyExc_TypeError
,"null reference"); 
13119         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13120         (arg1
)->SetClippingRegion((wxRegion 
const &)*arg2
); 
13122         wxPyEndAllowThreads(__tstate
); 
13123         if (PyErr_Occurred()) SWIG_fail
; 
13125     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13132 static PyObject 
*_wrap_DC_SetClippingRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13133     PyObject 
*resultobj
; 
13134     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13137     PyObject 
* obj0 
= 0 ; 
13138     PyObject 
* obj1 
= 0 ; 
13139     char *kwnames
[] = { 
13140         (char *) "self",(char *) "rect", NULL 
 
13143     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
13144     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13145     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13148         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
13151         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13152         (arg1
)->SetClippingRegion((wxRect 
const &)*arg2
); 
13154         wxPyEndAllowThreads(__tstate
); 
13155         if (PyErr_Occurred()) SWIG_fail
; 
13157     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13164 static PyObject 
*_wrap_DC_DrawLines(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13165     PyObject 
*resultobj
; 
13166     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13168     wxPoint 
*arg3 
= (wxPoint 
*) 0 ; 
13169     int arg4 
= (int) 0 ; 
13170     int arg5 
= (int) 0 ; 
13171     PyObject 
* obj0 
= 0 ; 
13172     PyObject 
* obj1 
= 0 ; 
13173     PyObject 
* obj2 
= 0 ; 
13174     PyObject 
* obj3 
= 0 ; 
13175     char *kwnames
[] = { 
13176         (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL 
 
13179     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
13180     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13181     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13183         arg3 
= wxPoint_LIST_helper(obj1
, &arg2
); 
13184         if (arg3 
== NULL
) SWIG_fail
; 
13187         arg4 
= (int)SWIG_As_int(obj2
);  
13188         if (PyErr_Occurred()) SWIG_fail
; 
13191         arg5 
= (int)SWIG_As_int(obj3
);  
13192         if (PyErr_Occurred()) SWIG_fail
; 
13195         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13196         (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
); 
13198         wxPyEndAllowThreads(__tstate
); 
13199         if (PyErr_Occurred()) SWIG_fail
; 
13201     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13203         if (arg3
) delete [] arg3
; 
13208         if (arg3
) delete [] arg3
; 
13214 static PyObject 
*_wrap_DC_DrawPolygon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13215     PyObject 
*resultobj
; 
13216     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13218     wxPoint 
*arg3 
= (wxPoint 
*) 0 ; 
13219     int arg4 
= (int) 0 ; 
13220     int arg5 
= (int) 0 ; 
13221     int arg6 
= (int) wxODDEVEN_RULE 
; 
13222     PyObject 
* obj0 
= 0 ; 
13223     PyObject 
* obj1 
= 0 ; 
13224     PyObject 
* obj2 
= 0 ; 
13225     PyObject 
* obj3 
= 0 ; 
13226     PyObject 
* obj4 
= 0 ; 
13227     char *kwnames
[] = { 
13228         (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL 
 
13231     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
13232     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13233     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13235         arg3 
= wxPoint_LIST_helper(obj1
, &arg2
); 
13236         if (arg3 
== NULL
) SWIG_fail
; 
13239         arg4 
= (int)SWIG_As_int(obj2
);  
13240         if (PyErr_Occurred()) SWIG_fail
; 
13243         arg5 
= (int)SWIG_As_int(obj3
);  
13244         if (PyErr_Occurred()) SWIG_fail
; 
13247         arg6 
= (int)SWIG_As_int(obj4
);  
13248         if (PyErr_Occurred()) SWIG_fail
; 
13251         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13252         (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
); 
13254         wxPyEndAllowThreads(__tstate
); 
13255         if (PyErr_Occurred()) SWIG_fail
; 
13257     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13259         if (arg3
) delete [] arg3
; 
13264         if (arg3
) delete [] arg3
; 
13270 static PyObject 
*_wrap_DC_DrawLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13271     PyObject 
*resultobj
; 
13272     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13273     wxString 
*arg2 
= 0 ; 
13275     int arg4 
= (int) wxALIGN_LEFT
|wxALIGN_TOP 
; 
13276     int arg5 
= (int) -1 ; 
13277     bool temp2 
= false ; 
13279     PyObject 
* obj0 
= 0 ; 
13280     PyObject 
* obj1 
= 0 ; 
13281     PyObject 
* obj2 
= 0 ; 
13282     PyObject 
* obj3 
= 0 ; 
13283     PyObject 
* obj4 
= 0 ; 
13284     char *kwnames
[] = { 
13285         (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL 
 
13288     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
13289     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13290     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13292         arg2 
= wxString_in_helper(obj1
); 
13293         if (arg2 
== NULL
) SWIG_fail
; 
13298         if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
; 
13301         arg4 
= (int)SWIG_As_int(obj3
);  
13302         if (PyErr_Occurred()) SWIG_fail
; 
13305         arg5 
= (int)SWIG_As_int(obj4
);  
13306         if (PyErr_Occurred()) SWIG_fail
; 
13309         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13310         (arg1
)->DrawLabel((wxString 
const &)*arg2
,(wxRect 
const &)*arg3
,arg4
,arg5
); 
13312         wxPyEndAllowThreads(__tstate
); 
13313         if (PyErr_Occurred()) SWIG_fail
; 
13315     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13330 static PyObject 
*_wrap_DC_DrawImageLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13331     PyObject 
*resultobj
; 
13332     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13333     wxString 
*arg2 
= 0 ; 
13334     wxBitmap 
*arg3 
= 0 ; 
13336     int arg5 
= (int) wxALIGN_LEFT
|wxALIGN_TOP 
; 
13337     int arg6 
= (int) -1 ; 
13339     bool temp2 
= false ; 
13341     PyObject 
* obj0 
= 0 ; 
13342     PyObject 
* obj1 
= 0 ; 
13343     PyObject 
* obj2 
= 0 ; 
13344     PyObject 
* obj3 
= 0 ; 
13345     PyObject 
* obj4 
= 0 ; 
13346     PyObject 
* obj5 
= 0 ; 
13347     char *kwnames
[] = { 
13348         (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL 
 
13351     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
13352     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13353     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13355         arg2 
= wxString_in_helper(obj1
); 
13356         if (arg2 
== NULL
) SWIG_fail
; 
13359     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
, 
13360     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
13362     if (arg3 
== NULL
) { 
13363         PyErr_SetString(PyExc_TypeError
,"null reference"); 
13368         if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
13371         arg5 
= (int)SWIG_As_int(obj4
);  
13372         if (PyErr_Occurred()) SWIG_fail
; 
13375         arg6 
= (int)SWIG_As_int(obj5
);  
13376         if (PyErr_Occurred()) SWIG_fail
; 
13379         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13380         result 
= wxDC_DrawImageLabel(arg1
,(wxString 
const &)*arg2
,(wxBitmap 
const &)*arg3
,(wxRect 
const &)*arg4
,arg5
,arg6
); 
13382         wxPyEndAllowThreads(__tstate
); 
13383         if (PyErr_Occurred()) SWIG_fail
; 
13386         wxRect 
* resultptr
; 
13387         resultptr 
= new wxRect((wxRect 
&) result
); 
13388         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
13404 static PyObject 
*_wrap_DC_DrawSpline(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13405     PyObject 
*resultobj
; 
13406     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13408     wxPoint 
*arg3 
= (wxPoint 
*) 0 ; 
13409     PyObject 
* obj0 
= 0 ; 
13410     PyObject 
* obj1 
= 0 ; 
13411     char *kwnames
[] = { 
13412         (char *) "self",(char *) "points", NULL 
 
13415     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
; 
13416     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13417     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13419         arg3 
= wxPoint_LIST_helper(obj1
, &arg2
); 
13420         if (arg3 
== NULL
) SWIG_fail
; 
13423         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13424         (arg1
)->DrawSpline(arg2
,arg3
); 
13426         wxPyEndAllowThreads(__tstate
); 
13427         if (PyErr_Occurred()) SWIG_fail
; 
13429     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13431         if (arg3
) delete [] arg3
; 
13436         if (arg3
) delete [] arg3
; 
13442 static PyObject 
*_wrap_DC_Clear(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13443     PyObject 
*resultobj
; 
13444     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13445     PyObject 
* obj0 
= 0 ; 
13446     char *kwnames
[] = { 
13447         (char *) "self", NULL 
 
13450     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
; 
13451     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13452     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13454         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13457         wxPyEndAllowThreads(__tstate
); 
13458         if (PyErr_Occurred()) SWIG_fail
; 
13460     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13467 static PyObject 
*_wrap_DC_StartDoc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13468     PyObject 
*resultobj
; 
13469     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13470     wxString 
*arg2 
= 0 ; 
13472     bool temp2 
= false ; 
13473     PyObject 
* obj0 
= 0 ; 
13474     PyObject 
* obj1 
= 0 ; 
13475     char *kwnames
[] = { 
13476         (char *) "self",(char *) "message", NULL 
 
13479     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
; 
13480     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13481     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13483         arg2 
= wxString_in_helper(obj1
); 
13484         if (arg2 
== NULL
) SWIG_fail
; 
13488         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13489         result 
= (bool)(arg1
)->StartDoc((wxString 
const &)*arg2
); 
13491         wxPyEndAllowThreads(__tstate
); 
13492         if (PyErr_Occurred()) SWIG_fail
; 
13495         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13511 static PyObject 
*_wrap_DC_EndDoc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13512     PyObject 
*resultobj
; 
13513     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13514     PyObject 
* obj0 
= 0 ; 
13515     char *kwnames
[] = { 
13516         (char *) "self", NULL 
 
13519     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
; 
13520     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13521     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13523         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13526         wxPyEndAllowThreads(__tstate
); 
13527         if (PyErr_Occurred()) SWIG_fail
; 
13529     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13536 static PyObject 
*_wrap_DC_StartPage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13537     PyObject 
*resultobj
; 
13538     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13539     PyObject 
* obj0 
= 0 ; 
13540     char *kwnames
[] = { 
13541         (char *) "self", NULL 
 
13544     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
; 
13545     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13546     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13548         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13549         (arg1
)->StartPage(); 
13551         wxPyEndAllowThreads(__tstate
); 
13552         if (PyErr_Occurred()) SWIG_fail
; 
13554     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13561 static PyObject 
*_wrap_DC_EndPage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13562     PyObject 
*resultobj
; 
13563     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13564     PyObject 
* obj0 
= 0 ; 
13565     char *kwnames
[] = { 
13566         (char *) "self", NULL 
 
13569     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
; 
13570     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13571     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13573         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13576         wxPyEndAllowThreads(__tstate
); 
13577         if (PyErr_Occurred()) SWIG_fail
; 
13579     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13586 static PyObject 
*_wrap_DC_SetFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13587     PyObject 
*resultobj
; 
13588     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13590     PyObject 
* obj0 
= 0 ; 
13591     PyObject 
* obj1 
= 0 ; 
13592     char *kwnames
[] = { 
13593         (char *) "self",(char *) "font", NULL 
 
13596     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
13597     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13598     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13599     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
13600     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
13602     if (arg2 
== NULL
) { 
13603         PyErr_SetString(PyExc_TypeError
,"null reference"); 
13607         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13608         (arg1
)->SetFont((wxFont 
const &)*arg2
); 
13610         wxPyEndAllowThreads(__tstate
); 
13611         if (PyErr_Occurred()) SWIG_fail
; 
13613     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13620 static PyObject 
*_wrap_DC_SetPen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13621     PyObject 
*resultobj
; 
13622     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13624     PyObject 
* obj0 
= 0 ; 
13625     PyObject 
* obj1 
= 0 ; 
13626     char *kwnames
[] = { 
13627         (char *) "self",(char *) "pen", NULL 
 
13630     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
; 
13631     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13632     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13633     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
, 
13634     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
13636     if (arg2 
== NULL
) { 
13637         PyErr_SetString(PyExc_TypeError
,"null reference"); 
13641         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13642         (arg1
)->SetPen((wxPen 
const &)*arg2
); 
13644         wxPyEndAllowThreads(__tstate
); 
13645         if (PyErr_Occurred()) SWIG_fail
; 
13647     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13654 static PyObject 
*_wrap_DC_SetBrush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13655     PyObject 
*resultobj
; 
13656     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13657     wxBrush 
*arg2 
= 0 ; 
13658     PyObject 
* obj0 
= 0 ; 
13659     PyObject 
* obj1 
= 0 ; 
13660     char *kwnames
[] = { 
13661         (char *) "self",(char *) "brush", NULL 
 
13664     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
; 
13665     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13666     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13667     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
, 
13668     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
13670     if (arg2 
== NULL
) { 
13671         PyErr_SetString(PyExc_TypeError
,"null reference"); 
13675         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13676         (arg1
)->SetBrush((wxBrush 
const &)*arg2
); 
13678         wxPyEndAllowThreads(__tstate
); 
13679         if (PyErr_Occurred()) SWIG_fail
; 
13681     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13688 static PyObject 
*_wrap_DC_SetBackground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13689     PyObject 
*resultobj
; 
13690     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13691     wxBrush 
*arg2 
= 0 ; 
13692     PyObject 
* obj0 
= 0 ; 
13693     PyObject 
* obj1 
= 0 ; 
13694     char *kwnames
[] = { 
13695         (char *) "self",(char *) "brush", NULL 
 
13698     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
; 
13699     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13700     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13701     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
, 
13702     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
13704     if (arg2 
== NULL
) { 
13705         PyErr_SetString(PyExc_TypeError
,"null reference"); 
13709         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13710         (arg1
)->SetBackground((wxBrush 
const &)*arg2
); 
13712         wxPyEndAllowThreads(__tstate
); 
13713         if (PyErr_Occurred()) SWIG_fail
; 
13715     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13722 static PyObject 
*_wrap_DC_SetBackgroundMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13723     PyObject 
*resultobj
; 
13724     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13726     PyObject 
* obj0 
= 0 ; 
13727     PyObject 
* obj1 
= 0 ; 
13728     char *kwnames
[] = { 
13729         (char *) "self",(char *) "mode", NULL 
 
13732     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
; 
13733     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13734     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13735     arg2 
= (int)SWIG_As_int(obj1
);  
13736     if (PyErr_Occurred()) SWIG_fail
; 
13738         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13739         (arg1
)->SetBackgroundMode(arg2
); 
13741         wxPyEndAllowThreads(__tstate
); 
13742         if (PyErr_Occurred()) SWIG_fail
; 
13744     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13751 static PyObject 
*_wrap_DC_SetPalette(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13752     PyObject 
*resultobj
; 
13753     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13754     wxPalette 
*arg2 
= 0 ; 
13755     PyObject 
* obj0 
= 0 ; 
13756     PyObject 
* obj1 
= 0 ; 
13757     char *kwnames
[] = { 
13758         (char *) "self",(char *) "palette", NULL 
 
13761     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
; 
13762     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13763     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13764     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
, 
13765     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
13767     if (arg2 
== NULL
) { 
13768         PyErr_SetString(PyExc_TypeError
,"null reference"); 
13772         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13773         (arg1
)->SetPalette((wxPalette 
const &)*arg2
); 
13775         wxPyEndAllowThreads(__tstate
); 
13776         if (PyErr_Occurred()) SWIG_fail
; 
13778     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13785 static PyObject 
*_wrap_DC_DestroyClippingRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13786     PyObject 
*resultobj
; 
13787     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13788     PyObject 
* obj0 
= 0 ; 
13789     char *kwnames
[] = { 
13790         (char *) "self", NULL 
 
13793     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
; 
13794     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13795     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13797         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13798         (arg1
)->DestroyClippingRegion(); 
13800         wxPyEndAllowThreads(__tstate
); 
13801         if (PyErr_Occurred()) SWIG_fail
; 
13803     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13810 static PyObject 
*_wrap_DC_GetClippingBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13811     PyObject 
*resultobj
; 
13812     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13813     int *arg2 
= (int *) 0 ; 
13814     int *arg3 
= (int *) 0 ; 
13815     int *arg4 
= (int *) 0 ; 
13816     int *arg5 
= (int *) 0 ; 
13825     PyObject 
* obj0 
= 0 ; 
13826     char *kwnames
[] = { 
13827         (char *) "self", NULL 
 
13830     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
13831     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
13832     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
13833     arg5 
= &temp5
; res5 
= SWIG_NEWOBJ
; 
13834     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
; 
13835     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13836     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13838         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13839         ((wxDC 
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
); 
13841         wxPyEndAllowThreads(__tstate
); 
13842         if (PyErr_Occurred()) SWIG_fail
; 
13844     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13845     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
13846     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
13847     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
13848     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
13849     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
13850     SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0))); 
13851     resultobj 
= t_output_helper(resultobj
, ((res5 
== SWIG_NEWOBJ
) ? 
13852     SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0))); 
13859 static PyObject 
*_wrap_DC_GetClippingRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13860     PyObject 
*resultobj
; 
13861     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13863     PyObject 
* obj0 
= 0 ; 
13864     char *kwnames
[] = { 
13865         (char *) "self", NULL 
 
13868     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
; 
13869     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13870     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13872         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13873         result 
= wxDC_GetClippingRect(arg1
); 
13875         wxPyEndAllowThreads(__tstate
); 
13876         if (PyErr_Occurred()) SWIG_fail
; 
13879         wxRect 
* resultptr
; 
13880         resultptr 
= new wxRect((wxRect 
&) result
); 
13881         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
13889 static PyObject 
*_wrap_DC_GetCharHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13890     PyObject 
*resultobj
; 
13891     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13893     PyObject 
* obj0 
= 0 ; 
13894     char *kwnames
[] = { 
13895         (char *) "self", NULL 
 
13898     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
; 
13899     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13900     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13902         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13903         result 
= (int)((wxDC 
const *)arg1
)->GetCharHeight(); 
13905         wxPyEndAllowThreads(__tstate
); 
13906         if (PyErr_Occurred()) SWIG_fail
; 
13908     resultobj 
= SWIG_From_int((int)result
); 
13915 static PyObject 
*_wrap_DC_GetCharWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13916     PyObject 
*resultobj
; 
13917     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13919     PyObject 
* obj0 
= 0 ; 
13920     char *kwnames
[] = { 
13921         (char *) "self", NULL 
 
13924     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
; 
13925     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13926     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13928         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13929         result 
= (int)((wxDC 
const *)arg1
)->GetCharWidth(); 
13931         wxPyEndAllowThreads(__tstate
); 
13932         if (PyErr_Occurred()) SWIG_fail
; 
13934     resultobj 
= SWIG_From_int((int)result
); 
13941 static PyObject 
*_wrap_DC_GetTextExtent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13942     PyObject 
*resultobj
; 
13943     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13944     wxString 
*arg2 
= 0 ; 
13945     int *arg3 
= (int *) 0 ; 
13946     int *arg4 
= (int *) 0 ; 
13947     bool temp2 
= false ; 
13952     PyObject 
* obj0 
= 0 ; 
13953     PyObject 
* obj1 
= 0 ; 
13954     char *kwnames
[] = { 
13955         (char *) "self",(char *) "string", NULL 
 
13958     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
13959     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
13960     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
; 
13961     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13962     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13964         arg2 
= wxString_in_helper(obj1
); 
13965         if (arg2 
== NULL
) SWIG_fail
; 
13969         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13970         (arg1
)->GetTextExtent((wxString 
const &)*arg2
,arg3
,arg4
); 
13972         wxPyEndAllowThreads(__tstate
); 
13973         if (PyErr_Occurred()) SWIG_fail
; 
13975     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13976     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
13977     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
13978     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
13979     SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0))); 
13994 static PyObject 
*_wrap_DC_GetFullTextExtent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13995     PyObject 
*resultobj
; 
13996     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13997     wxString 
*arg2 
= 0 ; 
13998     int *arg3 
= (int *) 0 ; 
13999     int *arg4 
= (int *) 0 ; 
14000     int *arg5 
= (int *) 0 ; 
14001     int *arg6 
= (int *) 0 ; 
14002     wxFont 
*arg7 
= (wxFont 
*) NULL 
; 
14003     bool temp2 
= false ; 
14012     PyObject 
* obj0 
= 0 ; 
14013     PyObject 
* obj1 
= 0 ; 
14014     PyObject 
* obj2 
= 0 ; 
14015     char *kwnames
[] = { 
14016         (char *) "self",(char *) "string",(char *) "font", NULL 
 
14019     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
14020     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
14021     arg5 
= &temp5
; res5 
= SWIG_NEWOBJ
; 
14022     arg6 
= &temp6
; res6 
= SWIG_NEWOBJ
; 
14023     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14024     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14025     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14027         arg2 
= wxString_in_helper(obj1
); 
14028         if (arg2 
== NULL
) SWIG_fail
; 
14032         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
, 
14033         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14036         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14037         (arg1
)->GetTextExtent((wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
14039         wxPyEndAllowThreads(__tstate
); 
14040         if (PyErr_Occurred()) SWIG_fail
; 
14042     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14043     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
14044     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
14045     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
14046     SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0))); 
14047     resultobj 
= t_output_helper(resultobj
, ((res5 
== SWIG_NEWOBJ
) ? 
14048     SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0))); 
14049     resultobj 
= t_output_helper(resultobj
, ((res6 
== SWIG_NEWOBJ
) ? 
14050     SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0))); 
14065 static PyObject 
*_wrap_DC_GetMultiLineTextExtent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14066     PyObject 
*resultobj
; 
14067     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14068     wxString 
*arg2 
= 0 ; 
14069     int *arg3 
= (int *) 0 ; 
14070     int *arg4 
= (int *) 0 ; 
14071     int *arg5 
= (int *) 0 ; 
14072     wxFont 
*arg6 
= (wxFont 
*) NULL 
; 
14073     bool temp2 
= false ; 
14080     PyObject 
* obj0 
= 0 ; 
14081     PyObject 
* obj1 
= 0 ; 
14082     PyObject 
* obj2 
= 0 ; 
14083     char *kwnames
[] = { 
14084         (char *) "self",(char *) "text",(char *) "font", NULL 
 
14087     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
14088     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
14089     arg5 
= &temp5
; res5 
= SWIG_NEWOBJ
; 
14090     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14091     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14092     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14094         arg2 
= wxString_in_helper(obj1
); 
14095         if (arg2 
== NULL
) SWIG_fail
; 
14099         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
, 
14100         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14103         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14104         (arg1
)->GetMultiLineTextExtent((wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
); 
14106         wxPyEndAllowThreads(__tstate
); 
14107         if (PyErr_Occurred()) SWIG_fail
; 
14109     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14110     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
14111     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
14112     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
14113     SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0))); 
14114     resultobj 
= t_output_helper(resultobj
, ((res5 
== SWIG_NEWOBJ
) ? 
14115     SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0))); 
14130 static PyObject 
*_wrap_DC_GetPartialTextExtents(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14131     PyObject 
*resultobj
; 
14132     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14133     wxString 
*arg2 
= 0 ; 
14135     bool temp2 
= false ; 
14136     PyObject 
* obj0 
= 0 ; 
14137     PyObject 
* obj1 
= 0 ; 
14138     char *kwnames
[] = { 
14139         (char *) "self",(char *) "text", NULL 
 
14142     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
; 
14143     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14144     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14146         arg2 
= wxString_in_helper(obj1
); 
14147         if (arg2 
== NULL
) SWIG_fail
; 
14151         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14152         result 
= wxDC_GetPartialTextExtents(arg1
,(wxString 
const &)*arg2
); 
14154         wxPyEndAllowThreads(__tstate
); 
14155         if (PyErr_Occurred()) SWIG_fail
; 
14158         resultobj 
= PyList_New(0); 
14160         for (idx 
= 0; idx 
< (&result
)->GetCount(); idx 
+= 1) { 
14161             PyObject
* val 
= PyInt_FromLong( (&result
)->Item(idx
) ); 
14162             PyList_Append(resultobj
, val
); 
14180 static PyObject 
*_wrap_DC_GetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14181     PyObject 
*resultobj
; 
14182     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14184     PyObject 
* obj0 
= 0 ; 
14185     char *kwnames
[] = { 
14186         (char *) "self", NULL 
 
14189     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
; 
14190     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14191     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14193         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14194         result 
= (arg1
)->GetSize(); 
14196         wxPyEndAllowThreads(__tstate
); 
14197         if (PyErr_Occurred()) SWIG_fail
; 
14200         wxSize 
* resultptr
; 
14201         resultptr 
= new wxSize((wxSize 
&) result
); 
14202         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
14210 static PyObject 
*_wrap_DC_GetSizeTuple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14211     PyObject 
*resultobj
; 
14212     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14213     int *arg2 
= (int *) 0 ; 
14214     int *arg3 
= (int *) 0 ; 
14219     PyObject 
* obj0 
= 0 ; 
14220     char *kwnames
[] = { 
14221         (char *) "self", NULL 
 
14224     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
14225     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
14226     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
; 
14227     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14228     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14230         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14231         (arg1
)->GetSize(arg2
,arg3
); 
14233         wxPyEndAllowThreads(__tstate
); 
14234         if (PyErr_Occurred()) SWIG_fail
; 
14236     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14237     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
14238     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
14239     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
14240     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
14247 static PyObject 
*_wrap_DC_GetSizeMM(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14248     PyObject 
*resultobj
; 
14249     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14251     PyObject 
* obj0 
= 0 ; 
14252     char *kwnames
[] = { 
14253         (char *) "self", NULL 
 
14256     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
; 
14257     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14258     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14260         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14261         result 
= ((wxDC 
const *)arg1
)->GetSizeMM(); 
14263         wxPyEndAllowThreads(__tstate
); 
14264         if (PyErr_Occurred()) SWIG_fail
; 
14267         wxSize 
* resultptr
; 
14268         resultptr 
= new wxSize((wxSize 
&) result
); 
14269         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
14277 static PyObject 
*_wrap_DC_GetSizeMMTuple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14278     PyObject 
*resultobj
; 
14279     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14280     int *arg2 
= (int *) 0 ; 
14281     int *arg3 
= (int *) 0 ; 
14286     PyObject 
* obj0 
= 0 ; 
14287     char *kwnames
[] = { 
14288         (char *) "self", NULL 
 
14291     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
14292     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
14293     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
; 
14294     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14295     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14297         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14298         ((wxDC 
const *)arg1
)->GetSizeMM(arg2
,arg3
); 
14300         wxPyEndAllowThreads(__tstate
); 
14301         if (PyErr_Occurred()) SWIG_fail
; 
14303     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14304     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
14305     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
14306     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
14307     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
14314 static PyObject 
*_wrap_DC_DeviceToLogicalX(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14315     PyObject 
*resultobj
; 
14316     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14319     PyObject 
* obj0 
= 0 ; 
14320     PyObject 
* obj1 
= 0 ; 
14321     char *kwnames
[] = { 
14322         (char *) "self",(char *) "x", NULL 
 
14325     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
; 
14326     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14327     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14328     arg2 
= (int)SWIG_As_int(obj1
);  
14329     if (PyErr_Occurred()) SWIG_fail
; 
14331         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14332         result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalX(arg2
); 
14334         wxPyEndAllowThreads(__tstate
); 
14335         if (PyErr_Occurred()) SWIG_fail
; 
14337     resultobj 
= SWIG_From_int((int)result
); 
14344 static PyObject 
*_wrap_DC_DeviceToLogicalY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14345     PyObject 
*resultobj
; 
14346     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14349     PyObject 
* obj0 
= 0 ; 
14350     PyObject 
* obj1 
= 0 ; 
14351     char *kwnames
[] = { 
14352         (char *) "self",(char *) "y", NULL 
 
14355     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
; 
14356     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14357     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14358     arg2 
= (int)SWIG_As_int(obj1
);  
14359     if (PyErr_Occurred()) SWIG_fail
; 
14361         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14362         result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalY(arg2
); 
14364         wxPyEndAllowThreads(__tstate
); 
14365         if (PyErr_Occurred()) SWIG_fail
; 
14367     resultobj 
= SWIG_From_int((int)result
); 
14374 static PyObject 
*_wrap_DC_DeviceToLogicalXRel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14375     PyObject 
*resultobj
; 
14376     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14379     PyObject 
* obj0 
= 0 ; 
14380     PyObject 
* obj1 
= 0 ; 
14381     char *kwnames
[] = { 
14382         (char *) "self",(char *) "x", NULL 
 
14385     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
; 
14386     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14387     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14388     arg2 
= (int)SWIG_As_int(obj1
);  
14389     if (PyErr_Occurred()) SWIG_fail
; 
14391         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14392         result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalXRel(arg2
); 
14394         wxPyEndAllowThreads(__tstate
); 
14395         if (PyErr_Occurred()) SWIG_fail
; 
14397     resultobj 
= SWIG_From_int((int)result
); 
14404 static PyObject 
*_wrap_DC_DeviceToLogicalYRel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14405     PyObject 
*resultobj
; 
14406     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14409     PyObject 
* obj0 
= 0 ; 
14410     PyObject 
* obj1 
= 0 ; 
14411     char *kwnames
[] = { 
14412         (char *) "self",(char *) "y", NULL 
 
14415     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
; 
14416     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14417     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14418     arg2 
= (int)SWIG_As_int(obj1
);  
14419     if (PyErr_Occurred()) SWIG_fail
; 
14421         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14422         result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalYRel(arg2
); 
14424         wxPyEndAllowThreads(__tstate
); 
14425         if (PyErr_Occurred()) SWIG_fail
; 
14427     resultobj 
= SWIG_From_int((int)result
); 
14434 static PyObject 
*_wrap_DC_LogicalToDeviceX(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14435     PyObject 
*resultobj
; 
14436     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14439     PyObject 
* obj0 
= 0 ; 
14440     PyObject 
* obj1 
= 0 ; 
14441     char *kwnames
[] = { 
14442         (char *) "self",(char *) "x", NULL 
 
14445     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
; 
14446     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14447     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14448     arg2 
= (int)SWIG_As_int(obj1
);  
14449     if (PyErr_Occurred()) SWIG_fail
; 
14451         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14452         result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceX(arg2
); 
14454         wxPyEndAllowThreads(__tstate
); 
14455         if (PyErr_Occurred()) SWIG_fail
; 
14457     resultobj 
= SWIG_From_int((int)result
); 
14464 static PyObject 
*_wrap_DC_LogicalToDeviceY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14465     PyObject 
*resultobj
; 
14466     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14469     PyObject 
* obj0 
= 0 ; 
14470     PyObject 
* obj1 
= 0 ; 
14471     char *kwnames
[] = { 
14472         (char *) "self",(char *) "y", NULL 
 
14475     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
; 
14476     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14477     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14478     arg2 
= (int)SWIG_As_int(obj1
);  
14479     if (PyErr_Occurred()) SWIG_fail
; 
14481         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14482         result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceY(arg2
); 
14484         wxPyEndAllowThreads(__tstate
); 
14485         if (PyErr_Occurred()) SWIG_fail
; 
14487     resultobj 
= SWIG_From_int((int)result
); 
14494 static PyObject 
*_wrap_DC_LogicalToDeviceXRel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14495     PyObject 
*resultobj
; 
14496     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14499     PyObject 
* obj0 
= 0 ; 
14500     PyObject 
* obj1 
= 0 ; 
14501     char *kwnames
[] = { 
14502         (char *) "self",(char *) "x", NULL 
 
14505     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
; 
14506     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14507     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14508     arg2 
= (int)SWIG_As_int(obj1
);  
14509     if (PyErr_Occurred()) SWIG_fail
; 
14511         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14512         result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceXRel(arg2
); 
14514         wxPyEndAllowThreads(__tstate
); 
14515         if (PyErr_Occurred()) SWIG_fail
; 
14517     resultobj 
= SWIG_From_int((int)result
); 
14524 static PyObject 
*_wrap_DC_LogicalToDeviceYRel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14525     PyObject 
*resultobj
; 
14526     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14529     PyObject 
* obj0 
= 0 ; 
14530     PyObject 
* obj1 
= 0 ; 
14531     char *kwnames
[] = { 
14532         (char *) "self",(char *) "y", NULL 
 
14535     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
; 
14536     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14537     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14538     arg2 
= (int)SWIG_As_int(obj1
);  
14539     if (PyErr_Occurred()) SWIG_fail
; 
14541         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14542         result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceYRel(arg2
); 
14544         wxPyEndAllowThreads(__tstate
); 
14545         if (PyErr_Occurred()) SWIG_fail
; 
14547     resultobj 
= SWIG_From_int((int)result
); 
14554 static PyObject 
*_wrap_DC_CanDrawBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14555     PyObject 
*resultobj
; 
14556     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14558     PyObject 
* obj0 
= 0 ; 
14559     char *kwnames
[] = { 
14560         (char *) "self", NULL 
 
14563     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
; 
14564     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14565     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14567         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14568         result 
= (bool)((wxDC 
const *)arg1
)->CanDrawBitmap(); 
14570         wxPyEndAllowThreads(__tstate
); 
14571         if (PyErr_Occurred()) SWIG_fail
; 
14574         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14582 static PyObject 
*_wrap_DC_CanGetTextExtent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14583     PyObject 
*resultobj
; 
14584     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14586     PyObject 
* obj0 
= 0 ; 
14587     char *kwnames
[] = { 
14588         (char *) "self", NULL 
 
14591     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
; 
14592     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14593     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14595         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14596         result 
= (bool)((wxDC 
const *)arg1
)->CanGetTextExtent(); 
14598         wxPyEndAllowThreads(__tstate
); 
14599         if (PyErr_Occurred()) SWIG_fail
; 
14602         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14610 static PyObject 
*_wrap_DC_GetDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14611     PyObject 
*resultobj
; 
14612     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14614     PyObject 
* obj0 
= 0 ; 
14615     char *kwnames
[] = { 
14616         (char *) "self", NULL 
 
14619     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
; 
14620     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14621     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14623         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14624         result 
= (int)((wxDC 
const *)arg1
)->GetDepth(); 
14626         wxPyEndAllowThreads(__tstate
); 
14627         if (PyErr_Occurred()) SWIG_fail
; 
14629     resultobj 
= SWIG_From_int((int)result
); 
14636 static PyObject 
*_wrap_DC_GetPPI(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14637     PyObject 
*resultobj
; 
14638     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14640     PyObject 
* obj0 
= 0 ; 
14641     char *kwnames
[] = { 
14642         (char *) "self", NULL 
 
14645     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
; 
14646     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14647     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14649         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14650         result 
= ((wxDC 
const *)arg1
)->GetPPI(); 
14652         wxPyEndAllowThreads(__tstate
); 
14653         if (PyErr_Occurred()) SWIG_fail
; 
14656         wxSize 
* resultptr
; 
14657         resultptr 
= new wxSize((wxSize 
&) result
); 
14658         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
14666 static PyObject 
*_wrap_DC_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14667     PyObject 
*resultobj
; 
14668     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14670     PyObject 
* obj0 
= 0 ; 
14671     char *kwnames
[] = { 
14672         (char *) "self", NULL 
 
14675     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
; 
14676     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14677     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14679         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14680         result 
= (bool)((wxDC 
const *)arg1
)->Ok(); 
14682         wxPyEndAllowThreads(__tstate
); 
14683         if (PyErr_Occurred()) SWIG_fail
; 
14686         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14694 static PyObject 
*_wrap_DC_GetBackgroundMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14695     PyObject 
*resultobj
; 
14696     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14698     PyObject 
* obj0 
= 0 ; 
14699     char *kwnames
[] = { 
14700         (char *) "self", NULL 
 
14703     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
; 
14704     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14705     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14707         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14708         result 
= (int)((wxDC 
const *)arg1
)->GetBackgroundMode(); 
14710         wxPyEndAllowThreads(__tstate
); 
14711         if (PyErr_Occurred()) SWIG_fail
; 
14713     resultobj 
= SWIG_From_int((int)result
); 
14720 static PyObject 
*_wrap_DC_GetBackground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14721     PyObject 
*resultobj
; 
14722     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14724     PyObject 
* obj0 
= 0 ; 
14725     char *kwnames
[] = { 
14726         (char *) "self", NULL 
 
14729     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
; 
14730     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14731     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14733         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14735             wxBrush 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetBackground(); 
14736             result 
= (wxBrush 
*) &_result_ref
; 
14739         wxPyEndAllowThreads(__tstate
); 
14740         if (PyErr_Occurred()) SWIG_fail
; 
14743         wxBrush
* resultptr 
= new wxBrush(*result
); 
14744         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1); 
14752 static PyObject 
*_wrap_DC_GetBrush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14753     PyObject 
*resultobj
; 
14754     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14756     PyObject 
* obj0 
= 0 ; 
14757     char *kwnames
[] = { 
14758         (char *) "self", NULL 
 
14761     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
; 
14762     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14763     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14765         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14767             wxBrush 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetBrush(); 
14768             result 
= (wxBrush 
*) &_result_ref
; 
14771         wxPyEndAllowThreads(__tstate
); 
14772         if (PyErr_Occurred()) SWIG_fail
; 
14775         wxBrush
* resultptr 
= new wxBrush(*result
); 
14776         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1); 
14784 static PyObject 
*_wrap_DC_GetFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14785     PyObject 
*resultobj
; 
14786     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14788     PyObject 
* obj0 
= 0 ; 
14789     char *kwnames
[] = { 
14790         (char *) "self", NULL 
 
14793     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
; 
14794     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14795     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14797         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14799             wxFont 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetFont(); 
14800             result 
= (wxFont 
*) &_result_ref
; 
14803         wxPyEndAllowThreads(__tstate
); 
14804         if (PyErr_Occurred()) SWIG_fail
; 
14807         wxFont
* resultptr 
= new wxFont(*result
); 
14808         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
14816 static PyObject 
*_wrap_DC_GetPen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14817     PyObject 
*resultobj
; 
14818     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14820     PyObject 
* obj0 
= 0 ; 
14821     char *kwnames
[] = { 
14822         (char *) "self", NULL 
 
14825     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
; 
14826     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14827     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14829         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14831             wxPen 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetPen(); 
14832             result 
= (wxPen 
*) &_result_ref
; 
14835         wxPyEndAllowThreads(__tstate
); 
14836         if (PyErr_Occurred()) SWIG_fail
; 
14839         wxPen
* resultptr 
= new wxPen(*result
); 
14840         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1); 
14848 static PyObject 
*_wrap_DC_GetTextBackground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14849     PyObject 
*resultobj
; 
14850     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14852     PyObject 
* obj0 
= 0 ; 
14853     char *kwnames
[] = { 
14854         (char *) "self", NULL 
 
14857     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
; 
14858     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14859     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14861         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14863             wxColour 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetTextBackground(); 
14864             result 
= (wxColour 
*) &_result_ref
; 
14867         wxPyEndAllowThreads(__tstate
); 
14868         if (PyErr_Occurred()) SWIG_fail
; 
14870     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0); 
14877 static PyObject 
*_wrap_DC_GetTextForeground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14878     PyObject 
*resultobj
; 
14879     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14881     PyObject 
* obj0 
= 0 ; 
14882     char *kwnames
[] = { 
14883         (char *) "self", NULL 
 
14886     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
; 
14887     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14888     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14890         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14892             wxColour 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetTextForeground(); 
14893             result 
= (wxColour 
*) &_result_ref
; 
14896         wxPyEndAllowThreads(__tstate
); 
14897         if (PyErr_Occurred()) SWIG_fail
; 
14899     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0); 
14906 static PyObject 
*_wrap_DC_SetTextForeground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14907     PyObject 
*resultobj
; 
14908     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14909     wxColour 
*arg2 
= 0 ; 
14911     PyObject 
* obj0 
= 0 ; 
14912     PyObject 
* obj1 
= 0 ; 
14913     char *kwnames
[] = { 
14914         (char *) "self",(char *) "colour", NULL 
 
14917     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
; 
14918     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14919     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14922         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
14925         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14926         (arg1
)->SetTextForeground((wxColour 
const &)*arg2
); 
14928         wxPyEndAllowThreads(__tstate
); 
14929         if (PyErr_Occurred()) SWIG_fail
; 
14931     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14938 static PyObject 
*_wrap_DC_SetTextBackground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14939     PyObject 
*resultobj
; 
14940     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14941     wxColour 
*arg2 
= 0 ; 
14943     PyObject 
* obj0 
= 0 ; 
14944     PyObject 
* obj1 
= 0 ; 
14945     char *kwnames
[] = { 
14946         (char *) "self",(char *) "colour", NULL 
 
14949     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
; 
14950     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14951     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14954         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
14957         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14958         (arg1
)->SetTextBackground((wxColour 
const &)*arg2
); 
14960         wxPyEndAllowThreads(__tstate
); 
14961         if (PyErr_Occurred()) SWIG_fail
; 
14963     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14970 static PyObject 
*_wrap_DC_GetMapMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14971     PyObject 
*resultobj
; 
14972     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14974     PyObject 
* obj0 
= 0 ; 
14975     char *kwnames
[] = { 
14976         (char *) "self", NULL 
 
14979     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
; 
14980     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14981     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14983         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14984         result 
= (int)((wxDC 
const *)arg1
)->GetMapMode(); 
14986         wxPyEndAllowThreads(__tstate
); 
14987         if (PyErr_Occurred()) SWIG_fail
; 
14989     resultobj 
= SWIG_From_int((int)result
); 
14996 static PyObject 
*_wrap_DC_SetMapMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14997     PyObject 
*resultobj
; 
14998     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15000     PyObject 
* obj0 
= 0 ; 
15001     PyObject 
* obj1 
= 0 ; 
15002     char *kwnames
[] = { 
15003         (char *) "self",(char *) "mode", NULL 
 
15006     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
; 
15007     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15008     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15009     arg2 
= (int)SWIG_As_int(obj1
);  
15010     if (PyErr_Occurred()) SWIG_fail
; 
15012         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15013         (arg1
)->SetMapMode(arg2
); 
15015         wxPyEndAllowThreads(__tstate
); 
15016         if (PyErr_Occurred()) SWIG_fail
; 
15018     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15025 static PyObject 
*_wrap_DC_GetUserScale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15026     PyObject 
*resultobj
; 
15027     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15028     double *arg2 
= (double *) 0 ; 
15029     double *arg3 
= (double *) 0 ; 
15034     PyObject 
* obj0 
= 0 ; 
15035     char *kwnames
[] = { 
15036         (char *) "self", NULL 
 
15039     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
15040     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
15041     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
; 
15042     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15043     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15045         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15046         ((wxDC 
const *)arg1
)->GetUserScale(arg2
,arg3
); 
15048         wxPyEndAllowThreads(__tstate
); 
15049         if (PyErr_Occurred()) SWIG_fail
; 
15051     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15052     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
15053     SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0))); 
15054     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
15055     SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0))); 
15062 static PyObject 
*_wrap_DC_SetUserScale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15063     PyObject 
*resultobj
; 
15064     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15067     PyObject 
* obj0 
= 0 ; 
15068     PyObject 
* obj1 
= 0 ; 
15069     PyObject 
* obj2 
= 0 ; 
15070     char *kwnames
[] = { 
15071         (char *) "self",(char *) "x",(char *) "y", NULL 
 
15074     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15075     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15076     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15077     arg2 
= (double)SWIG_As_double(obj1
);  
15078     if (PyErr_Occurred()) SWIG_fail
; 
15079     arg3 
= (double)SWIG_As_double(obj2
);  
15080     if (PyErr_Occurred()) SWIG_fail
; 
15082         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15083         (arg1
)->SetUserScale(arg2
,arg3
); 
15085         wxPyEndAllowThreads(__tstate
); 
15086         if (PyErr_Occurred()) SWIG_fail
; 
15088     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15095 static PyObject 
*_wrap_DC_GetLogicalScale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15096     PyObject 
*resultobj
; 
15097     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15098     double *arg2 
= (double *) 0 ; 
15099     double *arg3 
= (double *) 0 ; 
15104     PyObject 
* obj0 
= 0 ; 
15105     char *kwnames
[] = { 
15106         (char *) "self", NULL 
 
15109     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
15110     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
15111     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
; 
15112     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15113     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15115         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15116         (arg1
)->GetLogicalScale(arg2
,arg3
); 
15118         wxPyEndAllowThreads(__tstate
); 
15119         if (PyErr_Occurred()) SWIG_fail
; 
15121     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15122     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
15123     SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0))); 
15124     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
15125     SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0))); 
15132 static PyObject 
*_wrap_DC_SetLogicalScale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15133     PyObject 
*resultobj
; 
15134     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15137     PyObject 
* obj0 
= 0 ; 
15138     PyObject 
* obj1 
= 0 ; 
15139     PyObject 
* obj2 
= 0 ; 
15140     char *kwnames
[] = { 
15141         (char *) "self",(char *) "x",(char *) "y", NULL 
 
15144     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15145     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15146     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15147     arg2 
= (double)SWIG_As_double(obj1
);  
15148     if (PyErr_Occurred()) SWIG_fail
; 
15149     arg3 
= (double)SWIG_As_double(obj2
);  
15150     if (PyErr_Occurred()) SWIG_fail
; 
15152         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15153         (arg1
)->SetLogicalScale(arg2
,arg3
); 
15155         wxPyEndAllowThreads(__tstate
); 
15156         if (PyErr_Occurred()) SWIG_fail
; 
15158     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15165 static PyObject 
*_wrap_DC_GetLogicalOrigin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15166     PyObject 
*resultobj
; 
15167     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15169     PyObject 
* obj0 
= 0 ; 
15170     char *kwnames
[] = { 
15171         (char *) "self", NULL 
 
15174     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
; 
15175     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15176     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15178         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15179         result 
= ((wxDC 
const *)arg1
)->GetLogicalOrigin(); 
15181         wxPyEndAllowThreads(__tstate
); 
15182         if (PyErr_Occurred()) SWIG_fail
; 
15185         wxPoint 
* resultptr
; 
15186         resultptr 
= new wxPoint((wxPoint 
&) result
); 
15187         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
15195 static PyObject 
*_wrap_DC_GetLogicalOriginTuple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15196     PyObject 
*resultobj
; 
15197     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15198     int *arg2 
= (int *) 0 ; 
15199     int *arg3 
= (int *) 0 ; 
15204     PyObject 
* obj0 
= 0 ; 
15205     char *kwnames
[] = { 
15206         (char *) "self", NULL 
 
15209     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
15210     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
15211     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
; 
15212     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15213     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15215         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15216         ((wxDC 
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
); 
15218         wxPyEndAllowThreads(__tstate
); 
15219         if (PyErr_Occurred()) SWIG_fail
; 
15221     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15222     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
15223     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
15224     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
15225     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
15232 static PyObject 
*_wrap_DC_SetLogicalOrigin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15233     PyObject 
*resultobj
; 
15234     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15237     PyObject 
* obj0 
= 0 ; 
15238     PyObject 
* obj1 
= 0 ; 
15239     PyObject 
* obj2 
= 0 ; 
15240     char *kwnames
[] = { 
15241         (char *) "self",(char *) "x",(char *) "y", NULL 
 
15244     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15245     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15246     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15247     arg2 
= (int)SWIG_As_int(obj1
);  
15248     if (PyErr_Occurred()) SWIG_fail
; 
15249     arg3 
= (int)SWIG_As_int(obj2
);  
15250     if (PyErr_Occurred()) SWIG_fail
; 
15252         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15253         (arg1
)->SetLogicalOrigin(arg2
,arg3
); 
15255         wxPyEndAllowThreads(__tstate
); 
15256         if (PyErr_Occurred()) SWIG_fail
; 
15258     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15265 static PyObject 
*_wrap_DC_SetLogicalOriginPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15266     PyObject 
*resultobj
; 
15267     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15268     wxPoint 
*arg2 
= 0 ; 
15270     PyObject 
* obj0 
= 0 ; 
15271     PyObject 
* obj1 
= 0 ; 
15272     char *kwnames
[] = { 
15273         (char *) "self",(char *) "point", NULL 
 
15276     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
15277     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15278     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15281         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
15284         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15285         wxDC_SetLogicalOriginPoint(arg1
,(wxPoint 
const &)*arg2
); 
15287         wxPyEndAllowThreads(__tstate
); 
15288         if (PyErr_Occurred()) SWIG_fail
; 
15290     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15297 static PyObject 
*_wrap_DC_GetDeviceOrigin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15298     PyObject 
*resultobj
; 
15299     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15301     PyObject 
* obj0 
= 0 ; 
15302     char *kwnames
[] = { 
15303         (char *) "self", NULL 
 
15306     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
; 
15307     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15308     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15310         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15311         result 
= ((wxDC 
const *)arg1
)->GetDeviceOrigin(); 
15313         wxPyEndAllowThreads(__tstate
); 
15314         if (PyErr_Occurred()) SWIG_fail
; 
15317         wxPoint 
* resultptr
; 
15318         resultptr 
= new wxPoint((wxPoint 
&) result
); 
15319         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
15327 static PyObject 
*_wrap_DC_GetDeviceOriginTuple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15328     PyObject 
*resultobj
; 
15329     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15330     int *arg2 
= (int *) 0 ; 
15331     int *arg3 
= (int *) 0 ; 
15336     PyObject 
* obj0 
= 0 ; 
15337     char *kwnames
[] = { 
15338         (char *) "self", NULL 
 
15341     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
15342     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
15343     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
; 
15344     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15345     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15347         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15348         ((wxDC 
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
); 
15350         wxPyEndAllowThreads(__tstate
); 
15351         if (PyErr_Occurred()) SWIG_fail
; 
15353     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15354     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
15355     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
15356     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
15357     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
15364 static PyObject 
*_wrap_DC_SetDeviceOrigin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15365     PyObject 
*resultobj
; 
15366     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15369     PyObject 
* obj0 
= 0 ; 
15370     PyObject 
* obj1 
= 0 ; 
15371     PyObject 
* obj2 
= 0 ; 
15372     char *kwnames
[] = { 
15373         (char *) "self",(char *) "x",(char *) "y", NULL 
 
15376     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15377     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15378     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15379     arg2 
= (int)SWIG_As_int(obj1
);  
15380     if (PyErr_Occurred()) SWIG_fail
; 
15381     arg3 
= (int)SWIG_As_int(obj2
);  
15382     if (PyErr_Occurred()) SWIG_fail
; 
15384         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15385         (arg1
)->SetDeviceOrigin(arg2
,arg3
); 
15387         wxPyEndAllowThreads(__tstate
); 
15388         if (PyErr_Occurred()) SWIG_fail
; 
15390     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15397 static PyObject 
*_wrap_DC_SetDeviceOriginPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15398     PyObject 
*resultobj
; 
15399     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15400     wxPoint 
*arg2 
= 0 ; 
15402     PyObject 
* obj0 
= 0 ; 
15403     PyObject 
* obj1 
= 0 ; 
15404     char *kwnames
[] = { 
15405         (char *) "self",(char *) "point", NULL 
 
15408     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
15409     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15410     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15413         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
15416         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15417         wxDC_SetDeviceOriginPoint(arg1
,(wxPoint 
const &)*arg2
); 
15419         wxPyEndAllowThreads(__tstate
); 
15420         if (PyErr_Occurred()) SWIG_fail
; 
15422     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15429 static PyObject 
*_wrap_DC_SetAxisOrientation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15430     PyObject 
*resultobj
; 
15431     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15434     PyObject 
* obj0 
= 0 ; 
15435     PyObject 
* obj1 
= 0 ; 
15436     PyObject 
* obj2 
= 0 ; 
15437     char *kwnames
[] = { 
15438         (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL 
 
15441     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15442     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15443     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15444     arg2 
= (bool)SWIG_As_bool(obj1
);  
15445     if (PyErr_Occurred()) SWIG_fail
; 
15446     arg3 
= (bool)SWIG_As_bool(obj2
);  
15447     if (PyErr_Occurred()) SWIG_fail
; 
15449         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15450         (arg1
)->SetAxisOrientation(arg2
,arg3
); 
15452         wxPyEndAllowThreads(__tstate
); 
15453         if (PyErr_Occurred()) SWIG_fail
; 
15455     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15462 static PyObject 
*_wrap_DC_GetLogicalFunction(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15463     PyObject 
*resultobj
; 
15464     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15466     PyObject 
* obj0 
= 0 ; 
15467     char *kwnames
[] = { 
15468         (char *) "self", NULL 
 
15471     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
; 
15472     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15473     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15475         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15476         result 
= (int)((wxDC 
const *)arg1
)->GetLogicalFunction(); 
15478         wxPyEndAllowThreads(__tstate
); 
15479         if (PyErr_Occurred()) SWIG_fail
; 
15481     resultobj 
= SWIG_From_int((int)result
); 
15488 static PyObject 
*_wrap_DC_SetLogicalFunction(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15489     PyObject 
*resultobj
; 
15490     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15492     PyObject 
* obj0 
= 0 ; 
15493     PyObject 
* obj1 
= 0 ; 
15494     char *kwnames
[] = { 
15495         (char *) "self",(char *) "function", NULL 
 
15498     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
; 
15499     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15500     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15501     arg2 
= (int)SWIG_As_int(obj1
);  
15502     if (PyErr_Occurred()) SWIG_fail
; 
15504         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15505         (arg1
)->SetLogicalFunction(arg2
); 
15507         wxPyEndAllowThreads(__tstate
); 
15508         if (PyErr_Occurred()) SWIG_fail
; 
15510     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15517 static PyObject 
*_wrap_DC_SetOptimization(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15518     PyObject 
*resultobj
; 
15519     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15521     PyObject 
* obj0 
= 0 ; 
15522     PyObject 
* obj1 
= 0 ; 
15523     char *kwnames
[] = { 
15524         (char *) "self",(char *) "optimize", NULL 
 
15527     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
; 
15528     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15529     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15530     arg2 
= (bool)SWIG_As_bool(obj1
);  
15531     if (PyErr_Occurred()) SWIG_fail
; 
15533         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15534         (arg1
)->SetOptimization(arg2
); 
15536         wxPyEndAllowThreads(__tstate
); 
15537         if (PyErr_Occurred()) SWIG_fail
; 
15539     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15546 static PyObject 
*_wrap_DC_GetOptimization(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15547     PyObject 
*resultobj
; 
15548     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15550     PyObject 
* obj0 
= 0 ; 
15551     char *kwnames
[] = { 
15552         (char *) "self", NULL 
 
15555     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
; 
15556     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15557     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15559         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15560         result 
= (bool)(arg1
)->GetOptimization(); 
15562         wxPyEndAllowThreads(__tstate
); 
15563         if (PyErr_Occurred()) SWIG_fail
; 
15566         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15574 static PyObject 
*_wrap_DC_CalcBoundingBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15575     PyObject 
*resultobj
; 
15576     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15579     PyObject 
* obj0 
= 0 ; 
15580     PyObject 
* obj1 
= 0 ; 
15581     PyObject 
* obj2 
= 0 ; 
15582     char *kwnames
[] = { 
15583         (char *) "self",(char *) "x",(char *) "y", NULL 
 
15586     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15587     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15588     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15589     arg2 
= (int)SWIG_As_int(obj1
);  
15590     if (PyErr_Occurred()) SWIG_fail
; 
15591     arg3 
= (int)SWIG_As_int(obj2
);  
15592     if (PyErr_Occurred()) SWIG_fail
; 
15594         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15595         (arg1
)->CalcBoundingBox(arg2
,arg3
); 
15597         wxPyEndAllowThreads(__tstate
); 
15598         if (PyErr_Occurred()) SWIG_fail
; 
15600     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15607 static PyObject 
*_wrap_DC_CalcBoundingBoxPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15608     PyObject 
*resultobj
; 
15609     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15610     wxPoint 
*arg2 
= 0 ; 
15612     PyObject 
* obj0 
= 0 ; 
15613     PyObject 
* obj1 
= 0 ; 
15614     char *kwnames
[] = { 
15615         (char *) "self",(char *) "point", NULL 
 
15618     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
15619     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15620     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15623         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
15626         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15627         wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint 
const &)*arg2
); 
15629         wxPyEndAllowThreads(__tstate
); 
15630         if (PyErr_Occurred()) SWIG_fail
; 
15632     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15639 static PyObject 
*_wrap_DC_ResetBoundingBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15640     PyObject 
*resultobj
; 
15641     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15642     PyObject 
* obj0 
= 0 ; 
15643     char *kwnames
[] = { 
15644         (char *) "self", NULL 
 
15647     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
; 
15648     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15649     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15651         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15652         (arg1
)->ResetBoundingBox(); 
15654         wxPyEndAllowThreads(__tstate
); 
15655         if (PyErr_Occurred()) SWIG_fail
; 
15657     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15664 static PyObject 
*_wrap_DC_MinX(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15665     PyObject 
*resultobj
; 
15666     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15668     PyObject 
* obj0 
= 0 ; 
15669     char *kwnames
[] = { 
15670         (char *) "self", NULL 
 
15673     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
; 
15674     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15675     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15677         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15678         result 
= (int)((wxDC 
const *)arg1
)->MinX(); 
15680         wxPyEndAllowThreads(__tstate
); 
15681         if (PyErr_Occurred()) SWIG_fail
; 
15683     resultobj 
= SWIG_From_int((int)result
); 
15690 static PyObject 
*_wrap_DC_MaxX(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15691     PyObject 
*resultobj
; 
15692     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15694     PyObject 
* obj0 
= 0 ; 
15695     char *kwnames
[] = { 
15696         (char *) "self", NULL 
 
15699     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
; 
15700     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15701     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15703         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15704         result 
= (int)((wxDC 
const *)arg1
)->MaxX(); 
15706         wxPyEndAllowThreads(__tstate
); 
15707         if (PyErr_Occurred()) SWIG_fail
; 
15709     resultobj 
= SWIG_From_int((int)result
); 
15716 static PyObject 
*_wrap_DC_MinY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15717     PyObject 
*resultobj
; 
15718     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15720     PyObject 
* obj0 
= 0 ; 
15721     char *kwnames
[] = { 
15722         (char *) "self", NULL 
 
15725     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
; 
15726     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15727     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15729         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15730         result 
= (int)((wxDC 
const *)arg1
)->MinY(); 
15732         wxPyEndAllowThreads(__tstate
); 
15733         if (PyErr_Occurred()) SWIG_fail
; 
15735     resultobj 
= SWIG_From_int((int)result
); 
15742 static PyObject 
*_wrap_DC_MaxY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15743     PyObject 
*resultobj
; 
15744     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15746     PyObject 
* obj0 
= 0 ; 
15747     char *kwnames
[] = { 
15748         (char *) "self", NULL 
 
15751     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
; 
15752     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15753     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15755         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15756         result 
= (int)((wxDC 
const *)arg1
)->MaxY(); 
15758         wxPyEndAllowThreads(__tstate
); 
15759         if (PyErr_Occurred()) SWIG_fail
; 
15761     resultobj 
= SWIG_From_int((int)result
); 
15768 static PyObject 
*_wrap_DC_GetBoundingBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15769     PyObject 
*resultobj
; 
15770     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15771     int *arg2 
= (int *) 0 ; 
15772     int *arg3 
= (int *) 0 ; 
15773     int *arg4 
= (int *) 0 ; 
15774     int *arg5 
= (int *) 0 ; 
15783     PyObject 
* obj0 
= 0 ; 
15784     char *kwnames
[] = { 
15785         (char *) "self", NULL 
 
15788     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
15789     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
15790     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
15791     arg5 
= &temp5
; res5 
= SWIG_NEWOBJ
; 
15792     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
; 
15793     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15794     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15796         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15797         wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
); 
15799         wxPyEndAllowThreads(__tstate
); 
15800         if (PyErr_Occurred()) SWIG_fail
; 
15802     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15803     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
15804     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
15805     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
15806     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
15807     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
15808     SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0))); 
15809     resultobj 
= t_output_helper(resultobj
, ((res5 
== SWIG_NEWOBJ
) ? 
15810     SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0))); 
15817 static PyObject 
*_wrap_DC_GetHDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15818     PyObject 
*resultobj
; 
15819     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15821     PyObject 
* obj0 
= 0 ; 
15822     char *kwnames
[] = { 
15823         (char *) "self", NULL 
 
15826     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetHDC",kwnames
,&obj0
)) goto fail
; 
15827     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15828     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15830         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15831         result 
= (long)(arg1
)->GetHDC(); 
15833         wxPyEndAllowThreads(__tstate
); 
15834         if (PyErr_Occurred()) SWIG_fail
; 
15836     resultobj 
= SWIG_From_long((long)result
); 
15843 static PyObject 
*_wrap_DC__DrawPointList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15844     PyObject 
*resultobj
; 
15845     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15846     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
15847     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
15848     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
15850     PyObject 
* obj0 
= 0 ; 
15851     PyObject 
* obj1 
= 0 ; 
15852     PyObject 
* obj2 
= 0 ; 
15853     PyObject 
* obj3 
= 0 ; 
15854     char *kwnames
[] = { 
15855         (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
15858     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
15859     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15860     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15865         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15866         result 
= (PyObject 
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
); 
15868         wxPyEndAllowThreads(__tstate
); 
15869         if (PyErr_Occurred()) SWIG_fail
; 
15871     resultobj 
= result
; 
15878 static PyObject 
*_wrap_DC__DrawLineList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15879     PyObject 
*resultobj
; 
15880     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15881     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
15882     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
15883     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
15885     PyObject 
* obj0 
= 0 ; 
15886     PyObject 
* obj1 
= 0 ; 
15887     PyObject 
* obj2 
= 0 ; 
15888     PyObject 
* obj3 
= 0 ; 
15889     char *kwnames
[] = { 
15890         (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
15893     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
15894     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15895     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15900         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15901         result 
= (PyObject 
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
); 
15903         wxPyEndAllowThreads(__tstate
); 
15904         if (PyErr_Occurred()) SWIG_fail
; 
15906     resultobj 
= result
; 
15913 static PyObject 
*_wrap_DC__DrawRectangleList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15914     PyObject 
*resultobj
; 
15915     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15916     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
15917     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
15918     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
15920     PyObject 
* obj0 
= 0 ; 
15921     PyObject 
* obj1 
= 0 ; 
15922     PyObject 
* obj2 
= 0 ; 
15923     PyObject 
* obj3 
= 0 ; 
15924     char *kwnames
[] = { 
15925         (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
15928     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
15929     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15930     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15935         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15936         result 
= (PyObject 
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
); 
15938         wxPyEndAllowThreads(__tstate
); 
15939         if (PyErr_Occurred()) SWIG_fail
; 
15941     resultobj 
= result
; 
15948 static PyObject 
*_wrap_DC__DrawEllipseList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15949     PyObject 
*resultobj
; 
15950     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15951     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
15952     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
15953     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
15955     PyObject 
* obj0 
= 0 ; 
15956     PyObject 
* obj1 
= 0 ; 
15957     PyObject 
* obj2 
= 0 ; 
15958     PyObject 
* obj3 
= 0 ; 
15959     char *kwnames
[] = { 
15960         (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
15963     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
15964     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15965     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15970         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15971         result 
= (PyObject 
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
); 
15973         wxPyEndAllowThreads(__tstate
); 
15974         if (PyErr_Occurred()) SWIG_fail
; 
15976     resultobj 
= result
; 
15983 static PyObject 
*_wrap_DC__DrawPolygonList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15984     PyObject 
*resultobj
; 
15985     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15986     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
15987     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
15988     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
15990     PyObject 
* obj0 
= 0 ; 
15991     PyObject 
* obj1 
= 0 ; 
15992     PyObject 
* obj2 
= 0 ; 
15993     PyObject 
* obj3 
= 0 ; 
15994     char *kwnames
[] = { 
15995         (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
15998     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
15999     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
16000     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16005         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16006         result 
= (PyObject 
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
); 
16008         wxPyEndAllowThreads(__tstate
); 
16009         if (PyErr_Occurred()) SWIG_fail
; 
16011     resultobj 
= result
; 
16018 static PyObject 
*_wrap_DC__DrawTextList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16019     PyObject 
*resultobj
; 
16020     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16021     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
16022     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
16023     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
16024     PyObject 
*arg5 
= (PyObject 
*) 0 ; 
16026     PyObject 
* obj0 
= 0 ; 
16027     PyObject 
* obj1 
= 0 ; 
16028     PyObject 
* obj2 
= 0 ; 
16029     PyObject 
* obj3 
= 0 ; 
16030     PyObject 
* obj4 
= 0 ; 
16031     char *kwnames
[] = { 
16032         (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL 
 
16035     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
16036     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
16037     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16043         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16044         result 
= (PyObject 
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
); 
16046         wxPyEndAllowThreads(__tstate
); 
16047         if (PyErr_Occurred()) SWIG_fail
; 
16049     resultobj 
= result
; 
16056 static PyObject 
* DC_swigregister(PyObject 
*, PyObject 
*args
) { 
16058     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16059     SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
); 
16061     return Py_BuildValue((char *)""); 
16063 static PyObject 
*_wrap_new_MemoryDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16064     PyObject 
*resultobj
; 
16065     wxMemoryDC 
*result
; 
16066     char *kwnames
[] = { 
16070     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
; 
16072         if (!wxPyCheckForApp()) SWIG_fail
; 
16073         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16074         result 
= (wxMemoryDC 
*)new wxMemoryDC(); 
16076         wxPyEndAllowThreads(__tstate
); 
16077         if (PyErr_Occurred()) SWIG_fail
; 
16079     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1); 
16086 static PyObject 
*_wrap_new_MemoryDCFromDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16087     PyObject 
*resultobj
; 
16088     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16089     wxMemoryDC 
*result
; 
16090     PyObject 
* obj0 
= 0 ; 
16091     char *kwnames
[] = { 
16092         (char *) "oldDC", NULL 
 
16095     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
; 
16096     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
16097     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16099         if (!wxPyCheckForApp()) SWIG_fail
; 
16100         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16101         result 
= (wxMemoryDC 
*)new wxMemoryDC(arg1
); 
16103         wxPyEndAllowThreads(__tstate
); 
16104         if (PyErr_Occurred()) SWIG_fail
; 
16106     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1); 
16113 static PyObject 
*_wrap_MemoryDC_SelectObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16114     PyObject 
*resultobj
; 
16115     wxMemoryDC 
*arg1 
= (wxMemoryDC 
*) 0 ; 
16116     wxBitmap 
*arg2 
= 0 ; 
16117     PyObject 
* obj0 
= 0 ; 
16118     PyObject 
* obj1 
= 0 ; 
16119     char *kwnames
[] = { 
16120         (char *) "self",(char *) "bitmap", NULL 
 
16123     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
; 
16124     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
, 
16125     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16126     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
16127     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
16129     if (arg2 
== NULL
) { 
16130         PyErr_SetString(PyExc_TypeError
,"null reference"); 
16134         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16135         (arg1
)->SelectObject((wxBitmap 
const &)*arg2
); 
16137         wxPyEndAllowThreads(__tstate
); 
16138         if (PyErr_Occurred()) SWIG_fail
; 
16140     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16147 static PyObject 
* MemoryDC_swigregister(PyObject 
*, PyObject 
*args
) { 
16149     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16150     SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
); 
16152     return Py_BuildValue((char *)""); 
16154 static PyObject 
*_wrap_new_BufferedDC__SWIG_0(PyObject 
*, PyObject 
*args
) { 
16155     PyObject 
*resultobj
; 
16156     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16157     wxBitmap 
*arg2 
= 0 ; 
16158     wxBufferedDC 
*result
; 
16159     PyObject 
* obj0 
= 0 ; 
16160     PyObject 
* obj1 
= 0 ; 
16162     if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
; 
16163     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
16164     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16165     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
16166     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
16168     if (arg2 
== NULL
) { 
16169         PyErr_SetString(PyExc_TypeError
,"null reference"); 
16173         if (!wxPyCheckForApp()) SWIG_fail
; 
16174         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16175         result 
= (wxBufferedDC 
*)new wxBufferedDC(arg1
,(wxBitmap 
const &)*arg2
); 
16177         wxPyEndAllowThreads(__tstate
); 
16178         if (PyErr_Occurred()) SWIG_fail
; 
16180     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1); 
16187 static PyObject 
*_wrap_new_BufferedDC__SWIG_1(PyObject 
*, PyObject 
*args
) { 
16188     PyObject 
*resultobj
; 
16189     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16191     wxBufferedDC 
*result
; 
16193     PyObject 
* obj0 
= 0 ; 
16194     PyObject 
* obj1 
= 0 ; 
16196     if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
; 
16197     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
16198     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16201         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
16204         if (!wxPyCheckForApp()) SWIG_fail
; 
16205         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16206         result 
= (wxBufferedDC 
*)new wxBufferedDC(arg1
,(wxSize 
const &)*arg2
); 
16208         wxPyEndAllowThreads(__tstate
); 
16209         if (PyErr_Occurred()) SWIG_fail
; 
16211     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1); 
16218 static PyObject 
*_wrap_new_BufferedDC(PyObject 
*self
, PyObject 
*args
) { 
16223     argc 
= PyObject_Length(args
); 
16224     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
16225         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
16231             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) { 
16241                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) { 
16249                 return _wrap_new_BufferedDC__SWIG_0(self
,args
); 
16257             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) { 
16266                 _v 
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2); 
16269                 return _wrap_new_BufferedDC__SWIG_1(self
,args
); 
16274     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'"); 
16279 static PyObject 
*_wrap_delete_BufferedDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16280     PyObject 
*resultobj
; 
16281     wxBufferedDC 
*arg1 
= (wxBufferedDC 
*) 0 ; 
16282     PyObject 
* obj0 
= 0 ; 
16283     char *kwnames
[] = { 
16284         (char *) "self", NULL 
 
16287     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
; 
16288     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
, 
16289     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16291         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16294         wxPyEndAllowThreads(__tstate
); 
16295         if (PyErr_Occurred()) SWIG_fail
; 
16297     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16304 static PyObject 
*_wrap_BufferedDC_UnMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16305     PyObject 
*resultobj
; 
16306     wxBufferedDC 
*arg1 
= (wxBufferedDC 
*) 0 ; 
16307     PyObject 
* obj0 
= 0 ; 
16308     char *kwnames
[] = { 
16309         (char *) "self", NULL 
 
16312     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
; 
16313     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
, 
16314     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16316         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16319         wxPyEndAllowThreads(__tstate
); 
16320         if (PyErr_Occurred()) SWIG_fail
; 
16322     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16329 static PyObject 
* BufferedDC_swigregister(PyObject 
*, PyObject 
*args
) { 
16331     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16332     SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
); 
16334     return Py_BuildValue((char *)""); 
16336 static PyObject 
*_wrap_new_BufferedPaintDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16337     PyObject 
*resultobj
; 
16338     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
16339     wxBitmap 
const &arg2_defvalue 
= wxNullBitmap 
; 
16340     wxBitmap 
*arg2 
= (wxBitmap 
*) &arg2_defvalue 
; 
16341     wxBufferedPaintDC 
*result
; 
16342     PyObject 
* obj0 
= 0 ; 
16343     PyObject 
* obj1 
= 0 ; 
16344     char *kwnames
[] = { 
16345         (char *) "window",(char *) "buffer", NULL 
 
16348     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
; 
16349     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
16350     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16352         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
16353         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
16355         if (arg2 
== NULL
) { 
16356             PyErr_SetString(PyExc_TypeError
,"null reference"); 
16361         if (!wxPyCheckForApp()) SWIG_fail
; 
16362         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16363         result 
= (wxBufferedPaintDC 
*)new wxBufferedPaintDC(arg1
,(wxBitmap 
const &)*arg2
); 
16365         wxPyEndAllowThreads(__tstate
); 
16366         if (PyErr_Occurred()) SWIG_fail
; 
16368     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1); 
16375 static PyObject 
* BufferedPaintDC_swigregister(PyObject 
*, PyObject 
*args
) { 
16377     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16378     SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
); 
16380     return Py_BuildValue((char *)""); 
16382 static PyObject 
*_wrap_new_ScreenDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16383     PyObject 
*resultobj
; 
16384     wxScreenDC 
*result
; 
16385     char *kwnames
[] = { 
16389     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
; 
16391         if (!wxPyCheckForApp()) SWIG_fail
; 
16392         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16393         result 
= (wxScreenDC 
*)new wxScreenDC(); 
16395         wxPyEndAllowThreads(__tstate
); 
16396         if (PyErr_Occurred()) SWIG_fail
; 
16398     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1); 
16405 static PyObject 
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16406     PyObject 
*resultobj
; 
16407     wxScreenDC 
*arg1 
= (wxScreenDC 
*) 0 ; 
16408     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
16410     PyObject 
* obj0 
= 0 ; 
16411     PyObject 
* obj1 
= 0 ; 
16412     char *kwnames
[] = { 
16413         (char *) "self",(char *) "window", NULL 
 
16416     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
; 
16417     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
, 
16418     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16419     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
16420     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16422         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16423         result 
= (bool)(arg1
)->StartDrawingOnTop(arg2
); 
16425         wxPyEndAllowThreads(__tstate
); 
16426         if (PyErr_Occurred()) SWIG_fail
; 
16429         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16437 static PyObject 
*_wrap_ScreenDC_StartDrawingOnTop(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16438     PyObject 
*resultobj
; 
16439     wxScreenDC 
*arg1 
= (wxScreenDC 
*) 0 ; 
16440     wxRect 
*arg2 
= (wxRect 
*) NULL 
; 
16442     PyObject 
* obj0 
= 0 ; 
16443     PyObject 
* obj1 
= 0 ; 
16444     char *kwnames
[] = { 
16445         (char *) "self",(char *) "rect", NULL 
 
16448     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
; 
16449     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
, 
16450     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16452         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
, 
16453         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16456         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16457         result 
= (bool)(arg1
)->StartDrawingOnTop(arg2
); 
16459         wxPyEndAllowThreads(__tstate
); 
16460         if (PyErr_Occurred()) SWIG_fail
; 
16463         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16471 static PyObject 
*_wrap_ScreenDC_EndDrawingOnTop(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16472     PyObject 
*resultobj
; 
16473     wxScreenDC 
*arg1 
= (wxScreenDC 
*) 0 ; 
16475     PyObject 
* obj0 
= 0 ; 
16476     char *kwnames
[] = { 
16477         (char *) "self", NULL 
 
16480     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
; 
16481     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
, 
16482     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16484         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16485         result 
= (bool)(arg1
)->EndDrawingOnTop(); 
16487         wxPyEndAllowThreads(__tstate
); 
16488         if (PyErr_Occurred()) SWIG_fail
; 
16491         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16499 static PyObject 
* ScreenDC_swigregister(PyObject 
*, PyObject 
*args
) { 
16501     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16502     SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
); 
16504     return Py_BuildValue((char *)""); 
16506 static PyObject 
*_wrap_new_ClientDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16507     PyObject 
*resultobj
; 
16508     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
16509     wxClientDC 
*result
; 
16510     PyObject 
* obj0 
= 0 ; 
16511     char *kwnames
[] = { 
16512         (char *) "win", NULL 
 
16515     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
; 
16516     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
16517     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16519         if (!wxPyCheckForApp()) SWIG_fail
; 
16520         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16521         result 
= (wxClientDC 
*)new wxClientDC(arg1
); 
16523         wxPyEndAllowThreads(__tstate
); 
16524         if (PyErr_Occurred()) SWIG_fail
; 
16526     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1); 
16533 static PyObject 
* ClientDC_swigregister(PyObject 
*, PyObject 
*args
) { 
16535     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16536     SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
); 
16538     return Py_BuildValue((char *)""); 
16540 static PyObject 
*_wrap_new_PaintDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16541     PyObject 
*resultobj
; 
16542     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
16544     PyObject 
* obj0 
= 0 ; 
16545     char *kwnames
[] = { 
16546         (char *) "win", NULL 
 
16549     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
; 
16550     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
16551     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16553         if (!wxPyCheckForApp()) SWIG_fail
; 
16554         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16555         result 
= (wxPaintDC 
*)new wxPaintDC(arg1
); 
16557         wxPyEndAllowThreads(__tstate
); 
16558         if (PyErr_Occurred()) SWIG_fail
; 
16560     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1); 
16567 static PyObject 
* PaintDC_swigregister(PyObject 
*, PyObject 
*args
) { 
16569     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16570     SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
); 
16572     return Py_BuildValue((char *)""); 
16574 static PyObject 
*_wrap_new_WindowDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16575     PyObject 
*resultobj
; 
16576     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
16577     wxWindowDC 
*result
; 
16578     PyObject 
* obj0 
= 0 ; 
16579     char *kwnames
[] = { 
16580         (char *) "win", NULL 
 
16583     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
; 
16584     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
16585     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16587         if (!wxPyCheckForApp()) SWIG_fail
; 
16588         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16589         result 
= (wxWindowDC 
*)new wxWindowDC(arg1
); 
16591         wxPyEndAllowThreads(__tstate
); 
16592         if (PyErr_Occurred()) SWIG_fail
; 
16594     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1); 
16601 static PyObject 
* WindowDC_swigregister(PyObject 
*, PyObject 
*args
) { 
16603     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16604     SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
); 
16606     return Py_BuildValue((char *)""); 
16608 static PyObject 
*_wrap_new_MirrorDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16609     PyObject 
*resultobj
; 
16612     wxMirrorDC 
*result
; 
16613     PyObject 
* obj0 
= 0 ; 
16614     PyObject 
* obj1 
= 0 ; 
16615     char *kwnames
[] = { 
16616         (char *) "dc",(char *) "mirror", NULL 
 
16619     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
; 
16620     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
16621     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
16623     if (arg1 
== NULL
) { 
16624         PyErr_SetString(PyExc_TypeError
,"null reference"); 
16627     arg2 
= (bool)SWIG_As_bool(obj1
);  
16628     if (PyErr_Occurred()) SWIG_fail
; 
16630         if (!wxPyCheckForApp()) SWIG_fail
; 
16631         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16632         result 
= (wxMirrorDC 
*)new wxMirrorDC(*arg1
,arg2
); 
16634         wxPyEndAllowThreads(__tstate
); 
16635         if (PyErr_Occurred()) SWIG_fail
; 
16637     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1); 
16644 static PyObject 
* MirrorDC_swigregister(PyObject 
*, PyObject 
*args
) { 
16646     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16647     SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
); 
16649     return Py_BuildValue((char *)""); 
16651 static PyObject 
*_wrap_new_PostScriptDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16652     PyObject 
*resultobj
; 
16653     wxPrintData 
*arg1 
= 0 ; 
16654     wxPostScriptDC 
*result
; 
16655     PyObject 
* obj0 
= 0 ; 
16656     char *kwnames
[] = { 
16657         (char *) "printData", NULL 
 
16660     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
; 
16661     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
, 
16662     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
16664     if (arg1 
== NULL
) { 
16665         PyErr_SetString(PyExc_TypeError
,"null reference"); 
16669         if (!wxPyCheckForApp()) SWIG_fail
; 
16670         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16671         result 
= (wxPostScriptDC 
*)new wxPostScriptDC((wxPrintData 
const &)*arg1
); 
16673         wxPyEndAllowThreads(__tstate
); 
16674         if (PyErr_Occurred()) SWIG_fail
; 
16676     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1); 
16683 static PyObject 
*_wrap_PostScriptDC_GetPrintData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16684     PyObject 
*resultobj
; 
16685     wxPostScriptDC 
*arg1 
= (wxPostScriptDC 
*) 0 ; 
16686     wxPrintData 
*result
; 
16687     PyObject 
* obj0 
= 0 ; 
16688     char *kwnames
[] = { 
16689         (char *) "self", NULL 
 
16692     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
; 
16693     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
, 
16694     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16696         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16698             wxPrintData 
&_result_ref 
= (arg1
)->GetPrintData(); 
16699             result 
= (wxPrintData 
*) &_result_ref
; 
16702         wxPyEndAllowThreads(__tstate
); 
16703         if (PyErr_Occurred()) SWIG_fail
; 
16705     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0); 
16712 static PyObject 
*_wrap_PostScriptDC_SetPrintData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16713     PyObject 
*resultobj
; 
16714     wxPostScriptDC 
*arg1 
= (wxPostScriptDC 
*) 0 ; 
16715     wxPrintData 
*arg2 
= 0 ; 
16716     PyObject 
* obj0 
= 0 ; 
16717     PyObject 
* obj1 
= 0 ; 
16718     char *kwnames
[] = { 
16719         (char *) "self",(char *) "data", NULL 
 
16722     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
; 
16723     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
, 
16724     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16725     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
, 
16726     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
16728     if (arg2 
== NULL
) { 
16729         PyErr_SetString(PyExc_TypeError
,"null reference"); 
16733         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16734         (arg1
)->SetPrintData((wxPrintData 
const &)*arg2
); 
16736         wxPyEndAllowThreads(__tstate
); 
16737         if (PyErr_Occurred()) SWIG_fail
; 
16739     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16746 static PyObject 
*_wrap_PostScriptDC_SetResolution(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16747     PyObject 
*resultobj
; 
16749     PyObject 
* obj0 
= 0 ; 
16750     char *kwnames
[] = { 
16751         (char *) "ppi", NULL 
 
16754     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
; 
16755     arg1 
= (int)SWIG_As_int(obj0
);  
16756     if (PyErr_Occurred()) SWIG_fail
; 
16758         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16759         wxPostScriptDC::SetResolution(arg1
); 
16761         wxPyEndAllowThreads(__tstate
); 
16762         if (PyErr_Occurred()) SWIG_fail
; 
16764     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16771 static PyObject 
*_wrap_PostScriptDC_GetResolution(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16772     PyObject 
*resultobj
; 
16774     char *kwnames
[] = { 
16778     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
; 
16780         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16781         result 
= (int)wxPostScriptDC::GetResolution(); 
16783         wxPyEndAllowThreads(__tstate
); 
16784         if (PyErr_Occurred()) SWIG_fail
; 
16786     resultobj 
= SWIG_From_int((int)result
); 
16793 static PyObject 
* PostScriptDC_swigregister(PyObject 
*, PyObject 
*args
) { 
16795     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16796     SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
); 
16798     return Py_BuildValue((char *)""); 
16800 static PyObject 
*_wrap_new_MetaFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16801     PyObject 
*resultobj
; 
16802     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
16803     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
16804     wxMetaFile 
*result
; 
16805     bool temp1 
= false ; 
16806     PyObject 
* obj0 
= 0 ; 
16807     char *kwnames
[] = { 
16808         (char *) "filename", NULL 
 
16811     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
; 
16814             arg1 
= wxString_in_helper(obj0
); 
16815             if (arg1 
== NULL
) SWIG_fail
; 
16820         if (!wxPyCheckForApp()) SWIG_fail
; 
16821         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16822         result 
= (wxMetaFile 
*)new wxMetaFile((wxString 
const &)*arg1
); 
16824         wxPyEndAllowThreads(__tstate
); 
16825         if (PyErr_Occurred()) SWIG_fail
; 
16827     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1); 
16842 static PyObject 
*_wrap_delete_MetaFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16843     PyObject 
*resultobj
; 
16844     wxMetaFile 
*arg1 
= (wxMetaFile 
*) 0 ; 
16845     PyObject 
* obj0 
= 0 ; 
16846     char *kwnames
[] = { 
16847         (char *) "self", NULL 
 
16850     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
; 
16851     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
, 
16852     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16854         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16857         wxPyEndAllowThreads(__tstate
); 
16858         if (PyErr_Occurred()) SWIG_fail
; 
16860     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16867 static PyObject 
*_wrap_MetaFile_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16868     PyObject 
*resultobj
; 
16869     wxMetaFile 
*arg1 
= (wxMetaFile 
*) 0 ; 
16871     PyObject 
* obj0 
= 0 ; 
16872     char *kwnames
[] = { 
16873         (char *) "self", NULL 
 
16876     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
; 
16877     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
, 
16878     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16880         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16881         result 
= (bool)(arg1
)->Ok(); 
16883         wxPyEndAllowThreads(__tstate
); 
16884         if (PyErr_Occurred()) SWIG_fail
; 
16887         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16895 static PyObject 
*_wrap_MetaFile_SetClipboard(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16896     PyObject 
*resultobj
; 
16897     wxMetaFile 
*arg1 
= (wxMetaFile 
*) 0 ; 
16898     int arg2 
= (int) 0 ; 
16899     int arg3 
= (int) 0 ; 
16901     PyObject 
* obj0 
= 0 ; 
16902     PyObject 
* obj1 
= 0 ; 
16903     PyObject 
* obj2 
= 0 ; 
16904     char *kwnames
[] = { 
16905         (char *) "self",(char *) "width",(char *) "height", NULL 
 
16908     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16909     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
, 
16910     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16912         arg2 
= (int)SWIG_As_int(obj1
);  
16913         if (PyErr_Occurred()) SWIG_fail
; 
16916         arg3 
= (int)SWIG_As_int(obj2
);  
16917         if (PyErr_Occurred()) SWIG_fail
; 
16920         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16921         result 
= (bool)(arg1
)->SetClipboard(arg2
,arg3
); 
16923         wxPyEndAllowThreads(__tstate
); 
16924         if (PyErr_Occurred()) SWIG_fail
; 
16927         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16935 static PyObject 
*_wrap_MetaFile_GetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16936     PyObject 
*resultobj
; 
16937     wxMetaFile 
*arg1 
= (wxMetaFile 
*) 0 ; 
16939     PyObject 
* obj0 
= 0 ; 
16940     char *kwnames
[] = { 
16941         (char *) "self", NULL 
 
16944     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
; 
16945     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
, 
16946     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16948         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16949         result 
= (arg1
)->GetSize(); 
16951         wxPyEndAllowThreads(__tstate
); 
16952         if (PyErr_Occurred()) SWIG_fail
; 
16955         wxSize 
* resultptr
; 
16956         resultptr 
= new wxSize((wxSize 
&) result
); 
16957         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
16965 static PyObject 
*_wrap_MetaFile_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16966     PyObject 
*resultobj
; 
16967     wxMetaFile 
*arg1 
= (wxMetaFile 
*) 0 ; 
16969     PyObject 
* obj0 
= 0 ; 
16970     char *kwnames
[] = { 
16971         (char *) "self", NULL 
 
16974     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
; 
16975     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
, 
16976     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16978         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16979         result 
= (int)(arg1
)->GetWidth(); 
16981         wxPyEndAllowThreads(__tstate
); 
16982         if (PyErr_Occurred()) SWIG_fail
; 
16984     resultobj 
= SWIG_From_int((int)result
); 
16991 static PyObject 
*_wrap_MetaFile_GetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16992     PyObject 
*resultobj
; 
16993     wxMetaFile 
*arg1 
= (wxMetaFile 
*) 0 ; 
16995     PyObject 
* obj0 
= 0 ; 
16996     char *kwnames
[] = { 
16997         (char *) "self", NULL 
 
17000     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
; 
17001     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
, 
17002     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17004         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17005         result 
= (int)(arg1
)->GetHeight(); 
17007         wxPyEndAllowThreads(__tstate
); 
17008         if (PyErr_Occurred()) SWIG_fail
; 
17010     resultobj 
= SWIG_From_int((int)result
); 
17017 static PyObject 
*_wrap_MetaFile_GetFileName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17018     PyObject 
*resultobj
; 
17019     wxMetaFile 
*arg1 
= (wxMetaFile 
*) 0 ; 
17021     PyObject 
* obj0 
= 0 ; 
17022     char *kwnames
[] = { 
17023         (char *) "self", NULL 
 
17026     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetFileName",kwnames
,&obj0
)) goto fail
; 
17027     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
, 
17028     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17030         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17032             wxString 
const &_result_ref 
= ((wxMetaFile 
const *)arg1
)->GetFileName(); 
17033             result 
= (wxString 
*) &_result_ref
; 
17036         wxPyEndAllowThreads(__tstate
); 
17037         if (PyErr_Occurred()) SWIG_fail
; 
17041         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
17043         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
17052 static PyObject 
* MetaFile_swigregister(PyObject 
*, PyObject 
*args
) { 
17054     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17055     SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
); 
17057     return Py_BuildValue((char *)""); 
17059 static PyObject 
*_wrap_new_MetaFileDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17060     PyObject 
*resultobj
; 
17061     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
17062     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
17063     int arg2 
= (int) 0 ; 
17064     int arg3 
= (int) 0 ; 
17065     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
17066     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
17067     wxMetaFileDC 
*result
; 
17068     bool temp1 
= false ; 
17069     bool temp4 
= false ; 
17070     PyObject 
* obj0 
= 0 ; 
17071     PyObject 
* obj1 
= 0 ; 
17072     PyObject 
* obj2 
= 0 ; 
17073     PyObject 
* obj3 
= 0 ; 
17074     char *kwnames
[] = { 
17075         (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL 
 
17078     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
17081             arg1 
= wxString_in_helper(obj0
); 
17082             if (arg1 
== NULL
) SWIG_fail
; 
17087         arg2 
= (int)SWIG_As_int(obj1
);  
17088         if (PyErr_Occurred()) SWIG_fail
; 
17091         arg3 
= (int)SWIG_As_int(obj2
);  
17092         if (PyErr_Occurred()) SWIG_fail
; 
17096             arg4 
= wxString_in_helper(obj3
); 
17097             if (arg4 
== NULL
) SWIG_fail
; 
17102         if (!wxPyCheckForApp()) SWIG_fail
; 
17103         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17104         result 
= (wxMetaFileDC 
*)new wxMetaFileDC((wxString 
const &)*arg1
,arg2
,arg3
,(wxString 
const &)*arg4
); 
17106         wxPyEndAllowThreads(__tstate
); 
17107         if (PyErr_Occurred()) SWIG_fail
; 
17109     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1); 
17132 static PyObject 
*_wrap_MetaFileDC_Close(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17133     PyObject 
*resultobj
; 
17134     wxMetaFileDC 
*arg1 
= (wxMetaFileDC 
*) 0 ; 
17135     wxMetaFile 
*result
; 
17136     PyObject 
* obj0 
= 0 ; 
17137     char *kwnames
[] = { 
17138         (char *) "self", NULL 
 
17141     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
; 
17142     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
, 
17143     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17145         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17146         result 
= (wxMetaFile 
*)(arg1
)->Close(); 
17148         wxPyEndAllowThreads(__tstate
); 
17149         if (PyErr_Occurred()) SWIG_fail
; 
17151     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0); 
17158 static PyObject 
* MetaFileDC_swigregister(PyObject 
*, PyObject 
*args
) { 
17160     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17161     SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
); 
17163     return Py_BuildValue((char *)""); 
17165 static PyObject 
*_wrap_new_PrinterDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17166     PyObject 
*resultobj
; 
17167     wxPrintData 
*arg1 
= 0 ; 
17168     wxPrinterDC 
*result
; 
17169     PyObject 
* obj0 
= 0 ; 
17170     char *kwnames
[] = { 
17171         (char *) "printData", NULL 
 
17174     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
; 
17175     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
, 
17176     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
17178     if (arg1 
== NULL
) { 
17179         PyErr_SetString(PyExc_TypeError
,"null reference"); 
17183         if (!wxPyCheckForApp()) SWIG_fail
; 
17184         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17185         result 
= (wxPrinterDC 
*)new wxPrinterDC((wxPrintData 
const &)*arg1
); 
17187         wxPyEndAllowThreads(__tstate
); 
17188         if (PyErr_Occurred()) SWIG_fail
; 
17190     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1); 
17197 static PyObject 
* PrinterDC_swigregister(PyObject 
*, PyObject 
*args
) { 
17199     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17200     SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
); 
17202     return Py_BuildValue((char *)""); 
17204 static PyObject 
*_wrap_new_ImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17205     PyObject 
*resultobj
; 
17208     int arg3 
= (int) true ; 
17209     int arg4 
= (int) 1 ; 
17210     wxImageList 
*result
; 
17211     PyObject 
* obj0 
= 0 ; 
17212     PyObject 
* obj1 
= 0 ; 
17213     PyObject 
* obj2 
= 0 ; 
17214     PyObject 
* obj3 
= 0 ; 
17215     char *kwnames
[] = { 
17216         (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL 
 
17219     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
17220     arg1 
= (int)SWIG_As_int(obj0
);  
17221     if (PyErr_Occurred()) SWIG_fail
; 
17222     arg2 
= (int)SWIG_As_int(obj1
);  
17223     if (PyErr_Occurred()) SWIG_fail
; 
17225         arg3 
= (int)SWIG_As_int(obj2
);  
17226         if (PyErr_Occurred()) SWIG_fail
; 
17229         arg4 
= (int)SWIG_As_int(obj3
);  
17230         if (PyErr_Occurred()) SWIG_fail
; 
17233         if (!wxPyCheckForApp()) SWIG_fail
; 
17234         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17235         result 
= (wxImageList 
*)new wxImageList(arg1
,arg2
,arg3
,arg4
); 
17237         wxPyEndAllowThreads(__tstate
); 
17238         if (PyErr_Occurred()) SWIG_fail
; 
17241         resultobj 
= wxPyMake_wxObject(result
, 1);  
17249 static PyObject 
*_wrap_delete_ImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17250     PyObject 
*resultobj
; 
17251     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
17252     PyObject 
* obj0 
= 0 ; 
17253     char *kwnames
[] = { 
17254         (char *) "self", NULL 
 
17257     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
; 
17258     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
17259     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17261         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17264         wxPyEndAllowThreads(__tstate
); 
17265         if (PyErr_Occurred()) SWIG_fail
; 
17267     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17274 static PyObject 
*_wrap_ImageList_Add(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17275     PyObject 
*resultobj
; 
17276     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
17277     wxBitmap 
*arg2 
= 0 ; 
17278     wxBitmap 
const &arg3_defvalue 
= wxNullBitmap 
; 
17279     wxBitmap 
*arg3 
= (wxBitmap 
*) &arg3_defvalue 
; 
17281     PyObject 
* obj0 
= 0 ; 
17282     PyObject 
* obj1 
= 0 ; 
17283     PyObject 
* obj2 
= 0 ; 
17284     char *kwnames
[] = { 
17285         (char *) "self",(char *) "bitmap",(char *) "mask", NULL 
 
17288     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
17289     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
17290     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17291     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
17292     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
17294     if (arg2 
== NULL
) { 
17295         PyErr_SetString(PyExc_TypeError
,"null reference"); 
17299         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
, 
17300         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
17302         if (arg3 
== NULL
) { 
17303             PyErr_SetString(PyExc_TypeError
,"null reference"); 
17308         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17309         result 
= (int)(arg1
)->Add((wxBitmap 
const &)*arg2
,(wxBitmap 
const &)*arg3
); 
17311         wxPyEndAllowThreads(__tstate
); 
17312         if (PyErr_Occurred()) SWIG_fail
; 
17314     resultobj 
= SWIG_From_int((int)result
); 
17321 static PyObject 
*_wrap_ImageList_AddWithColourMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17322     PyObject 
*resultobj
; 
17323     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
17324     wxBitmap 
*arg2 
= 0 ; 
17325     wxColour 
*arg3 
= 0 ; 
17328     PyObject 
* obj0 
= 0 ; 
17329     PyObject 
* obj1 
= 0 ; 
17330     PyObject 
* obj2 
= 0 ; 
17331     char *kwnames
[] = { 
17332         (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL 
 
17335     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
17336     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
17337     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17338     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
17339     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
17341     if (arg2 
== NULL
) { 
17342         PyErr_SetString(PyExc_TypeError
,"null reference"); 
17347         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
17350         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17351         result 
= (int)(arg1
)->Add((wxBitmap 
const &)*arg2
,(wxColour 
const &)*arg3
); 
17353         wxPyEndAllowThreads(__tstate
); 
17354         if (PyErr_Occurred()) SWIG_fail
; 
17356     resultobj 
= SWIG_From_int((int)result
); 
17363 static PyObject 
*_wrap_ImageList_AddIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17364     PyObject 
*resultobj
; 
17365     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
17368     PyObject 
* obj0 
= 0 ; 
17369     PyObject 
* obj1 
= 0 ; 
17370     char *kwnames
[] = { 
17371         (char *) "self",(char *) "icon", NULL 
 
17374     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
17375     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
17376     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17377     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
, 
17378     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
17380     if (arg2 
== NULL
) { 
17381         PyErr_SetString(PyExc_TypeError
,"null reference"); 
17385         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17386         result 
= (int)(arg1
)->Add((wxIcon 
const &)*arg2
); 
17388         wxPyEndAllowThreads(__tstate
); 
17389         if (PyErr_Occurred()) SWIG_fail
; 
17391     resultobj 
= SWIG_From_int((int)result
); 
17398 static PyObject 
*_wrap_ImageList_Replace(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17399     PyObject 
*resultobj
; 
17400     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
17402     wxBitmap 
*arg3 
= 0 ; 
17403     wxBitmap 
const &arg4_defvalue 
= wxNullBitmap 
; 
17404     wxBitmap 
*arg4 
= (wxBitmap 
*) &arg4_defvalue 
; 
17406     PyObject 
* obj0 
= 0 ; 
17407     PyObject 
* obj1 
= 0 ; 
17408     PyObject 
* obj2 
= 0 ; 
17409     PyObject 
* obj3 
= 0 ; 
17410     char *kwnames
[] = { 
17411         (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL 
 
17414     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
17415     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
17416     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17417     arg2 
= (int)SWIG_As_int(obj1
);  
17418     if (PyErr_Occurred()) SWIG_fail
; 
17419     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
, 
17420     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
17422     if (arg3 
== NULL
) { 
17423         PyErr_SetString(PyExc_TypeError
,"null reference"); 
17427         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
, 
17428         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
17430         if (arg4 
== NULL
) { 
17431             PyErr_SetString(PyExc_TypeError
,"null reference"); 
17436         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17437         result 
= (bool)(arg1
)->Replace(arg2
,(wxBitmap 
const &)*arg3
,(wxBitmap 
const &)*arg4
); 
17439         wxPyEndAllowThreads(__tstate
); 
17440         if (PyErr_Occurred()) SWIG_fail
; 
17443         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17451 static PyObject 
*_wrap_ImageList_Draw(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17452     PyObject 
*resultobj
; 
17453     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
17458     int arg6 
= (int) wxIMAGELIST_DRAW_NORMAL 
; 
17459     bool arg7 
= (bool) (bool)false ; 
17461     PyObject 
* obj0 
= 0 ; 
17462     PyObject 
* obj1 
= 0 ; 
17463     PyObject 
* obj2 
= 0 ; 
17464     PyObject 
* obj3 
= 0 ; 
17465     PyObject 
* obj4 
= 0 ; 
17466     PyObject 
* obj5 
= 0 ; 
17467     PyObject 
* obj6 
= 0 ; 
17468     char *kwnames
[] = { 
17469         (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL 
 
17472     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
17473     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
17474     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17475     arg2 
= (int)SWIG_As_int(obj1
);  
17476     if (PyErr_Occurred()) SWIG_fail
; 
17477     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
, 
17478     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
17480     if (arg3 
== NULL
) { 
17481         PyErr_SetString(PyExc_TypeError
,"null reference"); 
17484     arg4 
= (int)SWIG_As_int(obj3
);  
17485     if (PyErr_Occurred()) SWIG_fail
; 
17486     arg5 
= (int)SWIG_As_int(obj4
);  
17487     if (PyErr_Occurred()) SWIG_fail
; 
17489         arg6 
= (int)SWIG_As_int(obj5
);  
17490         if (PyErr_Occurred()) SWIG_fail
; 
17493         arg7 
= (bool)SWIG_As_bool(obj6
);  
17494         if (PyErr_Occurred()) SWIG_fail
; 
17497         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17498         result 
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
); 
17500         wxPyEndAllowThreads(__tstate
); 
17501         if (PyErr_Occurred()) SWIG_fail
; 
17504         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17512 static PyObject 
*_wrap_ImageList_GetImageCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17513     PyObject 
*resultobj
; 
17514     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
17516     PyObject 
* obj0 
= 0 ; 
17517     char *kwnames
[] = { 
17518         (char *) "self", NULL 
 
17521     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
; 
17522     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
17523     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17525         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17526         result 
= (int)(arg1
)->GetImageCount(); 
17528         wxPyEndAllowThreads(__tstate
); 
17529         if (PyErr_Occurred()) SWIG_fail
; 
17531     resultobj 
= SWIG_From_int((int)result
); 
17538 static PyObject 
*_wrap_ImageList_Remove(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17539     PyObject 
*resultobj
; 
17540     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
17543     PyObject 
* obj0 
= 0 ; 
17544     PyObject 
* obj1 
= 0 ; 
17545     char *kwnames
[] = { 
17546         (char *) "self",(char *) "index", NULL 
 
17549     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
; 
17550     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
17551     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17552     arg2 
= (int)SWIG_As_int(obj1
);  
17553     if (PyErr_Occurred()) SWIG_fail
; 
17555         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17556         result 
= (bool)(arg1
)->Remove(arg2
); 
17558         wxPyEndAllowThreads(__tstate
); 
17559         if (PyErr_Occurred()) SWIG_fail
; 
17562         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17570 static PyObject 
*_wrap_ImageList_RemoveAll(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17571     PyObject 
*resultobj
; 
17572     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
17574     PyObject 
* obj0 
= 0 ; 
17575     char *kwnames
[] = { 
17576         (char *) "self", NULL 
 
17579     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
; 
17580     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
17581     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17583         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17584         result 
= (bool)(arg1
)->RemoveAll(); 
17586         wxPyEndAllowThreads(__tstate
); 
17587         if (PyErr_Occurred()) SWIG_fail
; 
17590         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17598 static PyObject 
*_wrap_ImageList_GetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17599     PyObject 
*resultobj
; 
17600     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
17608     PyObject 
* obj0 
= 0 ; 
17609     PyObject 
* obj1 
= 0 ; 
17610     char *kwnames
[] = { 
17611         (char *) "self",(char *) "index", NULL 
 
17614     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
17615     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
17616     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
17617     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
17618     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17619     arg2 
= (int)SWIG_As_int(obj1
);  
17620     if (PyErr_Occurred()) SWIG_fail
; 
17622         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17623         (arg1
)->GetSize(arg2
,*arg3
,*arg4
); 
17625         wxPyEndAllowThreads(__tstate
); 
17626         if (PyErr_Occurred()) SWIG_fail
; 
17628     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17629     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
17630     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
17631     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
17632     SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0))); 
17639 static PyObject 
* ImageList_swigregister(PyObject 
*, PyObject 
*args
) { 
17641     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17642     SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
); 
17644     return Py_BuildValue((char *)""); 
17646 static int _wrap_NORMAL_FONT_set(PyObject 
*) { 
17647     PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only."); 
17652 static PyObject 
*_wrap_NORMAL_FONT_get() { 
17655     pyobj 
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0); 
17660 static int _wrap_SMALL_FONT_set(PyObject 
*) { 
17661     PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only."); 
17666 static PyObject 
*_wrap_SMALL_FONT_get() { 
17669     pyobj 
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0); 
17674 static int _wrap_ITALIC_FONT_set(PyObject 
*) { 
17675     PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only."); 
17680 static PyObject 
*_wrap_ITALIC_FONT_get() { 
17683     pyobj 
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0); 
17688 static int _wrap_SWISS_FONT_set(PyObject 
*) { 
17689     PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only."); 
17694 static PyObject 
*_wrap_SWISS_FONT_get() { 
17697     pyobj 
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0); 
17702 static int _wrap_RED_PEN_set(PyObject 
*) { 
17703     PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only."); 
17708 static PyObject 
*_wrap_RED_PEN_get() { 
17711     pyobj 
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0); 
17716 static int _wrap_CYAN_PEN_set(PyObject 
*) { 
17717     PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only."); 
17722 static PyObject 
*_wrap_CYAN_PEN_get() { 
17725     pyobj 
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0); 
17730 static int _wrap_GREEN_PEN_set(PyObject 
*) { 
17731     PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only."); 
17736 static PyObject 
*_wrap_GREEN_PEN_get() { 
17739     pyobj 
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0); 
17744 static int _wrap_BLACK_PEN_set(PyObject 
*) { 
17745     PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only."); 
17750 static PyObject 
*_wrap_BLACK_PEN_get() { 
17753     pyobj 
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0); 
17758 static int _wrap_WHITE_PEN_set(PyObject 
*) { 
17759     PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only."); 
17764 static PyObject 
*_wrap_WHITE_PEN_get() { 
17767     pyobj 
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0); 
17772 static int _wrap_TRANSPARENT_PEN_set(PyObject 
*) { 
17773     PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only."); 
17778 static PyObject 
*_wrap_TRANSPARENT_PEN_get() { 
17781     pyobj 
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0); 
17786 static int _wrap_BLACK_DASHED_PEN_set(PyObject 
*) { 
17787     PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only."); 
17792 static PyObject 
*_wrap_BLACK_DASHED_PEN_get() { 
17795     pyobj 
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0); 
17800 static int _wrap_GREY_PEN_set(PyObject 
*) { 
17801     PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only."); 
17806 static PyObject 
*_wrap_GREY_PEN_get() { 
17809     pyobj 
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0); 
17814 static int _wrap_MEDIUM_GREY_PEN_set(PyObject 
*) { 
17815     PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only."); 
17820 static PyObject 
*_wrap_MEDIUM_GREY_PEN_get() { 
17823     pyobj 
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0); 
17828 static int _wrap_LIGHT_GREY_PEN_set(PyObject 
*) { 
17829     PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only."); 
17834 static PyObject 
*_wrap_LIGHT_GREY_PEN_get() { 
17837     pyobj 
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0); 
17842 static int _wrap_BLUE_BRUSH_set(PyObject 
*) { 
17843     PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only."); 
17848 static PyObject 
*_wrap_BLUE_BRUSH_get() { 
17851     pyobj 
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
17856 static int _wrap_GREEN_BRUSH_set(PyObject 
*) { 
17857     PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only."); 
17862 static PyObject 
*_wrap_GREEN_BRUSH_get() { 
17865     pyobj 
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
17870 static int _wrap_WHITE_BRUSH_set(PyObject 
*) { 
17871     PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only."); 
17876 static PyObject 
*_wrap_WHITE_BRUSH_get() { 
17879     pyobj 
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
17884 static int _wrap_BLACK_BRUSH_set(PyObject 
*) { 
17885     PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only."); 
17890 static PyObject 
*_wrap_BLACK_BRUSH_get() { 
17893     pyobj 
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
17898 static int _wrap_TRANSPARENT_BRUSH_set(PyObject 
*) { 
17899     PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only."); 
17904 static PyObject 
*_wrap_TRANSPARENT_BRUSH_get() { 
17907     pyobj 
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
17912 static int _wrap_CYAN_BRUSH_set(PyObject 
*) { 
17913     PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only."); 
17918 static PyObject 
*_wrap_CYAN_BRUSH_get() { 
17921     pyobj 
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
17926 static int _wrap_RED_BRUSH_set(PyObject 
*) { 
17927     PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only."); 
17932 static PyObject 
*_wrap_RED_BRUSH_get() { 
17935     pyobj 
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
17940 static int _wrap_GREY_BRUSH_set(PyObject 
*) { 
17941     PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only."); 
17946 static PyObject 
*_wrap_GREY_BRUSH_get() { 
17949     pyobj 
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
17954 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject 
*) { 
17955     PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only."); 
17960 static PyObject 
*_wrap_MEDIUM_GREY_BRUSH_get() { 
17963     pyobj 
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
17968 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject 
*) { 
17969     PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only."); 
17974 static PyObject 
*_wrap_LIGHT_GREY_BRUSH_get() { 
17977     pyobj 
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
17982 static int _wrap_BLACK_set(PyObject 
*) { 
17983     PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only."); 
17988 static PyObject 
*_wrap_BLACK_get() { 
17991     pyobj 
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0); 
17996 static int _wrap_WHITE_set(PyObject 
*) { 
17997     PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only."); 
18002 static PyObject 
*_wrap_WHITE_get() { 
18005     pyobj 
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0); 
18010 static int _wrap_RED_set(PyObject 
*) { 
18011     PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only."); 
18016 static PyObject 
*_wrap_RED_get() { 
18019     pyobj 
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0); 
18024 static int _wrap_BLUE_set(PyObject 
*) { 
18025     PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only."); 
18030 static PyObject 
*_wrap_BLUE_get() { 
18033     pyobj 
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0); 
18038 static int _wrap_GREEN_set(PyObject 
*) { 
18039     PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only."); 
18044 static PyObject 
*_wrap_GREEN_get() { 
18047     pyobj 
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0); 
18052 static int _wrap_CYAN_set(PyObject 
*) { 
18053     PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only."); 
18058 static PyObject 
*_wrap_CYAN_get() { 
18061     pyobj 
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0); 
18066 static int _wrap_LIGHT_GREY_set(PyObject 
*) { 
18067     PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only."); 
18072 static PyObject 
*_wrap_LIGHT_GREY_get() { 
18075     pyobj 
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0); 
18080 static int _wrap_STANDARD_CURSOR_set(PyObject 
*) { 
18081     PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only."); 
18086 static PyObject 
*_wrap_STANDARD_CURSOR_get() { 
18089     pyobj 
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0); 
18094 static int _wrap_HOURGLASS_CURSOR_set(PyObject 
*) { 
18095     PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only."); 
18100 static PyObject 
*_wrap_HOURGLASS_CURSOR_get() { 
18103     pyobj 
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0); 
18108 static int _wrap_CROSS_CURSOR_set(PyObject 
*) { 
18109     PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only."); 
18114 static PyObject 
*_wrap_CROSS_CURSOR_get() { 
18117     pyobj 
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0); 
18122 static int _wrap_NullBitmap_set(PyObject 
*) { 
18123     PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only."); 
18128 static PyObject 
*_wrap_NullBitmap_get() { 
18131     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0); 
18136 static int _wrap_NullIcon_set(PyObject 
*) { 
18137     PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only."); 
18142 static PyObject 
*_wrap_NullIcon_get() { 
18145     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0); 
18150 static int _wrap_NullCursor_set(PyObject 
*) { 
18151     PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only."); 
18156 static PyObject 
*_wrap_NullCursor_get() { 
18159     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0); 
18164 static int _wrap_NullPen_set(PyObject 
*) { 
18165     PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only."); 
18170 static PyObject 
*_wrap_NullPen_get() { 
18173     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0); 
18178 static int _wrap_NullBrush_set(PyObject 
*) { 
18179     PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only."); 
18184 static PyObject 
*_wrap_NullBrush_get() { 
18187     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0); 
18192 static int _wrap_NullPalette_set(PyObject 
*) { 
18193     PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only."); 
18198 static PyObject 
*_wrap_NullPalette_get() { 
18201     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0); 
18206 static int _wrap_NullFont_set(PyObject 
*) { 
18207     PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only."); 
18212 static PyObject 
*_wrap_NullFont_get() { 
18215     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0); 
18220 static int _wrap_NullColour_set(PyObject 
*) { 
18221     PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only."); 
18226 static PyObject 
*_wrap_NullColour_get() { 
18229     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0); 
18234 static PyObject 
*_wrap_PenList_AddPen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18235     PyObject 
*resultobj
; 
18236     wxPenList 
*arg1 
= (wxPenList 
*) 0 ; 
18237     wxPen 
*arg2 
= (wxPen 
*) 0 ; 
18238     PyObject 
* obj0 
= 0 ; 
18239     PyObject 
* obj1 
= 0 ; 
18240     char *kwnames
[] = { 
18241         (char *) "self",(char *) "pen", NULL 
 
18244     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
; 
18245     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
, 
18246     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18247     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
, 
18248     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18250         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18251         (arg1
)->AddPen(arg2
); 
18253         wxPyEndAllowThreads(__tstate
); 
18254         if (PyErr_Occurred()) SWIG_fail
; 
18256     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18263 static PyObject 
*_wrap_PenList_FindOrCreatePen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18264     PyObject 
*resultobj
; 
18265     wxPenList 
*arg1 
= (wxPenList 
*) 0 ; 
18266     wxColour 
*arg2 
= 0 ; 
18271     PyObject 
* obj0 
= 0 ; 
18272     PyObject 
* obj1 
= 0 ; 
18273     PyObject 
* obj2 
= 0 ; 
18274     PyObject 
* obj3 
= 0 ; 
18275     char *kwnames
[] = { 
18276         (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL 
 
18279     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
18280     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
, 
18281     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18284         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
18286     arg3 
= (int)SWIG_As_int(obj2
);  
18287     if (PyErr_Occurred()) SWIG_fail
; 
18288     arg4 
= (int)SWIG_As_int(obj3
);  
18289     if (PyErr_Occurred()) SWIG_fail
; 
18291         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18292         result 
= (wxPen 
*)(arg1
)->FindOrCreatePen((wxColour 
const &)*arg2
,arg3
,arg4
); 
18294         wxPyEndAllowThreads(__tstate
); 
18295         if (PyErr_Occurred()) SWIG_fail
; 
18297     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0); 
18304 static PyObject 
*_wrap_PenList_RemovePen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18305     PyObject 
*resultobj
; 
18306     wxPenList 
*arg1 
= (wxPenList 
*) 0 ; 
18307     wxPen 
*arg2 
= (wxPen 
*) 0 ; 
18308     PyObject 
* obj0 
= 0 ; 
18309     PyObject 
* obj1 
= 0 ; 
18310     char *kwnames
[] = { 
18311         (char *) "self",(char *) "pen", NULL 
 
18314     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
; 
18315     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
, 
18316     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18317     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
, 
18318     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18320         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18321         (arg1
)->RemovePen(arg2
); 
18323         wxPyEndAllowThreads(__tstate
); 
18324         if (PyErr_Occurred()) SWIG_fail
; 
18326     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18333 static PyObject 
*_wrap_PenList_GetCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18334     PyObject 
*resultobj
; 
18335     wxPenList 
*arg1 
= (wxPenList 
*) 0 ; 
18337     PyObject 
* obj0 
= 0 ; 
18338     char *kwnames
[] = { 
18339         (char *) "self", NULL 
 
18342     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
; 
18343     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
, 
18344     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18346         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18347         result 
= (int)(arg1
)->GetCount(); 
18349         wxPyEndAllowThreads(__tstate
); 
18350         if (PyErr_Occurred()) SWIG_fail
; 
18352     resultobj 
= SWIG_From_int((int)result
); 
18359 static PyObject 
* PenList_swigregister(PyObject 
*, PyObject 
*args
) { 
18361     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18362     SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
); 
18364     return Py_BuildValue((char *)""); 
18366 static PyObject 
*_wrap_BrushList_AddBrush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18367     PyObject 
*resultobj
; 
18368     wxBrushList 
*arg1 
= (wxBrushList 
*) 0 ; 
18369     wxBrush 
*arg2 
= (wxBrush 
*) 0 ; 
18370     PyObject 
* obj0 
= 0 ; 
18371     PyObject 
* obj1 
= 0 ; 
18372     char *kwnames
[] = { 
18373         (char *) "self",(char *) "brush", NULL 
 
18376     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
; 
18377     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
, 
18378     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18379     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
, 
18380     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18382         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18383         (arg1
)->AddBrush(arg2
); 
18385         wxPyEndAllowThreads(__tstate
); 
18386         if (PyErr_Occurred()) SWIG_fail
; 
18388     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18395 static PyObject 
*_wrap_BrushList_FindOrCreateBrush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18396     PyObject 
*resultobj
; 
18397     wxBrushList 
*arg1 
= (wxBrushList 
*) 0 ; 
18398     wxColour 
*arg2 
= 0 ; 
18402     PyObject 
* obj0 
= 0 ; 
18403     PyObject 
* obj1 
= 0 ; 
18404     PyObject 
* obj2 
= 0 ; 
18405     char *kwnames
[] = { 
18406         (char *) "self",(char *) "colour",(char *) "style", NULL 
 
18409     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18410     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
, 
18411     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18414         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
18416     arg3 
= (int)SWIG_As_int(obj2
);  
18417     if (PyErr_Occurred()) SWIG_fail
; 
18419         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18420         result 
= (wxBrush 
*)(arg1
)->FindOrCreateBrush((wxColour 
const &)*arg2
,arg3
); 
18422         wxPyEndAllowThreads(__tstate
); 
18423         if (PyErr_Occurred()) SWIG_fail
; 
18425     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0); 
18432 static PyObject 
*_wrap_BrushList_RemoveBrush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18433     PyObject 
*resultobj
; 
18434     wxBrushList 
*arg1 
= (wxBrushList 
*) 0 ; 
18435     wxBrush 
*arg2 
= (wxBrush 
*) 0 ; 
18436     PyObject 
* obj0 
= 0 ; 
18437     PyObject 
* obj1 
= 0 ; 
18438     char *kwnames
[] = { 
18439         (char *) "self",(char *) "brush", NULL 
 
18442     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
; 
18443     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
, 
18444     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18445     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
, 
18446     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18448         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18449         (arg1
)->RemoveBrush(arg2
); 
18451         wxPyEndAllowThreads(__tstate
); 
18452         if (PyErr_Occurred()) SWIG_fail
; 
18454     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18461 static PyObject 
*_wrap_BrushList_GetCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18462     PyObject 
*resultobj
; 
18463     wxBrushList 
*arg1 
= (wxBrushList 
*) 0 ; 
18465     PyObject 
* obj0 
= 0 ; 
18466     char *kwnames
[] = { 
18467         (char *) "self", NULL 
 
18470     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
; 
18471     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
, 
18472     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18474         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18475         result 
= (int)(arg1
)->GetCount(); 
18477         wxPyEndAllowThreads(__tstate
); 
18478         if (PyErr_Occurred()) SWIG_fail
; 
18480     resultobj 
= SWIG_From_int((int)result
); 
18487 static PyObject 
* BrushList_swigregister(PyObject 
*, PyObject 
*args
) { 
18489     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18490     SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
); 
18492     return Py_BuildValue((char *)""); 
18494 static PyObject 
*_wrap_new_ColourDatabase(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18495     PyObject 
*resultobj
; 
18496     wxColourDatabase 
*result
; 
18497     char *kwnames
[] = { 
18501     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
; 
18503         if (!wxPyCheckForApp()) SWIG_fail
; 
18504         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18505         result 
= (wxColourDatabase 
*)new wxColourDatabase(); 
18507         wxPyEndAllowThreads(__tstate
); 
18508         if (PyErr_Occurred()) SWIG_fail
; 
18510     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1); 
18517 static PyObject 
*_wrap_delete_ColourDatabase(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18518     PyObject 
*resultobj
; 
18519     wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
18520     PyObject 
* obj0 
= 0 ; 
18521     char *kwnames
[] = { 
18522         (char *) "self", NULL 
 
18525     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
; 
18526     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
, 
18527     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18529         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18532         wxPyEndAllowThreads(__tstate
); 
18533         if (PyErr_Occurred()) SWIG_fail
; 
18535     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18542 static PyObject 
*_wrap_ColourDatabase_Find(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18543     PyObject 
*resultobj
; 
18544     wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
18545     wxString 
*arg2 
= 0 ; 
18547     bool temp2 
= false ; 
18548     PyObject 
* obj0 
= 0 ; 
18549     PyObject 
* obj1 
= 0 ; 
18550     char *kwnames
[] = { 
18551         (char *) "self",(char *) "name", NULL 
 
18554     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
; 
18555     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
, 
18556     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18558         arg2 
= wxString_in_helper(obj1
); 
18559         if (arg2 
== NULL
) SWIG_fail
; 
18563         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18564         result 
= ((wxColourDatabase 
const *)arg1
)->Find((wxString 
const &)*arg2
); 
18566         wxPyEndAllowThreads(__tstate
); 
18567         if (PyErr_Occurred()) SWIG_fail
; 
18570         wxColour 
* resultptr
; 
18571         resultptr 
= new wxColour((wxColour 
&) result
); 
18572         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
18588 static PyObject 
*_wrap_ColourDatabase_FindName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18589     PyObject 
*resultobj
; 
18590     wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
18591     wxColour 
*arg2 
= 0 ; 
18594     PyObject 
* obj0 
= 0 ; 
18595     PyObject 
* obj1 
= 0 ; 
18596     char *kwnames
[] = { 
18597         (char *) "self",(char *) "colour", NULL 
 
18600     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
; 
18601     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
, 
18602     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18605         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
18608         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18609         result 
= ((wxColourDatabase 
const *)arg1
)->FindName((wxColour 
const &)*arg2
); 
18611         wxPyEndAllowThreads(__tstate
); 
18612         if (PyErr_Occurred()) SWIG_fail
; 
18616         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
18618         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
18627 static PyObject 
*_wrap_ColourDatabase_AddColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18628     PyObject 
*resultobj
; 
18629     wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
18630     wxString 
*arg2 
= 0 ; 
18631     wxColour 
*arg3 
= 0 ; 
18632     bool temp2 
= false ; 
18634     PyObject 
* obj0 
= 0 ; 
18635     PyObject 
* obj1 
= 0 ; 
18636     PyObject 
* obj2 
= 0 ; 
18637     char *kwnames
[] = { 
18638         (char *) "self",(char *) "name",(char *) "colour", NULL 
 
18641     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18642     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
, 
18643     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18645         arg2 
= wxString_in_helper(obj1
); 
18646         if (arg2 
== NULL
) SWIG_fail
; 
18651         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
18654         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18655         (arg1
)->AddColour((wxString 
const &)*arg2
,(wxColour 
const &)*arg3
); 
18657         wxPyEndAllowThreads(__tstate
); 
18658         if (PyErr_Occurred()) SWIG_fail
; 
18660     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18675 static PyObject 
*_wrap_ColourDatabase_Append(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18676     PyObject 
*resultobj
; 
18677     wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
18678     wxString 
*arg2 
= 0 ; 
18682     bool temp2 
= false ; 
18683     PyObject 
* obj0 
= 0 ; 
18684     PyObject 
* obj1 
= 0 ; 
18685     PyObject 
* obj2 
= 0 ; 
18686     PyObject 
* obj3 
= 0 ; 
18687     PyObject 
* obj4 
= 0 ; 
18688     char *kwnames
[] = { 
18689         (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
18692     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
18693     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
, 
18694     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18696         arg2 
= wxString_in_helper(obj1
); 
18697         if (arg2 
== NULL
) SWIG_fail
; 
18700     arg3 
= (int)SWIG_As_int(obj2
);  
18701     if (PyErr_Occurred()) SWIG_fail
; 
18702     arg4 
= (int)SWIG_As_int(obj3
);  
18703     if (PyErr_Occurred()) SWIG_fail
; 
18704     arg5 
= (int)SWIG_As_int(obj4
);  
18705     if (PyErr_Occurred()) SWIG_fail
; 
18707         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18708         wxColourDatabase_Append(arg1
,(wxString 
const &)*arg2
,arg3
,arg4
,arg5
); 
18710         wxPyEndAllowThreads(__tstate
); 
18711         if (PyErr_Occurred()) SWIG_fail
; 
18713     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18728 static PyObject 
* ColourDatabase_swigregister(PyObject 
*, PyObject 
*args
) { 
18730     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18731     SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
); 
18733     return Py_BuildValue((char *)""); 
18735 static PyObject 
*_wrap_FontList_AddFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18736     PyObject 
*resultobj
; 
18737     wxFontList 
*arg1 
= (wxFontList 
*) 0 ; 
18738     wxFont 
*arg2 
= (wxFont 
*) 0 ; 
18739     PyObject 
* obj0 
= 0 ; 
18740     PyObject 
* obj1 
= 0 ; 
18741     char *kwnames
[] = { 
18742         (char *) "self",(char *) "font", NULL 
 
18745     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
18746     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
, 
18747     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18748     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
18749     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18751         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18752         (arg1
)->AddFont(arg2
); 
18754         wxPyEndAllowThreads(__tstate
); 
18755         if (PyErr_Occurred()) SWIG_fail
; 
18757     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18764 static PyObject 
*_wrap_FontList_FindOrCreateFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18765     PyObject 
*resultobj
; 
18766     wxFontList 
*arg1 
= (wxFontList 
*) 0 ; 
18771     bool arg6 
= (bool) false ; 
18772     wxString 
const &arg7_defvalue 
= wxPyEmptyString 
; 
18773     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
18774     int arg8 
= (int) wxFONTENCODING_DEFAULT 
; 
18776     bool temp7 
= false ; 
18777     PyObject 
* obj0 
= 0 ; 
18778     PyObject 
* obj1 
= 0 ; 
18779     PyObject 
* obj2 
= 0 ; 
18780     PyObject 
* obj3 
= 0 ; 
18781     PyObject 
* obj4 
= 0 ; 
18782     PyObject 
* obj5 
= 0 ; 
18783     PyObject 
* obj6 
= 0 ; 
18784     PyObject 
* obj7 
= 0 ; 
18785     char *kwnames
[] = { 
18786         (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL 
 
18789     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
18790     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
, 
18791     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18792     arg2 
= (int)SWIG_As_int(obj1
);  
18793     if (PyErr_Occurred()) SWIG_fail
; 
18794     arg3 
= (int)SWIG_As_int(obj2
);  
18795     if (PyErr_Occurred()) SWIG_fail
; 
18796     arg4 
= (int)SWIG_As_int(obj3
);  
18797     if (PyErr_Occurred()) SWIG_fail
; 
18798     arg5 
= (int)SWIG_As_int(obj4
);  
18799     if (PyErr_Occurred()) SWIG_fail
; 
18801         arg6 
= (bool)SWIG_As_bool(obj5
);  
18802         if (PyErr_Occurred()) SWIG_fail
; 
18806             arg7 
= wxString_in_helper(obj6
); 
18807             if (arg7 
== NULL
) SWIG_fail
; 
18812         arg8 
= (int)SWIG_As_int(obj7
);  
18813         if (PyErr_Occurred()) SWIG_fail
; 
18816         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18817         result 
= (wxFont 
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString 
const &)*arg7
,(wxFontEncoding 
)arg8
); 
18819         wxPyEndAllowThreads(__tstate
); 
18820         if (PyErr_Occurred()) SWIG_fail
; 
18822     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0); 
18837 static PyObject 
*_wrap_FontList_RemoveFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18838     PyObject 
*resultobj
; 
18839     wxFontList 
*arg1 
= (wxFontList 
*) 0 ; 
18840     wxFont 
*arg2 
= (wxFont 
*) 0 ; 
18841     PyObject 
* obj0 
= 0 ; 
18842     PyObject 
* obj1 
= 0 ; 
18843     char *kwnames
[] = { 
18844         (char *) "self",(char *) "font", NULL 
 
18847     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
18848     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
, 
18849     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18850     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
18851     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18853         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18854         (arg1
)->RemoveFont(arg2
); 
18856         wxPyEndAllowThreads(__tstate
); 
18857         if (PyErr_Occurred()) SWIG_fail
; 
18859     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18866 static PyObject 
*_wrap_FontList_GetCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18867     PyObject 
*resultobj
; 
18868     wxFontList 
*arg1 
= (wxFontList 
*) 0 ; 
18870     PyObject 
* obj0 
= 0 ; 
18871     char *kwnames
[] = { 
18872         (char *) "self", NULL 
 
18875     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
; 
18876     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
, 
18877     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18879         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18880         result 
= (int)(arg1
)->GetCount(); 
18882         wxPyEndAllowThreads(__tstate
); 
18883         if (PyErr_Occurred()) SWIG_fail
; 
18885     resultobj 
= SWIG_From_int((int)result
); 
18892 static PyObject 
* FontList_swigregister(PyObject 
*, PyObject 
*args
) { 
18894     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18895     SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
); 
18897     return Py_BuildValue((char *)""); 
18899 static int _wrap_TheFontList_set(PyObject 
*) { 
18900     PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only."); 
18905 static PyObject 
*_wrap_TheFontList_get() { 
18908     pyobj 
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0); 
18913 static int _wrap_ThePenList_set(PyObject 
*) { 
18914     PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only."); 
18919 static PyObject 
*_wrap_ThePenList_get() { 
18922     pyobj 
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0); 
18927 static int _wrap_TheBrushList_set(PyObject 
*) { 
18928     PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only."); 
18933 static PyObject 
*_wrap_TheBrushList_get() { 
18936     pyobj 
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0); 
18941 static int _wrap_TheColourDatabase_set(PyObject 
*) { 
18942     PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only."); 
18947 static PyObject 
*_wrap_TheColourDatabase_get() { 
18950     pyobj 
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0); 
18955 static PyObject 
*_wrap_new_Effects(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18956     PyObject 
*resultobj
; 
18958     char *kwnames
[] = { 
18962     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
; 
18964         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18965         result 
= (wxEffects 
*)new wxEffects(); 
18967         wxPyEndAllowThreads(__tstate
); 
18968         if (PyErr_Occurred()) SWIG_fail
; 
18970     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1); 
18977 static PyObject 
*_wrap_Effects_GetHighlightColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18978     PyObject 
*resultobj
; 
18979     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
18981     PyObject 
* obj0 
= 0 ; 
18982     char *kwnames
[] = { 
18983         (char *) "self", NULL 
 
18986     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
; 
18987     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
18988     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18990         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18991         result 
= ((wxEffects 
const *)arg1
)->GetHighlightColour(); 
18993         wxPyEndAllowThreads(__tstate
); 
18994         if (PyErr_Occurred()) SWIG_fail
; 
18997         wxColour 
* resultptr
; 
18998         resultptr 
= new wxColour((wxColour 
&) result
); 
18999         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
19007 static PyObject 
*_wrap_Effects_GetLightShadow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19008     PyObject 
*resultobj
; 
19009     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
19011     PyObject 
* obj0 
= 0 ; 
19012     char *kwnames
[] = { 
19013         (char *) "self", NULL 
 
19016     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
; 
19017     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
19018     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19020         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19021         result 
= ((wxEffects 
const *)arg1
)->GetLightShadow(); 
19023         wxPyEndAllowThreads(__tstate
); 
19024         if (PyErr_Occurred()) SWIG_fail
; 
19027         wxColour 
* resultptr
; 
19028         resultptr 
= new wxColour((wxColour 
&) result
); 
19029         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
19037 static PyObject 
*_wrap_Effects_GetFaceColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19038     PyObject 
*resultobj
; 
19039     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
19041     PyObject 
* obj0 
= 0 ; 
19042     char *kwnames
[] = { 
19043         (char *) "self", NULL 
 
19046     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
; 
19047     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
19048     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19050         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19051         result 
= ((wxEffects 
const *)arg1
)->GetFaceColour(); 
19053         wxPyEndAllowThreads(__tstate
); 
19054         if (PyErr_Occurred()) SWIG_fail
; 
19057         wxColour 
* resultptr
; 
19058         resultptr 
= new wxColour((wxColour 
&) result
); 
19059         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
19067 static PyObject 
*_wrap_Effects_GetMediumShadow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19068     PyObject 
*resultobj
; 
19069     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
19071     PyObject 
* obj0 
= 0 ; 
19072     char *kwnames
[] = { 
19073         (char *) "self", NULL 
 
19076     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
; 
19077     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
19078     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19080         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19081         result 
= ((wxEffects 
const *)arg1
)->GetMediumShadow(); 
19083         wxPyEndAllowThreads(__tstate
); 
19084         if (PyErr_Occurred()) SWIG_fail
; 
19087         wxColour 
* resultptr
; 
19088         resultptr 
= new wxColour((wxColour 
&) result
); 
19089         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
19097 static PyObject 
*_wrap_Effects_GetDarkShadow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19098     PyObject 
*resultobj
; 
19099     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
19101     PyObject 
* obj0 
= 0 ; 
19102     char *kwnames
[] = { 
19103         (char *) "self", NULL 
 
19106     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
; 
19107     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
19108     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19110         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19111         result 
= ((wxEffects 
const *)arg1
)->GetDarkShadow(); 
19113         wxPyEndAllowThreads(__tstate
); 
19114         if (PyErr_Occurred()) SWIG_fail
; 
19117         wxColour 
* resultptr
; 
19118         resultptr 
= new wxColour((wxColour 
&) result
); 
19119         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
19127 static PyObject 
*_wrap_Effects_SetHighlightColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19128     PyObject 
*resultobj
; 
19129     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
19130     wxColour 
*arg2 
= 0 ; 
19132     PyObject 
* obj0 
= 0 ; 
19133     PyObject 
* obj1 
= 0 ; 
19134     char *kwnames
[] = { 
19135         (char *) "self",(char *) "c", NULL 
 
19138     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
19139     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
19140     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19143         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
19146         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19147         (arg1
)->SetHighlightColour((wxColour 
const &)*arg2
); 
19149         wxPyEndAllowThreads(__tstate
); 
19150         if (PyErr_Occurred()) SWIG_fail
; 
19152     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19159 static PyObject 
*_wrap_Effects_SetLightShadow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19160     PyObject 
*resultobj
; 
19161     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
19162     wxColour 
*arg2 
= 0 ; 
19164     PyObject 
* obj0 
= 0 ; 
19165     PyObject 
* obj1 
= 0 ; 
19166     char *kwnames
[] = { 
19167         (char *) "self",(char *) "c", NULL 
 
19170     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
; 
19171     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
19172     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19175         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
19178         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19179         (arg1
)->SetLightShadow((wxColour 
const &)*arg2
); 
19181         wxPyEndAllowThreads(__tstate
); 
19182         if (PyErr_Occurred()) SWIG_fail
; 
19184     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19191 static PyObject 
*_wrap_Effects_SetFaceColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19192     PyObject 
*resultobj
; 
19193     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
19194     wxColour 
*arg2 
= 0 ; 
19196     PyObject 
* obj0 
= 0 ; 
19197     PyObject 
* obj1 
= 0 ; 
19198     char *kwnames
[] = { 
19199         (char *) "self",(char *) "c", NULL 
 
19202     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
19203     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
19204     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19207         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
19210         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19211         (arg1
)->SetFaceColour((wxColour 
const &)*arg2
); 
19213         wxPyEndAllowThreads(__tstate
); 
19214         if (PyErr_Occurred()) SWIG_fail
; 
19216     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19223 static PyObject 
*_wrap_Effects_SetMediumShadow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19224     PyObject 
*resultobj
; 
19225     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
19226     wxColour 
*arg2 
= 0 ; 
19228     PyObject 
* obj0 
= 0 ; 
19229     PyObject 
* obj1 
= 0 ; 
19230     char *kwnames
[] = { 
19231         (char *) "self",(char *) "c", NULL 
 
19234     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
; 
19235     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
19236     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19239         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
19242         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19243         (arg1
)->SetMediumShadow((wxColour 
const &)*arg2
); 
19245         wxPyEndAllowThreads(__tstate
); 
19246         if (PyErr_Occurred()) SWIG_fail
; 
19248     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19255 static PyObject 
*_wrap_Effects_SetDarkShadow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19256     PyObject 
*resultobj
; 
19257     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
19258     wxColour 
*arg2 
= 0 ; 
19260     PyObject 
* obj0 
= 0 ; 
19261     PyObject 
* obj1 
= 0 ; 
19262     char *kwnames
[] = { 
19263         (char *) "self",(char *) "c", NULL 
 
19266     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
; 
19267     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
19268     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19271         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
19274         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19275         (arg1
)->SetDarkShadow((wxColour 
const &)*arg2
); 
19277         wxPyEndAllowThreads(__tstate
); 
19278         if (PyErr_Occurred()) SWIG_fail
; 
19280     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19287 static PyObject 
*_wrap_Effects_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19288     PyObject 
*resultobj
; 
19289     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
19290     wxColour 
*arg2 
= 0 ; 
19291     wxColour 
*arg3 
= 0 ; 
19292     wxColour 
*arg4 
= 0 ; 
19293     wxColour 
*arg5 
= 0 ; 
19294     wxColour 
*arg6 
= 0 ; 
19300     PyObject 
* obj0 
= 0 ; 
19301     PyObject 
* obj1 
= 0 ; 
19302     PyObject 
* obj2 
= 0 ; 
19303     PyObject 
* obj3 
= 0 ; 
19304     PyObject 
* obj4 
= 0 ; 
19305     PyObject 
* obj5 
= 0 ; 
19306     char *kwnames
[] = { 
19307         (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL 
 
19310     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
19311     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
19312     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19315         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
19319         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
19323         if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
19327         if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
; 
19331         if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
; 
19334         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19335         (arg1
)->Set((wxColour 
const &)*arg2
,(wxColour 
const &)*arg3
,(wxColour 
const &)*arg4
,(wxColour 
const &)*arg5
,(wxColour 
const &)*arg6
); 
19337         wxPyEndAllowThreads(__tstate
); 
19338         if (PyErr_Occurred()) SWIG_fail
; 
19340     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19347 static PyObject 
*_wrap_Effects_DrawSunkenEdge(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19348     PyObject 
*resultobj
; 
19349     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
19352     int arg4 
= (int) 1 ; 
19354     PyObject 
* obj0 
= 0 ; 
19355     PyObject 
* obj1 
= 0 ; 
19356     PyObject 
* obj2 
= 0 ; 
19357     PyObject 
* obj3 
= 0 ; 
19358     char *kwnames
[] = { 
19359         (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL 
 
19362     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
19363     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
19364     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19365     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
, 
19366     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19368     if (arg2 
== NULL
) { 
19369         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19374         if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
; 
19377         arg4 
= (int)SWIG_As_int(obj3
);  
19378         if (PyErr_Occurred()) SWIG_fail
; 
19381         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19382         (arg1
)->DrawSunkenEdge(*arg2
,(wxRect 
const &)*arg3
,arg4
); 
19384         wxPyEndAllowThreads(__tstate
); 
19385         if (PyErr_Occurred()) SWIG_fail
; 
19387     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19394 static PyObject 
*_wrap_Effects_TileBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19395     PyObject 
*resultobj
; 
19396     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
19399     wxBitmap 
*arg4 
= 0 ; 
19402     PyObject 
* obj0 
= 0 ; 
19403     PyObject 
* obj1 
= 0 ; 
19404     PyObject 
* obj2 
= 0 ; 
19405     PyObject 
* obj3 
= 0 ; 
19406     char *kwnames
[] = { 
19407         (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL 
 
19410     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
19411     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
19412     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19415         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
19417     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
, 
19418     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19420     if (arg3 
== NULL
) { 
19421         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19424     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
, 
19425     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19427     if (arg4 
== NULL
) { 
19428         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19432         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19433         result 
= (bool)(arg1
)->TileBitmap((wxRect 
const &)*arg2
,*arg3
,*arg4
); 
19435         wxPyEndAllowThreads(__tstate
); 
19436         if (PyErr_Occurred()) SWIG_fail
; 
19439         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19447 static PyObject 
* Effects_swigregister(PyObject 
*, PyObject 
*args
) { 
19449     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
19450     SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
); 
19452     return Py_BuildValue((char *)""); 
19454 static PyMethodDef SwigMethods
[] = { 
19455          { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19456          { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19457          { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19458          { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19459          { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19460          { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL 
}, 
19461          { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19462          { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19463          { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19464          { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19465          { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19466          { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19467          { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19468          { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19469          { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19470          { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19471          { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19472          { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19473          { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19474          { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19475          { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19476          { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19477          { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL 
}, 
19478          { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19479          { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19480          { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19481          { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19482          { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19483          { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL 
}, 
19484          { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19485          { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19486          { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19487          { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19488          { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19489          { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19490          { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19491          { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19492          { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19493          { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19494          { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19495          { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19496          { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19497          { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19498          { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19499          { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19500          { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19501          { (char *)"Pen_GetStipple", (PyCFunction
) _wrap_Pen_GetStipple
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19502          { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19503          { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19504          { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19505          { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL 
}, 
19506          { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19507          { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19508          { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19509          { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19510          { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19511          { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19512          { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19513          { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19514          { (char *)"Brush_IsHatch", (PyCFunction
) _wrap_Brush_IsHatch
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19515          { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19516          { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL 
}, 
19517          { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19518          { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19519          { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19520          { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19521          { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19522          { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19523          { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19524          { (char *)"Bitmap_GetHandle", (PyCFunction
) _wrap_Bitmap_GetHandle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19525          { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19526          { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19527          { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19528          { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19529          { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19530          { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19531          { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19532          { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19533          { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19534          { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19535          { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19536          { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19537          { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19538          { (char *)"Bitmap_GetPalette", (PyCFunction
) _wrap_Bitmap_GetPalette
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19539          { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19540          { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19541          { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19542          { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19543          { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19544          { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19545          { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19546          { (char *)"Bitmap_GetQuality", (PyCFunction
) _wrap_Bitmap_GetQuality
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19547          { (char *)"Bitmap_SetQuality", (PyCFunction
) _wrap_Bitmap_SetQuality
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19548          { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19549          { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19550          { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL 
}, 
19551          { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19552          { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL 
}, 
19553          { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19554          { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19555          { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19556          { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19557          { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19558          { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19559          { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19560          { (char *)"Icon_GetHandle", (PyCFunction
) _wrap_Icon_GetHandle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19561          { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19562          { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19563          { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19564          { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19565          { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19566          { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19567          { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19568          { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19569          { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19570          { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19571          { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL 
}, 
19572          { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19573          { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19574          { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19575          { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19576          { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19577          { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19578          { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19579          { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL 
}, 
19580          { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19581          { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19582          { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19583          { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19584          { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19585          { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19586          { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19587          { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL 
}, 
19588          { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19589          { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19590          { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19591          { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19592          { (char *)"Cursor_GetHandle", (PyCFunction
) _wrap_Cursor_GetHandle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19593          { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19594          { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19595          { (char *)"Cursor_GetWidth", (PyCFunction
) _wrap_Cursor_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19596          { (char *)"Cursor_GetHeight", (PyCFunction
) _wrap_Cursor_GetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19597          { (char *)"Cursor_GetDepth", (PyCFunction
) _wrap_Cursor_GetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19598          { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19599          { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19600          { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19601          { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19602          { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL 
}, 
19603          { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19604          { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19605          { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19606          { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19607          { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19608          { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19609          { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19610          { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19611          { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19612          { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19613          { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19614          { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19615          { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19616          { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19617          { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19618          { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19619          { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19620          { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19621          { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19622          { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19623          { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19624          { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19625          { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19626          { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19627          { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19628          { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19629          { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19630          { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19631          { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL 
}, 
19632          { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19633          { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19634          { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19635          { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19636          { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19637          { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19638          { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19639          { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19640          { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19641          { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19642          { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19643          { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19644          { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19645          { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL 
}, 
19646          { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19647          { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19648          { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19649          { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19650          { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19651          { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_GetPixelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19652          { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19653          { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19654          { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19655          { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19656          { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19657          { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19658          { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19659          { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19660          { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19661          { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19662          { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19663          { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19664          { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19665          { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19666          { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19667          { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19668          { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19669          { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19670          { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19671          { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL 
}, 
19672          { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19673          { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19674          { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19675          { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19676          { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19677          { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19678          { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19679          { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19680          { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL 
}, 
19681          { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19682          { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19683          { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19684          { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19685          { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19686          { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19687          { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19688          { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19689          { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19690          { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19691          { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19692          { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19693          { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19694          { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19695          { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19696          { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19697          { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19698          { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19699          { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19700          { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL 
}, 
19701          { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19702          { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19703          { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19704          { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19705          { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19706          { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19707          { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19708          { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19709          { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19710          { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19711          { (char *)"Font_GetPixelSize", (PyCFunction
) _wrap_Font_GetPixelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19712          { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
) _wrap_Font_IsUsingSizeInPixels
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19713          { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19714          { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19715          { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19716          { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19717          { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19718          { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19719          { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19720          { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19721          { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19722          { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19723          { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19724          { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19725          { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19726          { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19727          { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19728          { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19729          { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19730          { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19731          { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19732          { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19733          { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19734          { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19735          { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19736          { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19737          { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19738          { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19739          { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19740          { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19741          { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL 
}, 
19742          { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19743          { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19744          { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19745          { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19746          { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19747          { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19748          { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19749          { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL 
}, 
19750          { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19751          { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19752          { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19753          { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19754          { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19755          { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19756          { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL 
}, 
19757          { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19758          { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19759          { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19760          { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19761          { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19762          { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19763          { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19764          { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19765          { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19766          { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19767          { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19768          { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19769          { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19770          { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19771          { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19772          { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19773          { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19774          { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19775          { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19776          { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19777          { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19778          { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL 
}, 
19779          { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19780          { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL 
}, 
19781          { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19782          { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19783          { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19784          { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19785          { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19786          { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19787          { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19788          { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL 
}, 
19789          { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19790          { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19791          { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19792          { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19793          { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19794          { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19795          { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19796          { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19797          { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19798          { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19799          { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19800          { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19801          { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19802          { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19803          { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19804          { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19805          { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19806          { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19807          { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19808          { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19809          { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19810          { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19811          { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19812          { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19813          { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19814          { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19815          { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19816          { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19817          { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19818          { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19819          { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19820          { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19821          { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19822          { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19823          { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19824          { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19825          { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19826          { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19827          { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19828          { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19829          { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19830          { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19831          { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19832          { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19833          { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19834          { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19835          { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19836          { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19837          { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19838          { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19839          { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19840          { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19841          { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19842          { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19843          { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19844          { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19845          { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19846          { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19847          { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19848          { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19849          { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19850          { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19851          { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19852          { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19853          { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19854          { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19855          { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19856          { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19857          { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19858          { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19859          { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19860          { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19861          { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19862          { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19863          { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19864          { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19865          { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19866          { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19867          { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19868          { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19869          { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19870          { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19871          { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19872          { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19873          { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19874          { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19875          { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19876          { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19877          { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19878          { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19879          { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19880          { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19881          { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19882          { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19883          { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19884          { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19885          { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19886          { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19887          { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19888          { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19889          { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19890          { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19891          { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19892          { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19893          { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19894          { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19895          { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19896          { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19897          { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19898          { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19899          { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19900          { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19901          { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19902          { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19903          { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19904          { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19905          { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19906          { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19907          { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19908          { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19909          { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19910          { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19911          { (char *)"DC_GetHDC", (PyCFunction
) _wrap_DC_GetHDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19912          { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19913          { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19914          { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19915          { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19916          { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19917          { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19918          { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL 
}, 
19919          { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19920          { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19921          { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19922          { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL 
}, 
19923          { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL 
}, 
19924          { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19925          { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19926          { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL 
}, 
19927          { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19928          { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL 
}, 
19929          { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19930          { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19931          { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19932          { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19933          { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL 
}, 
19934          { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19935          { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL 
}, 
19936          { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19937          { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL 
}, 
19938          { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19939          { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL 
}, 
19940          { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19941          { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL 
}, 
19942          { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19943          { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19944          { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19945          { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19946          { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19947          { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL 
}, 
19948          { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19949          { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19950          { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19951          { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19952          { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19953          { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19954          { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19955          { (char *)"MetaFile_GetFileName", (PyCFunction
) _wrap_MetaFile_GetFileName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19956          { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL 
}, 
19957          { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19958          { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19959          { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL 
}, 
19960          { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19961          { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL 
}, 
19962          { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19963          { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19964          { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19965          { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19966          { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19967          { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19968          { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19969          { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19970          { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19971          { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19972          { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19973          { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL 
}, 
19974          { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19975          { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19976          { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19977          { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19978          { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL 
}, 
19979          { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19980          { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19981          { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19982          { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19983          { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL 
}, 
19984          { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19985          { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19986          { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19987          { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19988          { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19989          { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19990          { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL 
}, 
19991          { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19992          { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19993          { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19994          { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19995          { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL 
}, 
19996          { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19997          { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19998          { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
19999          { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
20000          { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
20001          { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
20002          { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
20003          { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
20004          { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
20005          { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
20006          { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
20007          { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
20008          { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
20009          { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
20010          { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL 
}, 
20011          { NULL
, NULL
, 0, NULL 
} 
20015 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
20017 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
20018     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
20020 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
20021     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
20023 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
20024     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
20026 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) { 
20027     return (void *)((wxMemoryDC 
*)  ((wxBufferedDC 
*) x
)); 
20029 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) { 
20030     return (void *)((wxMemoryDC 
*) (wxBufferedDC 
*) ((wxBufferedPaintDC 
*) x
)); 
20032 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
20033     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
20035 static void *_p_wxPenTo_p_wxObject(void *x
) { 
20036     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxPen 
*) x
)); 
20038 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) { 
20039     return (void *)((wxObject 
*)  ((wxRegionIterator 
*) x
)); 
20041 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
20042     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
20044 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
20045     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
20047 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) { 
20048     return (void *)((wxObject 
*)  ((wxColourDatabase 
*) x
)); 
20050 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
20051     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
20053 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
20054     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
20056 static void *_p_wxIconTo_p_wxObject(void *x
) { 
20057     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxIcon 
*) x
)); 
20059 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
20060     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
20062 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
20063     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
20065 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
20066     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
20068 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
20069     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
20071 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
20072     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
20074 static void *_p_wxPenListTo_p_wxObject(void *x
) { 
20075     return (void *)((wxObject 
*)  ((wxPenList 
*) x
)); 
20077 static void *_p_wxEventTo_p_wxObject(void *x
) { 
20078     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
20080 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
20081     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
20083 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
20084     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
20086 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
20087     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
20089 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
20090     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
20092 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
20093     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
20095 static void *_p_wxDCTo_p_wxObject(void *x
) { 
20096     return (void *)((wxObject 
*)  ((wxDC 
*) x
)); 
20098 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
20099     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
20101 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
20102     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
20104 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
20105     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
20107 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
20108     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
20110 static void *_p_wxControlTo_p_wxObject(void *x
) { 
20111     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
20113 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
20114     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
20116 static void *_p_wxClientDCTo_p_wxObject(void *x
) { 
20117     return (void *)((wxObject 
*) (wxDC 
*) ((wxClientDC 
*) x
)); 
20119 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
20120     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
20122 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) { 
20123     return (void *)((wxObject 
*) (wxDC 
*) ((wxMemoryDC 
*) x
)); 
20125 static void *_p_wxRegionTo_p_wxObject(void *x
) { 
20126     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxRegion 
*) x
)); 
20128 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
20129     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
20131 static void *_p_wxWindowDCTo_p_wxObject(void *x
) { 
20132     return (void *)((wxObject 
*) (wxDC 
*) ((wxWindowDC 
*) x
)); 
20134 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) { 
20135     return (void *)((wxObject 
*)  ((wxGDIObject 
*) x
)); 
20137 static void *_p_wxEffectsTo_p_wxObject(void *x
) { 
20138     return (void *)((wxObject 
*)  ((wxEffects 
*) x
)); 
20140 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
20141     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
20143 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
20144     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
20146 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) { 
20147     return (void *)((wxObject 
*) (wxDC 
*) ((wxPostScriptDC 
*) x
)); 
20149 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
20150     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
20152 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
20153     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
20155 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
20156     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
20158 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
20159     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
20161 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
20162     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
20164 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
20165     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
20167 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
20168     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
20170 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
20171     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
20173 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
20174     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
20176 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
20177     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
20179 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
20180     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
20182 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
20183     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
20185 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
20186     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
20188 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
20189     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
20191 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
20192     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
20194 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
20195     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
20197 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
20198     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
20200 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
20201     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
20203 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
20204     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
20206 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
20207     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
20209 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
20210     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
20212 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
20213     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
20215 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
20216     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
20218 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) { 
20219     return (void *)((wxObject 
*) (wxDC 
*)(wxMemoryDC 
*)(wxBufferedDC 
*) ((wxBufferedPaintDC 
*) x
)); 
20221 static void *_p_wxPaintDCTo_p_wxObject(void *x
) { 
20222     return (void *)((wxObject 
*) (wxDC 
*) ((wxPaintDC 
*) x
)); 
20224 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) { 
20225     return (void *)((wxObject 
*) (wxDC 
*) ((wxPrinterDC 
*) x
)); 
20227 static void *_p_wxScreenDCTo_p_wxObject(void *x
) { 
20228     return (void *)((wxObject 
*) (wxDC 
*) ((wxScreenDC 
*) x
)); 
20230 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
20231     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
20233 static void *_p_wxImageTo_p_wxObject(void *x
) { 
20234     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
20236 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
20237     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
20239 static void *_p_wxPaletteTo_p_wxObject(void *x
) { 
20240     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxPalette 
*) x
)); 
20242 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) { 
20243     return (void *)((wxObject 
*) (wxDC 
*)(wxMemoryDC 
*) ((wxBufferedDC 
*) x
)); 
20245 static void *_p_wxImageListTo_p_wxObject(void *x
) { 
20246     return (void *)((wxObject 
*)  ((wxImageList 
*) x
)); 
20248 static void *_p_wxCursorTo_p_wxObject(void *x
) { 
20249     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxCursor 
*) x
)); 
20251 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) { 
20252     return (void *)((wxObject 
*)  ((wxEncodingConverter 
*) x
)); 
20254 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) { 
20255     return (void *)((wxObject 
*) (wxDC 
*) ((wxMirrorDC 
*) x
)); 
20257 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
20258     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
20260 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
20261     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
20263 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
20264     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
20266 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
20267     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
20269 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
20270     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
20272 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
20273     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
20275 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) { 
20276     return (void *)((wxObject 
*) (wxDC 
*) ((wxMetaFileDC 
*) x
)); 
20278 static void *_p_wxBrushListTo_p_wxObject(void *x
) { 
20279     return (void *)((wxObject 
*)  ((wxBrushList 
*) x
)); 
20281 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
20282     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
20284 static void *_p_wxBitmapTo_p_wxObject(void *x
) { 
20285     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxBitmap 
*) x
)); 
20287 static void *_p_wxMaskTo_p_wxObject(void *x
) { 
20288     return (void *)((wxObject 
*)  ((wxMask 
*) x
)); 
20290 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
20291     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
20293 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
20294     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
20296 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
20297     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
20299 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
20300     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
20302 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
20303     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
20305 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
20306     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
20308 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
20309     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
20311 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
20312     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
20314 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
20315     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
20317 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
20318     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
20320 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
20321     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
20323 static void *_p_wxFontTo_p_wxObject(void *x
) { 
20324     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxFont 
*) x
)); 
20326 static void *_p_wxBrushTo_p_wxObject(void *x
) { 
20327     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxBrush 
*) x
)); 
20329 static void *_p_wxMetaFileTo_p_wxObject(void *x
) { 
20330     return (void *)((wxObject 
*)  ((wxMetaFile 
*) x
)); 
20332 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
20333     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
20335 static void *_p_wxColourTo_p_wxObject(void *x
) { 
20336     return (void *)((wxObject 
*)  ((wxColour 
*) x
)); 
20338 static void *_p_wxFontListTo_p_wxObject(void *x
) { 
20339     return (void *)((wxObject 
*)  ((wxFontList 
*) x
)); 
20341 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
20342     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
20344 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
20345     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
20347 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) { 
20348     return (void *)((wxBufferedDC 
*)  ((wxBufferedPaintDC 
*) x
)); 
20350 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) { 
20351     return (void *)((wxDC 
*) (wxMemoryDC 
*) ((wxBufferedDC 
*) x
)); 
20353 static void *_p_wxScreenDCTo_p_wxDC(void *x
) { 
20354     return (void *)((wxDC 
*)  ((wxScreenDC 
*) x
)); 
20356 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) { 
20357     return (void *)((wxDC 
*)  ((wxMirrorDC 
*) x
)); 
20359 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) { 
20360     return (void *)((wxDC 
*)  ((wxMemoryDC 
*) x
)); 
20362 static void *_p_wxWindowDCTo_p_wxDC(void *x
) { 
20363     return (void *)((wxDC 
*)  ((wxWindowDC 
*) x
)); 
20365 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) { 
20366     return (void *)((wxDC 
*)  ((wxMetaFileDC 
*) x
)); 
20368 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) { 
20369     return (void *)((wxDC 
*) (wxMemoryDC 
*)(wxBufferedDC 
*) ((wxBufferedPaintDC 
*) x
)); 
20371 static void *_p_wxClientDCTo_p_wxDC(void *x
) { 
20372     return (void *)((wxDC 
*)  ((wxClientDC 
*) x
)); 
20374 static void *_p_wxPaintDCTo_p_wxDC(void *x
) { 
20375     return (void *)((wxDC 
*)  ((wxPaintDC 
*) x
)); 
20377 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) { 
20378     return (void *)((wxDC 
*)  ((wxPostScriptDC 
*) x
)); 
20380 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) { 
20381     return (void *)((wxDC 
*)  ((wxPrinterDC 
*) x
)); 
20383 static void *_p_wxIconTo_p_wxGDIObject(void *x
) { 
20384     return (void *)((wxGDIObject 
*)  ((wxIcon 
*) x
)); 
20386 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) { 
20387     return (void *)((wxGDIObject 
*)  ((wxPalette 
*) x
)); 
20389 static void *_p_wxPenTo_p_wxGDIObject(void *x
) { 
20390     return (void *)((wxGDIObject 
*)  ((wxPen 
*) x
)); 
20392 static void *_p_wxFontTo_p_wxGDIObject(void *x
) { 
20393     return (void *)((wxGDIObject 
*)  ((wxFont 
*) x
)); 
20395 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) { 
20396     return (void *)((wxGDIObject 
*)  ((wxCursor 
*) x
)); 
20398 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) { 
20399     return (void *)((wxGDIObject 
*)  ((wxBitmap 
*) x
)); 
20401 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) { 
20402     return (void *)((wxGDIObject 
*)  ((wxRegion 
*) x
)); 
20404 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) { 
20405     return (void *)((wxGDIObject 
*)  ((wxBrush 
*) x
)); 
20407 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}}; 
20408 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}}; 
20409 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}}; 
20410 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}}; 
20411 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}}; 
20412 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}}; 
20413 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}}; 
20414 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}}; 
20415 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}}; 
20416 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}}; 
20417 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}}; 
20418 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}}; 
20419 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}}; 
20420 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}}; 
20421 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}}; 
20422 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}}; 
20423 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}}; 
20424 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}}; 
20425 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}}; 
20426 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}}; 
20427 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}}; 
20428 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}}; 
20429 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}}; 
20430 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}}; 
20431 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}}; 
20432 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}}; 
20433 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}}; 
20434 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}}; 
20435 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}}; 
20436 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}}; 
20437 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}}; 
20438 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}}; 
20439 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}}; 
20440 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}}; 
20441 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}}; 
20442 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}}; 
20443 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}}; 
20444 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}}; 
20445 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}}; 
20446 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}}; 
20447 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}}; 
20448 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}}; 
20449 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}}; 
20450 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}}; 
20451 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}}; 
20452 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}}; 
20453 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}}; 
20454 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}}; 
20455 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}}; 
20456 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}}; 
20457 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}}; 
20458 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}}; 
20459 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}}; 
20460 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}}; 
20461 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}}; 
20463 static swig_type_info 
*swig_types_initial
[] = { 
20464 _swigt__p_wxPostScriptDC
,  
20466 _swigt__p_wxColour
,  
20468 _swigt__p_wxMirrorDC
,  
20470 _swigt__p_wxPyFontEnumerator
,  
20472 _swigt__p_wxIconLocation
,  
20474 _swigt__p_wxMetaFileDC
,  
20478 _swigt__p_wxWindow
,  
20480 _swigt__p_wxMemoryDC
,  
20481 _swigt__p_wxFontMapper
,  
20482 _swigt__p_wxEffects
,  
20483 _swigt__p_wxNativeEncodingInfo
,  
20484 _swigt__p_wxPalette
,  
20485 _swigt__p_wxBitmap
,  
20486 _swigt__p_wxObject
,  
20487 _swigt__p_wxRegionIterator
,  
20489 _swigt__p_wxString
,  
20490 _swigt__p_wxPrinterDC
,  
20491 _swigt__p_wxIconBundle
,  
20494 _swigt__p_wxScreenDC
,  
20495 _swigt__p_wxCursor
,  
20496 _swigt__p_wxClientDC
,  
20497 _swigt__p_wxBufferedDC
,  
20498 _swigt__p_wxImageList
,  
20499 _swigt__p_unsigned_char
,  
20500 _swigt__p_wxGDIObject
,  
20502 _swigt__p_wxLocale
,  
20503 _swigt__p_wxRegion
,  
20504 _swigt__p_wxLanguageInfo
,  
20505 _swigt__p_wxConfigBase
,  
20506 _swigt__p_wxWindowDC
,  
20507 _swigt__p_wxPrintData
,  
20508 _swigt__p_wxBrushList
,  
20509 _swigt__p_wxFontList
,  
20511 _swigt__p_wxBufferedPaintDC
,  
20512 _swigt__p_wxPaintDC
,  
20513 _swigt__p_wxPenList
,  
20515 _swigt__p_wxMetaFile
,  
20516 _swigt__p_wxNativeFontInfo
,  
20517 _swigt__p_wxEncodingConverter
,  
20518 _swigt__p_wxColourDatabase
,  
20523 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
20525 static swig_const_info swig_const_table
[] = { 
20526 {0, 0, 0, 0.0, 0, 0}}; 
20535 SWIGEXPORT(void) SWIG_init(void) { 
20536     static PyObject 
*SWIG_globals 
= 0;  
20537     static int       typeinit 
= 0; 
20540     if (!SWIG_globals
) SWIG_globals 
= SWIG_newvarlink(); 
20541     m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
20542     d 
= PyModule_GetDict(m
); 
20545         for (i 
= 0; swig_types_initial
[i
]; i
++) { 
20546             swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]); 
20550     SWIG_InstallConstants(d
,swig_const_table
); 
20552     PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)wxOutRegion
)); 
20553     PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)wxPartRegion
)); 
20554     PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)wxInRegion
)); 
20555     PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)wxFONTFAMILY_DEFAULT
)); 
20556     PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)wxFONTFAMILY_DECORATIVE
)); 
20557     PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)wxFONTFAMILY_ROMAN
)); 
20558     PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)wxFONTFAMILY_SCRIPT
)); 
20559     PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)wxFONTFAMILY_SWISS
)); 
20560     PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)wxFONTFAMILY_MODERN
)); 
20561     PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)wxFONTFAMILY_TELETYPE
)); 
20562     PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)wxFONTFAMILY_MAX
)); 
20563     PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)wxFONTFAMILY_UNKNOWN
)); 
20564     PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)wxFONTSTYLE_NORMAL
)); 
20565     PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)wxFONTSTYLE_ITALIC
)); 
20566     PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)wxFONTSTYLE_SLANT
)); 
20567     PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)wxFONTSTYLE_MAX
)); 
20568     PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)wxFONTWEIGHT_NORMAL
)); 
20569     PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)wxFONTWEIGHT_LIGHT
)); 
20570     PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)wxFONTWEIGHT_BOLD
)); 
20571     PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)wxFONTWEIGHT_MAX
)); 
20572     PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)wxFONTFLAG_DEFAULT
)); 
20573     PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)wxFONTFLAG_ITALIC
)); 
20574     PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)wxFONTFLAG_SLANT
)); 
20575     PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)wxFONTFLAG_LIGHT
)); 
20576     PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)wxFONTFLAG_BOLD
)); 
20577     PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_ANTIALIASED
)); 
20578     PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_NOT_ANTIALIASED
)); 
20579     PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)wxFONTFLAG_UNDERLINED
)); 
20580     PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)wxFONTFLAG_STRIKETHROUGH
)); 
20581     PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)wxFONTFLAG_MASK
)); 
20582     PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)wxFONTENCODING_SYSTEM
)); 
20583     PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)wxFONTENCODING_DEFAULT
)); 
20584     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)wxFONTENCODING_ISO8859_1
)); 
20585     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)wxFONTENCODING_ISO8859_2
)); 
20586     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)wxFONTENCODING_ISO8859_3
)); 
20587     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)wxFONTENCODING_ISO8859_4
)); 
20588     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)wxFONTENCODING_ISO8859_5
)); 
20589     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)wxFONTENCODING_ISO8859_6
)); 
20590     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)wxFONTENCODING_ISO8859_7
)); 
20591     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)wxFONTENCODING_ISO8859_8
)); 
20592     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)wxFONTENCODING_ISO8859_9
)); 
20593     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)wxFONTENCODING_ISO8859_10
)); 
20594     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)wxFONTENCODING_ISO8859_11
)); 
20595     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)wxFONTENCODING_ISO8859_12
)); 
20596     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)wxFONTENCODING_ISO8859_13
)); 
20597     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)wxFONTENCODING_ISO8859_14
)); 
20598     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)wxFONTENCODING_ISO8859_15
)); 
20599     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)wxFONTENCODING_ISO8859_MAX
)); 
20600     PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)wxFONTENCODING_KOI8
)); 
20601     PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)wxFONTENCODING_KOI8_U
)); 
20602     PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)wxFONTENCODING_ALTERNATIVE
)); 
20603     PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)wxFONTENCODING_BULGARIAN
)); 
20604     PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)wxFONTENCODING_CP437
)); 
20605     PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)wxFONTENCODING_CP850
)); 
20606     PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)wxFONTENCODING_CP852
)); 
20607     PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)wxFONTENCODING_CP855
)); 
20608     PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)wxFONTENCODING_CP866
)); 
20609     PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)wxFONTENCODING_CP874
)); 
20610     PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)wxFONTENCODING_CP932
)); 
20611     PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)wxFONTENCODING_CP936
)); 
20612     PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)wxFONTENCODING_CP949
)); 
20613     PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)wxFONTENCODING_CP950
)); 
20614     PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)wxFONTENCODING_CP1250
)); 
20615     PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)wxFONTENCODING_CP1251
)); 
20616     PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)wxFONTENCODING_CP1252
)); 
20617     PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)wxFONTENCODING_CP1253
)); 
20618     PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)wxFONTENCODING_CP1254
)); 
20619     PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)wxFONTENCODING_CP1255
)); 
20620     PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)wxFONTENCODING_CP1256
)); 
20621     PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)wxFONTENCODING_CP1257
)); 
20622     PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)wxFONTENCODING_CP12_MAX
)); 
20623     PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)wxFONTENCODING_UTF7
)); 
20624     PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)wxFONTENCODING_UTF8
)); 
20625     PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)wxFONTENCODING_EUC_JP
)); 
20626     PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)wxFONTENCODING_UTF16BE
)); 
20627     PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)wxFONTENCODING_UTF16LE
)); 
20628     PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)wxFONTENCODING_UTF32BE
)); 
20629     PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)wxFONTENCODING_UTF32LE
)); 
20630     PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)wxFONTENCODING_MACROMAN
)); 
20631     PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)wxFONTENCODING_MACJAPANESE
)); 
20632     PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)wxFONTENCODING_MACCHINESETRAD
)); 
20633     PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)wxFONTENCODING_MACKOREAN
)); 
20634     PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)wxFONTENCODING_MACARABIC
)); 
20635     PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)wxFONTENCODING_MACHEBREW
)); 
20636     PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)wxFONTENCODING_MACGREEK
)); 
20637     PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)wxFONTENCODING_MACCYRILLIC
)); 
20638     PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)wxFONTENCODING_MACDEVANAGARI
)); 
20639     PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)wxFONTENCODING_MACGURMUKHI
)); 
20640     PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)wxFONTENCODING_MACGUJARATI
)); 
20641     PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)wxFONTENCODING_MACORIYA
)); 
20642     PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)wxFONTENCODING_MACBENGALI
)); 
20643     PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)wxFONTENCODING_MACTAMIL
)); 
20644     PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)wxFONTENCODING_MACTELUGU
)); 
20645     PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)wxFONTENCODING_MACKANNADA
)); 
20646     PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)wxFONTENCODING_MACMALAJALAM
)); 
20647     PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)wxFONTENCODING_MACSINHALESE
)); 
20648     PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)wxFONTENCODING_MACBURMESE
)); 
20649     PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)wxFONTENCODING_MACKHMER
)); 
20650     PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)wxFONTENCODING_MACTHAI
)); 
20651     PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)wxFONTENCODING_MACLAOTIAN
)); 
20652     PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)wxFONTENCODING_MACGEORGIAN
)); 
20653     PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)wxFONTENCODING_MACARMENIAN
)); 
20654     PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)wxFONTENCODING_MACCHINESESIMP
)); 
20655     PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)wxFONTENCODING_MACTIBETAN
)); 
20656     PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)wxFONTENCODING_MACMONGOLIAN
)); 
20657     PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)wxFONTENCODING_MACETHIOPIC
)); 
20658     PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)wxFONTENCODING_MACCENTRALEUR
)); 
20659     PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)wxFONTENCODING_MACVIATNAMESE
)); 
20660     PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)wxFONTENCODING_MACARABICEXT
)); 
20661     PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)wxFONTENCODING_MACSYMBOL
)); 
20662     PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)wxFONTENCODING_MACDINGBATS
)); 
20663     PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)wxFONTENCODING_MACTURKISH
)); 
20664     PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)wxFONTENCODING_MACCROATIAN
)); 
20665     PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)wxFONTENCODING_MACICELANDIC
)); 
20666     PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)wxFONTENCODING_MACROMANIAN
)); 
20667     PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)wxFONTENCODING_MACCELTIC
)); 
20668     PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)wxFONTENCODING_MACGAELIC
)); 
20669     PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)wxFONTENCODING_MACKEYBOARD
)); 
20670     PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)wxFONTENCODING_MACMIN
)); 
20671     PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)wxFONTENCODING_MACMAX
)); 
20672     PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)wxFONTENCODING_MAX
)); 
20673     PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)wxFONTENCODING_UTF16
)); 
20674     PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)wxFONTENCODING_UTF32
)); 
20675     PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)wxFONTENCODING_UNICODE
)); 
20676     PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)wxFONTENCODING_GB2312
)); 
20677     PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)wxFONTENCODING_BIG5
)); 
20678     PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)wxFONTENCODING_SHIFT_JIS
)); 
20680     wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator"); 
20682     PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)wxLANGUAGE_DEFAULT
)); 
20683     PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)wxLANGUAGE_UNKNOWN
)); 
20684     PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)wxLANGUAGE_ABKHAZIAN
)); 
20685     PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)wxLANGUAGE_AFAR
)); 
20686     PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)wxLANGUAGE_AFRIKAANS
)); 
20687     PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)wxLANGUAGE_ALBANIAN
)); 
20688     PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)wxLANGUAGE_AMHARIC
)); 
20689     PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)wxLANGUAGE_ARABIC
)); 
20690     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_ALGERIA
)); 
20691     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)wxLANGUAGE_ARABIC_BAHRAIN
)); 
20692     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)wxLANGUAGE_ARABIC_EGYPT
)); 
20693     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)wxLANGUAGE_ARABIC_IRAQ
)); 
20694     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_JORDAN
)); 
20695     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)wxLANGUAGE_ARABIC_KUWAIT
)); 
20696     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)wxLANGUAGE_ARABIC_LEBANON
)); 
20697     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)wxLANGUAGE_ARABIC_LIBYA
)); 
20698     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)wxLANGUAGE_ARABIC_MOROCCO
)); 
20699     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_OMAN
)); 
20700     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)wxLANGUAGE_ARABIC_QATAR
)); 
20701     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
)); 
20702     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_SUDAN
)); 
20703     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SYRIA
)); 
20704     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_TUNISIA
)); 
20705     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)wxLANGUAGE_ARABIC_UAE
)); 
20706     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)wxLANGUAGE_ARABIC_YEMEN
)); 
20707     PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)wxLANGUAGE_ARMENIAN
)); 
20708     PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)wxLANGUAGE_ASSAMESE
)); 
20709     PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)wxLANGUAGE_AYMARA
)); 
20710     PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)wxLANGUAGE_AZERI
)); 
20711     PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_AZERI_CYRILLIC
)); 
20712     PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)wxLANGUAGE_AZERI_LATIN
)); 
20713     PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)wxLANGUAGE_BASHKIR
)); 
20714     PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)wxLANGUAGE_BASQUE
)); 
20715     PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)wxLANGUAGE_BELARUSIAN
)); 
20716     PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)wxLANGUAGE_BENGALI
)); 
20717     PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)wxLANGUAGE_BHUTANI
)); 
20718     PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)wxLANGUAGE_BIHARI
)); 
20719     PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)wxLANGUAGE_BISLAMA
)); 
20720     PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)wxLANGUAGE_BRETON
)); 
20721     PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)wxLANGUAGE_BULGARIAN
)); 
20722     PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)wxLANGUAGE_BURMESE
)); 
20723     PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)wxLANGUAGE_CAMBODIAN
)); 
20724     PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)wxLANGUAGE_CATALAN
)); 
20725     PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)wxLANGUAGE_CHINESE
)); 
20726     PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)wxLANGUAGE_CHINESE_SIMPLIFIED
)); 
20727     PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)wxLANGUAGE_CHINESE_TRADITIONAL
)); 
20728     PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)wxLANGUAGE_CHINESE_HONGKONG
)); 
20729     PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)wxLANGUAGE_CHINESE_MACAU
)); 
20730     PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)wxLANGUAGE_CHINESE_SINGAPORE
)); 
20731     PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)wxLANGUAGE_CHINESE_TAIWAN
)); 
20732     PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)wxLANGUAGE_CORSICAN
)); 
20733     PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)wxLANGUAGE_CROATIAN
)); 
20734     PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)wxLANGUAGE_CZECH
)); 
20735     PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)wxLANGUAGE_DANISH
)); 
20736     PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)wxLANGUAGE_DUTCH
)); 
20737     PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_DUTCH_BELGIAN
)); 
20738     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)wxLANGUAGE_ENGLISH
)); 
20739     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_UK
)); 
20740     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)wxLANGUAGE_ENGLISH_US
)); 
20741     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_AUSTRALIA
)); 
20742     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BELIZE
)); 
20743     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BOTSWANA
)); 
20744     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CANADA
)); 
20745     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CARIBBEAN
)); 
20746     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_DENMARK
)); 
20747     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_EIRE
)); 
20748     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_JAMAICA
)); 
20749     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
)); 
20750     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)wxLANGUAGE_ENGLISH_PHILIPPINES
)); 
20751     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)); 
20752     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)wxLANGUAGE_ENGLISH_TRINIDAD
)); 
20753     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_ZIMBABWE
)); 
20754     PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)wxLANGUAGE_ESPERANTO
)); 
20755     PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)wxLANGUAGE_ESTONIAN
)); 
20756     PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)wxLANGUAGE_FAEROESE
)); 
20757     PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)wxLANGUAGE_FARSI
)); 
20758     PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)wxLANGUAGE_FIJI
)); 
20759     PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)wxLANGUAGE_FINNISH
)); 
20760     PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)wxLANGUAGE_FRENCH
)); 
20761     PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_BELGIAN
)); 
20762     PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_CANADIAN
)); 
20763     PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_FRENCH_LUXEMBOURG
)); 
20764     PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)wxLANGUAGE_FRENCH_MONACO
)); 
20765     PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)wxLANGUAGE_FRENCH_SWISS
)); 
20766     PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)wxLANGUAGE_FRISIAN
)); 
20767     PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)wxLANGUAGE_GALICIAN
)); 
20768     PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)wxLANGUAGE_GEORGIAN
)); 
20769     PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)wxLANGUAGE_GERMAN
)); 
20770     PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)wxLANGUAGE_GERMAN_AUSTRIAN
)); 
20771     PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)wxLANGUAGE_GERMAN_BELGIUM
)); 
20772     PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
)); 
20773     PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_GERMAN_LUXEMBOURG
)); 
20774     PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)wxLANGUAGE_GERMAN_SWISS
)); 
20775     PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)wxLANGUAGE_GREEK
)); 
20776     PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)wxLANGUAGE_GREENLANDIC
)); 
20777     PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)wxLANGUAGE_GUARANI
)); 
20778     PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)wxLANGUAGE_GUJARATI
)); 
20779     PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)wxLANGUAGE_HAUSA
)); 
20780     PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)wxLANGUAGE_HEBREW
)); 
20781     PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)wxLANGUAGE_HINDI
)); 
20782     PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)wxLANGUAGE_HUNGARIAN
)); 
20783     PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)wxLANGUAGE_ICELANDIC
)); 
20784     PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)wxLANGUAGE_INDONESIAN
)); 
20785     PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)wxLANGUAGE_INTERLINGUA
)); 
20786     PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)wxLANGUAGE_INTERLINGUE
)); 
20787     PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)wxLANGUAGE_INUKTITUT
)); 
20788     PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)wxLANGUAGE_INUPIAK
)); 
20789     PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)wxLANGUAGE_IRISH
)); 
20790     PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)wxLANGUAGE_ITALIAN
)); 
20791     PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)wxLANGUAGE_ITALIAN_SWISS
)); 
20792     PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)wxLANGUAGE_JAPANESE
)); 
20793     PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)wxLANGUAGE_JAVANESE
)); 
20794     PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)wxLANGUAGE_KANNADA
)); 
20795     PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)wxLANGUAGE_KASHMIRI
)); 
20796     PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)wxLANGUAGE_KASHMIRI_INDIA
)); 
20797     PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)wxLANGUAGE_KAZAKH
)); 
20798     PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)wxLANGUAGE_KERNEWEK
)); 
20799     PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)wxLANGUAGE_KINYARWANDA
)); 
20800     PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)wxLANGUAGE_KIRGHIZ
)); 
20801     PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)wxLANGUAGE_KIRUNDI
)); 
20802     PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)wxLANGUAGE_KONKANI
)); 
20803     PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)wxLANGUAGE_KOREAN
)); 
20804     PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)wxLANGUAGE_KURDISH
)); 
20805     PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)wxLANGUAGE_LAOTHIAN
)); 
20806     PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)wxLANGUAGE_LATIN
)); 
20807     PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)wxLANGUAGE_LATVIAN
)); 
20808     PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)wxLANGUAGE_LINGALA
)); 
20809     PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)wxLANGUAGE_LITHUANIAN
)); 
20810     PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)wxLANGUAGE_MACEDONIAN
)); 
20811     PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)wxLANGUAGE_MALAGASY
)); 
20812     PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)wxLANGUAGE_MALAY
)); 
20813     PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)wxLANGUAGE_MALAYALAM
)); 
20814     PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)); 
20815     PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)wxLANGUAGE_MALAY_MALAYSIA
)); 
20816     PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)wxLANGUAGE_MALTESE
)); 
20817     PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)wxLANGUAGE_MANIPURI
)); 
20818     PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)wxLANGUAGE_MAORI
)); 
20819     PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)wxLANGUAGE_MARATHI
)); 
20820     PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)wxLANGUAGE_MOLDAVIAN
)); 
20821     PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)wxLANGUAGE_MONGOLIAN
)); 
20822     PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)wxLANGUAGE_NAURU
)); 
20823     PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)wxLANGUAGE_NEPALI
)); 
20824     PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)wxLANGUAGE_NEPALI_INDIA
)); 
20825     PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_BOKMAL
)); 
20826     PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_NYNORSK
)); 
20827     PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)wxLANGUAGE_OCCITAN
)); 
20828     PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)wxLANGUAGE_ORIYA
)); 
20829     PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)wxLANGUAGE_OROMO
)); 
20830     PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)wxLANGUAGE_PASHTO
)); 
20831     PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)wxLANGUAGE_POLISH
)); 
20832     PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE
)); 
20833     PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
)); 
20834     PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)wxLANGUAGE_PUNJABI
)); 
20835     PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)wxLANGUAGE_QUECHUA
)); 
20836     PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)wxLANGUAGE_RHAETO_ROMANCE
)); 
20837     PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)wxLANGUAGE_ROMANIAN
)); 
20838     PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)wxLANGUAGE_RUSSIAN
)); 
20839     PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)wxLANGUAGE_RUSSIAN_UKRAINE
)); 
20840     PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)wxLANGUAGE_SAMOAN
)); 
20841     PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)wxLANGUAGE_SANGHO
)); 
20842     PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)wxLANGUAGE_SANSKRIT
)); 
20843     PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)wxLANGUAGE_SCOTS_GAELIC
)); 
20844     PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)wxLANGUAGE_SERBIAN
)); 
20845     PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_SERBIAN_CYRILLIC
)); 
20846     PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)wxLANGUAGE_SERBIAN_LATIN
)); 
20847     PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)wxLANGUAGE_SERBO_CROATIAN
)); 
20848     PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)wxLANGUAGE_SESOTHO
)); 
20849     PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)wxLANGUAGE_SETSWANA
)); 
20850     PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)wxLANGUAGE_SHONA
)); 
20851     PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)wxLANGUAGE_SINDHI
)); 
20852     PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)wxLANGUAGE_SINHALESE
)); 
20853     PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)wxLANGUAGE_SISWATI
)); 
20854     PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)wxLANGUAGE_SLOVAK
)); 
20855     PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)wxLANGUAGE_SLOVENIAN
)); 
20856     PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)wxLANGUAGE_SOMALI
)); 
20857     PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)wxLANGUAGE_SPANISH
)); 
20858     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)wxLANGUAGE_SPANISH_ARGENTINA
)); 
20859     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_BOLIVIA
)); 
20860     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)wxLANGUAGE_SPANISH_CHILE
)); 
20861     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COLOMBIA
)); 
20862     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COSTA_RICA
)); 
20863     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)); 
20864     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_ECUADOR
)); 
20865     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_EL_SALVADOR
)); 
20866     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)wxLANGUAGE_SPANISH_GUATEMALA
)); 
20867     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)wxLANGUAGE_SPANISH_HONDURAS
)); 
20868     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MEXICAN
)); 
20869     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MODERN
)); 
20870     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)wxLANGUAGE_SPANISH_NICARAGUA
)); 
20871     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)wxLANGUAGE_SPANISH_PANAMA
)); 
20872     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_PARAGUAY
)); 
20873     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)wxLANGUAGE_SPANISH_PERU
)); 
20874     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)wxLANGUAGE_SPANISH_PUERTO_RICO
)); 
20875     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_URUGUAY
)); 
20876     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)wxLANGUAGE_SPANISH_US
)); 
20877     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)wxLANGUAGE_SPANISH_VENEZUELA
)); 
20878     PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)wxLANGUAGE_SUNDANESE
)); 
20879     PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)wxLANGUAGE_SWAHILI
)); 
20880     PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)wxLANGUAGE_SWEDISH
)); 
20881     PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)wxLANGUAGE_SWEDISH_FINLAND
)); 
20882     PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)wxLANGUAGE_TAGALOG
)); 
20883     PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)wxLANGUAGE_TAJIK
)); 
20884     PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)wxLANGUAGE_TAMIL
)); 
20885     PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)wxLANGUAGE_TATAR
)); 
20886     PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)wxLANGUAGE_TELUGU
)); 
20887     PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)wxLANGUAGE_THAI
)); 
20888     PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)wxLANGUAGE_TIBETAN
)); 
20889     PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)wxLANGUAGE_TIGRINYA
)); 
20890     PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)wxLANGUAGE_TONGA
)); 
20891     PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)wxLANGUAGE_TSONGA
)); 
20892     PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)wxLANGUAGE_TURKISH
)); 
20893     PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)wxLANGUAGE_TURKMEN
)); 
20894     PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)wxLANGUAGE_TWI
)); 
20895     PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)wxLANGUAGE_UIGHUR
)); 
20896     PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)wxLANGUAGE_UKRAINIAN
)); 
20897     PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)wxLANGUAGE_URDU
)); 
20898     PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)wxLANGUAGE_URDU_INDIA
)); 
20899     PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)wxLANGUAGE_URDU_PAKISTAN
)); 
20900     PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)wxLANGUAGE_UZBEK
)); 
20901     PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_UZBEK_CYRILLIC
)); 
20902     PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)wxLANGUAGE_UZBEK_LATIN
)); 
20903     PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)wxLANGUAGE_VIETNAMESE
)); 
20904     PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)wxLANGUAGE_VOLAPUK
)); 
20905     PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)wxLANGUAGE_WELSH
)); 
20906     PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)wxLANGUAGE_WOLOF
)); 
20907     PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)wxLANGUAGE_XHOSA
)); 
20908     PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)wxLANGUAGE_YIDDISH
)); 
20909     PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)wxLANGUAGE_YORUBA
)); 
20910     PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)wxLANGUAGE_ZHUANG
)); 
20911     PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)wxLANGUAGE_ZULU
)); 
20912     PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)wxLANGUAGE_USER_DEFINED
)); 
20913     PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)wxLOCALE_CAT_NUMBER
)); 
20914     PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)wxLOCALE_CAT_DATE
)); 
20915     PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)wxLOCALE_CAT_MONEY
)); 
20916     PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)wxLOCALE_CAT_MAX
)); 
20917     PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)wxLOCALE_THOUSANDS_SEP
)); 
20918     PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)wxLOCALE_DECIMAL_POINT
)); 
20919     PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)wxLOCALE_LOAD_DEFAULT
)); 
20920     PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)wxLOCALE_CONV_ENCODING
)); 
20921     PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)wxCONVERT_STRICT
)); 
20922     PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)wxCONVERT_SUBSTITUTE
)); 
20923     PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)wxPLATFORM_CURRENT
)); 
20924     PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)wxPLATFORM_UNIX
)); 
20925     PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)wxPLATFORM_WINDOWS
)); 
20926     PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)wxPLATFORM_OS2
)); 
20927     PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)wxPLATFORM_MAC
)); 
20928     PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)wxIMAGELIST_DRAW_NORMAL
)); 
20929     PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)wxIMAGELIST_DRAW_TRANSPARENT
)); 
20930     PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)wxIMAGELIST_DRAW_SELECTED
)); 
20931     PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)wxIMAGELIST_DRAW_FOCUSED
)); 
20932     PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)wxIMAGE_LIST_NORMAL
)); 
20933     PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)wxIMAGE_LIST_SMALL
)); 
20934     PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)wxIMAGE_LIST_STATE
)); 
20935     PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
); 
20936     SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
); 
20937     SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
); 
20938     SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
); 
20939     SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
); 
20940     SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
); 
20941     SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
); 
20942     SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
); 
20943     SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
); 
20944     SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
); 
20945     SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
); 
20946     SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
); 
20947     SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
); 
20948     SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
); 
20949     SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
); 
20950     SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
); 
20951     SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
); 
20952     SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
); 
20953     SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
); 
20954     SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
); 
20955     SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
); 
20956     SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
); 
20957     SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
); 
20958     SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
); 
20959     SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
); 
20960     SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
); 
20961     SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
); 
20962     SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
); 
20963     SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
); 
20964     SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
); 
20965     SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
); 
20966     SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
); 
20967     SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
); 
20968     SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
); 
20969     SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
); 
20970     SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
); 
20971     SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
); 
20972     SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
); 
20973     SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
); 
20974     SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
); 
20975     SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
); 
20976     SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
); 
20977     SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
); 
20978     SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
); 
20979     SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
); 
20980     SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
); 
20981     SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
); 
20983     // Work around a chicken/egg problem in drawlist.cpp 
20984     wxPyDrawList_SetAPIPtr();