2  * FILE : src/mac/fonts.cpp 
   4  * This file was automatically generated by : 
   5  * Simplified Wrapper and Interface Generator (SWIG) 
   6  * Version 1.1 (Build 883) 
   8  * Portions Copyright (c) 1995-1998 
   9  * The University of Utah and The Regents of the University of California. 
  10  * Permission is granted to distribute this file in any manner provided 
  11  * this notice remains intact. 
  13  * Do not make changes to this file--changes will be lost! 
  19 /* Implementation : PYTHON */ 
  24 /* Definitions for Windows/Unix exporting */ 
  25 #if defined(__WIN32__) 
  26 #   if defined(_MSC_VER) 
  27 #       define SWIGEXPORT(a) __declspec(dllexport) a 
  29 #       if defined(__BORLANDC__) 
  30 #           define SWIGEXPORT(a) a _export 
  32 #           define SWIGEXPORT(a) a 
  36 #   define SWIGEXPORT(a) a 
  45 extern void SWIG_MakePtr(char *, void *, char *); 
  46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); 
  47 extern char *SWIG_GetPtr(char *, void **, char *); 
  48 extern char *SWIG_GetPtrObj(PyObject 
*, void **, char *); 
  49 extern void SWIG_addvarlink(PyObject 
*, char *, PyObject 
*(*)(void), int (*)(PyObject 
*)); 
  50 extern PyObject 
*SWIG_newvarlink(void); 
  54 #define SWIG_init    initfontsc 
  56 #define SWIG_name    "fontsc" 
  59 #include <wx/fontmap.h> 
  60 #include <wx/fontenc.h> 
  61 #include <wx/fontutil.h> 
  62 #include <wx/fontenum.h> 
  64 #include <wx/encconv.h> 
  67 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) { 
  73     } else if (target 
== Py_None
) { 
  77         if (!PyTuple_Check(target
)) { 
  79             target 
= PyTuple_New(1); 
  80             PyTuple_SetItem(target
, 0, o2
); 
  83         PyTuple_SetItem(o3
, 0, o
); 
  86         target 
= PySequence_Concat(o2
, o3
); 
  93     // Put some wx default wxChar* values into wxStrings. 
  94     static const wxString 
wxPyEmptyString(wxT("")); 
  96 class wxPyFontEnumerator 
: public wxFontEnumerator 
{ 
  98     wxPyFontEnumerator() {} 
  99     ~wxPyFontEnumerator() {} 
 101     DEC_PYCALLBACK_BOOL_STRING(OnFacename
); 
 102     DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
); 
 107 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
); 
 108 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
); 
 113 static PyObject 
*_wrap_wxGetLocale(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 114     PyObject 
* _resultobj
; 
 116     char *_kwnames
[] = {  NULL 
}; 
 120     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocale",_kwnames
))  
 123     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 124     _result 
= (wxLocale 
*)wxGetLocale(); 
 126     wxPyEndAllowThreads(__tstate
); 
 127     if (PyErr_Occurred()) return NULL
; 
 129         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLocale_p"); 
 130         _resultobj 
= Py_BuildValue("s",_ptemp
); 
 133         _resultobj 
= Py_None
; 
 138 static PyObject 
*_wrap_wxGetTranslation(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 139     PyObject 
* _resultobj
; 
 142     PyObject 
* _obj0 
= 0; 
 143     char *_kwnames
[] = { "sz", NULL 
}; 
 146     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetTranslation",_kwnames
,&_obj0
))  
 149     _arg0 
= wxString_in_helper(_obj0
); 
 154     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 155     _result 
= new wxString (wxGetTranslation(*_arg0
)); 
 157     wxPyEndAllowThreads(__tstate
); 
 158     if (PyErr_Occurred()) return NULL
; 
 161     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
 163     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 176 #define new_wxNativeFontInfo() (new wxNativeFontInfo()) 
 177 static PyObject 
*_wrap_new_wxNativeFontInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 178     PyObject 
* _resultobj
; 
 179     wxNativeFontInfo 
* _result
; 
 180     char *_kwnames
[] = {  NULL 
}; 
 184     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNativeFontInfo",_kwnames
))  
 187     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 188     _result 
= (wxNativeFontInfo 
*)new_wxNativeFontInfo(); 
 190     wxPyEndAllowThreads(__tstate
); 
 191     if (PyErr_Occurred()) return NULL
; 
 193         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p"); 
 194         _resultobj 
= Py_BuildValue("s",_ptemp
); 
 197         _resultobj 
= Py_None
; 
 202 #define wxNativeFontInfo_Init(_swigobj)  (_swigobj->Init()) 
 203 static PyObject 
*_wrap_wxNativeFontInfo_Init(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 204     PyObject 
* _resultobj
; 
 205     wxNativeFontInfo 
* _arg0
; 
 206     PyObject 
* _argo0 
= 0; 
 207     char *_kwnames
[] = { "self", NULL 
}; 
 210     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_Init",_kwnames
,&_argo0
))  
 213         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 214         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 215             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_Init. Expected _wxNativeFontInfo_p."); 
 220     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 221     wxNativeFontInfo_Init(_arg0
); 
 223     wxPyEndAllowThreads(__tstate
); 
 224     if (PyErr_Occurred()) return NULL
; 
 225 }    Py_INCREF(Py_None
); 
 226     _resultobj 
= Py_None
; 
 230 #define wxNativeFontInfo_GetPointSize(_swigobj)  (_swigobj->GetPointSize()) 
 231 static PyObject 
*_wrap_wxNativeFontInfo_GetPointSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 232     PyObject 
* _resultobj
; 
 234     wxNativeFontInfo 
* _arg0
; 
 235     PyObject 
* _argo0 
= 0; 
 236     char *_kwnames
[] = { "self", NULL 
}; 
 239     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetPointSize",_kwnames
,&_argo0
))  
 242         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 243         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 244             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetPointSize. Expected _wxNativeFontInfo_p."); 
 249     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 250     _result 
= (int )wxNativeFontInfo_GetPointSize(_arg0
); 
 252     wxPyEndAllowThreads(__tstate
); 
 253     if (PyErr_Occurred()) return NULL
; 
 254 }    _resultobj 
= Py_BuildValue("i",_result
); 
 258 #define wxNativeFontInfo_GetStyle(_swigobj)  (_swigobj->GetStyle()) 
 259 static PyObject 
*_wrap_wxNativeFontInfo_GetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 260     PyObject 
* _resultobj
; 
 262     wxNativeFontInfo 
* _arg0
; 
 263     PyObject 
* _argo0 
= 0; 
 264     char *_kwnames
[] = { "self", NULL 
}; 
 267     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetStyle",_kwnames
,&_argo0
))  
 270         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 271         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 272             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetStyle. Expected _wxNativeFontInfo_p."); 
 277     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 278     _result 
= (wxFontStyle 
)wxNativeFontInfo_GetStyle(_arg0
); 
 280     wxPyEndAllowThreads(__tstate
); 
 281     if (PyErr_Occurred()) return NULL
; 
 282 }    _resultobj 
= Py_BuildValue("i",_result
); 
 286 #define wxNativeFontInfo_GetWeight(_swigobj)  (_swigobj->GetWeight()) 
 287 static PyObject 
*_wrap_wxNativeFontInfo_GetWeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 288     PyObject 
* _resultobj
; 
 289     wxFontWeight  _result
; 
 290     wxNativeFontInfo 
* _arg0
; 
 291     PyObject 
* _argo0 
= 0; 
 292     char *_kwnames
[] = { "self", NULL 
}; 
 295     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetWeight",_kwnames
,&_argo0
))  
 298         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 299         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 300             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetWeight. Expected _wxNativeFontInfo_p."); 
 305     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 306     _result 
= (wxFontWeight 
)wxNativeFontInfo_GetWeight(_arg0
); 
 308     wxPyEndAllowThreads(__tstate
); 
 309     if (PyErr_Occurred()) return NULL
; 
 310 }    _resultobj 
= Py_BuildValue("i",_result
); 
 314 #define wxNativeFontInfo_GetUnderlined(_swigobj)  (_swigobj->GetUnderlined()) 
 315 static PyObject 
*_wrap_wxNativeFontInfo_GetUnderlined(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 316     PyObject 
* _resultobj
; 
 318     wxNativeFontInfo 
* _arg0
; 
 319     PyObject 
* _argo0 
= 0; 
 320     char *_kwnames
[] = { "self", NULL 
}; 
 323     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetUnderlined",_kwnames
,&_argo0
))  
 326         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 327         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 328             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetUnderlined. Expected _wxNativeFontInfo_p."); 
 333     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 334     _result 
= (bool )wxNativeFontInfo_GetUnderlined(_arg0
); 
 336     wxPyEndAllowThreads(__tstate
); 
 337     if (PyErr_Occurred()) return NULL
; 
 338 }    _resultobj 
= Py_BuildValue("i",_result
); 
 342 #define wxNativeFontInfo_GetFaceName(_swigobj)  (_swigobj->GetFaceName()) 
 343 static PyObject 
*_wrap_wxNativeFontInfo_GetFaceName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 344     PyObject 
* _resultobj
; 
 346     wxNativeFontInfo 
* _arg0
; 
 347     PyObject 
* _argo0 
= 0; 
 348     char *_kwnames
[] = { "self", NULL 
}; 
 351     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetFaceName",_kwnames
,&_argo0
))  
 354         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 355         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 356             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetFaceName. Expected _wxNativeFontInfo_p."); 
 361     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 362     _result 
= new wxString (wxNativeFontInfo_GetFaceName(_arg0
)); 
 364     wxPyEndAllowThreads(__tstate
); 
 365     if (PyErr_Occurred()) return NULL
; 
 368     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
 370     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 379 #define wxNativeFontInfo_GetFamily(_swigobj)  (_swigobj->GetFamily()) 
 380 static PyObject 
*_wrap_wxNativeFontInfo_GetFamily(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 381     PyObject 
* _resultobj
; 
 382     wxFontFamily  _result
; 
 383     wxNativeFontInfo 
* _arg0
; 
 384     PyObject 
* _argo0 
= 0; 
 385     char *_kwnames
[] = { "self", NULL 
}; 
 388     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetFamily",_kwnames
,&_argo0
))  
 391         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 392         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 393             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetFamily. Expected _wxNativeFontInfo_p."); 
 398     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 399     _result 
= (wxFontFamily 
)wxNativeFontInfo_GetFamily(_arg0
); 
 401     wxPyEndAllowThreads(__tstate
); 
 402     if (PyErr_Occurred()) return NULL
; 
 403 }    _resultobj 
= Py_BuildValue("i",_result
); 
 407 #define wxNativeFontInfo_GetEncoding(_swigobj)  (_swigobj->GetEncoding()) 
 408 static PyObject 
*_wrap_wxNativeFontInfo_GetEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 409     PyObject 
* _resultobj
; 
 410     wxFontEncoding  _result
; 
 411     wxNativeFontInfo 
* _arg0
; 
 412     PyObject 
* _argo0 
= 0; 
 413     char *_kwnames
[] = { "self", NULL 
}; 
 416     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetEncoding",_kwnames
,&_argo0
))  
 419         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 420         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 421             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetEncoding. Expected _wxNativeFontInfo_p."); 
 426     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 427     _result 
= (wxFontEncoding 
)wxNativeFontInfo_GetEncoding(_arg0
); 
 429     wxPyEndAllowThreads(__tstate
); 
 430     if (PyErr_Occurred()) return NULL
; 
 431 }    _resultobj 
= Py_BuildValue("i",_result
); 
 435 #define wxNativeFontInfo_SetPointSize(_swigobj,_swigarg0)  (_swigobj->SetPointSize(_swigarg0)) 
 436 static PyObject 
*_wrap_wxNativeFontInfo_SetPointSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 437     PyObject 
* _resultobj
; 
 438     wxNativeFontInfo 
* _arg0
; 
 440     PyObject 
* _argo0 
= 0; 
 441     char *_kwnames
[] = { "self","pointsize", NULL 
}; 
 444     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetPointSize",_kwnames
,&_argo0
,&_arg1
))  
 447         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 448         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 449             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetPointSize. Expected _wxNativeFontInfo_p."); 
 454     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 455     wxNativeFontInfo_SetPointSize(_arg0
,_arg1
); 
 457     wxPyEndAllowThreads(__tstate
); 
 458     if (PyErr_Occurred()) return NULL
; 
 459 }    Py_INCREF(Py_None
); 
 460     _resultobj 
= Py_None
; 
 464 #define wxNativeFontInfo_SetStyle(_swigobj,_swigarg0)  (_swigobj->SetStyle(_swigarg0)) 
 465 static PyObject 
*_wrap_wxNativeFontInfo_SetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 466     PyObject 
* _resultobj
; 
 467     wxNativeFontInfo 
* _arg0
; 
 469     PyObject 
* _argo0 
= 0; 
 470     char *_kwnames
[] = { "self","style", NULL 
}; 
 473     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetStyle",_kwnames
,&_argo0
,&_arg1
))  
 476         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 477         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 478             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetStyle. Expected _wxNativeFontInfo_p."); 
 483     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 484     wxNativeFontInfo_SetStyle(_arg0
,_arg1
); 
 486     wxPyEndAllowThreads(__tstate
); 
 487     if (PyErr_Occurred()) return NULL
; 
 488 }    Py_INCREF(Py_None
); 
 489     _resultobj 
= Py_None
; 
 493 #define wxNativeFontInfo_SetWeight(_swigobj,_swigarg0)  (_swigobj->SetWeight(_swigarg0)) 
 494 static PyObject 
*_wrap_wxNativeFontInfo_SetWeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 495     PyObject 
* _resultobj
; 
 496     wxNativeFontInfo 
* _arg0
; 
 498     PyObject 
* _argo0 
= 0; 
 499     char *_kwnames
[] = { "self","weight", NULL 
}; 
 502     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetWeight",_kwnames
,&_argo0
,&_arg1
))  
 505         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 506         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 507             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetWeight. Expected _wxNativeFontInfo_p."); 
 512     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 513     wxNativeFontInfo_SetWeight(_arg0
,_arg1
); 
 515     wxPyEndAllowThreads(__tstate
); 
 516     if (PyErr_Occurred()) return NULL
; 
 517 }    Py_INCREF(Py_None
); 
 518     _resultobj 
= Py_None
; 
 522 #define wxNativeFontInfo_SetUnderlined(_swigobj,_swigarg0)  (_swigobj->SetUnderlined(_swigarg0)) 
 523 static PyObject 
*_wrap_wxNativeFontInfo_SetUnderlined(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 524     PyObject 
* _resultobj
; 
 525     wxNativeFontInfo 
* _arg0
; 
 527     PyObject 
* _argo0 
= 0; 
 529     char *_kwnames
[] = { "self","underlined", NULL 
}; 
 532     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))  
 535         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 536         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 537             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetUnderlined. Expected _wxNativeFontInfo_p."); 
 541     _arg1 
= (bool ) tempbool1
; 
 543     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 544     wxNativeFontInfo_SetUnderlined(_arg0
,_arg1
); 
 546     wxPyEndAllowThreads(__tstate
); 
 547     if (PyErr_Occurred()) return NULL
; 
 548 }    Py_INCREF(Py_None
); 
 549     _resultobj 
= Py_None
; 
 553 #define wxNativeFontInfo_SetFaceName(_swigobj,_swigarg0)  (_swigobj->SetFaceName(_swigarg0)) 
 554 static PyObject 
*_wrap_wxNativeFontInfo_SetFaceName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 555     PyObject 
* _resultobj
; 
 556     wxNativeFontInfo 
* _arg0
; 
 558     PyObject 
* _argo0 
= 0; 
 559     PyObject 
* _obj1 
= 0; 
 560     char *_kwnames
[] = { "self","facename", NULL 
}; 
 563     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_SetFaceName",_kwnames
,&_argo0
,&_obj1
))  
 566         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 567         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 568             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetFaceName. Expected _wxNativeFontInfo_p."); 
 573     _arg1 
= wxString_in_helper(_obj1
); 
 578     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 579     wxNativeFontInfo_SetFaceName(_arg0
,*_arg1
); 
 581     wxPyEndAllowThreads(__tstate
); 
 582     if (PyErr_Occurred()) return NULL
; 
 583 }    Py_INCREF(Py_None
); 
 584     _resultobj 
= Py_None
; 
 592 #define wxNativeFontInfo_SetFamily(_swigobj,_swigarg0)  (_swigobj->SetFamily(_swigarg0)) 
 593 static PyObject 
*_wrap_wxNativeFontInfo_SetFamily(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 594     PyObject 
* _resultobj
; 
 595     wxNativeFontInfo 
* _arg0
; 
 597     PyObject 
* _argo0 
= 0; 
 598     char *_kwnames
[] = { "self","family", NULL 
}; 
 601     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetFamily",_kwnames
,&_argo0
,&_arg1
))  
 604         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 605         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 606             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetFamily. Expected _wxNativeFontInfo_p."); 
 611     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 612     wxNativeFontInfo_SetFamily(_arg0
,_arg1
); 
 614     wxPyEndAllowThreads(__tstate
); 
 615     if (PyErr_Occurred()) return NULL
; 
 616 }    Py_INCREF(Py_None
); 
 617     _resultobj 
= Py_None
; 
 621 #define wxNativeFontInfo_SetEncoding(_swigobj,_swigarg0)  (_swigobj->SetEncoding(_swigarg0)) 
 622 static PyObject 
*_wrap_wxNativeFontInfo_SetEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 623     PyObject 
* _resultobj
; 
 624     wxNativeFontInfo 
* _arg0
; 
 625     wxFontEncoding  _arg1
; 
 626     PyObject 
* _argo0 
= 0; 
 627     char *_kwnames
[] = { "self","encoding", NULL 
}; 
 630     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetEncoding",_kwnames
,&_argo0
,&_arg1
))  
 633         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 634         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 635             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetEncoding. Expected _wxNativeFontInfo_p."); 
 640     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 641     wxNativeFontInfo_SetEncoding(_arg0
,_arg1
); 
 643     wxPyEndAllowThreads(__tstate
); 
 644     if (PyErr_Occurred()) return NULL
; 
 645 }    Py_INCREF(Py_None
); 
 646     _resultobj 
= Py_None
; 
 650 #define wxNativeFontInfo_FromString(_swigobj,_swigarg0)  (_swigobj->FromString(_swigarg0)) 
 651 static PyObject 
*_wrap_wxNativeFontInfo_FromString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 652     PyObject 
* _resultobj
; 
 654     wxNativeFontInfo 
* _arg0
; 
 656     PyObject 
* _argo0 
= 0; 
 657     PyObject 
* _obj1 
= 0; 
 658     char *_kwnames
[] = { "self","s", NULL 
}; 
 661     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromString",_kwnames
,&_argo0
,&_obj1
))  
 664         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 665         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 666             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromString. Expected _wxNativeFontInfo_p."); 
 671     _arg1 
