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_TypeQuery       SWIG_Python_TypeQuery 
  47 #define SWIG_TypeClientData  SWIG_Python_TypeClientData 
  48 #define SWIG_PackData        SWIG_Python_PackData  
  49 #define SWIG_UnpackData      SWIG_Python_UnpackData  
  52 /*********************************************************************** 
  53  * common.swg for wxPython 
  55  * Include only the function prototypes and such from SWIG's common.swg, 
  56  * but not the runtime functions themselves.  This helps keep the 
  57  * wrapper files clean of unnecessary stuff that is in the libpy.c file 
  60  ************************************************************************/ 
  64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
  65 #  if defined(_MSC_VER) || defined(__GNUC__) 
  66 #    if defined(STATIC_LINKED) 
  67 #      define SWIGEXPORT(a) a 
  68 #      define SWIGIMPORT(a) extern a 
  70 #      define SWIGEXPORT(a) __declspec(dllexport) a 
  71 #      define SWIGIMPORT(a) extern a 
  74 #    if defined(__BORLANDC__) 
  75 #      define SWIGEXPORT(a) a _export 
  76 #      define SWIGIMPORT(a) a _export 
  78 #      define SWIGEXPORT(a) a 
  79 #      define SWIGIMPORT(a) a 
  83 #  define SWIGEXPORT(a) a 
  84 #  define SWIGIMPORT(a) a 
  88 #  define SWIGRUNTIME(a) SWIGEXPORT(a) 
  90 #  define SWIGRUNTIME(a) static a 
  97 typedef void *(*swig_converter_func
)(void *); 
  98 typedef struct swig_type_info 
*(*swig_dycast_func
)(void **); 
 100 typedef struct swig_type_info 
{ 
 102   swig_converter_func     converter
; 
 105   swig_dycast_func        dcast
; 
 106   struct swig_type_info  
*next
; 
 107   struct swig_type_info  
*prev
; 
 111 SWIGIMPORT(swig_type_info 
*) SWIG_TypeRegister(swig_type_info 
*); 
 112 SWIGIMPORT(swig_type_info 
*) SWIG_TypeCheck(char *c
, swig_type_info 
*); 
 113 SWIGIMPORT(void *)           SWIG_TypeCast(swig_type_info 
*, void *); 
 114 SWIGIMPORT(swig_type_info 
*) SWIG_TypeDynamicCast(swig_type_info 
*, void **); 
 115 SWIGIMPORT(const char *)     SWIG_TypeName(const swig_type_info 
*); 
 116 SWIGIMPORT(swig_type_info 
*) SWIG_TypeQuery(const char *); 
 117 SWIGIMPORT(void)             SWIG_TypeClientData(swig_type_info 
*, void *); 
 118 SWIGIMPORT(char *)           SWIG_PackData(char *, void *, int); 
 119 SWIGIMPORT(char *)           SWIG_UnpackData(char *, void *, int); 
 126 /*********************************************************************** 
 127  * pyrun.swg for wxPython 
 129  * Include only the function prototypes and such from SWIG's pyrun.swg, 
 130  * but not the runtime functions themselves.  This helps keep the 
 131  * wrapper files clean of unnecessary stuff that is in the libpy.c file 
 134  ************************************************************************/ 
 142 #define SWIG_PY_INT     1 
 143 #define SWIG_PY_FLOAT   2 
 144 #define SWIG_PY_STRING  3 
 145 #define SWIG_PY_POINTER 4 
 146 #define SWIG_PY_BINARY  5 
 148 /* Flags for pointer conversion */ 
 150 #define SWIG_POINTER_EXCEPTION     0x1 
 151 #define SWIG_POINTER_DISOWN        0x2 
 153 /* Exception handling in wrappers */ 
 154 #define SWIG_fail   goto fail 
 156 /* Constant information structure */ 
 157 typedef struct swig_const_info 
{ 
 163     swig_type_info 
**ptype
; 
 166 /* Common SWIG API */ 
 167 #define SWIG_ConvertPtr(obj, pp, type, flags) \ 
 168   SWIG_Python_ConvertPtr(obj, pp, type, flags) 
 169 #define SWIG_NewPointerObj(p, type, flags) \ 
 170   SWIG_Python_NewPointerObj(p, type, flags) 
 171 #define SWIG_MustGetPtr(p, type, argnum, flags) \ 
 172   SWIG_Python_MustGetPtr(p, type, argnum, flags) 
 174 /* Python-specific SWIG API */ 
 175 #define SWIG_newvarlink() \ 
 176   SWIG_Python_newvarlink() 
 177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \ 
 178   SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
 179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ 
 180   SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) 
 181 #define SWIG_NewPackedObj(ptr, sz, type) \ 
 182   SWIG_Python_NewPackedObj(ptr, sz, type) 
 183 #define SWIG_InstallConstants(d, constants) \ 
 184   SWIG_Python_InstallConstants(d, constants) 
 186 typedef double (*py_objasdbl_conv
)(PyObject 
*obj
); 
 188 SWIGIMPORT(int)               SWIG_Python_ConvertPtr(PyObject 
*, void **, swig_type_info 
*, int); 
 189 SWIGIMPORT(PyObject 
*)        SWIG_Python_NewPointerObj(void *, swig_type_info 
*,int own
); 
 190 SWIGIMPORT(void *)            SWIG_Python_MustGetPtr(PyObject 
*, swig_type_info 
*, int, int); 
 191 SWIGIMPORT(PyObject 
*)        SWIG_Python_newvarlink(void); 
 192 SWIGIMPORT(void)              SWIG_Python_addvarlink(PyObject 
*, char *, PyObject 
*(*)(void), int (*)(PyObject 
*)); 
 193 SWIGIMPORT(int)               SWIG_Python_ConvertPacked(PyObject 
*, void *, int sz
, swig_type_info 
*, int); 
 194 SWIGIMPORT(PyObject 
*)        SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info 
*); 
 195 SWIGIMPORT(void)              SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]); 
 198 /* Contract support */ 
 200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else 
 207 /* -------- TYPES TABLE (BEGIN) -------- */ 
 209 #define  SWIGTYPE_p_wxPostScriptDC swig_types[0]  
 210 #define  SWIGTYPE_p_wxBrush swig_types[1]  
 211 #define  SWIGTYPE_p_wxColour swig_types[2]  
 212 #define  SWIGTYPE_p_wxDC swig_types[3]  
 213 #define  SWIGTYPE_p_wxMirrorDC swig_types[4]  
 214 #define  SWIGTYPE_p_byte swig_types[5]  
 215 #define  SWIGTYPE_p_wxPyFontEnumerator swig_types[6]  
 216 #define  SWIGTYPE_p_char swig_types[7]  
 217 #define  SWIGTYPE_p_wxIconLocation swig_types[8]  
 218 #define  SWIGTYPE_p_wxImage swig_types[9]  
 219 #define  SWIGTYPE_p_wxMetaFileDC swig_types[10]  
 220 #define  SWIGTYPE_p_wxMask swig_types[11]  
 221 #define  SWIGTYPE_p_wxFont swig_types[12]  
 222 #define  SWIGTYPE_p_wxWindow swig_types[13]  
 223 #define  SWIGTYPE_p_wxSize swig_types[14]  
 224 #define  SWIGTYPE_p_double swig_types[15]  
 225 #define  SWIGTYPE_p_wxMemoryDC swig_types[16]  
 226 #define  SWIGTYPE_p_wxFontMapper swig_types[17]  
 227 #define  SWIGTYPE_p_wxEffects swig_types[18]  
 228 #define  SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]  
 229 #define  SWIGTYPE_p_wxPalette swig_types[20]  
 230 #define  SWIGTYPE_p_wxBitmap swig_types[21]  
 231 #define  SWIGTYPE_p_wxObject swig_types[22]  
 232 #define  SWIGTYPE_p_wxRegionIterator swig_types[23]  
 233 #define  SWIGTYPE_p_wxRect swig_types[24]  
 234 #define  SWIGTYPE_p_wxString swig_types[25]  
 235 #define  SWIGTYPE_p_wxPrinterDC swig_types[26]  
 236 #define  SWIGTYPE_p_wxIconBundle swig_types[27]  
 237 #define  SWIGTYPE_p_wxPoint swig_types[28]  
 238 #define  SWIGTYPE_p_wxDash swig_types[29]  
 239 #define  SWIGTYPE_p_wxScreenDC swig_types[30]  
 240 #define  SWIGTYPE_p_wxCursor swig_types[31]  
 241 #define  SWIGTYPE_p_wxClientDC swig_types[32]  
 242 #define  SWIGTYPE_p_wxBufferedDC swig_types[33]  
 243 #define  SWIGTYPE_p_wxImageList swig_types[34]  
 244 #define  SWIGTYPE_p_unsigned_char swig_types[35]  
 245 #define  SWIGTYPE_p_wxGDIObject swig_types[36]  
 246 #define  SWIGTYPE_p_wxIcon swig_types[37]  
 247 #define  SWIGTYPE_p_wxLocale swig_types[38]  
 248 #define  SWIGTYPE_p_wxRegion swig_types[39]  
 249 #define  SWIGTYPE_p_wxLanguageInfo swig_types[40]  
 250 #define  SWIGTYPE_p_wxConfigBase swig_types[41]  
 251 #define  SWIGTYPE_p_wxWindowDC swig_types[42]  
 252 #define  SWIGTYPE_p_wxPrintData swig_types[43]  
 253 #define  SWIGTYPE_p_wxBrushList swig_types[44]  
 254 #define  SWIGTYPE_p_wxFontList swig_types[45]  
 255 #define  SWIGTYPE_p_wxPen swig_types[46]  
 256 #define  SWIGTYPE_p_wxBufferedPaintDC swig_types[47]  
 257 #define  SWIGTYPE_p_wxPaintDC swig_types[48]  
 258 #define  SWIGTYPE_p_wxPenList swig_types[49]  
 259 #define  SWIGTYPE_p_wxPyPen swig_types[50]  
 260 #define  SWIGTYPE_p_int swig_types[51]  
 261 #define  SWIGTYPE_p_wxMetaFile swig_types[52]  
 262 #define  SWIGTYPE_p_wxNativeFontInfo swig_types[53]  
 263 #define  SWIGTYPE_p_wxEncodingConverter swig_types[54]  
 264 #define  SWIGTYPE_p_wxColourDatabase swig_types[55]  
 265 static swig_type_info 
*swig_types
[57]; 
 267 /* -------- TYPES TABLE (END) -------- */ 
 270 /*----------------------------------------------- 
 272   ------------------------------------------------*/ 
 273 #define SWIG_init    init_gdi 
 275 #define SWIG_name    "_gdi" 
 277 /* Auxiliar swig  macros */ 
 280 #define SWIGSTATICINLINE(a) static inline a 
 281 #define SWIGSTATIC(a) static a 
 282 #define swig_new_array(type, size) (new type[(size)]) 
 283 #define swig_delete_array(cptr) delete[] cptr 
 284 #define swig_const_cast(type,a) const_cast<type>(a) 
 285 #define swig_static_cast(type,a) static_cast<type>(a) 
 286 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a) 
 288 #ifdef HAVE_NUMERIC_CAST 
 289 #define swig_numeric_cast(type,a) numeric_cast<type>(a) 
 291 #define swig_numeric_cast(type,a) static_cast<type>(a) 
 296 #define SWIGSTATICINLINE(a) static a 
 297 #define SWIGSTATIC(a) static a 
 298 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type))) 
 299 #define swig_delete_array(cptr) free((char*)cptr) 
 300 #define swig_const_cast(type,a) (type)(a) 
 301 #define swig_static_cast(type,a) (type)(a) 
 302 #define swig_reinterpret_cast(type,a) (type)(a) 
 303 #define swig_numeric_cast(type,a) (type)(a) 
 305 #endif /* __cplusplus */ 
 308 #define SWIG_FromSignedChar     PyInt_FromLong 
 309 #define SWIG_FromUnsignedChar   PyInt_FromLong 
 310 #define SWIG_FromShort         PyInt_FromLong 
 311 #define SWIG_FromUnsignedShort  PyInt_FromLong 
 312 #define SWIG_FromInt           PyInt_FromLong 
 313 #define SWIG_FromLong          PyInt_FromLong 
 314 #define SWIG_FromFloat         PyFloat_FromDouble 
 315 #define SWIG_FromDouble        PyFloat_FromDouble 
 316 #define SWIG_FromFloat         PyFloat_FromDouble 
 317 #define SWIG_FromDouble        PyFloat_FromDouble 
 320 #include "wx/wxPython/wxPython.h" 
 321 #include "wx/wxPython/pyclasses.h" 
 324  static const wxString 
wxPyEmptyString(wxEmptyString
);  
 326 SWIGSTATICINLINE(bool) 
 327 SWIG_AsBool(PyObject 
*obj
) 
 329   return PyObject_IsTrue(obj
) ? true : false; 
 333 SWIGSTATICINLINE(int) 
 334 SWIG_CheckBool(PyObject
* obj
) 
 337   if (PyErr_Occurred()) { 
 349 SWIGSTATICINLINE(unsigned long) 
 350 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
, 
 351                               unsigned long max_value
)  
 353   if (!PyErr_Occurred()) { 
 354     if (value 
> max_value
) {      
 356         PyString_FromFormat("value %ld is greater than '%s' minimum %ld", 
 357                             value
, type
, max_value
); 
 358       PyErr_SetObject(PyExc_OverflowError
, err
); 
 366 SWIGSTATICINLINE(long) 
 367 SWIG_AsLong(PyObject 
* obj
) 
 369     if (PyNumber_Check(obj
)) 
 370         return PyInt_AsLong(obj
); 
 372         PyObject
* errmsg 
= PyString_FromFormat("Expected number, got %s", 
 373                                                obj
->ob_type
->tp_name
); 
 374         PyErr_SetObject(PyExc_TypeError
, errmsg
); 
 381 SWIGSTATICINLINE(unsigned long) 
 382 SWIG_AsUnsignedLong(PyObject 
* obj
)  
 384   if (PyLong_Check(obj
)) { 
 385     return PyLong_AsUnsignedLong(obj
); 
 387     long i 
= SWIG_AsLong(obj
); 
 388     if ( !PyErr_Occurred() && (i 
< 0)) { 
 389       PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type"); 
 396 SWIGSTATICINLINE(unsigned char) 
 397 SWIG_AsUnsignedChar(PyObject 
*obj
) 
 399   return swig_numeric_cast(unsigned char, 
 400     SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
), 
 401                                   "unsigned char", UCHAR_MAX
)); 
 405 SWIGSTATICINLINE(int) 
 406 SWIG_CheckUnsignedChar(PyObject
* obj
) 
 408   SWIG_AsUnsignedChar(obj
); 
 409   if (PyErr_Occurred()) { 
 418 SWIGSTATICINLINE(int) 
 419 SWIG_CheckUnsignedLong(PyObject
* obj
) 
 421   SWIG_AsUnsignedLong(obj
); 
 422   if (PyErr_Occurred()) { 
 430 PyObject 
*wxColour_Get(wxColour 
*self
){ 
 431             PyObject
* rv 
= PyTuple_New(3); 
 437                 green 
= self
->Green(); 
 440             PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
)); 
 441             PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
)); 
 442             PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
)); 
 445 unsigned long wxColour_GetRGB(wxColour 
*self
){ 
 446             return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16); 
 449 SWIGSTATICINLINE(PyObject
* ) 
 450 SWIG_FromUnsignedLong(unsigned long value
) 
 452   return (value 
> LONG_MAX
) ? 
 453     PyLong_FromUnsignedLong(value
)  
 454     : PyInt_FromLong(swig_numeric_cast(long,value
));  
 458 SWIGSTATICINLINE(long) 
 459 SWIG_CheckLongInRange(long value
, const char* type
, 
 460                       long min_value
, long max_value
) 
 462   if (!PyErr_Occurred()) { 
 463     if (value 
< min_value
) { 
 465         PyString_FromFormat("value %ld is less than '%s' minimum %ld",  
 466                             value
, type
, min_value
); 
 468       PyErr_SetObject(PyExc_OverflowError
, err
); 
 470     } else if (value 
> max_value
) { 
 472         PyString_FromFormat("value %ld is greater than '%s' maximum %ld",  
 473                             value
, type
, max_value
); 
 474       PyErr_SetObject(PyExc_OverflowError
, err
); 
 482 #if INT_MAX != LONG_MAX 
 483 SWIGSTATICINLINE(int) 
 484 SWIG_AsInt(PyObject 
*obj
) 
 486   return swig_numeric_cast(int, 
 487     SWIG_CheckLongInRange(SWIG_AsLong(obj
), 
 488                           "int", INT_MIN
, INT_MAX
)); 
 491 #define SWIG_AsInt SWIG_AsLong 
 495 SWIGSTATICINLINE(int) 
 496 SWIG_CheckInt(PyObject
* obj
) 
 499   if (PyErr_Occurred()) { 
 508 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) { 
 514     } else if (target 
== Py_None
) {   
 518         if (!PyTuple_Check(target
)) { 
 520             target 
= PyTuple_New(1); 
 521             PyTuple_SetItem(target
, 0, o2
); 
 524         PyTuple_SetItem(o3
, 0, o
);       
 527         target 
= PySequence_Concat(o2
, o3
);  
 534 PyObject 
*wxPen_GetDashes(wxPen 
*self
){ 
 536             int count 
= self
->GetDashes(&dashes
); 
 537             bool blocked 
= wxPyBeginBlockThreads(); 
 538             PyObject
* retval 
= PyList_New(0); 
 539             for (int x
=0; x
<count
; x
++) 
 540                 PyList_Append(retval
, PyInt_FromLong(dashes
[x
])); 
 541             wxPyEndBlockThreads(blocked
); 
 544 bool wxPen___eq__(wxPen 
*self
,wxPen 
const *other
){ return other 
? (*self 
== *other
) : False
; } 
 545 bool wxPen___ne__(wxPen 
*self
,wxPen 
const *other
){ return other 
? (*self 
!= *other
) : True
;  } 
 553 void wxPyPen::SetDashes(int nb_dashes
, const wxDash 
*dash
) 
 557     m_dash 
= new wxDash
[nb_dashes
]; 
 558     for (int i
=0; i
<nb_dashes
; i
++) { 
 561     wxPen::SetDashes(nb_dashes
, m_dash
); 
 565 #include <wx/image.h> 
 567     static char** ConvertListOfStrings(PyObject
* listOfStrings
) { 
 568         char**    cArray 
= NULL
; 
 571         if (!PyList_Check(listOfStrings
)) { 
 572             PyErr_SetString(PyExc_TypeError
, "Expected a list of strings."); 
 575         count 
= PyList_Size(listOfStrings
); 
 576         cArray 
= new char*[count
]; 
 578         for(int x
=0; x
<count
; x
++) { 
 579             // TODO: Need some validation and error checking here 
 580             cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
)); 
 586 wxBitmap 
*new_wxBitmap(PyObject 
*listOfStrings
){ 
 587             char**    cArray 
= NULL
; 
 590             cArray 
= ConvertListOfStrings(listOfStrings
); 
 593             bmp 
= new wxBitmap(cArray
); 
 597 wxBitmap 
*new_wxBitmap(PyObject 
*bits
,int width
,int height
,int depth
){ 
 600             PyString_AsStringAndSize(bits
, &buf
, &length
); 
 601             return new wxBitmap(buf
, width
, height
, depth
); 
 603 void wxBitmap_SetMaskColour(wxBitmap 
*self
,wxColour 
const &colour
){ 
 604             wxMask 
*mask 
= new wxMask(*self
, colour
); 
 607 bool wxBitmap___eq__(wxBitmap 
*self
,wxBitmap 
const *other
){ return other 
? (*self 
== *other
) : False
; } 
 608 bool wxBitmap___ne__(wxBitmap 
*self
,wxBitmap 
const *other
){ return other 
? (*self 
!= *other
) : True
;  } 
 609 wxMask 
*new_wxMask(wxBitmap 
const &bitmap
,wxColour 
const &colour
){ 
 611                 return new wxMask(bitmap
, *wxBLACK
); 
 613                 return new wxMask(bitmap
, colour
); 
 616 #include <wx/iconbndl.h> 
 618 wxIcon 
*new_wxIcon(wxBitmap 
const &bmp
){ 
 619             wxIcon
* icon 
= new wxIcon(); 
 620             icon
->CopyFromBitmap(bmp
); 
 623 wxIcon 
*new_wxIcon(PyObject 
*listOfStrings
){ 
 624             char**  cArray 
= NULL
; 
 627             cArray 
= ConvertListOfStrings(listOfStrings
); 
 630             icon 
= new wxIcon(cArray
); 
 634 wxIconLocation 
*new_wxIconLocation(wxString 
const *filename
,int num
){ 
 638             return new wxIconLocation(*filename
); 
 641 void wxIconLocation_SetIndex(wxIconLocation 
*self
,int num
){ 
 648 int wxIconLocation_GetIndex(wxIconLocation 
*self
){ 
 656 SWIGSTATICINLINE(int) 
 657 SWIG_CheckLong(PyObject
* obj
) 
 660   if (PyErr_Occurred()) { 
 668 wxCursor 
*new_wxCursor(wxString 
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){ 
 670             wxCHECK_MSG(False
, NULL
, 
 671                         wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead.")); 
 673             return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
); 
 678 void wxRegionIterator_Next(wxRegionIterator 
*self
){ 
 681 bool wxRegionIterator___nonzero__(wxRegionIterator 
*self
){ 
 682             return self
->operator bool(); 
 685 #include <wx/fontutil.h> 
 686 #include <wx/fontmap.h> 
 687 #include <wx/fontenum.h> 
 689 wxString 
wxNativeFontInfo___str__(wxNativeFontInfo 
*self
){ 
 690             return self
->ToString(); 
 693     wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) { 
 694         static wxNativeEncodingInfo info
; 
 695         if ( wxGetNativeFontEncoding(encoding
, &info
) ) 
 701 PyObject 
*wxFontMapper_GetAltForEncoding(wxFontMapper 
*self
,wxFontEncoding encoding
,wxString 
const &facename
,bool interactive
){ 
 702             wxFontEncoding alt_enc
; 
 703             if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
)) 
 704                 return PyInt_FromLong(alt_enc
); 
 710 wxFont 
*new_wxFont(wxString 
const &info
){ 
 711             wxNativeFontInfo nfi
; 
 712             nfi
.FromString(info
); 
 713             return new wxFont(nfi
); 
 715 wxFont 
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString 
const &face
,wxFontEncoding encoding
){ 
 716             return wxFont::New(pointSize
, family
, flags
, face
, encoding
); 
 718 bool wxFont___eq__(wxFont 
*self
,wxFont 
const *other
){ return other 
? (*self 
== *other
) : False
; } 
 719 bool wxFont___ne__(wxFont 
*self
,wxFont 
const *other
){ return other 
? (*self 
!= *other
) : True
;  } 
 721 class wxPyFontEnumerator 
: public wxFontEnumerator 
{ 
 723     wxPyFontEnumerator() {} 
 724     ~wxPyFontEnumerator() {} 
 726     DEC_PYCALLBACK_BOOL_STRING(OnFacename
); 
 727     DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
); 
 732 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
); 
 733 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
); 
 736 PyObject 
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator 
*self
){ 
 737             wxArrayString
* arr 
= self
->GetEncodings(); 
 738             return wxArrayString2PyList_helper(*arr
); 
 740 PyObject 
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator 
*self
){ 
 741             wxArrayString
* arr 
= self
->GetFacenames(); 
 742             return wxArrayString2PyList_helper(*arr
); 
 747 #include "wx/wxPython/pydrawxxx.h" 
 749 wxColour 
wxDC_GetPixelXY(wxDC 
*self
,int x
,int y
){ 
 751             self
->GetPixel(x
, y
, &col
); 
 754 wxColour 
wxDC_GetPixel(wxDC 
*self
,wxPoint 
const &pt
){ 
 756             self
->GetPixel(pt
, &col
); 
 760 SWIGSTATICINLINE(double) 
 761 SWIG_AsDouble(PyObject 
*obj
) 
 763     if (PyNumber_Check(obj
)) 
 764         return PyFloat_AsDouble(obj
); 
 766         PyObject
* errmsg 
= PyString_FromFormat("Expected number, got %s", 
 767                                                obj
->ob_type
->tp_name
); 
 768         PyErr_SetObject(PyExc_TypeError
, errmsg
); 
 775 SWIGSTATICINLINE(int) 
 776 SWIG_CheckDouble(PyObject
* obj
) 
 779   if (PyErr_Occurred()) { 
 787 wxRect 
wxDC_DrawImageLabel(wxDC 
*self
,wxString 
const &text
,wxBitmap 
const &image
,wxRect 
const &rect
,int alignment
,int indexAccel
){ 
 789             self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
); 
 792 wxRect 
wxDC_GetClippingRect(wxDC 
*self
){ 
 794             self
->GetClippingBox(rect
); 
 797 wxArrayInt 
wxDC_GetPartialTextExtents(wxDC 
*self
,wxString 
const &text
){ 
 799             self
->GetPartialTextExtents(text
, widths
); 
 802 PyObject 
*wxDC__DrawPointList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
 803             return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
); 
 805 PyObject 
*wxDC__DrawLineList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
 806             return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
); 
 808 PyObject 
*wxDC__DrawRectangleList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
 809             return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
); 
 811 PyObject 
*wxDC__DrawEllipseList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
 812             return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
); 
 814 PyObject 
*wxDC__DrawPolygonList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
 815             return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
); 
 817 PyObject 
*wxDC__DrawTextList(wxDC 
*self
,PyObject 
*textList
,PyObject 
*pyPoints
,PyObject 
*foregroundList
,PyObject 
*backgroundList
){ 
 818             return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
); 
 821 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) { 
 829 //-=-=-=-=-=-=-=-=-=-=-     
 832 // Use the standard wxBufferedDC 
 833 #include <wx/dcbuffer.h> 
 837 //  Or, temporarily put a set of classes here similar to the old buffered DC 
 838 //  classes until the real ones can be fixed to work "correctly" again. 
 840 class wxBufferedDC 
: public wxMemoryDC
 
 848     wxBufferedDC() : m_dc( 0 ) {} 
 850     wxBufferedDC( wxDC 
*dc
, const wxBitmap 
&buffer 
) 
 851         : m_dc( dc 
), m_buffer( buffer 
) 
 853         SelectObject( m_buffer 
); 
 856     wxBufferedDC( wxDC 
*dc
, const wxSize 
&area 
) 
 857         : m_dc( dc 
), m_buffer( area
.GetWidth(), area
.GetHeight() ) 
 859         SelectObject( m_buffer 
); 
 868     void Init( wxDC 
*dc
, const wxBitmap 
&buffer 
) { 
 869         wxASSERT_MSG( m_dc 
== 0 && m_buffer 
== wxNullBitmap
, 
 870                       _T("wxBufferedDC already initialised") ); 
 873         SelectObject( m_buffer 
); 
 876     void Init( wxDC 
*dc
, const wxSize 
&area 
) { 
 877         wxASSERT_MSG( m_dc 
== 0 && m_buffer 
== wxNullBitmap
, 
 878                       _T("wxBufferedDC already initialised") ); 
 880         m_buffer 
= wxBitmap( area
.GetWidth(), area
.GetHeight() ); 
 881         SelectObject( m_buffer 
); 
 885         wxASSERT_MSG( m_dc 
!= 0, _T("No low level DC associated with buffer (anymore)") ); 
 886         m_dc
->Blit( 0, 0, m_buffer
.GetWidth(), m_buffer
.GetHeight(), this, 0, 0 ); 
 892 class wxBufferedPaintDC 
: public wxBufferedDC
 
 898     wxBufferedPaintDC( wxWindow 
*window
, const wxBitmap 
&buffer 
= wxNullBitmap 
) 
 899         : m_paintdc( window 
) 
 901         window
->PrepareDC( m_paintdc 
); 
 903         if( buffer 
!= wxNullBitmap 
) 
 904             Init( &m_paintdc
, buffer 
); 
 906             Init( &m_paintdc
, window
->GetClientSize() ); 
 909     ~wxBufferedPaintDC() { 
 915 //-=-=-=-=-=-=-=-=-=-=-     
 921 class wxMetaFile 
: public wxObject 
{ 
 923     wxMetaFile(const wxString
&) 
 924         { wxPyRaiseNotImplemented(); } 
 927 class wxMetaFileDC 
: public wxClientDC 
{ 
 929     wxMetaFileDC(const wxString
&, int, int, const wxString
&) 
 930         { wxPyRaiseNotImplemented(); } 
 935 class  wxPrinterDC 
: public wxClientDC 
{ 
 937     wxPrinterDC(const wxPrintData
&) 
 938         { wxPyRaiseNotImplemented(); } 
 940 //     wxPrinterDC(const wxString&, const wxString&, const wxString&, bool, int) 
 941 //         { wxPyRaiseNotImplemented(); } 
 946 void wxColourDatabase_Append(wxColourDatabase 
*self
,wxString 
const &name
,int red
,int green
,int blue
){ 
 947             self
->AddColour(name
, wxColour(red
, green
, blue
)); 
 950 #include <wx/effects.h> 
 955 static PyObject 
*_wrap_new_GDIObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 962     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
; 
 964         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 965         result 
= (wxGDIObject 
*)new wxGDIObject(); 
 967         wxPyEndAllowThreads(__tstate
); 
 968         if (PyErr_Occurred()) SWIG_fail
; 
 970     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1); 
 977 static PyObject 
*_wrap_delete_GDIObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 979     wxGDIObject 
*arg1 
= (wxGDIObject 
*) 0 ; 
 980     PyObject 
* obj0 
= 0 ; 
 982         (char *) "self", NULL 
 
 985     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
; 
 986     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
, 
 987     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
 989         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 992         wxPyEndAllowThreads(__tstate
); 
 993         if (PyErr_Occurred()) SWIG_fail
; 
 995     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1002 static PyObject 
*_wrap_GDIObject_GetVisible(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1003     PyObject 
*resultobj
; 
1004     wxGDIObject 
*arg1 
= (wxGDIObject 
*) 0 ; 
1006     PyObject 
* obj0 
= 0 ; 
1008         (char *) "self", NULL 
 
1011     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
; 
1012     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
, 
1013     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1015         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1016         result 
= (bool)(arg1
)->GetVisible(); 
1018         wxPyEndAllowThreads(__tstate
); 
1019         if (PyErr_Occurred()) SWIG_fail
; 
1022         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1030 static PyObject 
*_wrap_GDIObject_SetVisible(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1031     PyObject 
*resultobj
; 
1032     wxGDIObject 
*arg1 
= (wxGDIObject 
*) 0 ; 
1034     PyObject 
* obj0 
= 0 ; 
1035     PyObject 
* obj1 
= 0 ; 
1037         (char *) "self",(char *) "visible", NULL 
 
1040     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
; 
1041     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
, 
1042     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1043     arg2 
= (bool) SWIG_AsBool(obj1
);  
1044     if (PyErr_Occurred()) SWIG_fail
; 
1046         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1047         (arg1
)->SetVisible(arg2
); 
1049         wxPyEndAllowThreads(__tstate
); 
1050         if (PyErr_Occurred()) SWIG_fail
; 
1052     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1059 static PyObject 
*_wrap_GDIObject_IsNull(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1060     PyObject 
*resultobj
; 
1061     wxGDIObject 
*arg1 
= (wxGDIObject 
*) 0 ; 
1063     PyObject 
* obj0 
= 0 ; 
1065         (char *) "self", NULL 
 
1068     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
; 
1069     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
, 
1070     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1072         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1073         result 
= (bool)(arg1
)->IsNull(); 
1075         wxPyEndAllowThreads(__tstate
); 
1076         if (PyErr_Occurred()) SWIG_fail
; 
1079         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1087 static PyObject 
* GDIObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
1089     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1090     SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
); 
1092     return Py_BuildValue((char *)""); 
1094 static PyObject 
*_wrap_new_Colour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1095     PyObject 
*resultobj
; 
1096     unsigned char arg1 
= (unsigned char) 0 ; 
1097     unsigned char arg2 
= (unsigned char) 0 ; 
1098     unsigned char arg3 
= (unsigned char) 0 ; 
1100     PyObject 
* obj0 
= 0 ; 
1101     PyObject 
* obj1 
= 0 ; 
1102     PyObject 
* obj2 
= 0 ; 
1104         (char *) "red",(char *) "green",(char *) "blue", NULL 
 
1107     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
1109         arg1 
= (unsigned char) SWIG_AsUnsignedChar(obj0
);  
1110         if (PyErr_Occurred()) SWIG_fail
; 
1113         arg2 
= (unsigned char) SWIG_AsUnsignedChar(obj1
);  
1114         if (PyErr_Occurred()) SWIG_fail
; 
1117         arg3 
= (unsigned char) SWIG_AsUnsignedChar(obj2
);  
1118         if (PyErr_Occurred()) SWIG_fail
; 
1121         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1122         result 
= (wxColour 
*)new wxColour(arg1
,arg2
,arg3
); 
1124         wxPyEndAllowThreads(__tstate
); 
1125         if (PyErr_Occurred()) SWIG_fail
; 
1127     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1); 
1134 static PyObject 
*_wrap_new_NamedColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1135     PyObject 
*resultobj
; 
1136     wxString 
*arg1 
= 0 ; 
1138     bool temp1 
= False 
; 
1139     PyObject 
* obj0 
= 0 ; 
1141         (char *) "colorName", NULL 
 
1144     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
; 
1146         arg1 
= wxString_in_helper(obj0
); 
1147         if (arg1 
== NULL
) SWIG_fail
; 
1151         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1152         result 
= (wxColour 
*)new wxColour((wxString 
const &)*arg1
); 
1154         wxPyEndAllowThreads(__tstate
); 
1155         if (PyErr_Occurred()) SWIG_fail
; 
1157     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1); 
1172 static PyObject 
*_wrap_new_ColourRGB(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1173     PyObject 
*resultobj
; 
1174     unsigned long arg1 
; 
1176     PyObject 
* obj0 
= 0 ; 
1178         (char *) "colRGB", NULL 
 
1181     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
; 
1182     arg1 
= (unsigned long) SWIG_AsUnsignedLong(obj0
);  
1183     if (PyErr_Occurred()) SWIG_fail
; 
1185         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1186         result 
= (wxColour 
*)new wxColour(arg1
); 
1188         wxPyEndAllowThreads(__tstate
); 
1189         if (PyErr_Occurred()) SWIG_fail
; 
1191     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1); 
1198 static PyObject 
*_wrap_delete_Colour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1199     PyObject 
*resultobj
; 
1200     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1201     PyObject 
* obj0 
= 0 ; 
1203         (char *) "self", NULL 
 
1206     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
; 
1207     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1208     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1210         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1213         wxPyEndAllowThreads(__tstate
); 
1214         if (PyErr_Occurred()) SWIG_fail
; 
1216     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1223 static PyObject 
*_wrap_Colour_Red(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1224     PyObject 
*resultobj
; 
1225     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1226     unsigned char result
; 
1227     PyObject 
* obj0 
= 0 ; 
1229         (char *) "self", NULL 
 
1232     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
; 
1233     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1234     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1236         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1237         result 
= (unsigned char)(arg1
)->Red(); 
1239         wxPyEndAllowThreads(__tstate
); 
1240         if (PyErr_Occurred()) SWIG_fail
; 
1242     resultobj 
= SWIG_FromUnsignedChar((unsigned char)result
); 
1249 static PyObject 
*_wrap_Colour_Green(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1250     PyObject 
*resultobj
; 
1251     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1252     unsigned char result
; 
1253     PyObject 
* obj0 
= 0 ; 
1255         (char *) "self", NULL 
 
1258     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
; 
1259     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1260     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1262         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1263         result 
= (unsigned char)(arg1
)->Green(); 
1265         wxPyEndAllowThreads(__tstate
); 
1266         if (PyErr_Occurred()) SWIG_fail
; 
1268     resultobj 
= SWIG_FromUnsignedChar((unsigned char)result
); 
1275 static PyObject 
*_wrap_Colour_Blue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1276     PyObject 
*resultobj
; 
1277     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1278     unsigned char result
; 
1279     PyObject 
* obj0 
= 0 ; 
1281         (char *) "self", NULL 
 
1284     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
; 
1285     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1286     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1288         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1289         result 
= (unsigned char)(arg1
)->Blue(); 
1291         wxPyEndAllowThreads(__tstate
); 
1292         if (PyErr_Occurred()) SWIG_fail
; 
1294     resultobj 
= SWIG_FromUnsignedChar((unsigned char)result
); 
1301 static PyObject 
*_wrap_Colour_Ok(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1302     PyObject 
*resultobj
; 
1303     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1305     PyObject 
* obj0 
= 0 ; 
1307         (char *) "self", NULL 
 
1310     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
; 
1311     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1312     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1314         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1315         result 
= (bool)(arg1
)->Ok(); 
1317         wxPyEndAllowThreads(__tstate
); 
1318         if (PyErr_Occurred()) SWIG_fail
; 
1321         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1329 static PyObject 
*_wrap_Colour_Set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1330     PyObject 
*resultobj
; 
1331     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1332     unsigned char arg2 
; 
1333     unsigned char arg3 
; 
1334     unsigned char arg4 
; 
1335     PyObject 
* obj0 
= 0 ; 
1336     PyObject 
* obj1 
= 0 ; 
1337     PyObject 
* obj2 
= 0 ; 
1338     PyObject 
* obj3 
= 0 ; 
1340         (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
1343     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
1344     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1345     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1346     arg2 
= (unsigned char) SWIG_AsUnsignedChar(obj1
);  
1347     if (PyErr_Occurred()) SWIG_fail
; 
1348     arg3 
= (unsigned char) SWIG_AsUnsignedChar(obj2
);  
1349     if (PyErr_Occurred()) SWIG_fail
; 
1350     arg4 
= (unsigned char) SWIG_AsUnsignedChar(obj3
);  
1351     if (PyErr_Occurred()) SWIG_fail
; 
1353         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1354         (arg1
)->Set(arg2
,arg3
,arg4
); 
1356         wxPyEndAllowThreads(__tstate
); 
1357         if (PyErr_Occurred()) SWIG_fail
; 
1359     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1366 static PyObject 
*_wrap_Colour_SetRGB(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1367     PyObject 
*resultobj
; 
1368     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1369     unsigned long arg2 
; 
1370     PyObject 
* obj0 
= 0 ; 
1371     PyObject 
* obj1 
= 0 ; 
1373         (char *) "self",(char *) "colRGB", NULL 
 
1376     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
; 
1377     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1378     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1379     arg2 
= (unsigned long) SWIG_AsUnsignedLong(obj1
);  
1380     if (PyErr_Occurred()) SWIG_fail
; 
1382         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1385         wxPyEndAllowThreads(__tstate
); 
1386         if (PyErr_Occurred()) SWIG_fail
; 
1388     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1395 static PyObject 
*_wrap_Colour_SetFromName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1396     PyObject 
*resultobj
; 
1397     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1398     wxString 
*arg2 
= 0 ; 
1399     bool temp2 
= False 
; 
1400     PyObject 
* obj0 
= 0 ; 
1401     PyObject 
* obj1 
= 0 ; 
1403         (char *) "self",(char *) "colourName", NULL 
 
1406     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
; 
1407     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1408     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1410         arg2 
= wxString_in_helper(obj1
); 
1411         if (arg2 
== NULL
) SWIG_fail
; 
1415         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1416         (arg1
)->InitFromName((wxString 
const &)*arg2
); 
1418         wxPyEndAllowThreads(__tstate
); 
1419         if (PyErr_Occurred()) SWIG_fail
; 
1421     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1436 static PyObject 
*_wrap_Colour_GetPixel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1437     PyObject 
*resultobj
; 
1438     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1440     PyObject 
* obj0 
= 0 ; 
1442         (char *) "self", NULL 
 
1445     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
; 
1446     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1447     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1449         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1450         result 
= (long)((wxColour 
const *)arg1
)->GetPixel(); 
1452         wxPyEndAllowThreads(__tstate
); 
1453         if (PyErr_Occurred()) SWIG_fail
; 
1455     resultobj 
= SWIG_FromLong((long)result
); 
1462 static PyObject 
*_wrap_Colour___eq__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1463     PyObject 
*resultobj
; 
1464     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1465     wxColour 
*arg2 
= 0 ; 
1468     PyObject 
* obj0 
= 0 ; 
1469     PyObject 
* obj1 
= 0 ; 
1471         (char *) "self",(char *) "colour", NULL 
 
1474     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
1475     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1476     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1479         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
1482         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1483         result 
= (bool)((wxColour 
const *)arg1
)->operator ==((wxColour 
const &)*arg2
); 
1485         wxPyEndAllowThreads(__tstate
); 
1486         if (PyErr_Occurred()) SWIG_fail
; 
1489         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1497 static PyObject 
*_wrap_Colour___ne__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1498     PyObject 
*resultobj
; 
1499     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1500     wxColour 
*arg2 
= 0 ; 
1503     PyObject 
* obj0 
= 0 ; 
1504     PyObject 
* obj1 
= 0 ; 
1506         (char *) "self",(char *) "colour", NULL 
 
1509     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
1510     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1511     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1514         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
1517         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1518         result 
= (bool)((wxColour 
const *)arg1
)->operator !=((wxColour 
const &)*arg2
); 
1520         wxPyEndAllowThreads(__tstate
); 
1521         if (PyErr_Occurred()) SWIG_fail
; 
1524         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1532 static PyObject 
*_wrap_Colour_Get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1533     PyObject 
*resultobj
; 
1534     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1536     PyObject 
* obj0 
= 0 ; 
1538         (char *) "self", NULL 
 
1541     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
; 
1542     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1543     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1545         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1546         result 
= (PyObject 
*)wxColour_Get(arg1
); 
1548         wxPyEndAllowThreads(__tstate
); 
1549         if (PyErr_Occurred()) SWIG_fail
; 
1558 static PyObject 
*_wrap_Colour_GetRGB(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1559     PyObject 
*resultobj
; 
1560     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
1561     unsigned long result
; 
1562     PyObject 
* obj0 
= 0 ; 
1564         (char *) "self", NULL 
 
1567     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
; 
1568     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
, 
1569     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1571         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1572         result 
= (unsigned long)wxColour_GetRGB(arg1
); 
1574         wxPyEndAllowThreads(__tstate
); 
1575         if (PyErr_Occurred()) SWIG_fail
; 
1577     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
1584 static PyObject 
* Colour_swigregister(PyObject 
*self
, PyObject 
*args
) { 
1586     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1587     SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
); 
1589     return Py_BuildValue((char *)""); 
1591 static PyObject 
*_wrap_new_Palette(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1592     PyObject 
*resultobj
; 
1594     unsigned char *arg2 
= (unsigned char *) 0 ; 
1595     unsigned char *arg3 
= (unsigned char *) 0 ; 
1596     unsigned char *arg4 
= (unsigned char *) 0 ; 
1598     PyObject 
* obj0 
= 0 ; 
1599     PyObject 
* obj1 
= 0 ; 
1600     PyObject 
* obj2 
= 0 ; 
1601     PyObject 
* obj3 
= 0 ; 
1603         (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
1606     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
1607     arg1 
= (int) SWIG_AsInt(obj0
);  
1608     if (PyErr_Occurred()) SWIG_fail
; 
1609     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
, 
1610     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1611     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
, 
1612     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1613     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
, 
1614     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1616         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1617         result 
= (wxPalette 
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
); 
1619         wxPyEndAllowThreads(__tstate
); 
1620         if (PyErr_Occurred()) SWIG_fail
; 
1622     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1); 
1629 static PyObject 
*_wrap_delete_Palette(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1630     PyObject 
*resultobj
; 
1631     wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
1632     PyObject 
* obj0 
= 0 ; 
1634         (char *) "self", NULL 
 
1637     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
; 
1638     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
, 
1639     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1641         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1644         wxPyEndAllowThreads(__tstate
); 
1645         if (PyErr_Occurred()) SWIG_fail
; 
1647     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1654 static PyObject 
*_wrap_Palette_GetPixel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1655     PyObject 
*resultobj
; 
1656     wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
1661     PyObject 
* obj0 
= 0 ; 
1662     PyObject 
* obj1 
= 0 ; 
1663     PyObject 
* obj2 
= 0 ; 
1664     PyObject 
* obj3 
= 0 ; 
1666         (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
1669     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
1670     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
, 
1671     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1672     arg2 
= (byte
) SWIG_AsUnsignedChar(obj1
);  
1673     if (PyErr_Occurred()) SWIG_fail
; 
1674     arg3 
= (byte
) SWIG_AsUnsignedChar(obj2
);  
1675     if (PyErr_Occurred()) SWIG_fail
; 
1676     arg4 
= (byte
) SWIG_AsUnsignedChar(obj3
);  
1677     if (PyErr_Occurred()) SWIG_fail
; 
1679         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1680         result 
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
); 
1682         wxPyEndAllowThreads(__tstate
); 
1683         if (PyErr_Occurred()) SWIG_fail
; 
1685     resultobj 
= SWIG_FromInt((int)result
); 
1692 static PyObject 
*_wrap_Palette_GetRGB(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1693     PyObject 
*resultobj
; 
1694     wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
1696     byte 
*arg3 
= (byte 
*) 0 ; 
1697     byte 
*arg4 
= (byte 
*) 0 ; 
1698     byte 
*arg5 
= (byte 
*) 0 ; 
1703     PyObject 
* obj0 
= 0 ; 
1704     PyObject 
* obj1 
= 0 ; 
1706         (char *) "self",(char *) "pixel", NULL 
 
1712     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
; 
1713     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
, 
1714     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1715     arg2 
= (int) SWIG_AsInt(obj1
);  
1716     if (PyErr_Occurred()) SWIG_fail
; 
1718         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1719         result 
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
); 
1721         wxPyEndAllowThreads(__tstate
); 
1722         if (PyErr_Occurred()) SWIG_fail
; 
1725         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1728         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
1729         resultobj 
= t_output_helper(resultobj
,o
); 
1732         PyObject 
*o 
= PyInt_FromLong((long) (*arg4
)); 
1733         resultobj 
= t_output_helper(resultobj
,o
); 
1736         PyObject 
*o 
= PyInt_FromLong((long) (*arg5
)); 
1737         resultobj 
= t_output_helper(resultobj
,o
); 
1745 static PyObject 
*_wrap_Palette_Ok(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1746     PyObject 
*resultobj
; 
1747     wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
1749     PyObject 
* obj0 
= 0 ; 
1751         (char *) "self", NULL 
 
1754     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
; 
1755     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
, 
1756     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1758         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1759         result 
= (bool)(arg1
)->Ok(); 
1761         wxPyEndAllowThreads(__tstate
); 
1762         if (PyErr_Occurred()) SWIG_fail
; 
1765         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1773 static PyObject 
* Palette_swigregister(PyObject 
*self
, PyObject 
*args
) { 
1775     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1776     SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
); 
1778     return Py_BuildValue((char *)""); 
1780 static PyObject 
*_wrap_new_Pen(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1781     PyObject 
*resultobj
; 
1782     wxColour 
*arg1 
= 0 ; 
1783     int arg2 
= (int) 1 ; 
1784     int arg3 
= (int) wxSOLID 
; 
1787     PyObject 
* obj0 
= 0 ; 
1788     PyObject 
* obj1 
= 0 ; 
1789     PyObject 
* obj2 
= 0 ; 
1791         (char *) "colour",(char *) "width",(char *) "style", NULL 
 
1794     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
1797         if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
; 
1800         arg2 
= (int) SWIG_AsInt(obj1
);  
1801         if (PyErr_Occurred()) SWIG_fail
; 
1804         arg3 
= (int) SWIG_AsInt(obj2
);  
1805         if (PyErr_Occurred()) SWIG_fail
; 
1808         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1809         result 
= (wxPen 
*)new wxPen(*arg1
,arg2
,arg3
); 
1811         wxPyEndAllowThreads(__tstate
); 
1812         if (PyErr_Occurred()) SWIG_fail
; 
1814     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1); 
1821 static PyObject 
*_wrap_delete_Pen(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1822     PyObject 
*resultobj
; 
1823     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
1824     PyObject 
* obj0 
= 0 ; 
1826         (char *) "self", NULL 
 
1829     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
; 
1830     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
1831     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1833         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1836         wxPyEndAllowThreads(__tstate
); 
1837         if (PyErr_Occurred()) SWIG_fail
; 
1839     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1846 static PyObject 
*_wrap_Pen_GetCap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1847     PyObject 
*resultobj
; 
1848     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
1850     PyObject 
* obj0 
= 0 ; 
1852         (char *) "self", NULL 
 
1855     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
; 
1856     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
1857     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1859         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1860         result 
= (int)(arg1
)->GetCap(); 
1862         wxPyEndAllowThreads(__tstate
); 
1863         if (PyErr_Occurred()) SWIG_fail
; 
1865     resultobj 
= SWIG_FromInt((int)result
); 
1872 static PyObject 
*_wrap_Pen_GetColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1873     PyObject 
*resultobj
; 
1874     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
1876     PyObject 
* obj0 
= 0 ; 
1878         (char *) "self", NULL 
 
1881     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
; 
1882     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
1883     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1885         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1886         result 
= (arg1
)->GetColour(); 
1888         wxPyEndAllowThreads(__tstate
); 
1889         if (PyErr_Occurred()) SWIG_fail
; 
1892         wxColour 
* resultptr
; 
1893         resultptr 
= new wxColour((wxColour 
&) result
); 
1894         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
1902 static PyObject 
*_wrap_Pen_GetJoin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1903     PyObject 
*resultobj
; 
1904     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
1906     PyObject 
* obj0 
= 0 ; 
1908         (char *) "self", NULL 
 
1911     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
; 
1912     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
1913     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1915         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1916         result 
= (int)(arg1
)->GetJoin(); 
1918         wxPyEndAllowThreads(__tstate
); 
1919         if (PyErr_Occurred()) SWIG_fail
; 
1921     resultobj 
= SWIG_FromInt((int)result
); 
1928 static PyObject 
*_wrap_Pen_GetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1929     PyObject 
*resultobj
; 
1930     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
1932     PyObject 
* obj0 
= 0 ; 
1934         (char *) "self", NULL 
 
1937     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
; 
1938     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
1939     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1941         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1942         result 
= (int)(arg1
)->GetStyle(); 
1944         wxPyEndAllowThreads(__tstate
); 
1945         if (PyErr_Occurred()) SWIG_fail
; 
1947     resultobj 
= SWIG_FromInt((int)result
); 
1954 static PyObject 
*_wrap_Pen_GetWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1955     PyObject 
*resultobj
; 
1956     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
1958     PyObject 
* obj0 
= 0 ; 
1960         (char *) "self", NULL 
 
1963     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
; 
1964     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
1965     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1967         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1968         result 
= (int)(arg1
)->GetWidth(); 
1970         wxPyEndAllowThreads(__tstate
); 
1971         if (PyErr_Occurred()) SWIG_fail
; 
1973     resultobj 
= SWIG_FromInt((int)result
); 
1980 static PyObject 
*_wrap_Pen_Ok(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1981     PyObject 
*resultobj
; 
1982     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
1984     PyObject 
* obj0 
= 0 ; 
1986         (char *) "self", NULL 
 
1989     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
; 
1990     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
1991     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1993         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1994         result 
= (bool)(arg1
)->Ok(); 
1996         wxPyEndAllowThreads(__tstate
); 
1997         if (PyErr_Occurred()) SWIG_fail
; 
2000         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2008 static PyObject 
*_wrap_Pen_SetCap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2009     PyObject 
*resultobj
; 
2010     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2012     PyObject 
* obj0 
= 0 ; 
2013     PyObject 
* obj1 
= 0 ; 
2015         (char *) "self",(char *) "cap_style", NULL 
 
2018     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
; 
2019     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2020     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2021     arg2 
= (int) SWIG_AsInt(obj1
);  
2022     if (PyErr_Occurred()) SWIG_fail
; 
2024         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2025         (arg1
)->SetCap(arg2
); 
2027         wxPyEndAllowThreads(__tstate
); 
2028         if (PyErr_Occurred()) SWIG_fail
; 
2030     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2037 static PyObject 
*_wrap_Pen_SetColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2038     PyObject 
*resultobj
; 
2039     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2040     wxColour 
*arg2 
= 0 ; 
2042     PyObject 
* obj0 
= 0 ; 
2043     PyObject 
* obj1 
= 0 ; 
2045         (char *) "self",(char *) "colour", NULL 
 
2048     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
2049     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2050     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2053         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
2056         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2057         (arg1
)->SetColour(*arg2
); 
2059         wxPyEndAllowThreads(__tstate
); 
2060         if (PyErr_Occurred()) SWIG_fail
; 
2062     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2069 static PyObject 
*_wrap_Pen_SetJoin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2070     PyObject 
*resultobj
; 
2071     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2073     PyObject 
* obj0 
= 0 ; 
2074     PyObject 
* obj1 
= 0 ; 
2076         (char *) "self",(char *) "join_style", NULL 
 
2079     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
; 
2080     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2081     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2082     arg2 
= (int) SWIG_AsInt(obj1
);  
2083     if (PyErr_Occurred()) SWIG_fail
; 
2085         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2086         (arg1
)->SetJoin(arg2
); 
2088         wxPyEndAllowThreads(__tstate
); 
2089         if (PyErr_Occurred()) SWIG_fail
; 
2091     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2098 static PyObject 
*_wrap_Pen_SetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2099     PyObject 
*resultobj
; 
2100     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2102     PyObject 
* obj0 
= 0 ; 
2103     PyObject 
* obj1 
= 0 ; 
2105         (char *) "self",(char *) "style", NULL 
 
2108     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
2109     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2110     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2111     arg2 
= (int) SWIG_AsInt(obj1
);  
2112     if (PyErr_Occurred()) SWIG_fail
; 
2114         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2115         (arg1
)->SetStyle(arg2
); 
2117         wxPyEndAllowThreads(__tstate
); 
2118         if (PyErr_Occurred()) SWIG_fail
; 
2120     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2127 static PyObject 
*_wrap_Pen_SetWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2128     PyObject 
*resultobj
; 
2129     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2131     PyObject 
* obj0 
= 0 ; 
2132     PyObject 
* obj1 
= 0 ; 
2134         (char *) "self",(char *) "width", NULL 
 
2137     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
2138     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2139     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2140     arg2 
= (int) SWIG_AsInt(obj1
);  
2141     if (PyErr_Occurred()) SWIG_fail
; 
2143         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2144         (arg1
)->SetWidth(arg2
); 
2146         wxPyEndAllowThreads(__tstate
); 
2147         if (PyErr_Occurred()) SWIG_fail
; 
2149     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2156 static PyObject 
*_wrap_Pen_SetDashes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2157     PyObject 
*resultobj
; 
2158     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2160     wxDash 
*arg3 
= (wxDash 
*) 0 ; 
2161     PyObject 
* obj0 
= 0 ; 
2162     PyObject 
* obj1 
= 0 ; 
2164         (char *) "self",(char *) "dashes", NULL 
 
2167     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
; 
2168     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2169     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2171         arg2 
= PyList_Size(obj1
); 
2172         arg3 
= (wxDash
*)byte_LIST_helper(obj1
); 
2173         if (arg3 
== NULL
) SWIG_fail
; 
2176         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2177         (arg1
)->SetDashes(arg2
,arg3
); 
2179         wxPyEndAllowThreads(__tstate
); 
2180         if (PyErr_Occurred()) SWIG_fail
; 
2182     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2184         if (arg3
) delete [] arg3
; 
2189         if (arg3
) delete [] arg3
; 
2195 static PyObject 
*_wrap_Pen_GetDashes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2196     PyObject 
*resultobj
; 
2197     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2199     PyObject 
* obj0 
= 0 ; 
2201         (char *) "self", NULL 
 
2204     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
; 
2205     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2206     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2208         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2209         result 
= (PyObject 
*)wxPen_GetDashes(arg1
); 
2211         wxPyEndAllowThreads(__tstate
); 
2212         if (PyErr_Occurred()) SWIG_fail
; 
2221 static PyObject 
*_wrap_Pen___eq__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2222     PyObject 
*resultobj
; 
2223     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2224     wxPen 
*arg2 
= (wxPen 
*) 0 ; 
2226     PyObject 
* obj0 
= 0 ; 
2227     PyObject 
* obj1 
= 0 ; 
2229         (char *) "self",(char *) "other", NULL 
 
2232     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
2233     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2234     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2235     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
, 
2236     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2238         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2239         result 
= (bool)wxPen___eq__(arg1
,(wxPen 
const *)arg2
); 
2241         wxPyEndAllowThreads(__tstate
); 
2242         if (PyErr_Occurred()) SWIG_fail
; 
2245         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2253 static PyObject 
*_wrap_Pen___ne__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2254     PyObject 
*resultobj
; 
2255     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2256     wxPen 
*arg2 
= (wxPen 
*) 0 ; 
2258     PyObject 
* obj0 
= 0 ; 
2259     PyObject 
* obj1 
= 0 ; 
2261         (char *) "self",(char *) "other", NULL 
 
2264     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
2265     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2266     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2267     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
, 
2268     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2270         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2271         result 
= (bool)wxPen___ne__(arg1
,(wxPen 
const *)arg2
); 
2273         wxPyEndAllowThreads(__tstate
); 
2274         if (PyErr_Occurred()) SWIG_fail
; 
2277         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2285 static PyObject 
*_wrap_Pen_GetDashCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2286     PyObject 
*resultobj
; 
2287     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
2289     PyObject 
* obj0 
= 0 ; 
2291         (char *) "self", NULL 
 
2294     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
; 
2295     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
, 
2296     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2298         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2299         result 
= (int)((wxPen 
const *)arg1
)->GetDashCount(); 
2301         wxPyEndAllowThreads(__tstate
); 
2302         if (PyErr_Occurred()) SWIG_fail
; 
2304     resultobj 
= SWIG_FromInt((int)result
); 
2311 static PyObject 
* Pen_swigregister(PyObject 
*self
, PyObject 
*args
) { 
2313     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2314     SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
); 
2316     return Py_BuildValue((char *)""); 
2318 static PyObject 
*_wrap_new_PyPen(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2319     PyObject 
*resultobj
; 
2320     wxColour 
*arg1 
= 0 ; 
2321     int arg2 
= (int) 1 ; 
2322     int arg3 
= (int) wxSOLID 
; 
2325     PyObject 
* obj0 
= 0 ; 
2326     PyObject 
* obj1 
= 0 ; 
2327     PyObject 
* obj2 
= 0 ; 
2329         (char *) "colour",(char *) "width",(char *) "style", NULL 
 
2332     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_PyPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2335         if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
; 
2338         arg2 
= (int) SWIG_AsInt(obj1
);  
2339         if (PyErr_Occurred()) SWIG_fail
; 
2342         arg3 
= (int) SWIG_AsInt(obj2
);  
2343         if (PyErr_Occurred()) SWIG_fail
; 
2346         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2347         result 
= (wxPyPen 
*)new wxPyPen(*arg1
,arg2
,arg3
); 
2349         wxPyEndAllowThreads(__tstate
); 
2350         if (PyErr_Occurred()) SWIG_fail
; 
2352     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPen
, 1); 
2359 static PyObject 
*_wrap_delete_PyPen(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2360     PyObject 
*resultobj
; 
2361     wxPyPen 
*arg1 
= (wxPyPen 
*) 0 ; 
2362     PyObject 
* obj0 
= 0 ; 
2364         (char *) "self", NULL 
 
2367     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
; 
2368     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
, 
2369     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2371         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2374         wxPyEndAllowThreads(__tstate
); 
2375         if (PyErr_Occurred()) SWIG_fail
; 
2377     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2384 static PyObject 
*_wrap_PyPen_SetDashes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2385     PyObject 
*resultobj
; 
2386     wxPyPen 
*arg1 
= (wxPyPen 
*) 0 ; 
2388     wxDash 
*arg3 
= (wxDash 
*) 0 ; 
2389     PyObject 
* obj0 
= 0 ; 
2390     PyObject 
* obj1 
= 0 ; 
2392         (char *) "self",(char *) "dashes", NULL 
 
2395     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
; 
2396     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
, 
2397     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2399         arg2 
= PyList_Size(obj1
); 
2400         arg3 
= (wxDash
*)byte_LIST_helper(obj1
); 
2401         if (arg3 
== NULL
) SWIG_fail
; 
2404         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2405         (arg1
)->SetDashes(arg2
,arg3
); 
2407         wxPyEndAllowThreads(__tstate
); 
2408         if (PyErr_Occurred()) SWIG_fail
; 
2410     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2412         if (arg3
) delete [] arg3
; 
2417         if (arg3
) delete [] arg3
; 
2423 static PyObject 
* PyPen_swigregister(PyObject 
*self
, PyObject 
*args
) { 
2425     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2426     SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
); 
2428     return Py_BuildValue((char *)""); 
2430 static PyObject 
*_wrap_new_Brush(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2431     PyObject 
*resultobj
; 
2432     wxColour 
*arg1 
= 0 ; 
2433     int arg2 
= (int) wxSOLID 
; 
2436     PyObject 
* obj0 
= 0 ; 
2437     PyObject 
* obj1 
= 0 ; 
2439         (char *) "colour",(char *) "style", NULL 
 
2442     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
; 
2445         if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
; 
2448         arg2 
= (int) SWIG_AsInt(obj1
);  
2449         if (PyErr_Occurred()) SWIG_fail
; 
2452         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2453         result 
= (wxBrush 
*)new wxBrush((wxColour 
const &)*arg1
,arg2
); 
2455         wxPyEndAllowThreads(__tstate
); 
2456         if (PyErr_Occurred()) SWIG_fail
; 
2458     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1); 
2465 static PyObject 
*_wrap_delete_Brush(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2466     PyObject 
*resultobj
; 
2467     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
2468     PyObject 
* obj0 
= 0 ; 
2470         (char *) "self", NULL 
 
2473     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
; 
2474     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
, 
2475     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2477         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2480         wxPyEndAllowThreads(__tstate
); 
2481         if (PyErr_Occurred()) SWIG_fail
; 
2483     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2490 static PyObject 
*_wrap_Brush_SetColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2491     PyObject 
*resultobj
; 
2492     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
2493     wxColour 
*arg2 
= 0 ; 
2495     PyObject 
* obj0 
= 0 ; 
2496     PyObject 
* obj1 
= 0 ; 
2498         (char *) "self",(char *) "col", NULL 
 
2501     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
2502     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
, 
2503     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2506         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
2509         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2510         (arg1
)->SetColour((wxColour 
const &)*arg2
); 
2512         wxPyEndAllowThreads(__tstate
); 
2513         if (PyErr_Occurred()) SWIG_fail
; 
2515     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2522 static PyObject 
*_wrap_Brush_SetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2523     PyObject 
*resultobj
; 
2524     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
2526     PyObject 
* obj0 
= 0 ; 
2527     PyObject 
* obj1 
= 0 ; 
2529         (char *) "self",(char *) "style", NULL 
 
2532     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
2533     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
, 
2534     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2535     arg2 
= (int) SWIG_AsInt(obj1
);  
2536     if (PyErr_Occurred()) SWIG_fail
; 
2538         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2539         (arg1
)->SetStyle(arg2
); 
2541         wxPyEndAllowThreads(__tstate
); 
2542         if (PyErr_Occurred()) SWIG_fail
; 
2544     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2551 static PyObject 
*_wrap_Brush_SetStipple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2552     PyObject 
*resultobj
; 
2553     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
2554     wxBitmap 
*arg2 
= 0 ; 
2555     PyObject 
* obj0 
= 0 ; 
2556     PyObject 
* obj1 
= 0 ; 
2558         (char *) "self",(char *) "stipple", NULL 
 
2561     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
; 
2562     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
, 
2563     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2564     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
2565     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
2568         PyErr_SetString(PyExc_TypeError
,"null reference"); 
2572         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2573         (arg1
)->SetStipple((wxBitmap 
const &)*arg2
); 
2575         wxPyEndAllowThreads(__tstate
); 
2576         if (PyErr_Occurred()) SWIG_fail
; 
2578     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2585 static PyObject 
*_wrap_Brush_GetColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2586     PyObject 
*resultobj
; 
2587     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
2589     PyObject 
* obj0 
= 0 ; 
2591         (char *) "self", NULL 
 
2594     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
; 
2595     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
, 
2596     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2598         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2599         result 
= ((wxBrush 
const *)arg1
)->GetColour(); 
2601         wxPyEndAllowThreads(__tstate
); 
2602         if (PyErr_Occurred()) SWIG_fail
; 
2605         wxColour 
* resultptr
; 
2606         resultptr 
= new wxColour((wxColour 
&) result
); 
2607         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
2615 static PyObject 
*_wrap_Brush_GetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2616     PyObject 
*resultobj
; 
2617     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
2619     PyObject 
* obj0 
= 0 ; 
2621         (char *) "self", NULL 
 
2624     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
; 
2625     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
, 
2626     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2628         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2629         result 
= (int)((wxBrush 
const *)arg1
)->GetStyle(); 
2631         wxPyEndAllowThreads(__tstate
); 
2632         if (PyErr_Occurred()) SWIG_fail
; 
2634     resultobj 
= SWIG_FromInt((int)result
); 
2641 static PyObject 
*_wrap_Brush_GetStipple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2642     PyObject 
*resultobj
; 
2643     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
2645     PyObject 
* obj0 
= 0 ; 
2647         (char *) "self", NULL 
 
2650     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
; 
2651     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
, 
2652     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2654         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2655         result 
= (wxBitmap 
*)((wxBrush 
const *)arg1
)->GetStipple(); 
2657         wxPyEndAllowThreads(__tstate
); 
2658         if (PyErr_Occurred()) SWIG_fail
; 
2660     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0); 
2667 static PyObject 
*_wrap_Brush_Ok(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2668     PyObject 
*resultobj
; 
2669     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
2671     PyObject 
* obj0 
= 0 ; 
2673         (char *) "self", NULL 
 
2676     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
; 
2677     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
, 
2678     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2680         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2681         result 
= (bool)(arg1
)->Ok(); 
2683         wxPyEndAllowThreads(__tstate
); 
2684         if (PyErr_Occurred()) SWIG_fail
; 
2687         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2695 static PyObject 
* Brush_swigregister(PyObject 
*self
, PyObject 
*args
) { 
2697     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2698     SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
); 
2700     return Py_BuildValue((char *)""); 
2702 static PyObject 
*_wrap_new_Bitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2703     PyObject 
*resultobj
; 
2704     wxString 
*arg1 
= 0 ; 
2705     int arg2 
= (int) wxBITMAP_TYPE_ANY 
; 
2707     bool temp1 
= False 
; 
2708     PyObject 
* obj0 
= 0 ; 
2709     PyObject 
* obj1 
= 0 ; 
2711         (char *) "name",(char *) "type", NULL 
 
2714     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
2716         arg1 
= wxString_in_helper(obj0
); 
2717         if (arg1 
== NULL
) SWIG_fail
; 
2721         arg2 
= (wxBitmapType
) SWIG_AsInt(obj1
);  
2722         if (PyErr_Occurred()) SWIG_fail
; 
2725         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2726         result 
= (wxBitmap 
*)new wxBitmap((wxString 
const &)*arg1
,(wxBitmapType 
)arg2
); 
2728         wxPyEndAllowThreads(__tstate
); 
2729         if (PyErr_Occurred()) SWIG_fail
; 
2731     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
2746 static PyObject 
*_wrap_delete_Bitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2747     PyObject 
*resultobj
; 
2748     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
2749     PyObject 
* obj0 
= 0 ; 
2751         (char *) "self", NULL 
 
2754     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
; 
2755     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
2756     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2758         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2761         wxPyEndAllowThreads(__tstate
); 
2762         if (PyErr_Occurred()) SWIG_fail
; 
2764     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2771 static PyObject 
*_wrap_new_EmptyBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2772     PyObject 
*resultobj
; 
2775     int arg3 
= (int) -1 ; 
2777     PyObject 
* obj0 
= 0 ; 
2778     PyObject 
* obj1 
= 0 ; 
2779     PyObject 
* obj2 
= 0 ; 
2781         (char *) "width",(char *) "height",(char *) "depth", NULL 
 
2784     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2785     arg1 
= (int) SWIG_AsInt(obj0
);  
2786     if (PyErr_Occurred()) SWIG_fail
; 
2787     arg2 
= (int) SWIG_AsInt(obj1
);  
2788     if (PyErr_Occurred()) SWIG_fail
; 
2790         arg3 
= (int) SWIG_AsInt(obj2
);  
2791         if (PyErr_Occurred()) SWIG_fail
; 
2794         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2795         result 
= (wxBitmap 
*)new wxBitmap(arg1
,arg2
,arg3
); 
2797         wxPyEndAllowThreads(__tstate
); 
2798         if (PyErr_Occurred()) SWIG_fail
; 
2800     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
2807 static PyObject 
*_wrap_new_BitmapFromIcon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2808     PyObject 
*resultobj
; 
2811     PyObject 
* obj0 
= 0 ; 
2813         (char *) "icon", NULL 
 
2816     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
; 
2817     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
2818     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
2821         PyErr_SetString(PyExc_TypeError
,"null reference"); 
2825         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2826         result 
= (wxBitmap 
*)new wxBitmap((wxIcon 
const &)*arg1
); 
2828         wxPyEndAllowThreads(__tstate
); 
2829         if (PyErr_Occurred()) SWIG_fail
; 
2831     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
2838 static PyObject 
*_wrap_new_BitmapFromImage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2839     PyObject 
*resultobj
; 
2841     int arg2 
= (int) -1 ; 
2843     PyObject 
* obj0 
= 0 ; 
2844     PyObject 
* obj1 
= 0 ; 
2846         (char *) "image",(char *) "depth", NULL 
 
2849     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
; 
2850     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
, 
2851     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
2854         PyErr_SetString(PyExc_TypeError
,"null reference"); 
2858         arg2 
= (int) SWIG_AsInt(obj1
);  
2859         if (PyErr_Occurred()) SWIG_fail
; 
2862         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2863         result 
= (wxBitmap 
*)new wxBitmap((wxImage 
const &)*arg1
,arg2
); 
2865         wxPyEndAllowThreads(__tstate
); 
2866         if (PyErr_Occurred()) SWIG_fail
; 
2868     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
2875 static PyObject 
*_wrap_new_BitmapFromXPMData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2876     PyObject 
*resultobj
; 
2877     PyObject 
*arg1 
= (PyObject 
*) 0 ; 
2879     PyObject 
* obj0 
= 0 ; 
2881         (char *) "listOfStrings", NULL 
 
2884     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
; 
2887         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2888         result 
= (wxBitmap 
*)new_wxBitmap(arg1
); 
2890         wxPyEndAllowThreads(__tstate
); 
2891         if (PyErr_Occurred()) SWIG_fail
; 
2893     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
2900 static PyObject 
*_wrap_new_BitmapFromBits(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2901     PyObject 
*resultobj
; 
2902     PyObject 
*arg1 
= (PyObject 
*) 0 ; 
2905     int arg4 
= (int) 1 ; 
2907     PyObject 
* obj0 
= 0 ; 
2908     PyObject 
* obj1 
= 0 ; 
2909     PyObject 
* obj2 
= 0 ; 
2910     PyObject 
* obj3 
= 0 ; 
2912         (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL 
 
2915     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
2917     arg2 
= (int) SWIG_AsInt(obj1
);  
2918     if (PyErr_Occurred()) SWIG_fail
; 
2919     arg3 
= (int) SWIG_AsInt(obj2
);  
2920     if (PyErr_Occurred()) SWIG_fail
; 
2922         arg4 
= (int) SWIG_AsInt(obj3
);  
2923         if (PyErr_Occurred()) SWIG_fail
; 
2926         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2927         result 
= (wxBitmap 
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
); 
2929         wxPyEndAllowThreads(__tstate
); 
2930         if (PyErr_Occurred()) SWIG_fail
; 
2932     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
2939 static PyObject 
*_wrap_Bitmap_Ok(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2940     PyObject 
*resultobj
; 
2941     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
2943     PyObject 
* obj0 
= 0 ; 
2945         (char *) "self", NULL 
 
2948     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
; 
2949     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
2950     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2952         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2953         result 
= (bool)(arg1
)->Ok(); 
2955         wxPyEndAllowThreads(__tstate
); 
2956         if (PyErr_Occurred()) SWIG_fail
; 
2959         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2967 static PyObject 
*_wrap_Bitmap_GetWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2968     PyObject 
*resultobj
; 
2969     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
2971     PyObject 
* obj0 
= 0 ; 
2973         (char *) "self", NULL 
 
2976     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
; 
2977     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
2978     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2980         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2981         result 
= (int)(arg1
)->GetWidth(); 
2983         wxPyEndAllowThreads(__tstate
); 
2984         if (PyErr_Occurred()) SWIG_fail
; 
2986     resultobj 
= SWIG_FromInt((int)result
); 
2993 static PyObject 
*_wrap_Bitmap_GetHeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2994     PyObject 
*resultobj
; 
2995     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
2997     PyObject 
* obj0 
= 0 ; 
2999         (char *) "self", NULL 
 
3002     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
; 
3003     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3004     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3006         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3007         result 
= (int)(arg1
)->GetHeight(); 
3009         wxPyEndAllowThreads(__tstate
); 
3010         if (PyErr_Occurred()) SWIG_fail
; 
3012     resultobj 
= SWIG_FromInt((int)result
); 
3019 static PyObject 
*_wrap_Bitmap_GetDepth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3020     PyObject 
*resultobj
; 
3021     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3023     PyObject 
* obj0 
= 0 ; 
3025         (char *) "self", NULL 
 
3028     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
; 
3029     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3030     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3032         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3033         result 
= (int)(arg1
)->GetDepth(); 
3035         wxPyEndAllowThreads(__tstate
); 
3036         if (PyErr_Occurred()) SWIG_fail
; 
3038     resultobj 
= SWIG_FromInt((int)result
); 
3045 static PyObject 
*_wrap_Bitmap_ConvertToImage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3046     PyObject 
*resultobj
; 
3047     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3048     SwigValueWrapper
< wxImage 
> result
; 
3049     PyObject 
* obj0 
= 0 ; 
3051         (char *) "self", NULL 
 
3054     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",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 
= ((wxBitmap 
const *)arg1
)->ConvertToImage(); 
3061         wxPyEndAllowThreads(__tstate
); 
3062         if (PyErr_Occurred()) SWIG_fail
; 
3065         wxImage 
* resultptr
; 
3066         resultptr 
= new wxImage((wxImage 
&) result
); 
3067         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1); 
3075 static PyObject 
*_wrap_Bitmap_GetMask(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3076     PyObject 
*resultobj
; 
3077     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3079     PyObject 
* obj0 
= 0 ; 
3081         (char *) "self", NULL 
 
3084     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
; 
3085     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3086     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3088         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3089         result 
= (wxMask 
*)((wxBitmap 
const *)arg1
)->GetMask(); 
3091         wxPyEndAllowThreads(__tstate
); 
3092         if (PyErr_Occurred()) SWIG_fail
; 
3094     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0); 
3101 static PyObject 
*_wrap_Bitmap_SetMask(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3102     PyObject 
*resultobj
; 
3103     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3104     wxMask 
*arg2 
= (wxMask 
*) 0 ; 
3105     PyObject 
* obj0 
= 0 ; 
3106     PyObject 
* obj1 
= 0 ; 
3108         (char *) "self",(char *) "mask", NULL 
 
3111     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
; 
3112     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3113     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3114     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
, 
3115     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3117         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3118         (arg1
)->SetMask(arg2
); 
3120         wxPyEndAllowThreads(__tstate
); 
3121         if (PyErr_Occurred()) SWIG_fail
; 
3123     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3130 static PyObject 
*_wrap_Bitmap_SetMaskColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3131     PyObject 
*resultobj
; 
3132     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3133     wxColour 
*arg2 
= 0 ; 
3135     PyObject 
* obj0 
= 0 ; 
3136     PyObject 
* obj1 
= 0 ; 
3138         (char *) "self",(char *) "colour", NULL 
 
3141     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
3142     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3143     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3146         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3149         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3150         wxBitmap_SetMaskColour(arg1
,(wxColour 
const &)*arg2
); 
3152         wxPyEndAllowThreads(__tstate
); 
3153         if (PyErr_Occurred()) SWIG_fail
; 
3155     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3162 static PyObject 
*_wrap_Bitmap_GetSubBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3163     PyObject 
*resultobj
; 
3164     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3166     SwigValueWrapper
< wxBitmap 
> result
; 
3168     PyObject 
* obj0 
= 0 ; 
3169     PyObject 
* obj1 
= 0 ; 
3171         (char *) "self",(char *) "rect", NULL 
 
3174     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
3175     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3176     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3179         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
3182         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3183         result 
= ((wxBitmap 
const *)arg1
)->GetSubBitmap((wxRect 
const &)*arg2
); 
3185         wxPyEndAllowThreads(__tstate
); 
3186         if (PyErr_Occurred()) SWIG_fail
; 
3189         wxBitmap 
* resultptr
; 
3190         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
3191         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
3199 static PyObject 
*_wrap_Bitmap_SaveFile(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3200     PyObject 
*resultobj
; 
3201     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3202     wxString 
*arg2 
= 0 ; 
3204     wxPalette 
*arg4 
= (wxPalette 
*) (wxPalette 
*) NULL 
; 
3206     bool temp2 
= False 
; 
3207     PyObject 
* obj0 
= 0 ; 
3208     PyObject 
* obj1 
= 0 ; 
3209     PyObject 
* obj2 
= 0 ; 
3210     PyObject 
* obj3 
= 0 ; 
3212         (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL 
 
3215     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
3216     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3217     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3219         arg2 
= wxString_in_helper(obj1
); 
3220         if (arg2 
== NULL
) SWIG_fail
; 
3223     arg3 
= (wxBitmapType
) SWIG_AsInt(obj2
);  
3224     if (PyErr_Occurred()) SWIG_fail
; 
3226         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
, 
3227         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3230         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3231         result 
= (bool)(arg1
)->SaveFile((wxString 
const &)*arg2
,(wxBitmapType 
)arg3
,arg4
); 
3233         wxPyEndAllowThreads(__tstate
); 
3234         if (PyErr_Occurred()) SWIG_fail
; 
3237         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3253 static PyObject 
*_wrap_Bitmap_LoadFile(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3254     PyObject 
*resultobj
; 
3255     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3256     wxString 
*arg2 
= 0 ; 
3259     bool temp2 
= False 
; 
3260     PyObject 
* obj0 
= 0 ; 
3261     PyObject 
* obj1 
= 0 ; 
3262     PyObject 
* obj2 
= 0 ; 
3264         (char *) "self",(char *) "name",(char *) "type", NULL 
 
3267     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3268     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3269     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3271         arg2 
= wxString_in_helper(obj1
); 
3272         if (arg2 
== NULL
) SWIG_fail
; 
3275     arg3 
= (wxBitmapType
) SWIG_AsInt(obj2
);  
3276     if (PyErr_Occurred()) SWIG_fail
; 
3278         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3279         result 
= (bool)(arg1
)->LoadFile((wxString 
const &)*arg2
,(wxBitmapType 
)arg3
); 
3281         wxPyEndAllowThreads(__tstate
); 
3282         if (PyErr_Occurred()) SWIG_fail
; 
3285         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3301 static PyObject 
*_wrap_Bitmap_CopyFromIcon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3302     PyObject 
*resultobj
; 
3303     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3306     PyObject 
* obj0 
= 0 ; 
3307     PyObject 
* obj1 
= 0 ; 
3309         (char *) "self",(char *) "icon", NULL 
 
3312     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
3313     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3314     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3315     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
, 
3316     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3319         PyErr_SetString(PyExc_TypeError
,"null reference"); 
3323         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3324         result 
= (bool)(arg1
)->CopyFromIcon((wxIcon 
const &)*arg2
); 
3326         wxPyEndAllowThreads(__tstate
); 
3327         if (PyErr_Occurred()) SWIG_fail
; 
3330         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3338 static PyObject 
*_wrap_Bitmap_SetHeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3339     PyObject 
*resultobj
; 
3340     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3342     PyObject 
* obj0 
= 0 ; 
3343     PyObject 
* obj1 
= 0 ; 
3345         (char *) "self",(char *) "height", NULL 
 
3348     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
; 
3349     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3350     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3351     arg2 
= (int) SWIG_AsInt(obj1
);  
3352     if (PyErr_Occurred()) SWIG_fail
; 
3354         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3355         (arg1
)->SetHeight(arg2
); 
3357         wxPyEndAllowThreads(__tstate
); 
3358         if (PyErr_Occurred()) SWIG_fail
; 
3360     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3367 static PyObject 
*_wrap_Bitmap_SetWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3368     PyObject 
*resultobj
; 
3369     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3371     PyObject 
* obj0 
= 0 ; 
3372     PyObject 
* obj1 
= 0 ; 
3374         (char *) "self",(char *) "width", NULL 
 
3377     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
3378     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3379     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3380     arg2 
= (int) SWIG_AsInt(obj1
);  
3381     if (PyErr_Occurred()) SWIG_fail
; 
3383         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3384         (arg1
)->SetWidth(arg2
); 
3386         wxPyEndAllowThreads(__tstate
); 
3387         if (PyErr_Occurred()) SWIG_fail
; 
3389     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3396 static PyObject 
*_wrap_Bitmap_SetDepth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3397     PyObject 
*resultobj
; 
3398     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3400     PyObject 
* obj0 
= 0 ; 
3401     PyObject 
* obj1 
= 0 ; 
3403         (char *) "self",(char *) "depth", NULL 
 
3406     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
; 
3407     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3408     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3409     arg2 
= (int) SWIG_AsInt(obj1
);  
3410     if (PyErr_Occurred()) SWIG_fail
; 
3412         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3413         (arg1
)->SetDepth(arg2
); 
3415         wxPyEndAllowThreads(__tstate
); 
3416         if (PyErr_Occurred()) SWIG_fail
; 
3418     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3425 static PyObject 
*_wrap_Bitmap___eq__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3426     PyObject 
*resultobj
; 
3427     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3428     wxBitmap 
*arg2 
= (wxBitmap 
*) 0 ; 
3430     PyObject 
* obj0 
= 0 ; 
3431     PyObject 
* obj1 
= 0 ; 
3433         (char *) "self",(char *) "other", NULL 
 
3436     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
3437     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3438     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3439     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
3440     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3442         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3443         result 
= (bool)wxBitmap___eq__(arg1
,(wxBitmap 
const *)arg2
); 
3445         wxPyEndAllowThreads(__tstate
); 
3446         if (PyErr_Occurred()) SWIG_fail
; 
3449         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3457 static PyObject 
*_wrap_Bitmap___ne__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3458     PyObject 
*resultobj
; 
3459     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
3460     wxBitmap 
*arg2 
= (wxBitmap 
*) 0 ; 
3462     PyObject 
* obj0 
= 0 ; 
3463     PyObject 
* obj1 
= 0 ; 
3465         (char *) "self",(char *) "other", NULL 
 
3468     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
3469     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3470     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3471     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
3472     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3474         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3475         result 
= (bool)wxBitmap___ne__(arg1
,(wxBitmap 
const *)arg2
); 
3477         wxPyEndAllowThreads(__tstate
); 
3478         if (PyErr_Occurred()) SWIG_fail
; 
3481         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3489 static PyObject 
* Bitmap_swigregister(PyObject 
*self
, PyObject 
*args
) { 
3491     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3492     SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
); 
3494     return Py_BuildValue((char *)""); 
3496 static PyObject 
*_wrap_new_Mask(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3497     PyObject 
*resultobj
; 
3498     wxBitmap 
*arg1 
= 0 ; 
3499     wxColour 
const &arg2_defvalue 
= wxNullColour 
; 
3500     wxColour 
*arg2 
= (wxColour 
*) &arg2_defvalue 
; 
3503     PyObject 
* obj0 
= 0 ; 
3504     PyObject 
* obj1 
= 0 ; 
3506         (char *) "bitmap",(char *) "colour", NULL 
 
3509     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
; 
3510     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3511     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3514         PyErr_SetString(PyExc_TypeError
,"null reference"); 
3520             if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3524         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3525         result 
= (wxMask 
*)new_wxMask((wxBitmap 
const &)*arg1
,(wxColour 
const &)*arg2
); 
3527         wxPyEndAllowThreads(__tstate
); 
3528         if (PyErr_Occurred()) SWIG_fail
; 
3530     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1); 
3537 static PyObject 
* Mask_swigregister(PyObject 
*self
, PyObject 
*args
) { 
3539     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3540     SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
); 
3542     return Py_BuildValue((char *)""); 
3544 static PyObject 
*_wrap_new_Icon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3545     PyObject 
*resultobj
; 
3546     wxString 
*arg1 
= 0 ; 
3548     int arg3 
= (int) -1 ; 
3549     int arg4 
= (int) -1 ; 
3551     bool temp1 
= False 
; 
3552     PyObject 
* obj0 
= 0 ; 
3553     PyObject 
* obj1 
= 0 ; 
3554     PyObject 
* obj2 
= 0 ; 
3555     PyObject 
* obj3 
= 0 ; 
3557         (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL 
 
3560     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
3562         arg1 
= wxString_in_helper(obj0
); 
3563         if (arg1 
== NULL
) SWIG_fail
; 
3566     arg2 
= (wxBitmapType
) SWIG_AsInt(obj1
);  
3567     if (PyErr_Occurred()) SWIG_fail
; 
3569         arg3 
= (int) SWIG_AsInt(obj2
);  
3570         if (PyErr_Occurred()) SWIG_fail
; 
3573         arg4 
= (int) SWIG_AsInt(obj3
);  
3574         if (PyErr_Occurred()) SWIG_fail
; 
3577         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3578         result 
= (wxIcon 
*)new wxIcon((wxString 
const &)*arg1
,(wxBitmapType 
)arg2
,arg3
,arg4
); 
3580         wxPyEndAllowThreads(__tstate
); 
3581         if (PyErr_Occurred()) SWIG_fail
; 
3583     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
3598 static PyObject 
*_wrap_delete_Icon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3599     PyObject 
*resultobj
; 
3600     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
3601     PyObject 
* obj0 
= 0 ; 
3603         (char *) "self", NULL 
 
3606     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
; 
3607     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
3608     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3610         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3613         wxPyEndAllowThreads(__tstate
); 
3614         if (PyErr_Occurred()) SWIG_fail
; 
3616     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3623 static PyObject 
*_wrap_new_EmptyIcon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3624     PyObject 
*resultobj
; 
3630     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
; 
3632         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3633         result 
= (wxIcon 
*)new wxIcon(); 
3635         wxPyEndAllowThreads(__tstate
); 
3636         if (PyErr_Occurred()) SWIG_fail
; 
3638     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
3645 static PyObject 
*_wrap_new_IconFromLocation(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3646     PyObject 
*resultobj
; 
3647     wxIconLocation 
*arg1 
= 0 ; 
3649     PyObject 
* obj0 
= 0 ; 
3651         (char *) "loc", NULL 
 
3654     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
; 
3655     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
, 
3656     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3659         PyErr_SetString(PyExc_TypeError
,"null reference"); 
3663         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3664         result 
= (wxIcon 
*)new wxIcon((wxIconLocation 
const &)*arg1
); 
3666         wxPyEndAllowThreads(__tstate
); 
3667         if (PyErr_Occurred()) SWIG_fail
; 
3669     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
3676 static PyObject 
*_wrap_new_IconFromBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3677     PyObject 
*resultobj
; 
3678     wxBitmap 
*arg1 
= 0 ; 
3680     PyObject 
* obj0 
= 0 ; 
3682         (char *) "bmp", NULL 
 
3685     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
; 
3686     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
3687     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3690         PyErr_SetString(PyExc_TypeError
,"null reference"); 
3694         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3695         result 
= (wxIcon 
*)new_wxIcon((wxBitmap 
const &)*arg1
); 
3697         wxPyEndAllowThreads(__tstate
); 
3698         if (PyErr_Occurred()) SWIG_fail
; 
3700     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
3707 static PyObject 
*_wrap_new_IconFromXPMData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3708     PyObject 
*resultobj
; 
3709     PyObject 
*arg1 
= (PyObject 
*) 0 ; 
3711     PyObject 
* obj0 
= 0 ; 
3713         (char *) "listOfStrings", NULL 
 
3716     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
; 
3719         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3720         result 
= (wxIcon 
*)new_wxIcon(arg1
); 
3722         wxPyEndAllowThreads(__tstate
); 
3723         if (PyErr_Occurred()) SWIG_fail
; 
3725     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
3732 static PyObject 
*_wrap_Icon_LoadFile(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3733     PyObject 
*resultobj
; 
3734     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
3735     wxString 
*arg2 
= 0 ; 
3738     bool temp2 
= False 
; 
3739     PyObject 
* obj0 
= 0 ; 
3740     PyObject 
* obj1 
= 0 ; 
3741     PyObject 
* obj2 
= 0 ; 
3743         (char *) "self",(char *) "name",(char *) "type", NULL 
 
3746     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3747     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
3748     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3750         arg2 
= wxString_in_helper(obj1
); 
3751         if (arg2 
== NULL
) SWIG_fail
; 
3754     arg3 
= (wxBitmapType
) SWIG_AsInt(obj2
);  
3755     if (PyErr_Occurred()) SWIG_fail
; 
3757         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3758         result 
= (bool)(arg1
)->LoadFile((wxString 
const &)*arg2
,(wxBitmapType 
)arg3
); 
3760         wxPyEndAllowThreads(__tstate
); 
3761         if (PyErr_Occurred()) SWIG_fail
; 
3764         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3780 static PyObject 
*_wrap_Icon_Ok(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3781     PyObject 
*resultobj
; 
3782     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
3784     PyObject 
* obj0 
= 0 ; 
3786         (char *) "self", NULL 
 
3789     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
; 
3790     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
3791     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3793         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3794         result 
= (bool)(arg1
)->Ok(); 
3796         wxPyEndAllowThreads(__tstate
); 
3797         if (PyErr_Occurred()) SWIG_fail
; 
3800         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3808 static PyObject 
*_wrap_Icon_GetWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3809     PyObject 
*resultobj
; 
3810     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
3812     PyObject 
* obj0 
= 0 ; 
3814         (char *) "self", NULL 
 
3817     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
; 
3818     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
3819     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3821         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3822         result 
= (int)(arg1
)->GetWidth(); 
3824         wxPyEndAllowThreads(__tstate
); 
3825         if (PyErr_Occurred()) SWIG_fail
; 
3827     resultobj 
= SWIG_FromInt((int)result
); 
3834 static PyObject 
*_wrap_Icon_GetHeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3835     PyObject 
*resultobj
; 
3836     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
3838     PyObject 
* obj0 
= 0 ; 
3840         (char *) "self", NULL 
 
3843     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
; 
3844     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
3845     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3847         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3848         result 
= (int)(arg1
)->GetHeight(); 
3850         wxPyEndAllowThreads(__tstate
); 
3851         if (PyErr_Occurred()) SWIG_fail
; 
3853     resultobj 
= SWIG_FromInt((int)result
); 
3860 static PyObject 
*_wrap_Icon_GetDepth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3861     PyObject 
*resultobj
; 
3862     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
3864     PyObject 
* obj0 
= 0 ; 
3866         (char *) "self", NULL 
 
3869     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
; 
3870     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
3871     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3873         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3874         result 
= (int)(arg1
)->GetDepth(); 
3876         wxPyEndAllowThreads(__tstate
); 
3877         if (PyErr_Occurred()) SWIG_fail
; 
3879     resultobj 
= SWIG_FromInt((int)result
); 
3886 static PyObject 
*_wrap_Icon_SetWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3887     PyObject 
*resultobj
; 
3888     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
3890     PyObject 
* obj0 
= 0 ; 
3891     PyObject 
* obj1 
= 0 ; 
3893         (char *) "self",(char *) "w", NULL 
 
3896     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
3897     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
3898     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3899     arg2 
= (int) SWIG_AsInt(obj1
);  
3900     if (PyErr_Occurred()) SWIG_fail
; 
3902         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3903         (arg1
)->SetWidth(arg2
); 
3905         wxPyEndAllowThreads(__tstate
); 
3906         if (PyErr_Occurred()) SWIG_fail
; 
3908     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3915 static PyObject 
*_wrap_Icon_SetHeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3916     PyObject 
*resultobj
; 
3917     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
3919     PyObject 
* obj0 
= 0 ; 
3920     PyObject 
* obj1 
= 0 ; 
3922         (char *) "self",(char *) "h", NULL 
 
3925     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
; 
3926     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
3927     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3928     arg2 
= (int) SWIG_AsInt(obj1
);  
3929     if (PyErr_Occurred()) SWIG_fail
; 
3931         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3932         (arg1
)->SetHeight(arg2
); 
3934         wxPyEndAllowThreads(__tstate
); 
3935         if (PyErr_Occurred()) SWIG_fail
; 
3937     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3944 static PyObject 
*_wrap_Icon_SetDepth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3945     PyObject 
*resultobj
; 
3946     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
3948     PyObject 
* obj0 
= 0 ; 
3949     PyObject 
* obj1 
= 0 ; 
3951         (char *) "self",(char *) "d", NULL 
 
3954     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
; 
3955     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
3956     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3957     arg2 
= (int) SWIG_AsInt(obj1
);  
3958     if (PyErr_Occurred()) SWIG_fail
; 
3960         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3961         (arg1
)->SetDepth(arg2
); 
3963         wxPyEndAllowThreads(__tstate
); 
3964         if (PyErr_Occurred()) SWIG_fail
; 
3966     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3973 static PyObject 
*_wrap_Icon_CopyFromBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3974     PyObject 
*resultobj
; 
3975     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
3976     wxBitmap 
*arg2 
= 0 ; 
3977     PyObject 
* obj0 
= 0 ; 
3978     PyObject 
* obj1 
= 0 ; 
3980         (char *) "self",(char *) "bmp", NULL 
 
3983     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
3984     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
3985     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3986     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
3987     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3990         PyErr_SetString(PyExc_TypeError
,"null reference"); 
3994         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3995         (arg1
)->CopyFromBitmap((wxBitmap 
const &)*arg2
); 
3997         wxPyEndAllowThreads(__tstate
); 
3998         if (PyErr_Occurred()) SWIG_fail
; 
4000     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4007 static PyObject 
* Icon_swigregister(PyObject 
*self
, PyObject 
*args
) { 
4009     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4010     SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
); 
4012     return Py_BuildValue((char *)""); 
4014 static PyObject 
*_wrap_new_IconLocation(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4015     PyObject 
*resultobj
; 
4016     wxString 
*arg1 
= (wxString 
*) &wxPyEmptyString 
; 
4017     int arg2 
= (int) 0 ; 
4018     wxIconLocation 
*result
; 
4019     bool temp1 
= False 
; 
4020     PyObject 
* obj0 
= 0 ; 
4021     PyObject 
* obj1 
= 0 ; 
4023         (char *) "filename",(char *) "num", NULL 
 
4026     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
; 
4029             arg1 
= wxString_in_helper(obj0
); 
4030             if (arg1 
== NULL
) SWIG_fail
; 
4035         arg2 
= (int) SWIG_AsInt(obj1
);  
4036         if (PyErr_Occurred()) SWIG_fail
; 
4039         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4040         result 
= (wxIconLocation 
*)new_wxIconLocation((wxString 
const *)arg1
,arg2
); 
4042         wxPyEndAllowThreads(__tstate
); 
4043         if (PyErr_Occurred()) SWIG_fail
; 
4045     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1); 
4060 static PyObject 
*_wrap_delete_IconLocation(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4061     PyObject 
*resultobj
; 
4062     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
4063     PyObject 
* obj0 
= 0 ; 
4065         (char *) "self", NULL 
 
4068     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
; 
4069     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
, 
4070     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4072         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4075         wxPyEndAllowThreads(__tstate
); 
4076         if (PyErr_Occurred()) SWIG_fail
; 
4078     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4085 static PyObject 
*_wrap_IconLocation_IsOk(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4086     PyObject 
*resultobj
; 
4087     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
4089     PyObject 
* obj0 
= 0 ; 
4091         (char *) "self", NULL 
 
4094     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
; 
4095     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
, 
4096     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4098         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4099         result 
= (bool)((wxIconLocation 
const *)arg1
)->IsOk(); 
4101         wxPyEndAllowThreads(__tstate
); 
4102         if (PyErr_Occurred()) SWIG_fail
; 
4105         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4113 static PyObject 
*_wrap_IconLocation_SetFileName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4114     PyObject 
*resultobj
; 
4115     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
4116     wxString 
*arg2 
= 0 ; 
4117     bool temp2 
= False 
; 
4118     PyObject 
* obj0 
= 0 ; 
4119     PyObject 
* obj1 
= 0 ; 
4121         (char *) "self",(char *) "filename", NULL 
 
4124     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
; 
4125     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
, 
4126     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4128         arg2 
= wxString_in_helper(obj1
); 
4129         if (arg2 
== NULL
) SWIG_fail
; 
4133         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4134         (arg1
)->SetFileName((wxString 
const &)*arg2
); 
4136         wxPyEndAllowThreads(__tstate
); 
4137         if (PyErr_Occurred()) SWIG_fail
; 
4139     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4154 static PyObject 
*_wrap_IconLocation_GetFileName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4155     PyObject 
*resultobj
; 
4156     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
4158     PyObject 
* obj0 
= 0 ; 
4160         (char *) "self", NULL 
 
4163     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
; 
4164     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
, 
4165     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4167         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4169             wxString 
const &_result_ref 
= ((wxIconLocation 
const *)arg1
)->GetFileName(); 
4170             result 
= (wxString 
*) &_result_ref
; 
4173         wxPyEndAllowThreads(__tstate
); 
4174         if (PyErr_Occurred()) SWIG_fail
; 
4178         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
4180         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
4189 static PyObject 
*_wrap_IconLocation_SetIndex(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4190     PyObject 
*resultobj
; 
4191     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
4193     PyObject 
* obj0 
= 0 ; 
4194     PyObject 
* obj1 
= 0 ; 
4196         (char *) "self",(char *) "num", NULL 
 
4199     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
; 
4200     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
, 
4201     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4202     arg2 
= (int) SWIG_AsInt(obj1
);  
4203     if (PyErr_Occurred()) SWIG_fail
; 
4205         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4206         wxIconLocation_SetIndex(arg1
,arg2
); 
4208         wxPyEndAllowThreads(__tstate
); 
4209         if (PyErr_Occurred()) SWIG_fail
; 
4211     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4218 static PyObject 
*_wrap_IconLocation_GetIndex(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4219     PyObject 
*resultobj
; 
4220     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
4222     PyObject 
* obj0 
= 0 ; 
4224         (char *) "self", NULL 
 
4227     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
; 
4228     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
, 
4229     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4231         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4232         result 
= (int)wxIconLocation_GetIndex(arg1
); 
4234         wxPyEndAllowThreads(__tstate
); 
4235         if (PyErr_Occurred()) SWIG_fail
; 
4237     resultobj 
= SWIG_FromInt((int)result
); 
4244 static PyObject 
* IconLocation_swigregister(PyObject 
*self
, PyObject 
*args
) { 
4246     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4247     SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
); 
4249     return Py_BuildValue((char *)""); 
4251 static PyObject 
*_wrap_new_IconBundle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4252     PyObject 
*resultobj
; 
4253     wxIconBundle 
*result
; 
4258     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
; 
4260         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4261         result 
= (wxIconBundle 
*)new wxIconBundle(); 
4263         wxPyEndAllowThreads(__tstate
); 
4264         if (PyErr_Occurred()) SWIG_fail
; 
4266     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1); 
4273 static PyObject 
*_wrap_new_IconBundleFromFile(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4274     PyObject 
*resultobj
; 
4275     wxString 
*arg1 
= 0 ; 
4277     wxIconBundle 
*result
; 
4278     bool temp1 
= False 
; 
4279     PyObject 
* obj0 
= 0 ; 
4280     PyObject 
* obj1 
= 0 ; 
4282         (char *) "file",(char *) "type", NULL 
 
4285     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
; 
4287         arg1 
= wxString_in_helper(obj0
); 
4288         if (arg1 
== NULL
) SWIG_fail
; 
4291     arg2 
= (long) SWIG_AsLong(obj1
);  
4292     if (PyErr_Occurred()) SWIG_fail
; 
4294         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4295         result 
= (wxIconBundle 
*)new wxIconBundle((wxString 
const &)*arg1
,arg2
); 
4297         wxPyEndAllowThreads(__tstate
); 
4298         if (PyErr_Occurred()) SWIG_fail
; 
4300     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1); 
4315 static PyObject 
*_wrap_new_IconBundleFromIcon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4316     PyObject 
*resultobj
; 
4318     wxIconBundle 
*result
; 
4319     PyObject 
* obj0 
= 0 ; 
4321         (char *) "icon", NULL 
 
4324     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
; 
4325     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
4326     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
4329         PyErr_SetString(PyExc_TypeError
,"null reference"); 
4333         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4334         result 
= (wxIconBundle 
*)new wxIconBundle((wxIcon 
const &)*arg1
); 
4336         wxPyEndAllowThreads(__tstate
); 
4337         if (PyErr_Occurred()) SWIG_fail
; 
4339     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1); 
4346 static PyObject 
*_wrap_delete_IconBundle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4347     PyObject 
*resultobj
; 
4348     wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
4349     PyObject 
* obj0 
= 0 ; 
4351         (char *) "self", NULL 
 
4354     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
; 
4355     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
, 
4356     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4358         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4361         wxPyEndAllowThreads(__tstate
); 
4362         if (PyErr_Occurred()) SWIG_fail
; 
4364     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4371 static PyObject 
*_wrap_IconBundle_AddIcon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4372     PyObject 
*resultobj
; 
4373     wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
4375     PyObject 
* obj0 
= 0 ; 
4376     PyObject 
* obj1 
= 0 ; 
4378         (char *) "self",(char *) "icon", NULL 
 
4381     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
4382     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
, 
4383     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4384     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
, 
4385     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
4388         PyErr_SetString(PyExc_TypeError
,"null reference"); 
4392         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4393         (arg1
)->AddIcon((wxIcon 
const &)*arg2
); 
4395         wxPyEndAllowThreads(__tstate
); 
4396         if (PyErr_Occurred()) SWIG_fail
; 
4398     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4405 static PyObject 
*_wrap_IconBundle_AddIconFromFile(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4406     PyObject 
*resultobj
; 
4407     wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
4408     wxString 
*arg2 
= 0 ; 
4410     bool temp2 
= False 
; 
4411     PyObject 
* obj0 
= 0 ; 
4412     PyObject 
* obj1 
= 0 ; 
4413     PyObject 
* obj2 
= 0 ; 
4415         (char *) "self",(char *) "file",(char *) "type", NULL 
 
4418     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4419     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
, 
4420     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4422         arg2 
= wxString_in_helper(obj1
); 
4423         if (arg2 
== NULL
) SWIG_fail
; 
4426     arg3 
= (long) SWIG_AsLong(obj2
);  
4427     if (PyErr_Occurred()) SWIG_fail
; 
4429         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4430         (arg1
)->AddIcon((wxString 
const &)*arg2
,arg3
); 
4432         wxPyEndAllowThreads(__tstate
); 
4433         if (PyErr_Occurred()) SWIG_fail
; 
4435     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4450 static PyObject 
*_wrap_IconBundle_GetIcon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4451     PyObject 
*resultobj
; 
4452     wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
4456     PyObject 
* obj0 
= 0 ; 
4457     PyObject 
* obj1 
= 0 ; 
4459         (char *) "self",(char *) "size", NULL 
 
4462     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
4463     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
, 
4464     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4467         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
4470         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4472             wxIcon 
const &_result_ref 
= ((wxIconBundle 
const *)arg1
)->GetIcon((wxSize 
const &)*arg2
); 
4473             result 
= (wxIcon 
*) &_result_ref
; 
4476         wxPyEndAllowThreads(__tstate
); 
4477         if (PyErr_Occurred()) SWIG_fail
; 
4480         wxIcon
* resultptr 
= new wxIcon(*result
); 
4481         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1); 
4489 static PyObject 
* IconBundle_swigregister(PyObject 
*self
, PyObject 
*args
) { 
4491     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4492     SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
); 
4494     return Py_BuildValue((char *)""); 
4496 static PyObject 
*_wrap_new_Cursor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4497     PyObject 
*resultobj
; 
4498     wxString 
*arg1 
= (wxString 
*) 0 ; 
4500     int arg3 
= (int) 0 ; 
4501     int arg4 
= (int) 0 ; 
4503     bool temp1 
= False 
; 
4504     PyObject 
* obj0 
= 0 ; 
4505     PyObject 
* obj1 
= 0 ; 
4506     PyObject 
* obj2 
= 0 ; 
4507     PyObject 
* obj3 
= 0 ; 
4509         (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL 
 
4512     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
4514         arg1 
= wxString_in_helper(obj0
); 
4515         if (arg1 
== NULL
) SWIG_fail
; 
4518     arg2 
= (long) SWIG_AsLong(obj1
);  
4519     if (PyErr_Occurred()) SWIG_fail
; 
4521         arg3 
= (int) SWIG_AsInt(obj2
);  
4522         if (PyErr_Occurred()) SWIG_fail
; 
4525         arg4 
= (int) SWIG_AsInt(obj3
);  
4526         if (PyErr_Occurred()) SWIG_fail
; 
4529         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4530         result 
= (wxCursor 
*)new_wxCursor((wxString 
const *)arg1
,arg2
,arg3
,arg4
); 
4532         wxPyEndAllowThreads(__tstate
); 
4533         if (PyErr_Occurred()) SWIG_fail
; 
4535     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1); 
4550 static PyObject 
*_wrap_delete_Cursor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4551     PyObject 
*resultobj
; 
4552     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
4553     PyObject 
* obj0 
= 0 ; 
4555         (char *) "self", NULL 
 
4558     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
; 
4559     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
4560     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4562         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4565         wxPyEndAllowThreads(__tstate
); 
4566         if (PyErr_Occurred()) SWIG_fail
; 
4568     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4575 static PyObject 
*_wrap_new_StockCursor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4576     PyObject 
*resultobj
; 
4579     PyObject 
* obj0 
= 0 ; 
4584     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
; 
4585     arg1 
= (int) SWIG_AsInt(obj0
);  
4586     if (PyErr_Occurred()) SWIG_fail
; 
4588         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4589         result 
= (wxCursor 
*)new wxCursor(arg1
); 
4591         wxPyEndAllowThreads(__tstate
); 
4592         if (PyErr_Occurred()) SWIG_fail
; 
4594     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1); 
4601 static PyObject 
*_wrap_new_CursorFromImage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4602     PyObject 
*resultobj
; 
4605     PyObject 
* obj0 
= 0 ; 
4607         (char *) "image", NULL 
 
4610     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
; 
4611     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
, 
4612     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
4615         PyErr_SetString(PyExc_TypeError
,"null reference"); 
4619         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4620         result 
= (wxCursor 
*)new wxCursor((wxImage 
const &)*arg1
); 
4622         wxPyEndAllowThreads(__tstate
); 
4623         if (PyErr_Occurred()) SWIG_fail
; 
4625     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1); 
4632 static PyObject 
*_wrap_Cursor_Ok(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4633     PyObject 
*resultobj
; 
4634     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
4636     PyObject 
* obj0 
= 0 ; 
4638         (char *) "self", NULL 
 
4641     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
; 
4642     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
4643     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4645         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4646         result 
= (bool)(arg1
)->Ok(); 
4648         wxPyEndAllowThreads(__tstate
); 
4649         if (PyErr_Occurred()) SWIG_fail
; 
4652         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4660 static PyObject 
* Cursor_swigregister(PyObject 
*self
, PyObject 
*args
) { 
4662     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4663     SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
); 
4665     return Py_BuildValue((char *)""); 
4667 static PyObject 
*_wrap_new_Region(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4668     PyObject 
*resultobj
; 
4669     int arg1 
= (int) 0 ; 
4670     int arg2 
= (int) 0 ; 
4671     int arg3 
= (int) 0 ; 
4672     int arg4 
= (int) 0 ; 
4674     PyObject 
* obj0 
= 0 ; 
4675     PyObject 
* obj1 
= 0 ; 
4676     PyObject 
* obj2 
= 0 ; 
4677     PyObject 
* obj3 
= 0 ; 
4679         (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
4682     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
4684         arg1 
= (int) SWIG_AsInt(obj0
);  
4685         if (PyErr_Occurred()) SWIG_fail
; 
4688         arg2 
= (int) SWIG_AsInt(obj1
);  
4689         if (PyErr_Occurred()) SWIG_fail
; 
4692         arg3 
= (int) SWIG_AsInt(obj2
);  
4693         if (PyErr_Occurred()) SWIG_fail
; 
4696         arg4 
= (int) SWIG_AsInt(obj3
);  
4697         if (PyErr_Occurred()) SWIG_fail
; 
4700         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4701         result 
= (wxRegion 
*)new wxRegion(arg1
,arg2
,arg3
,arg4
); 
4703         wxPyEndAllowThreads(__tstate
); 
4704         if (PyErr_Occurred()) SWIG_fail
; 
4706     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1); 
4713 static PyObject 
*_wrap_new_RegionFromBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4714     PyObject 
*resultobj
; 
4715     wxBitmap 
*arg1 
= 0 ; 
4716     wxColour 
const &arg2_defvalue 
= wxNullColour 
; 
4717     wxColour 
*arg2 
= (wxColour 
*) &arg2_defvalue 
; 
4718     int arg3 
= (int) 0 ; 
4721     PyObject 
* obj0 
= 0 ; 
4722     PyObject 
* obj1 
= 0 ; 
4723     PyObject 
* obj2 
= 0 ; 
4725         (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL 
 
4728     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4729     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
4730     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
4733         PyErr_SetString(PyExc_TypeError
,"null reference"); 
4739             if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
4743         arg3 
= (int) SWIG_AsInt(obj2
);  
4744         if (PyErr_Occurred()) SWIG_fail
; 
4747         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4748         result 
= (wxRegion 
*)new wxRegion((wxBitmap 
const &)*arg1
,(wxColour 
const &)*arg2
,arg3
); 
4750         wxPyEndAllowThreads(__tstate
); 
4751         if (PyErr_Occurred()) SWIG_fail
; 
4753     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1); 
4760 static PyObject 
*_wrap_new_RegionFromPoints(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4761     PyObject 
*resultobj
; 
4763     wxPoint 
*arg2 
= (wxPoint 
*) 0 ; 
4764     int arg3 
= (int) wxWINDING_RULE 
; 
4766     PyObject 
* obj0 
= 0 ; 
4767     PyObject 
* obj1 
= 0 ; 
4769         (char *) "points",(char *) "fillStyle", NULL 
 
4772     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
; 
4774         arg2 
= wxPoint_LIST_helper(obj0
, &arg1
); 
4775         if (arg2 
== NULL
) SWIG_fail
; 
4778         arg3 
= (int) SWIG_AsInt(obj1
);  
4779         if (PyErr_Occurred()) SWIG_fail
; 
4782         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4783         result 
= (wxRegion 
*)new wxRegion(arg1
,arg2
,arg3
); 
4785         wxPyEndAllowThreads(__tstate
); 
4786         if (PyErr_Occurred()) SWIG_fail
; 
4788     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1); 
4790         if (arg2
) delete [] arg2
; 
4795         if (arg2
) delete [] arg2
; 
4801 static PyObject 
*_wrap_delete_Region(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4802     PyObject 
*resultobj
; 
4803     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
4804     PyObject 
* obj0 
= 0 ; 
4806         (char *) "self", NULL 
 
4809     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
; 
4810     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
4811     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4813         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4816         wxPyEndAllowThreads(__tstate
); 
4817         if (PyErr_Occurred()) SWIG_fail
; 
4819     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4826 static PyObject 
*_wrap_Region_Clear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4827     PyObject 
*resultobj
; 
4828     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
4829     PyObject 
* obj0 
= 0 ; 
4831         (char *) "self", NULL 
 
4834     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
; 
4835     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
4836     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4838         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4841         wxPyEndAllowThreads(__tstate
); 
4842         if (PyErr_Occurred()) SWIG_fail
; 
4844     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4851 static PyObject 
*_wrap_Region_Offset(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4852     PyObject 
*resultobj
; 
4853     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
4857     PyObject 
* obj0 
= 0 ; 
4858     PyObject 
* obj1 
= 0 ; 
4859     PyObject 
* obj2 
= 0 ; 
4861         (char *) "self",(char *) "x",(char *) "y", NULL 
 
4864     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4865     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
4866     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4867     arg2 
= (int) SWIG_AsInt(obj1
);  
4868     if (PyErr_Occurred()) SWIG_fail
; 
4869     arg3 
= (int) SWIG_AsInt(obj2
);  
4870     if (PyErr_Occurred()) SWIG_fail
; 
4872         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4873         result 
= (bool)(arg1
)->Offset(arg2
,arg3
); 
4875         wxPyEndAllowThreads(__tstate
); 
4876         if (PyErr_Occurred()) SWIG_fail
; 
4879         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4887 static PyObject 
*_wrap_Region_Contains(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4888     PyObject 
*resultobj
; 
4889     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
4893     PyObject 
* obj0 
= 0 ; 
4894     PyObject 
* obj1 
= 0 ; 
4895     PyObject 
* obj2 
= 0 ; 
4897         (char *) "self",(char *) "x",(char *) "y", NULL 
 
4900     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4901     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
4902     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4903     arg2 
= (int) SWIG_AsInt(obj1
);  
4904     if (PyErr_Occurred()) SWIG_fail
; 
4905     arg3 
= (int) SWIG_AsInt(obj2
);  
4906     if (PyErr_Occurred()) SWIG_fail
; 
4908         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4909         result 
= (int)(arg1
)->Contains(arg2
,arg3
); 
4911         wxPyEndAllowThreads(__tstate
); 
4912         if (PyErr_Occurred()) SWIG_fail
; 
4914     resultobj 
= SWIG_FromInt((int)result
); 
4921 static PyObject 
*_wrap_Region_ContainsPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4922     PyObject 
*resultobj
; 
4923     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
4927     PyObject 
* obj0 
= 0 ; 
4928     PyObject 
* obj1 
= 0 ; 
4930         (char *) "self",(char *) "pt", NULL 
 
4933     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
4934     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
4935     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4938         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
4941         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4942         result 
= (int)(arg1
)->Contains((wxPoint 
const &)*arg2
); 
4944         wxPyEndAllowThreads(__tstate
); 
4945         if (PyErr_Occurred()) SWIG_fail
; 
4947     resultobj 
= SWIG_FromInt((int)result
); 
4954 static PyObject 
*_wrap_Region_ContainsRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4955     PyObject 
*resultobj
; 
4956     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
4960     PyObject 
* obj0 
= 0 ; 
4961     PyObject 
* obj1 
= 0 ; 
4963         (char *) "self",(char *) "rect", NULL 
 
4966     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
4967     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
4968     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4971         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
4974         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4975         result 
= (int)(arg1
)->Contains((wxRect 
const &)*arg2
); 
4977         wxPyEndAllowThreads(__tstate
); 
4978         if (PyErr_Occurred()) SWIG_fail
; 
4980     resultobj 
= SWIG_FromInt((int)result
); 
4987 static PyObject 
*_wrap_Region_ContainsRectDim(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4988     PyObject 
*resultobj
; 
4989     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
4995     PyObject 
* obj0 
= 0 ; 
4996     PyObject 
* obj1 
= 0 ; 
4997     PyObject 
* obj2 
= 0 ; 
4998     PyObject 
* obj3 
= 0 ; 
4999     PyObject 
* obj4 
= 0 ; 
5001         (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL 
 
5004     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
5005     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5006     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5007     arg2 
= (int) SWIG_AsInt(obj1
);  
5008     if (PyErr_Occurred()) SWIG_fail
; 
5009     arg3 
= (int) SWIG_AsInt(obj2
);  
5010     if (PyErr_Occurred()) SWIG_fail
; 
5011     arg4 
= (int) SWIG_AsInt(obj3
);  
5012     if (PyErr_Occurred()) SWIG_fail
; 
5013     arg5 
= (int) SWIG_AsInt(obj4
);  
5014     if (PyErr_Occurred()) SWIG_fail
; 
5016         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5017         result 
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
); 
5019         wxPyEndAllowThreads(__tstate
); 
5020         if (PyErr_Occurred()) SWIG_fail
; 
5022     resultobj 
= SWIG_FromInt((int)result
); 
5029 static PyObject 
*_wrap_Region_GetBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5030     PyObject 
*resultobj
; 
5031     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5033     PyObject 
* obj0 
= 0 ; 
5035         (char *) "self", NULL 
 
5038     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
; 
5039     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5040     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5042         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5043         result 
= (arg1
)->GetBox(); 
5045         wxPyEndAllowThreads(__tstate
); 
5046         if (PyErr_Occurred()) SWIG_fail
; 
5050         resultptr 
= new wxRect((wxRect 
&) result
); 
5051         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
5059 static PyObject 
*_wrap_Region_Intersect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5060     PyObject 
*resultobj
; 
5061     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5067     PyObject 
* obj0 
= 0 ; 
5068     PyObject 
* obj1 
= 0 ; 
5069     PyObject 
* obj2 
= 0 ; 
5070     PyObject 
* obj3 
= 0 ; 
5071     PyObject 
* obj4 
= 0 ; 
5073         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
5076     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
5077     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5078     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5079     arg2 
= (int) SWIG_AsInt(obj1
);  
5080     if (PyErr_Occurred()) SWIG_fail
; 
5081     arg3 
= (int) SWIG_AsInt(obj2
);  
5082     if (PyErr_Occurred()) SWIG_fail
; 
5083     arg4 
= (int) SWIG_AsInt(obj3
);  
5084     if (PyErr_Occurred()) SWIG_fail
; 
5085     arg5 
= (int) SWIG_AsInt(obj4
);  
5086     if (PyErr_Occurred()) SWIG_fail
; 
5088         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5089         result 
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
); 
5091         wxPyEndAllowThreads(__tstate
); 
5092         if (PyErr_Occurred()) SWIG_fail
; 
5095         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5103 static PyObject 
*_wrap_Region_IntersectRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5104     PyObject 
*resultobj
; 
5105     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5109     PyObject 
* obj0 
= 0 ; 
5110     PyObject 
* obj1 
= 0 ; 
5112         (char *) "self",(char *) "rect", NULL 
 
5115     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
5116     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5117     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5120         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
5123         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5124         result 
= (bool)(arg1
)->Intersect((wxRect 
const &)*arg2
); 
5126         wxPyEndAllowThreads(__tstate
); 
5127         if (PyErr_Occurred()) SWIG_fail
; 
5130         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5138 static PyObject 
*_wrap_Region_IntersectRegion(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5139     PyObject 
*resultobj
; 
5140     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5141     wxRegion 
*arg2 
= 0 ; 
5143     PyObject 
* obj0 
= 0 ; 
5144     PyObject 
* obj1 
= 0 ; 
5146         (char *) "self",(char *) "region", NULL 
 
5149     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
; 
5150     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5151     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5152     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
, 
5153     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5156         PyErr_SetString(PyExc_TypeError
,"null reference"); 
5160         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5161         result 
= (bool)(arg1
)->Intersect((wxRegion 
const &)*arg2
); 
5163         wxPyEndAllowThreads(__tstate
); 
5164         if (PyErr_Occurred()) SWIG_fail
; 
5167         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5175 static PyObject 
*_wrap_Region_IsEmpty(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5176     PyObject 
*resultobj
; 
5177     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5179     PyObject 
* obj0 
= 0 ; 
5181         (char *) "self", NULL 
 
5184     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
; 
5185     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5186     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5188         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5189         result 
= (bool)(arg1
)->IsEmpty(); 
5191         wxPyEndAllowThreads(__tstate
); 
5192         if (PyErr_Occurred()) SWIG_fail
; 
5195         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5203 static PyObject 
*_wrap_Region_Union(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5204     PyObject 
*resultobj
; 
5205     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5211     PyObject 
* obj0 
= 0 ; 
5212     PyObject 
* obj1 
= 0 ; 
5213     PyObject 
* obj2 
= 0 ; 
5214     PyObject 
* obj3 
= 0 ; 
5215     PyObject 
* obj4 
= 0 ; 
5217         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
5220     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
5221     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5222     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5223     arg2 
= (int) SWIG_AsInt(obj1
);  
5224     if (PyErr_Occurred()) SWIG_fail
; 
5225     arg3 
= (int) SWIG_AsInt(obj2
);  
5226     if (PyErr_Occurred()) SWIG_fail
; 
5227     arg4 
= (int) SWIG_AsInt(obj3
);  
5228     if (PyErr_Occurred()) SWIG_fail
; 
5229     arg5 
= (int) SWIG_AsInt(obj4
);  
5230     if (PyErr_Occurred()) SWIG_fail
; 
5232         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5233         result 
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
); 
5235         wxPyEndAllowThreads(__tstate
); 
5236         if (PyErr_Occurred()) SWIG_fail
; 
5239         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5247 static PyObject 
*_wrap_Region_UnionRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5248     PyObject 
*resultobj
; 
5249     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5253     PyObject 
* obj0 
= 0 ; 
5254     PyObject 
* obj1 
= 0 ; 
5256         (char *) "self",(char *) "rect", NULL 
 
5259     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
5260     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5261     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5264         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
5267         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5268         result 
= (bool)(arg1
)->Union((wxRect 
const &)*arg2
); 
5270         wxPyEndAllowThreads(__tstate
); 
5271         if (PyErr_Occurred()) SWIG_fail
; 
5274         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5282 static PyObject 
*_wrap_Region_UnionRegion(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5283     PyObject 
*resultobj
; 
5284     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5285     wxRegion 
*arg2 
= 0 ; 
5287     PyObject 
* obj0 
= 0 ; 
5288     PyObject 
* obj1 
= 0 ; 
5290         (char *) "self",(char *) "region", NULL 
 
5293     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
; 
5294     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5295     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5296     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
, 
5297     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5300         PyErr_SetString(PyExc_TypeError
,"null reference"); 
5304         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5305         result 
= (bool)(arg1
)->Union((wxRegion 
const &)*arg2
); 
5307         wxPyEndAllowThreads(__tstate
); 
5308         if (PyErr_Occurred()) SWIG_fail
; 
5311         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5319 static PyObject 
*_wrap_Region_Subtract(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5320     PyObject 
*resultobj
; 
5321     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5327     PyObject 
* obj0 
= 0 ; 
5328     PyObject 
* obj1 
= 0 ; 
5329     PyObject 
* obj2 
= 0 ; 
5330     PyObject 
* obj3 
= 0 ; 
5331     PyObject 
* obj4 
= 0 ; 
5333         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
5336     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
5337     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5338     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5339     arg2 
= (int) SWIG_AsInt(obj1
);  
5340     if (PyErr_Occurred()) SWIG_fail
; 
5341     arg3 
= (int) SWIG_AsInt(obj2
);  
5342     if (PyErr_Occurred()) SWIG_fail
; 
5343     arg4 
= (int) SWIG_AsInt(obj3
);  
5344     if (PyErr_Occurred()) SWIG_fail
; 
5345     arg5 
= (int) SWIG_AsInt(obj4
);  
5346     if (PyErr_Occurred()) SWIG_fail
; 
5348         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5349         result 
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
); 
5351         wxPyEndAllowThreads(__tstate
); 
5352         if (PyErr_Occurred()) SWIG_fail
; 
5355         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5363 static PyObject 
*_wrap_Region_SubtractRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5364     PyObject 
*resultobj
; 
5365     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5369     PyObject 
* obj0 
= 0 ; 
5370     PyObject 
* obj1 
= 0 ; 
5372         (char *) "self",(char *) "rect", NULL 
 
5375     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
5376     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5377     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5380         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
5383         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5384         result 
= (bool)(arg1
)->Subtract((wxRect 
const &)*arg2
); 
5386         wxPyEndAllowThreads(__tstate
); 
5387         if (PyErr_Occurred()) SWIG_fail
; 
5390         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5398 static PyObject 
*_wrap_Region_SubtractRegion(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5399     PyObject 
*resultobj
; 
5400     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5401     wxRegion 
*arg2 
= 0 ; 
5403     PyObject 
* obj0 
= 0 ; 
5404     PyObject 
* obj1 
= 0 ; 
5406         (char *) "self",(char *) "region", NULL 
 
5409     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
; 
5410     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5411     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5412     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
, 
5413     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5416         PyErr_SetString(PyExc_TypeError
,"null reference"); 
5420         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5421         result 
= (bool)(arg1
)->Subtract((wxRegion 
const &)*arg2
); 
5423         wxPyEndAllowThreads(__tstate
); 
5424         if (PyErr_Occurred()) SWIG_fail
; 
5427         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5435 static PyObject 
*_wrap_Region_Xor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5436     PyObject 
*resultobj
; 
5437     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5443     PyObject 
* obj0 
= 0 ; 
5444     PyObject 
* obj1 
= 0 ; 
5445     PyObject 
* obj2 
= 0 ; 
5446     PyObject 
* obj3 
= 0 ; 
5447     PyObject 
* obj4 
= 0 ; 
5449         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
5452     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
5453     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5454     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5455     arg2 
= (int) SWIG_AsInt(obj1
);  
5456     if (PyErr_Occurred()) SWIG_fail
; 
5457     arg3 
= (int) SWIG_AsInt(obj2
);  
5458     if (PyErr_Occurred()) SWIG_fail
; 
5459     arg4 
= (int) SWIG_AsInt(obj3
);  
5460     if (PyErr_Occurred()) SWIG_fail
; 
5461     arg5 
= (int) SWIG_AsInt(obj4
);  
5462     if (PyErr_Occurred()) SWIG_fail
; 
5464         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5465         result 
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
); 
5467         wxPyEndAllowThreads(__tstate
); 
5468         if (PyErr_Occurred()) SWIG_fail
; 
5471         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5479 static PyObject 
*_wrap_Region_XorRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5480     PyObject 
*resultobj
; 
5481     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5485     PyObject 
* obj0 
= 0 ; 
5486     PyObject 
* obj1 
= 0 ; 
5488         (char *) "self",(char *) "rect", NULL 
 
5491     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
5492     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5493     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5496         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
5499         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5500         result 
= (bool)(arg1
)->Xor((wxRect 
const &)*arg2
); 
5502         wxPyEndAllowThreads(__tstate
); 
5503         if (PyErr_Occurred()) SWIG_fail
; 
5506         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5514 static PyObject 
*_wrap_Region_XorRegion(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5515     PyObject 
*resultobj
; 
5516     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5517     wxRegion 
*arg2 
= 0 ; 
5519     PyObject 
* obj0 
= 0 ; 
5520     PyObject 
* obj1 
= 0 ; 
5522         (char *) "self",(char *) "region", NULL 
 
5525     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
; 
5526     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5527     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5528     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
, 
5529     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5532         PyErr_SetString(PyExc_TypeError
,"null reference"); 
5536         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5537         result 
= (bool)(arg1
)->Xor((wxRegion 
const &)*arg2
); 
5539         wxPyEndAllowThreads(__tstate
); 
5540         if (PyErr_Occurred()) SWIG_fail
; 
5543         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5551 static PyObject 
*_wrap_Region_ConvertToBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5552     PyObject 
*resultobj
; 
5553     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5554     SwigValueWrapper
< wxBitmap 
> result
; 
5555     PyObject 
* obj0 
= 0 ; 
5557         (char *) "self", NULL 
 
5560     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
; 
5561     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5562     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5564         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5565         result 
= (arg1
)->ConvertToBitmap(); 
5567         wxPyEndAllowThreads(__tstate
); 
5568         if (PyErr_Occurred()) SWIG_fail
; 
5571         wxBitmap 
* resultptr
; 
5572         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
5573         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
5581 static PyObject 
*_wrap_Region_UnionBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5582     PyObject 
*resultobj
; 
5583     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
5584     wxBitmap 
*arg2 
= 0 ; 
5585     wxColour 
const &arg3_defvalue 
= wxNullColour 
; 
5586     wxColour 
*arg3 
= (wxColour 
*) &arg3_defvalue 
; 
5587     int arg4 
= (int) 0 ; 
5590     PyObject 
* obj0 
= 0 ; 
5591     PyObject 
* obj1 
= 0 ; 
5592     PyObject 
* obj2 
= 0 ; 
5593     PyObject 
* obj3 
= 0 ; 
5595         (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL 
 
5598     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
5599     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5600     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5601     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
5602     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5605         PyErr_SetString(PyExc_TypeError
,"null reference"); 
5611             if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
5615         arg4 
= (int) SWIG_AsInt(obj3
);  
5616         if (PyErr_Occurred()) SWIG_fail
; 
5619         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5620         result 
= (bool)(arg1
)->Union((wxBitmap 
const &)*arg2
,(wxColour 
const &)*arg3
,arg4
); 
5622         wxPyEndAllowThreads(__tstate
); 
5623         if (PyErr_Occurred()) SWIG_fail
; 
5626         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5634 static PyObject 
* Region_swigregister(PyObject 
*self
, PyObject 
*args
) { 
5636     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5637     SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
); 
5639     return Py_BuildValue((char *)""); 
5641 static PyObject 
*_wrap_new_RegionIterator(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5642     PyObject 
*resultobj
; 
5643     wxRegion 
*arg1 
= 0 ; 
5644     wxRegionIterator 
*result
; 
5645     PyObject 
* obj0 
= 0 ; 
5647         (char *) "region", NULL 
 
5650     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
; 
5651     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
, 
5652     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5655         PyErr_SetString(PyExc_TypeError
,"null reference"); 
5659         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5660         result 
= (wxRegionIterator 
*)new wxRegionIterator((wxRegion 
const &)*arg1
); 
5662         wxPyEndAllowThreads(__tstate
); 
5663         if (PyErr_Occurred()) SWIG_fail
; 
5665     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1); 
5672 static PyObject 
*_wrap_delete_RegionIterator(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5673     PyObject 
*resultobj
; 
5674     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
5675     PyObject 
* obj0 
= 0 ; 
5677         (char *) "self", NULL 
 
5680     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
; 
5681     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
5682     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5684         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5687         wxPyEndAllowThreads(__tstate
); 
5688         if (PyErr_Occurred()) SWIG_fail
; 
5690     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5697 static PyObject 
*_wrap_RegionIterator_GetX(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5698     PyObject 
*resultobj
; 
5699     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
5701     PyObject 
* obj0 
= 0 ; 
5703         (char *) "self", NULL 
 
5706     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
; 
5707     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
5708     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5710         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5711         result 
= (int)(arg1
)->GetX(); 
5713         wxPyEndAllowThreads(__tstate
); 
5714         if (PyErr_Occurred()) SWIG_fail
; 
5716     resultobj 
= SWIG_FromInt((int)result
); 
5723 static PyObject 
*_wrap_RegionIterator_GetY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5724     PyObject 
*resultobj
; 
5725     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
5727     PyObject 
* obj0 
= 0 ; 
5729         (char *) "self", NULL 
 
5732     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
; 
5733     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
5734     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5736         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5737         result 
= (int)(arg1
)->GetY(); 
5739         wxPyEndAllowThreads(__tstate
); 
5740         if (PyErr_Occurred()) SWIG_fail
; 
5742     resultobj 
= SWIG_FromInt((int)result
); 
5749 static PyObject 
*_wrap_RegionIterator_GetW(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5750     PyObject 
*resultobj
; 
5751     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
5753     PyObject 
* obj0 
= 0 ; 
5755         (char *) "self", NULL 
 
5758     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
; 
5759     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
5760     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5762         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5763         result 
= (int)(arg1
)->GetW(); 
5765         wxPyEndAllowThreads(__tstate
); 
5766         if (PyErr_Occurred()) SWIG_fail
; 
5768     resultobj 
= SWIG_FromInt((int)result
); 
5775 static PyObject 
*_wrap_RegionIterator_GetWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5776     PyObject 
*resultobj
; 
5777     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
5779     PyObject 
* obj0 
= 0 ; 
5781         (char *) "self", NULL 
 
5784     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
; 
5785     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
5786     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5788         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5789         result 
= (int)(arg1
)->GetWidth(); 
5791         wxPyEndAllowThreads(__tstate
); 
5792         if (PyErr_Occurred()) SWIG_fail
; 
5794     resultobj 
= SWIG_FromInt((int)result
); 
5801 static PyObject 
*_wrap_RegionIterator_GetH(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5802     PyObject 
*resultobj
; 
5803     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
5805     PyObject 
* obj0 
= 0 ; 
5807         (char *) "self", NULL 
 
5810     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
; 
5811     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
5812     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5814         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5815         result 
= (int)(arg1
)->GetH(); 
5817         wxPyEndAllowThreads(__tstate
); 
5818         if (PyErr_Occurred()) SWIG_fail
; 
5820     resultobj 
= SWIG_FromInt((int)result
); 
5827 static PyObject 
*_wrap_RegionIterator_GetHeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5828     PyObject 
*resultobj
; 
5829     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
5831     PyObject 
* obj0 
= 0 ; 
5833         (char *) "self", NULL 
 
5836     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
; 
5837     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
5838     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5840         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5841         result 
= (int)(arg1
)->GetHeight(); 
5843         wxPyEndAllowThreads(__tstate
); 
5844         if (PyErr_Occurred()) SWIG_fail
; 
5846     resultobj 
= SWIG_FromInt((int)result
); 
5853 static PyObject 
*_wrap_RegionIterator_GetRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5854     PyObject 
*resultobj
; 
5855     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
5857     PyObject 
* obj0 
= 0 ; 
5859         (char *) "self", NULL 
 
5862     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
; 
5863     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
5864     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5866         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5867         result 
= (arg1
)->GetRect(); 
5869         wxPyEndAllowThreads(__tstate
); 
5870         if (PyErr_Occurred()) SWIG_fail
; 
5874         resultptr 
= new wxRect((wxRect 
&) result
); 
5875         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
5883 static PyObject 
*_wrap_RegionIterator_HaveRects(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5884     PyObject 
*resultobj
; 
5885     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
5887     PyObject 
* obj0 
= 0 ; 
5889         (char *) "self", NULL 
 
5892     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
; 
5893     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
5894     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5896         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5897         result 
= (bool)(arg1
)->HaveRects(); 
5899         wxPyEndAllowThreads(__tstate
); 
5900         if (PyErr_Occurred()) SWIG_fail
; 
5903         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5911 static PyObject 
*_wrap_RegionIterator_Reset(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5912     PyObject 
*resultobj
; 
5913     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
5914     PyObject 
* obj0 
= 0 ; 
5916         (char *) "self", NULL 
 
5919     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
; 
5920     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
5921     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5923         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5926         wxPyEndAllowThreads(__tstate
); 
5927         if (PyErr_Occurred()) SWIG_fail
; 
5929     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5936 static PyObject 
*_wrap_RegionIterator_Next(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5937     PyObject 
*resultobj
; 
5938     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
5939     PyObject 
* obj0 
= 0 ; 
5941         (char *) "self", NULL 
 
5944     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
; 
5945     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
5946     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5948         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5949         wxRegionIterator_Next(arg1
); 
5951         wxPyEndAllowThreads(__tstate
); 
5952         if (PyErr_Occurred()) SWIG_fail
; 
5954     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5961 static PyObject 
*_wrap_RegionIterator___nonzero__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5962     PyObject 
*resultobj
; 
5963     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
5965     PyObject 
* obj0 
= 0 ; 
5967         (char *) "self", NULL 
 
5970     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
; 
5971     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
, 
5972     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5974         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5975         result 
= (bool)wxRegionIterator___nonzero__(arg1
); 
5977         wxPyEndAllowThreads(__tstate
); 
5978         if (PyErr_Occurred()) SWIG_fail
; 
5981         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5989 static PyObject 
* RegionIterator_swigregister(PyObject 
*self
, PyObject 
*args
) { 
5991     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5992     SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
); 
5994     return Py_BuildValue((char *)""); 
5996 static PyObject 
*_wrap_new_NativeFontInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5997     PyObject 
*resultobj
; 
5998     wxNativeFontInfo 
*result
; 
6003     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
; 
6005         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6006         result 
= (wxNativeFontInfo 
*)new wxNativeFontInfo(); 
6008         wxPyEndAllowThreads(__tstate
); 
6009         if (PyErr_Occurred()) SWIG_fail
; 
6011     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1); 
6018 static PyObject 
*_wrap_delete_NativeFontInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6019     PyObject 
*resultobj
; 
6020     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6021     PyObject 
* obj0 
= 0 ; 
6023         (char *) "self", NULL 
 
6026     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
; 
6027     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6028     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6030         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6033         wxPyEndAllowThreads(__tstate
); 
6034         if (PyErr_Occurred()) SWIG_fail
; 
6036     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6043 static PyObject 
*_wrap_NativeFontInfo_Init(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6044     PyObject 
*resultobj
; 
6045     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6046     PyObject 
* obj0 
= 0 ; 
6048         (char *) "self", NULL 
 
6051     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
; 
6052     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6053     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6055         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6058         wxPyEndAllowThreads(__tstate
); 
6059         if (PyErr_Occurred()) SWIG_fail
; 
6061     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6068 static PyObject 
*_wrap_NativeFontInfo_InitFromFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6069     PyObject 
*resultobj
; 
6070     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6072     PyObject 
* obj0 
= 0 ; 
6073     PyObject 
* obj1 
= 0 ; 
6075         (char *) "self",(char *) "font", NULL 
 
6078     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
6079     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6080     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6081     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
6082     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6085         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6089         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6090         (arg1
)->InitFromFont((wxFont 
const &)*arg2
); 
6092         wxPyEndAllowThreads(__tstate
); 
6093         if (PyErr_Occurred()) SWIG_fail
; 
6095     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6102 static PyObject 
*_wrap_NativeFontInfo_GetPointSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6103     PyObject 
*resultobj
; 
6104     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6106     PyObject 
* obj0 
= 0 ; 
6108         (char *) "self", NULL 
 
6111     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
; 
6112     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6113     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6115         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6116         result 
= (int)((wxNativeFontInfo 
const *)arg1
)->GetPointSize(); 
6118         wxPyEndAllowThreads(__tstate
); 
6119         if (PyErr_Occurred()) SWIG_fail
; 
6121     resultobj 
= SWIG_FromInt((int)result
); 
6128 static PyObject 
*_wrap_NativeFontInfo_GetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6129     PyObject 
*resultobj
; 
6130     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6132     PyObject 
* obj0 
= 0 ; 
6134         (char *) "self", NULL 
 
6137     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
; 
6138     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6139     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6141         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6142         result 
= (int)((wxNativeFontInfo 
const *)arg1
)->GetStyle(); 
6144         wxPyEndAllowThreads(__tstate
); 
6145         if (PyErr_Occurred()) SWIG_fail
; 
6147     resultobj 
= SWIG_FromInt((int)result
); 
6154 static PyObject 
*_wrap_NativeFontInfo_GetWeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6155     PyObject 
*resultobj
; 
6156     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6158     PyObject 
* obj0 
= 0 ; 
6160         (char *) "self", NULL 
 
6163     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
; 
6164     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6165     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6167         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6168         result 
= (int)((wxNativeFontInfo 
const *)arg1
)->GetWeight(); 
6170         wxPyEndAllowThreads(__tstate
); 
6171         if (PyErr_Occurred()) SWIG_fail
; 
6173     resultobj 
= SWIG_FromInt((int)result
); 
6180 static PyObject 
*_wrap_NativeFontInfo_GetUnderlined(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6181     PyObject 
*resultobj
; 
6182     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6184     PyObject 
* obj0 
= 0 ; 
6186         (char *) "self", NULL 
 
6189     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
; 
6190     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6191     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6193         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6194         result 
= (bool)((wxNativeFontInfo 
const *)arg1
)->GetUnderlined(); 
6196         wxPyEndAllowThreads(__tstate
); 
6197         if (PyErr_Occurred()) SWIG_fail
; 
6200         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6208 static PyObject 
*_wrap_NativeFontInfo_GetFaceName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6209     PyObject 
*resultobj
; 
6210     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6212     PyObject 
* obj0 
= 0 ; 
6214         (char *) "self", NULL 
 
6217     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
; 
6218     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6219     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6221         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6222         result 
= ((wxNativeFontInfo 
const *)arg1
)->GetFaceName(); 
6224         wxPyEndAllowThreads(__tstate
); 
6225         if (PyErr_Occurred()) SWIG_fail
; 
6229         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6231         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6240 static PyObject 
*_wrap_NativeFontInfo_GetFamily(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6241     PyObject 
*resultobj
; 
6242     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6244     PyObject 
* obj0 
= 0 ; 
6246         (char *) "self", NULL 
 
6249     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
; 
6250     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6251     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6253         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6254         result 
= (int)((wxNativeFontInfo 
const *)arg1
)->GetFamily(); 
6256         wxPyEndAllowThreads(__tstate
); 
6257         if (PyErr_Occurred()) SWIG_fail
; 
6259     resultobj 
= SWIG_FromInt((int)result
); 
6266 static PyObject 
*_wrap_NativeFontInfo_GetEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6267     PyObject 
*resultobj
; 
6268     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6270     PyObject 
* obj0 
= 0 ; 
6272         (char *) "self", NULL 
 
6275     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
; 
6276     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6277     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6279         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6280         result 
= (int)((wxNativeFontInfo 
const *)arg1
)->GetEncoding(); 
6282         wxPyEndAllowThreads(__tstate
); 
6283         if (PyErr_Occurred()) SWIG_fail
; 
6285     resultobj 
= SWIG_FromInt((int)result
); 
6292 static PyObject 
*_wrap_NativeFontInfo_SetPointSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6293     PyObject 
*resultobj
; 
6294     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6296     PyObject 
* obj0 
= 0 ; 
6297     PyObject 
* obj1 
= 0 ; 
6299         (char *) "self",(char *) "pointsize", NULL 
 
6302     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
6303     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6304     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6305     arg2 
= (int) SWIG_AsInt(obj1
);  
6306     if (PyErr_Occurred()) SWIG_fail
; 
6308         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6309         (arg1
)->SetPointSize(arg2
); 
6311         wxPyEndAllowThreads(__tstate
); 
6312         if (PyErr_Occurred()) SWIG_fail
; 
6314     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6321 static PyObject 
*_wrap_NativeFontInfo_SetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6322     PyObject 
*resultobj
; 
6323     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6325     PyObject 
* obj0 
= 0 ; 
6326     PyObject 
* obj1 
= 0 ; 
6328         (char *) "self",(char *) "style", NULL 
 
6331     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
6332     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6333     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6334     arg2 
= (wxFontStyle
) SWIG_AsInt(obj1
);  
6335     if (PyErr_Occurred()) SWIG_fail
; 
6337         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6338         (arg1
)->SetStyle((wxFontStyle 
)arg2
); 
6340         wxPyEndAllowThreads(__tstate
); 
6341         if (PyErr_Occurred()) SWIG_fail
; 
6343     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6350 static PyObject 
*_wrap_NativeFontInfo_SetWeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6351     PyObject 
*resultobj
; 
6352     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6354     PyObject 
* obj0 
= 0 ; 
6355     PyObject 
* obj1 
= 0 ; 
6357         (char *) "self",(char *) "weight", NULL 
 
6360     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
; 
6361     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6362     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6363     arg2 
= (wxFontWeight
) SWIG_AsInt(obj1
);  
6364     if (PyErr_Occurred()) SWIG_fail
; 
6366         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6367         (arg1
)->SetWeight((wxFontWeight 
)arg2
); 
6369         wxPyEndAllowThreads(__tstate
); 
6370         if (PyErr_Occurred()) SWIG_fail
; 
6372     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6379 static PyObject 
*_wrap_NativeFontInfo_SetUnderlined(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6380     PyObject 
*resultobj
; 
6381     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6383     PyObject 
* obj0 
= 0 ; 
6384     PyObject 
* obj1 
= 0 ; 
6386         (char *) "self",(char *) "underlined", NULL 
 
6389     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
; 
6390     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6391     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6392     arg2 
= (bool) SWIG_AsBool(obj1
);  
6393     if (PyErr_Occurred()) SWIG_fail
; 
6395         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6396         (arg1
)->SetUnderlined(arg2
); 
6398         wxPyEndAllowThreads(__tstate
); 
6399         if (PyErr_Occurred()) SWIG_fail
; 
6401     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6408 static PyObject 
*_wrap_NativeFontInfo_SetFaceName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6409     PyObject 
*resultobj
; 
6410     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6412     PyObject 
* obj0 
= 0 ; 
6413     PyObject 
* obj1 
= 0 ; 
6415         (char *) "self",(char *) "facename", NULL 
 
6418     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
; 
6419     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6420     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6422         wxString
* sptr 
= wxString_in_helper(obj1
); 
6423         if (sptr 
== NULL
) SWIG_fail
; 
6428         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6429         (arg1
)->SetFaceName(arg2
); 
6431         wxPyEndAllowThreads(__tstate
); 
6432         if (PyErr_Occurred()) SWIG_fail
; 
6434     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6441 static PyObject 
*_wrap_NativeFontInfo_SetFamily(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6442     PyObject 
*resultobj
; 
6443     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6445     PyObject 
* obj0 
= 0 ; 
6446     PyObject 
* obj1 
= 0 ; 
6448         (char *) "self",(char *) "family", NULL 
 
6451     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
; 
6452     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6453     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6454     arg2 
= (wxFontFamily
) SWIG_AsInt(obj1
);  
6455     if (PyErr_Occurred()) SWIG_fail
; 
6457         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6458         (arg1
)->SetFamily((wxFontFamily 
)arg2
); 
6460         wxPyEndAllowThreads(__tstate
); 
6461         if (PyErr_Occurred()) SWIG_fail
; 
6463     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6470 static PyObject 
*_wrap_NativeFontInfo_SetEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6471     PyObject 
*resultobj
; 
6472     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6474     PyObject 
* obj0 
= 0 ; 
6475     PyObject 
* obj1 
= 0 ; 
6477         (char *) "self",(char *) "encoding", NULL 
 
6480     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
; 
6481     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6482     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6483     arg2 
= (wxFontEncoding
) SWIG_AsInt(obj1
);  
6484     if (PyErr_Occurred()) SWIG_fail
; 
6486         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6487         (arg1
)->SetEncoding((wxFontEncoding 
)arg2
); 
6489         wxPyEndAllowThreads(__tstate
); 
6490         if (PyErr_Occurred()) SWIG_fail
; 
6492     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6499 static PyObject 
*_wrap_NativeFontInfo_FromString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6500     PyObject 
*resultobj
; 
6501     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6502     wxString 
*arg2 
= 0 ; 
6504     bool temp2 
= False 
; 
6505     PyObject 
* obj0 
= 0 ; 
6506     PyObject 
* obj1 
= 0 ; 
6508         (char *) "self",(char *) "s", NULL 
 
6511     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
; 
6512     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6513     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6515         arg2 
= wxString_in_helper(obj1
); 
6516         if (arg2 
== NULL
) SWIG_fail
; 
6520         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6521         result 
= (bool)(arg1
)->FromString((wxString 
const &)*arg2
); 
6523         wxPyEndAllowThreads(__tstate
); 
6524         if (PyErr_Occurred()) SWIG_fail
; 
6527         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6543 static PyObject 
*_wrap_NativeFontInfo_ToString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6544     PyObject 
*resultobj
; 
6545     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6547     PyObject 
* obj0 
= 0 ; 
6549         (char *) "self", NULL 
 
6552     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
; 
6553     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6554     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6556         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6557         result 
= ((wxNativeFontInfo 
const *)arg1
)->ToString(); 
6559         wxPyEndAllowThreads(__tstate
); 
6560         if (PyErr_Occurred()) SWIG_fail
; 
6564         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6566         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6575 static PyObject 
*_wrap_NativeFontInfo___str__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6576     PyObject 
*resultobj
; 
6577     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6579     PyObject 
* obj0 
= 0 ; 
6581         (char *) "self", NULL 
 
6584     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
; 
6585     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6586     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6588         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6589         result 
= wxNativeFontInfo___str__(arg1
); 
6591         wxPyEndAllowThreads(__tstate
); 
6592         if (PyErr_Occurred()) SWIG_fail
; 
6596         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6598         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6607 static PyObject 
*_wrap_NativeFontInfo_FromUserString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6608     PyObject 
*resultobj
; 
6609     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6610     wxString 
*arg2 
= 0 ; 
6612     bool temp2 
= False 
; 
6613     PyObject 
* obj0 
= 0 ; 
6614     PyObject 
* obj1 
= 0 ; 
6616         (char *) "self",(char *) "s", NULL 
 
6619     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
; 
6620     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6621     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6623         arg2 
= wxString_in_helper(obj1
); 
6624         if (arg2 
== NULL
) SWIG_fail
; 
6628         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6629         result 
= (bool)(arg1
)->FromUserString((wxString 
const &)*arg2
); 
6631         wxPyEndAllowThreads(__tstate
); 
6632         if (PyErr_Occurred()) SWIG_fail
; 
6635         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6651 static PyObject 
*_wrap_NativeFontInfo_ToUserString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6652     PyObject 
*resultobj
; 
6653     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
6655     PyObject 
* obj0 
= 0 ; 
6657         (char *) "self", NULL 
 
6660     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
; 
6661     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
6662     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6664         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6665         result 
= ((wxNativeFontInfo 
const *)arg1
)->ToUserString(); 
6667         wxPyEndAllowThreads(__tstate
); 
6668         if (PyErr_Occurred()) SWIG_fail
; 
6672         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6674         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6683 static PyObject 
* NativeFontInfo_swigregister(PyObject 
*self
, PyObject 
*args
) { 
6685     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6686     SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
); 
6688     return Py_BuildValue((char *)""); 
6690 static PyObject 
*_wrap_NativeEncodingInfo_facename_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6691     PyObject 
*resultobj
; 
6692     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
6693     wxString 
*arg2 
= (wxString 
*) 0 ; 
6694     bool temp2 
= False 
; 
6695     PyObject 
* obj0 
= 0 ; 
6696     PyObject 
* obj1 
= 0 ; 
6698         (char *) "self",(char *) "facename", NULL 
 
6701     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
6702     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
, 
6703     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6705         arg2 
= wxString_in_helper(obj1
); 
6706         if (arg2 
== NULL
) SWIG_fail
; 
6709     if (arg1
) (arg1
)->facename 
= *arg2
; 
6711     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6726 static PyObject 
*_wrap_NativeEncodingInfo_facename_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6727     PyObject 
*resultobj
; 
6728     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
6730     PyObject 
* obj0 
= 0 ; 
6732         (char *) "self", NULL 
 
6735     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
; 
6736     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
, 
6737     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6738     result 
= (wxString 
*)& ((arg1
)->facename
); 
6742         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
6744         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
6753 static PyObject 
*_wrap_NativeEncodingInfo_encoding_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6754     PyObject 
*resultobj
; 
6755     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
6757     PyObject 
* obj0 
= 0 ; 
6758     PyObject 
* obj1 
= 0 ; 
6760         (char *) "self",(char *) "encoding", NULL 
 
6763     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
6764     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
, 
6765     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6766     arg2 
= (wxFontEncoding
) SWIG_AsInt(obj1
);  
6767     if (PyErr_Occurred()) SWIG_fail
; 
6768     if (arg1
) (arg1
)->encoding 
= (wxFontEncoding 
)arg2
; 
6770     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6777 static PyObject 
*_wrap_NativeEncodingInfo_encoding_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6778     PyObject 
*resultobj
; 
6779     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
6781     PyObject 
* obj0 
= 0 ; 
6783         (char *) "self", NULL 
 
6786     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
; 
6787     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
, 
6788     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6789     result 
= (int) ((arg1
)->encoding
); 
6791     resultobj 
= SWIG_FromInt((int)result
); 
6798 static PyObject 
*_wrap_new_NativeEncodingInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6799     PyObject 
*resultobj
; 
6800     wxNativeEncodingInfo 
*result
; 
6805     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
; 
6807         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6808         result 
= (wxNativeEncodingInfo 
*)new wxNativeEncodingInfo(); 
6810         wxPyEndAllowThreads(__tstate
); 
6811         if (PyErr_Occurred()) SWIG_fail
; 
6813     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1); 
6820 static PyObject 
*_wrap_delete_NativeEncodingInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6821     PyObject 
*resultobj
; 
6822     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
6823     PyObject 
* obj0 
= 0 ; 
6825         (char *) "self", NULL 
 
6828     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
; 
6829     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
, 
6830     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6832         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6835         wxPyEndAllowThreads(__tstate
); 
6836         if (PyErr_Occurred()) SWIG_fail
; 
6838     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6845 static PyObject 
*_wrap_NativeEncodingInfo_FromString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6846     PyObject 
*resultobj
; 
6847     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
6848     wxString 
*arg2 
= 0 ; 
6850     bool temp2 
= False 
; 
6851     PyObject 
* obj0 
= 0 ; 
6852     PyObject 
* obj1 
= 0 ; 
6854         (char *) "self",(char *) "s", NULL 
 
6857     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
; 
6858     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
, 
6859     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6861         arg2 
= wxString_in_helper(obj1
); 
6862         if (arg2 
== NULL
) SWIG_fail
; 
6866         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6867         result 
= (bool)(arg1
)->FromString((wxString 
const &)*arg2
); 
6869         wxPyEndAllowThreads(__tstate
); 
6870         if (PyErr_Occurred()) SWIG_fail
; 
6873         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6889 static PyObject 
*_wrap_NativeEncodingInfo_ToString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6890     PyObject 
*resultobj
; 
6891     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
6893     PyObject 
* obj0 
= 0 ; 
6895         (char *) "self", NULL 
 
6898     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
; 
6899     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
, 
6900     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6902         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6903         result 
= ((wxNativeEncodingInfo 
const *)arg1
)->ToString(); 
6905         wxPyEndAllowThreads(__tstate
); 
6906         if (PyErr_Occurred()) SWIG_fail
; 
6910         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6912         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6921 static PyObject 
* NativeEncodingInfo_swigregister(PyObject 
*self
, PyObject 
*args
) { 
6923     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6924     SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
); 
6926     return Py_BuildValue((char *)""); 
6928 static PyObject 
*_wrap_GetNativeFontEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6929     PyObject 
*resultobj
; 
6931     wxNativeEncodingInfo 
*result
; 
6932     PyObject 
* obj0 
= 0 ; 
6934         (char *) "encoding", NULL 
 
6937     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
; 
6938     arg1 
= (wxFontEncoding
) SWIG_AsInt(obj0
);  
6939     if (PyErr_Occurred()) SWIG_fail
; 
6941         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6942         result 
= (wxNativeEncodingInfo 
*)wxGetNativeFontEncoding((wxFontEncoding 
)arg1
); 
6944         wxPyEndAllowThreads(__tstate
); 
6945         if (PyErr_Occurred()) SWIG_fail
; 
6947     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0); 
6954 static PyObject 
*_wrap_TestFontEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6955     PyObject 
*resultobj
; 
6956     wxNativeEncodingInfo 
*arg1 
= 0 ; 
6958     PyObject 
* obj0 
= 0 ; 
6960         (char *) "info", NULL 
 
6963     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
; 
6964     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
, 
6965     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6968         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6972         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6973         result 
= (bool)wxTestFontEncoding((wxNativeEncodingInfo 
const &)*arg1
); 
6975         wxPyEndAllowThreads(__tstate
); 
6976         if (PyErr_Occurred()) SWIG_fail
; 
6979         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6987 static PyObject 
*_wrap_new_FontMapper(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6988     PyObject 
*resultobj
; 
6989     wxFontMapper 
*result
; 
6994     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
; 
6996         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6997         result 
= (wxFontMapper 
*)new wxFontMapper(); 
6999         wxPyEndAllowThreads(__tstate
); 
7000         if (PyErr_Occurred()) SWIG_fail
; 
7002     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1); 
7009 static PyObject 
*_wrap_delete_FontMapper(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7010     PyObject 
*resultobj
; 
7011     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
7012     PyObject 
* obj0 
= 0 ; 
7014         (char *) "self", NULL 
 
7017     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
; 
7018     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
, 
7019     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7021         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7024         wxPyEndAllowThreads(__tstate
); 
7025         if (PyErr_Occurred()) SWIG_fail
; 
7027     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7034 static PyObject 
*_wrap_FontMapper_Get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7035     PyObject 
*resultobj
; 
7036     wxFontMapper 
*result
; 
7041     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
; 
7043         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7044         result 
= (wxFontMapper 
*)wxFontMapper::Get(); 
7046         wxPyEndAllowThreads(__tstate
); 
7047         if (PyErr_Occurred()) SWIG_fail
; 
7049     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0); 
7056 static PyObject 
*_wrap_FontMapper_Set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7057     PyObject 
*resultobj
; 
7058     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
7059     wxFontMapper 
*result
; 
7060     PyObject 
* obj0 
= 0 ; 
7062         (char *) "mapper", NULL 
 
7065     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
; 
7066     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
, 
7067     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7069         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7070         result 
= (wxFontMapper 
*)wxFontMapper::Set(arg1
); 
7072         wxPyEndAllowThreads(__tstate
); 
7073         if (PyErr_Occurred()) SWIG_fail
; 
7075     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0); 
7082 static PyObject 
*_wrap_FontMapper_CharsetToEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7083     PyObject 
*resultobj
; 
7084     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
7085     wxString 
*arg2 
= 0 ; 
7086     bool arg3 
= (bool) True 
; 
7088     bool temp2 
= False 
; 
7089     PyObject 
* obj0 
= 0 ; 
7090     PyObject 
* obj1 
= 0 ; 
7091     PyObject 
* obj2 
= 0 ; 
7093         (char *) "self",(char *) "charset",(char *) "interactive", NULL 
 
7096     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7097     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
, 
7098     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7100         arg2 
= wxString_in_helper(obj1
); 
7101         if (arg2 
== NULL
) SWIG_fail
; 
7105         arg3 
= (bool) SWIG_AsBool(obj2
);  
7106         if (PyErr_Occurred()) SWIG_fail
; 
7109         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7110         result 
= (int)(arg1
)->CharsetToEncoding((wxString 
const &)*arg2
,arg3
); 
7112         wxPyEndAllowThreads(__tstate
); 
7113         if (PyErr_Occurred()) SWIG_fail
; 
7115     resultobj 
= SWIG_FromInt((int)result
); 
7130 static PyObject 
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7131     PyObject 
*resultobj
; 
7137     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
; 
7139         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7140         result 
= (size_t)wxFontMapper::GetSupportedEncodingsCount(); 
7142         wxPyEndAllowThreads(__tstate
); 
7143         if (PyErr_Occurred()) SWIG_fail
; 
7145     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
7152 static PyObject 
*_wrap_FontMapper_GetEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7153     PyObject 
*resultobj
; 
7156     PyObject 
* obj0 
= 0 ; 
7161     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
; 
7162     arg1 
= (size_t) SWIG_AsUnsignedLong(obj0
);  
7163     if (PyErr_Occurred()) SWIG_fail
; 
7165         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7166         result 
= (int)wxFontMapper::GetEncoding(arg1
); 
7168         wxPyEndAllowThreads(__tstate
); 
7169         if (PyErr_Occurred()) SWIG_fail
; 
7171     resultobj 
= SWIG_FromInt((int)result
); 
7178 static PyObject 
*_wrap_FontMapper_GetEncodingName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7179     PyObject 
*resultobj
; 
7182     PyObject 
* obj0 
= 0 ; 
7184         (char *) "encoding", NULL 
 
7187     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
; 
7188     arg1 
= (wxFontEncoding
) SWIG_AsInt(obj0
);  
7189     if (PyErr_Occurred()) SWIG_fail
; 
7191         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7192         result 
= wxFontMapper::GetEncodingName((wxFontEncoding 
)arg1
); 
7194         wxPyEndAllowThreads(__tstate
); 
7195         if (PyErr_Occurred()) SWIG_fail
; 
7199         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7201         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
7210 static PyObject 
*_wrap_FontMapper_GetEncodingDescription(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7211     PyObject 
*resultobj
; 
7214     PyObject 
* obj0 
= 0 ; 
7216         (char *) "encoding", NULL 
 
7219     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
; 
7220     arg1 
= (wxFontEncoding
) SWIG_AsInt(obj0
);  
7221     if (PyErr_Occurred()) SWIG_fail
; 
7223         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7224         result 
= wxFontMapper::GetEncodingDescription((wxFontEncoding 
)arg1
); 
7226         wxPyEndAllowThreads(__tstate
); 
7227         if (PyErr_Occurred()) SWIG_fail
; 
7231         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7233         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
7242 static PyObject 
*_wrap_FontMapper_SetConfig(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7243     PyObject 
*resultobj
; 
7244     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
7245     wxConfigBase 
*arg2 
= (wxConfigBase 
*) 0 ; 
7246     PyObject 
* obj0 
= 0 ; 
7247     PyObject 
* obj1 
= 0 ; 
7249         (char *) "self",(char *) "config", NULL 
 
7252     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
; 
7253     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
, 
7254     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7255     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
, 
7256     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7258         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7259         (arg1
)->SetConfig(arg2
); 
7261         wxPyEndAllowThreads(__tstate
); 
7262         if (PyErr_Occurred()) SWIG_fail
; 
7264     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7271 static PyObject 
*_wrap_FontMapper_SetConfigPath(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7272     PyObject 
*resultobj
; 
7273     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
7274     wxString 
*arg2 
= 0 ; 
7275     bool temp2 
= False 
; 
7276     PyObject 
* obj0 
= 0 ; 
7277     PyObject 
* obj1 
= 0 ; 
7279         (char *) "self",(char *) "prefix", NULL 
 
7282     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
; 
7283     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
, 
7284     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7286         arg2 
= wxString_in_helper(obj1
); 
7287         if (arg2 
== NULL
) SWIG_fail
; 
7291         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7292         (arg1
)->SetConfigPath((wxString 
const &)*arg2
); 
7294         wxPyEndAllowThreads(__tstate
); 
7295         if (PyErr_Occurred()) SWIG_fail
; 
7297     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7312 static PyObject 
*_wrap_FontMapper_GetDefaultConfigPath(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7313     PyObject 
*resultobj
; 
7319     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
; 
7321         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7322         result 
= wxFontMapper::GetDefaultConfigPath(); 
7324         wxPyEndAllowThreads(__tstate
); 
7325         if (PyErr_Occurred()) SWIG_fail
; 
7329         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7331         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
7340 static PyObject 
*_wrap_FontMapper_GetAltForEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7341     PyObject 
*resultobj
; 
7342     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
7344     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
7345     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
7346     bool arg4 
= (bool) True 
; 
7348     bool temp3 
= False 
; 
7349     PyObject 
* obj0 
= 0 ; 
7350     PyObject 
* obj1 
= 0 ; 
7351     PyObject 
* obj2 
= 0 ; 
7352     PyObject 
* obj3 
= 0 ; 
7354         (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL 
 
7357     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
7358     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
, 
7359     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7360     arg2 
= (wxFontEncoding
) SWIG_AsInt(obj1
);  
7361     if (PyErr_Occurred()) SWIG_fail
; 
7364             arg3 
= wxString_in_helper(obj2
); 
7365             if (arg3 
== NULL
) SWIG_fail
; 
7370         arg4 
= (bool) SWIG_AsBool(obj3
);  
7371         if (PyErr_Occurred()) SWIG_fail
; 
7374         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7375         result 
= (PyObject 
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding 
)arg2
,(wxString 
const &)*arg3
,arg4
); 
7377         wxPyEndAllowThreads(__tstate
); 
7378         if (PyErr_Occurred()) SWIG_fail
; 
7395 static PyObject 
*_wrap_FontMapper_IsEncodingAvailable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7396     PyObject 
*resultobj
; 
7397     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
7399     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
7400     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
7402     bool temp3 
= False 
; 
7403     PyObject 
* obj0 
= 0 ; 
7404     PyObject 
* obj1 
= 0 ; 
7405     PyObject 
* obj2 
= 0 ; 
7407         (char *) "self",(char *) "encoding",(char *) "facename", NULL 
 
7410     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7411     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
, 
7412     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7413     arg2 
= (wxFontEncoding
) SWIG_AsInt(obj1
);  
7414     if (PyErr_Occurred()) SWIG_fail
; 
7417             arg3 
= wxString_in_helper(obj2
); 
7418             if (arg3 
== NULL
) SWIG_fail
; 
7423         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7424         result 
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding 
)arg2
,(wxString 
const &)*arg3
); 
7426         wxPyEndAllowThreads(__tstate
); 
7427         if (PyErr_Occurred()) SWIG_fail
; 
7430         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7446 static PyObject 
*_wrap_FontMapper_SetDialogParent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7447     PyObject 
*resultobj
; 
7448     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
7449     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
7450     PyObject 
* obj0 
= 0 ; 
7451     PyObject 
* obj1 
= 0 ; 
7453         (char *) "self",(char *) "parent", NULL 
 
7456     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
; 
7457     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
, 
7458     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7459     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
7460     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7462         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7463         (arg1
)->SetDialogParent(arg2
); 
7465         wxPyEndAllowThreads(__tstate
); 
7466         if (PyErr_Occurred()) SWIG_fail
; 
7468     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7475 static PyObject 
*_wrap_FontMapper_SetDialogTitle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7476     PyObject 
*resultobj
; 
7477     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
7478     wxString 
*arg2 
= 0 ; 
7479     bool temp2 
= False 
; 
7480     PyObject 
* obj0 
= 0 ; 
7481     PyObject 
* obj1 
= 0 ; 
7483         (char *) "self",(char *) "title", NULL 
 
7486     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
; 
7487     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
, 
7488     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7490         arg2 
= wxString_in_helper(obj1
); 
7491         if (arg2 
== NULL
) SWIG_fail
; 
7495         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7496         (arg1
)->SetDialogTitle((wxString 
const &)*arg2
); 
7498         wxPyEndAllowThreads(__tstate
); 
7499         if (PyErr_Occurred()) SWIG_fail
; 
7501     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7516 static PyObject 
* FontMapper_swigregister(PyObject 
*self
, PyObject 
*args
) { 
7518     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7519     SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
); 
7521     return Py_BuildValue((char *)""); 
7523 static PyObject 
*_wrap_new_Font(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7524     PyObject 
*resultobj
; 
7529     bool arg5 
= (bool) False 
; 
7530     wxString 
const &arg6_defvalue 
= wxPyEmptyString 
; 
7531     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
7532     int arg7 
= (int) wxFONTENCODING_DEFAULT 
; 
7534     bool temp6 
= False 
; 
7535     PyObject 
* obj0 
= 0 ; 
7536     PyObject 
* obj1 
= 0 ; 
7537     PyObject 
* obj2 
= 0 ; 
7538     PyObject 
* obj3 
= 0 ; 
7539     PyObject 
* obj4 
= 0 ; 
7540     PyObject 
* obj5 
= 0 ; 
7541     PyObject 
* obj6 
= 0 ; 
7543         (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL 
 
7546     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
7547     arg1 
= (int) SWIG_AsInt(obj0
);  
7548     if (PyErr_Occurred()) SWIG_fail
; 
7549     arg2 
= (int) SWIG_AsInt(obj1
);  
7550     if (PyErr_Occurred()) SWIG_fail
; 
7551     arg3 
= (int) SWIG_AsInt(obj2
);  
7552     if (PyErr_Occurred()) SWIG_fail
; 
7553     arg4 
= (int) SWIG_AsInt(obj3
);  
7554     if (PyErr_Occurred()) SWIG_fail
; 
7556         arg5 
= (bool) SWIG_AsBool(obj4
);  
7557         if (PyErr_Occurred()) SWIG_fail
; 
7561             arg6 
= wxString_in_helper(obj5
); 
7562             if (arg6 
== NULL
) SWIG_fail
; 
7567         arg7 
= (wxFontEncoding
) SWIG_AsInt(obj6
);  
7568         if (PyErr_Occurred()) SWIG_fail
; 
7571         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7572         result 
= (wxFont 
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString 
const &)*arg6
,(wxFontEncoding 
)arg7
); 
7574         wxPyEndAllowThreads(__tstate
); 
7575         if (PyErr_Occurred()) SWIG_fail
; 
7577     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1); 
7592 static PyObject 
*_wrap_delete_Font(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7593     PyObject 
*resultobj
; 
7594     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
7595     PyObject 
* obj0 
= 0 ; 
7597         (char *) "self", NULL 
 
7600     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
; 
7601     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
7602     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7604         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7607         wxPyEndAllowThreads(__tstate
); 
7608         if (PyErr_Occurred()) SWIG_fail
; 
7610     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7617 static PyObject 
*_wrap_new_FontFromNativeInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7618     PyObject 
*resultobj
; 
7619     wxNativeFontInfo 
*arg1 
= 0 ; 
7621     PyObject 
* obj0 
= 0 ; 
7623         (char *) "info", NULL 
 
7626     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
; 
7627     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
, 
7628     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
7631         PyErr_SetString(PyExc_TypeError
,"null reference"); 
7635         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7636         result 
= (wxFont 
*)new wxFont((wxNativeFontInfo 
const &)*arg1
); 
7638         wxPyEndAllowThreads(__tstate
); 
7639         if (PyErr_Occurred()) SWIG_fail
; 
7641     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1); 
7648 static PyObject 
*_wrap_new_FontFromNativeInfoString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7649     PyObject 
*resultobj
; 
7650     wxString 
*arg1 
= 0 ; 
7652     bool temp1 
= False 
; 
7653     PyObject 
* obj0 
= 0 ; 
7655         (char *) "info", NULL 
 
7658     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
; 
7660         arg1 
= wxString_in_helper(obj0
); 
7661         if (arg1 
== NULL
) SWIG_fail
; 
7665         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7666         result 
= (wxFont 
*)new_wxFont((wxString 
const &)*arg1
); 
7668         wxPyEndAllowThreads(__tstate
); 
7669         if (PyErr_Occurred()) SWIG_fail
; 
7671     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1); 
7686 static PyObject 
*_wrap_new_Font2(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7687     PyObject 
*resultobj
; 
7690     int arg3 
= (int) wxFONTFLAG_DEFAULT 
; 
7691     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
7692     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
7693     int arg5 
= (int) wxFONTENCODING_DEFAULT 
; 
7695     bool temp4 
= False 
; 
7696     PyObject 
* obj0 
= 0 ; 
7697     PyObject 
* obj1 
= 0 ; 
7698     PyObject 
* obj2 
= 0 ; 
7699     PyObject 
* obj3 
= 0 ; 
7700     PyObject 
* obj4 
= 0 ; 
7702         (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL 
 
7705     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
7706     arg1 
= (int) SWIG_AsInt(obj0
);  
7707     if (PyErr_Occurred()) SWIG_fail
; 
7708     arg2 
= (wxFontFamily
) SWIG_AsInt(obj1
);  
7709     if (PyErr_Occurred()) SWIG_fail
; 
7711         arg3 
= (int) SWIG_AsInt(obj2
);  
7712         if (PyErr_Occurred()) SWIG_fail
; 
7716             arg4 
= wxString_in_helper(obj3
); 
7717             if (arg4 
== NULL
) SWIG_fail
; 
7722         arg5 
= (wxFontEncoding
) SWIG_AsInt(obj4
);  
7723         if (PyErr_Occurred()) SWIG_fail
; 
7726         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7727         result 
= (wxFont 
*)new_wxFont(arg1
,(wxFontFamily 
)arg2
,arg3
,(wxString 
const &)*arg4
,(wxFontEncoding 
)arg5
); 
7729         wxPyEndAllowThreads(__tstate
); 
7730         if (PyErr_Occurred()) SWIG_fail
; 
7732     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1); 
7747 static PyObject 
*_wrap_Font_Ok(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7748     PyObject 
*resultobj
; 
7749     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
7751     PyObject 
* obj0 
= 0 ; 
7753         (char *) "self", NULL 
 
7756     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
; 
7757     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
7758     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7760         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7761         result 
= (bool)((wxFont 
const *)arg1
)->Ok(); 
7763         wxPyEndAllowThreads(__tstate
); 
7764         if (PyErr_Occurred()) SWIG_fail
; 
7767         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7775 static PyObject 
*_wrap_Font___eq__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7776     PyObject 
*resultobj
; 
7777     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
7778     wxFont 
*arg2 
= (wxFont 
*) 0 ; 
7780     PyObject 
* obj0 
= 0 ; 
7781     PyObject 
* obj1 
= 0 ; 
7783         (char *) "self",(char *) "other", NULL 
 
7786     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
7787     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
7788     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7789     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
7790     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7792         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7793         result 
= (bool)wxFont___eq__(arg1
,(wxFont 
const *)arg2
); 
7795         wxPyEndAllowThreads(__tstate
); 
7796         if (PyErr_Occurred()) SWIG_fail
; 
7799         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7807 static PyObject 
*_wrap_Font___ne__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7808     PyObject 
*resultobj
; 
7809     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
7810     wxFont 
*arg2 
= (wxFont 
*) 0 ; 
7812     PyObject 
* obj0 
= 0 ; 
7813     PyObject 
* obj1 
= 0 ; 
7815         (char *) "self",(char *) "other", NULL 
 
7818     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
7819     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
7820     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7821     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
7822     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7824         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7825         result 
= (bool)wxFont___ne__(arg1
,(wxFont 
const *)arg2
); 
7827         wxPyEndAllowThreads(__tstate
); 
7828         if (PyErr_Occurred()) SWIG_fail
; 
7831         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7839 static PyObject 
*_wrap_Font_GetPointSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7840     PyObject 
*resultobj
; 
7841     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
7843     PyObject 
* obj0 
= 0 ; 
7845         (char *) "self", NULL 
 
7848     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
; 
7849     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
7850     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7852         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7853         result 
= (int)((wxFont 
const *)arg1
)->GetPointSize(); 
7855         wxPyEndAllowThreads(__tstate
); 
7856         if (PyErr_Occurred()) SWIG_fail
; 
7858     resultobj 
= SWIG_FromInt((int)result
); 
7865 static PyObject 
*_wrap_Font_GetFamily(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7866     PyObject 
*resultobj
; 
7867     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
7869     PyObject 
* obj0 
= 0 ; 
7871         (char *) "self", NULL 
 
7874     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
; 
7875     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
7876     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7878         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7879         result 
= (int)((wxFont 
const *)arg1
)->GetFamily(); 
7881         wxPyEndAllowThreads(__tstate
); 
7882         if (PyErr_Occurred()) SWIG_fail
; 
7884     resultobj 
= SWIG_FromInt((int)result
); 
7891 static PyObject 
*_wrap_Font_GetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7892     PyObject 
*resultobj
; 
7893     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
7895     PyObject 
* obj0 
= 0 ; 
7897         (char *) "self", NULL 
 
7900     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
; 
7901     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
7902     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7904         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7905         result 
= (int)((wxFont 
const *)arg1
)->GetStyle(); 
7907         wxPyEndAllowThreads(__tstate
); 
7908         if (PyErr_Occurred()) SWIG_fail
; 
7910     resultobj 
= SWIG_FromInt((int)result
); 
7917 static PyObject 
*_wrap_Font_GetWeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7918     PyObject 
*resultobj
; 
7919     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
7921     PyObject 
* obj0 
= 0 ; 
7923         (char *) "self", NULL 
 
7926     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
; 
7927     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
7928     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7930         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7931         result 
= (int)((wxFont 
const *)arg1
)->GetWeight(); 
7933         wxPyEndAllowThreads(__tstate
); 
7934         if (PyErr_Occurred()) SWIG_fail
; 
7936     resultobj 
= SWIG_FromInt((int)result
); 
7943 static PyObject 
*_wrap_Font_GetUnderlined(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7944     PyObject 
*resultobj
; 
7945     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
7947     PyObject 
* obj0 
= 0 ; 
7949         (char *) "self", NULL 
 
7952     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
; 
7953     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
7954     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7956         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7957         result 
= (bool)((wxFont 
const *)arg1
)->GetUnderlined(); 
7959         wxPyEndAllowThreads(__tstate
); 
7960         if (PyErr_Occurred()) SWIG_fail
; 
7963         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7971 static PyObject 
*_wrap_Font_GetFaceName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7972     PyObject 
*resultobj
; 
7973     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
7975     PyObject 
* obj0 
= 0 ; 
7977         (char *) "self", NULL 
 
7980     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
; 
7981     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
7982     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7984         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7985         result 
= ((wxFont 
const *)arg1
)->GetFaceName(); 
7987         wxPyEndAllowThreads(__tstate
); 
7988         if (PyErr_Occurred()) SWIG_fail
; 
7992         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7994         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8003 static PyObject 
*_wrap_Font_GetEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8004     PyObject 
*resultobj
; 
8005     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8007     PyObject 
* obj0 
= 0 ; 
8009         (char *) "self", NULL 
 
8012     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
; 
8013     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8014     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8016         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8017         result 
= (int)((wxFont 
const *)arg1
)->GetEncoding(); 
8019         wxPyEndAllowThreads(__tstate
); 
8020         if (PyErr_Occurred()) SWIG_fail
; 
8022     resultobj 
= SWIG_FromInt((int)result
); 
8029 static PyObject 
*_wrap_Font_GetNativeFontInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8030     PyObject 
*resultobj
; 
8031     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8032     wxNativeFontInfo 
*result
; 
8033     PyObject 
* obj0 
= 0 ; 
8035         (char *) "self", NULL 
 
8038     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
; 
8039     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8040     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8042         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8043         result 
= (wxNativeFontInfo 
*)((wxFont 
const *)arg1
)->GetNativeFontInfo(); 
8045         wxPyEndAllowThreads(__tstate
); 
8046         if (PyErr_Occurred()) SWIG_fail
; 
8048     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0); 
8055 static PyObject 
*_wrap_Font_IsFixedWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8056     PyObject 
*resultobj
; 
8057     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8059     PyObject 
* obj0 
= 0 ; 
8061         (char *) "self", NULL 
 
8064     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
; 
8065     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8066     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8068         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8069         result 
= (bool)((wxFont 
const *)arg1
)->IsFixedWidth(); 
8071         wxPyEndAllowThreads(__tstate
); 
8072         if (PyErr_Occurred()) SWIG_fail
; 
8075         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8083 static PyObject 
*_wrap_Font_GetNativeFontInfoDesc(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8084     PyObject 
*resultobj
; 
8085     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8087     PyObject 
* obj0 
= 0 ; 
8089         (char *) "self", NULL 
 
8092     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
; 
8093     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8094     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8096         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8097         result 
= ((wxFont 
const *)arg1
)->GetNativeFontInfoDesc(); 
8099         wxPyEndAllowThreads(__tstate
); 
8100         if (PyErr_Occurred()) SWIG_fail
; 
8104         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8106         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8115 static PyObject 
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8116     PyObject 
*resultobj
; 
8117     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8119     PyObject 
* obj0 
= 0 ; 
8121         (char *) "self", NULL 
 
8124     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
; 
8125     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8126     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8128         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8129         result 
= ((wxFont 
const *)arg1
)->GetNativeFontInfoUserDesc(); 
8131         wxPyEndAllowThreads(__tstate
); 
8132         if (PyErr_Occurred()) SWIG_fail
; 
8136         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8138         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8147 static PyObject 
*_wrap_Font_SetPointSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8148     PyObject 
*resultobj
; 
8149     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8151     PyObject 
* obj0 
= 0 ; 
8152     PyObject 
* obj1 
= 0 ; 
8154         (char *) "self",(char *) "pointSize", NULL 
 
8157     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
8158     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8159     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8160     arg2 
= (int) SWIG_AsInt(obj1
);  
8161     if (PyErr_Occurred()) SWIG_fail
; 
8163         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8164         (arg1
)->SetPointSize(arg2
); 
8166         wxPyEndAllowThreads(__tstate
); 
8167         if (PyErr_Occurred()) SWIG_fail
; 
8169     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8176 static PyObject 
*_wrap_Font_SetFamily(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8177     PyObject 
*resultobj
; 
8178     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8180     PyObject 
* obj0 
= 0 ; 
8181     PyObject 
* obj1 
= 0 ; 
8183         (char *) "self",(char *) "family", NULL 
 
8186     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
; 
8187     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8188     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8189     arg2 
= (int) SWIG_AsInt(obj1
);  
8190     if (PyErr_Occurred()) SWIG_fail
; 
8192         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8193         (arg1
)->SetFamily(arg2
); 
8195         wxPyEndAllowThreads(__tstate
); 
8196         if (PyErr_Occurred()) SWIG_fail
; 
8198     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8205 static PyObject 
*_wrap_Font_SetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8206     PyObject 
*resultobj
; 
8207     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8209     PyObject 
* obj0 
= 0 ; 
8210     PyObject 
* obj1 
= 0 ; 
8212         (char *) "self",(char *) "style", NULL 
 
8215     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
8216     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8217     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8218     arg2 
= (int) SWIG_AsInt(obj1
);  
8219     if (PyErr_Occurred()) SWIG_fail
; 
8221         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8222         (arg1
)->SetStyle(arg2
); 
8224         wxPyEndAllowThreads(__tstate
); 
8225         if (PyErr_Occurred()) SWIG_fail
; 
8227     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8234 static PyObject 
*_wrap_Font_SetWeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8235     PyObject 
*resultobj
; 
8236     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8238     PyObject 
* obj0 
= 0 ; 
8239     PyObject 
* obj1 
= 0 ; 
8241         (char *) "self",(char *) "weight", NULL 
 
8244     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
; 
8245     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8246     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8247     arg2 
= (int) SWIG_AsInt(obj1
);  
8248     if (PyErr_Occurred()) SWIG_fail
; 
8250         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8251         (arg1
)->SetWeight(arg2
); 
8253         wxPyEndAllowThreads(__tstate
); 
8254         if (PyErr_Occurred()) SWIG_fail
; 
8256     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8263 static PyObject 
*_wrap_Font_SetFaceName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8264     PyObject 
*resultobj
; 
8265     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8266     wxString 
*arg2 
= 0 ; 
8267     bool temp2 
= False 
; 
8268     PyObject 
* obj0 
= 0 ; 
8269     PyObject 
* obj1 
= 0 ; 
8271         (char *) "self",(char *) "faceName", NULL 
 
8274     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
; 
8275     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8276     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8278         arg2 
= wxString_in_helper(obj1
); 
8279         if (arg2 
== NULL
) SWIG_fail
; 
8283         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8284         (arg1
)->SetFaceName((wxString 
const &)*arg2
); 
8286         wxPyEndAllowThreads(__tstate
); 
8287         if (PyErr_Occurred()) SWIG_fail
; 
8289     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8304 static PyObject 
*_wrap_Font_SetUnderlined(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8305     PyObject 
*resultobj
; 
8306     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8308     PyObject 
* obj0 
= 0 ; 
8309     PyObject 
* obj1 
= 0 ; 
8311         (char *) "self",(char *) "underlined", NULL 
 
8314     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
; 
8315     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8316     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8317     arg2 
= (bool) SWIG_AsBool(obj1
);  
8318     if (PyErr_Occurred()) SWIG_fail
; 
8320         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8321         (arg1
)->SetUnderlined(arg2
); 
8323         wxPyEndAllowThreads(__tstate
); 
8324         if (PyErr_Occurred()) SWIG_fail
; 
8326     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8333 static PyObject 
*_wrap_Font_SetEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8334     PyObject 
*resultobj
; 
8335     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8337     PyObject 
* obj0 
= 0 ; 
8338     PyObject 
* obj1 
= 0 ; 
8340         (char *) "self",(char *) "encoding", NULL 
 
8343     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
; 
8344     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8345     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8346     arg2 
= (wxFontEncoding
) SWIG_AsInt(obj1
);  
8347     if (PyErr_Occurred()) SWIG_fail
; 
8349         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8350         (arg1
)->SetEncoding((wxFontEncoding 
)arg2
); 
8352         wxPyEndAllowThreads(__tstate
); 
8353         if (PyErr_Occurred()) SWIG_fail
; 
8355     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8362 static PyObject 
*_wrap_Font_SetNativeFontInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8363     PyObject 
*resultobj
; 
8364     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8365     wxNativeFontInfo 
*arg2 
= 0 ; 
8366     PyObject 
* obj0 
= 0 ; 
8367     PyObject 
* obj1 
= 0 ; 
8369         (char *) "self",(char *) "info", NULL 
 
8372     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
; 
8373     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8374     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8375     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
, 
8376     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
8379         PyErr_SetString(PyExc_TypeError
,"null reference"); 
8383         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8384         (arg1
)->SetNativeFontInfo((wxNativeFontInfo 
const &)*arg2
); 
8386         wxPyEndAllowThreads(__tstate
); 
8387         if (PyErr_Occurred()) SWIG_fail
; 
8389     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8396 static PyObject 
*_wrap_Font_SetNativeFontInfoFromString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8397     PyObject 
*resultobj
; 
8398     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8399     wxString 
*arg2 
= 0 ; 
8400     bool temp2 
= False 
; 
8401     PyObject 
* obj0 
= 0 ; 
8402     PyObject 
* obj1 
= 0 ; 
8404         (char *) "self",(char *) "info", NULL 
 
8407     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
; 
8408     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8409     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8411         arg2 
= wxString_in_helper(obj1
); 
8412         if (arg2 
== NULL
) SWIG_fail
; 
8416         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8417         (arg1
)->SetNativeFontInfo((wxString 
const &)*arg2
); 
8419         wxPyEndAllowThreads(__tstate
); 
8420         if (PyErr_Occurred()) SWIG_fail
; 
8422     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8437 static PyObject 
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8438     PyObject 
*resultobj
; 
8439     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8440     wxString 
*arg2 
= 0 ; 
8441     bool temp2 
= False 
; 
8442     PyObject 
* obj0 
= 0 ; 
8443     PyObject 
* obj1 
= 0 ; 
8445         (char *) "self",(char *) "info", NULL 
 
8448     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
; 
8449     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8450     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8452         arg2 
= wxString_in_helper(obj1
); 
8453         if (arg2 
== NULL
) SWIG_fail
; 
8457         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8458         (arg1
)->SetNativeFontInfoUserDesc((wxString 
const &)*arg2
); 
8460         wxPyEndAllowThreads(__tstate
); 
8461         if (PyErr_Occurred()) SWIG_fail
; 
8463     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8478 static PyObject 
*_wrap_Font_GetFamilyString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8479     PyObject 
*resultobj
; 
8480     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8482     PyObject 
* obj0 
= 0 ; 
8484         (char *) "self", NULL 
 
8487     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
; 
8488     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8489     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8491         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8492         result 
= ((wxFont 
const *)arg1
)->GetFamilyString(); 
8494         wxPyEndAllowThreads(__tstate
); 
8495         if (PyErr_Occurred()) SWIG_fail
; 
8499         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8501         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8510 static PyObject 
*_wrap_Font_GetStyleString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8511     PyObject 
*resultobj
; 
8512     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8514     PyObject 
* obj0 
= 0 ; 
8516         (char *) "self", NULL 
 
8519     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
; 
8520     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8521     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8523         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8524         result 
= ((wxFont 
const *)arg1
)->GetStyleString(); 
8526         wxPyEndAllowThreads(__tstate
); 
8527         if (PyErr_Occurred()) SWIG_fail
; 
8531         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8533         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8542 static PyObject 
*_wrap_Font_GetWeightString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8543     PyObject 
*resultobj
; 
8544     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8546     PyObject 
* obj0 
= 0 ; 
8548         (char *) "self", NULL 
 
8551     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
; 
8552     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8553     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8555         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8556         result 
= ((wxFont 
const *)arg1
)->GetWeightString(); 
8558         wxPyEndAllowThreads(__tstate
); 
8559         if (PyErr_Occurred()) SWIG_fail
; 
8563         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8565         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8574 static PyObject 
*_wrap_Font_SetNoAntiAliasing(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8575     PyObject 
*resultobj
; 
8576     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8577     bool arg2 
= (bool) True 
; 
8578     PyObject 
* obj0 
= 0 ; 
8579     PyObject 
* obj1 
= 0 ; 
8581         (char *) "self",(char *) "no", NULL 
 
8584     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
; 
8585     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8586     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8588         arg2 
= (bool) SWIG_AsBool(obj1
);  
8589         if (PyErr_Occurred()) SWIG_fail
; 
8592         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8593         (arg1
)->SetNoAntiAliasing(arg2
); 
8595         wxPyEndAllowThreads(__tstate
); 
8596         if (PyErr_Occurred()) SWIG_fail
; 
8598     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8605 static PyObject 
*_wrap_Font_GetNoAntiAliasing(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8606     PyObject 
*resultobj
; 
8607     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
8609     PyObject 
* obj0 
= 0 ; 
8611         (char *) "self", NULL 
 
8614     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
; 
8615     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
, 
8616     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8618         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8619         result 
= (bool)(arg1
)->GetNoAntiAliasing(); 
8621         wxPyEndAllowThreads(__tstate
); 
8622         if (PyErr_Occurred()) SWIG_fail
; 
8625         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8633 static PyObject 
*_wrap_Font_GetDefaultEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8634     PyObject 
*resultobj
; 
8640     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
; 
8642         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8643         result 
= (int)wxFont::GetDefaultEncoding(); 
8645         wxPyEndAllowThreads(__tstate
); 
8646         if (PyErr_Occurred()) SWIG_fail
; 
8648     resultobj 
= SWIG_FromInt((int)result
); 
8655 static PyObject 
*_wrap_Font_SetDefaultEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8656     PyObject 
*resultobj
; 
8658     PyObject 
* obj0 
= 0 ; 
8660         (char *) "encoding", NULL 
 
8663     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
; 
8664     arg1 
= (wxFontEncoding
) SWIG_AsInt(obj0
);  
8665     if (PyErr_Occurred()) SWIG_fail
; 
8667         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8668         wxFont::SetDefaultEncoding((wxFontEncoding 
)arg1
); 
8670         wxPyEndAllowThreads(__tstate
); 
8671         if (PyErr_Occurred()) SWIG_fail
; 
8673     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8680 static PyObject 
* Font_swigregister(PyObject 
*self
, PyObject 
*args
) { 
8682     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8683     SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
); 
8685     return Py_BuildValue((char *)""); 
8687 static PyObject 
*_wrap_new_FontEnumerator(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8688     PyObject 
*resultobj
; 
8689     wxPyFontEnumerator 
*result
; 
8694     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
; 
8696         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8697         result 
= (wxPyFontEnumerator 
*)new wxPyFontEnumerator(); 
8699         wxPyEndAllowThreads(__tstate
); 
8700         if (PyErr_Occurred()) SWIG_fail
; 
8702     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1); 
8709 static PyObject 
*_wrap_delete_FontEnumerator(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8710     PyObject 
*resultobj
; 
8711     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
8712     PyObject 
* obj0 
= 0 ; 
8714         (char *) "self", NULL 
 
8717     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
; 
8718     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
, 
8719     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8721         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8724         wxPyEndAllowThreads(__tstate
); 
8725         if (PyErr_Occurred()) SWIG_fail
; 
8727     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8734 static PyObject 
*_wrap_FontEnumerator__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8735     PyObject 
*resultobj
; 
8736     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
8737     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
8738     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
8740     PyObject 
* obj0 
= 0 ; 
8741     PyObject 
* obj1 
= 0 ; 
8742     PyObject 
* obj2 
= 0 ; 
8743     PyObject 
* obj3 
= 0 ; 
8745         (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL 
 
8748     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
8749     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
, 
8750     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8753     arg4 
= (bool) SWIG_AsBool(obj3
);  
8754     if (PyErr_Occurred()) SWIG_fail
; 
8756         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8757         (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
); 
8759         wxPyEndAllowThreads(__tstate
); 
8760         if (PyErr_Occurred()) SWIG_fail
; 
8762     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8769 static PyObject 
*_wrap_FontEnumerator_EnumerateFacenames(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8770     PyObject 
*resultobj
; 
8771     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
8772     int arg2 
= (int) wxFONTENCODING_SYSTEM 
; 
8773     bool arg3 
= (bool) False 
; 
8775     PyObject 
* obj0 
= 0 ; 
8776     PyObject 
* obj1 
= 0 ; 
8777     PyObject 
* obj2 
= 0 ; 
8779         (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL 
 
8782     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8783     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
, 
8784     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8786         arg2 
= (wxFontEncoding
) SWIG_AsInt(obj1
);  
8787         if (PyErr_Occurred()) SWIG_fail
; 
8790         arg3 
= (bool) SWIG_AsBool(obj2
);  
8791         if (PyErr_Occurred()) SWIG_fail
; 
8794         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8795         result 
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding 
)arg2
,arg3
); 
8797         wxPyEndAllowThreads(__tstate
); 
8798         if (PyErr_Occurred()) SWIG_fail
; 
8801         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8809 static PyObject 
*_wrap_FontEnumerator_EnumerateEncodings(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8810     PyObject 
*resultobj
; 
8811     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
8812     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
8813     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
8815     bool temp2 
= False 
; 
8816     PyObject 
* obj0 
= 0 ; 
8817     PyObject 
* obj1 
= 0 ; 
8819         (char *) "self",(char *) "facename", NULL 
 
8822     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
; 
8823     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
, 
8824     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8827             arg2 
= wxString_in_helper(obj1
); 
8828             if (arg2 
== NULL
) SWIG_fail
; 
8833         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8834         result 
= (bool)(arg1
)->EnumerateEncodings((wxString 
const &)*arg2
); 
8836         wxPyEndAllowThreads(__tstate
); 
8837         if (PyErr_Occurred()) SWIG_fail
; 
8840         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8856 static PyObject 
*_wrap_FontEnumerator_GetEncodings(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8857     PyObject 
*resultobj
; 
8858     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
8860     PyObject 
* obj0 
= 0 ; 
8862         (char *) "self", NULL 
 
8865     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
; 
8866     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
, 
8867     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8869         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8870         result 
= (PyObject 
*)wxPyFontEnumerator_GetEncodings(arg1
); 
8872         wxPyEndAllowThreads(__tstate
); 
8873         if (PyErr_Occurred()) SWIG_fail
; 
8882 static PyObject 
*_wrap_FontEnumerator_GetFacenames(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8883     PyObject 
*resultobj
; 
8884     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
8886     PyObject 
* obj0 
= 0 ; 
8888         (char *) "self", NULL 
 
8891     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
; 
8892     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
, 
8893     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8895         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8896         result 
= (PyObject 
*)wxPyFontEnumerator_GetFacenames(arg1
); 
8898         wxPyEndAllowThreads(__tstate
); 
8899         if (PyErr_Occurred()) SWIG_fail
; 
8908 static PyObject 
* FontEnumerator_swigregister(PyObject 
*self
, PyObject 
*args
) { 
8910     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8911     SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
); 
8913     return Py_BuildValue((char *)""); 
8915 static PyObject 
*_wrap_LanguageInfo_Language_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8916     PyObject 
*resultobj
; 
8917     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
8919     PyObject 
* obj0 
= 0 ; 
8920     PyObject 
* obj1 
= 0 ; 
8922         (char *) "self",(char *) "Language", NULL 
 
8925     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
8926     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
, 
8927     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8928     arg2 
= (int) SWIG_AsInt(obj1
);  
8929     if (PyErr_Occurred()) SWIG_fail
; 
8930     if (arg1
) (arg1
)->Language 
= arg2
; 
8932     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8939 static PyObject 
*_wrap_LanguageInfo_Language_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8940     PyObject 
*resultobj
; 
8941     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
8943     PyObject 
* obj0 
= 0 ; 
8945         (char *) "self", NULL 
 
8948     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
; 
8949     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
, 
8950     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8951     result 
= (int) ((arg1
)->Language
); 
8953     resultobj 
= SWIG_FromInt((int)result
); 
8960 static PyObject 
*_wrap_LanguageInfo_CanonicalName_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8961     PyObject 
*resultobj
; 
8962     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
8963     wxString 
*arg2 
= (wxString 
*) 0 ; 
8964     bool temp2 
= False 
; 
8965     PyObject 
* obj0 
= 0 ; 
8966     PyObject 
* obj1 
= 0 ; 
8968         (char *) "self",(char *) "CanonicalName", NULL 
 
8971     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
8972     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
, 
8973     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8975         arg2 
= wxString_in_helper(obj1
); 
8976         if (arg2 
== NULL
) SWIG_fail
; 
8979     if (arg1
) (arg1
)->CanonicalName 
= *arg2
; 
8981     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8996 static PyObject 
*_wrap_LanguageInfo_CanonicalName_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8997     PyObject 
*resultobj
; 
8998     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
9000     PyObject 
* obj0 
= 0 ; 
9002         (char *) "self", NULL 
 
9005     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
; 
9006     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
, 
9007     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9008     result 
= (wxString 
*)& ((arg1
)->CanonicalName
); 
9012         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
9014         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
9023 static PyObject 
*_wrap_LanguageInfo_Description_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9024     PyObject 
*resultobj
; 
9025     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
9026     wxString 
*arg2 
= (wxString 
*) 0 ; 
9027     bool temp2 
= False 
; 
9028     PyObject 
* obj0 
= 0 ; 
9029     PyObject 
* obj1 
= 0 ; 
9031         (char *) "self",(char *) "Description", NULL 
 
9034     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
9035     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
, 
9036     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9038         arg2 
= wxString_in_helper(obj1
); 
9039         if (arg2 
== NULL
) SWIG_fail
; 
9042     if (arg1
) (arg1
)->Description 
= *arg2
; 
9044     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9059 static PyObject 
*_wrap_LanguageInfo_Description_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9060     PyObject 
*resultobj
; 
9061     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
9063     PyObject 
* obj0 
= 0 ; 
9065         (char *) "self", NULL 
 
9068     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
; 
9069     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
, 
9070     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9071     result 
= (wxString 
*)& ((arg1
)->Description
); 
9075         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
9077         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
9086 static PyObject 
* LanguageInfo_swigregister(PyObject 
*self
, PyObject 
*args
) { 
9088     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
9089     SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
); 
9091     return Py_BuildValue((char *)""); 
9093 static PyObject 
*_wrap_new_Locale(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9094     PyObject 
*resultobj
; 
9095     int arg1 
= (int) wxLANGUAGE_DEFAULT 
; 
9096     int arg2 
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING 
; 
9098     PyObject 
* obj0 
= 0 ; 
9099     PyObject 
* obj1 
= 0 ; 
9101         (char *) "language",(char *) "flags", NULL 
 
9104     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
; 
9106         arg1 
= (int) SWIG_AsInt(obj0
);  
9107         if (PyErr_Occurred()) SWIG_fail
; 
9110         arg2 
= (int) SWIG_AsInt(obj1
);  
9111         if (PyErr_Occurred()) SWIG_fail
; 
9114         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9115         result 
= (wxLocale 
*)new wxLocale(arg1
,arg2
); 
9117         wxPyEndAllowThreads(__tstate
); 
9118         if (PyErr_Occurred()) SWIG_fail
; 
9120     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1); 
9127 static PyObject 
*_wrap_delete_Locale(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9128     PyObject 
*resultobj
; 
9129     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
9130     PyObject 
* obj0 
= 0 ; 
9132         (char *) "self", NULL 
 
9135     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
; 
9136     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
9137     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9139         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9142         wxPyEndAllowThreads(__tstate
); 
9143         if (PyErr_Occurred()) SWIG_fail
; 
9145     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9152 static PyObject 
*_wrap_Locale_Init1(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9153     PyObject 
*resultobj
; 
9154     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
9155     wxString 
*arg2 
= 0 ; 
9156     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
9157     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
9158     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
9159     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
9160     bool arg5 
= (bool) True 
; 
9161     bool arg6 
= (bool) False 
; 
9163     bool temp2 
= False 
; 
9164     bool temp3 
= False 
; 
9165     bool temp4 
= False 
; 
9166     PyObject 
* obj0 
= 0 ; 
9167     PyObject 
* obj1 
= 0 ; 
9168     PyObject 
* obj2 
= 0 ; 
9169     PyObject 
* obj3 
= 0 ; 
9170     PyObject 
* obj4 
= 0 ; 
9171     PyObject 
* obj5 
= 0 ; 
9173         (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL 
 
9176     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
9177     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
9178     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9180         arg2 
= wxString_in_helper(obj1
); 
9181         if (arg2 
== NULL
) SWIG_fail
; 
9186             arg3 
= wxString_in_helper(obj2
); 
9187             if (arg3 
== NULL
) SWIG_fail
; 
9193             arg4 
= wxString_in_helper(obj3
); 
9194             if (arg4 
== NULL
) SWIG_fail
; 
9199         arg5 
= (bool) SWIG_AsBool(obj4
);  
9200         if (PyErr_Occurred()) SWIG_fail
; 
9203         arg6 
= (bool) SWIG_AsBool(obj5
);  
9204         if (PyErr_Occurred()) SWIG_fail
; 
9207         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9208         result 
= (bool)(arg1
)->Init((wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
,arg6
); 
9210         wxPyEndAllowThreads(__tstate
); 
9211         if (PyErr_Occurred()) SWIG_fail
; 
9214         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9246 static PyObject 
*_wrap_Locale_Init2(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9247     PyObject 
*resultobj
; 
9248     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
9249     int arg2 
= (int) wxLANGUAGE_DEFAULT 
; 
9250     int arg3 
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING 
; 
9252     PyObject 
* obj0 
= 0 ; 
9253     PyObject 
* obj1 
= 0 ; 
9254     PyObject 
* obj2 
= 0 ; 
9256         (char *) "self",(char *) "language",(char *) "flags", NULL 
 
9259     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9260     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
9261     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9263         arg2 
= (int) SWIG_AsInt(obj1
);  
9264         if (PyErr_Occurred()) SWIG_fail
; 
9267         arg3 
= (int) SWIG_AsInt(obj2
);  
9268         if (PyErr_Occurred()) SWIG_fail
; 
9271         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9272         result 
= (bool)(arg1
)->Init(arg2
,arg3
); 
9274         wxPyEndAllowThreads(__tstate
); 
9275         if (PyErr_Occurred()) SWIG_fail
; 
9278         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9286 static PyObject 
*_wrap_Locale_GetSystemLanguage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9287     PyObject 
*resultobj
; 
9293     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
; 
9295         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9296         result 
= (int)wxLocale::GetSystemLanguage(); 
9298         wxPyEndAllowThreads(__tstate
); 
9299         if (PyErr_Occurred()) SWIG_fail
; 
9301     resultobj 
= SWIG_FromInt((int)result
); 
9308 static PyObject 
*_wrap_Locale_GetSystemEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9309     PyObject 
*resultobj
; 
9315     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
; 
9317         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9318         result 
= (int)wxLocale::GetSystemEncoding(); 
9320         wxPyEndAllowThreads(__tstate
); 
9321         if (PyErr_Occurred()) SWIG_fail
; 
9323     resultobj 
= SWIG_FromInt((int)result
); 
9330 static PyObject 
*_wrap_Locale_GetSystemEncodingName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9331     PyObject 
*resultobj
; 
9337     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
; 
9339         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9340         result 
= wxLocale::GetSystemEncodingName(); 
9342         wxPyEndAllowThreads(__tstate
); 
9343         if (PyErr_Occurred()) SWIG_fail
; 
9347         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9349         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9358 static PyObject 
*_wrap_Locale_IsOk(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9359     PyObject 
*resultobj
; 
9360     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
9362     PyObject 
* obj0 
= 0 ; 
9364         (char *) "self", NULL 
 
9367     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
; 
9368     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
9369     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9371         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9372         result 
= (bool)((wxLocale 
const *)arg1
)->IsOk(); 
9374         wxPyEndAllowThreads(__tstate
); 
9375         if (PyErr_Occurred()) SWIG_fail
; 
9378         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9386 static PyObject 
*_wrap_Locale_GetLocale(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9387     PyObject 
*resultobj
; 
9388     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
9390     PyObject 
* obj0 
= 0 ; 
9392         (char *) "self", NULL 
 
9395     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
; 
9396     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
9397     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9399         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9400         result 
= ((wxLocale 
const *)arg1
)->GetLocale(); 
9402         wxPyEndAllowThreads(__tstate
); 
9403         if (PyErr_Occurred()) SWIG_fail
; 
9407         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9409         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9418 static PyObject 
*_wrap_Locale_GetLanguage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9419     PyObject 
*resultobj
; 
9420     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
9422     PyObject 
* obj0 
= 0 ; 
9424         (char *) "self", NULL 
 
9427     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
; 
9428     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
9429     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9431         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9432         result 
= (int)((wxLocale 
const *)arg1
)->GetLanguage(); 
9434         wxPyEndAllowThreads(__tstate
); 
9435         if (PyErr_Occurred()) SWIG_fail
; 
9437     resultobj 
= SWIG_FromInt((int)result
); 
9444 static PyObject 
*_wrap_Locale_GetSysName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9445     PyObject 
*resultobj
; 
9446     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
9448     PyObject 
* obj0 
= 0 ; 
9450         (char *) "self", NULL 
 
9453     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
; 
9454     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
9455     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9457         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9458         result 
= ((wxLocale 
const *)arg1
)->GetSysName(); 
9460         wxPyEndAllowThreads(__tstate
); 
9461         if (PyErr_Occurred()) SWIG_fail
; 
9465         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9467         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9476 static PyObject 
*_wrap_Locale_GetCanonicalName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9477     PyObject 
*resultobj
; 
9478     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
9480     PyObject 
* obj0 
= 0 ; 
9482         (char *) "self", NULL 
 
9485     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
; 
9486     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
9487     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9489         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9490         result 
= ((wxLocale 
const *)arg1
)->GetCanonicalName(); 
9492         wxPyEndAllowThreads(__tstate
); 
9493         if (PyErr_Occurred()) SWIG_fail
; 
9497         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9499         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9508 static PyObject 
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9509     PyObject 
*resultobj
; 
9510     wxString 
*arg1 
= 0 ; 
9511     bool temp1 
= False 
; 
9512     PyObject 
* obj0 
= 0 ; 
9514         (char *) "prefix", NULL 
 
9517     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
; 
9519         arg1 
= wxString_in_helper(obj0
); 
9520         if (arg1 
== NULL
) SWIG_fail
; 
9524         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9525         wxLocale::AddCatalogLookupPathPrefix((wxString 
const &)*arg1
); 
9527         wxPyEndAllowThreads(__tstate
); 
9528         if (PyErr_Occurred()) SWIG_fail
; 
9530     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9545 static PyObject 
*_wrap_Locale_AddCatalog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9546     PyObject 
*resultobj
; 
9547     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
9548     wxString 
*arg2 
= 0 ; 
9550     bool temp2 
= False 
; 
9551     PyObject 
* obj0 
= 0 ; 
9552     PyObject 
* obj1 
= 0 ; 
9554         (char *) "self",(char *) "szDomain", NULL 
 
9557     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
; 
9558     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
9559     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9561         arg2 
= wxString_in_helper(obj1
); 
9562         if (arg2 
== NULL
) SWIG_fail
; 
9566         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9567         result 
= (bool)(arg1
)->AddCatalog((wxString 
const &)*arg2
); 
9569         wxPyEndAllowThreads(__tstate
); 
9570         if (PyErr_Occurred()) SWIG_fail
; 
9573         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9589 static PyObject 
*_wrap_Locale_IsLoaded(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9590     PyObject 
*resultobj
; 
9591     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
9592     wxString 
*arg2 
= 0 ; 
9594     bool temp2 
= False 
; 
9595     PyObject 
* obj0 
= 0 ; 
9596     PyObject 
* obj1 
= 0 ; 
9598         (char *) "self",(char *) "szDomain", NULL 
 
9601     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
; 
9602     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
9603     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9605         arg2 
= wxString_in_helper(obj1
); 
9606         if (arg2 
== NULL
) SWIG_fail
; 
9610         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9611         result 
= (bool)((wxLocale 
const *)arg1
)->IsLoaded((wxString 
const &)*arg2
); 
9613         wxPyEndAllowThreads(__tstate
); 
9614         if (PyErr_Occurred()) SWIG_fail
; 
9617         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9633 static PyObject 
*_wrap_Locale_GetLanguageInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9634     PyObject 
*resultobj
; 
9636     wxLanguageInfo 
*result
; 
9637     PyObject 
* obj0 
= 0 ; 
9639         (char *) "lang", NULL 
 
9642     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
; 
9643     arg1 
= (int) SWIG_AsInt(obj0
);  
9644     if (PyErr_Occurred()) SWIG_fail
; 
9646         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9647         result 
= (wxLanguageInfo 
*)wxLocale::GetLanguageInfo(arg1
); 
9649         wxPyEndAllowThreads(__tstate
); 
9650         if (PyErr_Occurred()) SWIG_fail
; 
9652     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0); 
9659 static PyObject 
*_wrap_Locale_GetLanguageName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9660     PyObject 
*resultobj
; 
9663     PyObject 
* obj0 
= 0 ; 
9665         (char *) "lang", NULL 
 
9668     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
; 
9669     arg1 
= (int) SWIG_AsInt(obj0
);  
9670     if (PyErr_Occurred()) SWIG_fail
; 
9672         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9673         result 
= wxLocale::GetLanguageName(arg1
); 
9675         wxPyEndAllowThreads(__tstate
); 
9676         if (PyErr_Occurred()) SWIG_fail
; 
9680         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9682         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9691 static PyObject 
*_wrap_Locale_FindLanguageInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9692     PyObject 
*resultobj
; 
9693     wxString 
*arg1 
= 0 ; 
9694     wxLanguageInfo 
*result
; 
9695     bool temp1 
= False 
; 
9696     PyObject 
* obj0 
= 0 ; 
9698         (char *) "locale", NULL 
 
9701     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
; 
9703         arg1 
= wxString_in_helper(obj0
); 
9704         if (arg1 
== NULL
) SWIG_fail
; 
9708         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9709         result 
= (wxLanguageInfo 
*)wxLocale::FindLanguageInfo((wxString 
const &)*arg1
); 
9711         wxPyEndAllowThreads(__tstate
); 
9712         if (PyErr_Occurred()) SWIG_fail
; 
9714     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0); 
9729 static PyObject 
*_wrap_Locale_AddLanguage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9730     PyObject 
*resultobj
; 
9731     wxLanguageInfo 
*arg1 
= 0 ; 
9732     PyObject 
* obj0 
= 0 ; 
9734         (char *) "info", NULL 
 
9737     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
; 
9738     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
, 
9739     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
9742         PyErr_SetString(PyExc_TypeError
,"null reference"); 
9746         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9747         wxLocale::AddLanguage((wxLanguageInfo 
const &)*arg1
); 
9749         wxPyEndAllowThreads(__tstate
); 
9750         if (PyErr_Occurred()) SWIG_fail
; 
9752     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9759 static PyObject 
*_wrap_Locale_GetString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9760     PyObject 
*resultobj
; 
9761     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
9762     wxString 
*arg2 
= 0 ; 
9763     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
9764     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
9766     bool temp2 
= False 
; 
9767     bool temp3 
= False 
; 
9768     PyObject 
* obj0 
= 0 ; 
9769     PyObject 
* obj1 
= 0 ; 
9770     PyObject 
* obj2 
= 0 ; 
9772         (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL 
 
9775     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9776     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
9777     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9779         arg2 
= wxString_in_helper(obj1
); 
9780         if (arg2 
== NULL
) SWIG_fail
; 
9785             arg3 
= wxString_in_helper(obj2
); 
9786             if (arg3 
== NULL
) SWIG_fail
; 
9791         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9792         result 
= ((wxLocale 
const *)arg1
)->GetString((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
9794         wxPyEndAllowThreads(__tstate
); 
9795         if (PyErr_Occurred()) SWIG_fail
; 
9799         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9801         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9826 static PyObject 
*_wrap_Locale_GetName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9827     PyObject 
*resultobj
; 
9828     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
9830     PyObject 
* obj0 
= 0 ; 
9832         (char *) "self", NULL 
 
9835     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
; 
9836     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
, 
9837     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9839         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9841             wxString 
const &_result_ref 
= ((wxLocale 
const *)arg1
)->GetName(); 
9842             result 
= (wxString 
*) &_result_ref
; 
9845         wxPyEndAllowThreads(__tstate
); 
9846         if (PyErr_Occurred()) SWIG_fail
; 
9850         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
9852         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
9861 static PyObject 
* Locale_swigregister(PyObject 
*self
, PyObject 
*args
) { 
9863     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
9864     SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
); 
9866     return Py_BuildValue((char *)""); 
9868 static PyObject 
*_wrap_GetLocale(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9869     PyObject 
*resultobj
; 
9875     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
; 
9877         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9878         result 
= (wxLocale 
*)wxGetLocale(); 
9880         wxPyEndAllowThreads(__tstate
); 
9881         if (PyErr_Occurred()) SWIG_fail
; 
9883     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0); 
9890 static PyObject 
*_wrap_GetTranslation__SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
9891     PyObject 
*resultobj
; 
9892     wxString 
*arg1 
= 0 ; 
9894     bool temp1 
= False 
; 
9895     PyObject 
* obj0 
= 0 ; 
9897     if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
; 
9899         arg1 
= wxString_in_helper(obj0
); 
9900         if (arg1 
== NULL
) SWIG_fail
; 
9904         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9905         result 
= wxGetTranslation((wxString 
const &)*arg1
); 
9907         wxPyEndAllowThreads(__tstate
); 
9908         if (PyErr_Occurred()) SWIG_fail
; 
9912         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9914         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9931 static PyObject 
*_wrap_GetTranslation__SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
9932     PyObject 
*resultobj
; 
9933     wxString 
*arg1 
= 0 ; 
9934     wxString 
*arg2 
= 0 ; 
9937     bool temp1 
= False 
; 
9938     bool temp2 
= False 
; 
9939     PyObject 
* obj0 
= 0 ; 
9940     PyObject 
* obj1 
= 0 ; 
9941     PyObject 
* obj2 
= 0 ; 
9943     if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
; 
9945         arg1 
= wxString_in_helper(obj0
); 
9946         if (arg1 
== NULL
) SWIG_fail
; 
9950         arg2 
= wxString_in_helper(obj1
); 
9951         if (arg2 
== NULL
) SWIG_fail
; 
9954     arg3 
= (size_t) SWIG_AsUnsignedLong(obj2
);  
9955     if (PyErr_Occurred()) SWIG_fail
; 
9957         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9958         result 
= wxGetTranslation((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
); 
9960         wxPyEndAllowThreads(__tstate
); 
9961         if (PyErr_Occurred()) SWIG_fail
; 
9965         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9967         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9992 static PyObject 
*_wrap_GetTranslation(PyObject 
*self
, PyObject 
*args
) { 
9997     argc 
= PyObject_Length(args
); 
9998     for (ii 
= 0; (ii 
< argc
) && (ii 
< 3); ii
++) { 
9999         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
10004             _v 
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]); 
10007             return _wrap_GetTranslation__SWIG_0(self
,args
); 
10013             _v 
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]); 
10017                 _v 
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]); 
10020                 _v 
= SWIG_CheckUnsignedLong(argv
[2]); 
10022                     return _wrap_GetTranslation__SWIG_1(self
,args
); 
10028     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'"); 
10033 static PyObject 
*_wrap_new_EncodingConverter(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10034     PyObject 
*resultobj
; 
10035     wxEncodingConverter 
*result
; 
10036     char *kwnames
[] = { 
10040     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
; 
10042         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10043         result 
= (wxEncodingConverter 
*)new wxEncodingConverter(); 
10045         wxPyEndAllowThreads(__tstate
); 
10046         if (PyErr_Occurred()) SWIG_fail
; 
10048     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1); 
10055 static PyObject 
*_wrap_delete_EncodingConverter(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10056     PyObject 
*resultobj
; 
10057     wxEncodingConverter 
*arg1 
= (wxEncodingConverter 
*) 0 ; 
10058     PyObject 
* obj0 
= 0 ; 
10059     char *kwnames
[] = { 
10060         (char *) "self", NULL 
 
10063     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
; 
10064     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
, 
10065     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10067         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10070         wxPyEndAllowThreads(__tstate
); 
10071         if (PyErr_Occurred()) SWIG_fail
; 
10073     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10080 static PyObject 
*_wrap_EncodingConverter_Init(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10081     PyObject 
*resultobj
; 
10082     wxEncodingConverter 
*arg1 
= (wxEncodingConverter 
*) 0 ; 
10085     int arg4 
= (int) wxCONVERT_STRICT 
; 
10087     PyObject 
* obj0 
= 0 ; 
10088     PyObject 
* obj1 
= 0 ; 
10089     PyObject 
* obj2 
= 0 ; 
10090     PyObject 
* obj3 
= 0 ; 
10091     char *kwnames
[] = { 
10092         (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL 
 
10095     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
10096     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
, 
10097     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10098     arg2 
= (wxFontEncoding
) SWIG_AsInt(obj1
);  
10099     if (PyErr_Occurred()) SWIG_fail
; 
10100     arg3 
= (wxFontEncoding
) SWIG_AsInt(obj2
);  
10101     if (PyErr_Occurred()) SWIG_fail
; 
10103         arg4 
= (int) SWIG_AsInt(obj3
);  
10104         if (PyErr_Occurred()) SWIG_fail
; 
10107         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10108         result 
= (bool)(arg1
)->Init((wxFontEncoding 
)arg2
,(wxFontEncoding 
)arg3
,arg4
); 
10110         wxPyEndAllowThreads(__tstate
); 
10111         if (PyErr_Occurred()) SWIG_fail
; 
10114         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10122 static PyObject 
*_wrap_EncodingConverter_Convert(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10123     PyObject 
*resultobj
; 
10124     wxEncodingConverter 
*arg1 
= (wxEncodingConverter 
*) 0 ; 
10125     wxString 
*arg2 
= 0 ; 
10127     bool temp2 
= False 
; 
10128     PyObject 
* obj0 
= 0 ; 
10129     PyObject 
* obj1 
= 0 ; 
10130     char *kwnames
[] = { 
10131         (char *) "self",(char *) "input", NULL 
 
10134     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
; 
10135     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
, 
10136     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10138         arg2 
= wxString_in_helper(obj1
); 
10139         if (arg2 
== NULL
) SWIG_fail
; 
10143         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10144         result 
= (arg1
)->Convert((wxString 
const &)*arg2
); 
10146         wxPyEndAllowThreads(__tstate
); 
10147         if (PyErr_Occurred()) SWIG_fail
; 
10151         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10153         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10170 static PyObject 
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10171     PyObject 
*resultobj
; 
10173     int arg2 
= (int) wxPLATFORM_CURRENT 
; 
10174     wxFontEncodingArray result
; 
10175     PyObject 
* obj0 
= 0 ; 
10176     PyObject 
* obj1 
= 0 ; 
10177     char *kwnames
[] = { 
10178         (char *) "enc",(char *) "platform", NULL 
 
10181     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
; 
10182     arg1 
= (wxFontEncoding
) SWIG_AsInt(obj0
);  
10183     if (PyErr_Occurred()) SWIG_fail
; 
10185         arg2 
= (int) SWIG_AsInt(obj1
);  
10186         if (PyErr_Occurred()) SWIG_fail
; 
10189         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10190         result 
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding 
)arg1
,arg2
); 
10192         wxPyEndAllowThreads(__tstate
); 
10193         if (PyErr_Occurred()) SWIG_fail
; 
10196         resultobj 
= PyList_New(0); 
10197         for (size_t i
=0; i 
< (&result
)->GetCount(); i
++) { 
10198             PyObject
* number 
= PyInt_FromLong((&result
)->Item(i
)); 
10199             PyList_Append(resultobj
, number
); 
10209 static PyObject 
*_wrap_EncodingConverter_GetAllEquivalents(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10210     PyObject 
*resultobj
; 
10212     wxFontEncodingArray result
; 
10213     PyObject 
* obj0 
= 0 ; 
10214     char *kwnames
[] = { 
10215         (char *) "enc", NULL 
 
10218     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
; 
10219     arg1 
= (wxFontEncoding
) SWIG_AsInt(obj0
);  
10220     if (PyErr_Occurred()) SWIG_fail
; 
10222         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10223         result 
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding 
)arg1
); 
10225         wxPyEndAllowThreads(__tstate
); 
10226         if (PyErr_Occurred()) SWIG_fail
; 
10229         resultobj 
= PyList_New(0); 
10230         for (size_t i
=0; i 
< (&result
)->GetCount(); i
++) { 
10231             PyObject
* number 
= PyInt_FromLong((&result
)->Item(i
)); 
10232             PyList_Append(resultobj
, number
); 
10242 static PyObject 
*_wrap_EncodingConverter_CanConvert(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10243     PyObject 
*resultobj
; 
10247     PyObject 
* obj0 
= 0 ; 
10248     PyObject 
* obj1 
= 0 ; 
10249     char *kwnames
[] = { 
10250         (char *) "encIn",(char *) "encOut", NULL 
 
10253     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
; 
10254     arg1 
= (wxFontEncoding
) SWIG_AsInt(obj0
);  
10255     if (PyErr_Occurred()) SWIG_fail
; 
10256     arg2 
= (wxFontEncoding
) SWIG_AsInt(obj1
);  
10257     if (PyErr_Occurred()) SWIG_fail
; 
10259         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10260         result 
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding 
)arg1
,(wxFontEncoding 
)arg2
); 
10262         wxPyEndAllowThreads(__tstate
); 
10263         if (PyErr_Occurred()) SWIG_fail
; 
10266         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10274 static PyObject 
* EncodingConverter_swigregister(PyObject 
*self
, PyObject 
*args
) { 
10276     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
10277     SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
); 
10279     return Py_BuildValue((char *)""); 
10281 static PyObject 
*_wrap_delete_DC(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10282     PyObject 
*resultobj
; 
10283     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
10284     PyObject 
* obj0 
= 0 ; 
10285     char *kwnames
[] = { 
10286         (char *) "self", NULL 
 
10289     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
; 
10290     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
10291     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10293         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10296         wxPyEndAllowThreads(__tstate
); 
10297         if (PyErr_Occurred()) SWIG_fail
; 
10299     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10306 static PyObject 
*_wrap_DC_BeginDrawing(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10307     PyObject 
*resultobj
; 
10308     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
10309     PyObject 
* obj0 
= 0 ; 
10310     char *kwnames
[] = { 
10311         (char *) "self", NULL 
 
10314     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
; 
10315     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
10316     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10318         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10319         (arg1
)->BeginDrawing(); 
10321         wxPyEndAllowThreads(__tstate
); 
10322         if (PyErr_Occurred()) SWIG_fail
; 
10324     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10331 static PyObject 
*_wrap_DC_EndDrawing(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10332     PyObject 
*resultobj
; 
10333     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
10334     PyObject 
* obj0 
= 0 ; 
10335     char *kwnames
[] = { 
10336         (char *) "self", NULL 
 
10339     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
; 
10340     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
10341     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10343         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10344         (arg1
)->EndDrawing(); 
10346         wxPyEndAllowThreads(__tstate
); 
10347         if (PyErr_Occurred()) SWIG_fail
; 
10349     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10356 static PyObject 
*_wrap_DC_FloodFillXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10357     PyObject 
*resultobj
; 
10358     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
10361     wxColour 
*arg4 
= 0 ; 
10362     int arg5 
= (int) wxFLOOD_SURFACE 
; 
10365     PyObject 
* obj0 
= 0 ; 
10366     PyObject 
* obj1 
= 0 ; 
10367     PyObject 
* obj2 
= 0 ; 
10368     PyObject 
* obj3 
= 0 ; 
10369     PyObject 
* obj4 
= 0 ; 
10370     char *kwnames
[] = { 
10371         (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL 
 
10374     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFillXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
10375     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
10376     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10377     arg2 
= (int) SWIG_AsInt(obj1
);  
10378     if (PyErr_Occurred()) SWIG_fail
; 
10379     arg3 
= (int) SWIG_AsInt(obj2
);  
10380     if (PyErr_Occurred()) SWIG_fail
; 
10383         if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
10386         arg5 
= (int) SWIG_AsInt(obj4
);  
10387         if (PyErr_Occurred()) SWIG_fail
; 
10390         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10391         result 
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour 
const &)*arg4
,arg5
); 
10393         wxPyEndAllowThreads(__tstate
); 
10394         if (PyErr_Occurred()) SWIG_fail
; 
10397         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10405 static PyObject 
*_wrap_DC_FloodFill(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10406     PyObject 
*resultobj
; 
10407     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
10408     wxPoint 
*arg2 
= 0 ; 
10409     wxColour 
*arg3 
= 0 ; 
10410     int arg4 
= (int) wxFLOOD_SURFACE 
; 
10414     PyObject 
* obj0 
= 0 ; 
10415     PyObject 
* obj1 
= 0 ; 
10416     PyObject 
* obj2 
= 0 ; 
10417     PyObject 
* obj3 
= 0 ; 
10418     char *kwnames
[] = { 
10419         (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL 
 
10422     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
10423     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
10424     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10427         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
10431         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
10434         arg4 
= (int) SWIG_AsInt(obj3
);  
10435         if (PyErr_Occurred()) SWIG_fail
; 
10438         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10439         result 
= (bool)(arg1
)->FloodFill((wxPoint 
const &)*arg2
,(wxColour 
const &)*arg3
,arg4
); 
10441         wxPyEndAllowThreads(__tstate
); 
10442         if (PyErr_Occurred()) SWIG_fail
; 
10445         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10453 static PyObject 
*_wrap_DC_GetPixelXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10454     PyObject 
*resultobj
; 
10455     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
10459     PyObject 
* obj0 
= 0 ; 
10460     PyObject 
* obj1 
= 0 ; 
10461     PyObject 
* obj2 
= 0 ; 
10462     char *kwnames
[] = { 
10463         (char *) "self",(char *) "x",(char *) "y", NULL 
 
10466     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixelXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10467     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
10468     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10469     arg2 
= (int) SWIG_AsInt(obj1
);  
10470     if (PyErr_Occurred()) SWIG_fail
; 
10471     arg3 
= (int) SWIG_AsInt(obj2
);  
10472     if (PyErr_Occurred()) SWIG_fail
; 
10474         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10475         result 
= wxDC_GetPixelXY(arg1
,arg2
,arg3
); 
10477         wxPyEndAllowThreads(__tstate
); 
10478         if (PyErr_Occurred()) SWIG_fail
; 
10481         wxColour 
* resultptr
; 
10482         resultptr 
= new wxColour((wxColour 
&) result
); 
10483         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
10491 static PyObject 
*_wrap_DC_GetPixel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10492     PyObject 
*resultobj
; 
10493     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
10494     wxPoint 
*arg2 
= 0 ; 
10497     PyObject 
* obj0 
= 0 ; 
10498     PyObject 
* obj1 
= 0 ; 
10499     char *kwnames
[] = { 
10500         (char *) "self",(char *) "pt", NULL 
 
10503     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
; 
10504     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
10505     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10508         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
10511         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10512         result 
= wxDC_GetPixel(arg1
,(wxPoint 
const &)*arg2
); 
10514         wxPyEndAllowThreads(__tstate
); 
10515         if (PyErr_Occurred()) SWIG_fail
; 
10518         wxColour 
* resultptr
; 
10519         resultptr 
= new wxColour((wxColour 
&) result
); 
10520         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
10528 static PyObject 
*_wrap_DC_DrawLineXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10529     PyObject 
*resultobj
; 
10530     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
10535     PyObject 
* obj0 
= 0 ; 
10536     PyObject 
* obj1 
= 0 ; 
10537     PyObject 
* obj2 
= 0 ; 
10538     PyObject 
* obj3 
= 0 ; 
10539     PyObject 
* obj4 
= 0 ; 
10540     char *kwnames
[] = { 
10541         (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL 
 
10544     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLineXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
10545     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
10546     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10547     arg2 
= (int) SWIG_AsInt(obj1
);  
10548     if (PyErr_Occurred()) SWIG_fail
; 
10549     arg3 
= (int) SWIG_AsInt(obj2
);  
10550     if (PyErr_Occurred()) SWIG_fail
; 
10551     arg4 
= (int) SWIG_AsInt(obj3
);  
10552     if (PyErr_Occurred()) SWIG_fail
; 
10553     arg5 
= (int) SWIG_AsInt(obj4
);  
10554     if (PyErr_Occurred()) SWIG_fail
; 
10556         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10557         (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
); 
10559         wxPyEndAllowThreads(__tstate
); 
10560         if (PyErr_Occurred()) SWIG_fail
; 
10562     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10569 static PyObject 
*_wrap_DC_DrawLine(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10570     PyObject 
*resultobj
; 
10571     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
10572     wxPoint 
*arg2 
= 0 ; 
10573     wxPoint 
*arg3 
= 0 ; 
10576     PyObject 
* obj0 
= 0 ; 
10577     PyObject 
* obj1 
= 0 ; 
10578     PyObject 
* obj2 
= 0 ; 
10579     char *kwnames
[] = { 
10580         (char *) "self",(char *) "pt1",(char *) "pt2", NULL 
 
10583     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10584     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
10585     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10588         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
10592         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
10595         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10596         (arg1
)->DrawLine((wxPoint 
const &)*arg2
,(wxPoint 
const &)*arg3
); 
10598         wxPyEndAllowThreads(__tstate
); 
10599         if (PyErr_Occurred()) SWIG_fail
; 
10601     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10608 static PyObject 
*_wrap_DC_CrossHairXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10609     PyObject 
*resultobj
; 
10610     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
10613     PyObject 
* obj0 
= 0 ; 
10614     PyObject 
* obj1 
= 0 ; 
10615     PyObject 
* obj2 
= 0 ; 
10616     char *kwnames
[] = { 
10617         (char *) "self",(char *) "x",(char *) "y", NULL 
 
10620     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHairXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10621     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
10622     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10623     arg2 
= (int) SWIG_AsInt(obj1
);  
10624     if (PyErr_Occurred()) SWIG_fail
; 
10625     arg3 
= (int) SWIG_AsInt(obj2
);  
10626     if (PyErr_Occurred()) SWIG_fail
; 
10628         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10629         (arg1
)->CrossHair(arg2
,arg3
); 
10631         wxPyEndAllowThreads(__tstate
); 
10632         if (PyErr_Occurred()) SWIG_fail
; 
10634     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10641 static PyObject 
*_wrap_DC_CrossHair(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10642     PyObject 
*resultobj
; 
10643     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
10644     wxPoint 
*arg2 
= 0 ; 
10646     PyObject 
* obj0 
= 0 ; 
10647     PyObject 
* obj1 
= 0 ; 
10648     char *kwnames
[] = { 
10649         (char *) "self",(char *) "pt", NULL 
 
10652     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
; 
10653     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
10654     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10657         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
10660         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10661         (arg1
)->CrossHair((wxPoint 
const &)*arg2
); 
10663         wxPyEndAllowThreads(__tstate
); 
10664         if (PyErr_Occurred()) SWIG_fail
; 
10666     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10673 static PyObject 
*_wrap_DC_DrawArcXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10674     PyObject 
*resultobj
; 
10675     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
10682     PyObject 
* obj0 
= 0 ; 
10683     PyObject 
* obj1 
= 0 ; 
10684     PyObject 
* obj2 
= 0 ; 
10685     PyObject 
* obj3 
= 0 ; 
10686     PyObject 
* obj4 
= 0 ; 
10687     PyObject 
* obj5 
= 0 ; 
10688     PyObject 
* obj6 
= 0 ; 
10689     char *kwnames
[] = { 
10690         (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL 
 
10693     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
10694     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
10695     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10696     arg2 
= (int) SWIG_AsInt(obj1
);  
10697     if (PyErr_Occurred()) SWIG_fail
; 
10698     arg3 
= (int) SWIG_AsInt(obj2
);  
10699     if (PyErr_Occurred()) SWIG_fail
; 
10700     arg4 
= (int) SWIG_AsInt(obj3
);  
10701     if (PyErr_Occurred()) SWIG_fail
; 
10702     arg5 
= (int) SWIG_AsInt(obj4
);  
10703     if (PyErr_Occurred()) SWIG_fail
; 
10704     arg6 
= (int) SWIG_AsInt(obj5
);  
10705     if (PyErr_Occurred()) SWIG_fail
; 
10706     arg7 
= (int) SWIG_AsInt(obj6
);  
10707     if (PyErr_Occurred()) SWIG_fail
; 
10709         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10710         (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
10712         wxPyEndAllowThreads(__tstate
); 
10713         if (PyErr_Occurred()) SWIG_fail
; 
10715     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10722 static PyObject 
*_wrap_DC_DrawArc(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10723     PyObject 
*resultobj
; 
10724     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
10725     wxPoint 
*arg2 
= 0 ; 
10726     wxPoint 
*arg3 
= 0 ; 
10727     wxPoint 
*arg4 
= 0 ; 
10731     PyObject 
* obj0 
= 0 ; 
10732     PyObject 
* obj1 
= 0 ; 
10733     PyObject 
* obj2 
= 0 ; 
10734     PyObject 
* obj3 
= 0 ; 
10735     char *kwnames
[] = { 
10736         (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL 
 
10739     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
10740     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
10741     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10744         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
10748         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
10752         if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
10755         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10756         (arg1
)->DrawArc((wxPoint 
const &)*arg2
,(wxPoint 
const &)*arg3
,(wxPoint 
const &)*arg4
); 
10758         wxPyEndAllowThreads(__tstate
); 
10759         if (PyErr_Occurred()) SWIG_fail
; 
10761     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10768 static PyObject 
*_wrap_DC_DrawCheckMarkXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10769     PyObject 
*resultobj
; 
10770     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
10775     PyObject 
* obj0 
= 0 ; 
10776     PyObject 
* obj1 
= 0 ; 
10777     PyObject 
* obj2 
= 0 ; 
10778     PyObject 
* obj3 
= 0 ; 
10779     PyObject 
* obj4 
= 0 ; 
10780     char *kwnames
[] = { 
10781         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
10784     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMarkXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
10785     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
10786     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10787     arg2 
= (int) SWIG_AsInt(obj1
);  
10788     if (PyErr_Occurred()) SWIG_fail
; 
10789     arg3 
= (int) SWIG_AsInt(obj2
);  
10790     if (PyErr_Occurred()) SWIG_fail
; 
10791     arg4 
= (int) SWIG_AsInt(obj3
);  
10792     if (PyErr_Occurred()) SWIG_fail
; 
10793     arg5 
= (int) SWIG_AsInt(obj4
);  
10794     if (PyErr_Occurred()) SWIG_fail
; 
10796         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10797         (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
); 
10799         wxPyEndAllowThreads(__tstate
); 
10800         if (PyErr_Occurred()) SWIG_fail
; 
10802     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10809 static PyObject 
*_wrap_DC_DrawCheckMark(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10810     PyObject 
*resultobj
; 
10811     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
10814     PyObject 
* obj0 
= 0 ; 
10815     PyObject 
* obj1 
= 0 ; 
10816     char *kwnames
[] = { 
10817         (char *) "self",(char *) "rect", NULL 
 
10820     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
; 
10821     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
10822     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10825         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
10828         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10829         (arg1
)->DrawCheckMark((wxRect 
const &)*arg2
); 
10831         wxPyEndAllowThreads(__tstate
); 
10832         if (PyErr_Occurred()) SWIG_fail
; 
10834     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10841 static PyObject 
*_wrap_DC_DrawEllipticArcXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10842     PyObject 
*resultobj
; 
10843     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
10850     PyObject 
* obj0 
= 0 ; 
10851     PyObject 
* obj1 
= 0 ; 
10852     PyObject 
* obj2 
= 0 ; 
10853     PyObject 
* obj3 
= 0 ; 
10854     PyObject 
* obj4 
= 0 ; 
10855     PyObject 
* obj5 
= 0 ; 
10856     PyObject 
* obj6 
= 0 ; 
10857     char *kwnames
[] = { 
10858         (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL 
 
10861     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
10862     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
10863     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10864     arg2 
= (int) SWIG_AsInt(obj1
);  
10865     if (PyErr_Occurred()) SWIG_fail
; 
10866     arg3 
= (int) SWIG_AsInt(obj2
);  
10867     if (PyErr_Occurred()) SWIG_fail
; 
10868     arg4 
= (int) SWIG_AsInt(obj3
);  
10869     if (PyErr_Occurred()) SWIG_fail
; 
10870     arg5 
= (int) SWIG_AsInt(obj4
);  
10871     if (PyErr_Occurred()) SWIG_fail
; 
10872     arg6 
= (double) SWIG_AsDouble(obj5
);  
10873     if (PyErr_Occurred()) SWIG_fail
; 
10874     arg7 
= (double) SWIG_AsDouble(obj6
);  
10875     if (PyErr_Occurred()) SWIG_fail
; 
10877         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10878         (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
10880         wxPyEndAllowThreads(__tstate
); 
10881         if (PyErr_Occurred()) SWIG_fail
; 
10883     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10890 static PyObject 
*_wrap_DC_DrawEllipticArc(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10891     PyObject 
*resultobj
; 
10892     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
10893     wxPoint 
*arg2 
= 0 ; 
10899     PyObject 
* obj0 
= 0 ; 
10900     PyObject 
* obj1 
= 0 ; 
10901     PyObject 
* obj2 
= 0 ; 
10902     PyObject 
* obj3 
= 0 ; 
10903     PyObject 
* obj4 
= 0 ; 
10904     char *kwnames
[] = { 
10905         (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL 
 
10908     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
10909     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
10910     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10913         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
10917         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
10919     arg4 
= (double) SWIG_AsDouble(obj3
);  
10920     if (PyErr_Occurred()) SWIG_fail
; 
10921     arg5 
= (double) SWIG_AsDouble(obj4
);  
10922     if (PyErr_Occurred()) SWIG_fail
; 
10924         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10925         (arg1
)->DrawEllipticArc((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
,arg4
,arg5
); 
10927         wxPyEndAllowThreads(__tstate
); 
10928         if (PyErr_Occurred()) SWIG_fail
; 
10930     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10937 static PyObject 
*_wrap_DC_DrawPointXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10938     PyObject 
*resultobj
; 
10939     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
10942     PyObject 
* obj0 
= 0 ; 
10943     PyObject 
* obj1 
= 0 ; 
10944     PyObject 
* obj2 
= 0 ; 
10945     char *kwnames
[] = { 
10946         (char *) "self",(char *) "x",(char *) "y", NULL 
 
10949     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPointXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10950     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
10951     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10952     arg2 
= (int) SWIG_AsInt(obj1
);  
10953     if (PyErr_Occurred()) SWIG_fail
; 
10954     arg3 
= (int) SWIG_AsInt(obj2
);  
10955     if (PyErr_Occurred()) SWIG_fail
; 
10957         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10958         (arg1
)->DrawPoint(arg2
,arg3
); 
10960         wxPyEndAllowThreads(__tstate
); 
10961         if (PyErr_Occurred()) SWIG_fail
; 
10963     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10970 static PyObject 
*_wrap_DC_DrawPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10971     PyObject 
*resultobj
; 
10972     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
10973     wxPoint 
*arg2 
= 0 ; 
10975     PyObject 
* obj0 
= 0 ; 
10976     PyObject 
* obj1 
= 0 ; 
10977     char *kwnames
[] = { 
10978         (char *) "self",(char *) "pt", NULL 
 
10981     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
10982     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
10983     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10986         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
10989         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10990         (arg1
)->DrawPoint((wxPoint 
const &)*arg2
); 
10992         wxPyEndAllowThreads(__tstate
); 
10993         if (PyErr_Occurred()) SWIG_fail
; 
10995     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11002 static PyObject 
*_wrap_DC_DrawRectangleXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11003     PyObject 
*resultobj
; 
11004     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11009     PyObject 
* obj0 
= 0 ; 
11010     PyObject 
* obj1 
= 0 ; 
11011     PyObject 
* obj2 
= 0 ; 
11012     PyObject 
* obj3 
= 0 ; 
11013     PyObject 
* obj4 
= 0 ; 
11014     char *kwnames
[] = { 
11015         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
11018     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
11019     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11020     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11021     arg2 
= (int) SWIG_AsInt(obj1
);  
11022     if (PyErr_Occurred()) SWIG_fail
; 
11023     arg3 
= (int) SWIG_AsInt(obj2
);  
11024     if (PyErr_Occurred()) SWIG_fail
; 
11025     arg4 
= (int) SWIG_AsInt(obj3
);  
11026     if (PyErr_Occurred()) SWIG_fail
; 
11027     arg5 
= (int) SWIG_AsInt(obj4
);  
11028     if (PyErr_Occurred()) SWIG_fail
; 
11030         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11031         (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
); 
11033         wxPyEndAllowThreads(__tstate
); 
11034         if (PyErr_Occurred()) SWIG_fail
; 
11036     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11043 static PyObject 
*_wrap_DC_DrawRectangle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11044     PyObject 
*resultobj
; 
11045     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11046     wxPoint 
*arg2 
= 0 ; 
11050     PyObject 
* obj0 
= 0 ; 
11051     PyObject 
* obj1 
= 0 ; 
11052     PyObject 
* obj2 
= 0 ; 
11053     char *kwnames
[] = { 
11054         (char *) "self",(char *) "pt",(char *) "sz", NULL 
 
11057     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11058     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11059     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11062         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
11066         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
11069         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11070         (arg1
)->DrawRectangle((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
11072         wxPyEndAllowThreads(__tstate
); 
11073         if (PyErr_Occurred()) SWIG_fail
; 
11075     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11082 static PyObject 
*_wrap_DC_DrawRectangleRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11083     PyObject 
*resultobj
; 
11084     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11087     PyObject 
* obj0 
= 0 ; 
11088     PyObject 
* obj1 
= 0 ; 
11089     char *kwnames
[] = { 
11090         (char *) "self",(char *) "rect", NULL 
 
11093     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
11094     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11095     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11098         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
11101         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11102         (arg1
)->DrawRectangle((wxRect 
const &)*arg2
); 
11104         wxPyEndAllowThreads(__tstate
); 
11105         if (PyErr_Occurred()) SWIG_fail
; 
11107     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11114 static PyObject 
*_wrap_DC_DrawRoundedRectangleXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11115     PyObject 
*resultobj
; 
11116     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11122     PyObject 
* obj0 
= 0 ; 
11123     PyObject 
* obj1 
= 0 ; 
11124     PyObject 
* obj2 
= 0 ; 
11125     PyObject 
* obj3 
= 0 ; 
11126     PyObject 
* obj4 
= 0 ; 
11127     PyObject 
* obj5 
= 0 ; 
11128     char *kwnames
[] = { 
11129         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL 
 
11132     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
11133     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11134     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11135     arg2 
= (int) SWIG_AsInt(obj1
);  
11136     if (PyErr_Occurred()) SWIG_fail
; 
11137     arg3 
= (int) SWIG_AsInt(obj2
);  
11138     if (PyErr_Occurred()) SWIG_fail
; 
11139     arg4 
= (int) SWIG_AsInt(obj3
);  
11140     if (PyErr_Occurred()) SWIG_fail
; 
11141     arg5 
= (int) SWIG_AsInt(obj4
);  
11142     if (PyErr_Occurred()) SWIG_fail
; 
11143     arg6 
= (double) SWIG_AsDouble(obj5
);  
11144     if (PyErr_Occurred()) SWIG_fail
; 
11146         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11147         (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
); 
11149         wxPyEndAllowThreads(__tstate
); 
11150         if (PyErr_Occurred()) SWIG_fail
; 
11152     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11159 static PyObject 
*_wrap_DC_DrawRoundedRectangle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11160     PyObject 
*resultobj
; 
11161     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11162     wxPoint 
*arg2 
= 0 ; 
11167     PyObject 
* obj0 
= 0 ; 
11168     PyObject 
* obj1 
= 0 ; 
11169     PyObject 
* obj2 
= 0 ; 
11170     PyObject 
* obj3 
= 0 ; 
11171     char *kwnames
[] = { 
11172         (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL 
 
11175     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11176     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11177     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11180         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
11184         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
11186     arg4 
= (double) SWIG_AsDouble(obj3
);  
11187     if (PyErr_Occurred()) SWIG_fail
; 
11189         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11190         (arg1
)->DrawRoundedRectangle((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
,arg4
); 
11192         wxPyEndAllowThreads(__tstate
); 
11193         if (PyErr_Occurred()) SWIG_fail
; 
11195     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11202 static PyObject 
*_wrap_DC_DrawRoundedRectangleRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11203     PyObject 
*resultobj
; 
11204     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11208     PyObject 
* obj0 
= 0 ; 
11209     PyObject 
* obj1 
= 0 ; 
11210     PyObject 
* obj2 
= 0 ; 
11211     char *kwnames
[] = { 
11212         (char *) "self",(char *) "r",(char *) "radius", NULL 
 
11215     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11216     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11217     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11220         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
11222     arg3 
= (double) SWIG_AsDouble(obj2
);  
11223     if (PyErr_Occurred()) SWIG_fail
; 
11225         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11226         (arg1
)->DrawRoundedRectangle((wxRect 
const &)*arg2
,arg3
); 
11228         wxPyEndAllowThreads(__tstate
); 
11229         if (PyErr_Occurred()) SWIG_fail
; 
11231     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11238 static PyObject 
*_wrap_DC_DrawCircleXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11239     PyObject 
*resultobj
; 
11240     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11244     PyObject 
* obj0 
= 0 ; 
11245     PyObject 
* obj1 
= 0 ; 
11246     PyObject 
* obj2 
= 0 ; 
11247     PyObject 
* obj3 
= 0 ; 
11248     char *kwnames
[] = { 
11249         (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL 
 
11252     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11253     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11254     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11255     arg2 
= (int) SWIG_AsInt(obj1
);  
11256     if (PyErr_Occurred()) SWIG_fail
; 
11257     arg3 
= (int) SWIG_AsInt(obj2
);  
11258     if (PyErr_Occurred()) SWIG_fail
; 
11259     arg4 
= (int) SWIG_AsInt(obj3
);  
11260     if (PyErr_Occurred()) SWIG_fail
; 
11262         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11263         (arg1
)->DrawCircle(arg2
,arg3
,arg4
); 
11265         wxPyEndAllowThreads(__tstate
); 
11266         if (PyErr_Occurred()) SWIG_fail
; 
11268     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11275 static PyObject 
*_wrap_DC_DrawCircle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11276     PyObject 
*resultobj
; 
11277     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11278     wxPoint 
*arg2 
= 0 ; 
11281     PyObject 
* obj0 
= 0 ; 
11282     PyObject 
* obj1 
= 0 ; 
11283     PyObject 
* obj2 
= 0 ; 
11284     char *kwnames
[] = { 
11285         (char *) "self",(char *) "pt",(char *) "radius", NULL 
 
11288     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11289     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11290     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11293         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
11295     arg3 
= (int) SWIG_AsInt(obj2
);  
11296     if (PyErr_Occurred()) SWIG_fail
; 
11298         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11299         (arg1
)->DrawCircle((wxPoint 
const &)*arg2
,arg3
); 
11301         wxPyEndAllowThreads(__tstate
); 
11302         if (PyErr_Occurred()) SWIG_fail
; 
11304     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11311 static PyObject 
*_wrap_DC_DrawEllipseXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11312     PyObject 
*resultobj
; 
11313     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11318     PyObject 
* obj0 
= 0 ; 
11319     PyObject 
* obj1 
= 0 ; 
11320     PyObject 
* obj2 
= 0 ; 
11321     PyObject 
* obj3 
= 0 ; 
11322     PyObject 
* obj4 
= 0 ; 
11323     char *kwnames
[] = { 
11324         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
11327     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipseXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
11328     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11329     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11330     arg2 
= (int) SWIG_AsInt(obj1
);  
11331     if (PyErr_Occurred()) SWIG_fail
; 
11332     arg3 
= (int) SWIG_AsInt(obj2
);  
11333     if (PyErr_Occurred()) SWIG_fail
; 
11334     arg4 
= (int) SWIG_AsInt(obj3
);  
11335     if (PyErr_Occurred()) SWIG_fail
; 
11336     arg5 
= (int) SWIG_AsInt(obj4
);  
11337     if (PyErr_Occurred()) SWIG_fail
; 
11339         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11340         (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
); 
11342         wxPyEndAllowThreads(__tstate
); 
11343         if (PyErr_Occurred()) SWIG_fail
; 
11345     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11352 static PyObject 
*_wrap_DC_DrawEllipse(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11353     PyObject 
*resultobj
; 
11354     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11355     wxPoint 
*arg2 
= 0 ; 
11359     PyObject 
* obj0 
= 0 ; 
11360     PyObject 
* obj1 
= 0 ; 
11361     PyObject 
* obj2 
= 0 ; 
11362     char *kwnames
[] = { 
11363         (char *) "self",(char *) "pt",(char *) "sz", NULL 
 
11366     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11367     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11368     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11371         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
11375         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
11378         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11379         (arg1
)->DrawEllipse((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
11381         wxPyEndAllowThreads(__tstate
); 
11382         if (PyErr_Occurred()) SWIG_fail
; 
11384     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11391 static PyObject 
*_wrap_DC_DrawEllipseRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11392     PyObject 
*resultobj
; 
11393     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11396     PyObject 
* obj0 
= 0 ; 
11397     PyObject 
* obj1 
= 0 ; 
11398     char *kwnames
[] = { 
11399         (char *) "self",(char *) "rect", NULL 
 
11402     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
11403     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11404     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11407         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
11410         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11411         (arg1
)->DrawEllipse((wxRect 
const &)*arg2
); 
11413         wxPyEndAllowThreads(__tstate
); 
11414         if (PyErr_Occurred()) SWIG_fail
; 
11416     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11423 static PyObject 
*_wrap_DC_DrawIconXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11424     PyObject 
*resultobj
; 
11425     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11429     PyObject 
* obj0 
= 0 ; 
11430     PyObject 
* obj1 
= 0 ; 
11431     PyObject 
* obj2 
= 0 ; 
11432     PyObject 
* obj3 
= 0 ; 
11433     char *kwnames
[] = { 
11434         (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL 
 
11437     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11438     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11439     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11440     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
, 
11441     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
11443     if (arg2 
== NULL
) { 
11444         PyErr_SetString(PyExc_TypeError
,"null reference"); 
11447     arg3 
= (int) SWIG_AsInt(obj2
);  
11448     if (PyErr_Occurred()) SWIG_fail
; 
11449     arg4 
= (int) SWIG_AsInt(obj3
);  
11450     if (PyErr_Occurred()) SWIG_fail
; 
11452         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11453         (arg1
)->DrawIcon((wxIcon 
const &)*arg2
,arg3
,arg4
); 
11455         wxPyEndAllowThreads(__tstate
); 
11456         if (PyErr_Occurred()) SWIG_fail
; 
11458     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11465 static PyObject 
*_wrap_DC_DrawIcon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11466     PyObject 
*resultobj
; 
11467     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11469     wxPoint 
*arg3 
= 0 ; 
11471     PyObject 
* obj0 
= 0 ; 
11472     PyObject 
* obj1 
= 0 ; 
11473     PyObject 
* obj2 
= 0 ; 
11474     char *kwnames
[] = { 
11475         (char *) "self",(char *) "icon",(char *) "pt", NULL 
 
11478     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11479     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11480     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11481     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
, 
11482     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
11484     if (arg2 
== NULL
) { 
11485         PyErr_SetString(PyExc_TypeError
,"null reference"); 
11490         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
11493         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11494         (arg1
)->DrawIcon((wxIcon 
const &)*arg2
,(wxPoint 
const &)*arg3
); 
11496         wxPyEndAllowThreads(__tstate
); 
11497         if (PyErr_Occurred()) SWIG_fail
; 
11499     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11506 static PyObject 
*_wrap_DC_DrawBitmapXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11507     PyObject 
*resultobj
; 
11508     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11509     wxBitmap 
*arg2 
= 0 ; 
11512     bool arg5 
= (bool) False 
; 
11513     PyObject 
* obj0 
= 0 ; 
11514     PyObject 
* obj1 
= 0 ; 
11515     PyObject 
* obj2 
= 0 ; 
11516     PyObject 
* obj3 
= 0 ; 
11517     PyObject 
* obj4 
= 0 ; 
11518     char *kwnames
[] = { 
11519         (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL 
 
11522     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmapXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
11523     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11524     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11525     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
11526     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
11528     if (arg2 
== NULL
) { 
11529         PyErr_SetString(PyExc_TypeError
,"null reference"); 
11532     arg3 
= (int) SWIG_AsInt(obj2
);  
11533     if (PyErr_Occurred()) SWIG_fail
; 
11534     arg4 
= (int) SWIG_AsInt(obj3
);  
11535     if (PyErr_Occurred()) SWIG_fail
; 
11537         arg5 
= (bool) SWIG_AsBool(obj4
);  
11538         if (PyErr_Occurred()) SWIG_fail
; 
11541         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11542         (arg1
)->DrawBitmap((wxBitmap 
const &)*arg2
,arg3
,arg4
,arg5
); 
11544         wxPyEndAllowThreads(__tstate
); 
11545         if (PyErr_Occurred()) SWIG_fail
; 
11547     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11554 static PyObject 
*_wrap_DC_DrawBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11555     PyObject 
*resultobj
; 
11556     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11557     wxBitmap 
*arg2 
= 0 ; 
11558     wxPoint 
*arg3 
= 0 ; 
11559     bool arg4 
= (bool) False 
; 
11561     PyObject 
* obj0 
= 0 ; 
11562     PyObject 
* obj1 
= 0 ; 
11563     PyObject 
* obj2 
= 0 ; 
11564     PyObject 
* obj3 
= 0 ; 
11565     char *kwnames
[] = { 
11566         (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL 
 
11569     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11570     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11571     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11572     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
11573     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
11575     if (arg2 
== NULL
) { 
11576         PyErr_SetString(PyExc_TypeError
,"null reference"); 
11581         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
11584         arg4 
= (bool) SWIG_AsBool(obj3
);  
11585         if (PyErr_Occurred()) SWIG_fail
; 
11588         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11589         (arg1
)->DrawBitmap((wxBitmap 
const &)*arg2
,(wxPoint 
const &)*arg3
,arg4
); 
11591         wxPyEndAllowThreads(__tstate
); 
11592         if (PyErr_Occurred()) SWIG_fail
; 
11594     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11601 static PyObject 
*_wrap_DC_DrawTextXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11602     PyObject 
*resultobj
; 
11603     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11604     wxString 
*arg2 
= 0 ; 
11607     bool temp2 
= False 
; 
11608     PyObject 
* obj0 
= 0 ; 
11609     PyObject 
* obj1 
= 0 ; 
11610     PyObject 
* obj2 
= 0 ; 
11611     PyObject 
* obj3 
= 0 ; 
11612     char *kwnames
[] = { 
11613         (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL 
 
11616     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11617     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11618     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11620         arg2 
= wxString_in_helper(obj1
); 
11621         if (arg2 
== NULL
) SWIG_fail
; 
11624     arg3 
= (int) SWIG_AsInt(obj2
);  
11625     if (PyErr_Occurred()) SWIG_fail
; 
11626     arg4 
= (int) SWIG_AsInt(obj3
);  
11627     if (PyErr_Occurred()) SWIG_fail
; 
11629         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11630         (arg1
)->DrawText((wxString 
const &)*arg2
,arg3
,arg4
); 
11632         wxPyEndAllowThreads(__tstate
); 
11633         if (PyErr_Occurred()) SWIG_fail
; 
11635     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11650 static PyObject 
*_wrap_DC_DrawText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11651     PyObject 
*resultobj
; 
11652     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11653     wxString 
*arg2 
= 0 ; 
11654     wxPoint 
*arg3 
= 0 ; 
11655     bool temp2 
= False 
; 
11657     PyObject 
* obj0 
= 0 ; 
11658     PyObject 
* obj1 
= 0 ; 
11659     PyObject 
* obj2 
= 0 ; 
11660     char *kwnames
[] = { 
11661         (char *) "self",(char *) "text",(char *) "pt", NULL 
 
11664     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11665     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11666     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11668         arg2 
= wxString_in_helper(obj1
); 
11669         if (arg2 
== NULL
) SWIG_fail
; 
11674         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
11677         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11678         (arg1
)->DrawText((wxString 
const &)*arg2
,(wxPoint 
const &)*arg3
); 
11680         wxPyEndAllowThreads(__tstate
); 
11681         if (PyErr_Occurred()) SWIG_fail
; 
11683     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11698 static PyObject 
*_wrap_DC_DrawRotatedTextXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11699     PyObject 
*resultobj
; 
11700     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11701     wxString 
*arg2 
= 0 ; 
11705     bool temp2 
= False 
; 
11706     PyObject 
* obj0 
= 0 ; 
11707     PyObject 
* obj1 
= 0 ; 
11708     PyObject 
* obj2 
= 0 ; 
11709     PyObject 
* obj3 
= 0 ; 
11710     PyObject 
* obj4 
= 0 ; 
11711     char *kwnames
[] = { 
11712         (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL 
 
11715     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
11716     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11717     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11719         arg2 
= wxString_in_helper(obj1
); 
11720         if (arg2 
== NULL
) SWIG_fail
; 
11723     arg3 
= (int) SWIG_AsInt(obj2
);  
11724     if (PyErr_Occurred()) SWIG_fail
; 
11725     arg4 
= (int) SWIG_AsInt(obj3
);  
11726     if (PyErr_Occurred()) SWIG_fail
; 
11727     arg5 
= (double) SWIG_AsDouble(obj4
);  
11728     if (PyErr_Occurred()) SWIG_fail
; 
11730         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11731         (arg1
)->DrawRotatedText((wxString 
const &)*arg2
,arg3
,arg4
,arg5
); 
11733         wxPyEndAllowThreads(__tstate
); 
11734         if (PyErr_Occurred()) SWIG_fail
; 
11736     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11751 static PyObject 
*_wrap_DC_DrawRotatedText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11752     PyObject 
*resultobj
; 
11753     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11754     wxString 
*arg2 
= 0 ; 
11755     wxPoint 
*arg3 
= 0 ; 
11757     bool temp2 
= False 
; 
11759     PyObject 
* obj0 
= 0 ; 
11760     PyObject 
* obj1 
= 0 ; 
11761     PyObject 
* obj2 
= 0 ; 
11762     PyObject 
* obj3 
= 0 ; 
11763     char *kwnames
[] = { 
11764         (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL 
 
11767     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11768     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11769     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11771         arg2 
= wxString_in_helper(obj1
); 
11772         if (arg2 
== NULL
) SWIG_fail
; 
11777         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
11779     arg4 
= (double) SWIG_AsDouble(obj3
);  
11780     if (PyErr_Occurred()) SWIG_fail
; 
11782         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11783         (arg1
)->DrawRotatedText((wxString 
const &)*arg2
,(wxPoint 
const &)*arg3
,arg4
); 
11785         wxPyEndAllowThreads(__tstate
); 
11786         if (PyErr_Occurred()) SWIG_fail
; 
11788     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11803 static PyObject 
*_wrap_DC_BlitXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11804     PyObject 
*resultobj
; 
11805     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11810     wxDC 
*arg6 
= (wxDC 
*) 0 ; 
11813     int arg9 
= (int) wxCOPY 
; 
11814     bool arg10 
= (bool) False 
; 
11815     int arg11 
= (int) -1 ; 
11816     int arg12 
= (int) -1 ; 
11818     PyObject 
* obj0 
= 0 ; 
11819     PyObject 
* obj1 
= 0 ; 
11820     PyObject 
* obj2 
= 0 ; 
11821     PyObject 
* obj3 
= 0 ; 
11822     PyObject 
* obj4 
= 0 ; 
11823     PyObject 
* obj5 
= 0 ; 
11824     PyObject 
* obj6 
= 0 ; 
11825     PyObject 
* obj7 
= 0 ; 
11826     PyObject 
* obj8 
= 0 ; 
11827     PyObject 
* obj9 
= 0 ; 
11828     PyObject 
* obj10 
= 0 ; 
11829     PyObject 
* obj11 
= 0 ; 
11830     char *kwnames
[] = { 
11831         (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 
 
11834     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO|OOOO:DC_BlitXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
)) goto fail
; 
11835     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11836     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11837     arg2 
= (int) SWIG_AsInt(obj1
);  
11838     if (PyErr_Occurred()) SWIG_fail
; 
11839     arg3 
= (int) SWIG_AsInt(obj2
);  
11840     if (PyErr_Occurred()) SWIG_fail
; 
11841     arg4 
= (int) SWIG_AsInt(obj3
);  
11842     if (PyErr_Occurred()) SWIG_fail
; 
11843     arg5 
= (int) SWIG_AsInt(obj4
);  
11844     if (PyErr_Occurred()) SWIG_fail
; 
11845     if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
, 
11846     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11847     arg7 
= (int) SWIG_AsInt(obj6
);  
11848     if (PyErr_Occurred()) SWIG_fail
; 
11849     arg8 
= (int) SWIG_AsInt(obj7
);  
11850     if (PyErr_Occurred()) SWIG_fail
; 
11852         arg9 
= (int) SWIG_AsInt(obj8
);  
11853         if (PyErr_Occurred()) SWIG_fail
; 
11856         arg10 
= (bool) SWIG_AsBool(obj9
);  
11857         if (PyErr_Occurred()) SWIG_fail
; 
11860         arg11 
= (int) SWIG_AsInt(obj10
);  
11861         if (PyErr_Occurred()) SWIG_fail
; 
11864         arg12 
= (int) SWIG_AsInt(obj11
);  
11865         if (PyErr_Occurred()) SWIG_fail
; 
11868         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11869         result 
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
); 
11871         wxPyEndAllowThreads(__tstate
); 
11872         if (PyErr_Occurred()) SWIG_fail
; 
11875         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11883 static PyObject 
*_wrap_DC_Blit(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11884     PyObject 
*resultobj
; 
11885     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11886     wxPoint 
*arg2 
= 0 ; 
11888     wxDC 
*arg4 
= (wxDC 
*) 0 ; 
11889     wxPoint 
*arg5 
= 0 ; 
11890     int arg6 
= (int) wxCOPY 
; 
11891     bool arg7 
= (bool) False 
; 
11892     wxPoint 
const &arg8_defvalue 
= wxDefaultPosition 
; 
11893     wxPoint 
*arg8 
= (wxPoint 
*) &arg8_defvalue 
; 
11899     PyObject 
* obj0 
= 0 ; 
11900     PyObject 
* obj1 
= 0 ; 
11901     PyObject 
* obj2 
= 0 ; 
11902     PyObject 
* obj3 
= 0 ; 
11903     PyObject 
* obj4 
= 0 ; 
11904     PyObject 
* obj5 
= 0 ; 
11905     PyObject 
* obj6 
= 0 ; 
11906     PyObject 
* obj7 
= 0 ; 
11907     char *kwnames
[] = { 
11908         (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL 
 
11911     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
11912     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11913     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11916         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
11920         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
11922     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
, 
11923     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11926         if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
11929         arg6 
= (int) SWIG_AsInt(obj5
);  
11930         if (PyErr_Occurred()) SWIG_fail
; 
11933         arg7 
= (bool) SWIG_AsBool(obj6
);  
11934         if (PyErr_Occurred()) SWIG_fail
; 
11939             if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
; 
11943         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11944         result 
= (bool)(arg1
)->Blit((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
,arg4
,(wxPoint 
const &)*arg5
,arg6
,arg7
,(wxPoint 
const &)*arg8
); 
11946         wxPyEndAllowThreads(__tstate
); 
11947         if (PyErr_Occurred()) SWIG_fail
; 
11950         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11958 static PyObject 
*_wrap_DC_DrawLines(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11959     PyObject 
*resultobj
; 
11960     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
11962     wxPoint 
*arg3 
= (wxPoint 
*) 0 ; 
11963     int arg4 
= (int) 0 ; 
11964     int arg5 
= (int) 0 ; 
11965     PyObject 
* obj0 
= 0 ; 
11966     PyObject 
* obj1 
= 0 ; 
11967     PyObject 
* obj2 
= 0 ; 
11968     PyObject 
* obj3 
= 0 ; 
11969     char *kwnames
[] = { 
11970         (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL 
 
11973     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11974     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
11975     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11977         arg3 
= wxPoint_LIST_helper(obj1
, &arg2
); 
11978         if (arg3 
== NULL
) SWIG_fail
; 
11981         arg4 
= (int) SWIG_AsInt(obj2
);  
11982         if (PyErr_Occurred()) SWIG_fail
; 
11985         arg5 
= (int) SWIG_AsInt(obj3
);  
11986         if (PyErr_Occurred()) SWIG_fail
; 
11989         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11990         (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
); 
11992         wxPyEndAllowThreads(__tstate
); 
11993         if (PyErr_Occurred()) SWIG_fail
; 
11995     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11997         if (arg3
) delete [] arg3
; 
12002         if (arg3
) delete [] arg3
; 
12008 static PyObject 
*_wrap_DC_DrawPolygon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12009     PyObject 
*resultobj
; 
12010     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12012     wxPoint 
*arg3 
= (wxPoint 
*) 0 ; 
12013     int arg4 
= (int) 0 ; 
12014     int arg5 
= (int) 0 ; 
12015     int arg6 
= (int) wxODDEVEN_RULE 
; 
12016     PyObject 
* obj0 
= 0 ; 
12017     PyObject 
* obj1 
= 0 ; 
12018     PyObject 
* obj2 
= 0 ; 
12019     PyObject 
* obj3 
= 0 ; 
12020     PyObject 
* obj4 
= 0 ; 
12021     char *kwnames
[] = { 
12022         (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL 
 
12025     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
12026     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12027     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12029         arg3 
= wxPoint_LIST_helper(obj1
, &arg2
); 
12030         if (arg3 
== NULL
) SWIG_fail
; 
12033         arg4 
= (int) SWIG_AsInt(obj2
);  
12034         if (PyErr_Occurred()) SWIG_fail
; 
12037         arg5 
= (int) SWIG_AsInt(obj3
);  
12038         if (PyErr_Occurred()) SWIG_fail
; 
12041         arg6 
= (int) SWIG_AsInt(obj4
);  
12042         if (PyErr_Occurred()) SWIG_fail
; 
12045         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12046         (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
); 
12048         wxPyEndAllowThreads(__tstate
); 
12049         if (PyErr_Occurred()) SWIG_fail
; 
12051     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12053         if (arg3
) delete [] arg3
; 
12058         if (arg3
) delete [] arg3
; 
12064 static PyObject 
*_wrap_DC_DrawLabel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12065     PyObject 
*resultobj
; 
12066     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12067     wxString 
*arg2 
= 0 ; 
12069     int arg4 
= (int) wxALIGN_LEFT
|wxALIGN_TOP 
; 
12070     int arg5 
= (int) -1 ; 
12071     bool temp2 
= False 
; 
12073     PyObject 
* obj0 
= 0 ; 
12074     PyObject 
* obj1 
= 0 ; 
12075     PyObject 
* obj2 
= 0 ; 
12076     PyObject 
* obj3 
= 0 ; 
12077     PyObject 
* obj4 
= 0 ; 
12078     char *kwnames
[] = { 
12079         (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL 
 
12082     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
12083     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12084     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12086         arg2 
= wxString_in_helper(obj1
); 
12087         if (arg2 
== NULL
) SWIG_fail
; 
12092         if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
; 
12095         arg4 
= (int) SWIG_AsInt(obj3
);  
12096         if (PyErr_Occurred()) SWIG_fail
; 
12099         arg5 
= (int) SWIG_AsInt(obj4
);  
12100         if (PyErr_Occurred()) SWIG_fail
; 
12103         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12104         (arg1
)->DrawLabel((wxString 
const &)*arg2
,(wxRect 
const &)*arg3
,arg4
,arg5
); 
12106         wxPyEndAllowThreads(__tstate
); 
12107         if (PyErr_Occurred()) SWIG_fail
; 
12109     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12124 static PyObject 
*_wrap_DC_DrawImageLabel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12125     PyObject 
*resultobj
; 
12126     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12127     wxString 
*arg2 
= 0 ; 
12128     wxBitmap 
*arg3 
= 0 ; 
12130     int arg5 
= (int) wxALIGN_LEFT
|wxALIGN_TOP 
; 
12131     int arg6 
= (int) -1 ; 
12133     bool temp2 
= False 
; 
12135     PyObject 
* obj0 
= 0 ; 
12136     PyObject 
* obj1 
= 0 ; 
12137     PyObject 
* obj2 
= 0 ; 
12138     PyObject 
* obj3 
= 0 ; 
12139     PyObject 
* obj4 
= 0 ; 
12140     PyObject 
* obj5 
= 0 ; 
12141     char *kwnames
[] = { 
12142         (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL 
 
12145     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
12146     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12147     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12149         arg2 
= wxString_in_helper(obj1
); 
12150         if (arg2 
== NULL
) SWIG_fail
; 
12153     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
, 
12154     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12156     if (arg3 
== NULL
) { 
12157         PyErr_SetString(PyExc_TypeError
,"null reference"); 
12162         if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
12165         arg5 
= (int) SWIG_AsInt(obj4
);  
12166         if (PyErr_Occurred()) SWIG_fail
; 
12169         arg6 
= (int) SWIG_AsInt(obj5
);  
12170         if (PyErr_Occurred()) SWIG_fail
; 
12173         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12174         result 
= wxDC_DrawImageLabel(arg1
,(wxString 
const &)*arg2
,(wxBitmap 
const &)*arg3
,(wxRect 
const &)*arg4
,arg5
,arg6
); 
12176         wxPyEndAllowThreads(__tstate
); 
12177         if (PyErr_Occurred()) SWIG_fail
; 
12180         wxRect 
* resultptr
; 
12181         resultptr 
= new wxRect((wxRect 
&) result
); 
12182         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
12198 static PyObject 
*_wrap_DC_DrawSpline(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12199     PyObject 
*resultobj
; 
12200     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12202     wxPoint 
*arg3 
= (wxPoint 
*) 0 ; 
12203     PyObject 
* obj0 
= 0 ; 
12204     PyObject 
* obj1 
= 0 ; 
12205     char *kwnames
[] = { 
12206         (char *) "self",(char *) "points", NULL 
 
12209     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
; 
12210     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12211     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12213         arg3 
= wxPoint_LIST_helper(obj1
, &arg2
); 
12214         if (arg3 
== NULL
) SWIG_fail
; 
12217         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12218         (arg1
)->DrawSpline(arg2
,arg3
); 
12220         wxPyEndAllowThreads(__tstate
); 
12221         if (PyErr_Occurred()) SWIG_fail
; 
12223     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12225         if (arg3
) delete [] arg3
; 
12230         if (arg3
) delete [] arg3
; 
12236 static PyObject 
*_wrap_DC_Clear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12237     PyObject 
*resultobj
; 
12238     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12239     PyObject 
* obj0 
= 0 ; 
12240     char *kwnames
[] = { 
12241         (char *) "self", NULL 
 
12244     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
; 
12245     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12246     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12248         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12251         wxPyEndAllowThreads(__tstate
); 
12252         if (PyErr_Occurred()) SWIG_fail
; 
12254     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12261 static PyObject 
*_wrap_DC_StartDoc(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12262     PyObject 
*resultobj
; 
12263     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12264     wxString 
*arg2 
= 0 ; 
12266     bool temp2 
= False 
; 
12267     PyObject 
* obj0 
= 0 ; 
12268     PyObject 
* obj1 
= 0 ; 
12269     char *kwnames
[] = { 
12270         (char *) "self",(char *) "message", NULL 
 
12273     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
; 
12274     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12275     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12277         arg2 
= wxString_in_helper(obj1
); 
12278         if (arg2 
== NULL
) SWIG_fail
; 
12282         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12283         result 
= (bool)(arg1
)->StartDoc((wxString 
const &)*arg2
); 
12285         wxPyEndAllowThreads(__tstate
); 
12286         if (PyErr_Occurred()) SWIG_fail
; 
12289         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12305 static PyObject 
*_wrap_DC_EndDoc(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12306     PyObject 
*resultobj
; 
12307     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12308     PyObject 
* obj0 
= 0 ; 
12309     char *kwnames
[] = { 
12310         (char *) "self", NULL 
 
12313     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
; 
12314     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12315     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12317         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12320         wxPyEndAllowThreads(__tstate
); 
12321         if (PyErr_Occurred()) SWIG_fail
; 
12323     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12330 static PyObject 
*_wrap_DC_StartPage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12331     PyObject 
*resultobj
; 
12332     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12333     PyObject 
* obj0 
= 0 ; 
12334     char *kwnames
[] = { 
12335         (char *) "self", NULL 
 
12338     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
; 
12339     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12340     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12342         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12343         (arg1
)->StartPage(); 
12345         wxPyEndAllowThreads(__tstate
); 
12346         if (PyErr_Occurred()) SWIG_fail
; 
12348     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12355 static PyObject 
*_wrap_DC_EndPage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12356     PyObject 
*resultobj
; 
12357     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12358     PyObject 
* obj0 
= 0 ; 
12359     char *kwnames
[] = { 
12360         (char *) "self", NULL 
 
12363     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
; 
12364     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12365     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12367         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12370         wxPyEndAllowThreads(__tstate
); 
12371         if (PyErr_Occurred()) SWIG_fail
; 
12373     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12380 static PyObject 
*_wrap_DC_SetFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12381     PyObject 
*resultobj
; 
12382     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12384     PyObject 
* obj0 
= 0 ; 
12385     PyObject 
* obj1 
= 0 ; 
12386     char *kwnames
[] = { 
12387         (char *) "self",(char *) "font", NULL 
 
12390     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
12391     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12392     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12393     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
12394     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12396     if (arg2 
== NULL
) { 
12397         PyErr_SetString(PyExc_TypeError
,"null reference"); 
12401         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12402         (arg1
)->SetFont((wxFont 
const &)*arg2
); 
12404         wxPyEndAllowThreads(__tstate
); 
12405         if (PyErr_Occurred()) SWIG_fail
; 
12407     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12414 static PyObject 
*_wrap_DC_SetPen(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12415     PyObject 
*resultobj
; 
12416     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12418     PyObject 
* obj0 
= 0 ; 
12419     PyObject 
* obj1 
= 0 ; 
12420     char *kwnames
[] = { 
12421         (char *) "self",(char *) "pen", NULL 
 
12424     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
; 
12425     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12426     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12427     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
, 
12428     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12430     if (arg2 
== NULL
) { 
12431         PyErr_SetString(PyExc_TypeError
,"null reference"); 
12435         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12436         (arg1
)->SetPen((wxPen 
const &)*arg2
); 
12438         wxPyEndAllowThreads(__tstate
); 
12439         if (PyErr_Occurred()) SWIG_fail
; 
12441     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12448 static PyObject 
*_wrap_DC_SetBrush(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12449     PyObject 
*resultobj
; 
12450     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12451     wxBrush 
*arg2 
= 0 ; 
12452     PyObject 
* obj0 
= 0 ; 
12453     PyObject 
* obj1 
= 0 ; 
12454     char *kwnames
[] = { 
12455         (char *) "self",(char *) "brush", NULL 
 
12458     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
; 
12459     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12460     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12461     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
, 
12462     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12464     if (arg2 
== NULL
) { 
12465         PyErr_SetString(PyExc_TypeError
,"null reference"); 
12469         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12470         (arg1
)->SetBrush((wxBrush 
const &)*arg2
); 
12472         wxPyEndAllowThreads(__tstate
); 
12473         if (PyErr_Occurred()) SWIG_fail
; 
12475     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12482 static PyObject 
*_wrap_DC_SetBackground(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12483     PyObject 
*resultobj
; 
12484     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12485     wxBrush 
*arg2 
= 0 ; 
12486     PyObject 
* obj0 
= 0 ; 
12487     PyObject 
* obj1 
= 0 ; 
12488     char *kwnames
[] = { 
12489         (char *) "self",(char *) "brush", NULL 
 
12492     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
; 
12493     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12494     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12495     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
, 
12496     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12498     if (arg2 
== NULL
) { 
12499         PyErr_SetString(PyExc_TypeError
,"null reference"); 
12503         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12504         (arg1
)->SetBackground((wxBrush 
const &)*arg2
); 
12506         wxPyEndAllowThreads(__tstate
); 
12507         if (PyErr_Occurred()) SWIG_fail
; 
12509     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12516 static PyObject 
*_wrap_DC_SetBackgroundMode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12517     PyObject 
*resultobj
; 
12518     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12520     PyObject 
* obj0 
= 0 ; 
12521     PyObject 
* obj1 
= 0 ; 
12522     char *kwnames
[] = { 
12523         (char *) "self",(char *) "mode", NULL 
 
12526     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
; 
12527     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12528     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12529     arg2 
= (int) SWIG_AsInt(obj1
);  
12530     if (PyErr_Occurred()) SWIG_fail
; 
12532         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12533         (arg1
)->SetBackgroundMode(arg2
); 
12535         wxPyEndAllowThreads(__tstate
); 
12536         if (PyErr_Occurred()) SWIG_fail
; 
12538     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12545 static PyObject 
*_wrap_DC_SetPalette(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12546     PyObject 
*resultobj
; 
12547     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12548     wxPalette 
*arg2 
= 0 ; 
12549     PyObject 
* obj0 
= 0 ; 
12550     PyObject 
* obj1 
= 0 ; 
12551     char *kwnames
[] = { 
12552         (char *) "self",(char *) "palette", NULL 
 
12555     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
; 
12556     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12557     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12558     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
, 
12559     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12561     if (arg2 
== NULL
) { 
12562         PyErr_SetString(PyExc_TypeError
,"null reference"); 
12566         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12567         (arg1
)->SetPalette((wxPalette 
const &)*arg2
); 
12569         wxPyEndAllowThreads(__tstate
); 
12570         if (PyErr_Occurred()) SWIG_fail
; 
12572     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12579 static PyObject 
*_wrap_DC_SetClippingRegionXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12580     PyObject 
*resultobj
; 
12581     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12586     PyObject 
* obj0 
= 0 ; 
12587     PyObject 
* obj1 
= 0 ; 
12588     PyObject 
* obj2 
= 0 ; 
12589     PyObject 
* obj3 
= 0 ; 
12590     PyObject 
* obj4 
= 0 ; 
12591     char *kwnames
[] = { 
12592         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
12595     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegionXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
12596     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12597     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12598     arg2 
= (int) SWIG_AsInt(obj1
);  
12599     if (PyErr_Occurred()) SWIG_fail
; 
12600     arg3 
= (int) SWIG_AsInt(obj2
);  
12601     if (PyErr_Occurred()) SWIG_fail
; 
12602     arg4 
= (int) SWIG_AsInt(obj3
);  
12603     if (PyErr_Occurred()) SWIG_fail
; 
12604     arg5 
= (int) SWIG_AsInt(obj4
);  
12605     if (PyErr_Occurred()) SWIG_fail
; 
12607         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12608         (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
); 
12610         wxPyEndAllowThreads(__tstate
); 
12611         if (PyErr_Occurred()) SWIG_fail
; 
12613     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12620 static PyObject 
*_wrap_DC_SetClippingRegion(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12621     PyObject 
*resultobj
; 
12622     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12623     wxPoint 
*arg2 
= 0 ; 
12627     PyObject 
* obj0 
= 0 ; 
12628     PyObject 
* obj1 
= 0 ; 
12629     PyObject 
* obj2 
= 0 ; 
12630     char *kwnames
[] = { 
12631         (char *) "self",(char *) "pt",(char *) "sz", NULL 
 
12634     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12635     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12636     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12639         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
12643         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
12646         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12647         (arg1
)->SetClippingRegion((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
12649         wxPyEndAllowThreads(__tstate
); 
12650         if (PyErr_Occurred()) SWIG_fail
; 
12652     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12659 static PyObject 
*_wrap_DC_SetClippingRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12660     PyObject 
*resultobj
; 
12661     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12664     PyObject 
* obj0 
= 0 ; 
12665     PyObject 
* obj1 
= 0 ; 
12666     char *kwnames
[] = { 
12667         (char *) "self",(char *) "rect", NULL 
 
12670     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
12671     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12672     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12675         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
12678         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12679         (arg1
)->SetClippingRegion((wxRect 
const &)*arg2
); 
12681         wxPyEndAllowThreads(__tstate
); 
12682         if (PyErr_Occurred()) SWIG_fail
; 
12684     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12691 static PyObject 
*_wrap_DC_SetClippingRegionAsRegion(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12692     PyObject 
*resultobj
; 
12693     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12694     wxRegion 
*arg2 
= 0 ; 
12695     PyObject 
* obj0 
= 0 ; 
12696     PyObject 
* obj1 
= 0 ; 
12697     char *kwnames
[] = { 
12698         (char *) "self",(char *) "region", NULL 
 
12701     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
; 
12702     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12703     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12704     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
, 
12705     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12707     if (arg2 
== NULL
) { 
12708         PyErr_SetString(PyExc_TypeError
,"null reference"); 
12712         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12713         (arg1
)->SetClippingRegion((wxRegion 
const &)*arg2
); 
12715         wxPyEndAllowThreads(__tstate
); 
12716         if (PyErr_Occurred()) SWIG_fail
; 
12718     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12725 static PyObject 
*_wrap_DC_DestroyClippingRegion(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12726     PyObject 
*resultobj
; 
12727     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12728     PyObject 
* obj0 
= 0 ; 
12729     char *kwnames
[] = { 
12730         (char *) "self", NULL 
 
12733     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
; 
12734     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12735     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12737         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12738         (arg1
)->DestroyClippingRegion(); 
12740         wxPyEndAllowThreads(__tstate
); 
12741         if (PyErr_Occurred()) SWIG_fail
; 
12743     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12750 static PyObject 
*_wrap_DC_GetClippingBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12751     PyObject 
*resultobj
; 
12752     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12753     int *arg2 
= (int *) 0 ; 
12754     int *arg3 
= (int *) 0 ; 
12755     int *arg4 
= (int *) 0 ; 
12756     int *arg5 
= (int *) 0 ; 
12761     PyObject 
* obj0 
= 0 ; 
12762     char *kwnames
[] = { 
12763         (char *) "self", NULL 
 
12770     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
; 
12771     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12772     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12774         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12775         ((wxDC 
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
); 
12777         wxPyEndAllowThreads(__tstate
); 
12778         if (PyErr_Occurred()) SWIG_fail
; 
12780     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12782         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
12783         resultobj 
= t_output_helper(resultobj
,o
); 
12786         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
12787         resultobj 
= t_output_helper(resultobj
,o
); 
12790         PyObject 
*o 
= PyInt_FromLong((long) (*arg4
)); 
12791         resultobj 
= t_output_helper(resultobj
,o
); 
12794         PyObject 
*o 
= PyInt_FromLong((long) (*arg5
)); 
12795         resultobj 
= t_output_helper(resultobj
,o
); 
12803 static PyObject 
*_wrap_DC_GetClippingRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12804     PyObject 
*resultobj
; 
12805     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12807     PyObject 
* obj0 
= 0 ; 
12808     char *kwnames
[] = { 
12809         (char *) "self", NULL 
 
12812     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
; 
12813     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12814     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12816         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12817         result 
= wxDC_GetClippingRect(arg1
); 
12819         wxPyEndAllowThreads(__tstate
); 
12820         if (PyErr_Occurred()) SWIG_fail
; 
12823         wxRect 
* resultptr
; 
12824         resultptr 
= new wxRect((wxRect 
&) result
); 
12825         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
12833 static PyObject 
*_wrap_DC_GetCharHeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12834     PyObject 
*resultobj
; 
12835     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12837     PyObject 
* obj0 
= 0 ; 
12838     char *kwnames
[] = { 
12839         (char *) "self", NULL 
 
12842     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
; 
12843     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12844     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12846         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12847         result 
= (int)((wxDC 
const *)arg1
)->GetCharHeight(); 
12849         wxPyEndAllowThreads(__tstate
); 
12850         if (PyErr_Occurred()) SWIG_fail
; 
12852     resultobj 
= SWIG_FromInt((int)result
); 
12859 static PyObject 
*_wrap_DC_GetCharWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12860     PyObject 
*resultobj
; 
12861     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12863     PyObject 
* obj0 
= 0 ; 
12864     char *kwnames
[] = { 
12865         (char *) "self", NULL 
 
12868     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
; 
12869     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12870     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12872         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12873         result 
= (int)((wxDC 
const *)arg1
)->GetCharWidth(); 
12875         wxPyEndAllowThreads(__tstate
); 
12876         if (PyErr_Occurred()) SWIG_fail
; 
12878     resultobj 
= SWIG_FromInt((int)result
); 
12885 static PyObject 
*_wrap_DC_GetTextExtent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12886     PyObject 
*resultobj
; 
12887     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12888     wxString 
*arg2 
= 0 ; 
12889     int *arg3 
= (int *) 0 ; 
12890     int *arg4 
= (int *) 0 ; 
12891     bool temp2 
= False 
; 
12894     PyObject 
* obj0 
= 0 ; 
12895     PyObject 
* obj1 
= 0 ; 
12896     char *kwnames
[] = { 
12897         (char *) "self",(char *) "string", NULL 
 
12902     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
; 
12903     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12904     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12906         arg2 
= wxString_in_helper(obj1
); 
12907         if (arg2 
== NULL
) SWIG_fail
; 
12911         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12912         (arg1
)->GetTextExtent((wxString 
const &)*arg2
,arg3
,arg4
); 
12914         wxPyEndAllowThreads(__tstate
); 
12915         if (PyErr_Occurred()) SWIG_fail
; 
12917     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12919         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
12920         resultobj 
= t_output_helper(resultobj
,o
); 
12923         PyObject 
*o 
= PyInt_FromLong((long) (*arg4
)); 
12924         resultobj 
= t_output_helper(resultobj
,o
); 
12940 static PyObject 
*_wrap_DC_GetFullTextExtent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12941     PyObject 
*resultobj
; 
12942     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12943     wxString 
*arg2 
= 0 ; 
12944     int *arg3 
= (int *) 0 ; 
12945     int *arg4 
= (int *) 0 ; 
12946     int *arg5 
= (int *) 0 ; 
12947     int *arg6 
= (int *) 0 ; 
12948     wxFont 
*arg7 
= (wxFont 
*) NULL 
; 
12949     bool temp2 
= False 
; 
12954     PyObject 
* obj0 
= 0 ; 
12955     PyObject 
* obj1 
= 0 ; 
12956     PyObject 
* obj2 
= 0 ; 
12957     char *kwnames
[] = { 
12958         (char *) "self",(char *) "string",(char *) "font", NULL 
 
12965     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12966     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
12967     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12969         arg2 
= wxString_in_helper(obj1
); 
12970         if (arg2 
== NULL
) SWIG_fail
; 
12974         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
, 
12975         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12978         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12979         (arg1
)->GetTextExtent((wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
12981         wxPyEndAllowThreads(__tstate
); 
12982         if (PyErr_Occurred()) SWIG_fail
; 
12984     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12986         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
12987         resultobj 
= t_output_helper(resultobj
,o
); 
12990         PyObject 
*o 
= PyInt_FromLong((long) (*arg4
)); 
12991         resultobj 
= t_output_helper(resultobj
,o
); 
12994         PyObject 
*o 
= PyInt_FromLong((long) (*arg5
)); 
12995         resultobj 
= t_output_helper(resultobj
,o
); 
12998         PyObject 
*o 
= PyInt_FromLong((long) (*arg6
)); 
12999         resultobj 
= t_output_helper(resultobj
,o
); 
13015 static PyObject 
*_wrap_DC_GetMultiLineTextExtent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13016     PyObject 
*resultobj
; 
13017     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13018     wxString 
*arg2 
= 0 ; 
13019     int *arg3 
= (int *) 0 ; 
13020     int *arg4 
= (int *) 0 ; 
13021     int *arg5 
= (int *) 0 ; 
13022     wxFont 
*arg6 
= (wxFont 
*) NULL 
; 
13023     bool temp2 
= False 
; 
13027     PyObject 
* obj0 
= 0 ; 
13028     PyObject 
* obj1 
= 0 ; 
13029     PyObject 
* obj2 
= 0 ; 
13030     char *kwnames
[] = { 
13031         (char *) "self",(char *) "text",(char *) "font", NULL 
 
13037     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13038     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13039     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13041         arg2 
= wxString_in_helper(obj1
); 
13042         if (arg2 
== NULL
) SWIG_fail
; 
13046         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
, 
13047         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13050         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13051         (arg1
)->GetMultiLineTextExtent((wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
); 
13053         wxPyEndAllowThreads(__tstate
); 
13054         if (PyErr_Occurred()) SWIG_fail
; 
13056     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13058         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
13059         resultobj 
= t_output_helper(resultobj
,o
); 
13062         PyObject 
*o 
= PyInt_FromLong((long) (*arg4
)); 
13063         resultobj 
= t_output_helper(resultobj
,o
); 
13066         PyObject 
*o 
= PyInt_FromLong((long) (*arg5
)); 
13067         resultobj 
= t_output_helper(resultobj
,o
); 
13083 static PyObject 
*_wrap_DC_GetPartialTextExtents(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13084     PyObject 
*resultobj
; 
13085     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13086     wxString 
*arg2 
= 0 ; 
13088     bool temp2 
= False 
; 
13089     PyObject 
* obj0 
= 0 ; 
13090     PyObject 
* obj1 
= 0 ; 
13091     char *kwnames
[] = { 
13092         (char *) "self",(char *) "text", NULL 
 
13095     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
; 
13096     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13097     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13099         arg2 
= wxString_in_helper(obj1
); 
13100         if (arg2 
== NULL
) SWIG_fail
; 
13104         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13105         result 
= wxDC_GetPartialTextExtents(arg1
,(wxString 
const &)*arg2
); 
13107         wxPyEndAllowThreads(__tstate
); 
13108         if (PyErr_Occurred()) SWIG_fail
; 
13111         resultobj 
= PyList_New(0); 
13113         for (idx 
= 0; idx 
< (&result
)->GetCount(); idx 
+= 1) { 
13114             PyObject
* val 
= PyInt_FromLong( (&result
)->Item(idx
) ); 
13115             PyList_Append(resultobj
, val
); 
13133 static PyObject 
*_wrap_DC_GetSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13134     PyObject 
*resultobj
; 
13135     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13137     PyObject 
* obj0 
= 0 ; 
13138     char *kwnames
[] = { 
13139         (char *) "self", NULL 
 
13142     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
; 
13143     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13144     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13146         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13147         result 
= (arg1
)->GetSize(); 
13149         wxPyEndAllowThreads(__tstate
); 
13150         if (PyErr_Occurred()) SWIG_fail
; 
13153         wxSize 
* resultptr
; 
13154         resultptr 
= new wxSize((wxSize 
&) result
); 
13155         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
13163 static PyObject 
*_wrap_DC_GetSizeTuple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13164     PyObject 
*resultobj
; 
13165     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13166     int *arg2 
= (int *) 0 ; 
13167     int *arg3 
= (int *) 0 ; 
13170     PyObject 
* obj0 
= 0 ; 
13171     char *kwnames
[] = { 
13172         (char *) "self", NULL 
 
13177     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
; 
13178     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13179     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13181         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13182         (arg1
)->GetSize(arg2
,arg3
); 
13184         wxPyEndAllowThreads(__tstate
); 
13185         if (PyErr_Occurred()) SWIG_fail
; 
13187     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13189         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
13190         resultobj 
= t_output_helper(resultobj
,o
); 
13193         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
13194         resultobj 
= t_output_helper(resultobj
,o
); 
13202 static PyObject 
*_wrap_DC_GetSizeMM(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13203     PyObject 
*resultobj
; 
13204     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13206     PyObject 
* obj0 
= 0 ; 
13207     char *kwnames
[] = { 
13208         (char *) "self", NULL 
 
13211     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
; 
13212     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13213     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13215         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13216         result 
= ((wxDC 
const *)arg1
)->GetSizeMM(); 
13218         wxPyEndAllowThreads(__tstate
); 
13219         if (PyErr_Occurred()) SWIG_fail
; 
13222         wxSize 
* resultptr
; 
13223         resultptr 
= new wxSize((wxSize 
&) result
); 
13224         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
13232 static PyObject 
*_wrap_DC_GetSizeMMTuple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13233     PyObject 
*resultobj
; 
13234     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13235     int *arg2 
= (int *) 0 ; 
13236     int *arg3 
= (int *) 0 ; 
13239     PyObject 
* obj0 
= 0 ; 
13240     char *kwnames
[] = { 
13241         (char *) "self", NULL 
 
13246     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
; 
13247     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13248     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13250         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13251         ((wxDC 
const *)arg1
)->GetSizeMM(arg2
,arg3
); 
13253         wxPyEndAllowThreads(__tstate
); 
13254         if (PyErr_Occurred()) SWIG_fail
; 
13256     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13258         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
13259         resultobj 
= t_output_helper(resultobj
,o
); 
13262         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
13263         resultobj 
= t_output_helper(resultobj
,o
); 
13271 static PyObject 
*_wrap_DC_DeviceToLogicalX(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13272     PyObject 
*resultobj
; 
13273     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13276     PyObject 
* obj0 
= 0 ; 
13277     PyObject 
* obj1 
= 0 ; 
13278     char *kwnames
[] = { 
13279         (char *) "self",(char *) "x", NULL 
 
13282     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
; 
13283     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13284     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13285     arg2 
= (int) SWIG_AsInt(obj1
);  
13286     if (PyErr_Occurred()) SWIG_fail
; 
13288         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13289         result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalX(arg2
); 
13291         wxPyEndAllowThreads(__tstate
); 
13292         if (PyErr_Occurred()) SWIG_fail
; 
13294     resultobj 
= SWIG_FromInt((int)result
); 
13301 static PyObject 
*_wrap_DC_DeviceToLogicalY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13302     PyObject 
*resultobj
; 
13303     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13306     PyObject 
* obj0 
= 0 ; 
13307     PyObject 
* obj1 
= 0 ; 
13308     char *kwnames
[] = { 
13309         (char *) "self",(char *) "y", NULL 
 
13312     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
; 
13313     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13314     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13315     arg2 
= (int) SWIG_AsInt(obj1
);  
13316     if (PyErr_Occurred()) SWIG_fail
; 
13318         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13319         result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalY(arg2
); 
13321         wxPyEndAllowThreads(__tstate
); 
13322         if (PyErr_Occurred()) SWIG_fail
; 
13324     resultobj 
= SWIG_FromInt((int)result
); 
13331 static PyObject 
*_wrap_DC_DeviceToLogicalXRel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13332     PyObject 
*resultobj
; 
13333     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13336     PyObject 
* obj0 
= 0 ; 
13337     PyObject 
* obj1 
= 0 ; 
13338     char *kwnames
[] = { 
13339         (char *) "self",(char *) "x", NULL 
 
13342     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
; 
13343     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13344     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13345     arg2 
= (int) SWIG_AsInt(obj1
);  
13346     if (PyErr_Occurred()) SWIG_fail
; 
13348         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13349         result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalXRel(arg2
); 
13351         wxPyEndAllowThreads(__tstate
); 
13352         if (PyErr_Occurred()) SWIG_fail
; 
13354     resultobj 
= SWIG_FromInt((int)result
); 
13361 static PyObject 
*_wrap_DC_DeviceToLogicalYRel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13362     PyObject 
*resultobj
; 
13363     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13366     PyObject 
* obj0 
= 0 ; 
13367     PyObject 
* obj1 
= 0 ; 
13368     char *kwnames
[] = { 
13369         (char *) "self",(char *) "y", NULL 
 
13372     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
; 
13373     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13374     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13375     arg2 
= (int) SWIG_AsInt(obj1
);  
13376     if (PyErr_Occurred()) SWIG_fail
; 
13378         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13379         result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalYRel(arg2
); 
13381         wxPyEndAllowThreads(__tstate
); 
13382         if (PyErr_Occurred()) SWIG_fail
; 
13384     resultobj 
= SWIG_FromInt((int)result
); 
13391 static PyObject 
*_wrap_DC_LogicalToDeviceX(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13392     PyObject 
*resultobj
; 
13393     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13396     PyObject 
* obj0 
= 0 ; 
13397     PyObject 
* obj1 
= 0 ; 
13398     char *kwnames
[] = { 
13399         (char *) "self",(char *) "x", NULL 
 
13402     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
; 
13403     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13404     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13405     arg2 
= (int) SWIG_AsInt(obj1
);  
13406     if (PyErr_Occurred()) SWIG_fail
; 
13408         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13409         result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceX(arg2
); 
13411         wxPyEndAllowThreads(__tstate
); 
13412         if (PyErr_Occurred()) SWIG_fail
; 
13414     resultobj 
= SWIG_FromInt((int)result
); 
13421 static PyObject 
*_wrap_DC_LogicalToDeviceY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13422     PyObject 
*resultobj
; 
13423     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13426     PyObject 
* obj0 
= 0 ; 
13427     PyObject 
* obj1 
= 0 ; 
13428     char *kwnames
[] = { 
13429         (char *) "self",(char *) "y", NULL 
 
13432     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
; 
13433     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13434     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13435     arg2 
= (int) SWIG_AsInt(obj1
);  
13436     if (PyErr_Occurred()) SWIG_fail
; 
13438         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13439         result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceY(arg2
); 
13441         wxPyEndAllowThreads(__tstate
); 
13442         if (PyErr_Occurred()) SWIG_fail
; 
13444     resultobj 
= SWIG_FromInt((int)result
); 
13451 static PyObject 
*_wrap_DC_LogicalToDeviceXRel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13452     PyObject 
*resultobj
; 
13453     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13456     PyObject 
* obj0 
= 0 ; 
13457     PyObject 
* obj1 
= 0 ; 
13458     char *kwnames
[] = { 
13459         (char *) "self",(char *) "x", NULL 
 
13462     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
; 
13463     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13464     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13465     arg2 
= (int) SWIG_AsInt(obj1
);  
13466     if (PyErr_Occurred()) SWIG_fail
; 
13468         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13469         result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceXRel(arg2
); 
13471         wxPyEndAllowThreads(__tstate
); 
13472         if (PyErr_Occurred()) SWIG_fail
; 
13474     resultobj 
= SWIG_FromInt((int)result
); 
13481 static PyObject 
*_wrap_DC_LogicalToDeviceYRel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13482     PyObject 
*resultobj
; 
13483     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13486     PyObject 
* obj0 
= 0 ; 
13487     PyObject 
* obj1 
= 0 ; 
13488     char *kwnames
[] = { 
13489         (char *) "self",(char *) "y", NULL 
 
13492     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
; 
13493     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13494     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13495     arg2 
= (int) SWIG_AsInt(obj1
);  
13496     if (PyErr_Occurred()) SWIG_fail
; 
13498         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13499         result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceYRel(arg2
); 
13501         wxPyEndAllowThreads(__tstate
); 
13502         if (PyErr_Occurred()) SWIG_fail
; 
13504     resultobj 
= SWIG_FromInt((int)result
); 
13511 static PyObject 
*_wrap_DC_CanDrawBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13512     PyObject 
*resultobj
; 
13513     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13515     PyObject 
* obj0 
= 0 ; 
13516     char *kwnames
[] = { 
13517         (char *) "self", NULL 
 
13520     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
; 
13521     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13522     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13524         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13525         result 
= (bool)((wxDC 
const *)arg1
)->CanDrawBitmap(); 
13527         wxPyEndAllowThreads(__tstate
); 
13528         if (PyErr_Occurred()) SWIG_fail
; 
13531         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13539 static PyObject 
*_wrap_DC_CanGetTextExtent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13540     PyObject 
*resultobj
; 
13541     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13543     PyObject 
* obj0 
= 0 ; 
13544     char *kwnames
[] = { 
13545         (char *) "self", NULL 
 
13548     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
; 
13549     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13550     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13552         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13553         result 
= (bool)((wxDC 
const *)arg1
)->CanGetTextExtent(); 
13555         wxPyEndAllowThreads(__tstate
); 
13556         if (PyErr_Occurred()) SWIG_fail
; 
13559         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13567 static PyObject 
*_wrap_DC_GetDepth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13568     PyObject 
*resultobj
; 
13569     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13571     PyObject 
* obj0 
= 0 ; 
13572     char *kwnames
[] = { 
13573         (char *) "self", NULL 
 
13576     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
; 
13577     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13578     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13580         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13581         result 
= (int)((wxDC 
const *)arg1
)->GetDepth(); 
13583         wxPyEndAllowThreads(__tstate
); 
13584         if (PyErr_Occurred()) SWIG_fail
; 
13586     resultobj 
= SWIG_FromInt((int)result
); 
13593 static PyObject 
*_wrap_DC_GetPPI(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13594     PyObject 
*resultobj
; 
13595     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13597     PyObject 
* obj0 
= 0 ; 
13598     char *kwnames
[] = { 
13599         (char *) "self", NULL 
 
13602     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
; 
13603     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13604     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13606         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13607         result 
= ((wxDC 
const *)arg1
)->GetPPI(); 
13609         wxPyEndAllowThreads(__tstate
); 
13610         if (PyErr_Occurred()) SWIG_fail
; 
13613         wxSize 
* resultptr
; 
13614         resultptr 
= new wxSize((wxSize 
&) result
); 
13615         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
13623 static PyObject 
*_wrap_DC_Ok(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13624     PyObject 
*resultobj
; 
13625     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13627     PyObject 
* obj0 
= 0 ; 
13628     char *kwnames
[] = { 
13629         (char *) "self", NULL 
 
13632     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
; 
13633     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13634     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13636         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13637         result 
= (bool)((wxDC 
const *)arg1
)->Ok(); 
13639         wxPyEndAllowThreads(__tstate
); 
13640         if (PyErr_Occurred()) SWIG_fail
; 
13643         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13651 static PyObject 
*_wrap_DC_GetBackgroundMode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13652     PyObject 
*resultobj
; 
13653     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13655     PyObject 
* obj0 
= 0 ; 
13656     char *kwnames
[] = { 
13657         (char *) "self", NULL 
 
13660     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
; 
13661     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13662     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13664         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13665         result 
= (int)((wxDC 
const *)arg1
)->GetBackgroundMode(); 
13667         wxPyEndAllowThreads(__tstate
); 
13668         if (PyErr_Occurred()) SWIG_fail
; 
13670     resultobj 
= SWIG_FromInt((int)result
); 
13677 static PyObject 
*_wrap_DC_GetBackground(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13678     PyObject 
*resultobj
; 
13679     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13681     PyObject 
* obj0 
= 0 ; 
13682     char *kwnames
[] = { 
13683         (char *) "self", NULL 
 
13686     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
; 
13687     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13688     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13690         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13692             wxBrush 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetBackground(); 
13693             result 
= (wxBrush 
*) &_result_ref
; 
13696         wxPyEndAllowThreads(__tstate
); 
13697         if (PyErr_Occurred()) SWIG_fail
; 
13700         wxBrush
* resultptr 
= new wxBrush(*result
); 
13701         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1); 
13709 static PyObject 
*_wrap_DC_GetBrush(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13710     PyObject 
*resultobj
; 
13711     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13713     PyObject 
* obj0 
= 0 ; 
13714     char *kwnames
[] = { 
13715         (char *) "self", NULL 
 
13718     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
; 
13719     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13720     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13722         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13724             wxBrush 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetBrush(); 
13725             result 
= (wxBrush 
*) &_result_ref
; 
13728         wxPyEndAllowThreads(__tstate
); 
13729         if (PyErr_Occurred()) SWIG_fail
; 
13732         wxBrush
* resultptr 
= new wxBrush(*result
); 
13733         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1); 
13741 static PyObject 
*_wrap_DC_GetFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13742     PyObject 
*resultobj
; 
13743     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13745     PyObject 
* obj0 
= 0 ; 
13746     char *kwnames
[] = { 
13747         (char *) "self", NULL 
 
13750     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
; 
13751     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13752     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13754         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13756             wxFont 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetFont(); 
13757             result 
= (wxFont 
*) &_result_ref
; 
13760         wxPyEndAllowThreads(__tstate
); 
13761         if (PyErr_Occurred()) SWIG_fail
; 
13764         wxFont
* resultptr 
= new wxFont(*result
); 
13765         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
13773 static PyObject 
*_wrap_DC_GetPen(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13774     PyObject 
*resultobj
; 
13775     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13777     PyObject 
* obj0 
= 0 ; 
13778     char *kwnames
[] = { 
13779         (char *) "self", NULL 
 
13782     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
; 
13783     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13784     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13786         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13788             wxPen 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetPen(); 
13789             result 
= (wxPen 
*) &_result_ref
; 
13792         wxPyEndAllowThreads(__tstate
); 
13793         if (PyErr_Occurred()) SWIG_fail
; 
13796         wxPen
* resultptr 
= new wxPen(*result
); 
13797         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1); 
13805 static PyObject 
*_wrap_DC_GetTextBackground(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13806     PyObject 
*resultobj
; 
13807     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13809     PyObject 
* obj0 
= 0 ; 
13810     char *kwnames
[] = { 
13811         (char *) "self", NULL 
 
13814     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
; 
13815     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13816     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13818         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13820             wxColour 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetTextBackground(); 
13821             result 
= (wxColour 
*) &_result_ref
; 
13824         wxPyEndAllowThreads(__tstate
); 
13825         if (PyErr_Occurred()) SWIG_fail
; 
13827     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0); 
13834 static PyObject 
*_wrap_DC_GetTextForeground(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13835     PyObject 
*resultobj
; 
13836     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13838     PyObject 
* obj0 
= 0 ; 
13839     char *kwnames
[] = { 
13840         (char *) "self", NULL 
 
13843     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
; 
13844     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13845     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13847         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13849             wxColour 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetTextForeground(); 
13850             result 
= (wxColour 
*) &_result_ref
; 
13853         wxPyEndAllowThreads(__tstate
); 
13854         if (PyErr_Occurred()) SWIG_fail
; 
13856     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0); 
13863 static PyObject 
*_wrap_DC_SetTextForeground(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13864     PyObject 
*resultobj
; 
13865     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13866     wxColour 
*arg2 
= 0 ; 
13868     PyObject 
* obj0 
= 0 ; 
13869     PyObject 
* obj1 
= 0 ; 
13870     char *kwnames
[] = { 
13871         (char *) "self",(char *) "colour", NULL 
 
13874     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
; 
13875     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13876     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13879         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
13882         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13883         (arg1
)->SetTextForeground((wxColour 
const &)*arg2
); 
13885         wxPyEndAllowThreads(__tstate
); 
13886         if (PyErr_Occurred()) SWIG_fail
; 
13888     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13895 static PyObject 
*_wrap_DC_SetTextBackground(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13896     PyObject 
*resultobj
; 
13897     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13898     wxColour 
*arg2 
= 0 ; 
13900     PyObject 
* obj0 
= 0 ; 
13901     PyObject 
* obj1 
= 0 ; 
13902     char *kwnames
[] = { 
13903         (char *) "self",(char *) "colour", NULL 
 
13906     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
; 
13907     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13908     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13911         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
13914         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13915         (arg1
)->SetTextBackground((wxColour 
const &)*arg2
); 
13917         wxPyEndAllowThreads(__tstate
); 
13918         if (PyErr_Occurred()) SWIG_fail
; 
13920     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13927 static PyObject 
*_wrap_DC_GetMapMode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13928     PyObject 
*resultobj
; 
13929     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13931     PyObject 
* obj0 
= 0 ; 
13932     char *kwnames
[] = { 
13933         (char *) "self", NULL 
 
13936     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
; 
13937     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13938     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13940         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13941         result 
= (int)((wxDC 
const *)arg1
)->GetMapMode(); 
13943         wxPyEndAllowThreads(__tstate
); 
13944         if (PyErr_Occurred()) SWIG_fail
; 
13946     resultobj 
= SWIG_FromInt((int)result
); 
13953 static PyObject 
*_wrap_DC_SetMapMode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13954     PyObject 
*resultobj
; 
13955     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13957     PyObject 
* obj0 
= 0 ; 
13958     PyObject 
* obj1 
= 0 ; 
13959     char *kwnames
[] = { 
13960         (char *) "self",(char *) "mode", NULL 
 
13963     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
; 
13964     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13965     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13966     arg2 
= (int) SWIG_AsInt(obj1
);  
13967     if (PyErr_Occurred()) SWIG_fail
; 
13969         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13970         (arg1
)->SetMapMode(arg2
); 
13972         wxPyEndAllowThreads(__tstate
); 
13973         if (PyErr_Occurred()) SWIG_fail
; 
13975     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13982 static PyObject 
*_wrap_DC_GetUserScale(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13983     PyObject 
*resultobj
; 
13984     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13985     double *arg2 
= (double *) 0 ; 
13986     double *arg3 
= (double *) 0 ; 
13989     PyObject 
* obj0 
= 0 ; 
13990     char *kwnames
[] = { 
13991         (char *) "self", NULL 
 
13996     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
; 
13997     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
13998     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14000         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14001         ((wxDC 
const *)arg1
)->GetUserScale(arg2
,arg3
); 
14003         wxPyEndAllowThreads(__tstate
); 
14004         if (PyErr_Occurred()) SWIG_fail
; 
14006     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14008         PyObject 
*o 
= PyFloat_FromDouble((double) (*arg2
)); 
14009         resultobj 
= t_output_helper(resultobj
,o
); 
14012         PyObject 
*o 
= PyFloat_FromDouble((double) (*arg3
)); 
14013         resultobj 
= t_output_helper(resultobj
,o
); 
14021 static PyObject 
*_wrap_DC_SetUserScale(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14022     PyObject 
*resultobj
; 
14023     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14026     PyObject 
* obj0 
= 0 ; 
14027     PyObject 
* obj1 
= 0 ; 
14028     PyObject 
* obj2 
= 0 ; 
14029     char *kwnames
[] = { 
14030         (char *) "self",(char *) "x",(char *) "y", NULL 
 
14033     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14034     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14035     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14036     arg2 
= (double) SWIG_AsDouble(obj1
);  
14037     if (PyErr_Occurred()) SWIG_fail
; 
14038     arg3 
= (double) SWIG_AsDouble(obj2
);  
14039     if (PyErr_Occurred()) SWIG_fail
; 
14041         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14042         (arg1
)->SetUserScale(arg2
,arg3
); 
14044         wxPyEndAllowThreads(__tstate
); 
14045         if (PyErr_Occurred()) SWIG_fail
; 
14047     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14054 static PyObject 
*_wrap_DC_GetLogicalScale(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14055     PyObject 
*resultobj
; 
14056     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14057     double *arg2 
= (double *) 0 ; 
14058     double *arg3 
= (double *) 0 ; 
14061     PyObject 
* obj0 
= 0 ; 
14062     char *kwnames
[] = { 
14063         (char *) "self", NULL 
 
14068     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
; 
14069     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14070     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14072         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14073         (arg1
)->GetLogicalScale(arg2
,arg3
); 
14075         wxPyEndAllowThreads(__tstate
); 
14076         if (PyErr_Occurred()) SWIG_fail
; 
14078     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14080         PyObject 
*o 
= PyFloat_FromDouble((double) (*arg2
)); 
14081         resultobj 
= t_output_helper(resultobj
,o
); 
14084         PyObject 
*o 
= PyFloat_FromDouble((double) (*arg3
)); 
14085         resultobj 
= t_output_helper(resultobj
,o
); 
14093 static PyObject 
*_wrap_DC_SetLogicalScale(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14094     PyObject 
*resultobj
; 
14095     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14098     PyObject 
* obj0 
= 0 ; 
14099     PyObject 
* obj1 
= 0 ; 
14100     PyObject 
* obj2 
= 0 ; 
14101     char *kwnames
[] = { 
14102         (char *) "self",(char *) "x",(char *) "y", NULL 
 
14105     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14106     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14107     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14108     arg2 
= (double) SWIG_AsDouble(obj1
);  
14109     if (PyErr_Occurred()) SWIG_fail
; 
14110     arg3 
= (double) SWIG_AsDouble(obj2
);  
14111     if (PyErr_Occurred()) SWIG_fail
; 
14113         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14114         (arg1
)->SetLogicalScale(arg2
,arg3
); 
14116         wxPyEndAllowThreads(__tstate
); 
14117         if (PyErr_Occurred()) SWIG_fail
; 
14119     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14126 static PyObject 
*_wrap_DC_GetLogicalOrigin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14127     PyObject 
*resultobj
; 
14128     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14130     PyObject 
* obj0 
= 0 ; 
14131     char *kwnames
[] = { 
14132         (char *) "self", NULL 
 
14135     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
; 
14136     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14137     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14139         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14140         result 
= ((wxDC 
const *)arg1
)->GetLogicalOrigin(); 
14142         wxPyEndAllowThreads(__tstate
); 
14143         if (PyErr_Occurred()) SWIG_fail
; 
14146         wxPoint 
* resultptr
; 
14147         resultptr 
= new wxPoint((wxPoint 
&) result
); 
14148         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
14156 static PyObject 
*_wrap_DC_GetLogicalOriginTuple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14157     PyObject 
*resultobj
; 
14158     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14159     int *arg2 
= (int *) 0 ; 
14160     int *arg3 
= (int *) 0 ; 
14163     PyObject 
* obj0 
= 0 ; 
14164     char *kwnames
[] = { 
14165         (char *) "self", NULL 
 
14170     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
; 
14171     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14172     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14174         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14175         ((wxDC 
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
); 
14177         wxPyEndAllowThreads(__tstate
); 
14178         if (PyErr_Occurred()) SWIG_fail
; 
14180     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14182         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
14183         resultobj 
= t_output_helper(resultobj
,o
); 
14186         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
14187         resultobj 
= t_output_helper(resultobj
,o
); 
14195 static PyObject 
*_wrap_DC_SetLogicalOrigin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14196     PyObject 
*resultobj
; 
14197     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14200     PyObject 
* obj0 
= 0 ; 
14201     PyObject 
* obj1 
= 0 ; 
14202     PyObject 
* obj2 
= 0 ; 
14203     char *kwnames
[] = { 
14204         (char *) "self",(char *) "x",(char *) "y", NULL 
 
14207     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14208     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14209     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14210     arg2 
= (int) SWIG_AsInt(obj1
);  
14211     if (PyErr_Occurred()) SWIG_fail
; 
14212     arg3 
= (int) SWIG_AsInt(obj2
);  
14213     if (PyErr_Occurred()) SWIG_fail
; 
14215         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14216         (arg1
)->SetLogicalOrigin(arg2
,arg3
); 
14218         wxPyEndAllowThreads(__tstate
); 
14219         if (PyErr_Occurred()) SWIG_fail
; 
14221     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14228 static PyObject 
*_wrap_DC_GetDeviceOrigin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14229     PyObject 
*resultobj
; 
14230     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14232     PyObject 
* obj0 
= 0 ; 
14233     char *kwnames
[] = { 
14234         (char *) "self", NULL 
 
14237     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
; 
14238     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14239     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14241         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14242         result 
= ((wxDC 
const *)arg1
)->GetDeviceOrigin(); 
14244         wxPyEndAllowThreads(__tstate
); 
14245         if (PyErr_Occurred()) SWIG_fail
; 
14248         wxPoint 
* resultptr
; 
14249         resultptr 
= new wxPoint((wxPoint 
&) result
); 
14250         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
14258 static PyObject 
*_wrap_DC_GetDeviceOriginTuple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14259     PyObject 
*resultobj
; 
14260     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14261     int *arg2 
= (int *) 0 ; 
14262     int *arg3 
= (int *) 0 ; 
14265     PyObject 
* obj0 
= 0 ; 
14266     char *kwnames
[] = { 
14267         (char *) "self", NULL 
 
14272     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
; 
14273     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14274     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14276         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14277         ((wxDC 
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
); 
14279         wxPyEndAllowThreads(__tstate
); 
14280         if (PyErr_Occurred()) SWIG_fail
; 
14282     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14284         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
14285         resultobj 
= t_output_helper(resultobj
,o
); 
14288         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
14289         resultobj 
= t_output_helper(resultobj
,o
); 
14297 static PyObject 
*_wrap_DC_SetDeviceOrigin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14298     PyObject 
*resultobj
; 
14299     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14302     PyObject 
* obj0 
= 0 ; 
14303     PyObject 
* obj1 
= 0 ; 
14304     PyObject 
* obj2 
= 0 ; 
14305     char *kwnames
[] = { 
14306         (char *) "self",(char *) "x",(char *) "y", NULL 
 
14309     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14310     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14311     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14312     arg2 
= (int) SWIG_AsInt(obj1
);  
14313     if (PyErr_Occurred()) SWIG_fail
; 
14314     arg3 
= (int) SWIG_AsInt(obj2
);  
14315     if (PyErr_Occurred()) SWIG_fail
; 
14317         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14318         (arg1
)->SetDeviceOrigin(arg2
,arg3
); 
14320         wxPyEndAllowThreads(__tstate
); 
14321         if (PyErr_Occurred()) SWIG_fail
; 
14323     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14330 static PyObject 
*_wrap_DC_SetAxisOrientation(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14331     PyObject 
*resultobj
; 
14332     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14335     PyObject 
* obj0 
= 0 ; 
14336     PyObject 
* obj1 
= 0 ; 
14337     PyObject 
* obj2 
= 0 ; 
14338     char *kwnames
[] = { 
14339         (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL 
 
14342     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14343     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14344     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14345     arg2 
= (bool) SWIG_AsBool(obj1
);  
14346     if (PyErr_Occurred()) SWIG_fail
; 
14347     arg3 
= (bool) SWIG_AsBool(obj2
);  
14348     if (PyErr_Occurred()) SWIG_fail
; 
14350         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14351         (arg1
)->SetAxisOrientation(arg2
,arg3
); 
14353         wxPyEndAllowThreads(__tstate
); 
14354         if (PyErr_Occurred()) SWIG_fail
; 
14356     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14363 static PyObject 
*_wrap_DC_GetLogicalFunction(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14364     PyObject 
*resultobj
; 
14365     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14367     PyObject 
* obj0 
= 0 ; 
14368     char *kwnames
[] = { 
14369         (char *) "self", NULL 
 
14372     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
; 
14373     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14374     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14376         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14377         result 
= (int)((wxDC 
const *)arg1
)->GetLogicalFunction(); 
14379         wxPyEndAllowThreads(__tstate
); 
14380         if (PyErr_Occurred()) SWIG_fail
; 
14382     resultobj 
= SWIG_FromInt((int)result
); 
14389 static PyObject 
*_wrap_DC_SetLogicalFunction(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14390     PyObject 
*resultobj
; 
14391     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14393     PyObject 
* obj0 
= 0 ; 
14394     PyObject 
* obj1 
= 0 ; 
14395     char *kwnames
[] = { 
14396         (char *) "self",(char *) "function", NULL 
 
14399     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
; 
14400     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14401     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14402     arg2 
= (int) SWIG_AsInt(obj1
);  
14403     if (PyErr_Occurred()) SWIG_fail
; 
14405         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14406         (arg1
)->SetLogicalFunction(arg2
); 
14408         wxPyEndAllowThreads(__tstate
); 
14409         if (PyErr_Occurred()) SWIG_fail
; 
14411     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14418 static PyObject 
*_wrap_DC_SetOptimization(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14419     PyObject 
*resultobj
; 
14420     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14422     PyObject 
* obj0 
= 0 ; 
14423     PyObject 
* obj1 
= 0 ; 
14424     char *kwnames
[] = { 
14425         (char *) "self",(char *) "opt", NULL 
 
14428     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
; 
14429     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14430     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14431     arg2 
= (bool) SWIG_AsBool(obj1
);  
14432     if (PyErr_Occurred()) SWIG_fail
; 
14434         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14435         (arg1
)->SetOptimization(arg2
); 
14437         wxPyEndAllowThreads(__tstate
); 
14438         if (PyErr_Occurred()) SWIG_fail
; 
14440     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14447 static PyObject 
*_wrap_DC_GetOptimization(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14448     PyObject 
*resultobj
; 
14449     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14451     PyObject 
* obj0 
= 0 ; 
14452     char *kwnames
[] = { 
14453         (char *) "self", NULL 
 
14456     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
; 
14457     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14458     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14460         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14461         result 
= (bool)(arg1
)->GetOptimization(); 
14463         wxPyEndAllowThreads(__tstate
); 
14464         if (PyErr_Occurred()) SWIG_fail
; 
14467         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14475 static PyObject 
*_wrap_DC_CalcBoundingBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14476     PyObject 
*resultobj
; 
14477     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14480     PyObject 
* obj0 
= 0 ; 
14481     PyObject 
* obj1 
= 0 ; 
14482     PyObject 
* obj2 
= 0 ; 
14483     char *kwnames
[] = { 
14484         (char *) "self",(char *) "x",(char *) "y", NULL 
 
14487     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14488     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14489     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14490     arg2 
= (int) SWIG_AsInt(obj1
);  
14491     if (PyErr_Occurred()) SWIG_fail
; 
14492     arg3 
= (int) SWIG_AsInt(obj2
);  
14493     if (PyErr_Occurred()) SWIG_fail
; 
14495         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14496         (arg1
)->CalcBoundingBox(arg2
,arg3
); 
14498         wxPyEndAllowThreads(__tstate
); 
14499         if (PyErr_Occurred()) SWIG_fail
; 
14501     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14508 static PyObject 
*_wrap_DC_ResetBoundingBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14509     PyObject 
*resultobj
; 
14510     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14511     PyObject 
* obj0 
= 0 ; 
14512     char *kwnames
[] = { 
14513         (char *) "self", NULL 
 
14516     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
; 
14517     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14518     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14520         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14521         (arg1
)->ResetBoundingBox(); 
14523         wxPyEndAllowThreads(__tstate
); 
14524         if (PyErr_Occurred()) SWIG_fail
; 
14526     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14533 static PyObject 
*_wrap_DC_MinX(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14534     PyObject 
*resultobj
; 
14535     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14537     PyObject 
* obj0 
= 0 ; 
14538     char *kwnames
[] = { 
14539         (char *) "self", NULL 
 
14542     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
; 
14543     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14544     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14546         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14547         result 
= (int)((wxDC 
const *)arg1
)->MinX(); 
14549         wxPyEndAllowThreads(__tstate
); 
14550         if (PyErr_Occurred()) SWIG_fail
; 
14552     resultobj 
= SWIG_FromInt((int)result
); 
14559 static PyObject 
*_wrap_DC_MaxX(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14560     PyObject 
*resultobj
; 
14561     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14563     PyObject 
* obj0 
= 0 ; 
14564     char *kwnames
[] = { 
14565         (char *) "self", NULL 
 
14568     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
; 
14569     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14570     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14572         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14573         result 
= (int)((wxDC 
const *)arg1
)->MaxX(); 
14575         wxPyEndAllowThreads(__tstate
); 
14576         if (PyErr_Occurred()) SWIG_fail
; 
14578     resultobj 
= SWIG_FromInt((int)result
); 
14585 static PyObject 
*_wrap_DC_MinY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14586     PyObject 
*resultobj
; 
14587     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14589     PyObject 
* obj0 
= 0 ; 
14590     char *kwnames
[] = { 
14591         (char *) "self", NULL 
 
14594     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
; 
14595     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14596     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14598         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14599         result 
= (int)((wxDC 
const *)arg1
)->MinY(); 
14601         wxPyEndAllowThreads(__tstate
); 
14602         if (PyErr_Occurred()) SWIG_fail
; 
14604     resultobj 
= SWIG_FromInt((int)result
); 
14611 static PyObject 
*_wrap_DC_MaxY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14612     PyObject 
*resultobj
; 
14613     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14615     PyObject 
* obj0 
= 0 ; 
14616     char *kwnames
[] = { 
14617         (char *) "self", NULL 
 
14620     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
; 
14621     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14622     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14624         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14625         result 
= (int)((wxDC 
const *)arg1
)->MaxY(); 
14627         wxPyEndAllowThreads(__tstate
); 
14628         if (PyErr_Occurred()) SWIG_fail
; 
14630     resultobj 
= SWIG_FromInt((int)result
); 
14637 static PyObject 
*_wrap_DC_GetBoundingBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14638     PyObject 
*resultobj
; 
14639     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14640     int *arg2 
= (int *) 0 ; 
14641     int *arg3 
= (int *) 0 ; 
14642     int *arg4 
= (int *) 0 ; 
14643     int *arg5 
= (int *) 0 ; 
14648     PyObject 
* obj0 
= 0 ; 
14649     char *kwnames
[] = { 
14650         (char *) "self", NULL 
 
14657     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
; 
14658     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14659     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14661         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14662         wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
); 
14664         wxPyEndAllowThreads(__tstate
); 
14665         if (PyErr_Occurred()) SWIG_fail
; 
14667     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14669         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
14670         resultobj 
= t_output_helper(resultobj
,o
); 
14673         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
14674         resultobj 
= t_output_helper(resultobj
,o
); 
14677         PyObject 
*o 
= PyInt_FromLong((long) (*arg4
)); 
14678         resultobj 
= t_output_helper(resultobj
,o
); 
14681         PyObject 
*o 
= PyInt_FromLong((long) (*arg5
)); 
14682         resultobj 
= t_output_helper(resultobj
,o
); 
14690 static PyObject 
*_wrap_DC__DrawPointList(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14691     PyObject 
*resultobj
; 
14692     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14693     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
14694     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
14695     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
14697     PyObject 
* obj0 
= 0 ; 
14698     PyObject 
* obj1 
= 0 ; 
14699     PyObject 
* obj2 
= 0 ; 
14700     PyObject 
* obj3 
= 0 ; 
14701     char *kwnames
[] = { 
14702         (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
14705     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
14706     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14707     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14712         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14713         result 
= (PyObject 
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
); 
14715         wxPyEndAllowThreads(__tstate
); 
14716         if (PyErr_Occurred()) SWIG_fail
; 
14718     resultobj 
= result
; 
14725 static PyObject 
*_wrap_DC__DrawLineList(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14726     PyObject 
*resultobj
; 
14727     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14728     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
14729     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
14730     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
14732     PyObject 
* obj0 
= 0 ; 
14733     PyObject 
* obj1 
= 0 ; 
14734     PyObject 
* obj2 
= 0 ; 
14735     PyObject 
* obj3 
= 0 ; 
14736     char *kwnames
[] = { 
14737         (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
14740     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
14741     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14742     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14747         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14748         result 
= (PyObject 
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
); 
14750         wxPyEndAllowThreads(__tstate
); 
14751         if (PyErr_Occurred()) SWIG_fail
; 
14753     resultobj 
= result
; 
14760 static PyObject 
*_wrap_DC__DrawRectangleList(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14761     PyObject 
*resultobj
; 
14762     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14763     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
14764     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
14765     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
14767     PyObject 
* obj0 
= 0 ; 
14768     PyObject 
* obj1 
= 0 ; 
14769     PyObject 
* obj2 
= 0 ; 
14770     PyObject 
* obj3 
= 0 ; 
14771     char *kwnames
[] = { 
14772         (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
14775     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
14776     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14777     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14782         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14783         result 
= (PyObject 
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
); 
14785         wxPyEndAllowThreads(__tstate
); 
14786         if (PyErr_Occurred()) SWIG_fail
; 
14788     resultobj 
= result
; 
14795 static PyObject 
*_wrap_DC__DrawEllipseList(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14796     PyObject 
*resultobj
; 
14797     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14798     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
14799     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
14800     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
14802     PyObject 
* obj0 
= 0 ; 
14803     PyObject 
* obj1 
= 0 ; 
14804     PyObject 
* obj2 
= 0 ; 
14805     PyObject 
* obj3 
= 0 ; 
14806     char *kwnames
[] = { 
14807         (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
14810     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
14811     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14812     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14817         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14818         result 
= (PyObject 
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
); 
14820         wxPyEndAllowThreads(__tstate
); 
14821         if (PyErr_Occurred()) SWIG_fail
; 
14823     resultobj 
= result
; 
14830 static PyObject 
*_wrap_DC__DrawPolygonList(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14831     PyObject 
*resultobj
; 
14832     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14833     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
14834     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
14835     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
14837     PyObject 
* obj0 
= 0 ; 
14838     PyObject 
* obj1 
= 0 ; 
14839     PyObject 
* obj2 
= 0 ; 
14840     PyObject 
* obj3 
= 0 ; 
14841     char *kwnames
[] = { 
14842         (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
14845     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
14846     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14847     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14852         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14853         result 
= (PyObject 
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
); 
14855         wxPyEndAllowThreads(__tstate
); 
14856         if (PyErr_Occurred()) SWIG_fail
; 
14858     resultobj 
= result
; 
14865 static PyObject 
*_wrap_DC__DrawTextList(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14866     PyObject 
*resultobj
; 
14867     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14868     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
14869     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
14870     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
14871     PyObject 
*arg5 
= (PyObject 
*) 0 ; 
14873     PyObject 
* obj0 
= 0 ; 
14874     PyObject 
* obj1 
= 0 ; 
14875     PyObject 
* obj2 
= 0 ; 
14876     PyObject 
* obj3 
= 0 ; 
14877     PyObject 
* obj4 
= 0 ; 
14878     char *kwnames
[] = { 
14879         (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL 
 
14882     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
14883     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14884     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14890         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14891         result 
= (PyObject 
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
); 
14893         wxPyEndAllowThreads(__tstate
); 
14894         if (PyErr_Occurred()) SWIG_fail
; 
14896     resultobj 
= result
; 
14903 static PyObject 
* DC_swigregister(PyObject 
*self
, PyObject 
*args
) { 
14905     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14906     SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
); 
14908     return Py_BuildValue((char *)""); 
14910 static PyObject 
*_wrap_new_MemoryDC(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14911     PyObject 
*resultobj
; 
14912     wxMemoryDC 
*result
; 
14913     char *kwnames
[] = { 
14917     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
; 
14919         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14920         result 
= (wxMemoryDC 
*)new wxMemoryDC(); 
14922         wxPyEndAllowThreads(__tstate
); 
14923         if (PyErr_Occurred()) SWIG_fail
; 
14925     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1); 
14932 static PyObject 
*_wrap_new_MemoryDCFromDC(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14933     PyObject 
*resultobj
; 
14934     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14935     wxMemoryDC 
*result
; 
14936     PyObject 
* obj0 
= 0 ; 
14937     char *kwnames
[] = { 
14938         (char *) "oldDC", NULL 
 
14941     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
; 
14942     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
14943     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14945         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14946         result 
= (wxMemoryDC 
*)new wxMemoryDC(arg1
); 
14948         wxPyEndAllowThreads(__tstate
); 
14949         if (PyErr_Occurred()) SWIG_fail
; 
14951     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1); 
14958 static PyObject 
*_wrap_MemoryDC_SelectObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14959     PyObject 
*resultobj
; 
14960     wxMemoryDC 
*arg1 
= (wxMemoryDC 
*) 0 ; 
14961     wxBitmap 
*arg2 
= 0 ; 
14962     PyObject 
* obj0 
= 0 ; 
14963     PyObject 
* obj1 
= 0 ; 
14964     char *kwnames
[] = { 
14965         (char *) "self",(char *) "bitmap", NULL 
 
14968     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
; 
14969     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
, 
14970     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14971     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
14972     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
14974     if (arg2 
== NULL
) { 
14975         PyErr_SetString(PyExc_TypeError
,"null reference"); 
14979         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14980         (arg1
)->SelectObject((wxBitmap 
const &)*arg2
); 
14982         wxPyEndAllowThreads(__tstate
); 
14983         if (PyErr_Occurred()) SWIG_fail
; 
14985     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14992 static PyObject 
* MemoryDC_swigregister(PyObject 
*self
, PyObject 
*args
) { 
14994     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14995     SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
); 
14997     return Py_BuildValue((char *)""); 
14999 static PyObject 
*_wrap_new_BufferedDC__SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
15000     PyObject 
*resultobj
; 
15001     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15002     wxBitmap 
*arg2 
= 0 ; 
15003     wxBufferedDC 
*result
; 
15004     PyObject 
* obj0 
= 0 ; 
15005     PyObject 
* obj1 
= 0 ; 
15007     if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
; 
15008     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15009     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15010     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
15011     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
15013     if (arg2 
== NULL
) { 
15014         PyErr_SetString(PyExc_TypeError
,"null reference"); 
15018         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15019         result 
= (wxBufferedDC 
*)new wxBufferedDC(arg1
,(wxBitmap 
const &)*arg2
); 
15021         wxPyEndAllowThreads(__tstate
); 
15022         if (PyErr_Occurred()) SWIG_fail
; 
15024     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1); 
15031 static PyObject 
*_wrap_new_BufferedDC__SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
15032     PyObject 
*resultobj
; 
15033     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15035     wxBufferedDC 
*result
; 
15037     PyObject 
* obj0 
= 0 ; 
15038     PyObject 
* obj1 
= 0 ; 
15040     if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
; 
15041     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15042     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15045         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
15048         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15049         result 
= (wxBufferedDC 
*)new wxBufferedDC(arg1
,(wxSize 
const &)*arg2
); 
15051         wxPyEndAllowThreads(__tstate
); 
15052         if (PyErr_Occurred()) SWIG_fail
; 
15054     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1); 
15061 static PyObject 
*_wrap_new_BufferedDC(PyObject 
*self
, PyObject 
*args
) { 
15066     argc 
= PyObject_Length(args
); 
15067     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
15068         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
15074             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) { 
15084                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) { 
15092                 return _wrap_new_BufferedDC__SWIG_0(self
,args
); 
15100             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) { 
15109                 _v 
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2); 
15112                 return _wrap_new_BufferedDC__SWIG_1(self
,args
); 
15117     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'"); 
15122 static PyObject 
*_wrap_new_BufferedDCInternalBuffer(PyObject 
*self
, PyObject 
*args
) { 
15123     PyObject 
*resultobj
; 
15124     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15126     wxBufferedDC 
*result
; 
15128     PyObject 
* obj0 
= 0 ; 
15129     PyObject 
* obj1 
= 0 ; 
15131     if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
; 
15132     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15133     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15136         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
15139         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15140         result 
= (wxBufferedDC 
*)new wxBufferedDC(arg1
,(wxSize 
const &)*arg2
); 
15142         wxPyEndAllowThreads(__tstate
); 
15143         if (PyErr_Occurred()) SWIG_fail
; 
15145     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1); 
15152 static PyObject 
*_wrap_delete_BufferedDC(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15153     PyObject 
*resultobj
; 
15154     wxBufferedDC 
*arg1 
= (wxBufferedDC 
*) 0 ; 
15155     PyObject 
* obj0 
= 0 ; 
15156     char *kwnames
[] = { 
15157         (char *) "self", NULL 
 
15160     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
; 
15161     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
, 
15162     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15164         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15167         wxPyEndAllowThreads(__tstate
); 
15168         if (PyErr_Occurred()) SWIG_fail
; 
15170     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15177 static PyObject 
*_wrap_BufferedDC_UnMask(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15178     PyObject 
*resultobj
; 
15179     wxBufferedDC 
*arg1 
= (wxBufferedDC 
*) 0 ; 
15180     PyObject 
* obj0 
= 0 ; 
15181     char *kwnames
[] = { 
15182         (char *) "self", NULL 
 
15185     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
; 
15186     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
, 
15187     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15189         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15192         wxPyEndAllowThreads(__tstate
); 
15193         if (PyErr_Occurred()) SWIG_fail
; 
15195     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15202 static PyObject 
* BufferedDC_swigregister(PyObject 
*self
, PyObject 
*args
) { 
15204     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15205     SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
); 
15207     return Py_BuildValue((char *)""); 
15209 static PyObject 
*_wrap_new_BufferedPaintDC(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15210     PyObject 
*resultobj
; 
15211     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
15212     wxBitmap 
const &arg2_defvalue 
= wxNullBitmap 
; 
15213     wxBitmap 
*arg2 
= (wxBitmap 
*) &arg2_defvalue 
; 
15214     wxBufferedPaintDC 
*result
; 
15215     PyObject 
* obj0 
= 0 ; 
15216     PyObject 
* obj1 
= 0 ; 
15217     char *kwnames
[] = { 
15218         (char *) "window",(char *) "buffer", NULL 
 
15221     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
; 
15222     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
15223     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15225         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
15226         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
15228         if (arg2 
== NULL
) { 
15229             PyErr_SetString(PyExc_TypeError
,"null reference"); 
15234         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15235         result 
= (wxBufferedPaintDC 
*)new wxBufferedPaintDC(arg1
,(wxBitmap 
const &)*arg2
); 
15237         wxPyEndAllowThreads(__tstate
); 
15238         if (PyErr_Occurred()) SWIG_fail
; 
15240     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1); 
15247 static PyObject 
* BufferedPaintDC_swigregister(PyObject 
*self
, PyObject 
*args
) { 
15249     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15250     SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
); 
15252     return Py_BuildValue((char *)""); 
15254 static PyObject 
*_wrap_new_ScreenDC(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15255     PyObject 
*resultobj
; 
15256     wxScreenDC 
*result
; 
15257     char *kwnames
[] = { 
15261     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
; 
15263         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15264         result 
= (wxScreenDC 
*)new wxScreenDC(); 
15266         wxPyEndAllowThreads(__tstate
); 
15267         if (PyErr_Occurred()) SWIG_fail
; 
15269     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1); 
15276 static PyObject 
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15277     PyObject 
*resultobj
; 
15278     wxScreenDC 
*arg1 
= (wxScreenDC 
*) 0 ; 
15279     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
15281     PyObject 
* obj0 
= 0 ; 
15282     PyObject 
* obj1 
= 0 ; 
15283     char *kwnames
[] = { 
15284         (char *) "self",(char *) "window", NULL 
 
15287     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
; 
15288     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
, 
15289     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15290     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
15291     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15293         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15294         result 
= (bool)(arg1
)->StartDrawingOnTop(arg2
); 
15296         wxPyEndAllowThreads(__tstate
); 
15297         if (PyErr_Occurred()) SWIG_fail
; 
15300         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15308 static PyObject 
*_wrap_ScreenDC_StartDrawingOnTop(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15309     PyObject 
*resultobj
; 
15310     wxScreenDC 
*arg1 
= (wxScreenDC 
*) 0 ; 
15311     wxRect 
*arg2 
= (wxRect 
*) NULL 
; 
15313     PyObject 
* obj0 
= 0 ; 
15314     PyObject 
* obj1 
= 0 ; 
15315     char *kwnames
[] = { 
15316         (char *) "self",(char *) "rect", NULL 
 
15319     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
; 
15320     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
, 
15321     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15323         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
, 
15324         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15327         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15328         result 
= (bool)(arg1
)->StartDrawingOnTop(arg2
); 
15330         wxPyEndAllowThreads(__tstate
); 
15331         if (PyErr_Occurred()) SWIG_fail
; 
15334         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15342 static PyObject 
*_wrap_ScreenDC_EndDrawingOnTop(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15343     PyObject 
*resultobj
; 
15344     wxScreenDC 
*arg1 
= (wxScreenDC 
*) 0 ; 
15346     PyObject 
* obj0 
= 0 ; 
15347     char *kwnames
[] = { 
15348         (char *) "self", NULL 
 
15351     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
; 
15352     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
, 
15353     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15355         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15356         result 
= (bool)(arg1
)->EndDrawingOnTop(); 
15358         wxPyEndAllowThreads(__tstate
); 
15359         if (PyErr_Occurred()) SWIG_fail
; 
15362         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15370 static PyObject 
* ScreenDC_swigregister(PyObject 
*self
, PyObject 
*args
) { 
15372     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15373     SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
); 
15375     return Py_BuildValue((char *)""); 
15377 static PyObject 
*_wrap_new_ClientDC(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15378     PyObject 
*resultobj
; 
15379     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
15380     wxClientDC 
*result
; 
15381     PyObject 
* obj0 
= 0 ; 
15382     char *kwnames
[] = { 
15383         (char *) "win", NULL 
 
15386     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
; 
15387     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
15388     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15390         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15391         result 
= (wxClientDC 
*)new wxClientDC(arg1
); 
15393         wxPyEndAllowThreads(__tstate
); 
15394         if (PyErr_Occurred()) SWIG_fail
; 
15396     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1); 
15403 static PyObject 
* ClientDC_swigregister(PyObject 
*self
, PyObject 
*args
) { 
15405     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15406     SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
); 
15408     return Py_BuildValue((char *)""); 
15410 static PyObject 
*_wrap_new_PaintDC(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15411     PyObject 
*resultobj
; 
15412     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
15414     PyObject 
* obj0 
= 0 ; 
15415     char *kwnames
[] = { 
15416         (char *) "win", NULL 
 
15419     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
; 
15420     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
15421     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15423         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15424         result 
= (wxPaintDC 
*)new wxPaintDC(arg1
); 
15426         wxPyEndAllowThreads(__tstate
); 
15427         if (PyErr_Occurred()) SWIG_fail
; 
15429     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1); 
15436 static PyObject 
* PaintDC_swigregister(PyObject 
*self
, PyObject 
*args
) { 
15438     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15439     SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
); 
15441     return Py_BuildValue((char *)""); 
15443 static PyObject 
*_wrap_new_WindowDC(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15444     PyObject 
*resultobj
; 
15445     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
15446     wxWindowDC 
*result
; 
15447     PyObject 
* obj0 
= 0 ; 
15448     char *kwnames
[] = { 
15449         (char *) "win", NULL 
 
15452     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
; 
15453     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
15454     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15456         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15457         result 
= (wxWindowDC 
*)new wxWindowDC(arg1
); 
15459         wxPyEndAllowThreads(__tstate
); 
15460         if (PyErr_Occurred()) SWIG_fail
; 
15462     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1); 
15469 static PyObject 
* WindowDC_swigregister(PyObject 
*self
, PyObject 
*args
) { 
15471     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15472     SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
); 
15474     return Py_BuildValue((char *)""); 
15476 static PyObject 
*_wrap_new_MirrorDC(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15477     PyObject 
*resultobj
; 
15480     wxMirrorDC 
*result
; 
15481     PyObject 
* obj0 
= 0 ; 
15482     PyObject 
* obj1 
= 0 ; 
15483     char *kwnames
[] = { 
15484         (char *) "dc",(char *) "mirror", NULL 
 
15487     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
; 
15488     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
, 
15489     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
15491     if (arg1 
== NULL
) { 
15492         PyErr_SetString(PyExc_TypeError
,"null reference"); 
15495     arg2 
= (bool) SWIG_AsBool(obj1
);  
15496     if (PyErr_Occurred()) SWIG_fail
; 
15498         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15499         result 
= (wxMirrorDC 
*)new wxMirrorDC(*arg1
,arg2
); 
15501         wxPyEndAllowThreads(__tstate
); 
15502         if (PyErr_Occurred()) SWIG_fail
; 
15504     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1); 
15511 static PyObject 
* MirrorDC_swigregister(PyObject 
*self
, PyObject 
*args
) { 
15513     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15514     SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
); 
15516     return Py_BuildValue((char *)""); 
15518 static PyObject 
*_wrap_new_PostScriptDC(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15519     PyObject 
*resultobj
; 
15520     wxPrintData 
*arg1 
= 0 ; 
15521     wxPostScriptDC 
*result
; 
15522     PyObject 
* obj0 
= 0 ; 
15523     char *kwnames
[] = { 
15524         (char *) "printData", NULL 
 
15527     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
; 
15528     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
, 
15529     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
15531     if (arg1 
== NULL
) { 
15532         PyErr_SetString(PyExc_TypeError
,"null reference"); 
15536         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15537         result 
= (wxPostScriptDC 
*)new wxPostScriptDC((wxPrintData 
const &)*arg1
); 
15539         wxPyEndAllowThreads(__tstate
); 
15540         if (PyErr_Occurred()) SWIG_fail
; 
15542     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1); 
15549 static PyObject 
*_wrap_PostScriptDC_GetPrintData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15550     PyObject 
*resultobj
; 
15551     wxPostScriptDC 
*arg1 
= (wxPostScriptDC 
*) 0 ; 
15552     wxPrintData 
*result
; 
15553     PyObject 
* obj0 
= 0 ; 
15554     char *kwnames
[] = { 
15555         (char *) "self", NULL 
 
15558     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
; 
15559     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
, 
15560     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15562         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15564             wxPrintData 
&_result_ref 
= (arg1
)->GetPrintData(); 
15565             result 
= (wxPrintData 
*) &_result_ref
; 
15568         wxPyEndAllowThreads(__tstate
); 
15569         if (PyErr_Occurred()) SWIG_fail
; 
15571     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0); 
15578 static PyObject 
*_wrap_PostScriptDC_SetPrintData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15579     PyObject 
*resultobj
; 
15580     wxPostScriptDC 
*arg1 
= (wxPostScriptDC 
*) 0 ; 
15581     wxPrintData 
*arg2 
= 0 ; 
15582     PyObject 
* obj0 
= 0 ; 
15583     PyObject 
* obj1 
= 0 ; 
15584     char *kwnames
[] = { 
15585         (char *) "self",(char *) "data", NULL 
 
15588     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
; 
15589     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
, 
15590     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15591     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
, 
15592     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
15594     if (arg2 
== NULL
) { 
15595         PyErr_SetString(PyExc_TypeError
,"null reference"); 
15599         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15600         (arg1
)->SetPrintData((wxPrintData 
const &)*arg2
); 
15602         wxPyEndAllowThreads(__tstate
); 
15603         if (PyErr_Occurred()) SWIG_fail
; 
15605     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15612 static PyObject 
*_wrap_PostScriptDC_SetResolution(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15613     PyObject 
*resultobj
; 
15615     PyObject 
* obj0 
= 0 ; 
15616     char *kwnames
[] = { 
15617         (char *) "ppi", NULL 
 
15620     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
; 
15621     arg1 
= (int) SWIG_AsInt(obj0
);  
15622     if (PyErr_Occurred()) SWIG_fail
; 
15624         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15625         wxPostScriptDC::SetResolution(arg1
); 
15627         wxPyEndAllowThreads(__tstate
); 
15628         if (PyErr_Occurred()) SWIG_fail
; 
15630     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15637 static PyObject 
*_wrap_PostScriptDC_GetResolution(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15638     PyObject 
*resultobj
; 
15640     char *kwnames
[] = { 
15644     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
; 
15646         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15647         result 
= (int)wxPostScriptDC::GetResolution(); 
15649         wxPyEndAllowThreads(__tstate
); 
15650         if (PyErr_Occurred()) SWIG_fail
; 
15652     resultobj 
= SWIG_FromInt((int)result
); 
15659 static PyObject 
* PostScriptDC_swigregister(PyObject 
*self
, PyObject 
*args
) { 
15661     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15662     SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
); 
15664     return Py_BuildValue((char *)""); 
15666 static PyObject 
*_wrap_new_MetaFile(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15667     PyObject 
*resultobj
; 
15668     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
15669     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
15670     wxMetaFile 
*result
; 
15671     bool temp1 
= False 
; 
15672     PyObject 
* obj0 
= 0 ; 
15673     char *kwnames
[] = { 
15674         (char *) "filename", NULL 
 
15677     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
; 
15680             arg1 
= wxString_in_helper(obj0
); 
15681             if (arg1 
== NULL
) SWIG_fail
; 
15686         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15687         result 
= (wxMetaFile 
*)new wxMetaFile((wxString 
const &)*arg1
); 
15689         wxPyEndAllowThreads(__tstate
); 
15690         if (PyErr_Occurred()) SWIG_fail
; 
15692     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1); 
15707 static PyObject 
* MetaFile_swigregister(PyObject 
*self
, PyObject 
*args
) { 
15709     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15710     SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
); 
15712     return Py_BuildValue((char *)""); 
15714 static PyObject 
*_wrap_new_MetaFileDC(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15715     PyObject 
*resultobj
; 
15716     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
15717     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
15718     int arg2 
= (int) 0 ; 
15719     int arg3 
= (int) 0 ; 
15720     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
15721     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
15722     wxMetaFileDC 
*result
; 
15723     bool temp1 
= False 
; 
15724     bool temp4 
= False 
; 
15725     PyObject 
* obj0 
= 0 ; 
15726     PyObject 
* obj1 
= 0 ; 
15727     PyObject 
* obj2 
= 0 ; 
15728     PyObject 
* obj3 
= 0 ; 
15729     char *kwnames
[] = { 
15730         (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL 
 
15733     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
15736             arg1 
= wxString_in_helper(obj0
); 
15737             if (arg1 
== NULL
) SWIG_fail
; 
15742         arg2 
= (int) SWIG_AsInt(obj1
);  
15743         if (PyErr_Occurred()) SWIG_fail
; 
15746         arg3 
= (int) SWIG_AsInt(obj2
);  
15747         if (PyErr_Occurred()) SWIG_fail
; 
15751             arg4 
= wxString_in_helper(obj3
); 
15752             if (arg4 
== NULL
) SWIG_fail
; 
15757         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15758         result 
= (wxMetaFileDC 
*)new wxMetaFileDC((wxString 
const &)*arg1
,arg2
,arg3
,(wxString 
const &)*arg4
); 
15760         wxPyEndAllowThreads(__tstate
); 
15761         if (PyErr_Occurred()) SWIG_fail
; 
15763     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1); 
15786 static PyObject 
* MetaFileDC_swigregister(PyObject 
*self
, PyObject 
*args
) { 
15788     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15789     SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
); 
15791     return Py_BuildValue((char *)""); 
15793 static PyObject 
*_wrap_new_PrinterDC(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15794     PyObject 
*resultobj
; 
15795     wxPrintData 
*arg1 
= 0 ; 
15796     wxPrinterDC 
*result
; 
15797     PyObject 
* obj0 
= 0 ; 
15798     char *kwnames
[] = { 
15799         (char *) "printData", NULL 
 
15802     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
; 
15803     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
, 
15804     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
15806     if (arg1 
== NULL
) { 
15807         PyErr_SetString(PyExc_TypeError
,"null reference"); 
15811         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15812         result 
= (wxPrinterDC 
*)new wxPrinterDC((wxPrintData 
const &)*arg1
); 
15814         wxPyEndAllowThreads(__tstate
); 
15815         if (PyErr_Occurred()) SWIG_fail
; 
15817     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1); 
15824 static PyObject 
* PrinterDC_swigregister(PyObject 
*self
, PyObject 
*args
) { 
15826     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15827     SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
); 
15829     return Py_BuildValue((char *)""); 
15831 static PyObject 
*_wrap_new_ImageList(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15832     PyObject 
*resultobj
; 
15835     int arg3 
= (int) True 
; 
15836     int arg4 
= (int) 1 ; 
15837     wxImageList 
*result
; 
15838     PyObject 
* obj0 
= 0 ; 
15839     PyObject 
* obj1 
= 0 ; 
15840     PyObject 
* obj2 
= 0 ; 
15841     PyObject 
* obj3 
= 0 ; 
15842     char *kwnames
[] = { 
15843         (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL 
 
15846     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
15847     arg1 
= (int) SWIG_AsInt(obj0
);  
15848     if (PyErr_Occurred()) SWIG_fail
; 
15849     arg2 
= (int) SWIG_AsInt(obj1
);  
15850     if (PyErr_Occurred()) SWIG_fail
; 
15852         arg3 
= (int) SWIG_AsInt(obj2
);  
15853         if (PyErr_Occurred()) SWIG_fail
; 
15856         arg4 
= (int) SWIG_AsInt(obj3
);  
15857         if (PyErr_Occurred()) SWIG_fail
; 
15860         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15861         result 
= (wxImageList 
*)new wxImageList(arg1
,arg2
,arg3
,arg4
); 
15863         wxPyEndAllowThreads(__tstate
); 
15864         if (PyErr_Occurred()) SWIG_fail
; 
15867         resultobj 
= wxPyMake_wxObject(result
);  
15875 static PyObject 
*_wrap_delete_ImageList(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15876     PyObject 
*resultobj
; 
15877     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
15878     PyObject 
* obj0 
= 0 ; 
15879     char *kwnames
[] = { 
15880         (char *) "self", NULL 
 
15883     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
; 
15884     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
15885     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15887         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15890         wxPyEndAllowThreads(__tstate
); 
15891         if (PyErr_Occurred()) SWIG_fail
; 
15893     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15900 static PyObject 
*_wrap_ImageList_Add(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15901     PyObject 
*resultobj
; 
15902     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
15903     wxBitmap 
*arg2 
= 0 ; 
15904     wxBitmap 
const &arg3_defvalue 
= wxNullBitmap 
; 
15905     wxBitmap 
*arg3 
= (wxBitmap 
*) &arg3_defvalue 
; 
15907     PyObject 
* obj0 
= 0 ; 
15908     PyObject 
* obj1 
= 0 ; 
15909     PyObject 
* obj2 
= 0 ; 
15910     char *kwnames
[] = { 
15911         (char *) "self",(char *) "bitmap",(char *) "mask", NULL 
 
15914     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15915     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
15916     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15917     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
15918     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
15920     if (arg2 
== NULL
) { 
15921         PyErr_SetString(PyExc_TypeError
,"null reference"); 
15925         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
, 
15926         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
15928         if (arg3 
== NULL
) { 
15929             PyErr_SetString(PyExc_TypeError
,"null reference"); 
15934         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15935         result 
= (int)(arg1
)->Add((wxBitmap 
const &)*arg2
,(wxBitmap 
const &)*arg3
); 
15937         wxPyEndAllowThreads(__tstate
); 
15938         if (PyErr_Occurred()) SWIG_fail
; 
15940     resultobj 
= SWIG_FromInt((int)result
); 
15947 static PyObject 
*_wrap_ImageList_AddWithColourMask(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15948     PyObject 
*resultobj
; 
15949     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
15950     wxBitmap 
*arg2 
= 0 ; 
15951     wxColour 
*arg3 
= 0 ; 
15954     PyObject 
* obj0 
= 0 ; 
15955     PyObject 
* obj1 
= 0 ; 
15956     PyObject 
* obj2 
= 0 ; 
15957     char *kwnames
[] = { 
15958         (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL 
 
15961     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15962     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
15963     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15964     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
15965     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
15967     if (arg2 
== NULL
) { 
15968         PyErr_SetString(PyExc_TypeError
,"null reference"); 
15973         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
15976         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15977         result 
= (int)(arg1
)->Add((wxBitmap 
const &)*arg2
,(wxColour 
const &)*arg3
); 
15979         wxPyEndAllowThreads(__tstate
); 
15980         if (PyErr_Occurred()) SWIG_fail
; 
15982     resultobj 
= SWIG_FromInt((int)result
); 
15989 static PyObject 
*_wrap_ImageList_AddIcon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15990     PyObject 
*resultobj
; 
15991     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
15994     PyObject 
* obj0 
= 0 ; 
15995     PyObject 
* obj1 
= 0 ; 
15996     char *kwnames
[] = { 
15997         (char *) "self",(char *) "icon", NULL 
 
16000     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
16001     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
16002     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16003     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
, 
16004     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
16006     if (arg2 
== NULL
) { 
16007         PyErr_SetString(PyExc_TypeError
,"null reference"); 
16011         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16012         result 
= (int)(arg1
)->Add((wxIcon 
const &)*arg2
); 
16014         wxPyEndAllowThreads(__tstate
); 
16015         if (PyErr_Occurred()) SWIG_fail
; 
16017     resultobj 
= SWIG_FromInt((int)result
); 
16024 static PyObject 
*_wrap_ImageList_Replace(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16025     PyObject 
*resultobj
; 
16026     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
16028     wxBitmap 
*arg3 
= 0 ; 
16030     PyObject 
* obj0 
= 0 ; 
16031     PyObject 
* obj1 
= 0 ; 
16032     PyObject 
* obj2 
= 0 ; 
16033     char *kwnames
[] = { 
16034         (char *) "self",(char *) "index",(char *) "bitmap", NULL 
 
16037     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16038     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
16039     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16040     arg2 
= (int) SWIG_AsInt(obj1
);  
16041     if (PyErr_Occurred()) SWIG_fail
; 
16042     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
, 
16043     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
16045     if (arg3 
== NULL
) { 
16046         PyErr_SetString(PyExc_TypeError
,"null reference"); 
16050         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16051         result 
= (bool)(arg1
)->Replace(arg2
,(wxBitmap 
const &)*arg3
); 
16053         wxPyEndAllowThreads(__tstate
); 
16054         if (PyErr_Occurred()) SWIG_fail
; 
16057         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16065 static PyObject 
*_wrap_ImageList_Draw(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16066     PyObject 
*resultobj
; 
16067     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
16072     int arg6 
= (int) wxIMAGELIST_DRAW_NORMAL 
; 
16073     bool arg7 
= (bool) (bool)False 
; 
16075     PyObject 
* obj0 
= 0 ; 
16076     PyObject 
* obj1 
= 0 ; 
16077     PyObject 
* obj2 
= 0 ; 
16078     PyObject 
* obj3 
= 0 ; 
16079     PyObject 
* obj4 
= 0 ; 
16080     PyObject 
* obj5 
= 0 ; 
16081     PyObject 
* obj6 
= 0 ; 
16082     char *kwnames
[] = { 
16083         (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL 
 
16086     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
16087     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
16088     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16089     arg2 
= (int) SWIG_AsInt(obj1
);  
16090     if (PyErr_Occurred()) SWIG_fail
; 
16091     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
, 
16092     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
16094     if (arg3 
== NULL
) { 
16095         PyErr_SetString(PyExc_TypeError
,"null reference"); 
16098     arg4 
= (int) SWIG_AsInt(obj3
);  
16099     if (PyErr_Occurred()) SWIG_fail
; 
16100     arg5 
= (int) SWIG_AsInt(obj4
);  
16101     if (PyErr_Occurred()) SWIG_fail
; 
16103         arg6 
= (int) SWIG_AsInt(obj5
);  
16104         if (PyErr_Occurred()) SWIG_fail
; 
16107         arg7 
= (bool const) SWIG_AsBool(obj6
);  
16108         if (PyErr_Occurred()) SWIG_fail
; 
16111         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16112         result 
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
); 
16114         wxPyEndAllowThreads(__tstate
); 
16115         if (PyErr_Occurred()) SWIG_fail
; 
16118         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16126 static PyObject 
*_wrap_ImageList_GetImageCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16127     PyObject 
*resultobj
; 
16128     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
16130     PyObject 
* obj0 
= 0 ; 
16131     char *kwnames
[] = { 
16132         (char *) "self", NULL 
 
16135     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
; 
16136     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
16137     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16139         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16140         result 
= (int)(arg1
)->GetImageCount(); 
16142         wxPyEndAllowThreads(__tstate
); 
16143         if (PyErr_Occurred()) SWIG_fail
; 
16145     resultobj 
= SWIG_FromInt((int)result
); 
16152 static PyObject 
*_wrap_ImageList_Remove(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16153     PyObject 
*resultobj
; 
16154     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
16157     PyObject 
* obj0 
= 0 ; 
16158     PyObject 
* obj1 
= 0 ; 
16159     char *kwnames
[] = { 
16160         (char *) "self",(char *) "index", NULL 
 
16163     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
; 
16164     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
16165     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16166     arg2 
= (int) SWIG_AsInt(obj1
);  
16167     if (PyErr_Occurred()) SWIG_fail
; 
16169         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16170         result 
= (bool)(arg1
)->Remove(arg2
); 
16172         wxPyEndAllowThreads(__tstate
); 
16173         if (PyErr_Occurred()) SWIG_fail
; 
16176         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16184 static PyObject 
*_wrap_ImageList_RemoveAll(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16185     PyObject 
*resultobj
; 
16186     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
16188     PyObject 
* obj0 
= 0 ; 
16189     char *kwnames
[] = { 
16190         (char *) "self", NULL 
 
16193     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
; 
16194     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
16195     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16197         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16198         result 
= (bool)(arg1
)->RemoveAll(); 
16200         wxPyEndAllowThreads(__tstate
); 
16201         if (PyErr_Occurred()) SWIG_fail
; 
16204         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16212 static PyObject 
*_wrap_ImageList_GetSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16213     PyObject 
*resultobj
; 
16214     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
16220     PyObject 
* obj0 
= 0 ; 
16221     PyObject 
* obj1 
= 0 ; 
16222     char *kwnames
[] = { 
16223         (char *) "self",(char *) "index", NULL 
 
16228     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
16229     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
, 
16230     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16231     arg2 
= (int) SWIG_AsInt(obj1
);  
16232     if (PyErr_Occurred()) SWIG_fail
; 
16234         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16235         (arg1
)->GetSize(arg2
,*arg3
,*arg4
); 
16237         wxPyEndAllowThreads(__tstate
); 
16238         if (PyErr_Occurred()) SWIG_fail
; 
16240     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16242         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
16243         resultobj 
= t_output_helper(resultobj
,o
); 
16246         PyObject 
*o 
= PyInt_FromLong((long) (*arg4
)); 
16247         resultobj 
= t_output_helper(resultobj
,o
); 
16255 static PyObject 
* ImageList_swigregister(PyObject 
*self
, PyObject 
*args
) { 
16257     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16258     SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
); 
16260     return Py_BuildValue((char *)""); 
16262 static int _wrap_NORMAL_FONT_set(PyObject 
*_val
) { 
16263     PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only."); 
16268 static PyObject 
*_wrap_NORMAL_FONT_get() { 
16271     pyobj 
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0); 
16276 static int _wrap_SMALL_FONT_set(PyObject 
*_val
) { 
16277     PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only."); 
16282 static PyObject 
*_wrap_SMALL_FONT_get() { 
16285     pyobj 
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0); 
16290 static int _wrap_ITALIC_FONT_set(PyObject 
*_val
) { 
16291     PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only."); 
16296 static PyObject 
*_wrap_ITALIC_FONT_get() { 
16299     pyobj 
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0); 
16304 static int _wrap_SWISS_FONT_set(PyObject 
*_val
) { 
16305     PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only."); 
16310 static PyObject 
*_wrap_SWISS_FONT_get() { 
16313     pyobj 
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0); 
16318 static int _wrap_RED_PEN_set(PyObject 
*_val
) { 
16319     PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only."); 
16324 static PyObject 
*_wrap_RED_PEN_get() { 
16327     pyobj 
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0); 
16332 static int _wrap_CYAN_PEN_set(PyObject 
*_val
) { 
16333     PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only."); 
16338 static PyObject 
*_wrap_CYAN_PEN_get() { 
16341     pyobj 
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0); 
16346 static int _wrap_GREEN_PEN_set(PyObject 
*_val
) { 
16347     PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only."); 
16352 static PyObject 
*_wrap_GREEN_PEN_get() { 
16355     pyobj 
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0); 
16360 static int _wrap_BLACK_PEN_set(PyObject 
*_val
) { 
16361     PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only."); 
16366 static PyObject 
*_wrap_BLACK_PEN_get() { 
16369     pyobj 
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0); 
16374 static int _wrap_WHITE_PEN_set(PyObject 
*_val
) { 
16375     PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only."); 
16380 static PyObject 
*_wrap_WHITE_PEN_get() { 
16383     pyobj 
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0); 
16388 static int _wrap_TRANSPARENT_PEN_set(PyObject 
*_val
) { 
16389     PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only."); 
16394 static PyObject 
*_wrap_TRANSPARENT_PEN_get() { 
16397     pyobj 
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0); 
16402 static int _wrap_BLACK_DASHED_PEN_set(PyObject 
*_val
) { 
16403     PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only."); 
16408 static PyObject 
*_wrap_BLACK_DASHED_PEN_get() { 
16411     pyobj 
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0); 
16416 static int _wrap_GREY_PEN_set(PyObject 
*_val
) { 
16417     PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only."); 
16422 static PyObject 
*_wrap_GREY_PEN_get() { 
16425     pyobj 
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0); 
16430 static int _wrap_MEDIUM_GREY_PEN_set(PyObject 
*_val
) { 
16431     PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only."); 
16436 static PyObject 
*_wrap_MEDIUM_GREY_PEN_get() { 
16439     pyobj 
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0); 
16444 static int _wrap_LIGHT_GREY_PEN_set(PyObject 
*_val
) { 
16445     PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only."); 
16450 static PyObject 
*_wrap_LIGHT_GREY_PEN_get() { 
16453     pyobj 
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0); 
16458 static int _wrap_BLUE_BRUSH_set(PyObject 
*_val
) { 
16459     PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only."); 
16464 static PyObject 
*_wrap_BLUE_BRUSH_get() { 
16467     pyobj 
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
16472 static int _wrap_GREEN_BRUSH_set(PyObject 
*_val
) { 
16473     PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only."); 
16478 static PyObject 
*_wrap_GREEN_BRUSH_get() { 
16481     pyobj 
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
16486 static int _wrap_WHITE_BRUSH_set(PyObject 
*_val
) { 
16487     PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only."); 
16492 static PyObject 
*_wrap_WHITE_BRUSH_get() { 
16495     pyobj 
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
16500 static int _wrap_BLACK_BRUSH_set(PyObject 
*_val
) { 
16501     PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only."); 
16506 static PyObject 
*_wrap_BLACK_BRUSH_get() { 
16509     pyobj 
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
16514 static int _wrap_TRANSPARENT_BRUSH_set(PyObject 
*_val
) { 
16515     PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only."); 
16520 static PyObject 
*_wrap_TRANSPARENT_BRUSH_get() { 
16523     pyobj 
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
16528 static int _wrap_CYAN_BRUSH_set(PyObject 
*_val
) { 
16529     PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only."); 
16534 static PyObject 
*_wrap_CYAN_BRUSH_get() { 
16537     pyobj 
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
16542 static int _wrap_RED_BRUSH_set(PyObject 
*_val
) { 
16543     PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only."); 
16548 static PyObject 
*_wrap_RED_BRUSH_get() { 
16551     pyobj 
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
16556 static int _wrap_GREY_BRUSH_set(PyObject 
*_val
) { 
16557     PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only."); 
16562 static PyObject 
*_wrap_GREY_BRUSH_get() { 
16565     pyobj 
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
16570 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject 
*_val
) { 
16571     PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only."); 
16576 static PyObject 
*_wrap_MEDIUM_GREY_BRUSH_get() { 
16579     pyobj 
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
16584 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject 
*_val
) { 
16585     PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only."); 
16590 static PyObject 
*_wrap_LIGHT_GREY_BRUSH_get() { 
16593     pyobj 
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
16598 static int _wrap_BLACK_set(PyObject 
*_val
) { 
16599     PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only."); 
16604 static PyObject 
*_wrap_BLACK_get() { 
16607     pyobj 
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0); 
16612 static int _wrap_WHITE_set(PyObject 
*_val
) { 
16613     PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only."); 
16618 static PyObject 
*_wrap_WHITE_get() { 
16621     pyobj 
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0); 
16626 static int _wrap_RED_set(PyObject 
*_val
) { 
16627     PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only."); 
16632 static PyObject 
*_wrap_RED_get() { 
16635     pyobj 
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0); 
16640 static int _wrap_BLUE_set(PyObject 
*_val
) { 
16641     PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only."); 
16646 static PyObject 
*_wrap_BLUE_get() { 
16649     pyobj 
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0); 
16654 static int _wrap_GREEN_set(PyObject 
*_val
) { 
16655     PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only."); 
16660 static PyObject 
*_wrap_GREEN_get() { 
16663     pyobj 
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0); 
16668 static int _wrap_CYAN_set(PyObject 
*_val
) { 
16669     PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only."); 
16674 static PyObject 
*_wrap_CYAN_get() { 
16677     pyobj 
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0); 
16682 static int _wrap_LIGHT_GREY_set(PyObject 
*_val
) { 
16683     PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only."); 
16688 static PyObject 
*_wrap_LIGHT_GREY_get() { 
16691     pyobj 
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0); 
16696 static int _wrap_STANDARD_CURSOR_set(PyObject 
*_val
) { 
16697     PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only."); 
16702 static PyObject 
*_wrap_STANDARD_CURSOR_get() { 
16705     pyobj 
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0); 
16710 static int _wrap_HOURGLASS_CURSOR_set(PyObject 
*_val
) { 
16711     PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only."); 
16716 static PyObject 
*_wrap_HOURGLASS_CURSOR_get() { 
16719     pyobj 
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0); 
16724 static int _wrap_CROSS_CURSOR_set(PyObject 
*_val
) { 
16725     PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only."); 
16730 static PyObject 
*_wrap_CROSS_CURSOR_get() { 
16733     pyobj 
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0); 
16738 static int _wrap_NullBitmap_set(PyObject 
*_val
) { 
16739     PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only."); 
16744 static PyObject 
*_wrap_NullBitmap_get() { 
16747     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0); 
16752 static int _wrap_NullIcon_set(PyObject 
*_val
) { 
16753     PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only."); 
16758 static PyObject 
*_wrap_NullIcon_get() { 
16761     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0); 
16766 static int _wrap_NullCursor_set(PyObject 
*_val
) { 
16767     PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only."); 
16772 static PyObject 
*_wrap_NullCursor_get() { 
16775     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0); 
16780 static int _wrap_NullPen_set(PyObject 
*_val
) { 
16781     PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only."); 
16786 static PyObject 
*_wrap_NullPen_get() { 
16789     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0); 
16794 static int _wrap_NullBrush_set(PyObject 
*_val
) { 
16795     PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only."); 
16800 static PyObject 
*_wrap_NullBrush_get() { 
16803     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0); 
16808 static int _wrap_NullPalette_set(PyObject 
*_val
) { 
16809     PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only."); 
16814 static PyObject 
*_wrap_NullPalette_get() { 
16817     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0); 
16822 static int _wrap_NullFont_set(PyObject 
*_val
) { 
16823     PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only."); 
16828 static PyObject 
*_wrap_NullFont_get() { 
16831     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0); 
16836 static int _wrap_NullColour_set(PyObject 
*_val
) { 
16837     PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only."); 
16842 static PyObject 
*_wrap_NullColour_get() { 
16845     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0); 
16850 static PyObject 
*_wrap_PenList_AddPen(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16851     PyObject 
*resultobj
; 
16852     wxPenList 
*arg1 
= (wxPenList 
*) 0 ; 
16853     wxPen 
*arg2 
= (wxPen 
*) 0 ; 
16854     PyObject 
* obj0 
= 0 ; 
16855     PyObject 
* obj1 
= 0 ; 
16856     char *kwnames
[] = { 
16857         (char *) "self",(char *) "pen", NULL 
 
16860     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
; 
16861     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
, 
16862     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16863     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
, 
16864     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16866         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16867         (arg1
)->AddPen(arg2
); 
16869         wxPyEndAllowThreads(__tstate
); 
16870         if (PyErr_Occurred()) SWIG_fail
; 
16872     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16879 static PyObject 
*_wrap_PenList_FindOrCreatePen(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16880     PyObject 
*resultobj
; 
16881     wxPenList 
*arg1 
= (wxPenList 
*) 0 ; 
16882     wxColour 
*arg2 
= 0 ; 
16887     PyObject 
* obj0 
= 0 ; 
16888     PyObject 
* obj1 
= 0 ; 
16889     PyObject 
* obj2 
= 0 ; 
16890     PyObject 
* obj3 
= 0 ; 
16891     char *kwnames
[] = { 
16892         (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL 
 
16895     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
16896     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
, 
16897     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16900         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
16902     arg3 
= (int) SWIG_AsInt(obj2
);  
16903     if (PyErr_Occurred()) SWIG_fail
; 
16904     arg4 
= (int) SWIG_AsInt(obj3
);  
16905     if (PyErr_Occurred()) SWIG_fail
; 
16907         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16908         result 
= (wxPen 
*)(arg1
)->FindOrCreatePen((wxColour 
const &)*arg2
,arg3
,arg4
); 
16910         wxPyEndAllowThreads(__tstate
); 
16911         if (PyErr_Occurred()) SWIG_fail
; 
16913     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0); 
16920 static PyObject 
*_wrap_PenList_RemovePen(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16921     PyObject 
*resultobj
; 
16922     wxPenList 
*arg1 
= (wxPenList 
*) 0 ; 
16923     wxPen 
*arg2 
= (wxPen 
*) 0 ; 
16924     PyObject 
* obj0 
= 0 ; 
16925     PyObject 
* obj1 
= 0 ; 
16926     char *kwnames
[] = { 
16927         (char *) "self",(char *) "pen", NULL 
 
16930     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
; 
16931     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
, 
16932     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16933     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
, 
16934     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16936         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16937         (arg1
)->RemovePen(arg2
); 
16939         wxPyEndAllowThreads(__tstate
); 
16940         if (PyErr_Occurred()) SWIG_fail
; 
16942     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16949 static PyObject 
*_wrap_PenList_GetCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16950     PyObject 
*resultobj
; 
16951     wxPenList 
*arg1 
= (wxPenList 
*) 0 ; 
16953     PyObject 
* obj0 
= 0 ; 
16954     char *kwnames
[] = { 
16955         (char *) "self", NULL 
 
16958     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
; 
16959     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
, 
16960     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16962         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16963         result 
= (int)(arg1
)->GetCount(); 
16965         wxPyEndAllowThreads(__tstate
); 
16966         if (PyErr_Occurred()) SWIG_fail
; 
16968     resultobj 
= SWIG_FromInt((int)result
); 
16975 static PyObject 
* PenList_swigregister(PyObject 
*self
, PyObject 
*args
) { 
16977     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16978     SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
); 
16980     return Py_BuildValue((char *)""); 
16982 static PyObject 
*_wrap_BrushList_AddBrush(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16983     PyObject 
*resultobj
; 
16984     wxBrushList 
*arg1 
= (wxBrushList 
*) 0 ; 
16985     wxBrush 
*arg2 
= (wxBrush 
*) 0 ; 
16986     PyObject 
* obj0 
= 0 ; 
16987     PyObject 
* obj1 
= 0 ; 
16988     char *kwnames
[] = { 
16989         (char *) "self",(char *) "brush", NULL 
 
16992     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
; 
16993     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
, 
16994     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16995     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
, 
16996     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16998         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16999         (arg1
)->AddBrush(arg2
); 
17001         wxPyEndAllowThreads(__tstate
); 
17002         if (PyErr_Occurred()) SWIG_fail
; 
17004     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17011 static PyObject 
*_wrap_BrushList_FindOrCreateBrush(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17012     PyObject 
*resultobj
; 
17013     wxBrushList 
*arg1 
= (wxBrushList 
*) 0 ; 
17014     wxColour 
*arg2 
= 0 ; 
17018     PyObject 
* obj0 
= 0 ; 
17019     PyObject 
* obj1 
= 0 ; 
17020     PyObject 
* obj2 
= 0 ; 
17021     char *kwnames
[] = { 
17022         (char *) "self",(char *) "colour",(char *) "style", NULL 
 
17025     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
17026     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
, 
17027     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17030         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
17032     arg3 
= (int) SWIG_AsInt(obj2
);  
17033     if (PyErr_Occurred()) SWIG_fail
; 
17035         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17036         result 
= (wxBrush 
*)(arg1
)->FindOrCreateBrush((wxColour 
const &)*arg2
,arg3
); 
17038         wxPyEndAllowThreads(__tstate
); 
17039         if (PyErr_Occurred()) SWIG_fail
; 
17041     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0); 
17048 static PyObject 
*_wrap_BrushList_RemoveBrush(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17049     PyObject 
*resultobj
; 
17050     wxBrushList 
*arg1 
= (wxBrushList 
*) 0 ; 
17051     wxBrush 
*arg2 
= (wxBrush 
*) 0 ; 
17052     PyObject 
* obj0 
= 0 ; 
17053     PyObject 
* obj1 
= 0 ; 
17054     char *kwnames
[] = { 
17055         (char *) "self",(char *) "brush", NULL 
 
17058     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
; 
17059     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
, 
17060     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17061     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
, 
17062     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17064         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17065         (arg1
)->RemoveBrush(arg2
); 
17067         wxPyEndAllowThreads(__tstate
); 
17068         if (PyErr_Occurred()) SWIG_fail
; 
17070     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17077 static PyObject 
*_wrap_BrushList_GetCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17078     PyObject 
*resultobj
; 
17079     wxBrushList 
*arg1 
= (wxBrushList 
*) 0 ; 
17081     PyObject 
* obj0 
= 0 ; 
17082     char *kwnames
[] = { 
17083         (char *) "self", NULL 
 
17086     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
; 
17087     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
, 
17088     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17090         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17091         result 
= (int)(arg1
)->GetCount(); 
17093         wxPyEndAllowThreads(__tstate
); 
17094         if (PyErr_Occurred()) SWIG_fail
; 
17096     resultobj 
= SWIG_FromInt((int)result
); 
17103 static PyObject 
* BrushList_swigregister(PyObject 
*self
, PyObject 
*args
) { 
17105     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17106     SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
); 
17108     return Py_BuildValue((char *)""); 
17110 static PyObject 
*_wrap_new_ColourDatabase(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17111     PyObject 
*resultobj
; 
17112     wxColourDatabase 
*result
; 
17113     char *kwnames
[] = { 
17117     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
; 
17119         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17120         result 
= (wxColourDatabase 
*)new wxColourDatabase(); 
17122         wxPyEndAllowThreads(__tstate
); 
17123         if (PyErr_Occurred()) SWIG_fail
; 
17125     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1); 
17132 static PyObject 
*_wrap_delete_ColourDatabase(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17133     PyObject 
*resultobj
; 
17134     wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
17135     PyObject 
* obj0 
= 0 ; 
17136     char *kwnames
[] = { 
17137         (char *) "self", NULL 
 
17140     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
; 
17141     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
, 
17142     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17144         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17147         wxPyEndAllowThreads(__tstate
); 
17148         if (PyErr_Occurred()) SWIG_fail
; 
17150     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17157 static PyObject 
*_wrap_ColourDatabase_Find(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17158     PyObject 
*resultobj
; 
17159     wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
17160     wxString 
*arg2 
= 0 ; 
17162     bool temp2 
= False 
; 
17163     PyObject 
* obj0 
= 0 ; 
17164     PyObject 
* obj1 
= 0 ; 
17165     char *kwnames
[] = { 
17166         (char *) "self",(char *) "name", NULL 
 
17169     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
; 
17170     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
, 
17171     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17173         arg2 
= wxString_in_helper(obj1
); 
17174         if (arg2 
== NULL
) SWIG_fail
; 
17178         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17179         result 
= ((wxColourDatabase 
const *)arg1
)->Find((wxString 
const &)*arg2
); 
17181         wxPyEndAllowThreads(__tstate
); 
17182         if (PyErr_Occurred()) SWIG_fail
; 
17185         wxColour 
* resultptr
; 
17186         resultptr 
= new wxColour((wxColour 
&) result
); 
17187         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
17203 static PyObject 
*_wrap_ColourDatabase_FindName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17204     PyObject 
*resultobj
; 
17205     wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
17206     wxColour 
*arg2 
= 0 ; 
17209     PyObject 
* obj0 
= 0 ; 
17210     PyObject 
* obj1 
= 0 ; 
17211     char *kwnames
[] = { 
17212         (char *) "self",(char *) "colour", NULL 
 
17215     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
; 
17216     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
, 
17217     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17220         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
17223         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17224         result 
= ((wxColourDatabase 
const *)arg1
)->FindName((wxColour 
const &)*arg2
); 
17226         wxPyEndAllowThreads(__tstate
); 
17227         if (PyErr_Occurred()) SWIG_fail
; 
17231         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17233         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17242 static PyObject 
*_wrap_ColourDatabase_AddColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17243     PyObject 
*resultobj
; 
17244     wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
17245     wxString 
*arg2 
= 0 ; 
17246     wxColour 
*arg3 
= 0 ; 
17247     bool temp2 
= False 
; 
17249     PyObject 
* obj0 
= 0 ; 
17250     PyObject 
* obj1 
= 0 ; 
17251     PyObject 
* obj2 
= 0 ; 
17252     char *kwnames
[] = { 
17253         (char *) "self",(char *) "name",(char *) "colour", NULL 
 
17256     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
17257     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
, 
17258     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17260         arg2 
= wxString_in_helper(obj1
); 
17261         if (arg2 
== NULL
) SWIG_fail
; 
17266         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
17269         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17270         (arg1
)->AddColour((wxString 
const &)*arg2
,(wxColour 
const &)*arg3
); 
17272         wxPyEndAllowThreads(__tstate
); 
17273         if (PyErr_Occurred()) SWIG_fail
; 
17275     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17290 static PyObject 
*_wrap_ColourDatabase_Append(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17291     PyObject 
*resultobj
; 
17292     wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
17293     wxString 
*arg2 
= 0 ; 
17297     bool temp2 
= False 
; 
17298     PyObject 
* obj0 
= 0 ; 
17299     PyObject 
* obj1 
= 0 ; 
17300     PyObject 
* obj2 
= 0 ; 
17301     PyObject 
* obj3 
= 0 ; 
17302     PyObject 
* obj4 
= 0 ; 
17303     char *kwnames
[] = { 
17304         (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
17307     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
17308     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
, 
17309     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17311         arg2 
= wxString_in_helper(obj1
); 
17312         if (arg2 
== NULL
) SWIG_fail
; 
17315     arg3 
= (int) SWIG_AsInt(obj2
);  
17316     if (PyErr_Occurred()) SWIG_fail
; 
17317     arg4 
= (int) SWIG_AsInt(obj3
);  
17318     if (PyErr_Occurred()) SWIG_fail
; 
17319     arg5 
= (int) SWIG_AsInt(obj4
);  
17320     if (PyErr_Occurred()) SWIG_fail
; 
17322         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17323         wxColourDatabase_Append(arg1
,(wxString 
const &)*arg2
,arg3
,arg4
,arg5
); 
17325         wxPyEndAllowThreads(__tstate
); 
17326         if (PyErr_Occurred()) SWIG_fail
; 
17328     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17343 static PyObject 
* ColourDatabase_swigregister(PyObject 
*self
, PyObject 
*args
) { 
17345     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17346     SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
); 
17348     return Py_BuildValue((char *)""); 
17350 static PyObject 
*_wrap_FontList_AddFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17351     PyObject 
*resultobj
; 
17352     wxFontList 
*arg1 
= (wxFontList 
*) 0 ; 
17353     wxFont 
*arg2 
= (wxFont 
*) 0 ; 
17354     PyObject 
* obj0 
= 0 ; 
17355     PyObject 
* obj1 
= 0 ; 
17356     char *kwnames
[] = { 
17357         (char *) "self",(char *) "font", NULL 
 
17360     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
17361     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
, 
17362     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17363     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
17364     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17366         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17367         (arg1
)->AddFont(arg2
); 
17369         wxPyEndAllowThreads(__tstate
); 
17370         if (PyErr_Occurred()) SWIG_fail
; 
17372     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17379 static PyObject 
*_wrap_FontList_FindOrCreateFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17380     PyObject 
*resultobj
; 
17381     wxFontList 
*arg1 
= (wxFontList 
*) 0 ; 
17386     bool arg6 
= (bool) False 
; 
17387     wxString 
const &arg7_defvalue 
= wxPyEmptyString 
; 
17388     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
17389     int arg8 
= (int) wxFONTENCODING_DEFAULT 
; 
17391     bool temp7 
= False 
; 
17392     PyObject 
* obj0 
= 0 ; 
17393     PyObject 
* obj1 
= 0 ; 
17394     PyObject 
* obj2 
= 0 ; 
17395     PyObject 
* obj3 
= 0 ; 
17396     PyObject 
* obj4 
= 0 ; 
17397     PyObject 
* obj5 
= 0 ; 
17398     PyObject 
* obj6 
= 0 ; 
17399     PyObject 
* obj7 
= 0 ; 
17400     char *kwnames
[] = { 
17401         (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL 
 
17404     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
17405     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
, 
17406     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17407     arg2 
= (int) SWIG_AsInt(obj1
);  
17408     if (PyErr_Occurred()) SWIG_fail
; 
17409     arg3 
= (int) SWIG_AsInt(obj2
);  
17410     if (PyErr_Occurred()) SWIG_fail
; 
17411     arg4 
= (int) SWIG_AsInt(obj3
);  
17412     if (PyErr_Occurred()) SWIG_fail
; 
17413     arg5 
= (int) SWIG_AsInt(obj4
);  
17414     if (PyErr_Occurred()) SWIG_fail
; 
17416         arg6 
= (bool) SWIG_AsBool(obj5
);  
17417         if (PyErr_Occurred()) SWIG_fail
; 
17421             arg7 
= wxString_in_helper(obj6
); 
17422             if (arg7 
== NULL
) SWIG_fail
; 
17427         arg8 
= (wxFontEncoding
) SWIG_AsInt(obj7
);  
17428         if (PyErr_Occurred()) SWIG_fail
; 
17431         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17432         result 
= (wxFont 
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString 
const &)*arg7
,(wxFontEncoding 
)arg8
); 
17434         wxPyEndAllowThreads(__tstate
); 
17435         if (PyErr_Occurred()) SWIG_fail
; 
17437     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0); 
17452 static PyObject 
*_wrap_FontList_RemoveFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17453     PyObject 
*resultobj
; 
17454     wxFontList 
*arg1 
= (wxFontList 
*) 0 ; 
17455     wxFont 
*arg2 
= (wxFont 
*) 0 ; 
17456     PyObject 
* obj0 
= 0 ; 
17457     PyObject 
* obj1 
= 0 ; 
17458     char *kwnames
[] = { 
17459         (char *) "self",(char *) "font", NULL 
 
17462     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
17463     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
, 
17464     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17465     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
17466     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17468         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17469         (arg1
)->RemoveFont(arg2
); 
17471         wxPyEndAllowThreads(__tstate
); 
17472         if (PyErr_Occurred()) SWIG_fail
; 
17474     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17481 static PyObject 
*_wrap_FontList_GetCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17482     PyObject 
*resultobj
; 
17483     wxFontList 
*arg1 
= (wxFontList 
*) 0 ; 
17485     PyObject 
* obj0 
= 0 ; 
17486     char *kwnames
[] = { 
17487         (char *) "self", NULL 
 
17490     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
; 
17491     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
, 
17492     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17494         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17495         result 
= (int)(arg1
)->GetCount(); 
17497         wxPyEndAllowThreads(__tstate
); 
17498         if (PyErr_Occurred()) SWIG_fail
; 
17500     resultobj 
= SWIG_FromInt((int)result
); 
17507 static PyObject 
* FontList_swigregister(PyObject 
*self
, PyObject 
*args
) { 
17509     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17510     SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
); 
17512     return Py_BuildValue((char *)""); 
17514 static int _wrap_TheFontList_set(PyObject 
*_val
) { 
17515     PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only."); 
17520 static PyObject 
*_wrap_TheFontList_get() { 
17523     pyobj 
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0); 
17528 static int _wrap_ThePenList_set(PyObject 
*_val
) { 
17529     PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only."); 
17534 static PyObject 
*_wrap_ThePenList_get() { 
17537     pyobj 
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0); 
17542 static int _wrap_TheBrushList_set(PyObject 
*_val
) { 
17543     PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only."); 
17548 static PyObject 
*_wrap_TheBrushList_get() { 
17551     pyobj 
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0); 
17556 static int _wrap_TheColourDatabase_set(PyObject 
*_val
) { 
17557     PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only."); 
17562 static PyObject 
*_wrap_TheColourDatabase_get() { 
17565     pyobj 
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0); 
17570 static PyObject 
*_wrap_new_Effects(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17571     PyObject 
*resultobj
; 
17573     char *kwnames
[] = { 
17577     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
; 
17579         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17580         result 
= (wxEffects 
*)new wxEffects(); 
17582         wxPyEndAllowThreads(__tstate
); 
17583         if (PyErr_Occurred()) SWIG_fail
; 
17585     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1); 
17592 static PyObject 
*_wrap_Effects_GetHighlightColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17593     PyObject 
*resultobj
; 
17594     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
17596     PyObject 
* obj0 
= 0 ; 
17597     char *kwnames
[] = { 
17598         (char *) "self", NULL 
 
17601     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
; 
17602     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
17603     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17605         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17606         result 
= ((wxEffects 
const *)arg1
)->GetHighlightColour(); 
17608         wxPyEndAllowThreads(__tstate
); 
17609         if (PyErr_Occurred()) SWIG_fail
; 
17612         wxColour 
* resultptr
; 
17613         resultptr 
= new wxColour((wxColour 
&) result
); 
17614         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
17622 static PyObject 
*_wrap_Effects_GetLightShadow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17623     PyObject 
*resultobj
; 
17624     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
17626     PyObject 
* obj0 
= 0 ; 
17627     char *kwnames
[] = { 
17628         (char *) "self", NULL 
 
17631     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
; 
17632     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
17633     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17635         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17636         result 
= ((wxEffects 
const *)arg1
)->GetLightShadow(); 
17638         wxPyEndAllowThreads(__tstate
); 
17639         if (PyErr_Occurred()) SWIG_fail
; 
17642         wxColour 
* resultptr
; 
17643         resultptr 
= new wxColour((wxColour 
&) result
); 
17644         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
17652 static PyObject 
*_wrap_Effects_GetFaceColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17653     PyObject 
*resultobj
; 
17654     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
17656     PyObject 
* obj0 
= 0 ; 
17657     char *kwnames
[] = { 
17658         (char *) "self", NULL 
 
17661     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
; 
17662     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
17663     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17665         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17666         result 
= ((wxEffects 
const *)arg1
)->GetFaceColour(); 
17668         wxPyEndAllowThreads(__tstate
); 
17669         if (PyErr_Occurred()) SWIG_fail
; 
17672         wxColour 
* resultptr
; 
17673         resultptr 
= new wxColour((wxColour 
&) result
); 
17674         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
17682 static PyObject 
*_wrap_Effects_GetMediumShadow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17683     PyObject 
*resultobj
; 
17684     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
17686     PyObject 
* obj0 
= 0 ; 
17687     char *kwnames
[] = { 
17688         (char *) "self", NULL 
 
17691     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
; 
17692     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
17693     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17695         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17696         result 
= ((wxEffects 
const *)arg1
)->GetMediumShadow(); 
17698         wxPyEndAllowThreads(__tstate
); 
17699         if (PyErr_Occurred()) SWIG_fail
; 
17702         wxColour 
* resultptr
; 
17703         resultptr 
= new wxColour((wxColour 
&) result
); 
17704         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
17712 static PyObject 
*_wrap_Effects_GetDarkShadow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17713     PyObject 
*resultobj
; 
17714     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
17716     PyObject 
* obj0 
= 0 ; 
17717     char *kwnames
[] = { 
17718         (char *) "self", NULL 
 
17721     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
; 
17722     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
17723     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17725         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17726         result 
= ((wxEffects 
const *)arg1
)->GetDarkShadow(); 
17728         wxPyEndAllowThreads(__tstate
); 
17729         if (PyErr_Occurred()) SWIG_fail
; 
17732         wxColour 
* resultptr
; 
17733         resultptr 
= new wxColour((wxColour 
&) result
); 
17734         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
17742 static PyObject 
*_wrap_Effects_SetHighlightColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17743     PyObject 
*resultobj
; 
17744     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
17745     wxColour 
*arg2 
= 0 ; 
17747     PyObject 
* obj0 
= 0 ; 
17748     PyObject 
* obj1 
= 0 ; 
17749     char *kwnames
[] = { 
17750         (char *) "self",(char *) "c", NULL 
 
17753     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
17754     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
17755     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17758         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
17761         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17762         (arg1
)->SetHighlightColour((wxColour 
const &)*arg2
); 
17764         wxPyEndAllowThreads(__tstate
); 
17765         if (PyErr_Occurred()) SWIG_fail
; 
17767     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17774 static PyObject 
*_wrap_Effects_SetLightShadow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17775     PyObject 
*resultobj
; 
17776     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
17777     wxColour 
*arg2 
= 0 ; 
17779     PyObject 
* obj0 
= 0 ; 
17780     PyObject 
* obj1 
= 0 ; 
17781     char *kwnames
[] = { 
17782         (char *) "self",(char *) "c", NULL 
 
17785     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
; 
17786     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
17787     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17790         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
17793         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17794         (arg1
)->SetLightShadow((wxColour 
const &)*arg2
); 
17796         wxPyEndAllowThreads(__tstate
); 
17797         if (PyErr_Occurred()) SWIG_fail
; 
17799     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17806 static PyObject 
*_wrap_Effects_SetFaceColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17807     PyObject 
*resultobj
; 
17808     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
17809     wxColour 
*arg2 
= 0 ; 
17811     PyObject 
* obj0 
= 0 ; 
17812     PyObject 
* obj1 
= 0 ; 
17813     char *kwnames
[] = { 
17814         (char *) "self",(char *) "c", NULL 
 
17817     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
17818     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
17819     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17822         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
17825         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17826         (arg1
)->SetFaceColour((wxColour 
const &)*arg2
); 
17828         wxPyEndAllowThreads(__tstate
); 
17829         if (PyErr_Occurred()) SWIG_fail
; 
17831     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17838 static PyObject 
*_wrap_Effects_SetMediumShadow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17839     PyObject 
*resultobj
; 
17840     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
17841     wxColour 
*arg2 
= 0 ; 
17843     PyObject 
* obj0 
= 0 ; 
17844     PyObject 
* obj1 
= 0 ; 
17845     char *kwnames
[] = { 
17846         (char *) "self",(char *) "c", NULL 
 
17849     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
; 
17850     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
17851     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17854         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
17857         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17858         (arg1
)->SetMediumShadow((wxColour 
const &)*arg2
); 
17860         wxPyEndAllowThreads(__tstate
); 
17861         if (PyErr_Occurred()) SWIG_fail
; 
17863     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17870 static PyObject 
*_wrap_Effects_SetDarkShadow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17871     PyObject 
*resultobj
; 
17872     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
17873     wxColour 
*arg2 
= 0 ; 
17875     PyObject 
* obj0 
= 0 ; 
17876     PyObject 
* obj1 
= 0 ; 
17877     char *kwnames
[] = { 
17878         (char *) "self",(char *) "c", NULL 
 
17881     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
; 
17882     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
17883     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17886         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
17889         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17890         (arg1
)->SetDarkShadow((wxColour 
const &)*arg2
); 
17892         wxPyEndAllowThreads(__tstate
); 
17893         if (PyErr_Occurred()) SWIG_fail
; 
17895     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17902 static PyObject 
*_wrap_Effects_Set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17903     PyObject 
*resultobj
; 
17904     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
17905     wxColour 
*arg2 
= 0 ; 
17906     wxColour 
*arg3 
= 0 ; 
17907     wxColour 
*arg4 
= 0 ; 
17908     wxColour 
*arg5 
= 0 ; 
17909     wxColour 
*arg6 
= 0 ; 
17915     PyObject 
* obj0 
= 0 ; 
17916     PyObject 
* obj1 
= 0 ; 
17917     PyObject 
* obj2 
= 0 ; 
17918     PyObject 
* obj3 
= 0 ; 
17919     PyObject 
* obj4 
= 0 ; 
17920     PyObject 
* obj5 
= 0 ; 
17921     char *kwnames
[] = { 
17922         (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL 
 
17925     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
17926     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
17927     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17930         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
17934         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
17938         if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
17942         if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
; 
17946         if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
; 
17949         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17950         (arg1
)->Set((wxColour 
const &)*arg2
,(wxColour 
const &)*arg3
,(wxColour 
const &)*arg4
,(wxColour 
const &)*arg5
,(wxColour 
const &)*arg6
); 
17952         wxPyEndAllowThreads(__tstate
); 
17953         if (PyErr_Occurred()) SWIG_fail
; 
17955     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17962 static PyObject 
*_wrap_Effects_DrawSunkenEdge(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17963     PyObject 
*resultobj
; 
17964     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
17967     int arg4 
= (int) 1 ; 
17969     PyObject 
* obj0 
= 0 ; 
17970     PyObject 
* obj1 
= 0 ; 
17971     PyObject 
* obj2 
= 0 ; 
17972     PyObject 
* obj3 
= 0 ; 
17973     char *kwnames
[] = { 
17974         (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL 
 
17977     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
17978     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
17979     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17980     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
, 
17981     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
17983     if (arg2 
== NULL
) { 
17984         PyErr_SetString(PyExc_TypeError
,"null reference"); 
17989         if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
; 
17992         arg4 
= (int) SWIG_AsInt(obj3
);  
17993         if (PyErr_Occurred()) SWIG_fail
; 
17996         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17997         (arg1
)->DrawSunkenEdge(*arg2
,(wxRect 
const &)*arg3
,arg4
); 
17999         wxPyEndAllowThreads(__tstate
); 
18000         if (PyErr_Occurred()) SWIG_fail
; 
18002     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18009 static PyObject 
*_wrap_Effects_TileBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18010     PyObject 
*resultobj
; 
18011     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
18014     wxBitmap 
*arg4 
= 0 ; 
18017     PyObject 
* obj0 
= 0 ; 
18018     PyObject 
* obj1 
= 0 ; 
18019     PyObject 
* obj2 
= 0 ; 
18020     PyObject 
* obj3 
= 0 ; 
18021     char *kwnames
[] = { 
18022         (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL 
 
18025     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
18026     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
, 
18027     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18030         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
18032     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
, 
18033     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
18035     if (arg3 
== NULL
) { 
18036         PyErr_SetString(PyExc_TypeError
,"null reference"); 
18039     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
, 
18040     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
18042     if (arg4 
== NULL
) { 
18043         PyErr_SetString(PyExc_TypeError
,"null reference"); 
18047         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18048         result 
= (bool)(arg1
)->TileBitmap((wxRect 
const &)*arg2
,*arg3
,*arg4
); 
18050         wxPyEndAllowThreads(__tstate
); 
18051         if (PyErr_Occurred()) SWIG_fail
; 
18054         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18062 static PyObject 
* Effects_swigregister(PyObject 
*self
, PyObject 
*args
) { 
18064     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18065     SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
); 
18067     return Py_BuildValue((char *)""); 
18069 static PyMethodDef SwigMethods
[] = { 
18070          { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18071          { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18072          { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18073          { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18074          { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18075          { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS 
}, 
18076          { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18077          { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18078          { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18079          { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18080          { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18081          { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18082          { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18083          { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18084          { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18085          { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18086          { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18087          { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18088          { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18089          { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18090          { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18091          { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18092          { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS 
}, 
18093          { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18094          { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18095          { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18096          { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18097          { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18098          { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS 
}, 
18099          { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18100          { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18101          { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18102          { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18103          { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18104          { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18105          { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18106          { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18107          { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18108          { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18109          { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18110          { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18111          { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18112          { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18113          { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18114          { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18115          { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18116          { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18117          { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS 
}, 
18118          { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18119          { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18120          { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18121          { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS 
}, 
18122          { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18123          { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18124          { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18125          { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18126          { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18127          { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18128          { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18129          { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18130          { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18131          { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS 
}, 
18132          { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18133          { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18134          { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18135          { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18136          { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18137          { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18138          { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18139          { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18140          { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18141          { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18142          { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18143          { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18144          { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18145          { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18146          { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18147          { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18148          { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18149          { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18150          { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18151          { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18152          { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18153          { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18154          { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18155          { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18156          { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS 
}, 
18157          { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18158          { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS 
}, 
18159          { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18160          { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18161          { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18162          { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18163          { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18164          { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18165          { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18166          { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18167          { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18168          { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18169          { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18170          { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18171          { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18172          { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18173          { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18174          { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS 
}, 
18175          { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18176          { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18177          { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18178          { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18179          { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18180          { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18181          { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18182          { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS 
}, 
18183          { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18184          { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18185          { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18186          { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18187          { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18188          { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18189          { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18190          { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS 
}, 
18191          { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18192          { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18193          { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18194          { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18195          { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18196          { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS 
}, 
18197          { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18198          { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18199          { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18200          { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18201          { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18202          { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18203          { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18204          { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18205          { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18206          { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18207          { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18208          { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18209          { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18210          { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18211          { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18212          { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18213          { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18214          { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18215          { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18216          { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18217          { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18218          { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18219          { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18220          { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18221          { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18222          { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18223          { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS 
}, 
18224          { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18225          { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18226          { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18227          { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18228          { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18229          { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18230          { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18231          { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18232          { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18233          { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18234          { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18235          { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18236          { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18237          { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS 
}, 
18238          { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18239          { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18240          { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18241          { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18242          { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18243          { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18244          { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18245          { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18246          { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18247          { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18248          { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18249          { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18250          { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18251          { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18252          { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18253          { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18254          { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18255          { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18256          { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18257          { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18258          { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18259          { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18260          { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18261          { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS 
}, 
18262          { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18263          { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18264          { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18265          { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18266          { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18267          { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18268          { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18269          { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18270          { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS 
}, 
18271          { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18272          { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18273          { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18274          { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18275          { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18276          { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18277          { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18278          { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18279          { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18280          { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18281          { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18282          { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18283          { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18284          { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18285          { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18286          { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18287          { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18288          { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18289          { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS 
}, 
18290          { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18291          { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18292          { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18293          { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18294          { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18295          { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18296          { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18297          { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18298          { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18299          { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18300          { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18301          { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18302          { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18303          { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18304          { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18305          { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18306          { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18307          { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18308          { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18309          { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18310          { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18311          { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18312          { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18313          { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18314          { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18315          { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18316          { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18317          { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18318          { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18319          { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18320          { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18321          { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18322          { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18323          { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18324          { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18325          { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18326          { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS 
}, 
18327          { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18328          { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18329          { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18330          { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18331          { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18332          { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18333          { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18334          { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS 
}, 
18335          { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18336          { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18337          { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18338          { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18339          { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18340          { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18341          { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS 
}, 
18342          { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18343          { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18344          { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18345          { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18346          { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18347          { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18348          { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18349          { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18350          { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18351          { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18352          { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18353          { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18354          { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18355          { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18356          { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18357          { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18358          { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18359          { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18360          { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18361          { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18362          { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18363          { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS 
}, 
18364          { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18365          { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS 
}, 
18366          { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18367          { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18368          { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18369          { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18370          { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18371          { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18372          { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18373          { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS 
}, 
18374          { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18375          { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18376          { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18377          { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18378          { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18379          { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18380          { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18381          { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18382          { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18383          { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18384          { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18385          { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18386          { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18387          { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18388          { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18389          { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18390          { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18391          { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18392          { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18393          { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18394          { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18395          { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18396          { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18397          { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18398          { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18399          { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18400          { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18401          { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18402          { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18403          { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18404          { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18405          { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18406          { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18407          { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18408          { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18409          { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18410          { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18411          { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18412          { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18413          { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18414          { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18415          { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18416          { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18417          { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18418          { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18419          { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18420          { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18421          { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18422          { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18423          { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18424          { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18425          { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18426          { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18427          { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18428          { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18429          { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18430          { (char *)"DC_SetClippingRegionXY", (PyCFunction
) _wrap_DC_SetClippingRegionXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18431          { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18432          { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18433          { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18434          { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18435          { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18436          { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18437          { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18438          { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18439          { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18440          { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18441          { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18442          { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18443          { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18444          { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18445          { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18446          { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18447          { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18448          { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18449          { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18450          { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18451          { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18452          { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18453          { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18454          { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18455          { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18456          { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18457          { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18458          { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18459          { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18460          { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18461          { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18462          { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18463          { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18464          { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18465          { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18466          { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18467          { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18468          { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18469          { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18470          { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18471          { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18472          { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18473          { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18474          { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18475          { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18476          { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18477          { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18478          { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18479          { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18480          { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18481          { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18482          { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18483          { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18484          { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18485          { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18486          { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18487          { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18488          { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18489          { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18490          { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18491          { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18492          { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18493          { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18494          { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18495          { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18496          { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18497          { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18498          { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18499          { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS 
}, 
18500          { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18501          { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18502          { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18503          { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS 
}, 
18504          { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS 
}, 
18505          { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS 
}, 
18506          { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18507          { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18508          { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS 
}, 
18509          { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18510          { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS 
}, 
18511          { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18512          { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18513          { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18514          { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18515          { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS 
}, 
18516          { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18517          { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS 
}, 
18518          { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18519          { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS 
}, 
18520          { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18521          { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS 
}, 
18522          { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18523          { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS 
}, 
18524          { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18525          { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18526          { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18527          { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18528          { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18529          { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS 
}, 
18530          { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18531          { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS 
}, 
18532          { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18533          { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS 
}, 
18534          { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18535          { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS 
}, 
18536          { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18537          { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18538          { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18539          { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18540          { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18541          { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18542          { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18543          { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18544          { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18545          { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18546          { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18547          { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS 
}, 
18548          { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18549          { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18550          { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18551          { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18552          { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS 
}, 
18553          { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18554          { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18555          { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18556          { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18557          { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS 
}, 
18558          { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18559          { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18560          { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18561          { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18562          { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18563          { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18564          { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS 
}, 
18565          { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18566          { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18567          { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18568          { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18569          { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS 
}, 
18570          { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18571          { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18572          { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18573          { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18574          { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18575          { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18576          { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18577          { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18578          { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18579          { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18580          { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18581          { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18582          { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18583          { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
18584          { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS 
}, 
18589 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
18591 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
18592     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
18594 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
18595     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
18597 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
18598     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
18600 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) { 
18601     return (void *)((wxMemoryDC 
*)  ((wxBufferedDC 
*) x
)); 
18603 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) { 
18604     return (void *)((wxMemoryDC 
*) (wxBufferedDC 
*) ((wxBufferedPaintDC 
*) x
)); 
18606 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
18607     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
18609 static void *_p_wxPenTo_p_wxObject(void *x
) { 
18610     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxPen 
*) x
)); 
18612 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) { 
18613     return (void *)((wxObject 
*)  ((wxRegionIterator 
*) x
)); 
18615 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
18616     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
18618 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
18619     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
18621 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) { 
18622     return (void *)((wxObject 
*)  ((wxColourDatabase 
*) x
)); 
18624 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
18625     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
18627 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
18628     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
18630 static void *_p_wxIconTo_p_wxObject(void *x
) { 
18631     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxIcon 
*) x
)); 
18633 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
18634     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
18636 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
18637     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
18639 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
18640     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
18642 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
18643     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
18645 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
18646     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
18648 static void *_p_wxPenListTo_p_wxObject(void *x
) { 
18649     return (void *)((wxObject 
*)  ((wxPenList 
*) x
)); 
18651 static void *_p_wxEventTo_p_wxObject(void *x
) { 
18652     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
18654 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
18655     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
18657 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
18658     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
18660 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
18661     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
18663 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
18664     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
18666 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
18667     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
18669 static void *_p_wxDCTo_p_wxObject(void *x
) { 
18670     return (void *)((wxObject 
*)  ((wxDC 
*) x
)); 
18672 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
18673     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
18675 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
18676     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
18678 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
18679     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
18681 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
18682     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
18684 static void *_p_wxControlTo_p_wxObject(void *x
) { 
18685     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
18687 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
18688     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
18690 static void *_p_wxClientDCTo_p_wxObject(void *x
) { 
18691     return (void *)((wxObject 
*) (wxDC 
*) ((wxClientDC 
*) x
)); 
18693 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
18694     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
18696 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) { 
18697     return (void *)((wxObject 
*) (wxDC 
*) ((wxMemoryDC 
*) x
)); 
18699 static void *_p_wxRegionTo_p_wxObject(void *x
) { 
18700     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxRegion 
*) x
)); 
18702 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
18703     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
18705 static void *_p_wxWindowDCTo_p_wxObject(void *x
) { 
18706     return (void *)((wxObject 
*) (wxDC 
*) ((wxWindowDC 
*) x
)); 
18708 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) { 
18709     return (void *)((wxObject 
*)  ((wxGDIObject 
*) x
)); 
18711 static void *_p_wxEffectsTo_p_wxObject(void *x
) { 
18712     return (void *)((wxObject 
*)  ((wxEffects 
*) x
)); 
18714 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
18715     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
18717 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
18718     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
18720 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) { 
18721     return (void *)((wxObject 
*) (wxDC 
*) ((wxPostScriptDC 
*) x
)); 
18723 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
18724     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
18726 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
18727     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
18729 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
18730     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
18732 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
18733     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
18735 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
18736     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
18738 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
18739     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
18741 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
18742     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
18744 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
18745     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
18747 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
18748     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
18750 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
18751     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
18753 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
18754     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
18756 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
18757     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
18759 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
18760     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
18762 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
18763     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
18765 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
18766     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
18768 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
18769     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
18771 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
18772     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
18774 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
18775     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
18777 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
18778     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
18780 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
18781     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
18783 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
18784     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
18786 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
18787     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
18789 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
18790     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
18792 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) { 
18793     return (void *)((wxObject 
*) (wxDC 
*)(wxMemoryDC 
*)(wxBufferedDC 
*) ((wxBufferedPaintDC 
*) x
)); 
18795 static void *_p_wxPaintDCTo_p_wxObject(void *x
) { 
18796     return (void *)((wxObject 
*) (wxDC 
*) ((wxPaintDC 
*) x
)); 
18798 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) { 
18799     return (void *)((wxObject 
*) (wxDC 
*) ((wxPrinterDC 
*) x
)); 
18801 static void *_p_wxScreenDCTo_p_wxObject(void *x
) { 
18802     return (void *)((wxObject 
*) (wxDC 
*) ((wxScreenDC 
*) x
)); 
18804 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
18805     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
18807 static void *_p_wxImageTo_p_wxObject(void *x
) { 
18808     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
18810 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
18811     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
18813 static void *_p_wxPaletteTo_p_wxObject(void *x
) { 
18814     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxPalette 
*) x
)); 
18816 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) { 
18817     return (void *)((wxObject 
*) (wxDC 
*)(wxMemoryDC 
*) ((wxBufferedDC 
*) x
)); 
18819 static void *_p_wxImageListTo_p_wxObject(void *x
) { 
18820     return (void *)((wxObject 
*)  ((wxImageList 
*) x
)); 
18822 static void *_p_wxCursorTo_p_wxObject(void *x
) { 
18823     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxCursor 
*) x
)); 
18825 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) { 
18826     return (void *)((wxObject 
*)  ((wxEncodingConverter 
*) x
)); 
18828 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) { 
18829     return (void *)((wxObject 
*) (wxDC 
*) ((wxMirrorDC 
*) x
)); 
18831 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
18832     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
18834 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
18835     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
18837 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
18838     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
18840 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
18841     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
18843 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
18844     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
18846 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
18847     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
18849 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) { 
18850     return (void *)((wxObject 
*) (wxDC 
*) ((wxMetaFileDC 
*) x
)); 
18852 static void *_p_wxBrushListTo_p_wxObject(void *x
) { 
18853     return (void *)((wxObject 
*)  ((wxBrushList 
*) x
)); 
18855 static void *_p_wxPyPenTo_p_wxObject(void *x
) { 
18856     return (void *)((wxObject 
*) (wxGDIObject 
*)(wxPen 
*) ((wxPyPen 
*) x
)); 
18858 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
18859     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
18861 static void *_p_wxBitmapTo_p_wxObject(void *x
) { 
18862     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxBitmap 
*) x
)); 
18864 static void *_p_wxMaskTo_p_wxObject(void *x
) { 
18865     return (void *)((wxObject 
*)  ((wxMask 
*) x
)); 
18867 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
18868     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
18870 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
18871     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
18873 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
18874     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
18876 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
18877     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
18879 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
18880     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
18882 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
18883     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
18885 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
18886     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
18888 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
18889     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
18891 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
18892     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
18894 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
18895     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
18897 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
18898     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
18900 static void *_p_wxFontTo_p_wxObject(void *x
) { 
18901     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxFont 
*) x
)); 
18903 static void *_p_wxBrushTo_p_wxObject(void *x
) { 
18904     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxBrush 
*) x
)); 
18906 static void *_p_wxMetaFileTo_p_wxObject(void *x
) { 
18907     return (void *)((wxObject 
*)  ((wxMetaFile 
*) x
)); 
18909 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
18910     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
18912 static void *_p_wxColourTo_p_wxObject(void *x
) { 
18913     return (void *)((wxObject 
*)  ((wxColour 
*) x
)); 
18915 static void *_p_wxFontListTo_p_wxObject(void *x
) { 
18916     return (void *)((wxObject 
*)  ((wxFontList 
*) x
)); 
18918 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
18919     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
18921 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
18922     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
18924 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) { 
18925     return (void *)((wxBufferedDC 
*)  ((wxBufferedPaintDC 
*) x
)); 
18927 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) { 
18928     return (void *)((wxDC 
*) (wxMemoryDC 
*) ((wxBufferedDC 
*) x
)); 
18930 static void *_p_wxScreenDCTo_p_wxDC(void *x
) { 
18931     return (void *)((wxDC 
*)  ((wxScreenDC 
*) x
)); 
18933 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) { 
18934     return (void *)((wxDC 
*)  ((wxMirrorDC 
*) x
)); 
18936 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) { 
18937     return (void *)((wxDC 
*)  ((wxMemoryDC 
*) x
)); 
18939 static void *_p_wxWindowDCTo_p_wxDC(void *x
) { 
18940     return (void *)((wxDC 
*)  ((wxWindowDC 
*) x
)); 
18942 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) { 
18943     return (void *)((wxDC 
*)  ((wxMetaFileDC 
*) x
)); 
18945 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) { 
18946     return (void *)((wxDC 
*) (wxMemoryDC 
*)(wxBufferedDC 
*) ((wxBufferedPaintDC 
*) x
)); 
18948 static void *_p_wxClientDCTo_p_wxDC(void *x
) { 
18949     return (void *)((wxDC 
*)  ((wxClientDC 
*) x
)); 
18951 static void *_p_wxPaintDCTo_p_wxDC(void *x
) { 
18952     return (void *)((wxDC 
*)  ((wxPaintDC 
*) x
)); 
18954 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) { 
18955     return (void *)((wxDC 
*)  ((wxPostScriptDC 
*) x
)); 
18957 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) { 
18958     return (void *)((wxDC 
*)  ((wxPrinterDC 
*) x
)); 
18960 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) { 
18961     return (void *)((wxGDIObject 
*) (wxPen 
*) ((wxPyPen 
*) x
)); 
18963 static void *_p_wxIconTo_p_wxGDIObject(void *x
) { 
18964     return (void *)((wxGDIObject 
*)  ((wxIcon 
*) x
)); 
18966 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) { 
18967     return (void *)((wxGDIObject 
*)  ((wxPalette 
*) x
)); 
18969 static void *_p_wxPenTo_p_wxGDIObject(void *x
) { 
18970     return (void *)((wxGDIObject 
*)  ((wxPen 
*) x
)); 
18972 static void *_p_wxFontTo_p_wxGDIObject(void *x
) { 
18973     return (void *)((wxGDIObject 
*)  ((wxFont 
*) x
)); 
18975 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) { 
18976     return (void *)((wxGDIObject 
*)  ((wxCursor 
*) x
)); 
18978 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) { 
18979     return (void *)((wxGDIObject 
*)  ((wxBitmap 
*) x
)); 
18981 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) { 
18982     return (void *)((wxGDIObject 
*)  ((wxRegion 
*) x
)); 
18984 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) { 
18985     return (void *)((wxGDIObject 
*)  ((wxBrush 
*) x
)); 
18987 static void *_p_wxPyPenTo_p_wxPen(void *x
) { 
18988     return (void *)((wxPen 
*)  ((wxPyPen 
*) x
)); 
18990 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}}; 
18991 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}}; 
18992 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}}; 
18993 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}}; 
18994 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}}; 
18995 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}}; 
18996 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}}; 
18997 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}}; 
18998 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}}; 
18999 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}}; 
19000 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}}; 
19001 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}}; 
19002 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}}; 
19003 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}}; 
19004 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}}; 
19005 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}}; 
19006 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}}; 
19007 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}}; 
19008 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}}; 
19009 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}}; 
19010 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}}; 
19011 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}}; 
19012 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_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_wxPCXHandler", _p_wxPCXHandlerTo_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_wxPyPen", _p_wxPyPenTo_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}}; 
19013 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}}; 
19014 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}}; 
19015 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}}; 
19016 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}}; 
19017 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}}; 
19018 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}}; 
19019 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}}; 
19020 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}}; 
19021 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}}; 
19022 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}}; 
19023 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}}; 
19024 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}}; 
19025 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}}; 
19026 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_wxPyPen", _p_wxPyPenTo_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}}; 
19027 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}}; 
19028 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}}; 
19029 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}}; 
19030 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}}; 
19031 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}}; 
19032 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}}; 
19033 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}}; 
19034 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}}; 
19035 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}}; 
19036 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0, 0, 0, 0},{"_p_wxPyPen", _p_wxPyPenTo_p_wxPen
, 0, 0, 0, 0, 0},{"_p_wxPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
19037 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}}; 
19038 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}}; 
19039 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}}; 
19040 static swig_type_info _swigt__p_wxPyPen
[] = {{"_p_wxPyPen", 0, "wxPyPen *", 0, 0, 0, 0},{"_p_wxPyPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
19041 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}}; 
19042 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}}; 
19043 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}}; 
19044 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}}; 
19045 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}}; 
19047 static swig_type_info 
*swig_types_initial
[] = { 
19048 _swigt__p_wxPostScriptDC
,  
19050 _swigt__p_wxColour
,  
19052 _swigt__p_wxMirrorDC
,  
19054 _swigt__p_wxPyFontEnumerator
,  
19056 _swigt__p_wxIconLocation
,  
19058 _swigt__p_wxMetaFileDC
,  
19061 _swigt__p_wxWindow
,  
19064 _swigt__p_wxMemoryDC
,  
19065 _swigt__p_wxFontMapper
,  
19066 _swigt__p_wxEffects
,  
19067 _swigt__p_wxNativeEncodingInfo
,  
19068 _swigt__p_wxPalette
,  
19069 _swigt__p_wxBitmap
,  
19070 _swigt__p_wxObject
,  
19071 _swigt__p_wxRegionIterator
,  
19073 _swigt__p_wxString
,  
19074 _swigt__p_wxPrinterDC
,  
19075 _swigt__p_wxIconBundle
,  
19078 _swigt__p_wxScreenDC
,  
19079 _swigt__p_wxCursor
,  
19080 _swigt__p_wxClientDC
,  
19081 _swigt__p_wxBufferedDC
,  
19082 _swigt__p_wxImageList
,  
19083 _swigt__p_unsigned_char
,  
19084 _swigt__p_wxGDIObject
,  
19086 _swigt__p_wxLocale
,  
19087 _swigt__p_wxRegion
,  
19088 _swigt__p_wxLanguageInfo
,  
19089 _swigt__p_wxConfigBase
,  
19090 _swigt__p_wxWindowDC
,  
19091 _swigt__p_wxPrintData
,  
19092 _swigt__p_wxBrushList
,  
19093 _swigt__p_wxFontList
,  
19095 _swigt__p_wxBufferedPaintDC
,  
19096 _swigt__p_wxPaintDC
,  
19097 _swigt__p_wxPenList
,  
19100 _swigt__p_wxMetaFile
,  
19101 _swigt__p_wxNativeFontInfo
,  
19102 _swigt__p_wxEncodingConverter
,  
19103 _swigt__p_wxColourDatabase
,  
19108 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
19110 static swig_const_info swig_const_table
[] = { 
19120 SWIGEXPORT(void) SWIG_init(void) { 
19121     static PyObject 
*SWIG_globals 
= 0;  
19122     static int       typeinit 
= 0; 
19125     if (!SWIG_globals
) SWIG_globals 
= SWIG_newvarlink(); 
19126     m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
19127     d 
= PyModule_GetDict(m
); 
19130         for (i 
= 0; swig_types_initial
[i
]; i
++) { 
19131             swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]); 
19135     SWIG_InstallConstants(d
,swig_const_table
); 
19137     PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
)); 
19138     PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
)); 
19139     PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
)); 
19140     PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
)); 
19141     PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
)); 
19142     PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
)); 
19143     PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
)); 
19144     PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
)); 
19145     PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
)); 
19146     PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
)); 
19147     PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
)); 
19148     PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
)); 
19149     PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
)); 
19150     PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
)); 
19151     PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
)); 
19152     PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
)); 
19153     PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
)); 
19154     PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
)); 
19155     PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
)); 
19156     PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
)); 
19157     PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
)); 
19158     PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
)); 
19159     PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
)); 
19160     PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
)); 
19161     PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
)); 
19162     PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
)); 
19163     PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
)); 
19164     PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
)); 
19165     PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
)); 
19166     PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
)); 
19167     PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
)); 
19168     PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
)); 
19169     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
)); 
19170     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
)); 
19171     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
)); 
19172     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
)); 
19173     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
)); 
19174     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
)); 
19175     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
)); 
19176     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
)); 
19177     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
)); 
19178     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
)); 
19179     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
)); 
19180     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
)); 
19181     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
)); 
19182     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
)); 
19183     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
)); 
19184     PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
)); 
19185     PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
)); 
19186     PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
)); 
19187     PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
)); 
19188     PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
)); 
19189     PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
)); 
19190     PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
)); 
19191     PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
)); 
19192     PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
)); 
19193     PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
)); 
19194     PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
)); 
19195     PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
)); 
19196     PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
)); 
19197     PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
)); 
19198     PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
)); 
19199     PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
)); 
19200     PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
)); 
19201     PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
)); 
19202     PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
)); 
19203     PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
)); 
19204     PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
)); 
19205     PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
)); 
19206     PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
)); 
19207     PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
)); 
19208     PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
)); 
19209     PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
)); 
19210     PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
)); 
19211     PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
)); 
19212     PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
)); 
19213     PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
)); 
19214     PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
)); 
19215     PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
)); 
19216     PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
)); 
19217     PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
)); 
19218     PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
)); 
19219     PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
)); 
19220     PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
)); 
19221     PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
)); 
19222     PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
)); 
19223     PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
)); 
19224     PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
)); 
19225     PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
)); 
19226     PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
)); 
19227     PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
)); 
19228     PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
)); 
19229     PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
)); 
19230     PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
)); 
19231     PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
)); 
19232     PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
)); 
19233     PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
)); 
19234     PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
)); 
19235     PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
)); 
19236     PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
)); 
19237     PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
)); 
19238     PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
)); 
19239     PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
)); 
19240     PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
)); 
19241     PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
)); 
19242     PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
)); 
19243     PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
)); 
19244     PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
)); 
19245     PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
)); 
19246     PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
)); 
19247     PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
)); 
19248     PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
)); 
19249     PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
)); 
19250     PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
)); 
19251     PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
)); 
19252     PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
)); 
19253     PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
)); 
19254     PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
)); 
19255     PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
)); 
19256     PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
)); 
19257     PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
)); 
19258     PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
)); 
19259     PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
)); 
19260     PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
)); 
19261     PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
)); 
19262     PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
)); 
19264     wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator"); 
19266     PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
)); 
19267     PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
)); 
19268     PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
)); 
19269     PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
)); 
19270     PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
)); 
19271     PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
)); 
19272     PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
)); 
19273     PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
)); 
19274     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
)); 
19275     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
)); 
19276     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
)); 
19277     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
)); 
19278     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
)); 
19279     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
)); 
19280     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
)); 
19281     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
)); 
19282     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
)); 
19283     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
)); 
19284     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
)); 
19285     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
)); 
19286     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
)); 
19287     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
)); 
19288     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
)); 
19289     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
)); 
19290     PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
)); 
19291     PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
)); 
19292     PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
)); 
19293     PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
)); 
19294     PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
)); 
19295     PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
)); 
19296     PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
)); 
19297     PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
)); 
19298     PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
)); 
19299     PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
)); 
19300     PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
)); 
19301     PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
)); 
19302     PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
)); 
19303     PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
)); 
19304     PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
)); 
19305     PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
)); 
19306     PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
)); 
19307     PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
)); 
19308     PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
)); 
19309     PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
)); 
19310     PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
)); 
19311     PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
)); 
19312     PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
)); 
19313     PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
)); 
19314     PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
)); 
19315     PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
)); 
19316     PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
)); 
19317     PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
)); 
19318     PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
)); 
19319     PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
)); 
19320     PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
)); 
19321     PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
)); 
19322     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
)); 
19323     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
)); 
19324     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
)); 
19325     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
)); 
19326     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
)); 
19327     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
)); 
19328     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
)); 
19329     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
)); 
19330     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
)); 
19331     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
)); 
19332     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
)); 
19333     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
)); 
19334     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
)); 
19335     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)); 
19336     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
)); 
19337     PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
)); 
19338     PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
)); 
19339     PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
)); 
19340     PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
)); 
19341     PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
)); 
19342     PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
)); 
19343     PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
)); 
19344     PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
)); 
19345     PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
)); 
19346     PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
)); 
19347     PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
)); 
19348     PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
)); 
19349     PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
)); 
19350     PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
)); 
19351     PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
)); 
19352     PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
)); 
19353     PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
)); 
19354     PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
)); 
19355     PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
)); 
19356     PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
)); 
19357     PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
)); 
19358     PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
)); 
19359     PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
)); 
19360     PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
)); 
19361     PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
)); 
19362     PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
)); 
19363     PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
)); 
19364     PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
)); 
19365     PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
)); 
19366     PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
)); 
19367     PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
)); 
19368     PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
)); 
19369     PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
)); 
19370     PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
)); 
19371     PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
)); 
19372     PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
)); 
19373     PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
)); 
19374     PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
)); 
19375     PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
)); 
19376     PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
)); 
19377     PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
)); 
19378     PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
)); 
19379     PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
)); 
19380     PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
)); 
19381     PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
)); 
19382     PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
)); 
19383     PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
)); 
19384     PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
)); 
19385     PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
)); 
19386     PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
)); 
19387     PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
)); 
19388     PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
)); 
19389     PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
)); 
19390     PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
)); 
19391     PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
)); 
19392     PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
)); 
19393     PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
)); 
19394     PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
)); 
19395     PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
)); 
19396     PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
)); 
19397     PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
)); 
19398     PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)); 
19399     PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
)); 
19400     PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
)); 
19401     PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
)); 
19402     PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
)); 
19403     PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
)); 
19404     PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
)); 
19405     PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
)); 
19406     PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
)); 
19407     PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
)); 
19408     PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
)); 
19409     PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
)); 
19410     PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
)); 
19411     PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
)); 
19412     PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
)); 
19413     PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
)); 
19414     PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
)); 
19415     PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
)); 
19416     PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
)); 
19417     PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
)); 
19418     PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
)); 
19419     PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
)); 
19420     PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
)); 
19421     PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
)); 
19422     PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
)); 
19423     PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
)); 
19424     PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
)); 
19425     PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
)); 
19426     PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
)); 
19427     PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
)); 
19428     PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
)); 
19429     PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
)); 
19430     PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
)); 
19431     PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
)); 
19432     PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
)); 
19433     PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
)); 
19434     PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
)); 
19435     PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
)); 
19436     PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
)); 
19437     PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
)); 
19438     PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
)); 
19439     PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
)); 
19440     PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
)); 
19441     PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
)); 
19442     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
)); 
19443     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
)); 
19444     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
)); 
19445     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
)); 
19446     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
)); 
19447     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)); 
19448     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
)); 
19449     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
)); 
19450     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
)); 
19451     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
)); 
19452     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
)); 
19453     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
)); 
19454     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
)); 
19455     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
)); 
19456     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
)); 
19457     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
)); 
19458     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
)); 
19459     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
)); 
19460     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
)); 
19461     PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
)); 
19462     PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
)); 
19463     PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
)); 
19464     PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
)); 
19465     PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
)); 
19466     PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
)); 
19467     PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
)); 
19468     PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
)); 
19469     PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
)); 
19470     PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
)); 
19471     PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
)); 
19472     PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
)); 
19473     PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
)); 
19474     PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
)); 
19475     PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
)); 
19476     PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
)); 
19477     PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
)); 
19478     PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
)); 
19479     PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
)); 
19480     PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
)); 
19481     PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
)); 
19482     PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
)); 
19483     PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
)); 
19484     PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
)); 
19485     PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
)); 
19486     PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
)); 
19487     PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
)); 
19488     PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
)); 
19489     PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
)); 
19490     PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
)); 
19491     PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
)); 
19492     PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
)); 
19493     PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
)); 
19494     PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
)); 
19495     PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
)); 
19496     PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
)); 
19497     PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
)); 
19498     PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
)); 
19499     PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
)); 
19500     PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
)); 
19501     PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
)); 
19502     PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
)); 
19503     PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
)); 
19504     PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
)); 
19505     PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
)); 
19506     PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
)); 
19507     PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
)); 
19508     PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
)); 
19509     PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
)); 
19510     PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
)); 
19511     PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
)); 
19512     PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
)); 
19513     PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
)); 
19514     PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
)); 
19515     PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
)); 
19516     PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
)); 
19517     PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
)); 
19518     PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
)); 
19519     PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
); 
19520     SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
); 
19521     SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
); 
19522     SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
); 
19523     SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
); 
19524     SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
); 
19525     SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
); 
19526     SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
); 
19527     SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
); 
19528     SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
); 
19529     SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
); 
19530     SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
); 
19531     SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
); 
19532     SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
); 
19533     SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
); 
19534     SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
); 
19535     SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
); 
19536     SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
); 
19537     SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
); 
19538     SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
); 
19539     SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
); 
19540     SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
); 
19541     SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
); 
19542     SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
); 
19543     SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
); 
19544     SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
); 
19545     SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
); 
19546     SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
); 
19547     SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
); 
19548     SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
); 
19549     SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
); 
19550     SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
); 
19551     SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
); 
19552     SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
); 
19553     SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
); 
19554     SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
); 
19555     SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
); 
19556     SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
); 
19557     SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
); 
19558     SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
); 
19559     SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
); 
19560     SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
); 
19561     SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
); 
19562     SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
); 
19563     SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
); 
19564     SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
); 
19565     SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
); 
19567     // Work around a chicken/egg problem in drawlist.cpp 
19568     wxPyDrawList_SetAPIPtr();