= wxString_in_helper(_obj1
); 
 676     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 677     _result 
= (bool )wxNativeFontInfo_FromString(_arg0
,*_arg1
); 
 679     wxPyEndAllowThreads(__tstate
); 
 680     if (PyErr_Occurred()) return NULL
; 
 681 }    _resultobj 
= Py_BuildValue("i",_result
); 
 689 #define wxNativeFontInfo_ToString(_swigobj)  (_swigobj->ToString()) 
 690 static PyObject 
*_wrap_wxNativeFontInfo_ToString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 691     PyObject 
* _resultobj
; 
 693     wxNativeFontInfo 
* _arg0
; 
 694     PyObject 
* _argo0 
= 0; 
 695     char *_kwnames
[] = { "self", NULL 
}; 
 698     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToString",_kwnames
,&_argo0
))  
 701         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 702         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 703             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToString. Expected _wxNativeFontInfo_p."); 
 708     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 709     _result 
= new wxString (wxNativeFontInfo_ToString(_arg0
)); 
 711     wxPyEndAllowThreads(__tstate
); 
 712     if (PyErr_Occurred()) return NULL
; 
 715     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
 717     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 726 static wxString  
wxNativeFontInfo___str__(wxNativeFontInfo 
*self
) { 
 727             return self
->ToString(); 
 729 static PyObject 
*_wrap_wxNativeFontInfo___str__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 730     PyObject 
* _resultobj
; 
 732     wxNativeFontInfo 
* _arg0
; 
 733     PyObject 
* _argo0 
= 0; 
 734     char *_kwnames
[] = { "self", NULL 
}; 
 737     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo___str__",_kwnames
,&_argo0
))  
 740         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 741         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 742             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo___str__. Expected _wxNativeFontInfo_p."); 
 747     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 748     _result 
= new wxString (wxNativeFontInfo___str__(_arg0
)); 
 750     wxPyEndAllowThreads(__tstate
); 
 751     if (PyErr_Occurred()) return NULL
; 
 754     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
 756     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 765 #define wxNativeFontInfo_FromUserString(_swigobj,_swigarg0)  (_swigobj->FromUserString(_swigarg0)) 
 766 static PyObject 
*_wrap_wxNativeFontInfo_FromUserString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 767     PyObject 
* _resultobj
; 
 769     wxNativeFontInfo 
* _arg0
; 
 771     PyObject 
* _argo0 
= 0; 
 772     PyObject 
* _obj1 
= 0; 
 773     char *_kwnames
[] = { "self","s", NULL 
}; 
 776     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromUserString",_kwnames
,&_argo0
,&_obj1
))  
 779         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 780         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 781             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromUserString. Expected _wxNativeFontInfo_p."); 
 786     _arg1 
= wxString_in_helper(_obj1
); 
 791     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 792     _result 
= (bool )wxNativeFontInfo_FromUserString(_arg0
,*_arg1
); 
 794     wxPyEndAllowThreads(__tstate
); 
 795     if (PyErr_Occurred()) return NULL
; 
 796 }    _resultobj 
= Py_BuildValue("i",_result
); 
 804 #define wxNativeFontInfo_ToUserString(_swigobj)  (_swigobj->ToUserString()) 
 805 static PyObject 
*_wrap_wxNativeFontInfo_ToUserString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 806     PyObject 
* _resultobj
; 
 808     wxNativeFontInfo 
* _arg0
; 
 809     PyObject 
* _argo0 
= 0; 
 810     char *_kwnames
[] = { "self", NULL 
}; 
 813     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToUserString",_kwnames
,&_argo0
))  
 816         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 817         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 818             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToUserString. Expected _wxNativeFontInfo_p."); 
 823     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 824     _result 
= new wxString (wxNativeFontInfo_ToUserString(_arg0
)); 
 826     wxPyEndAllowThreads(__tstate
); 
 827     if (PyErr_Occurred()) return NULL
; 
 830     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
 832     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 841 #define new_wxFontMapper() (new wxFontMapper()) 
 842 static PyObject 
*_wrap_new_wxFontMapper(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 843     PyObject 
* _resultobj
; 
 844     wxFontMapper 
* _result
; 
 845     char *_kwnames
[] = {  NULL 
}; 
 849     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontMapper",_kwnames
))  
 852     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 853     _result 
= (wxFontMapper 
*)new_wxFontMapper(); 
 855     wxPyEndAllowThreads(__tstate
); 
 856     if (PyErr_Occurred()) return NULL
; 
 858         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontMapper_p"); 
 859         _resultobj 
= Py_BuildValue("s",_ptemp
); 
 862         _resultobj 
= Py_None
; 
 867 #define delete_wxFontMapper(_swigobj) (delete _swigobj) 
 868 static PyObject 
*_wrap_delete_wxFontMapper(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 869     PyObject 
* _resultobj
; 
 870     wxFontMapper 
* _arg0
; 
 871     PyObject 
* _argo0 
= 0; 
 872     char *_kwnames
[] = { "self", NULL 
}; 
 875     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontMapper",_kwnames
,&_argo0
))  
 878         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 879         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) { 
 880             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontMapper. Expected _wxFontMapper_p."); 
 885     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 886     delete_wxFontMapper(_arg0
); 
 888     wxPyEndAllowThreads(__tstate
); 
 889     if (PyErr_Occurred()) return NULL
; 
 890 }    Py_INCREF(Py_None
); 
 891     _resultobj 
= Py_None
; 
 895 static PyObject 
*_wrap_wxFontMapper_Get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 896     PyObject 
* _resultobj
; 
 897     wxFontMapper 
* _result
; 
 898     char *_kwnames
[] = {  NULL 
}; 
 902     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFontMapper_Get",_kwnames
))  
 905     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 906     _result 
= (wxFontMapper 
*)wxFontMapper::Get(); 
 908     wxPyEndAllowThreads(__tstate
); 
 909     if (PyErr_Occurred()) return NULL
; 
 911         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontMapper_p"); 
 912         _resultobj 
= Py_BuildValue("s",_ptemp
); 
 915         _resultobj 
= Py_None
; 
 920 static PyObject 
*_wrap_wxFontMapper_Set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 921     PyObject 
* _resultobj
; 
 922     wxFontMapper 
* _result
; 
 923     wxFontMapper 
* _arg0
; 
 924     PyObject 
* _argo0 
= 0; 
 925     char *_kwnames
[] = { "mapper", NULL 
}; 
 929     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontMapper_Set",_kwnames
,&_argo0
))  
 932         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 933         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) { 
 934             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_Set. Expected _wxFontMapper_p."); 
 939     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 940     _result 
= (wxFontMapper 
*)wxFontMapper::Set(_arg0
); 
 942     wxPyEndAllowThreads(__tstate
); 
 943     if (PyErr_Occurred()) return NULL
; 
 945         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontMapper_p"); 
 946         _resultobj 
= Py_BuildValue("s",_ptemp
); 
 949         _resultobj 
= Py_None
; 
 954 static PyObject 
* wxFontMapper_GetAltForEncoding(wxFontMapper 
*self
,wxFontEncoding  encoding
,const wxString 
& facename
,bool  interactive
) { 
 955             wxFontEncoding alt_enc
; 
 956             if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
)) 
 957                 return PyInt_FromLong(alt_enc
); 
 963 static PyObject 
*_wrap_wxFontMapper_GetAltForEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 964     PyObject 
* _resultobj
; 
 966     wxFontMapper 
* _arg0
; 
 967     wxFontEncoding  _arg1
; 
 968     wxString 
* _arg2 
= (wxString 
*) &wxPyEmptyString
; 
 969     bool  _arg3 
= (bool ) TRUE
; 
 970     PyObject 
* _argo0 
= 0; 
 971     PyObject 
* _obj2 
= 0; 
 972     int tempbool3 
= (int) TRUE
; 
 973     char *_kwnames
[] = { "self","encoding","facename","interactive", NULL 
}; 
 976     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|Oi:wxFontMapper_GetAltForEncoding",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))  
 979         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 980         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) { 
 981             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_GetAltForEncoding. Expected _wxFontMapper_p."); 
 987     _arg2 
= wxString_in_helper(_obj2
); 
 991     _arg3 
= (bool ) tempbool3
; 
 993     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 994     _result 
= (PyObject 
*)wxFontMapper_GetAltForEncoding(_arg0
,_arg1
,*_arg2
,_arg3
); 
 996     wxPyEndAllowThreads(__tstate
); 
 997     if (PyErr_Occurred()) return NULL
; 
 999   _resultobj 
= _result
; 
1008 #define wxFontMapper_IsEncodingAvailable(_swigobj,_swigarg0,_swigarg1)  (_swigobj->IsEncodingAvailable(_swigarg0,_swigarg1)) 
1009 static PyObject 
*_wrap_wxFontMapper_IsEncodingAvailable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1010     PyObject 
* _resultobj
; 
1012     wxFontMapper 
* _arg0
; 
1013     wxFontEncoding  _arg1
; 
1014     wxString 
* _arg2 
= (wxString 
*) &wxPyEmptyString
; 
1015     PyObject 
* _argo0 
= 0; 
1016     PyObject 
* _obj2 
= 0; 
1017     char *_kwnames
[] = { "self","encoding","facename", NULL 
}; 
1020     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxFontMapper_IsEncodingAvailable",_kwnames
,&_argo0
,&_arg1
,&_obj2
))  
1023         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1024         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) { 
1025             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_IsEncodingAvailable. Expected _wxFontMapper_p."); 
1031     _arg2 
= wxString_in_helper(_obj2
); 
1036     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1037     _result 
= (bool )wxFontMapper_IsEncodingAvailable(_arg0
,_arg1
,*_arg2
); 
1039     wxPyEndAllowThreads(__tstate
); 
1040     if (PyErr_Occurred()) return NULL
; 
1041 }    _resultobj 
= Py_BuildValue("i",_result
); 
1049 #define wxFontMapper_CharsetToEncoding(_swigobj,_swigarg0,_swigarg1)  (_swigobj->CharsetToEncoding(_swigarg0,_swigarg1)) 
1050 static PyObject 
*_wrap_wxFontMapper_CharsetToEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1051     PyObject 
* _resultobj
; 
1052     wxFontEncoding  _result
; 
1053     wxFontMapper 
* _arg0
; 
1055     bool  _arg2 
= (bool ) TRUE
; 
1056     PyObject 
* _argo0 
= 0; 
1057     PyObject 
* _obj1 
= 0; 
1058     int tempbool2 
= (int) TRUE
; 
1059     char *_kwnames
[] = { "self","charset","interactive", NULL 
}; 
1062     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFontMapper_CharsetToEncoding",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))  
1065         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1066         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) { 
1067             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_CharsetToEncoding. Expected _wxFontMapper_p."); 
1072     _arg1 
= wxString_in_helper(_obj1
); 
1076     _arg2 
= (bool ) tempbool2
; 
1078     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1079     _result 
= (wxFontEncoding 
)wxFontMapper_CharsetToEncoding(_arg0
,*_arg1
,_arg2
); 
1081     wxPyEndAllowThreads(__tstate
); 
1082     if (PyErr_Occurred()) return NULL
; 
1083 }    _resultobj 
= Py_BuildValue("i",_result
); 
1091 static PyObject 
*_wrap_wxFontMapper_GetEncodingName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1092     PyObject 
* _resultobj
; 
1094     wxFontEncoding  _arg0
; 
1095     char *_kwnames
[] = { "encoding", NULL 
}; 
1098     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingName",_kwnames
,&_arg0
))  
1101     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1102     _result 
= new wxString (wxFontMapper::GetEncodingName(_arg0
)); 
1104     wxPyEndAllowThreads(__tstate
); 
1105     if (PyErr_Occurred()) return NULL
; 
1108     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
1110     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
1119 static PyObject 
*_wrap_wxFontMapper_GetEncodingDescription(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1120     PyObject 
* _resultobj
; 
1122     wxFontEncoding  _arg0
; 
1123     char *_kwnames
[] = { "encoding", NULL 
}; 
1126     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingDescription",_kwnames
,&_arg0
))  
1129     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1130     _result 
= new wxString (wxFontMapper::GetEncodingDescription(_arg0
)); 
1132     wxPyEndAllowThreads(__tstate
); 
1133     if (PyErr_Occurred()) return NULL
; 
1136     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
1138     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
1147 #define wxFontMapper_SetDialogParent(_swigobj,_swigarg0)  (_swigobj->SetDialogParent(_swigarg0)) 
1148 static PyObject 
*_wrap_wxFontMapper_SetDialogParent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1149     PyObject 
* _resultobj
; 
1150     wxFontMapper 
* _arg0
; 
1152     PyObject 
* _argo0 
= 0; 
1153     PyObject 
* _argo1 
= 0; 
1154     char *_kwnames
[] = { "self","parent", NULL 
}; 
1157     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogParent",_kwnames
,&_argo0
,&_argo1
))  
1160         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1161         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) { 
1162             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogParent. Expected _wxFontMapper_p."); 
1167         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
1168         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
1169             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetDialogParent. Expected _wxWindow_p."); 
1174     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1175     wxFontMapper_SetDialogParent(_arg0
,_arg1
); 
1177     wxPyEndAllowThreads(__tstate
); 
1178     if (PyErr_Occurred()) return NULL
; 
1179 }    Py_INCREF(Py_None
); 
1180     _resultobj 
= Py_None
; 
1184 #define wxFontMapper_SetDialogTitle(_swigobj,_swigarg0)  (_swigobj->SetDialogTitle(_swigarg0)) 
1185 static PyObject 
*_wrap_wxFontMapper_SetDialogTitle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1186     PyObject 
* _resultobj
; 
1187     wxFontMapper 
* _arg0
; 
1189     PyObject 
* _argo0 
= 0; 
1190     PyObject 
* _obj1 
= 0; 
1191     char *_kwnames
[] = { "self","title", NULL 
}; 
1194     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogTitle",_kwnames
,&_argo0
,&_obj1
))  
1197         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1198         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) { 
1199             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogTitle. Expected _wxFontMapper_p."); 
1204     _arg1 
= wxString_in_helper(_obj1
); 
1209     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1210     wxFontMapper_SetDialogTitle(_arg0
,*_arg1
); 
1212     wxPyEndAllowThreads(__tstate
); 
1213     if (PyErr_Occurred()) return NULL
; 
1214 }    Py_INCREF(Py_None
); 
1215     _resultobj 
= Py_None
; 
1223 #define wxFontMapper_SetConfig(_swigobj,_swigarg0)  (_swigobj->SetConfig(_swigarg0)) 
1224 static PyObject 
*_wrap_wxFontMapper_SetConfig(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1225     PyObject 
* _resultobj
; 
1226     wxFontMapper 
* _arg0
; 
1227     wxConfigBase 
* _arg1
; 
1228     PyObject 
* _argo0 
= 0; 
1229     PyObject 
* _argo1 
= 0; 
1230     char *_kwnames
[] = { "self","config", NULL 
}; 
1233     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfig",_kwnames
,&_argo0
,&_argo1
))  
1236         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1237         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) { 
1238             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfig. Expected _wxFontMapper_p."); 
1243         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
1244         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) { 
1245             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetConfig. Expected _wxConfigBase_p."); 
1250     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1251     wxFontMapper_SetConfig(_arg0
,_arg1
); 
1253     wxPyEndAllowThreads(__tstate
); 
1254     if (PyErr_Occurred()) return NULL
; 
1255 }    Py_INCREF(Py_None
); 
1256     _resultobj 
= Py_None
; 
1260 #define wxFontMapper_SetConfigPath(_swigobj,_swigarg0)  (_swigobj->SetConfigPath(_swigarg0)) 
1261 static PyObject 
*_wrap_wxFontMapper_SetConfigPath(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1262     PyObject 
* _resultobj
; 
1263     wxFontMapper 
* _arg0
; 
1265     PyObject 
* _argo0 
= 0; 
1266     PyObject 
* _obj1 
= 0; 
1267     char *_kwnames
[] = { "self","prefix", NULL 
}; 
1270     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfigPath",_kwnames
,&_argo0
,&_obj1
))  
1273         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1274         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) { 
1275             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfigPath. Expected _wxFontMapper_p."); 
1280     _arg1 
= wxString_in_helper(_obj1
); 
1285     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1286     wxFontMapper_SetConfigPath(_arg0
,*_arg1
); 
1288     wxPyEndAllowThreads(__tstate
); 
1289     if (PyErr_Occurred()) return NULL
; 
1290 }    Py_INCREF(Py_None
); 
1291     _resultobj 
= Py_None
; 
1299 static PyObject 
*_wrap_wxFontMapper_GetDefaultConfigPath(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1300     PyObject 
* _resultobj
; 
1302     char *_kwnames
[] = {  NULL 
}; 
1305     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFontMapper_GetDefaultConfigPath",_kwnames
))  
1308     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1309     _result 
= new wxString (wxFontMapper::GetDefaultConfigPath()); 
1311     wxPyEndAllowThreads(__tstate
); 
1312     if (PyErr_Occurred()) return NULL
; 
1315     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
1317     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
1326 static void *SwigwxFontTowxObject(void *ptr
) { 
1329     src 
= (wxFont 
*) ptr
; 
1330     dest 
= (wxObject 
*) src
; 
1331     return (void *) dest
; 
1334 #define new_wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) 
1335 static PyObject 
*_wrap_new_wxFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1336     PyObject 
* _resultobj
; 
1342     int  _arg4 
= (int ) FALSE
; 
1343     wxString 
* _arg5 
= (wxString 
*) &wxPyEmptyString
; 
1344     wxFontEncoding  _arg6 
= (wxFontEncoding 
) (wxFONTENCODING_DEFAULT
); 
1345     PyObject 
* _obj5 
= 0; 
1346     char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL 
}; 
1350     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|iOi:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_arg6
))  
1354     _arg5 
= wxString_in_helper(_obj5
); 
1359     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1360     _result 
= (wxFont 
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,_arg6
); 
1362     wxPyEndAllowThreads(__tstate
); 
1363     if (PyErr_Occurred()) return NULL
; 
1365         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p"); 
1366         _resultobj 
= Py_BuildValue("s",_ptemp
); 
1369         _resultobj 
= Py_None
; 
1378 #define new_wxFontFromNativeInfo(_swigarg0) (new wxFont(_swigarg0)) 
1379 static PyObject 
*_wrap_new_wxFontFromNativeInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1380     PyObject 
* _resultobj
; 
1382     wxNativeFontInfo 
* _arg0
; 
1383     PyObject 
* _argo0 
= 0; 
1384     char *_kwnames
[] = { "info", NULL 
}; 
1388     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFontFromNativeInfo",_kwnames
,&_argo0
))  
1391         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1392         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
1393             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontFromNativeInfo. Expected _wxNativeFontInfo_p."); 
1398     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1399     _result 
= (wxFont 
*)new_wxFontFromNativeInfo(*_arg0
); 
1401     wxPyEndAllowThreads(__tstate
); 
1402     if (PyErr_Occurred()) return NULL
; 
1404         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p"); 
1405         _resultobj 
= Py_BuildValue("s",_ptemp
); 
1408         _resultobj 
= Py_None
; 
1413 #define delete_wxFont(_swigobj) (delete _swigobj) 
1414 static PyObject 
*_wrap_delete_wxFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1415     PyObject 
* _resultobj
; 
1417     PyObject 
* _argo0 
= 0; 
1418     char *_kwnames
[] = { "self", NULL 
}; 
1421     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFont",_kwnames
,&_argo0
))  
1424         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1425         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1426             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFont. Expected _wxFont_p."); 
1431     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1432     delete_wxFont(_arg0
); 
1434     wxPyEndAllowThreads(__tstate
); 
1435     if (PyErr_Occurred()) return NULL
; 
1436 }    Py_INCREF(Py_None
); 
1437     _resultobj 
= Py_None
; 
1441 #define wxFont_Ok(_swigobj)  (_swigobj->Ok()) 
1442 static PyObject 
*_wrap_wxFont_Ok(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1443     PyObject 
* _resultobj
; 
1446     PyObject 
* _argo0 
= 0; 
1447     char *_kwnames
[] = { "self", NULL 
}; 
1450     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_Ok",_kwnames
,&_argo0
))  
1453         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1454         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1455             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p."); 
1460     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1461     _result 
= (bool )wxFont_Ok(_arg0
); 
1463     wxPyEndAllowThreads(__tstate
); 
1464     if (PyErr_Occurred()) return NULL
; 
1465 }    _resultobj 
= Py_BuildValue("i",_result
); 
1469 #define wxFont_GetPointSize(_swigobj)  (_swigobj->GetPointSize()) 
1470 static PyObject 
*_wrap_wxFont_GetPointSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1471     PyObject 
* _resultobj
; 
1474     PyObject 
* _argo0 
= 0; 
1475     char *_kwnames
[] = { "self", NULL 
}; 
1478     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetPointSize",_kwnames
,&_argo0
))  
1481         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1482         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1483             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p."); 
1488     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1489     _result 
= (int )wxFont_GetPointSize(_arg0
); 
1491     wxPyEndAllowThreads(__tstate
); 
1492     if (PyErr_Occurred()) return NULL
; 
1493 }    _resultobj 
= Py_BuildValue("i",_result
); 
1497 #define wxFont_GetFamily(_swigobj)  (_swigobj->GetFamily()) 
1498 static PyObject 
*_wrap_wxFont_GetFamily(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1499     PyObject 
* _resultobj
; 
1502     PyObject 
* _argo0 
= 0; 
1503     char *_kwnames
[] = { "self", NULL 
}; 
1506     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))  
1509         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1510         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1511             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p."); 
1516     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1517     _result 
= (int )wxFont_GetFamily(_arg0
); 
1519     wxPyEndAllowThreads(__tstate
); 
1520     if (PyErr_Occurred()) return NULL
; 
1521 }    _resultobj 
= Py_BuildValue("i",_result
); 
1525 #define wxFont_GetStyle(_swigobj)  (_swigobj->GetStyle()) 
1526 static PyObject 
*_wrap_wxFont_GetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1527     PyObject 
* _resultobj
; 
1530     PyObject 
* _argo0 
= 0; 
1531     char *_kwnames
[] = { "self", NULL 
}; 
1534     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyle",_kwnames
,&_argo0
))  
1537         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1538         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1539             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p."); 
1544     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1545     _result 
= (int )wxFont_GetStyle(_arg0
); 
1547     wxPyEndAllowThreads(__tstate
); 
1548     if (PyErr_Occurred()) return NULL
; 
1549 }    _resultobj 
= Py_BuildValue("i",_result
); 
1553 #define wxFont_GetWeight(_swigobj)  (_swigobj->GetWeight()) 
1554 static PyObject 
*_wrap_wxFont_GetWeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1555     PyObject 
* _resultobj
; 
1558     PyObject 
* _argo0 
= 0; 
1559     char *_kwnames
[] = { "self", NULL 
}; 
1562     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeight",_kwnames
,&_argo0
))  
1565         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1566         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1567             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p."); 
1572     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1573     _result 
= (int )wxFont_GetWeight(_arg0
); 
1575     wxPyEndAllowThreads(__tstate
); 
1576     if (PyErr_Occurred()) return NULL
; 
1577 }    _resultobj 
= Py_BuildValue("i",_result
); 
1581 #define wxFont_GetUnderlined(_swigobj)  (_swigobj->GetUnderlined()) 
1582 static PyObject 
*_wrap_wxFont_GetUnderlined(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1583     PyObject 
* _resultobj
; 
1586     PyObject 
* _argo0 
= 0; 
1587     char *_kwnames
[] = { "self", NULL 
}; 
1590     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetUnderlined",_kwnames
,&_argo0
))  
1593         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1594         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1595             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p."); 
1600     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1601     _result 
= (bool )wxFont_GetUnderlined(_arg0
); 
1603     wxPyEndAllowThreads(__tstate
); 
1604     if (PyErr_Occurred()) return NULL
; 
1605 }    _resultobj 
= Py_BuildValue("i",_result
); 
1609 #define wxFont_GetFaceName(_swigobj)  (_swigobj->GetFaceName()) 
1610 static PyObject 
*_wrap_wxFont_GetFaceName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1611     PyObject 
* _resultobj
; 
1614     PyObject 
* _argo0 
= 0; 
1615     char *_kwnames
[] = { "self", NULL 
}; 
1618     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))  
1621         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1622         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1623             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p."); 
1628     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1629     _result 
= new wxString (wxFont_GetFaceName(_arg0
)); 
1631     wxPyEndAllowThreads(__tstate
); 
1632     if (PyErr_Occurred()) return NULL
; 
1635     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
1637     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
1646 #define wxFont_GetEncoding(_swigobj)  (_swigobj->GetEncoding()) 
1647 static PyObject 
*_wrap_wxFont_GetEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1648     PyObject 
* _resultobj
; 
1649     wxFontEncoding  _result
; 
1651     PyObject 
* _argo0 
= 0; 
1652     char *_kwnames
[] = { "self", NULL 
}; 
1655     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetEncoding",_kwnames
,&_argo0
))  
1658         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1659         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1660             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p."); 
1665     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1666     _result 
= (wxFontEncoding 
)wxFont_GetEncoding(_arg0
); 
1668     wxPyEndAllowThreads(__tstate
); 
1669     if (PyErr_Occurred()) return NULL
; 
1670 }    _resultobj 
= Py_BuildValue("i",_result
); 
1674 #define wxFont_IsFixedWidth(_swigobj)  (_swigobj->IsFixedWidth()) 
1675 static PyObject 
*_wrap_wxFont_IsFixedWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1676     PyObject 
* _resultobj
; 
1679     PyObject 
* _argo0 
= 0; 
1680     char *_kwnames
[] = { "self", NULL 
}; 
1683     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_IsFixedWidth",_kwnames
,&_argo0
))  
1686         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1687         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1688             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_IsFixedWidth. Expected _wxFont_p."); 
1693     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1694     _result 
= (bool )wxFont_IsFixedWidth(_arg0
); 
1696     wxPyEndAllowThreads(__tstate
); 
1697     if (PyErr_Occurred()) return NULL
; 
1698 }    _resultobj 
= Py_BuildValue("i",_result
); 
1702 #define wxFont_GetNativeFontInfo(_swigobj)  (_swigobj->GetNativeFontInfo()) 
1703 static PyObject 
*_wrap_wxFont_GetNativeFontInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1704     PyObject 
* _resultobj
; 
1705     wxNativeFontInfo 
* _result
; 
1707     PyObject 
* _argo0 
= 0; 
1708     char *_kwnames
[] = { "self", NULL 
}; 
1712     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfo",_kwnames
,&_argo0
))  
1715         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1716         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1717             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfo. Expected _wxFont_p."); 
1722     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1723     _result 
= (wxNativeFontInfo 
*)wxFont_GetNativeFontInfo(_arg0
); 
1725     wxPyEndAllowThreads(__tstate
); 
1726     if (PyErr_Occurred()) return NULL
; 
1728         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p"); 
1729         _resultobj 
= Py_BuildValue("s",_ptemp
); 
1732         _resultobj 
= Py_None
; 
1737 #define wxFont_GetNativeFontInfoDesc(_swigobj)  (_swigobj->GetNativeFontInfoDesc()) 
1738 static PyObject 
*_wrap_wxFont_GetNativeFontInfoDesc(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1739     PyObject 
* _resultobj
; 
1742     PyObject 
* _argo0 
= 0; 
1743     char *_kwnames
[] = { "self", NULL 
}; 
1746     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoDesc",_kwnames
,&_argo0
))  
1749         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1750         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1751             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoDesc. Expected _wxFont_p."); 
1756     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1757     _result 
= new wxString (wxFont_GetNativeFontInfoDesc(_arg0
)); 
1759     wxPyEndAllowThreads(__tstate
); 
1760     if (PyErr_Occurred()) return NULL
; 
1763     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
1765     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
1774 #define wxFont_GetNativeFontInfoUserDesc(_swigobj)  (_swigobj->GetNativeFontInfoUserDesc()) 
1775 static PyObject 
*_wrap_wxFont_GetNativeFontInfoUserDesc(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1776     PyObject 
* _resultobj
; 
1779     PyObject 
* _argo0 
= 0; 
1780     char *_kwnames
[] = { "self", NULL 
}; 
1783     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoUserDesc",_kwnames
,&_argo0
))  
1786         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1787         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1788             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoUserDesc. Expected _wxFont_p."); 
1793     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1794     _result 
= new wxString (wxFont_GetNativeFontInfoUserDesc(_arg0
)); 
1796     wxPyEndAllowThreads(__tstate
); 
1797     if (PyErr_Occurred()) return NULL
; 
1800     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
1802     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
1811 #define wxFont_SetPointSize(_swigobj,_swigarg0)  (_swigobj->SetPointSize(_swigarg0)) 
1812 static PyObject 
*_wrap_wxFont_SetPointSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1813     PyObject 
* _resultobj
; 
1816     PyObject 
* _argo0 
= 0; 
1817     char *_kwnames
[] = { "self","pointSize", NULL 
}; 
1820     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))  
1823         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1824         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1825             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p."); 
1830     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1831     wxFont_SetPointSize(_arg0
,_arg1
); 
1833     wxPyEndAllowThreads(__tstate
); 
1834     if (PyErr_Occurred()) return NULL
; 
1835 }    Py_INCREF(Py_None
); 
1836     _resultobj 
= Py_None
; 
1840 #define wxFont_SetFamily(_swigobj,_swigarg0)  (_swigobj->SetFamily(_swigarg0)) 
1841 static PyObject 
*_wrap_wxFont_SetFamily(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1842     PyObject 
* _resultobj
; 
1845     PyObject 
* _argo0 
= 0; 
1846     char *_kwnames
[] = { "self","family", NULL 
}; 
1849     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))  
1852         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1853         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1854             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p."); 
1859     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1860     wxFont_SetFamily(_arg0
,_arg1
); 
1862     wxPyEndAllowThreads(__tstate
); 
1863     if (PyErr_Occurred()) return NULL
; 
1864 }    Py_INCREF(Py_None
); 
1865     _resultobj 
= Py_None
; 
1869 #define wxFont_SetStyle(_swigobj,_swigarg0)  (_swigobj->SetStyle(_swigarg0)) 
1870 static PyObject 
*_wrap_wxFont_SetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1871     PyObject 
* _resultobj
; 
1874     PyObject 
* _argo0 
= 0; 
1875     char *_kwnames
[] = { "self","style", NULL 
}; 
1878     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))  
1881         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1882         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1883             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p."); 
1888     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1889     wxFont_SetStyle(_arg0
,_arg1
); 
1891     wxPyEndAllowThreads(__tstate
); 
1892     if (PyErr_Occurred()) return NULL
; 
1893 }    Py_INCREF(Py_None
); 
1894     _resultobj 
= Py_None
; 
1898 #define wxFont_SetWeight(_swigobj,_swigarg0)  (_swigobj->SetWeight(_swigarg0)) 
1899 static PyObject 
*_wrap_wxFont_SetWeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1900     PyObject 
* _resultobj
; 
1903     PyObject 
* _argo0 
= 0; 
1904     char *_kwnames
[] = { "self","weight", NULL 
}; 
1907     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_kwnames
,&_argo0
,&_arg1
))  
1910         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1911         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1912             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p."); 
1917     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1918     wxFont_SetWeight(_arg0
,_arg1
); 
1920     wxPyEndAllowThreads(__tstate
); 
1921     if (PyErr_Occurred()) return NULL
; 
1922 }    Py_INCREF(Py_None
); 
1923     _resultobj 
= Py_None
; 
1927 #define wxFont_SetFaceName(_swigobj,_swigarg0)  (_swigobj->SetFaceName(_swigarg0)) 
1928 static PyObject 
*_wrap_wxFont_SetFaceName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1929     PyObject 
* _resultobj
; 
1932     PyObject 
* _argo0 
= 0; 
1933     PyObject 
* _obj1 
= 0; 
1934     char *_kwnames
[] = { "self","faceName", NULL 
}; 
1937     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))  
1940         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1941         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1942             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p."); 
1947     _arg1 
= wxString_in_helper(_obj1
); 
1952     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1953     wxFont_SetFaceName(_arg0
,*_arg1
); 
1955     wxPyEndAllowThreads(__tstate
); 
1956     if (PyErr_Occurred()) return NULL
; 
1957 }    Py_INCREF(Py_None
); 
1958     _resultobj 
= Py_None
; 
1966 #define wxFont_SetUnderlined(_swigobj,_swigarg0)  (_swigobj->SetUnderlined(_swigarg0)) 
1967 static PyObject 
*_wrap_wxFont_SetUnderlined(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1968     PyObject 
* _resultobj
; 
1971     PyObject 
* _argo0 
= 0; 
1973     char *_kwnames
[] = { "self","underlined", NULL 
}; 
1976     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))  
1979         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1980         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1981             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p."); 
1985     _arg1 
= (bool ) tempbool1
; 
1987     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1988     wxFont_SetUnderlined(_arg0
,_arg1
); 
1990     wxPyEndAllowThreads(__tstate
); 
1991     if (PyErr_Occurred()) return NULL
; 
1992 }    Py_INCREF(Py_None
); 
1993     _resultobj 
= Py_None
; 
1997 #define wxFont_SetEncoding(_swigobj,_swigarg0)  (_swigobj->SetEncoding(_swigarg0)) 
1998 static PyObject 
*_wrap_wxFont_SetEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1999     PyObject 
* _resultobj
; 
2001     wxFontEncoding  _arg1
; 
2002     PyObject 
* _argo0 
= 0; 
2003     char *_kwnames
[] = { "self","encoding", NULL 
}; 
2006     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetEncoding",_kwnames
,&_argo0
,&_arg1
))  
2009         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2010         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
2011             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p."); 
2016     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2017     wxFont_SetEncoding(_arg0
,_arg1
); 
2019     wxPyEndAllowThreads(__tstate
); 
2020     if (PyErr_Occurred()) return NULL
; 
2021 }    Py_INCREF(Py_None
); 
2022     _resultobj 
= Py_None
; 
2026 #define wxFont_SetNativeFontInfo(_swigobj,_swigarg0)  (_swigobj->SetNativeFontInfo(_swigarg0)) 
2027 static PyObject 
*_wrap_wxFont_SetNativeFontInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2028     PyObject 
* _resultobj
; 
2030     wxNativeFontInfo 
* _arg1
; 
2031     PyObject 
* _argo0 
= 0; 
2032     PyObject 
* _argo1 
= 0; 
2033     char *_kwnames
[] = { "self","info", NULL 
}; 
2036     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfo",_kwnames
,&_argo0
,&_argo1
))  
2039         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2040         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
2041             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfo. Expected _wxFont_p."); 
2046         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
2047         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxNativeFontInfo_p")) { 
2048             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFont_SetNativeFontInfo. Expected _wxNativeFontInfo_p."); 
2053     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2054     wxFont_SetNativeFontInfo(_arg0
,*_arg1
); 
2056     wxPyEndAllowThreads(__tstate
); 
2057     if (PyErr_Occurred()) return NULL
; 
2058 }    Py_INCREF(Py_None
); 
2059     _resultobj 
= Py_None
; 
2063 #define wxFont_SetNativeFontInfoUserDesc(_swigobj,_swigarg0)  (_swigobj->SetNativeFontInfoUserDesc(_swigarg0)) 
2064 static PyObject 
*_wrap_wxFont_SetNativeFontInfoUserDesc(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2065     PyObject 
* _resultobj
; 
2068     PyObject 
* _argo0 
= 0; 
2069     PyObject 
* _obj1 
= 0; 
2070     char *_kwnames
[] = { "self","info", NULL 
}; 
2073     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfoUserDesc",_kwnames
,&_argo0
,&_obj1
))  
2076         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2077         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
2078             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfoUserDesc. Expected _wxFont_p."); 
2083     _arg1 
= wxString_in_helper(_obj1
); 
2088     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2089     wxFont_SetNativeFontInfoUserDesc(_arg0
,*_arg1
); 
2091     wxPyEndAllowThreads(__tstate
); 
2092     if (PyErr_Occurred()) return NULL
; 
2093 }    Py_INCREF(Py_None
); 
2094     _resultobj 
= Py_None
; 
2102 #define wxFont_GetFamilyString(_swigobj)  (_swigobj->GetFamilyString()) 
2103 static PyObject 
*_wrap_wxFont_GetFamilyString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2104     PyObject 
* _resultobj
; 
2107     PyObject 
* _argo0 
= 0; 
2108     char *_kwnames
[] = { "self", NULL 
}; 
2111     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamilyString",_kwnames
,&_argo0
))  
2114         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2115         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
2116             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p."); 
2121     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2122     _result 
= new wxString (wxFont_GetFamilyString(_arg0
)); 
2124     wxPyEndAllowThreads(__tstate
); 
2125     if (PyErr_Occurred()) return NULL
; 
2128     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
2130     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
2139 #define wxFont_GetStyleString(_swigobj)  (_swigobj->GetStyleString()) 
2140 static PyObject 
*_wrap_wxFont_GetStyleString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2141     PyObject 
* _resultobj
; 
2144     PyObject 
* _argo0 
= 0; 
2145     char *_kwnames
[] = { "self", NULL 
}; 
2148     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyleString",_kwnames
,&_argo0
))  
2151         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2152         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
2153             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p."); 
2158     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2159     _result 
= new wxString (wxFont_GetStyleString(_arg0
)); 
2161     wxPyEndAllowThreads(__tstate
); 
2162     if (PyErr_Occurred()) return NULL
; 
2165     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
2167     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
2176 #define wxFont_GetWeightString(_swigobj)  (_swigobj->GetWeightString()) 
2177 static PyObject 
*_wrap_wxFont_GetWeightString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2178     PyObject 
* _resultobj
; 
2181     PyObject 
* _argo0 
= 0; 
2182     char *_kwnames
[] = { "self", NULL 
}; 
2185     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeightString",_kwnames
,&_argo0
))  
2188         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2189         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
2190             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p."); 
2195     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2196     _result 
= new wxString (wxFont_GetWeightString(_arg0
)); 
2198     wxPyEndAllowThreads(__tstate
); 
2199     if (PyErr_Occurred()) return NULL
; 
2202     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
2204     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
2213 static PyObject 
*_wrap_wxFont_GetDefaultEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2214     PyObject 
* _resultobj
; 
2215     wxFontEncoding  _result
; 
2216     char *_kwnames
[] = {  NULL 
}; 
2219     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFont_GetDefaultEncoding",_kwnames
))  
2222     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2223     _result 
= (wxFontEncoding 
)wxFont::GetDefaultEncoding(); 
2225     wxPyEndAllowThreads(__tstate
); 
2226     if (PyErr_Occurred()) return NULL
; 
2227 }    _resultobj 
= Py_BuildValue("i",_result
); 
2231 static PyObject 
*_wrap_wxFont_SetDefaultEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2232     PyObject 
* _resultobj
; 
2233     wxFontEncoding  _arg0
; 
2234     char *_kwnames
[] = { "encoding", NULL 
}; 
2237     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFont_SetDefaultEncoding",_kwnames
,&_arg0
))  
2240     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2241     wxFont::SetDefaultEncoding(_arg0
); 
2243     wxPyEndAllowThreads(__tstate
); 
2244     if (PyErr_Occurred()) return NULL
; 
2245 }    Py_INCREF(Py_None
); 
2246     _resultobj 
= Py_None
; 
2250 static void *SwigwxFontListTowxObject(void *ptr
) { 
2253     src 
= (wxFontList 
*) ptr
; 
2254     dest 
= (wxObject 
*) src
; 
2255     return (void *) dest
; 
2258 #define wxFontList_AddFont(_swigobj,_swigarg0)  (_swigobj->AddFont(_swigarg0)) 
2259 static PyObject 
*_wrap_wxFontList_AddFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2260     PyObject 
* _resultobj
; 
2263     PyObject 
* _argo0 
= 0; 
2264     PyObject 
* _argo1 
= 0; 
2265     char *_kwnames
[] = { "self","font", NULL 
}; 
2268     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_AddFont",_kwnames
,&_argo0
,&_argo1
))  
2271         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2272         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) { 
2273             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_AddFont. Expected _wxFontList_p."); 
2278         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
2279         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) { 
2280             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_AddFont. Expected _wxFont_p."); 
2285     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2286     wxFontList_AddFont(_arg0
,_arg1
); 
2288     wxPyEndAllowThreads(__tstate
); 
2289     if (PyErr_Occurred()) return NULL
; 
2290 }    Py_INCREF(Py_None
); 
2291     _resultobj 
= Py_None
; 
2295 #define wxFontList_FindOrCreateFont(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)  (_swigobj->FindOrCreateFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) 
2296 static PyObject 
*_wrap_wxFontList_FindOrCreateFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2297     PyObject 
* _resultobj
; 
2304     bool  _arg5 
= (bool ) FALSE
; 
2305     wxString 
* _arg6 
= (wxString 
*) &wxPyEmptyString
; 
2306     wxFontEncoding  _arg7 
= (wxFontEncoding 
) (wxFONTENCODING_DEFAULT
); 
2307     PyObject 
* _argo0 
= 0; 
2308     int tempbool5 
= (int) FALSE
; 
2309     PyObject 
* _obj6 
= 0; 
2310     char *_kwnames
[] = { "self","point_size","family","style","weight","underline","facename","encoding", NULL 
}; 
2314     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iOi:wxFontList_FindOrCreateFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
,&_obj6
,&_arg7
))  
2317         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2318         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) { 
2319             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_FindOrCreateFont. Expected _wxFontList_p."); 
2323     _arg5 
= (bool ) tempbool5
; 
2326     _arg6 
= wxString_in_helper(_obj6
); 
2331     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2332     _result 
= (wxFont 
*)wxFontList_FindOrCreateFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,_arg7
); 
2334     wxPyEndAllowThreads(__tstate
); 
2335     if (PyErr_Occurred()) return NULL
; 
2337         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p"); 
2338         _resultobj 
= Py_BuildValue("s",_ptemp
); 
2341         _resultobj 
= Py_None
; 
2350 #define wxFontList_RemoveFont(_swigobj,_swigarg0)  (_swigobj->RemoveFont(_swigarg0)) 
2351 static PyObject 
*_wrap_wxFontList_RemoveFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2352     PyObject 
* _resultobj
; 
2355     PyObject 
* _argo0 
= 0; 
2356     PyObject 
* _argo1 
= 0; 
2357     char *_kwnames
[] = { "self","font", NULL 
}; 
2360     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_RemoveFont",_kwnames
,&_argo0
,&_argo1
))  
2363         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2364         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) { 
2365             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_RemoveFont. Expected _wxFontList_p."); 
2370         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
2371         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) { 
2372             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_RemoveFont. Expected _wxFont_p."); 
2377     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2378     wxFontList_RemoveFont(_arg0
,_arg1
); 
2380     wxPyEndAllowThreads(__tstate
); 
2381     if (PyErr_Occurred()) return NULL
; 
2382 }    Py_INCREF(Py_None
); 
2383     _resultobj 
= Py_None
; 
2387 #define wxFontList_GetCount(_swigobj)  (_swigobj->GetCount()) 
2388 static PyObject 
*_wrap_wxFontList_GetCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2389     PyObject 
* _resultobj
; 
2392     PyObject 
* _argo0 
= 0; 
2393     char *_kwnames
[] = { "self", NULL 
}; 
2396     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontList_GetCount",_kwnames
,&_argo0
))  
2399         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2400         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) { 
2401             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_GetCount. Expected _wxFontList_p."); 
2406     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2407     _result 
= (int )wxFontList_GetCount(_arg0
); 
2409     wxPyEndAllowThreads(__tstate
); 
2410     if (PyErr_Occurred()) return NULL
; 
2411 }    _resultobj 
= Py_BuildValue("i",_result
); 
2415 #define new_wxFontEnumerator() (new wxPyFontEnumerator()) 
2416 static PyObject 
*_wrap_new_wxFontEnumerator(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2417     PyObject 
* _resultobj
; 
2418     wxPyFontEnumerator 
* _result
; 
2419     char *_kwnames
[] = {  NULL 
}; 
2423     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))  
2426     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2427     _result 
= (wxPyFontEnumerator 
*)new_wxFontEnumerator(); 
2429     wxPyEndAllowThreads(__tstate
); 
2430     if (PyErr_Occurred()) return NULL
; 
2432         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p"); 
2433         _resultobj 
= Py_BuildValue("s",_ptemp
); 
2436         _resultobj 
= Py_None
; 
2441 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj) 
2442 static PyObject 
*_wrap_delete_wxFontEnumerator(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2443     PyObject 
* _resultobj
; 
2444     wxPyFontEnumerator 
* _arg0
; 
2445     PyObject 
* _argo0 
= 0; 
2446     char *_kwnames
[] = { "self", NULL 
}; 
2449     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))  
2452         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2453         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) { 
2454             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p."); 
2459     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2460     delete_wxPyFontEnumerator(_arg0
); 
2462     wxPyEndAllowThreads(__tstate
); 
2463     if (PyErr_Occurred()) return NULL
; 
2464 }    Py_INCREF(Py_None
); 
2465     _resultobj 
= Py_None
; 
2469 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2)) 
2470 static PyObject 
*_wrap_wxFontEnumerator__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2471     PyObject 
* _resultobj
; 
2472     wxPyFontEnumerator 
* _arg0
; 
2476     PyObject 
* _argo0 
= 0; 
2477     PyObject 
* _obj1 
= 0; 
2478     PyObject 
* _obj2 
= 0; 
2480     char *_kwnames
[] = { "self","self","_class","incref", NULL 
}; 
2483     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOi:wxFontEnumerator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))  
2486         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2487         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) { 
2488             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p."); 
2498     _arg3 
= (bool ) tempbool3
; 
2500     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2501     wxFontEnumerator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
); 
2503     wxPyEndAllowThreads(__tstate
); 
2504     if (PyErr_Occurred()) return NULL
; 
2505 }    Py_INCREF(Py_None
); 
2506     _resultobj 
= Py_None
; 
2510 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1)  (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1)) 
2511 static PyObject 
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2512     PyObject 
* _resultobj
; 
2514     wxPyFontEnumerator 
* _arg0
; 
2515     wxFontEncoding  _arg1 
= (wxFontEncoding 
) (wxFONTENCODING_SYSTEM
); 
2516     bool  _arg2 
= (bool ) FALSE
; 
2517     PyObject 
* _argo0 
= 0; 
2518     int tempbool2 
= (int) FALSE
; 
2519     char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL 
}; 
2522     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))  
2525         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2526         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) { 
2527             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p."); 
2531     _arg2 
= (bool ) tempbool2
; 
2533     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2534     _result 
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
); 
2536     wxPyEndAllowThreads(__tstate
); 
2537     if (PyErr_Occurred()) return NULL
; 
2538 }    _resultobj 
= Py_BuildValue("i",_result
); 
2542 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0)  (_swigobj->EnumerateEncodings(_swigarg0)) 
2543 static PyObject 
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2544     PyObject 
* _resultobj
; 
2546     wxPyFontEnumerator 
* _arg0
; 
2547     wxString 
* _arg1 
= (wxString 
*) &wxPyEmptyString
; 
2548     PyObject 
* _argo0 
= 0; 
2549     PyObject 
* _obj1 
= 0; 
2550     char *_kwnames
[] = { "self","facename", NULL 
}; 
2553     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_obj1
))  
2556         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2557         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) { 
2558             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p."); 
2564     _arg1 
= wxString_in_helper(_obj1
); 
2569     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2570     _result 
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,*_arg1
); 
2572     wxPyEndAllowThreads(__tstate
); 
2573     if (PyErr_Occurred()) return NULL
; 
2574 }    _resultobj 
= Py_BuildValue("i",_result
); 
2582 static PyObject 
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator 
*self
) { 
2583             wxArrayString
* arr 
= self
->GetEncodings(); 
2584             return wxArrayString2PyList_helper(*arr
); 
2586 static PyObject 
*_wrap_wxFontEnumerator_GetEncodings(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2587     PyObject 
* _resultobj
; 
2589     wxPyFontEnumerator 
* _arg0
; 
2590     PyObject 
* _argo0 
= 0; 
2591     char *_kwnames
[] = { "self", NULL 
}; 
2594     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))  
2597         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2598         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) { 
2599             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p."); 
2604     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2605     _result 
= (PyObject 
*)wxPyFontEnumerator_GetEncodings(_arg0
); 
2607     wxPyEndAllowThreads(__tstate
); 
2608     if (PyErr_Occurred()) return NULL
; 
2610   _resultobj 
= _result
; 
2615 static PyObject 
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator 
*self
) { 
2616             wxArrayString
* arr 
= self
->GetFacenames(); 
2617             return wxArrayString2PyList_helper(*arr
); 
2619 static PyObject 
*_wrap_wxFontEnumerator_GetFacenames(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2620     PyObject 
* _resultobj
; 
2622     wxPyFontEnumerator 
* _arg0
; 
2623     PyObject 
* _argo0 
= 0; 
2624     char *_kwnames
[] = { "self", NULL 
}; 
2627     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))  
2630         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2631         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) { 
2632             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p."); 
2637     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2638     _result 
= (PyObject 
*)wxPyFontEnumerator_GetFacenames(_arg0
); 
2640     wxPyEndAllowThreads(__tstate
); 
2641     if (PyErr_Occurred()) return NULL
; 
2643   _resultobj 
= _result
; 
2648 #define wxLanguageInfo_Language_set(_swigobj,_swigval) (_swigobj->Language = _swigval,_swigval) 
2649 static PyObject 
*_wrap_wxLanguageInfo_Language_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2650     PyObject 
* _resultobj
; 
2652     wxLanguageInfo 
* _arg0
; 
2654     PyObject 
* _argo0 
= 0; 
2655     char *_kwnames
[] = { "self","Language", NULL 
}; 
2658     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLanguageInfo_Language_set",_kwnames
,&_argo0
,&_arg1
))  
2661         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2662         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) { 
2663             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_Language_set. Expected _wxLanguageInfo_p."); 
2668     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2669     _result 
= (int )wxLanguageInfo_Language_set(_arg0
,_arg1
); 
2671     wxPyEndAllowThreads(__tstate
); 
2672     if (PyErr_Occurred()) return NULL
; 
2673 }    _resultobj 
= Py_BuildValue("i",_result
); 
2677 #define wxLanguageInfo_Language_get(_swigobj) ((int ) _swigobj->Language) 
2678 static PyObject 
*_wrap_wxLanguageInfo_Language_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2679     PyObject 
* _resultobj
; 
2681     wxLanguageInfo 
* _arg0
; 
2682     PyObject 
* _argo0 
= 0; 
2683     char *_kwnames
[] = { "self", NULL 
}; 
2686     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLanguageInfo_Language_get",_kwnames
,&_argo0
))  
2689         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2690         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) { 
2691             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_Language_get. Expected _wxLanguageInfo_p."); 
2696     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2697     _result 
= (int )wxLanguageInfo_Language_get(_arg0
); 
2699     wxPyEndAllowThreads(__tstate
); 
2700     if (PyErr_Occurred()) return NULL
; 
2701 }    _resultobj 
= Py_BuildValue("i",_result
); 
2705 #define wxLanguageInfo_CanonicalName_set(_swigobj,_swigval) (_swigobj->CanonicalName = *(_swigval),_swigval) 
2706 static PyObject 
*_wrap_wxLanguageInfo_CanonicalName_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2707     PyObject 
* _resultobj
; 
2709     wxLanguageInfo 
* _arg0
; 
2711     PyObject 
* _argo0 
= 0; 
2712     PyObject 
* _obj1 
= 0; 
2713     char *_kwnames
[] = { "self","CanonicalName", NULL 
}; 
2716     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLanguageInfo_CanonicalName_set",_kwnames
,&_argo0
,&_obj1
))  
2719         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2720         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) { 
2721             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_CanonicalName_set. Expected _wxLanguageInfo_p."); 
2726     _arg1 
= wxString_in_helper(_obj1
); 
2731     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2732     _result 
= (wxString 
*)wxLanguageInfo_CanonicalName_set(_arg0
,_arg1
); 
2734     wxPyEndAllowThreads(__tstate
); 
2735     if (PyErr_Occurred()) return NULL
; 
2738     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
2740     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
2750 #define wxLanguageInfo_CanonicalName_get(_swigobj) (&_swigobj->CanonicalName) 
2751 static PyObject 
*_wrap_wxLanguageInfo_CanonicalName_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2752     PyObject 
* _resultobj
; 
2754     wxLanguageInfo 
* _arg0
; 
2755     PyObject 
* _argo0 
= 0; 
2756     char *_kwnames
[] = { "self", NULL 
}; 
2759     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLanguageInfo_CanonicalName_get",_kwnames
,&_argo0
))  
2762         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2763         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) { 
2764             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_CanonicalName_get. Expected _wxLanguageInfo_p."); 
2769     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2770     _result 
= (wxString 
*)wxLanguageInfo_CanonicalName_get(_arg0
); 
2772     wxPyEndAllowThreads(__tstate
); 
2773     if (PyErr_Occurred()) return NULL
; 
2776     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
2778     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
2784 #define wxLanguageInfo_Description_set(_swigobj,_swigval) (_swigobj->Description = *(_swigval),_swigval) 
2785 static PyObject 
*_wrap_wxLanguageInfo_Description_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2786     PyObject 
* _resultobj
; 
2788     wxLanguageInfo 
* _arg0
; 
2790     PyObject 
* _argo0 
= 0; 
2791     PyObject 
* _obj1 
= 0; 
2792     char *_kwnames
[] = { "self","Description", NULL 
}; 
2795     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLanguageInfo_Description_set",_kwnames
,&_argo0
,&_obj1
))  
2798         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2799         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) { 
2800             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_Description_set. Expected _wxLanguageInfo_p."); 
2805     _arg1 
= wxString_in_helper(_obj1
); 
2810     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2811     _result 
= (wxString 
*)wxLanguageInfo_Description_set(_arg0
,_arg1
); 
2813     wxPyEndAllowThreads(__tstate
); 
2814     if (PyErr_Occurred()) return NULL
; 
2817     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
2819     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
2829 #define wxLanguageInfo_Description_get(_swigobj) (&_swigobj->Description) 
2830 static PyObject 
*_wrap_wxLanguageInfo_Description_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2831     PyObject 
* _resultobj
; 
2833     wxLanguageInfo 
* _arg0
; 
2834     PyObject 
* _argo0 
= 0; 
2835     char *_kwnames
[] = { "self", NULL 
}; 
2838     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLanguageInfo_Description_get",_kwnames
,&_argo0
))  
2841         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2842         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) { 
2843             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_Description_get. Expected _wxLanguageInfo_p."); 
2848     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2849     _result 
= (wxString 
*)wxLanguageInfo_Description_get(_arg0
); 
2851     wxPyEndAllowThreads(__tstate
); 
2852     if (PyErr_Occurred()) return NULL
; 
2855     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
2857     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
2863 #define new_wxLocale(_swigarg0,_swigarg1) (new wxLocale(_swigarg0,_swigarg1)) 
2864 static PyObject 
*_wrap_new_wxLocale(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2865     PyObject 
* _resultobj
; 
2867     int  _arg0 
= (int ) (wxLANGUAGE_DEFAULT
); 
2868     int  _arg1 
= (int ) (wxLOCALE_LOAD_DEFAULT
)|(wxLOCALE_CONV_ENCODING
); 
2869     char *_kwnames
[] = { "language","flags", NULL 
}; 
2873     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxLocale",_kwnames
,&_arg0
,&_arg1
))  
2876     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2877     _result 
= (wxLocale 
*)new_wxLocale(_arg0
,_arg1
); 
2879     wxPyEndAllowThreads(__tstate
); 
2880     if (PyErr_Occurred()) return NULL
; 
2882         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLocale_p"); 
2883         _resultobj 
= Py_BuildValue("s",_ptemp
); 
2886         _resultobj 
= Py_None
; 
2891 #define wxLocale_Init(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)  (_swigobj->Init(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) 
2892 static PyObject 
*_wrap_wxLocale_Init(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2893     PyObject 
* _resultobj
; 
2897     wxString 
* _arg2 
= (wxString 
*) &wxPyEmptyString
; 
2898     wxString 
* _arg3 
= (wxString 
*) &wxPyEmptyString
; 
2899     bool  _arg4 
= (bool ) TRUE
; 
2900     bool  _arg5 
= (bool ) FALSE
; 
2901     PyObject 
* _argo0 
= 0; 
2902     PyObject 
* _obj1 
= 0; 
2903     PyObject 
* _obj2 
= 0; 
2904     PyObject 
* _obj3 
= 0; 
2905     int tempbool4 
= (int) TRUE
; 
2906     int tempbool5 
= (int) FALSE
; 
2907     char *_kwnames
[] = { "self","szName","szShort","szLocale","bLoadDefault","bConvertEncoding", NULL 
}; 
2910     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OOii:wxLocale_Init",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&tempbool4
,&tempbool5
))  
2913         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2914         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) { 
2915             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_Init. Expected _wxLocale_p."); 
2920     _arg1 
= wxString_in_helper(_obj1
); 
2926     _arg2 
= wxString_in_helper(_obj2
); 
2932     _arg3 
= wxString_in_helper(_obj3
); 
2936     _arg4 
= (bool ) tempbool4
; 
2937     _arg5 
= (bool ) tempbool5
; 
2939     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2940     _result 
= (bool )wxLocale_Init(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
); 
2942     wxPyEndAllowThreads(__tstate
); 
2943     if (PyErr_Occurred()) return NULL
; 
2944 }    _resultobj 
= Py_BuildValue("i",_result
); 
2960 #define delete_wxLocale(_swigobj) (delete _swigobj) 
2961 static PyObject 
*_wrap_delete_wxLocale(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2962     PyObject 
* _resultobj
; 
2964     PyObject 
* _argo0 
= 0; 
2965     char *_kwnames
[] = { "self", NULL 
}; 
2968     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLocale",_kwnames
,&_argo0
))  
2971         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2972         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) { 
2973             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLocale. Expected _wxLocale_p."); 
2978     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2979     delete_wxLocale(_arg0
); 
2981     wxPyEndAllowThreads(__tstate
); 
2982     if (PyErr_Occurred()) return NULL
; 
2983 }    Py_INCREF(Py_None
); 
2984     _resultobj 
= Py_None
; 
2988 static PyObject 
*_wrap_wxLocale_GetSystemLanguage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2989     PyObject 
* _resultobj
; 
2991     char *_kwnames
[] = {  NULL 
}; 
2994     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLocale_GetSystemLanguage",_kwnames
))  
2997     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2998     _result 
= (int )wxLocale::GetSystemLanguage(); 
3000     wxPyEndAllowThreads(__tstate
); 
3001     if (PyErr_Occurred()) return NULL
; 
3002 }    _resultobj 
= Py_BuildValue("i",_result
); 
3006 static PyObject 
*_wrap_wxLocale_GetSystemEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3007     PyObject 
* _resultobj
; 
3008     wxFontEncoding  _result
; 
3009     char *_kwnames
[] = {  NULL 
}; 
3012     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLocale_GetSystemEncoding",_kwnames
))  
3015     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3016     _result 
= (wxFontEncoding 
)wxLocale::GetSystemEncoding(); 
3018     wxPyEndAllowThreads(__tstate
); 
3019     if (PyErr_Occurred()) return NULL
; 
3020 }    _resultobj 
= Py_BuildValue("i",_result
); 
3024 static PyObject 
*_wrap_wxLocale_GetSystemEncodingName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3025     PyObject 
* _resultobj
; 
3027     char *_kwnames
[] = {  NULL 
}; 
3030     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLocale_GetSystemEncodingName",_kwnames
))  
3033     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3034     _result 
= new wxString (wxLocale::GetSystemEncodingName()); 
3036     wxPyEndAllowThreads(__tstate
); 
3037     if (PyErr_Occurred()) return NULL
; 
3040     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
3042     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
3051 #define wxLocale_IsOk(_swigobj)  (_swigobj->IsOk()) 
3052 static PyObject 
*_wrap_wxLocale_IsOk(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3053     PyObject 
* _resultobj
; 
3056     PyObject 
* _argo0 
= 0; 
3057     char *_kwnames
[] = { "self", NULL 
}; 
3060     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_IsOk",_kwnames
,&_argo0
))  
3063         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3064         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) { 
3065             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_IsOk. Expected _wxLocale_p."); 
3070     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3071     _result 
= (bool )wxLocale_IsOk(_arg0
); 
3073     wxPyEndAllowThreads(__tstate
); 
3074     if (PyErr_Occurred()) return NULL
; 
3075 }    _resultobj 
= Py_BuildValue("i",_result
); 
3079 #define wxLocale_GetLocale(_swigobj)  (_swigobj->GetLocale()) 
3080 static PyObject 
*_wrap_wxLocale_GetLocale(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3081     PyObject 
* _resultobj
; 
3084     PyObject 
* _argo0 
= 0; 
3085     char *_kwnames
[] = { "self", NULL 
}; 
3088     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetLocale",_kwnames
,&_argo0
))  
3091         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3092         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) { 
3093             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetLocale. Expected _wxLocale_p."); 
3098     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3099     _result 
= new wxString (wxLocale_GetLocale(_arg0
)); 
3101     wxPyEndAllowThreads(__tstate
); 
3102     if (PyErr_Occurred()) return NULL
; 
3105     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
3107     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
3116 #define wxLocale_GetLanguage(_swigobj)  (_swigobj->GetLanguage()) 
3117 static PyObject 
*_wrap_wxLocale_GetLanguage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3118     PyObject 
* _resultobj
; 
3121     PyObject 
* _argo0 
= 0; 
3122     char *_kwnames
[] = { "self", NULL 
}; 
3125     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetLanguage",_kwnames
,&_argo0
))  
3128         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3129         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) { 
3130             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetLanguage. Expected _wxLocale_p."); 
3135     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3136     _result 
= (int )wxLocale_GetLanguage(_arg0
); 
3138     wxPyEndAllowThreads(__tstate
); 
3139     if (PyErr_Occurred()) return NULL
; 
3140 }    _resultobj 
= Py_BuildValue("i",_result
); 
3144 #define wxLocale_GetSysName(_swigobj)  (_swigobj->GetSysName()) 
3145 static PyObject 
*_wrap_wxLocale_GetSysName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3146     PyObject 
* _resultobj
; 
3149     PyObject 
* _argo0 
= 0; 
3150     char *_kwnames
[] = { "self", NULL 
}; 
3153     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetSysName",_kwnames
,&_argo0
))  
3156         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3157         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) { 
3158             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetSysName. Expected _wxLocale_p."); 
3163     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3164     _result 
= new wxString (wxLocale_GetSysName(_arg0
)); 
3166     wxPyEndAllowThreads(__tstate
); 
3167     if (PyErr_Occurred()) return NULL
; 
3170     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
3172     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
3181 #define wxLocale_GetCanonicalName(_swigobj)  (_swigobj->GetCanonicalName()) 
3182 static PyObject 
*_wrap_wxLocale_GetCanonicalName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3183     PyObject 
* _resultobj
; 
3186     PyObject 
* _argo0 
= 0; 
3187     char *_kwnames
[] = { "self", NULL 
}; 
3190     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetCanonicalName",_kwnames
,&_argo0
))  
3193         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3194         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) { 
3195             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetCanonicalName. Expected _wxLocale_p."); 
3200     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3201     _result 
= new wxString (wxLocale_GetCanonicalName(_arg0
)); 
3203     wxPyEndAllowThreads(__tstate
); 
3204     if (PyErr_Occurred()) return NULL
; 
3207     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
3209     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
3218 static PyObject 
*_wrap_wxLocale_AddCatalogLookupPathPrefix(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3219     PyObject 
* _resultobj
; 
3221     PyObject 
* _obj0 
= 0; 
3222     char *_kwnames
[] = { "prefix", NULL 
}; 
3225     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_AddCatalogLookupPathPrefix",_kwnames
,&_obj0
))  
3228     _arg0 
= wxString_in_helper(_obj0
); 
3233     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3234     wxLocale::AddCatalogLookupPathPrefix(*_arg0
); 
3236     wxPyEndAllowThreads(__tstate
); 
3237     if (PyErr_Occurred()) return NULL
; 
3238 }    Py_INCREF(Py_None
); 
3239     _resultobj 
= Py_None
; 
3247 #define wxLocale_AddCatalog(_swigobj,_swigarg0)  (_swigobj->AddCatalog(_swigarg0)) 
3248 static PyObject 
*_wrap_wxLocale_AddCatalog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3249     PyObject 
* _resultobj
; 
3253     PyObject 
* _argo0 
= 0; 
3254     PyObject 
* _obj1 
= 0; 
3255     char *_kwnames
[] = { "self","szDomain", NULL 
}; 
3258     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLocale_AddCatalog",_kwnames
,&_argo0
,&_obj1
))  
3261         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3262         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) { 
3263             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_AddCatalog. Expected _wxLocale_p."); 
3268     _arg1 
= wxString_in_helper(_obj1
); 
3273     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3274     _result 
= (bool )wxLocale_AddCatalog(_arg0
,*_arg1
); 
3276     wxPyEndAllowThreads(__tstate
); 
3277     if (PyErr_Occurred()) return NULL
; 
3278 }    _resultobj 
= Py_BuildValue("i",_result
); 
3286 #define wxLocale_IsLoaded(_swigobj,_swigarg0)  (_swigobj->IsLoaded(_swigarg0)) 
3287 static PyObject 
*_wrap_wxLocale_IsLoaded(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3288     PyObject 
* _resultobj
; 
3292     PyObject 
* _argo0 
= 0; 
3293     PyObject 
* _obj1 
= 0; 
3294     char *_kwnames
[] = { "self","szDomain", NULL 
}; 
3297     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLocale_IsLoaded",_kwnames
,&_argo0
,&_obj1
))  
3300         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3301         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) { 
3302             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_IsLoaded. Expected _wxLocale_p."); 
3307     _arg1 
= wxString_in_helper(_obj1
); 
3312     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3313     _result 
= (bool )wxLocale_IsLoaded(_arg0
,*_arg1
); 
3315     wxPyEndAllowThreads(__tstate
); 
3316     if (PyErr_Occurred()) return NULL
; 
3317 }    _resultobj 
= Py_BuildValue("i",_result
); 
3325 static PyObject 
*_wrap_wxLocale_AddLanguage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3326     PyObject 
* _resultobj
; 
3327     wxLanguageInfo 
* _arg0
; 
3328     PyObject 
* _argo0 
= 0; 
3329     char *_kwnames
[] = { "info", NULL 
}; 
3332     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_AddLanguage",_kwnames
,&_argo0
))  
3335         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3336         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) { 
3337             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_AddLanguage. Expected _wxLanguageInfo_p."); 
3342     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3343     wxLocale::AddLanguage(*_arg0
); 
3345     wxPyEndAllowThreads(__tstate
); 
3346     if (PyErr_Occurred()) return NULL
; 
3347 }    Py_INCREF(Py_None
); 
3348     _resultobj 
= Py_None
; 
3352 #define wxLocale_GetString(_swigobj,_swigarg0,_swigarg1)  (_swigobj->GetString(_swigarg0,_swigarg1)) 
3353 static PyObject 
*_wrap_wxLocale_GetString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3354     PyObject 
* _resultobj
; 
3358     wxString 
* _arg2 
= (wxString 
*) &wxPyEmptyString
; 
3359     PyObject 
* _argo0 
= 0; 
3360     PyObject 
* _obj1 
= 0; 
3361     PyObject 
* _obj2 
= 0; 
3362     char *_kwnames
[] = { "self","szOrigString","szDomain", NULL 
}; 
3365     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLocale_GetString",_kwnames
,&_argo0
,&_obj1
,&_obj2
))  
3368         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3369         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) { 
3370             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetString. Expected _wxLocale_p."); 
3375     _arg1 
= wxString_in_helper(_obj1
); 
3381     _arg2 
= wxString_in_helper(_obj2
); 
3386     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3387     _result 
= new wxString (wxLocale_GetString(_arg0
,*_arg1
,*_arg2
)); 
3389     wxPyEndAllowThreads(__tstate
); 
3390     if (PyErr_Occurred()) return NULL
; 
3393     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
3395     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
3412 #define wxLocale_GetName(_swigobj)  (_swigobj->GetName()) 
3413 static PyObject 
*_wrap_wxLocale_GetName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3414     PyObject 
* _resultobj
; 
3417     PyObject 
* _argo0 
= 0; 
3418     char *_kwnames
[] = { "self", NULL 
}; 
3421     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetName",_kwnames
,&_argo0
))  
3424         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3425         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) { 
3426             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetName. Expected _wxLocale_p."); 
3431     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3432     const wxString 
& _result_ref 
= wxLocale_GetName(_arg0
); 
3433     _result 
= (wxString 
*) &_result_ref
; 
3435     wxPyEndAllowThreads(__tstate
); 
3436     if (PyErr_Occurred()) return NULL
; 
3439     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
3441     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
3447 static void *SwigwxEncodingConverterTowxObject(void *ptr
) { 
3448     wxEncodingConverter 
*src
; 
3450     src 
= (wxEncodingConverter 
*) ptr
; 
3451     dest 
= (wxObject 
*) src
; 
3452     return (void *) dest
; 
3455 #define new_wxEncodingConverter() (new wxEncodingConverter()) 
3456 static PyObject 
*_wrap_new_wxEncodingConverter(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3457     PyObject 
* _resultobj
; 
3458     wxEncodingConverter 
* _result
; 
3459     char *_kwnames
[] = {  NULL 
}; 
3463     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEncodingConverter",_kwnames
))  
3466     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3467     _result 
= (wxEncodingConverter 
*)new_wxEncodingConverter(); 
3469     wxPyEndAllowThreads(__tstate
); 
3470     if (PyErr_Occurred()) return NULL
; 
3472         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEncodingConverter_p"); 
3473         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3476         _resultobj 
= Py_None
; 
3481 #define delete_wxEncodingConverter(_swigobj) (delete _swigobj) 
3482 static PyObject 
*_wrap_delete_wxEncodingConverter(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3483     PyObject 
* _resultobj
; 
3484     wxEncodingConverter 
* _arg0
; 
3485     PyObject 
* _argo0 
= 0; 
3486     char *_kwnames
[] = { "self", NULL 
}; 
3489     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxEncodingConverter",_kwnames
,&_argo0
))  
3492         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3493         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEncodingConverter_p")) { 
3494             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxEncodingConverter. Expected _wxEncodingConverter_p."); 
3499     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3500     delete_wxEncodingConverter(_arg0
); 
3502     wxPyEndAllowThreads(__tstate
); 
3503     if (PyErr_Occurred()) return NULL
; 
3504 }    Py_INCREF(Py_None
); 
3505     _resultobj 
= Py_None
; 
3509 #define wxEncodingConverter_Init(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->Init(_swigarg0,_swigarg1,_swigarg2)) 
3510 static PyObject 
*_wrap_wxEncodingConverter_Init(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3511     PyObject 
* _resultobj
; 
3513     wxEncodingConverter 
* _arg0
; 
3514     wxFontEncoding  _arg1
; 
3515     wxFontEncoding  _arg2
; 
3516     int  _arg3 
= (int ) (wxCONVERT_STRICT
); 
3517     PyObject 
* _argo0 
= 0; 
3518     char *_kwnames
[] = { "self","input_enc","output_enc","method", NULL 
}; 
3521     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxEncodingConverter_Init",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))  
3524         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3525         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEncodingConverter_p")) { 
3526             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEncodingConverter_Init. Expected _wxEncodingConverter_p."); 
3531     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3532     _result 
= (bool )wxEncodingConverter_Init(_arg0
,_arg1
,_arg2
,_arg3
); 
3534     wxPyEndAllowThreads(__tstate
); 
3535     if (PyErr_Occurred()) return NULL
; 
3536 }    _resultobj 
= Py_BuildValue("i",_result
); 
3540 #define wxEncodingConverter_Convert(_swigobj,_swigarg0)  (_swigobj->Convert(_swigarg0)) 
3541 static PyObject 
*_wrap_wxEncodingConverter_Convert(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3542     PyObject 
* _resultobj
; 
3544     wxEncodingConverter 
* _arg0
; 
3546     PyObject 
* _argo0 
= 0; 
3547     PyObject 
* _obj1 
= 0; 
3548     char *_kwnames
[] = { "self","input", NULL 
}; 
3551     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEncodingConverter_Convert",_kwnames
,&_argo0
,&_obj1
))  
3554         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3555         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEncodingConverter_p")) { 
3556             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEncodingConverter_Convert. Expected _wxEncodingConverter_p."); 
3561     _arg1 
= wxString_in_helper(_obj1
); 
3566     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3567     _result 
= new wxString (wxEncodingConverter_Convert(_arg0
,*_arg1
)); 
3569     wxPyEndAllowThreads(__tstate
); 
3570     if (PyErr_Occurred()) return NULL
; 
3573     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
3575     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
3588 static PyObject 
*_wrap_wxEncodingConverter_GetPlatformEquivalents(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3589     PyObject 
* _resultobj
; 
3590     wxFontEncodingArray 
* _result
; 
3591     wxFontEncoding  _arg0
; 
3592     int  _arg1 
= (int ) (wxPLATFORM_CURRENT
); 
3593     char *_kwnames
[] = { "enc","platform", NULL 
}; 
3596     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxEncodingConverter_GetPlatformEquivalents",_kwnames
,&_arg0
,&_arg1
))  
3599     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3600     _result 
= new wxFontEncodingArray (wxEncodingConverter::GetPlatformEquivalents(_arg0
,_arg1
)); 
3602     wxPyEndAllowThreads(__tstate
); 
3603     if (PyErr_Occurred()) return NULL
; 
3605     _resultobj 
= PyList_New(0); 
3606     for (size_t i
=0; i 
< _result
->GetCount(); i
++) { 
3607         PyObject
* number 
= PyInt_FromLong(_result
->Item(i
)); 
3608         PyList_Append(_resultobj
, number
); 
3615 static PyObject 
*_wrap_wxEncodingConverter_GetAllEquivalents(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3616     PyObject 
* _resultobj
; 
3617     wxFontEncodingArray 
* _result
; 
3618     wxFontEncoding  _arg0
; 
3619     char *_kwnames
[] = { "enc", NULL 
}; 
3622     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEncodingConverter_GetAllEquivalents",_kwnames
,&_arg0
))  
3625     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3626     _result 
= new wxFontEncodingArray (wxEncodingConverter::GetAllEquivalents(_arg0
)); 
3628     wxPyEndAllowThreads(__tstate
); 
3629     if (PyErr_Occurred()) return NULL
; 
3631     _resultobj 
= PyList_New(0); 
3632     for (size_t i
=0; i 
< _result
->GetCount(); i
++) { 
3633         PyObject
* number 
= PyInt_FromLong(_result
->Item(i
)); 
3634         PyList_Append(_resultobj
, number
); 
3641 static PyMethodDef fontscMethods
[] = { 
3642          { "wxEncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_wxEncodingConverter_GetAllEquivalents
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3643          { "wxEncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_wxEncodingConverter_GetPlatformEquivalents
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3644          { "wxEncodingConverter_Convert", (PyCFunction
) _wrap_wxEncodingConverter_Convert
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3645          { "wxEncodingConverter_Init", (PyCFunction
) _wrap_wxEncodingConverter_Init
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3646          { "delete_wxEncodingConverter", (PyCFunction
) _wrap_delete_wxEncodingConverter
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3647          { "new_wxEncodingConverter", (PyCFunction
) _wrap_new_wxEncodingConverter
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3648          { "wxLocale_GetName", (PyCFunction
) _wrap_wxLocale_GetName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3649          { "wxLocale_GetString", (PyCFunction
) _wrap_wxLocale_GetString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3650          { "wxLocale_AddLanguage", (PyCFunction
) _wrap_wxLocale_AddLanguage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3651          { "wxLocale_IsLoaded", (PyCFunction
) _wrap_wxLocale_IsLoaded
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3652          { "wxLocale_AddCatalog", (PyCFunction
) _wrap_wxLocale_AddCatalog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3653          { "wxLocale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_wxLocale_AddCatalogLookupPathPrefix
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3654          { "wxLocale_GetCanonicalName", (PyCFunction
) _wrap_wxLocale_GetCanonicalName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3655          { "wxLocale_GetSysName", (PyCFunction
) _wrap_wxLocale_GetSysName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3656          { "wxLocale_GetLanguage", (PyCFunction
) _wrap_wxLocale_GetLanguage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3657          { "wxLocale_GetLocale", (PyCFunction
) _wrap_wxLocale_GetLocale
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3658          { "wxLocale_IsOk", (PyCFunction
) _wrap_wxLocale_IsOk
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3659          { "wxLocale_GetSystemEncodingName", (PyCFunction
) _wrap_wxLocale_GetSystemEncodingName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3660          { "wxLocale_GetSystemEncoding", (PyCFunction
) _wrap_wxLocale_GetSystemEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3661          { "wxLocale_GetSystemLanguage", (PyCFunction
) _wrap_wxLocale_GetSystemLanguage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3662          { "delete_wxLocale", (PyCFunction
) _wrap_delete_wxLocale
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3663          { "wxLocale_Init", (PyCFunction
) _wrap_wxLocale_Init
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3664          { "new_wxLocale", (PyCFunction
) _wrap_new_wxLocale
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3665          { "wxLanguageInfo_Description_get", (PyCFunction
) _wrap_wxLanguageInfo_Description_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3666          { "wxLanguageInfo_Description_set", (PyCFunction
) _wrap_wxLanguageInfo_Description_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3667          { "wxLanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_wxLanguageInfo_CanonicalName_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3668          { "wxLanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_wxLanguageInfo_CanonicalName_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3669          { "wxLanguageInfo_Language_get", (PyCFunction
) _wrap_wxLanguageInfo_Language_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3670          { "wxLanguageInfo_Language_set", (PyCFunction
) _wrap_wxLanguageInfo_Language_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3671          { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3672          { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3673          { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3674          { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3675          { "wxFontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_wxFontEnumerator__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3676          { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3677          { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3678          { "wxFontList_GetCount", (PyCFunction
) _wrap_wxFontList_GetCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3679          { "wxFontList_RemoveFont", (PyCFunction
) _wrap_wxFontList_RemoveFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3680          { "wxFontList_FindOrCreateFont", (PyCFunction
) _wrap_wxFontList_FindOrCreateFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3681          { "wxFontList_AddFont", (PyCFunction
) _wrap_wxFontList_AddFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3682          { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3683          { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3684          { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3685          { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3686          { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3687          { "wxFont_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_SetNativeFontInfoUserDesc
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3688          { "wxFont_SetNativeFontInfo", (PyCFunction
) _wrap_wxFont_SetNativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3689          { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3690          { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3691          { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3692          { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3693          { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3694          { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3695          { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3696          { "wxFont_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoUserDesc
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3697          { "wxFont_GetNativeFontInfoDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoDesc
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3698          { "wxFont_GetNativeFontInfo", (PyCFunction
) _wrap_wxFont_GetNativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3699          { "wxFont_IsFixedWidth", (PyCFunction
) _wrap_wxFont_IsFixedWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3700          { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3701          { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3702          { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3703          { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3704          { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3705          { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3706          { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3707          { "wxFont_Ok", (PyCFunction
) _wrap_wxFont_Ok
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3708          { "delete_wxFont", (PyCFunction
) _wrap_delete_wxFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3709          { "new_wxFontFromNativeInfo", (PyCFunction
) _wrap_new_wxFontFromNativeInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3710          { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3711          { "wxFontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_wxFontMapper_GetDefaultConfigPath
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3712          { "wxFontMapper_SetConfigPath", (PyCFunction
) _wrap_wxFontMapper_SetConfigPath
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3713          { "wxFontMapper_SetConfig", (PyCFunction
) _wrap_wxFontMapper_SetConfig
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3714          { "wxFontMapper_SetDialogTitle", (PyCFunction
) _wrap_wxFontMapper_SetDialogTitle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3715          { "wxFontMapper_SetDialogParent", (PyCFunction
) _wrap_wxFontMapper_SetDialogParent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3716          { "wxFontMapper_GetEncodingDescription", (PyCFunction
) _wrap_wxFontMapper_GetEncodingDescription
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3717          { "wxFontMapper_GetEncodingName", (PyCFunction
) _wrap_wxFontMapper_GetEncodingName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3718          { "wxFontMapper_CharsetToEncoding", (PyCFunction
) _wrap_wxFontMapper_CharsetToEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3719          { "wxFontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_wxFontMapper_IsEncodingAvailable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3720          { "wxFontMapper_GetAltForEncoding", (PyCFunction
) _wrap_wxFontMapper_GetAltForEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3721          { "wxFontMapper_Set", (PyCFunction
) _wrap_wxFontMapper_Set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3722          { "wxFontMapper_Get", (PyCFunction
) _wrap_wxFontMapper_Get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3723          { "delete_wxFontMapper", (PyCFunction
) _wrap_delete_wxFontMapper
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3724          { "new_wxFontMapper", (PyCFunction
) _wrap_new_wxFontMapper
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3725          { "wxNativeFontInfo_ToUserString", (PyCFunction
) _wrap_wxNativeFontInfo_ToUserString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3726          { "wxNativeFontInfo_FromUserString", (PyCFunction
) _wrap_wxNativeFontInfo_FromUserString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3727          { "wxNativeFontInfo___str__", (PyCFunction
) _wrap_wxNativeFontInfo___str__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3728          { "wxNativeFontInfo_ToString", (PyCFunction
) _wrap_wxNativeFontInfo_ToString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3729          { "wxNativeFontInfo_FromString", (PyCFunction
) _wrap_wxNativeFontInfo_FromString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3730          { "wxNativeFontInfo_SetEncoding", (PyCFunction
) _wrap_wxNativeFontInfo_SetEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3731          { "wxNativeFontInfo_SetFamily", (PyCFunction
) _wrap_wxNativeFontInfo_SetFamily
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3732          { "wxNativeFontInfo_SetFaceName", (PyCFunction
) _wrap_wxNativeFontInfo_SetFaceName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3733          { "wxNativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_wxNativeFontInfo_SetUnderlined
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3734          { "wxNativeFontInfo_SetWeight", (PyCFunction
) _wrap_wxNativeFontInfo_SetWeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3735          { "wxNativeFontInfo_SetStyle", (PyCFunction
) _wrap_wxNativeFontInfo_SetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3736          { "wxNativeFontInfo_SetPointSize", (PyCFunction
) _wrap_wxNativeFontInfo_SetPointSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3737          { "wxNativeFontInfo_GetEncoding", (PyCFunction
) _wrap_wxNativeFontInfo_GetEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3738          { "wxNativeFontInfo_GetFamily", (PyCFunction
) _wrap_wxNativeFontInfo_GetFamily
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3739          { "wxNativeFontInfo_GetFaceName", (PyCFunction
) _wrap_wxNativeFontInfo_GetFaceName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3740          { "wxNativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_wxNativeFontInfo_GetUnderlined
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3741          { "wxNativeFontInfo_GetWeight", (PyCFunction
) _wrap_wxNativeFontInfo_GetWeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3742          { "wxNativeFontInfo_GetStyle", (PyCFunction
) _wrap_wxNativeFontInfo_GetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3743          { "wxNativeFontInfo_GetPointSize", (PyCFunction
) _wrap_wxNativeFontInfo_GetPointSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3744          { "wxNativeFontInfo_Init", (PyCFunction
) _wrap_wxNativeFontInfo_Init
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3745          { "new_wxNativeFontInfo", (PyCFunction
) _wrap_new_wxNativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3746          { "wxGetTranslation", (PyCFunction
) _wrap_wxGetTranslation
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3747          { "wxGetLocale", (PyCFunction
) _wrap_wxGetLocale
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3754  * This table is used by the pointer type-checker 
3756 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = { 
3757     { "_signed_long","_long",0}, 
3758     { "_wxPrintQuality","_wxCoord",0}, 
3759     { "_wxPrintQuality","_int",0}, 
3760     { "_wxPrintQuality","_signed_int",0}, 
3761     { "_wxPrintQuality","_unsigned_int",0}, 
3762     { "_wxPrintQuality","_wxWindowID",0}, 
3763     { "_wxPrintQuality","_uint",0}, 
3764     { "_wxPrintQuality","_EBool",0}, 
3765     { "_wxPrintQuality","_size_t",0}, 
3766     { "_wxPrintQuality","_time_t",0}, 
3767     { "_byte","_unsigned_char",0}, 
3768     { "_long","_unsigned_long",0}, 
3769     { "_long","_signed_long",0}, 
3770     { "_size_t","_wxCoord",0}, 
3771     { "_size_t","_wxPrintQuality",0}, 
3772     { "_size_t","_time_t",0}, 
3773     { "_size_t","_unsigned_int",0}, 
3774     { "_size_t","_int",0}, 
3775     { "_size_t","_wxWindowID",0}, 
3776     { "_size_t","_uint",0}, 
3777     { "_uint","_wxCoord",0}, 
3778     { "_uint","_wxPrintQuality",0}, 
3779     { "_uint","_time_t",0}, 
3780     { "_uint","_size_t",0}, 
3781     { "_uint","_unsigned_int",0}, 
3782     { "_uint","_int",0}, 
3783     { "_uint","_wxWindowID",0}, 
3784     { "_wxChar","_char",0}, 
3785     { "_char","_wxChar",0}, 
3786     { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, 
3787     { "_EBool","_wxCoord",0}, 
3788     { "_EBool","_wxPrintQuality",0}, 
3789     { "_EBool","_signed_int",0}, 
3790     { "_EBool","_int",0}, 
3791     { "_EBool","_wxWindowID",0}, 
3792     { "_unsigned_long","_long",0}, 
3793     { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, 
3794     { "_signed_int","_wxCoord",0}, 
3795     { "_signed_int","_wxPrintQuality",0}, 
3796     { "_signed_int","_EBool",0}, 
3797     { "_signed_int","_wxWindowID",0}, 
3798     { "_signed_int","_int",0}, 
3799     { "_WXTYPE","_short",0}, 
3800     { "_WXTYPE","_signed_short",0}, 
3801     { "_WXTYPE","_unsigned_short",0}, 
3802     { "_unsigned_short","_WXTYPE",0}, 
3803     { "_unsigned_short","_short",0}, 
3804     { "_wxObject","_wxEncodingConverter",SwigwxEncodingConverterTowxObject
}, 
3805     { "_wxObject","_wxFontList",SwigwxFontListTowxObject
}, 
3806     { "_wxObject","_wxFont",SwigwxFontTowxObject
}, 
3807     { "_signed_short","_WXTYPE",0}, 
3808     { "_signed_short","_short",0}, 
3809     { "_unsigned_char","_byte",0}, 
3810     { "_unsigned_int","_wxCoord",0}, 
3811     { "_unsigned_int","_wxPrintQuality",0}, 
3812     { "_unsigned_int","_time_t",0}, 
3813     { "_unsigned_int","_size_t",0}, 
3814     { "_unsigned_int","_uint",0}, 
3815     { "_unsigned_int","_wxWindowID",0}, 
3816     { "_unsigned_int","_int",0}, 
3817     { "_short","_WXTYPE",0}, 
3818     { "_short","_unsigned_short",0}, 
3819     { "_short","_signed_short",0}, 
3820     { "_wxWindowID","_wxCoord",0}, 
3821     { "_wxWindowID","_wxPrintQuality",0}, 
3822     { "_wxWindowID","_time_t",0}, 
3823     { "_wxWindowID","_size_t",0}, 
3824     { "_wxWindowID","_EBool",0}, 
3825     { "_wxWindowID","_uint",0}, 
3826     { "_wxWindowID","_int",0}, 
3827     { "_wxWindowID","_signed_int",0}, 
3828     { "_wxWindowID","_unsigned_int",0}, 
3829     { "_int","_wxCoord",0}, 
3830     { "_int","_wxPrintQuality",0}, 
3831     { "_int","_time_t",0}, 
3832     { "_int","_size_t",0}, 
3833     { "_int","_EBool",0}, 
3834     { "_int","_uint",0}, 
3835     { "_int","_wxWindowID",0}, 
3836     { "_int","_unsigned_int",0}, 
3837     { "_int","_signed_int",0}, 
3838     { "_time_t","_wxCoord",0}, 
3839     { "_time_t","_wxPrintQuality",0}, 
3840     { "_time_t","_unsigned_int",0}, 
3841     { "_time_t","_int",0}, 
3842     { "_time_t","_wxWindowID",0}, 
3843     { "_time_t","_uint",0}, 
3844     { "_time_t","_size_t",0}, 
3845     { "_wxCoord","_int",0}, 
3846     { "_wxCoord","_signed_int",0}, 
3847     { "_wxCoord","_unsigned_int",0}, 
3848     { "_wxCoord","_wxWindowID",0}, 
3849     { "_wxCoord","_uint",0}, 
3850     { "_wxCoord","_EBool",0}, 
3851     { "_wxCoord","_size_t",0}, 
3852     { "_wxCoord","_time_t",0}, 
3853     { "_wxCoord","_wxPrintQuality",0}, 
3856 static PyObject 
*SWIG_globals
; 
3860 SWIGEXPORT(void) initfontsc() { 
3862          SWIG_globals 
= SWIG_newvarlink(); 
3863          m 
= Py_InitModule("fontsc", fontscMethods
); 
3864          d 
= PyModule_GetDict(m
); 
3865          PyDict_SetItemString(d
,"wxFONTFAMILY_DEFAULT", PyInt_FromLong((long) wxFONTFAMILY_DEFAULT
)); 
3866          PyDict_SetItemString(d
,"wxFONTFAMILY_DECORATIVE", PyInt_FromLong((long) wxFONTFAMILY_DECORATIVE
)); 
3867          PyDict_SetItemString(d
,"wxFONTFAMILY_ROMAN", PyInt_FromLong((long) wxFONTFAMILY_ROMAN
)); 
3868          PyDict_SetItemString(d
,"wxFONTFAMILY_SCRIPT", PyInt_FromLong((long) wxFONTFAMILY_SCRIPT
)); 
3869          PyDict_SetItemString(d
,"wxFONTFAMILY_SWISS", PyInt_FromLong((long) wxFONTFAMILY_SWISS
)); 
3870          PyDict_SetItemString(d
,"wxFONTFAMILY_MODERN", PyInt_FromLong((long) wxFONTFAMILY_MODERN
)); 
3871          PyDict_SetItemString(d
,"wxFONTFAMILY_TELETYPE", PyInt_FromLong((long) wxFONTFAMILY_TELETYPE
)); 
3872          PyDict_SetItemString(d
,"wxFONTFAMILY_MAX", PyInt_FromLong((long) wxFONTFAMILY_MAX
)); 
3873          PyDict_SetItemString(d
,"wxFONTFAMILY_UNKNOWN", PyInt_FromLong((long) wxFONTFAMILY_UNKNOWN
)); 
3874          PyDict_SetItemString(d
,"wxFONTSTYLE_NORMAL", PyInt_FromLong((long) wxFONTSTYLE_NORMAL
)); 
3875          PyDict_SetItemString(d
,"wxFONTSTYLE_ITALIC", PyInt_FromLong((long) wxFONTSTYLE_ITALIC
)); 
3876          PyDict_SetItemString(d
,"wxFONTSTYLE_SLANT", PyInt_FromLong((long) wxFONTSTYLE_SLANT
)); 
3877          PyDict_SetItemString(d
,"wxFONTSTYLE_MAX", PyInt_FromLong((long) wxFONTSTYLE_MAX
)); 
3878          PyDict_SetItemString(d
,"wxFONTWEIGHT_NORMAL", PyInt_FromLong((long) wxFONTWEIGHT_NORMAL
)); 
3879          PyDict_SetItemString(d
,"wxFONTWEIGHT_LIGHT", PyInt_FromLong((long) wxFONTWEIGHT_LIGHT
)); 
3880          PyDict_SetItemString(d
,"wxFONTWEIGHT_BOLD", PyInt_FromLong((long) wxFONTWEIGHT_BOLD
)); 
3881          PyDict_SetItemString(d
,"wxFONTWEIGHT_MAX", PyInt_FromLong((long) wxFONTWEIGHT_MAX
)); 
3882          PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
)); 
3883          PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
)); 
3884          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
)); 
3885          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
)); 
3886          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
)); 
3887          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
)); 
3888          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
)); 
3889          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
)); 
3890          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
)); 
3891          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
)); 
3892          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
)); 
3893          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
)); 
3894          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
)); 
3895          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
)); 
3896          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
)); 
3897          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
)); 
3898          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
)); 
3899          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_MAX", PyInt_FromLong((long) wxFONTENCODING_ISO8859_MAX
)); 
3900          PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
)); 
3901          PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
)); 
3902          PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
)); 
3903          PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
)); 
3904          PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
)); 
3905          PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
)); 
3906          PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
)); 
3907          PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
)); 
3908          PyDict_SetItemString(d
,"wxFONTENCODING_CP874", PyInt_FromLong((long) wxFONTENCODING_CP874
)); 
3909          PyDict_SetItemString(d
,"wxFONTENCODING_CP932", PyInt_FromLong((long) wxFONTENCODING_CP932
)); 
3910          PyDict_SetItemString(d
,"wxFONTENCODING_CP936", PyInt_FromLong((long) wxFONTENCODING_CP936
)); 
3911          PyDict_SetItemString(d
,"wxFONTENCODING_CP949", PyInt_FromLong((long) wxFONTENCODING_CP949
)); 
3912          PyDict_SetItemString(d
,"wxFONTENCODING_CP950", PyInt_FromLong((long) wxFONTENCODING_CP950
)); 
3913          PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
)); 
3914          PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
)); 
3915          PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
)); 
3916          PyDict_SetItemString(d
,"wxFONTENCODING_CP1253", PyInt_FromLong((long) wxFONTENCODING_CP1253
)); 
3917          PyDict_SetItemString(d
,"wxFONTENCODING_CP1254", PyInt_FromLong((long) wxFONTENCODING_CP1254
)); 
3918          PyDict_SetItemString(d
,"wxFONTENCODING_CP1255", PyInt_FromLong((long) wxFONTENCODING_CP1255
)); 
3919          PyDict_SetItemString(d
,"wxFONTENCODING_CP1256", PyInt_FromLong((long) wxFONTENCODING_CP1256
)); 
3920          PyDict_SetItemString(d
,"wxFONTENCODING_CP1257", PyInt_FromLong((long) wxFONTENCODING_CP1257
)); 
3921          PyDict_SetItemString(d
,"wxFONTENCODING_CP12_MAX", PyInt_FromLong((long) wxFONTENCODING_CP12_MAX
)); 
3922          PyDict_SetItemString(d
,"wxFONTENCODING_UTF7", PyInt_FromLong((long) wxFONTENCODING_UTF7
)); 
3923          PyDict_SetItemString(d
,"wxFONTENCODING_UTF8", PyInt_FromLong((long) wxFONTENCODING_UTF8
)); 
3924          PyDict_SetItemString(d
,"wxFONTENCODING_UNICODE", PyInt_FromLong((long) wxFONTENCODING_UNICODE
)); 
3925          PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
)); 
3926          PyDict_SetItemString(d
,"wxLANGUAGE_DEFAULT", PyInt_FromLong((long) wxLANGUAGE_DEFAULT
)); 
3927          PyDict_SetItemString(d
,"wxLANGUAGE_UNKNOWN", PyInt_FromLong((long) wxLANGUAGE_UNKNOWN
)); 
3928          PyDict_SetItemString(d
,"wxLANGUAGE_ABKHAZIAN", PyInt_FromLong((long) wxLANGUAGE_ABKHAZIAN
)); 
3929          PyDict_SetItemString(d
,"wxLANGUAGE_AFAR", PyInt_FromLong((long) wxLANGUAGE_AFAR
)); 
3930          PyDict_SetItemString(d
,"wxLANGUAGE_AFRIKAANS", PyInt_FromLong((long) wxLANGUAGE_AFRIKAANS
)); 
3931          PyDict_SetItemString(d
,"wxLANGUAGE_ALBANIAN", PyInt_FromLong((long) wxLANGUAGE_ALBANIAN
)); 
3932          PyDict_SetItemString(d
,"wxLANGUAGE_AMHARIC", PyInt_FromLong((long) wxLANGUAGE_AMHARIC
)); 
3933          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC", PyInt_FromLong((long) wxLANGUAGE_ARABIC
)); 
3934          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_ALGERIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_ALGERIA
)); 
3935          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_BAHRAIN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_BAHRAIN
)); 
3936          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_EGYPT", PyInt_FromLong((long) wxLANGUAGE_ARABIC_EGYPT
)); 
3937          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_IRAQ", PyInt_FromLong((long) wxLANGUAGE_ARABIC_IRAQ
)); 
3938          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_JORDAN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_JORDAN
)); 
3939          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_KUWAIT", PyInt_FromLong((long) wxLANGUAGE_ARABIC_KUWAIT
)); 
3940          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_LEBANON", PyInt_FromLong((long) wxLANGUAGE_ARABIC_LEBANON
)); 
3941          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_LIBYA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_LIBYA
)); 
3942          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_MOROCCO", PyInt_FromLong((long) wxLANGUAGE_ARABIC_MOROCCO
)); 
3943          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_OMAN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_OMAN
)); 
3944          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_QATAR", PyInt_FromLong((long) wxLANGUAGE_ARABIC_QATAR
)); 
3945          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_SAUDI_ARABIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_SAUDI_ARABIA
)); 
3946          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_SUDAN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_SUDAN
)); 
3947          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_SYRIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_SYRIA
)); 
3948          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_TUNISIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_TUNISIA
)); 
3949          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_UAE", PyInt_FromLong((long) wxLANGUAGE_ARABIC_UAE
)); 
3950          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_YEMEN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_YEMEN
)); 
3951          PyDict_SetItemString(d
,"wxLANGUAGE_ARMENIAN", PyInt_FromLong((long) wxLANGUAGE_ARMENIAN
)); 
3952          PyDict_SetItemString(d
,"wxLANGUAGE_ASSAMESE", PyInt_FromLong((long) wxLANGUAGE_ASSAMESE
)); 
3953          PyDict_SetItemString(d
,"wxLANGUAGE_AYMARA", PyInt_FromLong((long) wxLANGUAGE_AYMARA
)); 
3954          PyDict_SetItemString(d
,"wxLANGUAGE_AZERI", PyInt_FromLong((long) wxLANGUAGE_AZERI
)); 
3955          PyDict_SetItemString(d
,"wxLANGUAGE_AZERI_CYRILLIC", PyInt_FromLong((long) wxLANGUAGE_AZERI_CYRILLIC
)); 
3956          PyDict_SetItemString(d
,"wxLANGUAGE_AZERI_LATIN", PyInt_FromLong((long) wxLANGUAGE_AZERI_LATIN
)); 
3957          PyDict_SetItemString(d
,"wxLANGUAGE_BASHKIR", PyInt_FromLong((long) wxLANGUAGE_BASHKIR
)); 
3958          PyDict_SetItemString(d
,"wxLANGUAGE_BASQUE", PyInt_FromLong((long) wxLANGUAGE_BASQUE
)); 
3959          PyDict_SetItemString(d
,"wxLANGUAGE_BELARUSIAN", PyInt_FromLong((long) wxLANGUAGE_BELARUSIAN
)); 
3960          PyDict_SetItemString(d
,"wxLANGUAGE_BENGALI", PyInt_FromLong((long) wxLANGUAGE_BENGALI
)); 
3961          PyDict_SetItemString(d
,"wxLANGUAGE_BHUTANI", PyInt_FromLong((long) wxLANGUAGE_BHUTANI
)); 
3962          PyDict_SetItemString(d
,"wxLANGUAGE_BIHARI", PyInt_FromLong((long) wxLANGUAGE_BIHARI
)); 
3963          PyDict_SetItemString(d
,"wxLANGUAGE_BISLAMA", PyInt_FromLong((long) wxLANGUAGE_BISLAMA
)); 
3964          PyDict_SetItemString(d
,"wxLANGUAGE_BRETON", PyInt_FromLong((long) wxLANGUAGE_BRETON
)); 
3965          PyDict_SetItemString(d
,"wxLANGUAGE_BULGARIAN", PyInt_FromLong((long) wxLANGUAGE_BULGARIAN
)); 
3966          PyDict_SetItemString(d
,"wxLANGUAGE_BURMESE", PyInt_FromLong((long) wxLANGUAGE_BURMESE
)); 
3967          PyDict_SetItemString(d
,"wxLANGUAGE_CAMBODIAN", PyInt_FromLong((long) wxLANGUAGE_CAMBODIAN
)); 
3968          PyDict_SetItemString(d
,"wxLANGUAGE_CATALAN", PyInt_FromLong((long) wxLANGUAGE_CATALAN
)); 
3969          PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE", PyInt_FromLong((long) wxLANGUAGE_CHINESE
)); 
3970          PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_SIMPLIFIED", PyInt_FromLong((long) wxLANGUAGE_CHINESE_SIMPLIFIED
)); 
3971          PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_TRADITIONAL", PyInt_FromLong((long) wxLANGUAGE_CHINESE_TRADITIONAL
)); 
3972          PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_HONGKONG", PyInt_FromLong((long) wxLANGUAGE_CHINESE_HONGKONG
)); 
3973          PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_MACAU", PyInt_FromLong((long) wxLANGUAGE_CHINESE_MACAU
)); 
3974          PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_SINGAPORE", PyInt_FromLong((long) wxLANGUAGE_CHINESE_SINGAPORE
)); 
3975          PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_TAIWAN", PyInt_FromLong((long) wxLANGUAGE_CHINESE_TAIWAN
)); 
3976          PyDict_SetItemString(d
,"wxLANGUAGE_CORSICAN", PyInt_FromLong((long) wxLANGUAGE_CORSICAN
)); 
3977          PyDict_SetItemString(d
,"wxLANGUAGE_CROATIAN", PyInt_FromLong((long) wxLANGUAGE_CROATIAN
)); 
3978          PyDict_SetItemString(d
,"wxLANGUAGE_CZECH", PyInt_FromLong((long) wxLANGUAGE_CZECH
)); 
3979          PyDict_SetItemString(d
,"wxLANGUAGE_DANISH", PyInt_FromLong((long) wxLANGUAGE_DANISH
)); 
3980          PyDict_SetItemString(d
,"wxLANGUAGE_DUTCH", PyInt_FromLong((long) wxLANGUAGE_DUTCH
)); 
3981          PyDict_SetItemString(d
,"wxLANGUAGE_DUTCH_BELGIAN", PyInt_FromLong((long) wxLANGUAGE_DUTCH_BELGIAN
)); 
3982          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH", PyInt_FromLong((long) wxLANGUAGE_ENGLISH
)); 
3983          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_UK", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_UK
)); 
3984          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_US", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_US
)); 
3985          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_AUSTRALIA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_AUSTRALIA
)); 
3986          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_BELIZE", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_BELIZE
)); 
3987          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_BOTSWANA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_BOTSWANA
)); 
3988          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_CANADA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_CANADA
)); 
3989          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_CARIBBEAN", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_CARIBBEAN
)); 
3990          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_DENMARK", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_DENMARK
)); 
3991          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_EIRE", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_EIRE
)); 
3992          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_JAMAICA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_JAMAICA
)); 
3993          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_NEW_ZEALAND", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_NEW_ZEALAND
)); 
3994          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_PHILIPPINES", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_PHILIPPINES
)); 
3995          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_SOUTH_AFRICA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)); 
3996          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_TRINIDAD", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_TRINIDAD
)); 
3997          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_ZIMBABWE", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_ZIMBABWE
)); 
3998          PyDict_SetItemString(d
,"wxLANGUAGE_ESPERANTO", PyInt_FromLong((long) wxLANGUAGE_ESPERANTO
)); 
3999          PyDict_SetItemString(d
,"wxLANGUAGE_ESTONIAN", PyInt_FromLong((long) wxLANGUAGE_ESTONIAN
)); 
4000          PyDict_SetItemString(d
,"wxLANGUAGE_FAEROESE", PyInt_FromLong((long) wxLANGUAGE_FAEROESE
)); 
4001          PyDict_SetItemString(d
,"wxLANGUAGE_FARSI", PyInt_FromLong((long) wxLANGUAGE_FARSI
)); 
4002          PyDict_SetItemString(d
,"wxLANGUAGE_FIJI", PyInt_FromLong((long) wxLANGUAGE_FIJI
)); 
4003          PyDict_SetItemString(d
,"wxLANGUAGE_FINNISH", PyInt_FromLong((long) wxLANGUAGE_FINNISH
)); 
4004          PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH", PyInt_FromLong((long) wxLANGUAGE_FRENCH
)); 
4005          PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_BELGIAN", PyInt_FromLong((long) wxLANGUAGE_FRENCH_BELGIAN
)); 
4006          PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_CANADIAN", PyInt_FromLong((long) wxLANGUAGE_FRENCH_CANADIAN
)); 
4007          PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_LUXEMBOURG", PyInt_FromLong((long) wxLANGUAGE_FRENCH_LUXEMBOURG
)); 
4008          PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_MONACO", PyInt_FromLong((long) wxLANGUAGE_FRENCH_MONACO
)); 
4009          PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_SWISS", PyInt_FromLong((long) wxLANGUAGE_FRENCH_SWISS
)); 
4010          PyDict_SetItemString(d
,"wxLANGUAGE_FRISIAN", PyInt_FromLong((long) wxLANGUAGE_FRISIAN
)); 
4011          PyDict_SetItemString(d
,"wxLANGUAGE_GALICIAN", PyInt_FromLong((long) wxLANGUAGE_GALICIAN
)); 
4012          PyDict_SetItemString(d
,"wxLANGUAGE_GEORGIAN", PyInt_FromLong((long) wxLANGUAGE_GEORGIAN
)); 
4013          PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN", PyInt_FromLong((long) wxLANGUAGE_GERMAN
)); 
4014          PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_AUSTRIAN", PyInt_FromLong((long) wxLANGUAGE_GERMAN_AUSTRIAN
)); 
4015          PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_BELGIUM", PyInt_FromLong((long) wxLANGUAGE_GERMAN_BELGIUM
)); 
4016          PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_LIECHTENSTEIN", PyInt_FromLong((long) wxLANGUAGE_GERMAN_LIECHTENSTEIN
)); 
4017          PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_LUXEMBOURG", PyInt_FromLong((long) wxLANGUAGE_GERMAN_LUXEMBOURG
)); 
4018          PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_SWISS", PyInt_FromLong((long) wxLANGUAGE_GERMAN_SWISS
)); 
4019          PyDict_SetItemString(d
,"wxLANGUAGE_GREEK", PyInt_FromLong((long) wxLANGUAGE_GREEK
)); 
4020          PyDict_SetItemString(d
,"wxLANGUAGE_GREENLANDIC", PyInt_FromLong((long) wxLANGUAGE_GREENLANDIC
)); 
4021          PyDict_SetItemString(d
,"wxLANGUAGE_GUARANI", PyInt_FromLong((long) wxLANGUAGE_GUARANI
)); 
4022          PyDict_SetItemString(d
,"wxLANGUAGE_GUJARATI", PyInt_FromLong((long) wxLANGUAGE_GUJARATI
)); 
4023          PyDict_SetItemString(d
,"wxLANGUAGE_HAUSA", PyInt_FromLong((long) wxLANGUAGE_HAUSA
)); 
4024          PyDict_SetItemString(d
,"wxLANGUAGE_HEBREW", PyInt_FromLong((long) wxLANGUAGE_HEBREW
)); 
4025          PyDict_SetItemString(d
,"wxLANGUAGE_HINDI", PyInt_FromLong((long) wxLANGUAGE_HINDI
)); 
4026          PyDict_SetItemString(d
,"wxLANGUAGE_HUNGARIAN", PyInt_FromLong((long) wxLANGUAGE_HUNGARIAN
)); 
4027          PyDict_SetItemString(d
,"wxLANGUAGE_ICELANDIC", PyInt_FromLong((long) wxLANGUAGE_ICELANDIC
)); 
4028          PyDict_SetItemString(d
,"wxLANGUAGE_INDONESIAN", PyInt_FromLong((long) wxLANGUAGE_INDONESIAN
)); 
4029          PyDict_SetItemString(d
,"wxLANGUAGE_INTERLINGUA", PyInt_FromLong((long) wxLANGUAGE_INTERLINGUA
)); 
4030          PyDict_SetItemString(d
,"wxLANGUAGE_INTERLINGUE", PyInt_FromLong((long) wxLANGUAGE_INTERLINGUE
)); 
4031          PyDict_SetItemString(d
,"wxLANGUAGE_INUKTITUT", PyInt_FromLong((long) wxLANGUAGE_INUKTITUT
)); 
4032          PyDict_SetItemString(d
,"wxLANGUAGE_INUPIAK", PyInt_FromLong((long) wxLANGUAGE_INUPIAK
)); 
4033          PyDict_SetItemString(d
,"wxLANGUAGE_IRISH", PyInt_FromLong((long) wxLANGUAGE_IRISH
)); 
4034          PyDict_SetItemString(d
,"wxLANGUAGE_ITALIAN", PyInt_FromLong((long) wxLANGUAGE_ITALIAN
)); 
4035          PyDict_SetItemString(d
,"wxLANGUAGE_ITALIAN_SWISS", PyInt_FromLong((long) wxLANGUAGE_ITALIAN_SWISS
)); 
4036          PyDict_SetItemString(d
,"wxLANGUAGE_JAPANESE", PyInt_FromLong((long) wxLANGUAGE_JAPANESE
)); 
4037          PyDict_SetItemString(d
,"wxLANGUAGE_JAVANESE", PyInt_FromLong((long) wxLANGUAGE_JAVANESE
)); 
4038          PyDict_SetItemString(d
,"wxLANGUAGE_KANNADA", PyInt_FromLong((long) wxLANGUAGE_KANNADA
)); 
4039          PyDict_SetItemString(d
,"wxLANGUAGE_KASHMIRI", PyInt_FromLong((long) wxLANGUAGE_KASHMIRI
)); 
4040          PyDict_SetItemString(d
,"wxLANGUAGE_KASHMIRI_INDIA", PyInt_FromLong((long) wxLANGUAGE_KASHMIRI_INDIA
)); 
4041          PyDict_SetItemString(d
,"wxLANGUAGE_KAZAKH", PyInt_FromLong((long) wxLANGUAGE_KAZAKH
)); 
4042          PyDict_SetItemString(d
,"wxLANGUAGE_KERNEWEK", PyInt_FromLong((long) wxLANGUAGE_KERNEWEK
)); 
4043          PyDict_SetItemString(d
,"wxLANGUAGE_KINYARWANDA", PyInt_FromLong((long) wxLANGUAGE_KINYARWANDA
)); 
4044          PyDict_SetItemString(d
,"wxLANGUAGE_KIRGHIZ", PyInt_FromLong((long) wxLANGUAGE_KIRGHIZ
)); 
4045          PyDict_SetItemString(d
,"wxLANGUAGE_KIRUNDI", PyInt_FromLong((long) wxLANGUAGE_KIRUNDI
)); 
4046          PyDict_SetItemString(d
,"wxLANGUAGE_KONKANI", PyInt_FromLong((long) wxLANGUAGE_KONKANI
)); 
4047          PyDict_SetItemString(d
,"wxLANGUAGE_KOREAN", PyInt_FromLong((long) wxLANGUAGE_KOREAN
)); 
4048          PyDict_SetItemString(d
,"wxLANGUAGE_KURDISH", PyInt_FromLong((long) wxLANGUAGE_KURDISH
)); 
4049          PyDict_SetItemString(d
,"wxLANGUAGE_LAOTHIAN", PyInt_FromLong((long) wxLANGUAGE_LAOTHIAN
)); 
4050          PyDict_SetItemString(d
,"wxLANGUAGE_LATIN", PyInt_FromLong((long) wxLANGUAGE_LATIN
)); 
4051          PyDict_SetItemString(d
,"wxLANGUAGE_LATVIAN", PyInt_FromLong((long) wxLANGUAGE_LATVIAN
)); 
4052          PyDict_SetItemString(d
,"wxLANGUAGE_LINGALA", PyInt_FromLong((long) wxLANGUAGE_LINGALA
)); 
4053          PyDict_SetItemString(d
,"wxLANGUAGE_LITHUANIAN", PyInt_FromLong((long) wxLANGUAGE_LITHUANIAN
)); 
4054          PyDict_SetItemString(d
,"wxLANGUAGE_MACEDONIAN", PyInt_FromLong((long) wxLANGUAGE_MACEDONIAN
)); 
4055          PyDict_SetItemString(d
,"wxLANGUAGE_MALAGASY", PyInt_FromLong((long) wxLANGUAGE_MALAGASY
)); 
4056          PyDict_SetItemString(d
,"wxLANGUAGE_MALAY", PyInt_FromLong((long) wxLANGUAGE_MALAY
)); 
4057          PyDict_SetItemString(d
,"wxLANGUAGE_MALAYALAM", PyInt_FromLong((long) wxLANGUAGE_MALAYALAM
)); 
4058          PyDict_SetItemString(d
,"wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM", PyInt_FromLong((long) wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)); 
4059          PyDict_SetItemString(d
,"wxLANGUAGE_MALAY_MALAYSIA", PyInt_FromLong((long) wxLANGUAGE_MALAY_MALAYSIA
)); 
4060          PyDict_SetItemString(d
,"wxLANGUAGE_MALTESE", PyInt_FromLong((long) wxLANGUAGE_MALTESE
)); 
4061          PyDict_SetItemString(d
,"wxLANGUAGE_MANIPURI", PyInt_FromLong((long) wxLANGUAGE_MANIPURI
)); 
4062          PyDict_SetItemString(d
,"wxLANGUAGE_MAORI", PyInt_FromLong((long) wxLANGUAGE_MAORI
)); 
4063          PyDict_SetItemString(d
,"wxLANGUAGE_MARATHI", PyInt_FromLong((long) wxLANGUAGE_MARATHI
)); 
4064          PyDict_SetItemString(d
,"wxLANGUAGE_MOLDAVIAN", PyInt_FromLong((long) wxLANGUAGE_MOLDAVIAN
)); 
4065          PyDict_SetItemString(d
,"wxLANGUAGE_MONGOLIAN", PyInt_FromLong((long) wxLANGUAGE_MONGOLIAN
)); 
4066          PyDict_SetItemString(d
,"wxLANGUAGE_NAURU", PyInt_FromLong((long) wxLANGUAGE_NAURU
)); 
4067          PyDict_SetItemString(d
,"wxLANGUAGE_NEPALI", PyInt_FromLong((long) wxLANGUAGE_NEPALI
)); 
4068          PyDict_SetItemString(d
,"wxLANGUAGE_NEPALI_INDIA", PyInt_FromLong((long) wxLANGUAGE_NEPALI_INDIA
)); 
4069          PyDict_SetItemString(d
,"wxLANGUAGE_NORWEGIAN_BOKMAL", PyInt_FromLong((long) wxLANGUAGE_NORWEGIAN_BOKMAL
)); 
4070          PyDict_SetItemString(d
,"wxLANGUAGE_NORWEGIAN_NYNORSK", PyInt_FromLong((long) wxLANGUAGE_NORWEGIAN_NYNORSK
)); 
4071          PyDict_SetItemString(d
,"wxLANGUAGE_OCCITAN", PyInt_FromLong((long) wxLANGUAGE_OCCITAN
)); 
4072          PyDict_SetItemString(d
,"wxLANGUAGE_ORIYA", PyInt_FromLong((long) wxLANGUAGE_ORIYA
)); 
4073          PyDict_SetItemString(d
,"wxLANGUAGE_OROMO", PyInt_FromLong((long) wxLANGUAGE_OROMO
)); 
4074          PyDict_SetItemString(d
,"wxLANGUAGE_PASHTO", PyInt_FromLong((long) wxLANGUAGE_PASHTO
)); 
4075          PyDict_SetItemString(d
,"wxLANGUAGE_POLISH", PyInt_FromLong((long) wxLANGUAGE_POLISH
)); 
4076          PyDict_SetItemString(d
,"wxLANGUAGE_PORTUGUESE", PyInt_FromLong((long) wxLANGUAGE_PORTUGUESE
)); 
4077          PyDict_SetItemString(d
,"wxLANGUAGE_PORTUGUESE_BRAZILIAN", PyInt_FromLong((long) wxLANGUAGE_PORTUGUESE_BRAZILIAN
)); 
4078          PyDict_SetItemString(d
,"wxLANGUAGE_PUNJABI", PyInt_FromLong((long) wxLANGUAGE_PUNJABI
)); 
4079          PyDict_SetItemString(d
,"wxLANGUAGE_QUECHUA", PyInt_FromLong((long) wxLANGUAGE_QUECHUA
)); 
4080          PyDict_SetItemString(d
,"wxLANGUAGE_RHAETO_ROMANCE", PyInt_FromLong((long) wxLANGUAGE_RHAETO_ROMANCE
)); 
4081          PyDict_SetItemString(d
,"wxLANGUAGE_ROMANIAN", PyInt_FromLong((long) wxLANGUAGE_ROMANIAN
)); 
4082          PyDict_SetItemString(d
,"wxLANGUAGE_RUSSIAN", PyInt_FromLong((long) wxLANGUAGE_RUSSIAN
)); 
4083          PyDict_SetItemString(d
,"wxLANGUAGE_RUSSIAN_UKRAINE", PyInt_FromLong((long) wxLANGUAGE_RUSSIAN_UKRAINE
)); 
4084          PyDict_SetItemString(d
,"wxLANGUAGE_SAMOAN", PyInt_FromLong((long) wxLANGUAGE_SAMOAN
)); 
4085          PyDict_SetItemString(d
,"wxLANGUAGE_SANGHO", PyInt_FromLong((long) wxLANGUAGE_SANGHO
)); 
4086          PyDict_SetItemString(d
,"wxLANGUAGE_SANSKRIT", PyInt_FromLong((long) wxLANGUAGE_SANSKRIT
)); 
4087          PyDict_SetItemString(d
,"wxLANGUAGE_SCOTS_GAELIC", PyInt_FromLong((long) wxLANGUAGE_SCOTS_GAELIC
)); 
4088          PyDict_SetItemString(d
,"wxLANGUAGE_SERBIAN", PyInt_FromLong((long) wxLANGUAGE_SERBIAN
)); 
4089          PyDict_SetItemString(d
,"wxLANGUAGE_SERBIAN_CYRILLIC", PyInt_FromLong((long) wxLANGUAGE_SERBIAN_CYRILLIC
)); 
4090          PyDict_SetItemString(d
,"wxLANGUAGE_SERBIAN_LATIN", PyInt_FromLong((long) wxLANGUAGE_SERBIAN_LATIN
)); 
4091          PyDict_SetItemString(d
,"wxLANGUAGE_SERBO_CROATIAN", PyInt_FromLong((long) wxLANGUAGE_SERBO_CROATIAN
)); 
4092          PyDict_SetItemString(d
,"wxLANGUAGE_SESOTHO", PyInt_FromLong((long) wxLANGUAGE_SESOTHO
)); 
4093          PyDict_SetItemString(d
,"wxLANGUAGE_SETSWANA", PyInt_FromLong((long) wxLANGUAGE_SETSWANA
)); 
4094          PyDict_SetItemString(d
,"wxLANGUAGE_SHONA", PyInt_FromLong((long) wxLANGUAGE_SHONA
)); 
4095          PyDict_SetItemString(d
,"wxLANGUAGE_SINDHI", PyInt_FromLong((long) wxLANGUAGE_SINDHI
)); 
4096          PyDict_SetItemString(d
,"wxLANGUAGE_SINHALESE", PyInt_FromLong((long) wxLANGUAGE_SINHALESE
)); 
4097          PyDict_SetItemString(d
,"wxLANGUAGE_SISWATI", PyInt_FromLong((long) wxLANGUAGE_SISWATI
)); 
4098          PyDict_SetItemString(d
,"wxLANGUAGE_SLOVAK", PyInt_FromLong((long) wxLANGUAGE_SLOVAK
)); 
4099          PyDict_SetItemString(d
,"wxLANGUAGE_SLOVENIAN", PyInt_FromLong((long) wxLANGUAGE_SLOVENIAN
)); 
4100          PyDict_SetItemString(d
,"wxLANGUAGE_SOMALI", PyInt_FromLong((long) wxLANGUAGE_SOMALI
)); 
4101          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH", PyInt_FromLong((long) wxLANGUAGE_SPANISH
)); 
4102          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_ARGENTINA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_ARGENTINA
)); 
4103          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_BOLIVIA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_BOLIVIA
)); 
4104          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_CHILE", PyInt_FromLong((long) wxLANGUAGE_SPANISH_CHILE
)); 
4105          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_COLOMBIA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_COLOMBIA
)); 
4106          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_COSTA_RICA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_COSTA_RICA
)); 
4107          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC", PyInt_FromLong((long) wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)); 
4108          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_ECUADOR", PyInt_FromLong((long) wxLANGUAGE_SPANISH_ECUADOR
)); 
4109          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_EL_SALVADOR", PyInt_FromLong((long) wxLANGUAGE_SPANISH_EL_SALVADOR
)); 
4110          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_GUATEMALA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_GUATEMALA
)); 
4111          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_HONDURAS", PyInt_FromLong((long) wxLANGUAGE_SPANISH_HONDURAS
)); 
4112          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_MEXICAN", PyInt_FromLong((long) wxLANGUAGE_SPANISH_MEXICAN
)); 
4113          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_MODERN", PyInt_FromLong((long) wxLANGUAGE_SPANISH_MODERN
)); 
4114          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_NICARAGUA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_NICARAGUA
)); 
4115          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PANAMA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PANAMA
)); 
4116          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PARAGUAY", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PARAGUAY
)); 
4117          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PERU", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PERU
)); 
4118          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PUERTO_RICO", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PUERTO_RICO
)); 
4119          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_URUGUAY", PyInt_FromLong((long) wxLANGUAGE_SPANISH_URUGUAY
)); 
4120          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_US", PyInt_FromLong((long) wxLANGUAGE_SPANISH_US
)); 
4121          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_VENEZUELA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_VENEZUELA
)); 
4122          PyDict_SetItemString(d
,"wxLANGUAGE_SUNDANESE", PyInt_FromLong((long) wxLANGUAGE_SUNDANESE
)); 
4123          PyDict_SetItemString(d
,"wxLANGUAGE_SWAHILI", PyInt_FromLong((long) wxLANGUAGE_SWAHILI
)); 
4124          PyDict_SetItemString(d
,"wxLANGUAGE_SWEDISH", PyInt_FromLong((long) wxLANGUAGE_SWEDISH
)); 
4125          PyDict_SetItemString(d
,"wxLANGUAGE_SWEDISH_FINLAND", PyInt_FromLong((long) wxLANGUAGE_SWEDISH_FINLAND
)); 
4126          PyDict_SetItemString(d
,"wxLANGUAGE_TAGALOG", PyInt_FromLong((long) wxLANGUAGE_TAGALOG
)); 
4127          PyDict_SetItemString(d
,"wxLANGUAGE_TAJIK", PyInt_FromLong((long) wxLANGUAGE_TAJIK
)); 
4128          PyDict_SetItemString(d
,"wxLANGUAGE_TAMIL", PyInt_FromLong((long) wxLANGUAGE_TAMIL
)); 
4129          PyDict_SetItemString(d
,"wxLANGUAGE_TATAR", PyInt_FromLong((long) wxLANGUAGE_TATAR
)); 
4130          PyDict_SetItemString(d
,"wxLANGUAGE_TELUGU", PyInt_FromLong((long) wxLANGUAGE_TELUGU
)); 
4131          PyDict_SetItemString(d
,"wxLANGUAGE_THAI", PyInt_FromLong((long) wxLANGUAGE_THAI
)); 
4132          PyDict_SetItemString(d
,"wxLANGUAGE_TIBETAN", PyInt_FromLong((long) wxLANGUAGE_TIBETAN
)); 
4133          PyDict_SetItemString(d
,"wxLANGUAGE_TIGRINYA", PyInt_FromLong((long) wxLANGUAGE_TIGRINYA
)); 
4134          PyDict_SetItemString(d
,"wxLANGUAGE_TONGA", PyInt_FromLong((long) wxLANGUAGE_TONGA
)); 
4135          PyDict_SetItemString(d
,"wxLANGUAGE_TSONGA", PyInt_FromLong((long) wxLANGUAGE_TSONGA
)); 
4136          PyDict_SetItemString(d
,"wxLANGUAGE_TURKISH", PyInt_FromLong((long) wxLANGUAGE_TURKISH
)); 
4137          PyDict_SetItemString(d
,"wxLANGUAGE_TURKMEN", PyInt_FromLong((long) wxLANGUAGE_TURKMEN
)); 
4138          PyDict_SetItemString(d
,"wxLANGUAGE_TWI", PyInt_FromLong((long) wxLANGUAGE_TWI
)); 
4139          PyDict_SetItemString(d
,"wxLANGUAGE_UIGHUR", PyInt_FromLong((long) wxLANGUAGE_UIGHUR
)); 
4140          PyDict_SetItemString(d
,"wxLANGUAGE_UKRAINIAN", PyInt_FromLong((long) wxLANGUAGE_UKRAINIAN
)); 
4141          PyDict_SetItemString(d
,"wxLANGUAGE_URDU", PyInt_FromLong((long) wxLANGUAGE_URDU
)); 
4142          PyDict_SetItemString(d
,"wxLANGUAGE_URDU_INDIA", PyInt_FromLong((long) wxLANGUAGE_URDU_INDIA
)); 
4143          PyDict_SetItemString(d
,"wxLANGUAGE_URDU_PAKISTAN", PyInt_FromLong((long) wxLANGUAGE_URDU_PAKISTAN
)); 
4144          PyDict_SetItemString(d
,"wxLANGUAGE_UZBEK", PyInt_FromLong((long) wxLANGUAGE_UZBEK
)); 
4145          PyDict_SetItemString(d
,"wxLANGUAGE_UZBEK_CYRILLIC", PyInt_FromLong((long) wxLANGUAGE_UZBEK_CYRILLIC
)); 
4146          PyDict_SetItemString(d
,"wxLANGUAGE_UZBEK_LATIN", PyInt_FromLong((long) wxLANGUAGE_UZBEK_LATIN
)); 
4147          PyDict_SetItemString(d
,"wxLANGUAGE_VIETNAMESE", PyInt_FromLong((long) wxLANGUAGE_VIETNAMESE
)); 
4148          PyDict_SetItemString(d
,"wxLANGUAGE_VOLAPUK", PyInt_FromLong((long) wxLANGUAGE_VOLAPUK
)); 
4149          PyDict_SetItemString(d
,"wxLANGUAGE_WELSH", PyInt_FromLong((long) wxLANGUAGE_WELSH
)); 
4150          PyDict_SetItemString(d
,"wxLANGUAGE_WOLOF", PyInt_FromLong((long) wxLANGUAGE_WOLOF
)); 
4151          PyDict_SetItemString(d
,"wxLANGUAGE_XHOSA", PyInt_FromLong((long) wxLANGUAGE_XHOSA
)); 
4152          PyDict_SetItemString(d
,"wxLANGUAGE_YIDDISH", PyInt_FromLong((long) wxLANGUAGE_YIDDISH
)); 
4153          PyDict_SetItemString(d
,"wxLANGUAGE_YORUBA", PyInt_FromLong((long) wxLANGUAGE_YORUBA
)); 
4154          PyDict_SetItemString(d
,"wxLANGUAGE_ZHUANG", PyInt_FromLong((long) wxLANGUAGE_ZHUANG
)); 
4155          PyDict_SetItemString(d
,"wxLANGUAGE_ZULU", PyInt_FromLong((long) wxLANGUAGE_ZULU
)); 
4156          PyDict_SetItemString(d
,"wxLANGUAGE_USER_DEFINED", PyInt_FromLong((long) wxLANGUAGE_USER_DEFINED
)); 
4157          PyDict_SetItemString(d
,"wxLOCALE_CAT_NUMBER", PyInt_FromLong((long) wxLOCALE_CAT_NUMBER
)); 
4158          PyDict_SetItemString(d
,"wxLOCALE_CAT_DATE", PyInt_FromLong((long) wxLOCALE_CAT_DATE
)); 
4159          PyDict_SetItemString(d
,"wxLOCALE_CAT_MONEY", PyInt_FromLong((long) wxLOCALE_CAT_MONEY
)); 
4160          PyDict_SetItemString(d
,"wxLOCALE_CAT_MAX", PyInt_FromLong((long) wxLOCALE_CAT_MAX
)); 
4161          PyDict_SetItemString(d
,"wxLOCALE_THOUSANDS_SEP", PyInt_FromLong((long) wxLOCALE_THOUSANDS_SEP
)); 
4162          PyDict_SetItemString(d
,"wxLOCALE_DECIMAL_POINT", PyInt_FromLong((long) wxLOCALE_DECIMAL_POINT
)); 
4163          PyDict_SetItemString(d
,"wxLOCALE_LOAD_DEFAULT", PyInt_FromLong((long) wxLOCALE_LOAD_DEFAULT
)); 
4164          PyDict_SetItemString(d
,"wxLOCALE_CONV_ENCODING", PyInt_FromLong((long) wxLOCALE_CONV_ENCODING
)); 
4165          PyDict_SetItemString(d
,"wxCONVERT_STRICT", PyInt_FromLong((long) wxCONVERT_STRICT
)); 
4166          PyDict_SetItemString(d
,"wxCONVERT_SUBSTITUTE", PyInt_FromLong((long) wxCONVERT_SUBSTITUTE
)); 
4167          PyDict_SetItemString(d
,"wxPLATFORM_CURRENT", PyInt_FromLong((long) wxPLATFORM_CURRENT
)); 
4168          PyDict_SetItemString(d
,"wxPLATFORM_UNIX", PyInt_FromLong((long) wxPLATFORM_UNIX
)); 
4169          PyDict_SetItemString(d
,"wxPLATFORM_WINDOWS", PyInt_FromLong((long) wxPLATFORM_WINDOWS
)); 
4170          PyDict_SetItemString(d
,"wxPLATFORM_OS2", PyInt_FromLong((long) wxPLATFORM_OS2
)); 
4171          PyDict_SetItemString(d
,"wxPLATFORM_MAC", PyInt_FromLong((long) wxPLATFORM_MAC
)); 
4173     wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator"); 
4176    for (i 
= 0; _swig_mapping
[i
].n1
; i
++) 
4177         SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);